2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="Makefile.in"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='sim_environment sim_alignment sim_assert sim_bitsize sim_endian sim_hostendian sim_float sim_scache sim_default_model sim_hw_cflags sim_hw_objs sim_hw sim_inline sim_packages sim_regparm sim_reserved_bits sim_smp sim_stdcall sim_xor_endian WARN_CFLAGS WERROR_CFLAGS SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC_FOR_BUILD HDEFINES AR RANLIB ac_ct_RANLIB SET_MAKE CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile CPP_FOR_TARGET TARGET_SUBDIR LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-nls do not use Native Language Support
854 --enable-maintainer-mode Enable developer functionality.
855 --enable-sim-bswap Use Host specific BSWAP instruction.
856 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
857 --enable-sim-debug=opts Enable debugging flags
858 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
859 --enable-sim-trace=opts Enable tracing flags
860 --enable-sim-profile=opts Enable profiling flags
863 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
864 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
865 --with-included-gettext use the GNU
gettext library included here
867 Some influential environment variables
:
868 CC C compiler
command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
871 nonstandard directory
<lib dir
>
872 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
873 headers
in a nonstandard directory
<include dir
>
876 Use these variables to override the choices made by
`configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
882 if test "$ac_init_help" = "recursive"; then
883 # If there are subdirs, report their specific --help.
885 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886 test -d $ac_dir || continue
889 if test "$ac_dir" != .; then
890 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
891 # A "../" for each directory in $ac_dir_suffix.
892 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
894 ac_dir_suffix= ac_top_builddir=
898 .) # No --srcdir option. We are building in place.
900 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
905 [\\/]* | ?:[\\/]* ) # Absolute path.
906 ac_srcdir=$srcdir$ac_dir_suffix;
907 ac_top_srcdir=$srcdir ;;
909 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910 ac_top_srcdir=$ac_top_builddir$srcdir ;;
913 # Do not use `cd foo
&& pwd` to compute absolute paths, because
914 # the directories may not exist.
916 .) ac_abs_builddir="$ac_dir";;
919 .) ac_abs_builddir=`pwd`;;
920 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921 *) ac_abs_builddir=`pwd`/"$ac_dir";;
924 case $ac_abs_builddir in
925 .) ac_abs_top_builddir=${ac_top_builddir}.;;
927 case ${ac_top_builddir}. in
928 .) ac_abs_top_builddir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
933 case $ac_abs_builddir in
934 .) ac_abs_srcdir=$ac_srcdir;;
937 .) ac_abs_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
942 case $ac_abs_builddir in
943 .) ac_abs_top_srcdir=$ac_top_srcdir;;
945 case $ac_top_srcdir in
946 .) ac_abs_top_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
953 # Check for guested configure; otherwise get Cygnus style configure.
954 if test -f $ac_srcdir/configure.gnu; then
956 $SHELL $ac_srcdir/configure.gnu --help=recursive
957 elif test -f $ac_srcdir/configure; then
959 $SHELL $ac_srcdir/configure --help=recursive
960 elif test -f $ac_srcdir/configure.ac ||
961 test -f $ac_srcdir/configure.in; then
965 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971 test -n "$ac_init_help" && exit 0
972 if $ac_init_version; then
975 Copyright (C) 2003 Free Software Foundation, Inc.
976 This configure script is free software; the Free Software Foundation
977 gives unlimited permission to copy, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by $as_me, which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
999 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1000 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1001 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1002 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1004 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1005 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1007 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1009 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1010 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1011 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1013 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next=false
1052 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true; then
1064 ac_must_keep_next=false # Got value, back to normal.
1067 *=* | --config-cache | -C | -disable-* | --disable-* \
1068 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1069 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1070 | -with-* | --with-* | -without-* | --without-* | --x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next=true ;;
1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1086 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close
' the trap.
1093 trap 'exit_status
=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var
in $ac_subst_vars
1129 eval ac_val
=$
`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var
in $ac_subst_files
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h
; then
1156 sed "/^$/d" confdefs.h |
sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core
*.core
&&
1164 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1167 for ac_signal in 1 2 13 15; do
1168 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE; then
1208 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's
/^
/|
/' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?:[\\/]* ) . $cache_file;;
1230 *) . ./$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted=false
1242 for ac_var in `(set) 2>&1 |
1243 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1245 eval ac_new_set=\$ac_env_${ac_var}_set
1246 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1252 ac_cache_corrupted=: ;;
1254 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1261 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted=:
1269 # Pass precious variables to config.status.
1270 if test "$ac_new_set" = set; then
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1274 *) ac_arg=$ac_var=$ac_new_val ;;
1276 case " $ac_configure_args " in
1277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1278 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1282 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1286 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1287 { (exit 1); exit 1; }; }
1291 ac_cpp='$CPP $CPPFLAGS'
1292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1293 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1314 ac_config_headers="$ac_config_headers cconfig.h:config.in"
1317 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1318 # it by inlining the macro's contents.
1319 # This file contains common code used by all simulators.
1321 # common.m4 invokes AC macros used by all simulators and by the common
1322 # directory. It is intended to be included before any target specific
1323 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1324 # the Makefile. It is intended to be invoked last.
1326 # The simulator's configure.in should look like:
1328 # dnl Process this file with autoconf to produce a configure script.
1330 # AC_INIT(Makefile.in)
1331 # AC_CONFIG_HEADER(config.h:config.in)
1333 # sinclude(../common/aclocal.m4)
1334 # sinclude(../common/common.m4)
1336 # ... target specific stuff ...
1339 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1340 if test -f $ac_dir/install-sh
; then
1342 ac_install_sh
="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh
; then
1346 ac_install_sh
="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool
; then
1350 ac_install_sh
="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1363 # Make sure we can run config.sub.
1364 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1365 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1366 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1367 { (exit 1); exit 1; }; }
1369 echo "$as_me:$LINENO: checking build system type" >&5
1370 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1371 if test "${ac_cv_build+set}" = set; then
1372 echo $ECHO_N "(cached) $ECHO_C" >&6
1374 ac_cv_build_alias
=$build_alias
1375 test -z "$ac_cv_build_alias" &&
1376 ac_cv_build_alias
=`$ac_config_guess`
1377 test -z "$ac_cv_build_alias" &&
1378 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1379 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1380 { (exit 1); exit 1; }; }
1381 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1382 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1383 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1384 { (exit 1); exit 1; }; }
1387 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1388 echo "${ECHO_T}$ac_cv_build" >&6
1390 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1391 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1392 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1395 echo "$as_me:$LINENO: checking host system type" >&5
1396 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1397 if test "${ac_cv_host+set}" = set; then
1398 echo $ECHO_N "(cached) $ECHO_C" >&6
1400 ac_cv_host_alias
=$host_alias
1401 test -z "$ac_cv_host_alias" &&
1402 ac_cv_host_alias
=$ac_cv_build_alias
1403 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1404 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1405 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1406 { (exit 1); exit 1; }; }
1409 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1410 echo "${ECHO_T}$ac_cv_host" >&6
1412 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1413 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1414 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1417 echo "$as_me:$LINENO: checking target system type" >&5
1418 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1419 if test "${ac_cv_target+set}" = set; then
1420 echo $ECHO_N "(cached) $ECHO_C" >&6
1422 ac_cv_target_alias
=$target_alias
1423 test "x$ac_cv_target_alias" = "x" &&
1424 ac_cv_target_alias
=$ac_cv_host_alias
1425 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1426 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1427 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1428 { (exit 1); exit 1; }; }
1431 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1432 echo "${ECHO_T}$ac_cv_target" >&6
1433 target
=$ac_cv_target
1434 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1435 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1436 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1439 # The aliases save the names the user supplied, while $host etc.
1440 # will get canonicalized.
1441 test -n "$target_alias" &&
1442 test "$program_prefix$program_suffix$program_transform_name" = \
1444 program_prefix
=${target_alias}-
1445 test "$program_prefix" != NONE
&&
1446 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1447 # Use a double $ so make ignores it.
1448 test "$program_suffix" != NONE
&&
1449 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1450 # Double any \ or $. echo might interpret backslashes.
1451 # By default was `s,x,x', remove it if useless.
1452 cat <<\_ACEOF
>conftest.
sed
1453 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1455 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1459 ac_cpp
='$CPP $CPPFLAGS'
1460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1463 if test -n "$ac_tool_prefix"; then
1464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1465 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1466 echo "$as_me:$LINENO: checking for $ac_word" >&5
1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1468 if test "${ac_cv_prog_CC+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 if test -n "$CC"; then
1472 ac_cv_prog_CC
="$CC" # Let the user override the test.
1474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1478 test -z "$as_dir" && as_dir
=.
1479 for ac_exec_ext
in '' $ac_executable_extensions; do
1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1481 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1491 if test -n "$CC"; then
1492 echo "$as_me:$LINENO: result: $CC" >&5
1493 echo "${ECHO_T}$CC" >&6
1495 echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1500 if test -z "$ac_cv_prog_CC"; then
1502 # Extract the first word of "gcc", so it can be a program name with args.
1503 set dummy gcc
; ac_word
=$2
1504 echo "$as_me:$LINENO: checking for $ac_word" >&5
1505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1507 echo $ECHO_N "(cached) $ECHO_C" >&6
1509 if test -n "$ac_ct_CC"; then
1510 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1516 test -z "$as_dir" && as_dir
=.
1517 for ac_exec_ext
in '' $ac_executable_extensions; do
1518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1519 ac_cv_prog_ac_ct_CC
="gcc"
1520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1528 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1529 if test -n "$ac_ct_CC"; then
1530 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1531 echo "${ECHO_T}$ac_ct_CC" >&6
1533 echo "$as_me:$LINENO: result: no" >&5
1534 echo "${ECHO_T}no" >&6
1542 if test -z "$CC"; then
1543 if test -n "$ac_tool_prefix"; then
1544 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1545 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1546 echo "$as_me:$LINENO: checking for $ac_word" >&5
1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1548 if test "${ac_cv_prog_CC+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 if test -n "$CC"; then
1552 ac_cv_prog_CC
="$CC" # Let the user override the test.
1554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1558 test -z "$as_dir" && as_dir
=.
1559 for ac_exec_ext
in '' $ac_executable_extensions; do
1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1561 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1571 if test -n "$CC"; then
1572 echo "$as_me:$LINENO: result: $CC" >&5
1573 echo "${ECHO_T}$CC" >&6
1575 echo "$as_me:$LINENO: result: no" >&5
1576 echo "${ECHO_T}no" >&6
1580 if test -z "$ac_cv_prog_CC"; then
1582 # Extract the first word of "cc", so it can be a program name with args.
1583 set dummy cc
; ac_word
=$2
1584 echo "$as_me:$LINENO: checking for $ac_word" >&5
1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 if test -n "$ac_ct_CC"; then
1590 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1596 test -z "$as_dir" && as_dir
=.
1597 for ac_exec_ext
in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1599 ac_cv_prog_ac_ct_CC
="cc"
1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1608 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1609 if test -n "$ac_ct_CC"; then
1610 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1611 echo "${ECHO_T}$ac_ct_CC" >&6
1613 echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1623 if test -z "$CC"; then
1624 # Extract the first word of "cc", so it can be a program name with args.
1625 set dummy cc
; ac_word
=$2
1626 echo "$as_me:$LINENO: checking for $ac_word" >&5
1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1628 if test "${ac_cv_prog_CC+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 if test -n "$CC"; then
1632 ac_cv_prog_CC
="$CC" # Let the user override the test.
1635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1639 test -z "$as_dir" && as_dir
=.
1640 for ac_exec_ext
in '' $ac_executable_extensions; do
1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1642 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1643 ac_prog_rejected
=yes
1647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1653 if test $ac_prog_rejected = yes; then
1654 # We found a bogon in the path, so make sure we never use it.
1655 set dummy
$ac_cv_prog_CC
1657 if test $# != 0; then
1658 # We chose a different compiler from the bogus one.
1659 # However, it has the same basename, so the bogon will be chosen
1660 # first if we set CC to just the basename; use the full file name.
1662 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1668 if test -n "$CC"; then
1669 echo "$as_me:$LINENO: result: $CC" >&5
1670 echo "${ECHO_T}$CC" >&6
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
1677 if test -z "$CC"; then
1678 if test -n "$ac_tool_prefix"; then
1681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1682 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1683 echo "$as_me:$LINENO: checking for $ac_word" >&5
1684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1685 if test "${ac_cv_prog_CC+set}" = set; then
1686 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 if test -n "$CC"; then
1689 ac_cv_prog_CC
="$CC" # Let the user override the test.
1691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1695 test -z "$as_dir" && as_dir
=.
1696 for ac_exec_ext
in '' $ac_executable_extensions; do
1697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1698 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708 if test -n "$CC"; then
1709 echo "$as_me:$LINENO: result: $CC" >&5
1710 echo "${ECHO_T}$CC" >&6
1712 echo "$as_me:$LINENO: result: no" >&5
1713 echo "${ECHO_T}no" >&6
1716 test -n "$CC" && break
1719 if test -z "$CC"; then
1723 # Extract the first word of "$ac_prog", so it can be a program name with args.
1724 set dummy
$ac_prog; ac_word
=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 if test -n "$ac_ct_CC"; then
1731 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1737 test -z "$as_dir" && as_dir
=.
1738 for ac_exec_ext
in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_ac_ct_CC
="$ac_prog"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1749 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1750 if test -n "$ac_ct_CC"; then
1751 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1752 echo "${ECHO_T}$ac_ct_CC" >&6
1754 echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6
1758 test -n "$ac_ct_CC" && break
1767 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1768 See \`config.log' for more details." >&5
1769 echo "$as_me: error: no acceptable C compiler found in \$PATH
1770 See \`config.log' for more details." >&2;}
1771 { (exit 1); exit 1; }; }
1773 # Provide some information about the compiler.
1774 echo "$as_me:$LINENO:" \
1775 "checking for C compiler version" >&5
1776 ac_compiler
=`set X $ac_compile; echo $2`
1777 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1778 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1781 (exit $ac_status); }
1782 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1783 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1786 (exit $ac_status); }
1787 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1788 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }
1793 cat >conftest.
$ac_ext <<_ACEOF
1796 cat confdefs.h
>>conftest.
$ac_ext
1797 cat >>conftest.
$ac_ext <<_ACEOF
1798 /* end confdefs.h. */
1808 ac_clean_files_save
=$ac_clean_files
1809 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1810 # Try to create an executable without -o first, disregard a.out.
1811 # It will help us diagnose broken compilers, and finding out an intuition
1813 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1814 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1815 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1816 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1817 (eval $ac_link_default) 2>&5
1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820 (exit $ac_status); }; then
1821 # Find the output, starting from the most likely. This scheme is
1822 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1825 # Be careful to initialize this variable, since it used to be cached.
1826 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1828 # b.out is created by i960 compilers.
1829 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1831 test -f "$ac_file" ||
continue
1833 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1836 # This is the source file.
1839 # We found the default executable, but exeext='' is most
1843 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1844 # FIXME: I believe we export ac_cv_exeext for Libtool,
1845 # but it would be cool to find out if it's true. Does anybody
1846 # maintain Libtool? --akim.
1854 echo "$as_me: failed program was:" >&5
1855 sed 's/^/| /' conftest.
$ac_ext >&5
1857 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1858 See \`config.log' for more details." >&5
1859 echo "$as_me: error: C compiler cannot create executables
1860 See \`config.log' for more details." >&2;}
1861 { (exit 77); exit 77; }; }
1864 ac_exeext
=$ac_cv_exeext
1865 echo "$as_me:$LINENO: result: $ac_file" >&5
1866 echo "${ECHO_T}$ac_file" >&6
1868 # Check the compiler produces executables we can run. If not, either
1869 # the compiler is broken, or we cross compile.
1870 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1871 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1872 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1873 # If not cross compiling, check that we can run a simple program.
1874 if test "$cross_compiling" != yes; then
1875 if { ac_try
='./$ac_file'
1876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1880 (exit $ac_status); }; }; then
1883 if test "$cross_compiling" = maybe
; then
1886 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1887 If you meant to cross compile, use \`--host'.
1888 See \`config.log' for more details." >&5
1889 echo "$as_me: error: cannot run C compiled programs.
1890 If you meant to cross compile, use \`--host'.
1891 See \`config.log' for more details." >&2;}
1892 { (exit 1); exit 1; }; }
1896 echo "$as_me:$LINENO: result: yes" >&5
1897 echo "${ECHO_T}yes" >&6
1899 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1900 ac_clean_files
=$ac_clean_files_save
1901 # Check the compiler produces executables we can run. If not, either
1902 # the compiler is broken, or we cross compile.
1903 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1904 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1905 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1906 echo "${ECHO_T}$cross_compiling" >&6
1908 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1909 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1911 (eval $ac_link) 2>&5
1913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1914 (exit $ac_status); }; then
1915 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1916 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1917 # work properly (i.e., refer to `conftest.exe'), while it won't with
1919 for ac_file
in conftest.exe conftest conftest.
*; do
1920 test -f "$ac_file" ||
continue
1922 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1923 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1930 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1931 See \`config.log' for more details." >&5
1932 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1933 See \`config.log' for more details." >&2;}
1934 { (exit 1); exit 1; }; }
1937 rm -f conftest
$ac_cv_exeext
1938 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1939 echo "${ECHO_T}$ac_cv_exeext" >&6
1941 rm -f conftest.
$ac_ext
1942 EXEEXT
=$ac_cv_exeext
1944 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1945 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1946 if test "${ac_cv_objext+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 cat >conftest.
$ac_ext <<_ACEOF
1952 cat confdefs.h
>>conftest.
$ac_ext
1953 cat >>conftest.
$ac_ext <<_ACEOF
1954 /* end confdefs.h. */
1964 rm -f conftest.o conftest.obj
1965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1966 (eval $ac_compile) 2>&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); }; then
1970 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1972 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1973 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1978 echo "$as_me: failed program was:" >&5
1979 sed 's/^/| /' conftest.
$ac_ext >&5
1981 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1982 See \`config.log' for more details." >&5
1983 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1984 See \`config.log' for more details." >&2;}
1985 { (exit 1); exit 1; }; }
1988 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1990 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1991 echo "${ECHO_T}$ac_cv_objext" >&6
1992 OBJEXT
=$ac_cv_objext
1994 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1995 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1996 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 cat >conftest.
$ac_ext <<_ACEOF
2002 cat confdefs.h
>>conftest.
$ac_ext
2003 cat >>conftest.
$ac_ext <<_ACEOF
2004 /* end confdefs.h. */
2017 rm -f conftest.
$ac_objext
2018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2019 (eval $ac_compile) 2>conftest.er1
2021 grep -v '^ *+' conftest.er1
>conftest.err
2023 cat conftest.err
>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); } &&
2026 { ac_try
='test -z "$ac_c_werror_flag"
2027 || test ! -s conftest.err'
2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }; } &&
2033 { ac_try
='test -s conftest.$ac_objext'
2034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); }; }; then
2041 echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.
$ac_ext >&5
2046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2047 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2052 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2053 ac_test_CFLAGS
=${CFLAGS+set}
2054 ac_save_CFLAGS
=$CFLAGS
2056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2058 if test "${ac_cv_prog_cc_g+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 cat >conftest.
$ac_ext <<_ACEOF
2064 cat confdefs.h
>>conftest.
$ac_ext
2065 cat >>conftest.
$ac_ext <<_ACEOF
2066 /* end confdefs.h. */
2076 rm -f conftest.
$ac_objext
2077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2078 (eval $ac_compile) 2>conftest.er1
2080 grep -v '^ *+' conftest.er1
>conftest.err
2082 cat conftest.err
>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); } &&
2085 { ac_try
='test -z "$ac_c_werror_flag"
2086 || test ! -s conftest.err'
2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; } &&
2092 { ac_try
='test -s conftest.$ac_objext'
2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; }; then
2100 echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.
$ac_ext >&5
2105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2108 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2109 if test "$ac_test_CFLAGS" = set; then
2110 CFLAGS
=$ac_save_CFLAGS
2111 elif test $ac_cv_prog_cc_g = yes; then
2112 if test "$GCC" = yes; then
2118 if test "$GCC" = yes; then
2124 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2125 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2126 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 ac_cv_prog_cc_stdc
=no
2131 cat >conftest.
$ac_ext <<_ACEOF
2134 cat confdefs.h
>>conftest.
$ac_ext
2135 cat >>conftest.
$ac_ext <<_ACEOF
2136 /* end confdefs.h. */
2139 #include <sys/types.h>
2140 #include <sys/stat.h>
2141 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2142 struct buf { int x; };
2143 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2144 static char *e (p, i)
2150 static char *f (char * (*g) (char **, int), char **p, ...)
2155 s = g (p, va_arg (v,int));
2160 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2161 function prototypes and stuff, but not '\xHH' hex character constants.
2162 These don't provoke an error unfortunately, instead are silently treated
2163 as 'x'. The following induces an error, until -std1 is added to get
2164 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2165 array size at least. It's necessary to write '\x00'==0 to get something
2166 that's true only with -std1. */
2167 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2169 int test (int i, double x);
2170 struct s1 {int (*f) (int a);};
2171 struct s2 {int (*f) (double a);};
2172 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2178 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2183 # Don't try gcc -ansi; that turns off useful extensions and
2184 # breaks some systems' header files.
2185 # AIX -qlanglvl=ansi
2186 # Ultrix and OSF/1 -std1
2187 # HP-UX 10.20 and later -Ae
2188 # HP-UX older versions -Aa -D_HPUX_SOURCE
2189 # SVR4 -Xc -D__EXTENSIONS__
2190 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2192 CC
="$ac_save_CC $ac_arg"
2193 rm -f conftest.
$ac_objext
2194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2195 (eval $ac_compile) 2>conftest.er1
2197 grep -v '^ *+' conftest.er1
>conftest.err
2199 cat conftest.err
>&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); } &&
2202 { ac_try
='test -z "$ac_c_werror_flag"
2203 || test ! -s conftest.err'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; } &&
2209 { ac_try
='test -s conftest.$ac_objext'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; }; then
2215 ac_cv_prog_cc_stdc
=$ac_arg
2218 echo "$as_me: failed program was:" >&5
2219 sed 's/^/| /' conftest.
$ac_ext >&5
2222 rm -f conftest.err conftest.
$ac_objext
2224 rm -f conftest.
$ac_ext conftest.
$ac_objext
2229 case "x$ac_cv_prog_cc_stdc" in
2231 echo "$as_me:$LINENO: result: none needed" >&5
2232 echo "${ECHO_T}none needed" >&6 ;;
2234 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2235 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2236 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2239 # Some people use a C++ compiler to compile C. Since we use `exit',
2240 # in C++ we need to declare it. In case someone uses the same compiler
2241 # for both compiling C and C++ we need to have the C++ compiler decide
2242 # the declaration of exit, since it's the most demanding environment.
2243 cat >conftest.
$ac_ext <<_ACEOF
2248 rm -f conftest.
$ac_objext
2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250 (eval $ac_compile) 2>conftest.er1
2252 grep -v '^ *+' conftest.er1
>conftest.err
2254 cat conftest.err
>&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); } &&
2257 { ac_try
='test -z "$ac_c_werror_flag"
2258 || test ! -s conftest.err'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; } &&
2264 { ac_try
='test -s conftest.$ac_objext'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; }; then
2270 for ac_declaration
in \
2272 'extern "C" void std::exit (int) throw (); using std::exit;' \
2273 'extern "C" void std::exit (int); using std::exit;' \
2274 'extern "C" void exit (int) throw ();' \
2275 'extern "C" void exit (int);' \
2278 cat >conftest.
$ac_ext <<_ACEOF
2281 cat confdefs.h
>>conftest.
$ac_ext
2282 cat >>conftest.
$ac_ext <<_ACEOF
2283 /* end confdefs.h. */
2294 rm -f conftest.
$ac_objext
2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2296 (eval $ac_compile) 2>conftest.er1
2298 grep -v '^ *+' conftest.er1
>conftest.err
2300 cat conftest.err
>&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); } &&
2303 { ac_try
='test -z "$ac_c_werror_flag"
2304 || test ! -s conftest.err'
2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; } &&
2310 { ac_try
='test -s conftest.$ac_objext'
2311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }; }; then
2318 echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.
$ac_ext >&5
2323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2324 cat >conftest.
$ac_ext <<_ACEOF
2327 cat confdefs.h
>>conftest.
$ac_ext
2328 cat >>conftest.
$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2339 rm -f conftest.
$ac_objext
2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341 (eval $ac_compile) 2>conftest.er1
2343 grep -v '^ *+' conftest.er1
>conftest.err
2345 cat conftest.err
>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); } &&
2348 { ac_try
='test -z "$ac_c_werror_flag"
2349 || test ! -s conftest.err'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; } &&
2355 { ac_try
='test -s conftest.$ac_objext'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; }; then
2363 echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.
$ac_ext >&5
2367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2370 if test -n "$ac_declaration"; then
2371 echo '#ifdef __cplusplus' >>confdefs.h
2372 echo $ac_declaration >>confdefs.h
2373 echo '#endif' >>confdefs.h
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.
$ac_ext >&5
2381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2383 ac_cpp
='$CPP $CPPFLAGS'
2384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2388 # Find a good install program. We prefer a C program (faster),
2389 # so one script is as good as another. But avoid the broken or
2390 # incompatible versions:
2391 # SysV /etc/install, /usr/sbin/install
2392 # SunOS /usr/etc/install
2393 # IRIX /sbin/install
2395 # AmigaOS /C/install, which installs bootblocks on floppy discs
2396 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2397 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2398 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2399 # OS/2's system install, which has a completely different semantic
2400 # ./install, which can be erroneously created by make from ./install.sh.
2401 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2402 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2403 if test -z "$INSTALL"; then
2404 if test "${ac_cv_path_install+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir
=.
2412 # Account for people who put trailing slashes in PATH elements.
2414 .
/ | .
// |
/cC
/* | \
2415 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2416 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2419 # OSF1 and SCO ODT 3.0 have their own names for install.
2420 # Don't use installbsd from OSF since it installs stuff as root
2422 for ac_prog
in ginstall scoinst
install; do
2423 for ac_exec_ext
in '' $ac_executable_extensions; do
2424 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2425 if test $ac_prog = install &&
2426 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2427 # AIX install. It has an incompatible calling convention.
2429 elif test $ac_prog = install &&
2430 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2431 # program-specific install script used by HP pwplus--don't use.
2434 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2446 if test "${ac_cv_path_install+set}" = set; then
2447 INSTALL
=$ac_cv_path_install
2449 # As a last resort, use the slow shell script. We don't cache a
2450 # path for INSTALL within a source directory, because that will
2451 # break other packages using the cache if that directory is
2452 # removed, or if the path is relative.
2453 INSTALL
=$ac_install_sh
2456 echo "$as_me:$LINENO: result: $INSTALL" >&5
2457 echo "${ECHO_T}$INSTALL" >&6
2459 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2460 # It thinks the first close brace ends the variable substitution.
2461 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2463 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2465 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2468 # Put a plausible default for CC_FOR_BUILD in Makefile.
2469 if test "x$cross_compiling" = "xno"; then
2470 CC_FOR_BUILD
='$(CC)'
2480 if test -n "$ac_tool_prefix"; then
2481 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2482 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2483 echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2485 if test "${ac_cv_prog_RANLIB+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$RANLIB"; then
2489 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir
=.
2496 for ac_exec_ext
in '' $ac_executable_extensions; do
2497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2498 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 RANLIB
=$ac_cv_prog_RANLIB
2508 if test -n "$RANLIB"; then
2509 echo "$as_me:$LINENO: result: $RANLIB" >&5
2510 echo "${ECHO_T}$RANLIB" >&6
2512 echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6
2517 if test -z "$ac_cv_prog_RANLIB"; then
2518 ac_ct_RANLIB
=$RANLIB
2519 # Extract the first word of "ranlib", so it can be a program name with args.
2520 set dummy ranlib
; ac_word
=$2
2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2523 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 if test -n "$ac_ct_RANLIB"; then
2527 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir
=.
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2546 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2547 if test -n "$ac_ct_RANLIB"; then
2548 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2549 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2555 RANLIB
=$ac_ct_RANLIB
2557 RANLIB
="$ac_cv_prog_RANLIB"
2562 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2563 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2564 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2565 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2566 echo $ECHO_N "(cached) $ECHO_C" >&6
2568 cat >conftest.
make <<\_ACEOF
2570 @
echo 'ac_maketemp="$(MAKE)"'
2572 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2573 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2574 if test -n "$ac_maketemp"; then
2575 eval ac_cv_prog_make_
${ac_make}_set
=yes
2577 eval ac_cv_prog_make_
${ac_make}_set
=no
2581 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2582 echo "$as_me:$LINENO: result: yes" >&5
2583 echo "${ECHO_T}yes" >&6
2586 echo "$as_me:$LINENO: result: no" >&5
2587 echo "${ECHO_T}no" >&6
2588 SET_MAKE
="MAKE=${MAKE-make}"
2592 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2593 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2594 if test "${ac_cv_search_strerror+set}" = set; then
2595 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 ac_func_search_save_LIBS
=$LIBS
2598 ac_cv_search_strerror
=no
2599 cat >conftest.
$ac_ext <<_ACEOF
2602 cat confdefs.h
>>conftest.
$ac_ext
2603 cat >>conftest.
$ac_ext <<_ACEOF
2604 /* end confdefs.h. */
2606 /* Override any gcc2 internal prototype to avoid an error. */
2610 /* We use char because int might match the return type of a gcc2
2611 builtin and then its argument prototype would still apply. */
2621 rm -f conftest.
$ac_objext conftest
$ac_exeext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2623 (eval $ac_link) 2>conftest.er1
2625 grep -v '^ *+' conftest.er1
>conftest.err
2627 cat conftest.err
>&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); } &&
2630 { ac_try
='test -z "$ac_c_werror_flag"
2631 || test ! -s conftest.err'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; } &&
2637 { ac_try
='test -s conftest$ac_exeext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2643 ac_cv_search_strerror
="none required"
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.
$ac_ext >&5
2649 rm -f conftest.err conftest.
$ac_objext \
2650 conftest
$ac_exeext conftest.
$ac_ext
2651 if test "$ac_cv_search_strerror" = no
; then
2652 for ac_lib
in cposix
; do
2653 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2654 cat >conftest.
$ac_ext <<_ACEOF
2657 cat confdefs.h
>>conftest.
$ac_ext
2658 cat >>conftest.
$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2661 /* Override any gcc2 internal prototype to avoid an error. */
2665 /* We use char because int might match the return type of a gcc2
2666 builtin and then its argument prototype would still apply. */
2676 rm -f conftest.
$ac_objext conftest
$ac_exeext
2677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2678 (eval $ac_link) 2>conftest.er1
2680 grep -v '^ *+' conftest.er1
>conftest.err
2682 cat conftest.err
>&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); } &&
2685 { ac_try
='test -z "$ac_c_werror_flag"
2686 || test ! -s conftest.err'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; } &&
2692 { ac_try
='test -s conftest$ac_exeext'
2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; }; then
2698 ac_cv_search_strerror
="-l$ac_lib"
2701 echo "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.
$ac_ext >&5
2705 rm -f conftest.err conftest.
$ac_objext \
2706 conftest
$ac_exeext conftest.
$ac_ext
2709 LIBS
=$ac_func_search_save_LIBS
2711 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2712 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2713 if test "$ac_cv_search_strerror" != no
; then
2714 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2719 ac_cpp
='$CPP $CPPFLAGS'
2720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2723 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2724 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2725 # On Suns, sometimes $CPP names a directory.
2726 if test -n "$CPP" && test -d "$CPP"; then
2729 if test -z "$CPP"; then
2730 if test "${ac_cv_prog_CPP+set}" = set; then
2731 echo $ECHO_N "(cached) $ECHO_C" >&6
2733 # Double quotes because CPP needs to be expanded
2734 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2737 for ac_c_preproc_warn_flag
in '' yes
2739 # Use a header file that comes with gcc, so configuring glibc
2740 # with a fresh cross-compiler works.
2741 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2742 # <limits.h> exists even on freestanding compilers.
2743 # On the NeXT, cc -E runs the code through the compiler's parser,
2744 # not just through cpp. "Syntax error" is here to catch this case.
2745 cat >conftest.
$ac_ext <<_ACEOF
2748 cat confdefs.h
>>conftest.
$ac_ext
2749 cat >>conftest.
$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2752 # include <limits.h>
2754 # include <assert.h>
2758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2759 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2761 grep -v '^ *+' conftest.er1
>conftest.err
2763 cat conftest.err
>&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } >/dev
/null
; then
2766 if test -s conftest.err
; then
2767 ac_cpp_err
=$ac_c_preproc_warn_flag
2768 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2775 if test -z "$ac_cpp_err"; then
2778 echo "$as_me: failed program was:" >&5
2779 sed 's/^/| /' conftest.
$ac_ext >&5
2781 # Broken: fails on valid input.
2784 rm -f conftest.err conftest.
$ac_ext
2786 # OK, works on sane cases. Now check whether non-existent headers
2787 # can be detected and how.
2788 cat >conftest.
$ac_ext <<_ACEOF
2791 cat confdefs.h
>>conftest.
$ac_ext
2792 cat >>conftest.
$ac_ext <<_ACEOF
2793 /* end confdefs.h. */
2794 #include <ac_nonexistent.h>
2796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2797 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2799 grep -v '^ *+' conftest.er1
>conftest.err
2801 cat conftest.err
>&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } >/dev
/null
; then
2804 if test -s conftest.err
; then
2805 ac_cpp_err
=$ac_c_preproc_warn_flag
2806 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2813 if test -z "$ac_cpp_err"; then
2814 # Broken: success on invalid input.
2817 echo "$as_me: failed program was:" >&5
2818 sed 's/^/| /' conftest.
$ac_ext >&5
2820 # Passes both tests.
2824 rm -f conftest.err conftest.
$ac_ext
2827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2828 rm -f conftest.err conftest.
$ac_ext
2829 if $ac_preproc_ok; then
2841 echo "$as_me:$LINENO: result: $CPP" >&5
2842 echo "${ECHO_T}$CPP" >&6
2844 for ac_c_preproc_warn_flag
in '' yes
2846 # Use a header file that comes with gcc, so configuring glibc
2847 # with a fresh cross-compiler works.
2848 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2849 # <limits.h> exists even on freestanding compilers.
2850 # On the NeXT, cc -E runs the code through the compiler's parser,
2851 # not just through cpp. "Syntax error" is here to catch this case.
2852 cat >conftest.
$ac_ext <<_ACEOF
2855 cat confdefs.h
>>conftest.
$ac_ext
2856 cat >>conftest.
$ac_ext <<_ACEOF
2857 /* end confdefs.h. */
2859 # include <limits.h>
2861 # include <assert.h>
2865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2866 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2868 grep -v '^ *+' conftest.er1
>conftest.err
2870 cat conftest.err
>&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); } >/dev
/null
; then
2873 if test -s conftest.err
; then
2874 ac_cpp_err
=$ac_c_preproc_warn_flag
2875 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2882 if test -z "$ac_cpp_err"; then
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.
$ac_ext >&5
2888 # Broken: fails on valid input.
2891 rm -f conftest.err conftest.
$ac_ext
2893 # OK, works on sane cases. Now check whether non-existent headers
2894 # can be detected and how.
2895 cat >conftest.
$ac_ext <<_ACEOF
2898 cat confdefs.h
>>conftest.
$ac_ext
2899 cat >>conftest.
$ac_ext <<_ACEOF
2900 /* end confdefs.h. */
2901 #include <ac_nonexistent.h>
2903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2904 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2906 grep -v '^ *+' conftest.er1
>conftest.err
2908 cat conftest.err
>&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } >/dev
/null
; then
2911 if test -s conftest.err
; then
2912 ac_cpp_err
=$ac_c_preproc_warn_flag
2913 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2920 if test -z "$ac_cpp_err"; then
2921 # Broken: success on invalid input.
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.
$ac_ext >&5
2927 # Passes both tests.
2931 rm -f conftest.err conftest.
$ac_ext
2934 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2935 rm -f conftest.err conftest.
$ac_ext
2936 if $ac_preproc_ok; then
2939 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2940 See \`config.log' for more details." >&5
2941 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2942 See \`config.log' for more details." >&2;}
2943 { (exit 1); exit 1; }; }
2947 ac_cpp
='$CPP $CPPFLAGS'
2948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2953 echo "$as_me:$LINENO: checking for egrep" >&5
2954 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2955 if test "${ac_cv_prog_egrep+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2959 then ac_cv_prog_egrep
='grep -E'
2960 else ac_cv_prog_egrep
='egrep'
2963 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2964 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2965 EGREP
=$ac_cv_prog_egrep
2968 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2969 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2970 if test "${ac_cv_header_stdc+set}" = set; then
2971 echo $ECHO_N "(cached) $ECHO_C" >&6
2973 cat >conftest.
$ac_ext <<_ACEOF
2976 cat confdefs.h
>>conftest.
$ac_ext
2977 cat >>conftest.
$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2992 rm -f conftest.
$ac_objext
2993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2994 (eval $ac_compile) 2>conftest.er1
2996 grep -v '^ *+' conftest.er1
>conftest.err
2998 cat conftest.err
>&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); } &&
3001 { ac_try
='test -z "$ac_c_werror_flag"
3002 || test ! -s conftest.err'
3003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }; } &&
3008 { ac_try
='test -s conftest.$ac_objext'
3009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); }; }; then
3014 ac_cv_header_stdc
=yes
3016 echo "$as_me: failed program was:" >&5
3017 sed 's/^/| /' conftest.
$ac_ext >&5
3019 ac_cv_header_stdc
=no
3021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3023 if test $ac_cv_header_stdc = yes; then
3024 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3025 cat >conftest.
$ac_ext <<_ACEOF
3028 cat confdefs.h
>>conftest.
$ac_ext
3029 cat >>conftest.
$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3035 $EGREP "memchr" >/dev
/null
2>&1; then
3038 ac_cv_header_stdc
=no
3044 if test $ac_cv_header_stdc = yes; then
3045 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3046 cat >conftest.
$ac_ext <<_ACEOF
3049 cat confdefs.h
>>conftest.
$ac_ext
3050 cat >>conftest.
$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3056 $EGREP "free" >/dev
/null
2>&1; then
3059 ac_cv_header_stdc
=no
3065 if test $ac_cv_header_stdc = yes; then
3066 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3067 if test "$cross_compiling" = yes; then
3070 cat >conftest.
$ac_ext <<_ACEOF
3073 cat confdefs.h
>>conftest.
$ac_ext
3074 cat >>conftest.
$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3077 #if ((' ' & 0x0FF) == 0x020)
3078 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3079 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3081 # define ISLOWER(c) \
3082 (('a' <= (c) && (c) <= 'i') \
3083 || ('j' <= (c) && (c) <= 'r') \
3084 || ('s' <= (c) && (c) <= 'z'))
3085 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3088 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3093 for (i = 0; i < 256; i++)
3094 if (XOR (islower (i), ISLOWER (i))
3095 || toupper (i) != TOUPPER (i))
3100 rm -f conftest
$ac_exeext
3101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3102 (eval $ac_link) 2>&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }; }; then
3113 echo "$as_me: program exited with status $ac_status" >&5
3114 echo "$as_me: failed program was:" >&5
3115 sed 's/^/| /' conftest.
$ac_ext >&5
3118 ac_cv_header_stdc
=no
3120 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3124 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3125 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3126 if test $ac_cv_header_stdc = yes; then
3128 cat >>confdefs.h
<<\_ACEOF
3129 #define STDC_HEADERS 1
3134 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3135 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3136 if test "${ac_cv_c_const+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 cat >conftest.
$ac_ext <<_ACEOF
3142 cat confdefs.h
>>conftest.
$ac_ext
3143 cat >>conftest.
$ac_ext <<_ACEOF
3144 /* end confdefs.h. */
3149 /* FIXME: Include the comments suggested by Paul. */
3151 /* Ultrix mips cc rejects this. */
3152 typedef int charset[2];
3154 /* SunOS 4.1.1 cc rejects this. */
3155 char const *const *ccp;
3157 /* NEC SVR4.0.2 mips cc rejects this. */
3158 struct point {int x, y;};
3159 static struct point const zero = {0,0};
3160 /* AIX XL C 1.02.0.0 rejects this.
3161 It does not let you subtract one const X* pointer from another in
3162 an arm of an if-expression whose if-part is not a constant
3164 const char *g = "string";
3165 ccp = &g + (g ? g-g : 0);
3166 /* HPUX 7.0 cc rejects these. */
3169 ccp = (char const *const *) p;
3170 { /* SCO 3.2v4 cc rejects this. */
3172 char const *s = 0 ? (char *) 0 : (char const *) 0;
3176 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3178 const int *foo = &x[0];
3181 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3182 typedef const int *iptr;
3186 { /* AIX XL C 1.02.0.0 rejects this saying
3187 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3188 struct s { int j; const int *ap[3]; };
3189 struct s *b; b->j = 5;
3191 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3200 rm -f conftest.
$ac_objext
3201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3202 (eval $ac_compile) 2>conftest.er1
3204 grep -v '^ *+' conftest.er1
>conftest.err
3206 cat conftest.err
>&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); } &&
3209 { ac_try
='test -z "$ac_c_werror_flag"
3210 || test ! -s conftest.err'
3211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); }; } &&
3216 { ac_try
='test -s conftest.$ac_objext'
3217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); }; }; then
3224 echo "$as_me: failed program was:" >&5
3225 sed 's/^/| /' conftest.
$ac_ext >&5
3229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3231 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3232 echo "${ECHO_T}$ac_cv_c_const" >&6
3233 if test $ac_cv_c_const = no
; then
3235 cat >>confdefs.h
<<\_ACEOF
3241 echo "$as_me:$LINENO: checking for inline" >&5
3242 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3243 if test "${ac_cv_c_inline+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 for ac_kw
in inline __inline__ __inline
; do
3248 cat >conftest.
$ac_ext <<_ACEOF
3251 cat confdefs.h
>>conftest.
$ac_ext
3252 cat >>conftest.
$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3256 static $ac_kw foo_t static_foo () {return 0; }
3257 $ac_kw foo_t foo () {return 0; }
3261 rm -f conftest.
$ac_objext
3262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3263 (eval $ac_compile) 2>conftest.er1
3265 grep -v '^ *+' conftest.er1
>conftest.err
3267 cat conftest.err
>&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); } &&
3270 { ac_try
='test -z "$ac_c_werror_flag"
3271 || test ! -s conftest.err'
3272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276 (exit $ac_status); }; } &&
3277 { ac_try
='test -s conftest.$ac_objext'
3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; }; then
3283 ac_cv_c_inline
=$ac_kw; break
3285 echo "$as_me: failed program was:" >&5
3286 sed 's/^/| /' conftest.
$ac_ext >&5
3289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3293 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3294 echo "${ECHO_T}$ac_cv_c_inline" >&6
3297 case $ac_cv_c_inline in
3300 case $ac_cv_c_inline in
3302 *) ac_val
=$ac_cv_c_inline;;
3304 cat >>confdefs.h
<<_ACEOF
3306 #define inline $ac_val
3312 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3322 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3323 inttypes.h stdint.h unistd.h
3325 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3326 echo "$as_me:$LINENO: checking for $ac_header" >&5
3327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3329 echo $ECHO_N "(cached) $ECHO_C" >&6
3331 cat >conftest.
$ac_ext <<_ACEOF
3334 cat confdefs.h
>>conftest.
$ac_ext
3335 cat >>conftest.
$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3337 $ac_includes_default
3339 #include <$ac_header>
3341 rm -f conftest.
$ac_objext
3342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3343 (eval $ac_compile) 2>conftest.er1
3345 grep -v '^ *+' conftest.er1
>conftest.err
3347 cat conftest.err
>&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); } &&
3350 { ac_try
='test -z "$ac_c_werror_flag"
3351 || test ! -s conftest.err'
3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; } &&
3357 { ac_try
='test -s conftest.$ac_objext'
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; }; then
3363 eval "$as_ac_Header=yes"
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.
$ac_ext >&5
3368 eval "$as_ac_Header=no"
3370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3375 cat >>confdefs.h
<<_ACEOF
3376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3384 echo "$as_me:$LINENO: checking for off_t" >&5
3385 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3386 if test "${ac_cv_type_off_t+set}" = set; then
3387 echo $ECHO_N "(cached) $ECHO_C" >&6
3389 cat >conftest.
$ac_ext <<_ACEOF
3392 cat confdefs.h
>>conftest.
$ac_ext
3393 cat >>conftest.
$ac_ext <<_ACEOF
3394 /* end confdefs.h. */
3395 $ac_includes_default
3407 rm -f conftest.
$ac_objext
3408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3409 (eval $ac_compile) 2>conftest.er1
3411 grep -v '^ *+' conftest.er1
>conftest.err
3413 cat conftest.err
>&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); } &&
3416 { ac_try
='test -z "$ac_c_werror_flag"
3417 || test ! -s conftest.err'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; } &&
3423 { ac_try
='test -s conftest.$ac_objext'
3424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; }; then
3429 ac_cv_type_off_t
=yes
3431 echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.
$ac_ext >&5
3436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3438 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3439 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3440 if test $ac_cv_type_off_t = yes; then
3444 cat >>confdefs.h
<<_ACEOF
3450 echo "$as_me:$LINENO: checking for size_t" >&5
3451 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3452 if test "${ac_cv_type_size_t+set}" = set; then
3453 echo $ECHO_N "(cached) $ECHO_C" >&6
3455 cat >conftest.
$ac_ext <<_ACEOF
3458 cat confdefs.h
>>conftest.
$ac_ext
3459 cat >>conftest.
$ac_ext <<_ACEOF
3460 /* end confdefs.h. */
3461 $ac_includes_default
3467 if (sizeof (size_t))
3473 rm -f conftest.
$ac_objext
3474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3475 (eval $ac_compile) 2>conftest.er1
3477 grep -v '^ *+' conftest.er1
>conftest.err
3479 cat conftest.err
>&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); } &&
3482 { ac_try
='test -z "$ac_c_werror_flag"
3483 || test ! -s conftest.err'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; } &&
3489 { ac_try
='test -s conftest.$ac_objext'
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; }; then
3495 ac_cv_type_size_t
=yes
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.
$ac_ext >&5
3500 ac_cv_type_size_t
=no
3502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3504 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3505 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3506 if test $ac_cv_type_size_t = yes; then
3510 cat >>confdefs.h
<<_ACEOF
3511 #define size_t unsigned
3516 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3517 # for constant arguments. Useless!
3518 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3519 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3520 if test "${ac_cv_working_alloca_h+set}" = set; then
3521 echo $ECHO_N "(cached) $ECHO_C" >&6
3523 cat >conftest.
$ac_ext <<_ACEOF
3526 cat confdefs.h
>>conftest.
$ac_ext
3527 cat >>conftest.
$ac_ext <<_ACEOF
3528 /* end confdefs.h. */
3533 char *p = (char *) alloca (2 * sizeof (int));
3538 rm -f conftest.
$ac_objext conftest
$ac_exeext
3539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3540 (eval $ac_link) 2>conftest.er1
3542 grep -v '^ *+' conftest.er1
>conftest.err
3544 cat conftest.err
>&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); } &&
3547 { ac_try
='test -z "$ac_c_werror_flag"
3548 || test ! -s conftest.err'
3549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); }; } &&
3554 { ac_try
='test -s conftest$ac_exeext'
3555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); }; }; then
3560 ac_cv_working_alloca_h
=yes
3562 echo "$as_me: failed program was:" >&5
3563 sed 's/^/| /' conftest.
$ac_ext >&5
3565 ac_cv_working_alloca_h
=no
3567 rm -f conftest.err conftest.
$ac_objext \
3568 conftest
$ac_exeext conftest.
$ac_ext
3570 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3571 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3572 if test $ac_cv_working_alloca_h = yes; then
3574 cat >>confdefs.h
<<\_ACEOF
3575 #define HAVE_ALLOCA_H 1
3580 echo "$as_me:$LINENO: checking for alloca" >&5
3581 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3582 if test "${ac_cv_func_alloca_works+set}" = set; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 cat >conftest.
$ac_ext <<_ACEOF
3588 cat confdefs.h
>>conftest.
$ac_ext
3589 cat >>conftest.
$ac_ext <<_ACEOF
3590 /* end confdefs.h. */
3592 # define alloca __builtin_alloca
3595 # include <malloc.h>
3596 # define alloca _alloca
3599 # include <alloca.h>
3604 # ifndef alloca /* predefined by HP cc +Olibcalls */
3615 char *p = (char *) alloca (1);
3620 rm -f conftest.
$ac_objext conftest
$ac_exeext
3621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3622 (eval $ac_link) 2>conftest.er1
3624 grep -v '^ *+' conftest.er1
>conftest.err
3626 cat conftest.err
>&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); } &&
3629 { ac_try
='test -z "$ac_c_werror_flag"
3630 || test ! -s conftest.err'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; } &&
3636 { ac_try
='test -s conftest$ac_exeext'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; }; then
3642 ac_cv_func_alloca_works
=yes
3644 echo "$as_me: failed program was:" >&5
3645 sed 's/^/| /' conftest.
$ac_ext >&5
3647 ac_cv_func_alloca_works
=no
3649 rm -f conftest.err conftest.
$ac_objext \
3650 conftest
$ac_exeext conftest.
$ac_ext
3652 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3653 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3655 if test $ac_cv_func_alloca_works = yes; then
3657 cat >>confdefs.h
<<\_ACEOF
3658 #define HAVE_ALLOCA 1
3662 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3663 # that cause trouble. Some versions do not even contain alloca or
3664 # contain a buggy version. If you still want to use their alloca,
3665 # use ar to extract alloca.o from them instead of compiling alloca.c.
3667 ALLOCA
=alloca.
$ac_objext
3669 cat >>confdefs.h
<<\_ACEOF
3674 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3675 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3676 if test "${ac_cv_os_cray+set}" = set; then
3677 echo $ECHO_N "(cached) $ECHO_C" >&6
3679 cat >conftest.
$ac_ext <<_ACEOF
3682 cat confdefs.h
>>conftest.
$ac_ext
3683 cat >>conftest.
$ac_ext <<_ACEOF
3684 /* end confdefs.h. */
3685 #if defined(CRAY) && ! defined(CRAY2)
3692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3693 $EGREP "webecray" >/dev
/null
2>&1; then
3701 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3702 echo "${ECHO_T}$ac_cv_os_cray" >&6
3703 if test $ac_cv_os_cray = yes; then
3704 for ac_func
in _getb67 GETB67 getb67
; do
3705 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3706 echo "$as_me:$LINENO: checking for $ac_func" >&5
3707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3708 if eval "test \"\${$as_ac_var+set}\" = set"; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3711 cat >conftest.
$ac_ext <<_ACEOF
3714 cat confdefs.h
>>conftest.
$ac_ext
3715 cat >>conftest.
$ac_ext <<_ACEOF
3716 /* end confdefs.h. */
3717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3719 #define $ac_func innocuous_$ac_func
3721 /* System header to define __stub macros and hopefully few prototypes,
3722 which can conflict with char $ac_func (); below.
3723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3724 <limits.h> exists even on freestanding compilers. */
3727 # include <limits.h>
3729 # include <assert.h>
3734 /* Override any gcc2 internal prototype to avoid an error. */
3739 /* We use char because int might match the return type of a gcc2
3740 builtin and then its argument prototype would still apply. */
3742 /* The GNU C library defines this for functions which it implements
3743 to always fail with ENOSYS. Some functions are actually named
3744 something starting with __ and the normal name is an alias. */
3745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3748 char (*f) () = $ac_func;
3757 return f != $ac_func;
3762 rm -f conftest.
$ac_objext conftest
$ac_exeext
3763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3764 (eval $ac_link) 2>conftest.er1
3766 grep -v '^ *+' conftest.er1
>conftest.err
3768 cat conftest.err
>&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); } &&
3771 { ac_try
='test -z "$ac_c_werror_flag"
3772 || test ! -s conftest.err'
3773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); }; } &&
3778 { ac_try
='test -s conftest$ac_exeext'
3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }; }; then
3784 eval "$as_ac_var=yes"
3786 echo "$as_me: failed program was:" >&5
3787 sed 's/^/| /' conftest.
$ac_ext >&5
3789 eval "$as_ac_var=no"
3791 rm -f conftest.err conftest.
$ac_objext \
3792 conftest
$ac_exeext conftest.
$ac_ext
3794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3796 if test `eval echo '${'$as_ac_var'}'` = yes; then
3798 cat >>confdefs.h
<<_ACEOF
3799 #define CRAY_STACKSEG_END $ac_func
3808 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3809 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3810 if test "${ac_cv_c_stack_direction+set}" = set; then
3811 echo $ECHO_N "(cached) $ECHO_C" >&6
3813 if test "$cross_compiling" = yes; then
3814 ac_cv_c_stack_direction
=0
3816 cat >conftest.
$ac_ext <<_ACEOF
3819 cat confdefs.h
>>conftest.
$ac_ext
3820 cat >>conftest.
$ac_ext <<_ACEOF
3821 /* end confdefs.h. */
3823 find_stack_direction ()
3825 static char *addr = 0;
3830 return find_stack_direction ();
3833 return (&dummy > addr) ? 1 : -1;
3839 exit (find_stack_direction () < 0);
3842 rm -f conftest
$ac_exeext
3843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3844 (eval $ac_link) 2>&5
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); }; }; then
3853 ac_cv_c_stack_direction
=1
3855 echo "$as_me: program exited with status $ac_status" >&5
3856 echo "$as_me: failed program was:" >&5
3857 sed 's/^/| /' conftest.
$ac_ext >&5
3860 ac_cv_c_stack_direction
=-1
3862 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3865 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
3866 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3868 cat >>confdefs.h
<<_ACEOF
3869 #define STACK_DIRECTION $ac_cv_c_stack_direction
3877 for ac_header
in stdlib.h unistd.h
3879 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3881 echo "$as_me:$LINENO: checking for $ac_header" >&5
3882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3884 echo $ECHO_N "(cached) $ECHO_C" >&6
3886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3889 # Is the header compilable?
3890 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3891 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3892 cat >conftest.
$ac_ext <<_ACEOF
3895 cat confdefs.h
>>conftest.
$ac_ext
3896 cat >>conftest.
$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3898 $ac_includes_default
3899 #include <$ac_header>
3901 rm -f conftest.
$ac_objext
3902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3903 (eval $ac_compile) 2>conftest.er1
3905 grep -v '^ *+' conftest.er1
>conftest.err
3907 cat conftest.err
>&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); } &&
3910 { ac_try
='test -z "$ac_c_werror_flag"
3911 || test ! -s conftest.err'
3912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); }; } &&
3917 { ac_try
='test -s conftest.$ac_objext'
3918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); }; }; then
3923 ac_header_compiler
=yes
3925 echo "$as_me: failed program was:" >&5
3926 sed 's/^/| /' conftest.
$ac_ext >&5
3928 ac_header_compiler
=no
3930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3931 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3932 echo "${ECHO_T}$ac_header_compiler" >&6
3934 # Is the header present?
3935 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3936 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3937 cat >conftest.
$ac_ext <<_ACEOF
3940 cat confdefs.h
>>conftest.
$ac_ext
3941 cat >>conftest.
$ac_ext <<_ACEOF
3942 /* end confdefs.h. */
3943 #include <$ac_header>
3945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3946 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3948 grep -v '^ *+' conftest.er1
>conftest.err
3950 cat conftest.err
>&5
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); } >/dev
/null
; then
3953 if test -s conftest.err
; then
3954 ac_cpp_err
=$ac_c_preproc_warn_flag
3955 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3962 if test -z "$ac_cpp_err"; then
3963 ac_header_preproc
=yes
3965 echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.
$ac_ext >&5
3968 ac_header_preproc
=no
3970 rm -f conftest.err conftest.
$ac_ext
3971 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3972 echo "${ECHO_T}$ac_header_preproc" >&6
3974 # So? What about this header?
3975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3977 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3978 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3980 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3981 ac_header_preproc
=yes
3984 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3985 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3986 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3987 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3988 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3989 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3990 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3991 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3993 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3994 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3995 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3998 ## ------------------------------------------ ##
3999 ## Report this to the AC_PACKAGE_NAME lists. ##
4000 ## ------------------------------------------ ##
4003 sed "s/^/$as_me: WARNING: /" >&2
4006 echo "$as_me:$LINENO: checking for $ac_header" >&5
4007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 eval "$as_ac_Header=\$ac_header_preproc"
4013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4014 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4018 cat >>confdefs.h
<<_ACEOF
4019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4027 for ac_func
in getpagesize
4029 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4030 echo "$as_me:$LINENO: checking for $ac_func" >&5
4031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4032 if eval "test \"\${$as_ac_var+set}\" = set"; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 cat >conftest.
$ac_ext <<_ACEOF
4038 cat confdefs.h
>>conftest.
$ac_ext
4039 cat >>conftest.
$ac_ext <<_ACEOF
4040 /* end confdefs.h. */
4041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4043 #define $ac_func innocuous_$ac_func
4045 /* System header to define __stub macros and hopefully few prototypes,
4046 which can conflict with char $ac_func (); below.
4047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4048 <limits.h> exists even on freestanding compilers. */
4051 # include <limits.h>
4053 # include <assert.h>
4058 /* Override any gcc2 internal prototype to avoid an error. */
4063 /* We use char because int might match the return type of a gcc2
4064 builtin and then its argument prototype would still apply. */
4066 /* The GNU C library defines this for functions which it implements
4067 to always fail with ENOSYS. Some functions are actually named
4068 something starting with __ and the normal name is an alias. */
4069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4072 char (*f) () = $ac_func;
4081 return f != $ac_func;
4086 rm -f conftest.
$ac_objext conftest
$ac_exeext
4087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4088 (eval $ac_link) 2>conftest.er1
4090 grep -v '^ *+' conftest.er1
>conftest.err
4092 cat conftest.err
>&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); } &&
4095 { ac_try
='test -z "$ac_c_werror_flag"
4096 || test ! -s conftest.err'
4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; } &&
4102 { ac_try
='test -s conftest$ac_exeext'
4103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); }; }; then
4108 eval "$as_ac_var=yes"
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.
$ac_ext >&5
4113 eval "$as_ac_var=no"
4115 rm -f conftest.err conftest.
$ac_objext \
4116 conftest
$ac_exeext conftest.
$ac_ext
4118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4120 if test `eval echo '${'$as_ac_var'}'` = yes; then
4121 cat >>confdefs.h
<<_ACEOF
4122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4128 echo "$as_me:$LINENO: checking for working mmap" >&5
4129 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4130 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 if test "$cross_compiling" = yes; then
4134 ac_cv_func_mmap_fixed_mapped
=no
4136 cat >conftest.
$ac_ext <<_ACEOF
4139 cat confdefs.h
>>conftest.
$ac_ext
4140 cat >>conftest.
$ac_ext <<_ACEOF
4141 /* end confdefs.h. */
4142 $ac_includes_default
4143 /* malloc might have been renamed as rpl_malloc. */
4146 /* Thanks to Mike Haertel and Jim Avera for this test.
4147 Here is a matrix of mmap possibilities:
4148 mmap private not fixed
4149 mmap private fixed at somewhere currently unmapped
4150 mmap private fixed at somewhere already mapped
4151 mmap shared not fixed
4152 mmap shared fixed at somewhere currently unmapped
4153 mmap shared fixed at somewhere already mapped
4154 For private mappings, we should verify that changes cannot be read()
4155 back from the file, nor mmap's back from the file at a different
4156 address. (There have been systems where private was not correctly
4157 implemented like the infamous i386 svr4.0, and systems where the
4158 VM page cache was not coherent with the file system buffer cache
4159 like early versions of FreeBSD and possibly contemporary NetBSD.)
4160 For shared mappings, we should conversely verify that changes get
4161 propagated back to all the places they're supposed to be.
4163 Grep wants private fixed already mapped.
4164 The main things grep needs to know about mmap are:
4165 * does it exist and is it safe to write into the mmap'd area
4166 * how to use it (BSD variants) */
4169 #include <sys/mman.h>
4171 #if !STDC_HEADERS && !HAVE_STDLIB_H
4175 /* This mess was copied from the GNU getpagesize.h. */
4176 #if !HAVE_GETPAGESIZE
4177 /* Assume that all systems that can run configure have sys/param.h. */
4178 # if !HAVE_SYS_PARAM_H
4179 # define HAVE_SYS_PARAM_H 1
4182 # ifdef _SC_PAGESIZE
4183 # define getpagesize() sysconf(_SC_PAGESIZE)
4184 # else /* no _SC_PAGESIZE */
4185 # if HAVE_SYS_PARAM_H
4186 # include <sys/param.h>
4187 # ifdef EXEC_PAGESIZE
4188 # define getpagesize() EXEC_PAGESIZE
4189 # else /* no EXEC_PAGESIZE */
4191 # define getpagesize() NBPG * CLSIZE
4194 # endif /* no CLSIZE */
4195 # else /* no NBPG */
4197 # define getpagesize() NBPC
4198 # else /* no NBPC */
4200 # define getpagesize() PAGESIZE
4201 # endif /* PAGESIZE */
4202 # endif /* no NBPC */
4203 # endif /* no NBPG */
4204 # endif /* no EXEC_PAGESIZE */
4205 # else /* no HAVE_SYS_PARAM_H */
4206 # define getpagesize() 8192 /* punt totally */
4207 # endif /* no HAVE_SYS_PARAM_H */
4208 # endif /* no _SC_PAGESIZE */
4210 #endif /* no HAVE_GETPAGESIZE */
4215 char *data, *data2, *data3;
4219 pagesize = getpagesize ();
4221 /* First, make a file with some known garbage in it. */
4222 data = (char *) malloc (pagesize);
4225 for (i = 0; i < pagesize; ++i)
4226 *(data + i) = rand ();
4228 fd = creat ("conftest.mmap", 0600);
4231 if (write (fd, data, pagesize) != pagesize)
4235 /* Next, try to mmap the file at a fixed address which already has
4236 something else allocated at it. If we can, also make sure that
4237 we see the same garbage. */
4238 fd = open ("conftest.mmap", O_RDWR);
4241 data2 = (char *) malloc (2 * pagesize);
4244 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4245 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4246 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4248 for (i = 0; i < pagesize; ++i)
4249 if (*(data + i) != *(data2 + i))
4252 /* Finally, make sure that changes to the mapped area do not
4253 percolate back to the file as seen by read(). (This is a bug on
4254 some variants of i386 svr4.0.) */
4255 for (i = 0; i < pagesize; ++i)
4256 *(data2 + i) = *(data2 + i) + 1;
4257 data3 = (char *) malloc (pagesize);
4260 if (read (fd, data3, pagesize) != pagesize)
4262 for (i = 0; i < pagesize; ++i)
4263 if (*(data + i) != *(data3 + i))
4269 rm -f conftest
$ac_exeext
4270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4271 (eval $ac_link) 2>&5
4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279 (exit $ac_status); }; }; then
4280 ac_cv_func_mmap_fixed_mapped
=yes
4282 echo "$as_me: program exited with status $ac_status" >&5
4283 echo "$as_me: failed program was:" >&5
4284 sed 's/^/| /' conftest.
$ac_ext >&5
4287 ac_cv_func_mmap_fixed_mapped
=no
4289 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4292 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4293 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4294 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4296 cat >>confdefs.h
<<\_ACEOF
4313 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4314 unistd.h values.h sys
/param.h
4316 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4318 echo "$as_me:$LINENO: checking for $ac_header" >&5
4319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4326 # Is the header compilable?
4327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4329 cat >conftest.
$ac_ext <<_ACEOF
4332 cat confdefs.h
>>conftest.
$ac_ext
4333 cat >>conftest.
$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4335 $ac_includes_default
4336 #include <$ac_header>
4338 rm -f conftest.
$ac_objext
4339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4340 (eval $ac_compile) 2>conftest.er1
4342 grep -v '^ *+' conftest.er1
>conftest.err
4344 cat conftest.err
>&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); } &&
4347 { ac_try
='test -z "$ac_c_werror_flag"
4348 || test ! -s conftest.err'
4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; } &&
4354 { ac_try
='test -s conftest.$ac_objext'
4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); }; }; then
4360 ac_header_compiler
=yes
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.
$ac_ext >&5
4365 ac_header_compiler
=no
4367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4369 echo "${ECHO_T}$ac_header_compiler" >&6
4371 # Is the header present?
4372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4374 cat >conftest.
$ac_ext <<_ACEOF
4377 cat confdefs.h
>>conftest.
$ac_ext
4378 cat >>conftest.
$ac_ext <<_ACEOF
4379 /* end confdefs.h. */
4380 #include <$ac_header>
4382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4383 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4385 grep -v '^ *+' conftest.er1
>conftest.err
4387 cat conftest.err
>&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); } >/dev
/null
; then
4390 if test -s conftest.err
; then
4391 ac_cpp_err
=$ac_c_preproc_warn_flag
4392 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4399 if test -z "$ac_cpp_err"; then
4400 ac_header_preproc
=yes
4402 echo "$as_me: failed program was:" >&5
4403 sed 's/^/| /' conftest.
$ac_ext >&5
4405 ac_header_preproc
=no
4407 rm -f conftest.err conftest.
$ac_ext
4408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4409 echo "${ECHO_T}$ac_header_preproc" >&6
4411 # So? What about this header?
4412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4418 ac_header_preproc
=yes
4421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4435 ## ------------------------------------------ ##
4436 ## Report this to the AC_PACKAGE_NAME lists. ##
4437 ## ------------------------------------------ ##
4440 sed "s/^/$as_me: WARNING: /" >&2
4443 echo "$as_me:$LINENO: checking for $ac_header" >&5
4444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4446 echo $ECHO_N "(cached) $ECHO_C" >&6
4448 eval "$as_ac_Header=\$ac_header_preproc"
4450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4455 cat >>confdefs.h
<<_ACEOF
4456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4473 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4474 __argz_count __argz_stringify __argz_next
4476 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4477 echo "$as_me:$LINENO: checking for $ac_func" >&5
4478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4479 if eval "test \"\${$as_ac_var+set}\" = set"; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4482 cat >conftest.
$ac_ext <<_ACEOF
4485 cat confdefs.h
>>conftest.
$ac_ext
4486 cat >>conftest.
$ac_ext <<_ACEOF
4487 /* end confdefs.h. */
4488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4490 #define $ac_func innocuous_$ac_func
4492 /* System header to define __stub macros and hopefully few prototypes,
4493 which can conflict with char $ac_func (); below.
4494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4495 <limits.h> exists even on freestanding compilers. */
4498 # include <limits.h>
4500 # include <assert.h>
4505 /* Override any gcc2 internal prototype to avoid an error. */
4510 /* We use char because int might match the return type of a gcc2
4511 builtin and then its argument prototype would still apply. */
4513 /* The GNU C library defines this for functions which it implements
4514 to always fail with ENOSYS. Some functions are actually named
4515 something starting with __ and the normal name is an alias. */
4516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4519 char (*f) () = $ac_func;
4528 return f != $ac_func;
4533 rm -f conftest.
$ac_objext conftest
$ac_exeext
4534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4535 (eval $ac_link) 2>conftest.er1
4537 grep -v '^ *+' conftest.er1
>conftest.err
4539 cat conftest.err
>&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } &&
4542 { ac_try
='test -z "$ac_c_werror_flag"
4543 || test ! -s conftest.err'
4544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); }; } &&
4549 { ac_try
='test -s conftest$ac_exeext'
4550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }; }; then
4555 eval "$as_ac_var=yes"
4557 echo "$as_me: failed program was:" >&5
4558 sed 's/^/| /' conftest.
$ac_ext >&5
4560 eval "$as_ac_var=no"
4562 rm -f conftest.err conftest.
$ac_objext \
4563 conftest
$ac_exeext conftest.
$ac_ext
4565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4567 if test `eval echo '${'$as_ac_var'}'` = yes; then
4568 cat >>confdefs.h
<<_ACEOF
4569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4576 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4578 for ac_func
in stpcpy
4580 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4581 echo "$as_me:$LINENO: checking for $ac_func" >&5
4582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4583 if eval "test \"\${$as_ac_var+set}\" = set"; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 cat >conftest.
$ac_ext <<_ACEOF
4589 cat confdefs.h
>>conftest.
$ac_ext
4590 cat >>conftest.
$ac_ext <<_ACEOF
4591 /* end confdefs.h. */
4592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4594 #define $ac_func innocuous_$ac_func
4596 /* System header to define __stub macros and hopefully few prototypes,
4597 which can conflict with char $ac_func (); below.
4598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4599 <limits.h> exists even on freestanding compilers. */
4602 # include <limits.h>
4604 # include <assert.h>
4609 /* Override any gcc2 internal prototype to avoid an error. */
4614 /* We use char because int might match the return type of a gcc2
4615 builtin and then its argument prototype would still apply. */
4617 /* The GNU C library defines this for functions which it implements
4618 to always fail with ENOSYS. Some functions are actually named
4619 something starting with __ and the normal name is an alias. */
4620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4623 char (*f) () = $ac_func;
4632 return f != $ac_func;
4637 rm -f conftest.
$ac_objext conftest
$ac_exeext
4638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4639 (eval $ac_link) 2>conftest.er1
4641 grep -v '^ *+' conftest.er1
>conftest.err
4643 cat conftest.err
>&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); } &&
4646 { ac_try
='test -z "$ac_c_werror_flag"
4647 || test ! -s conftest.err'
4648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); }; } &&
4653 { ac_try
='test -s conftest$ac_exeext'
4654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); }; }; then
4659 eval "$as_ac_var=yes"
4661 echo "$as_me: failed program was:" >&5
4662 sed 's/^/| /' conftest.
$ac_ext >&5
4664 eval "$as_ac_var=no"
4666 rm -f conftest.err conftest.
$ac_objext \
4667 conftest
$ac_exeext conftest.
$ac_ext
4669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4671 if test `eval echo '${'$as_ac_var'}'` = yes; then
4672 cat >>confdefs.h
<<_ACEOF
4673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4680 if test "${ac_cv_func_stpcpy}" = "yes"; then
4681 cat >>confdefs.h
<<\_ACEOF
4682 #define HAVE_STPCPY 1
4687 if test $ac_cv_header_locale_h = yes; then
4688 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4689 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4690 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 cat >conftest.
$ac_ext <<_ACEOF
4696 cat confdefs.h
>>conftest.
$ac_ext
4697 cat >>conftest.
$ac_ext <<_ACEOF
4698 /* end confdefs.h. */
4708 rm -f conftest.
$ac_objext conftest
$ac_exeext
4709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4710 (eval $ac_link) 2>conftest.er1
4712 grep -v '^ *+' conftest.er1
>conftest.err
4714 cat conftest.err
>&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); } &&
4717 { ac_try
='test -z "$ac_c_werror_flag"
4718 || test ! -s conftest.err'
4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); }; } &&
4724 { ac_try
='test -s conftest$ac_exeext'
4725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); }; }; then
4730 am_cv_val_LC_MESSAGES
=yes
4732 echo "$as_me: failed program was:" >&5
4733 sed 's/^/| /' conftest.
$ac_ext >&5
4735 am_cv_val_LC_MESSAGES
=no
4737 rm -f conftest.err conftest.
$ac_objext \
4738 conftest
$ac_exeext conftest.
$ac_ext
4740 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4741 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4742 if test $am_cv_val_LC_MESSAGES = yes; then
4743 cat >>confdefs.h
<<\_ACEOF
4744 #define HAVE_LC_MESSAGES 1
4749 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4750 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4751 # Check whether --enable-nls or --disable-nls was given.
4752 if test "${enable_nls+set}" = set; then
4753 enableval
="$enable_nls"
4758 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4759 echo "${ECHO_T}$USE_NLS" >&6
4762 USE_INCLUDED_LIBINTL
=no
4764 if test "$USE_NLS" = "yes"; then
4765 cat >>confdefs.h
<<\_ACEOF
4766 #define ENABLE_NLS 1
4769 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4770 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4772 # Check whether --with-included-gettext or --without-included-gettext was given.
4773 if test "${with_included_gettext+set}" = set; then
4774 withval
="$with_included_gettext"
4775 nls_cv_force_use_gnu_gettext
=$withval
4777 nls_cv_force_use_gnu_gettext
=no
4779 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4780 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4782 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4783 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4785 nls_cv_header_libgt
=
4788 if test "${ac_cv_header_libintl_h+set}" = set; then
4789 echo "$as_me:$LINENO: checking for libintl.h" >&5
4790 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4791 if test "${ac_cv_header_libintl_h+set}" = set; then
4792 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4795 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4797 # Is the header compilable?
4798 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4799 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4800 cat >conftest.
$ac_ext <<_ACEOF
4803 cat confdefs.h
>>conftest.
$ac_ext
4804 cat >>conftest.
$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4806 $ac_includes_default
4807 #include <libintl.h>
4809 rm -f conftest.
$ac_objext
4810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4811 (eval $ac_compile) 2>conftest.er1
4813 grep -v '^ *+' conftest.er1
>conftest.err
4815 cat conftest.err
>&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); } &&
4818 { ac_try
='test -z "$ac_c_werror_flag"
4819 || test ! -s conftest.err'
4820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); }; } &&
4825 { ac_try
='test -s conftest.$ac_objext'
4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; }; then
4831 ac_header_compiler
=yes
4833 echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.
$ac_ext >&5
4836 ac_header_compiler
=no
4838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4839 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4840 echo "${ECHO_T}$ac_header_compiler" >&6
4842 # Is the header present?
4843 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4844 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4845 cat >conftest.
$ac_ext <<_ACEOF
4848 cat confdefs.h
>>conftest.
$ac_ext
4849 cat >>conftest.
$ac_ext <<_ACEOF
4850 /* end confdefs.h. */
4851 #include <libintl.h>
4853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4854 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4856 grep -v '^ *+' conftest.er1
>conftest.err
4858 cat conftest.err
>&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); } >/dev
/null
; then
4861 if test -s conftest.err
; then
4862 ac_cpp_err
=$ac_c_preproc_warn_flag
4863 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4870 if test -z "$ac_cpp_err"; then
4871 ac_header_preproc
=yes
4873 echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.
$ac_ext >&5
4876 ac_header_preproc
=no
4878 rm -f conftest.err conftest.
$ac_ext
4879 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4880 echo "${ECHO_T}$ac_header_preproc" >&6
4882 # So? What about this header?
4883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4885 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4886 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4887 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4888 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4889 ac_header_preproc
=yes
4892 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4893 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4894 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4895 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4896 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4897 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4898 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4899 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4900 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4901 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4902 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4903 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4906 ## ------------------------------------------ ##
4907 ## Report this to the AC_PACKAGE_NAME lists. ##
4908 ## ------------------------------------------ ##
4911 sed "s/^/$as_me: WARNING: /" >&2
4914 echo "$as_me:$LINENO: checking for libintl.h" >&5
4915 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4916 if test "${ac_cv_header_libintl_h+set}" = set; then
4917 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 ac_cv_header_libintl_h
=$ac_header_preproc
4921 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4922 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4925 if test $ac_cv_header_libintl_h = yes; then
4926 echo "$as_me:$LINENO: checking for gettext in libc" >&5
4927 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
4928 if test "${gt_cv_func_gettext_libc+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 cat >conftest.
$ac_ext <<_ACEOF
4934 cat confdefs.h
>>conftest.
$ac_ext
4935 cat >>conftest.
$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4937 #include <libintl.h>
4941 return (int) gettext ("")
4946 rm -f conftest.
$ac_objext conftest
$ac_exeext
4947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4948 (eval $ac_link) 2>conftest.er1
4950 grep -v '^ *+' conftest.er1
>conftest.err
4952 cat conftest.err
>&5
4953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); } &&
4955 { ac_try
='test -z "$ac_c_werror_flag"
4956 || test ! -s conftest.err'
4957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); }; } &&
4962 { ac_try
='test -s conftest$ac_exeext'
4963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); }; }; then
4968 gt_cv_func_gettext_libc
=yes
4970 echo "$as_me: failed program was:" >&5
4971 sed 's/^/| /' conftest.
$ac_ext >&5
4973 gt_cv_func_gettext_libc
=no
4975 rm -f conftest.err conftest.
$ac_objext \
4976 conftest
$ac_exeext conftest.
$ac_ext
4978 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
4979 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
4981 if test "$gt_cv_func_gettext_libc" != "yes"; then
4982 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
4983 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
4984 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 ac_check_lib_save_LIBS
=$LIBS
4989 cat >conftest.
$ac_ext <<_ACEOF
4992 cat confdefs.h
>>conftest.
$ac_ext
4993 cat >>conftest.
$ac_ext <<_ACEOF
4994 /* end confdefs.h. */
4996 /* Override any gcc2 internal prototype to avoid an error. */
5000 /* We use char because int might match the return type of a gcc2
5001 builtin and then its argument prototype would still apply. */
5002 char bindtextdomain ();
5011 rm -f conftest.
$ac_objext conftest
$ac_exeext
5012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5013 (eval $ac_link) 2>conftest.er1
5015 grep -v '^ *+' conftest.er1
>conftest.err
5017 cat conftest.err
>&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); } &&
5020 { ac_try
='test -z "$ac_c_werror_flag"
5021 || test ! -s conftest.err'
5022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); }; } &&
5027 { ac_try
='test -s conftest$ac_exeext'
5028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); }; }; then
5033 ac_cv_lib_intl_bindtextdomain
=yes
5035 echo "$as_me: failed program was:" >&5
5036 sed 's/^/| /' conftest.
$ac_ext >&5
5038 ac_cv_lib_intl_bindtextdomain
=no
5040 rm -f conftest.err conftest.
$ac_objext \
5041 conftest
$ac_exeext conftest.
$ac_ext
5042 LIBS
=$ac_check_lib_save_LIBS
5044 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5045 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5046 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5047 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5048 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5049 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 cat >conftest.
$ac_ext <<_ACEOF
5055 cat confdefs.h
>>conftest.
$ac_ext
5056 cat >>conftest.
$ac_ext <<_ACEOF
5057 /* end confdefs.h. */
5062 return (int) gettext ("")
5067 rm -f conftest.
$ac_objext conftest
$ac_exeext
5068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5069 (eval $ac_link) 2>conftest.er1
5071 grep -v '^ *+' conftest.er1
>conftest.err
5073 cat conftest.err
>&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } &&
5076 { ac_try
='test -z "$ac_c_werror_flag"
5077 || test ! -s conftest.err'
5078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); }; } &&
5083 { ac_try
='test -s conftest$ac_exeext'
5084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); }; }; then
5089 gt_cv_func_gettext_libintl
=yes
5091 echo "$as_me: failed program was:" >&5
5092 sed 's/^/| /' conftest.
$ac_ext >&5
5094 gt_cv_func_gettext_libintl
=no
5096 rm -f conftest.err conftest.
$ac_objext \
5097 conftest
$ac_exeext conftest.
$ac_ext
5099 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5100 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5105 if test "$gt_cv_func_gettext_libc" = "yes" \
5106 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
5107 cat >>confdefs.h
<<\_ACEOF
5108 #define HAVE_GETTEXT 1
5111 # Extract the first word of "msgfmt", so it can be a program name with args.
5112 set dummy msgfmt
; ac_word
=$2
5113 echo "$as_me:$LINENO: checking for $ac_word" >&5
5114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5115 if test "${ac_cv_path_MSGFMT+set}" = set; then
5116 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5123 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5124 for ac_dir
in $PATH; do
5125 test -z "$ac_dir" && ac_dir
=.
5126 if test -f $ac_dir/$ac_word; then
5127 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5128 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5134 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5138 MSGFMT
="$ac_cv_path_MSGFMT"
5139 if test -n "$MSGFMT"; then
5140 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5141 echo "${ECHO_T}$MSGFMT" >&6
5143 echo "$as_me:$LINENO: result: no" >&5
5144 echo "${ECHO_T}no" >&6
5146 if test "$MSGFMT" != "no"; then
5148 for ac_func
in dcgettext
5150 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5151 echo "$as_me:$LINENO: checking for $ac_func" >&5
5152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5153 if eval "test \"\${$as_ac_var+set}\" = set"; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 cat >conftest.
$ac_ext <<_ACEOF
5159 cat confdefs.h
>>conftest.
$ac_ext
5160 cat >>conftest.
$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5164 #define $ac_func innocuous_$ac_func
5166 /* System header to define __stub macros and hopefully few prototypes,
5167 which can conflict with char $ac_func (); below.
5168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5169 <limits.h> exists even on freestanding compilers. */
5172 # include <limits.h>
5174 # include <assert.h>
5179 /* Override any gcc2 internal prototype to avoid an error. */
5184 /* We use char because int might match the return type of a gcc2
5185 builtin and then its argument prototype would still apply. */
5187 /* The GNU C library defines this for functions which it implements
5188 to always fail with ENOSYS. Some functions are actually named
5189 something starting with __ and the normal name is an alias. */
5190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5193 char (*f) () = $ac_func;
5202 return f != $ac_func;
5207 rm -f conftest.
$ac_objext conftest
$ac_exeext
5208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5209 (eval $ac_link) 2>conftest.er1
5211 grep -v '^ *+' conftest.er1
>conftest.err
5213 cat conftest.err
>&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); } &&
5216 { ac_try
='test -z "$ac_c_werror_flag"
5217 || test ! -s conftest.err'
5218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); }; } &&
5223 { ac_try
='test -s conftest$ac_exeext'
5224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }; }; then
5229 eval "$as_ac_var=yes"
5231 echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.
$ac_ext >&5
5234 eval "$as_ac_var=no"
5236 rm -f conftest.err conftest.
$ac_objext \
5237 conftest
$ac_exeext conftest.
$ac_ext
5239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5241 if test `eval echo '${'$as_ac_var'}'` = yes; then
5242 cat >>confdefs.h
<<_ACEOF
5243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5249 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5250 set dummy gmsgfmt
; ac_word
=$2
5251 echo "$as_me:$LINENO: checking for $ac_word" >&5
5252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5253 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5254 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5265 test -z "$as_dir" && as_dir
=.
5266 for ac_exec_ext
in '' $ac_executable_extensions; do
5267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5268 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5279 GMSGFMT
=$ac_cv_path_GMSGFMT
5281 if test -n "$GMSGFMT"; then
5282 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5283 echo "${ECHO_T}$GMSGFMT" >&6
5285 echo "$as_me:$LINENO: result: no" >&5
5286 echo "${ECHO_T}no" >&6
5289 # Extract the first word of "xgettext", so it can be a program name with args.
5290 set dummy xgettext
; ac_word
=$2
5291 echo "$as_me:$LINENO: checking for $ac_word" >&5
5292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5293 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5294 echo $ECHO_N "(cached) $ECHO_C" >&6
5298 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5301 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5302 for ac_dir
in $PATH; do
5303 test -z "$ac_dir" && ac_dir
=.
5304 if test -f $ac_dir/$ac_word; then
5305 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5306 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5312 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5316 XGETTEXT
="$ac_cv_path_XGETTEXT"
5317 if test -n "$XGETTEXT"; then
5318 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5319 echo "${ECHO_T}$XGETTEXT" >&6
5321 echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6
5325 cat >conftest.
$ac_ext <<_ACEOF
5328 cat confdefs.h
>>conftest.
$ac_ext
5329 cat >>conftest.
$ac_ext <<_ACEOF
5330 /* end confdefs.h. */
5335 extern int _nl_msg_cat_cntr;
5336 return _nl_msg_cat_cntr
5341 rm -f conftest.
$ac_objext conftest
$ac_exeext
5342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5343 (eval $ac_link) 2>conftest.er1
5345 grep -v '^ *+' conftest.er1
>conftest.err
5347 cat conftest.err
>&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } &&
5350 { ac_try
='test -z "$ac_c_werror_flag"
5351 || test ! -s conftest.err'
5352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); }; } &&
5357 { ac_try
='test -s conftest$ac_exeext'
5358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); }; }; then
5366 echo "$as_me: failed program was:" >&5
5367 sed 's/^/| /' conftest.
$ac_ext >&5
5372 rm -f conftest.err conftest.
$ac_objext \
5373 conftest
$ac_exeext conftest.
$ac_ext
5383 if test "$CATOBJEXT" = "NONE"; then
5384 nls_cv_use_gnu_gettext
=yes
5388 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5389 INTLOBJS
="\$(GETTOBJS)"
5390 # Extract the first word of "msgfmt", so it can be a program name with args.
5391 set dummy msgfmt
; ac_word
=$2
5392 echo "$as_me:$LINENO: checking for $ac_word" >&5
5393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5394 if test "${ac_cv_path_MSGFMT+set}" = set; then
5395 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5402 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5403 for ac_dir
in $PATH; do
5404 test -z "$ac_dir" && ac_dir
=.
5405 if test -f $ac_dir/$ac_word; then
5406 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5407 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5413 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
5417 MSGFMT
="$ac_cv_path_MSGFMT"
5418 if test -n "$MSGFMT"; then
5419 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5420 echo "${ECHO_T}$MSGFMT" >&6
5422 echo "$as_me:$LINENO: result: no" >&5
5423 echo "${ECHO_T}no" >&6
5426 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5427 set dummy gmsgfmt
; ac_word
=$2
5428 echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5430 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5435 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5442 test -z "$as_dir" && as_dir
=.
5443 for ac_exec_ext
in '' $ac_executable_extensions; do
5444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5445 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5456 GMSGFMT
=$ac_cv_path_GMSGFMT
5458 if test -n "$GMSGFMT"; then
5459 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5460 echo "${ECHO_T}$GMSGFMT" >&6
5462 echo "$as_me:$LINENO: result: no" >&5
5463 echo "${ECHO_T}no" >&6
5466 # Extract the first word of "xgettext", so it can be a program name with args.
5467 set dummy xgettext
; ac_word
=$2
5468 echo "$as_me:$LINENO: checking for $ac_word" >&5
5469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5470 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5478 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5479 for ac_dir
in $PATH; do
5480 test -z "$ac_dir" && ac_dir
=.
5481 if test -f $ac_dir/$ac_word; then
5482 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5483 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5489 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5493 XGETTEXT
="$ac_cv_path_XGETTEXT"
5494 if test -n "$XGETTEXT"; then
5495 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5496 echo "${ECHO_T}$XGETTEXT" >&6
5498 echo "$as_me:$LINENO: result: no" >&5
5499 echo "${ECHO_T}no" >&6
5503 USE_INCLUDED_LIBINTL
=yes
5507 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
5509 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5510 nls_cv_header_intl
=libintl.h
5511 nls_cv_header_libgt
=libgettext.h
5514 if test "$XGETTEXT" != ":"; then
5515 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5518 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5519 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5524 # We need to process the po/ directory.
5528 nls_cv_header_intl
=libintl.h
5529 nls_cv_header_libgt
=libgettext.h
5532 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5533 # because some of the sources are only built for this goal.
5534 if test "$PACKAGE" = gettext; then
5536 USE_INCLUDED_LIBINTL
=yes
5539 for lang
in $ALL_LINGUAS; do
5540 GMOFILES
="$GMOFILES $lang.gmo"
5541 POFILES
="$POFILES $lang.po"
5557 if test "x$CATOBJEXT" != "x"; then
5558 if test "x$ALL_LINGUAS" = "x"; then
5561 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5562 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5564 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5565 case "$ALL_LINGUAS" in
5566 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5569 LINGUAS
=$NEW_LINGUAS
5570 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5571 echo "${ECHO_T}$LINGUAS" >&6
5574 if test -n "$LINGUAS"; then
5575 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5579 if test $ac_cv_header_locale_h = yes; then
5580 INCLUDE_LOCALE_H
="#include <locale.h>"
5583 /* The system does not provide the header <locale.h>. Take care yourself. */"
5587 if test -f $srcdir/po2tbl.
sed.
in; then
5588 if test "$CATOBJEXT" = ".cat"; then
5589 if test "${ac_cv_header_linux_version_h+set}" = set; then
5590 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5591 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5592 if test "${ac_cv_header_linux_version_h+set}" = set; then
5593 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5596 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5598 # Is the header compilable?
5599 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5600 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5601 cat >conftest.
$ac_ext <<_ACEOF
5604 cat confdefs.h
>>conftest.
$ac_ext
5605 cat >>conftest.
$ac_ext <<_ACEOF
5606 /* end confdefs.h. */
5607 $ac_includes_default
5608 #include <linux/version.h>
5610 rm -f conftest.
$ac_objext
5611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5612 (eval $ac_compile) 2>conftest.er1
5614 grep -v '^ *+' conftest.er1
>conftest.err
5616 cat conftest.err
>&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); } &&
5619 { ac_try
='test -z "$ac_c_werror_flag"
5620 || test ! -s conftest.err'
5621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); }; } &&
5626 { ac_try
='test -s conftest.$ac_objext'
5627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631 (exit $ac_status); }; }; then
5632 ac_header_compiler
=yes
5634 echo "$as_me: failed program was:" >&5
5635 sed 's/^/| /' conftest.
$ac_ext >&5
5637 ac_header_compiler
=no
5639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5641 echo "${ECHO_T}$ac_header_compiler" >&6
5643 # Is the header present?
5644 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5645 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5646 cat >conftest.
$ac_ext <<_ACEOF
5649 cat confdefs.h
>>conftest.
$ac_ext
5650 cat >>conftest.
$ac_ext <<_ACEOF
5651 /* end confdefs.h. */
5652 #include <linux/version.h>
5654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5655 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5657 grep -v '^ *+' conftest.er1
>conftest.err
5659 cat conftest.err
>&5
5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); } >/dev
/null
; then
5662 if test -s conftest.err
; then
5663 ac_cpp_err
=$ac_c_preproc_warn_flag
5664 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5671 if test -z "$ac_cpp_err"; then
5672 ac_header_preproc
=yes
5674 echo "$as_me: failed program was:" >&5
5675 sed 's/^/| /' conftest.
$ac_ext >&5
5677 ac_header_preproc
=no
5679 rm -f conftest.err conftest.
$ac_ext
5680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5681 echo "${ECHO_T}$ac_header_preproc" >&6
5683 # So? What about this header?
5684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5686 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5687 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5688 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5689 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5690 ac_header_preproc
=yes
5693 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5694 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5695 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5696 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5697 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5698 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5699 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5700 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5701 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5702 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5703 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5704 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5707 ## ------------------------------------------ ##
5708 ## Report this to the AC_PACKAGE_NAME lists. ##
5709 ## ------------------------------------------ ##
5712 sed "s/^/$as_me: WARNING: /" >&2
5715 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5716 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5717 if test "${ac_cv_header_linux_version_h+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 ac_cv_header_linux_version_h
=$ac_header_preproc
5722 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5723 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5726 if test $ac_cv_header_linux_version_h = yes; then
5734 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
5736 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5737 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
5740 if test "$PACKAGE" = "gettext"; then
5750 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
5756 if test -d $srcdir/po
; then
5757 test -d po || mkdir po
5758 if test "x$srcdir" != "x."; then
5759 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5760 posrcprefix
="$srcdir/"
5762 posrcprefix
="../$srcdir/"
5768 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5769 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5773 # Check for common headers.
5774 # FIXME: Seems to me this can cause problems for i386-windows hosts.
5775 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
5781 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
5783 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5785 echo "$as_me:$LINENO: checking for $ac_header" >&5
5786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5793 # Is the header compilable?
5794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5796 cat >conftest.
$ac_ext <<_ACEOF
5799 cat confdefs.h
>>conftest.
$ac_ext
5800 cat >>conftest.
$ac_ext <<_ACEOF
5801 /* end confdefs.h. */
5802 $ac_includes_default
5803 #include <$ac_header>
5805 rm -f conftest.
$ac_objext
5806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5807 (eval $ac_compile) 2>conftest.er1
5809 grep -v '^ *+' conftest.er1
>conftest.err
5811 cat conftest.err
>&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); } &&
5814 { ac_try
='test -z "$ac_c_werror_flag"
5815 || test ! -s conftest.err'
5816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); }; } &&
5821 { ac_try
='test -s conftest.$ac_objext'
5822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); }; }; then
5827 ac_header_compiler
=yes
5829 echo "$as_me: failed program was:" >&5
5830 sed 's/^/| /' conftest.
$ac_ext >&5
5832 ac_header_compiler
=no
5834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5836 echo "${ECHO_T}$ac_header_compiler" >&6
5838 # Is the header present?
5839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5841 cat >conftest.
$ac_ext <<_ACEOF
5844 cat confdefs.h
>>conftest.
$ac_ext
5845 cat >>conftest.
$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5847 #include <$ac_header>
5849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5850 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5852 grep -v '^ *+' conftest.er1
>conftest.err
5854 cat conftest.err
>&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); } >/dev
/null
; then
5857 if test -s conftest.err
; then
5858 ac_cpp_err
=$ac_c_preproc_warn_flag
5859 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5866 if test -z "$ac_cpp_err"; then
5867 ac_header_preproc
=yes
5869 echo "$as_me: failed program was:" >&5
5870 sed 's/^/| /' conftest.
$ac_ext >&5
5872 ac_header_preproc
=no
5874 rm -f conftest.err conftest.
$ac_ext
5875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5876 echo "${ECHO_T}$ac_header_preproc" >&6
5878 # So? What about this header?
5879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5885 ac_header_preproc
=yes
5888 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5890 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5891 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5892 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5894 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5895 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5898 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5902 ## ------------------------------------------ ##
5903 ## Report this to the AC_PACKAGE_NAME lists. ##
5904 ## ------------------------------------------ ##
5907 sed "s/^/$as_me: WARNING: /" >&2
5910 echo "$as_me:$LINENO: checking for $ac_header" >&5
5911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5913 echo $ECHO_N "(cached) $ECHO_C" >&6
5915 eval "$as_ac_Header=\$ac_header_preproc"
5917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5922 cat >>confdefs.h
<<_ACEOF
5923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5932 for ac_header
in sys
/time.h sys
/resource.h
5934 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5936 echo "$as_me:$LINENO: checking for $ac_header" >&5
5937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5939 echo $ECHO_N "(cached) $ECHO_C" >&6
5941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5944 # Is the header compilable?
5945 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5946 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5947 cat >conftest.
$ac_ext <<_ACEOF
5950 cat confdefs.h
>>conftest.
$ac_ext
5951 cat >>conftest.
$ac_ext <<_ACEOF
5952 /* end confdefs.h. */
5953 $ac_includes_default
5954 #include <$ac_header>
5956 rm -f conftest.
$ac_objext
5957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5958 (eval $ac_compile) 2>conftest.er1
5960 grep -v '^ *+' conftest.er1
>conftest.err
5962 cat conftest.err
>&5
5963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964 (exit $ac_status); } &&
5965 { ac_try
='test -z "$ac_c_werror_flag"
5966 || test ! -s conftest.err'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; } &&
5972 { ac_try
='test -s conftest.$ac_objext'
5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); }; }; then
5978 ac_header_compiler
=yes
5980 echo "$as_me: failed program was:" >&5
5981 sed 's/^/| /' conftest.
$ac_ext >&5
5983 ac_header_compiler
=no
5985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5987 echo "${ECHO_T}$ac_header_compiler" >&6
5989 # Is the header present?
5990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5992 cat >conftest.
$ac_ext <<_ACEOF
5995 cat confdefs.h
>>conftest.
$ac_ext
5996 cat >>conftest.
$ac_ext <<_ACEOF
5997 /* end confdefs.h. */
5998 #include <$ac_header>
6000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6003 grep -v '^ *+' conftest.er1
>conftest.err
6005 cat conftest.err
>&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); } >/dev
/null
; then
6008 if test -s conftest.err
; then
6009 ac_cpp_err
=$ac_c_preproc_warn_flag
6010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6017 if test -z "$ac_cpp_err"; then
6018 ac_header_preproc
=yes
6020 echo "$as_me: failed program was:" >&5
6021 sed 's/^/| /' conftest.
$ac_ext >&5
6023 ac_header_preproc
=no
6025 rm -f conftest.err conftest.
$ac_ext
6026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6027 echo "${ECHO_T}$ac_header_preproc" >&6
6029 # So? What about this header?
6030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6036 ac_header_preproc
=yes
6039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6053 ## ------------------------------------------ ##
6054 ## Report this to the AC_PACKAGE_NAME lists. ##
6055 ## ------------------------------------------ ##
6058 sed "s/^/$as_me: WARNING: /" >&2
6061 echo "$as_me:$LINENO: checking for $ac_header" >&5
6062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6064 echo $ECHO_N "(cached) $ECHO_C" >&6
6066 eval "$as_ac_Header=\$ac_header_preproc"
6068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6073 cat >>confdefs.h
<<_ACEOF
6074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6083 for ac_header
in fcntl.h fpu_control.h
6085 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6087 echo "$as_me:$LINENO: checking for $ac_header" >&5
6088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6095 # Is the header compilable?
6096 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6097 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6098 cat >conftest.
$ac_ext <<_ACEOF
6101 cat confdefs.h
>>conftest.
$ac_ext
6102 cat >>conftest.
$ac_ext <<_ACEOF
6103 /* end confdefs.h. */
6104 $ac_includes_default
6105 #include <$ac_header>
6107 rm -f conftest.
$ac_objext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6109 (eval $ac_compile) 2>conftest.er1
6111 grep -v '^ *+' conftest.er1
>conftest.err
6113 cat conftest.err
>&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); } &&
6116 { ac_try
='test -z "$ac_c_werror_flag"
6117 || test ! -s conftest.err'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; } &&
6123 { ac_try
='test -s conftest.$ac_objext'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 ac_header_compiler
=yes
6131 echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.
$ac_ext >&5
6134 ac_header_compiler
=no
6136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6137 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6138 echo "${ECHO_T}$ac_header_compiler" >&6
6140 # Is the header present?
6141 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6143 cat >conftest.
$ac_ext <<_ACEOF
6146 cat confdefs.h
>>conftest.
$ac_ext
6147 cat >>conftest.
$ac_ext <<_ACEOF
6148 /* end confdefs.h. */
6149 #include <$ac_header>
6151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6154 grep -v '^ *+' conftest.er1
>conftest.err
6156 cat conftest.err
>&5
6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); } >/dev
/null
; then
6159 if test -s conftest.err
; then
6160 ac_cpp_err
=$ac_c_preproc_warn_flag
6161 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6168 if test -z "$ac_cpp_err"; then
6169 ac_header_preproc
=yes
6171 echo "$as_me: failed program was:" >&5
6172 sed 's/^/| /' conftest.
$ac_ext >&5
6174 ac_header_preproc
=no
6176 rm -f conftest.err conftest.
$ac_ext
6177 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6178 echo "${ECHO_T}$ac_header_preproc" >&6
6180 # So? What about this header?
6181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6183 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6184 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6186 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6187 ac_header_preproc
=yes
6190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6193 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6194 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6195 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6196 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6197 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6200 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6201 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6204 ## ------------------------------------------ ##
6205 ## Report this to the AC_PACKAGE_NAME lists. ##
6206 ## ------------------------------------------ ##
6209 sed "s/^/$as_me: WARNING: /" >&2
6212 echo "$as_me:$LINENO: checking for $ac_header" >&5
6213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6217 eval "$as_ac_Header=\$ac_header_preproc"
6219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6224 cat >>confdefs.h
<<_ACEOF
6225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6235 for ac_header
in dlfcn.h errno.h sys
/stat.h
6237 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6239 echo "$as_me:$LINENO: checking for $ac_header" >&5
6240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6242 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6247 # Is the header compilable?
6248 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6249 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6250 cat >conftest.
$ac_ext <<_ACEOF
6253 cat confdefs.h
>>conftest.
$ac_ext
6254 cat >>conftest.
$ac_ext <<_ACEOF
6255 /* end confdefs.h. */
6256 $ac_includes_default
6257 #include <$ac_header>
6259 rm -f conftest.
$ac_objext
6260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6261 (eval $ac_compile) 2>conftest.er1
6263 grep -v '^ *+' conftest.er1
>conftest.err
6265 cat conftest.err
>&5
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); } &&
6268 { ac_try
='test -z "$ac_c_werror_flag"
6269 || test ! -s conftest.err'
6270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); }; } &&
6275 { ac_try
='test -s conftest.$ac_objext'
6276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280 (exit $ac_status); }; }; then
6281 ac_header_compiler
=yes
6283 echo "$as_me: failed program was:" >&5
6284 sed 's/^/| /' conftest.
$ac_ext >&5
6286 ac_header_compiler
=no
6288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6290 echo "${ECHO_T}$ac_header_compiler" >&6
6292 # Is the header present?
6293 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6294 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6295 cat >conftest.
$ac_ext <<_ACEOF
6298 cat confdefs.h
>>conftest.
$ac_ext
6299 cat >>conftest.
$ac_ext <<_ACEOF
6300 /* end confdefs.h. */
6301 #include <$ac_header>
6303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6304 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6306 grep -v '^ *+' conftest.er1
>conftest.err
6308 cat conftest.err
>&5
6309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310 (exit $ac_status); } >/dev
/null
; then
6311 if test -s conftest.err
; then
6312 ac_cpp_err
=$ac_c_preproc_warn_flag
6313 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6320 if test -z "$ac_cpp_err"; then
6321 ac_header_preproc
=yes
6323 echo "$as_me: failed program was:" >&5
6324 sed 's/^/| /' conftest.
$ac_ext >&5
6326 ac_header_preproc
=no
6328 rm -f conftest.err conftest.
$ac_ext
6329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6330 echo "${ECHO_T}$ac_header_preproc" >&6
6332 # So? What about this header?
6333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6339 ac_header_preproc
=yes
6342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6356 ## ------------------------------------------ ##
6357 ## Report this to the AC_PACKAGE_NAME lists. ##
6358 ## ------------------------------------------ ##
6361 sed "s/^/$as_me: WARNING: /" >&2
6364 echo "$as_me:$LINENO: checking for $ac_header" >&5
6365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6367 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 eval "$as_ac_Header=\$ac_header_preproc"
6371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6376 cat >>confdefs.h
<<_ACEOF
6377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6388 for ac_func
in getrusage
time sigaction __setfpucw
6390 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6391 echo "$as_me:$LINENO: checking for $ac_func" >&5
6392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6393 if eval "test \"\${$as_ac_var+set}\" = set"; then
6394 echo $ECHO_N "(cached) $ECHO_C" >&6
6396 cat >conftest.
$ac_ext <<_ACEOF
6399 cat confdefs.h
>>conftest.
$ac_ext
6400 cat >>conftest.
$ac_ext <<_ACEOF
6401 /* end confdefs.h. */
6402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6404 #define $ac_func innocuous_$ac_func
6406 /* System header to define __stub macros and hopefully few prototypes,
6407 which can conflict with char $ac_func (); below.
6408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6409 <limits.h> exists even on freestanding compilers. */
6412 # include <limits.h>
6414 # include <assert.h>
6419 /* Override any gcc2 internal prototype to avoid an error. */
6424 /* We use char because int might match the return type of a gcc2
6425 builtin and then its argument prototype would still apply. */
6427 /* The GNU C library defines this for functions which it implements
6428 to always fail with ENOSYS. Some functions are actually named
6429 something starting with __ and the normal name is an alias. */
6430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6433 char (*f) () = $ac_func;
6442 return f != $ac_func;
6447 rm -f conftest.
$ac_objext conftest
$ac_exeext
6448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6449 (eval $ac_link) 2>conftest.er1
6451 grep -v '^ *+' conftest.er1
>conftest.err
6453 cat conftest.err
>&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); } &&
6456 { ac_try
='test -z "$ac_c_werror_flag"
6457 || test ! -s conftest.err'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; } &&
6463 { ac_try
='test -s conftest$ac_exeext'
6464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); }; }; then
6469 eval "$as_ac_var=yes"
6471 echo "$as_me: failed program was:" >&5
6472 sed 's/^/| /' conftest.
$ac_ext >&5
6474 eval "$as_ac_var=no"
6476 rm -f conftest.err conftest.
$ac_objext \
6477 conftest
$ac_exeext conftest.
$ac_ext
6479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6481 if test `eval echo '${'$as_ac_var'}'` = yes; then
6482 cat >>confdefs.h
<<_ACEOF
6483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6490 # Check for socket libraries
6492 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
6493 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
6494 if test "${ac_cv_lib_socket_bind+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 ac_check_lib_save_LIBS
=$LIBS
6498 LIBS
="-lsocket $LIBS"
6499 cat >conftest.
$ac_ext <<_ACEOF
6502 cat confdefs.h
>>conftest.
$ac_ext
6503 cat >>conftest.
$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6506 /* Override any gcc2 internal prototype to avoid an error. */
6510 /* We use char because int might match the return type of a gcc2
6511 builtin and then its argument prototype would still apply. */
6521 rm -f conftest.
$ac_objext conftest
$ac_exeext
6522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6523 (eval $ac_link) 2>conftest.er1
6525 grep -v '^ *+' conftest.er1
>conftest.err
6527 cat conftest.err
>&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } &&
6530 { ac_try
='test -z "$ac_c_werror_flag"
6531 || test ! -s conftest.err'
6532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); }; } &&
6537 { ac_try
='test -s conftest$ac_exeext'
6538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); }; }; then
6543 ac_cv_lib_socket_bind
=yes
6545 echo "$as_me: failed program was:" >&5
6546 sed 's/^/| /' conftest.
$ac_ext >&5
6548 ac_cv_lib_socket_bind
=no
6550 rm -f conftest.err conftest.
$ac_objext \
6551 conftest
$ac_exeext conftest.
$ac_ext
6552 LIBS
=$ac_check_lib_save_LIBS
6554 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
6555 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
6556 if test $ac_cv_lib_socket_bind = yes; then
6557 cat >>confdefs.h
<<_ACEOF
6558 #define HAVE_LIBSOCKET 1
6561 LIBS
="-lsocket $LIBS"
6566 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6567 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6568 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6569 echo $ECHO_N "(cached) $ECHO_C" >&6
6571 ac_check_lib_save_LIBS
=$LIBS
6573 cat >conftest.
$ac_ext <<_ACEOF
6576 cat confdefs.h
>>conftest.
$ac_ext
6577 cat >>conftest.
$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6580 /* Override any gcc2 internal prototype to avoid an error. */
6584 /* We use char because int might match the return type of a gcc2
6585 builtin and then its argument prototype would still apply. */
6586 char gethostbyname ();
6595 rm -f conftest.
$ac_objext conftest
$ac_exeext
6596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6597 (eval $ac_link) 2>conftest.er1
6599 grep -v '^ *+' conftest.er1
>conftest.err
6601 cat conftest.err
>&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); } &&
6604 { ac_try
='test -z "$ac_c_werror_flag"
6605 || test ! -s conftest.err'
6606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); }; } &&
6611 { ac_try
='test -s conftest$ac_exeext'
6612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); }; }; then
6617 ac_cv_lib_nsl_gethostbyname
=yes
6619 echo "$as_me: failed program was:" >&5
6620 sed 's/^/| /' conftest.
$ac_ext >&5
6622 ac_cv_lib_nsl_gethostbyname
=no
6624 rm -f conftest.err conftest.
$ac_objext \
6625 conftest
$ac_exeext conftest.
$ac_ext
6626 LIBS
=$ac_check_lib_save_LIBS
6628 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6629 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6630 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6631 cat >>confdefs.h
<<_ACEOF
6632 #define HAVE_LIBNSL 1
6640 .
${srcdir}/..
/..
/bfd
/configure.
host
6644 USE_MAINTAINER_MODE
=no
6645 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6646 if test "${enable_maintainer_mode+set}" = set; then
6647 enableval
="$enable_maintainer_mode"
6648 case "${enableval}" in
6649 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
6651 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
6652 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
6653 { (exit 1); exit 1; }; }; MAINT
="#" ;;
6655 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
6656 echo "Setting maintainer mode" 6>&1
6663 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
6664 if test "${enable_sim_bswap+set}" = set; then
6665 enableval
="$enable_sim_bswap"
6666 case "${enableval}" in
6667 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
6668 no
) sim_bswap
="-DWITH_BSWAP=0";;
6669 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
6670 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
6671 { (exit 1); exit 1; }; }; sim_bswap
="";;
6673 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
6674 echo "Setting bswap flags = $sim_bswap" 6>&1
6681 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
6682 if test "${enable_sim_cflags+set}" = set; then
6683 enableval
="$enable_sim_cflags"
6684 case "${enableval}" in
6685 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
6686 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
6687 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
6688 { (exit 1); exit 1; }; }; sim_cflags
="";;
6690 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6692 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
6693 echo "Setting sim cflags = $sim_cflags" 6>&1
6700 # Check whether --enable-sim-debug or --disable-sim-debug was given.
6701 if test "${enable_sim_debug+set}" = set; then
6702 enableval
="$enable_sim_debug"
6703 case "${enableval}" in
6704 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
6705 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
6706 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
6708 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
6709 echo "Setting sim debug = $sim_debug" 6>&1
6716 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
6717 if test "${enable_sim_stdio+set}" = set; then
6718 enableval
="$enable_sim_stdio"
6719 case "${enableval}" in
6720 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
6721 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
6722 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
6723 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
6724 { (exit 1); exit 1; }; }; sim_stdio
="";;
6726 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
6727 echo "Setting stdio flags = $sim_stdio" 6>&1
6734 # Check whether --enable-sim-trace or --disable-sim-trace was given.
6735 if test "${enable_sim_trace+set}" = set; then
6736 enableval
="$enable_sim_trace"
6737 case "${enableval}" in
6738 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
6739 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
6741 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
6744 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6745 if test x
"$sim_trace" = x
; then
6746 sim_trace
="-DWITH_TRACE='(TRACE_$x"
6748 sim_trace
="${sim_trace}|TRACE_$x"
6751 sim_trace
="$sim_trace)'" ;;
6753 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
6754 echo "Setting sim trace = $sim_trace" 6>&1
6761 # Check whether --enable-sim-profile or --disable-sim-profile was given.
6762 if test "${enable_sim_profile+set}" = set; then
6763 enableval
="$enable_sim_profile"
6764 case "${enableval}" in
6765 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
6766 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
6768 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
6771 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6772 if test x
"$sim_profile" = x
; then
6773 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
6775 sim_profile
="${sim_profile}|PROFILE_$x"
6778 sim_profile
="$sim_profile)'" ;;
6780 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
6781 echo "Setting sim profile = $sim_profile" 6>&1
6784 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
6788 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6789 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6790 if test "${ac_cv_type_signal+set}" = set; then
6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6793 cat >conftest.
$ac_ext <<_ACEOF
6796 cat confdefs.h
>>conftest.
$ac_ext
6797 cat >>conftest.
$ac_ext <<_ACEOF
6798 /* end confdefs.h. */
6799 #include <sys/types.h>
6805 extern "C" void (*signal (int, void (*)(int)))(int);
6807 void (*signal ()) ();
6818 rm -f conftest.
$ac_objext
6819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6820 (eval $ac_compile) 2>conftest.er1
6822 grep -v '^ *+' conftest.er1
>conftest.err
6824 cat conftest.err
>&5
6825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826 (exit $ac_status); } &&
6827 { ac_try
='test -z "$ac_c_werror_flag"
6828 || test ! -s conftest.err'
6829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6833 (exit $ac_status); }; } &&
6834 { ac_try
='test -s conftest.$ac_objext'
6835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); }; }; then
6840 ac_cv_type_signal
=void
6842 echo "$as_me: failed program was:" >&5
6843 sed 's/^/| /' conftest.
$ac_ext >&5
6845 ac_cv_type_signal
=int
6847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6849 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6850 echo "${ECHO_T}$ac_cv_type_signal" >&6
6852 cat >>confdefs.h
<<_ACEOF
6853 #define RETSIGTYPE $ac_cv_type_signal
6863 sim_link_links
=tconfig.h
6864 if test -f ${srcdir}/tconfig.
in
6866 sim_link_files
=tconfig.
in
6868 sim_link_files
=..
/common
/tconfig.
in
6871 # targ-vals.def points to the libc macro description file.
6873 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
6875 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
6876 sim_link_links
="${sim_link_links} targ-vals.def"
6879 # Put a useful copy of CPP_FOR_TARGET in Makefile.
6880 # This is only used to build the target values header files. These files are
6881 # shipped with distributions so CPP_FOR_TARGET only needs to work in
6882 # developer's trees. This value is borrowed from ../../Makefile.in.
6883 CPP_FOR_TARGET
="\` \
6884 if test -f \$\${rootme}/../../gcc/Makefile ; then \
6885 if test -f \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/Makefile ; then \
6886 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/ -idirafter \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/targ-include -idirafter \$(srcroot)/newlib/libc/include -nostdinc; \
6888 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
6891 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
6894 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
6899 # Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
6900 if test x
"${host}" = x
"${target}" ; then
6903 TARGET_SUBDIR
=${target_alias}
6907 # These aren't all needed yet, but will be eventually.
6915 for ac_header
in stdlib.h string.h
strings.h
time.h sys
/times.h sys
/stat.h sys
/mman.h
6917 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6919 echo "$as_me:$LINENO: checking for $ac_header" >&5
6920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6922 echo $ECHO_N "(cached) $ECHO_C" >&6
6924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6927 # Is the header compilable?
6928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6930 cat >conftest.
$ac_ext <<_ACEOF
6933 cat confdefs.h
>>conftest.
$ac_ext
6934 cat >>conftest.
$ac_ext <<_ACEOF
6935 /* end confdefs.h. */
6936 $ac_includes_default
6937 #include <$ac_header>
6939 rm -f conftest.
$ac_objext
6940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6941 (eval $ac_compile) 2>conftest.er1
6943 grep -v '^ *+' conftest.er1
>conftest.err
6945 cat conftest.err
>&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); } &&
6948 { ac_try
='test -z "$ac_c_werror_flag"
6949 || test ! -s conftest.err'
6950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); }; } &&
6955 { ac_try
='test -s conftest.$ac_objext'
6956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960 (exit $ac_status); }; }; then
6961 ac_header_compiler
=yes
6963 echo "$as_me: failed program was:" >&5
6964 sed 's/^/| /' conftest.
$ac_ext >&5
6966 ac_header_compiler
=no
6968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6970 echo "${ECHO_T}$ac_header_compiler" >&6
6972 # Is the header present?
6973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6975 cat >conftest.
$ac_ext <<_ACEOF
6978 cat confdefs.h
>>conftest.
$ac_ext
6979 cat >>conftest.
$ac_ext <<_ACEOF
6980 /* end confdefs.h. */
6981 #include <$ac_header>
6983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6986 grep -v '^ *+' conftest.er1
>conftest.err
6988 cat conftest.err
>&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); } >/dev
/null
; then
6991 if test -s conftest.err
; then
6992 ac_cpp_err
=$ac_c_preproc_warn_flag
6993 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7000 if test -z "$ac_cpp_err"; then
7001 ac_header_preproc
=yes
7003 echo "$as_me: failed program was:" >&5
7004 sed 's/^/| /' conftest.
$ac_ext >&5
7006 ac_header_preproc
=no
7008 rm -f conftest.err conftest.
$ac_ext
7009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7010 echo "${ECHO_T}$ac_header_preproc" >&6
7012 # So? What about this header?
7013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7019 ac_header_preproc
=yes
7022 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7024 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7025 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7026 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7028 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7029 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7032 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7036 ## ------------------------------------------ ##
7037 ## Report this to the AC_PACKAGE_NAME lists. ##
7038 ## ------------------------------------------ ##
7041 sed "s/^/$as_me: WARNING: /" >&2
7044 echo "$as_me:$LINENO: checking for $ac_header" >&5
7045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7047 echo $ECHO_N "(cached) $ECHO_C" >&6
7049 eval "$as_ac_Header=\$ac_header_preproc"
7051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7056 cat >>confdefs.h
<<_ACEOF
7057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7066 for ac_func
in mmap munmap
7068 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7069 echo "$as_me:$LINENO: checking for $ac_func" >&5
7070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7071 if eval "test \"\${$as_ac_var+set}\" = set"; then
7072 echo $ECHO_N "(cached) $ECHO_C" >&6
7074 cat >conftest.
$ac_ext <<_ACEOF
7077 cat confdefs.h
>>conftest.
$ac_ext
7078 cat >>conftest.
$ac_ext <<_ACEOF
7079 /* end confdefs.h. */
7080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7082 #define $ac_func innocuous_$ac_func
7084 /* System header to define __stub macros and hopefully few prototypes,
7085 which can conflict with char $ac_func (); below.
7086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7087 <limits.h> exists even on freestanding compilers. */
7090 # include <limits.h>
7092 # include <assert.h>
7097 /* Override any gcc2 internal prototype to avoid an error. */
7102 /* We use char because int might match the return type of a gcc2
7103 builtin and then its argument prototype would still apply. */
7105 /* The GNU C library defines this for functions which it implements
7106 to always fail with ENOSYS. Some functions are actually named
7107 something starting with __ and the normal name is an alias. */
7108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7111 char (*f) () = $ac_func;
7120 return f != $ac_func;
7125 rm -f conftest.
$ac_objext conftest
$ac_exeext
7126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7127 (eval $ac_link) 2>conftest.er1
7129 grep -v '^ *+' conftest.er1
>conftest.err
7131 cat conftest.err
>&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); } &&
7134 { ac_try
='test -z "$ac_c_werror_flag"
7135 || test ! -s conftest.err'
7136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); }; } &&
7141 { ac_try
='test -s conftest$ac_exeext'
7142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); }; }; then
7147 eval "$as_ac_var=yes"
7149 echo "$as_me: failed program was:" >&5
7150 sed 's/^/| /' conftest.
$ac_ext >&5
7152 eval "$as_ac_var=no"
7154 rm -f conftest.err conftest.
$ac_objext \
7155 conftest
$ac_exeext conftest.
$ac_ext
7157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7159 if test `eval echo '${'$as_ac_var'}'` = yes; then
7160 cat >>confdefs.h
<<_ACEOF
7161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7167 echo "$as_me:$LINENO: checking for struct stat.st_dev" >&5
7168 echo $ECHO_N "checking for struct stat.st_dev... $ECHO_C" >&6
7169 if test "${ac_struct_stat_st_dev+set}" = set; then
7170 echo $ECHO_N "(cached) $ECHO_C" >&6
7172 ac_struct_stat_st_dev
=no
;
7173 cat >conftest.
$ac_ext <<_ACEOF
7176 cat confdefs.h
>>conftest.
$ac_ext
7177 cat >>conftest.
$ac_ext <<_ACEOF
7178 /* end confdefs.h. */
7179 #ifdef HAVE_SYS_TYPES_H
7180 #include <sys/types.h>
7182 #ifdef HAVE_SYS_STAT_H
7183 #include <sys/stat.h>
7189 static struct stat ac_aggr;
7196 rm -f conftest.
$ac_objext
7197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7198 (eval $ac_compile) 2>conftest.er1
7200 grep -v '^ *+' conftest.er1
>conftest.err
7202 cat conftest.err
>&5
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); } &&
7205 { ac_try
='test -z "$ac_c_werror_flag"
7206 || test ! -s conftest.err'
7207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7211 (exit $ac_status); }; } &&
7212 { ac_try
='test -s conftest.$ac_objext'
7213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); }; }; then
7218 ac_struct_stat_st_dev
=yes;
7220 echo "$as_me: failed program was:" >&5
7221 sed 's/^/| /' conftest.
$ac_ext >&5
7223 cat >conftest.
$ac_ext <<_ACEOF
7226 cat confdefs.h
>>conftest.
$ac_ext
7227 cat >>conftest.
$ac_ext <<_ACEOF
7228 /* end confdefs.h. */
7229 #ifdef HAVE_SYS_TYPES_H
7230 #include <sys/types.h>
7232 #ifdef HAVE_SYS_STAT_H
7233 #include <sys/stat.h>
7239 static struct stat ac_aggr;
7240 if (sizeof ac_aggr.st_dev)
7246 rm -f conftest.
$ac_objext
7247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7248 (eval $ac_compile) 2>conftest.er1
7250 grep -v '^ *+' conftest.er1
>conftest.err
7252 cat conftest.err
>&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } &&
7255 { ac_try
='test -z "$ac_c_werror_flag"
7256 || test ! -s conftest.err'
7257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); }; } &&
7262 { ac_try
='test -s conftest.$ac_objext'
7263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); }; }; then
7268 ac_struct_stat_st_dev
=yes;
7270 echo "$as_me: failed program was:" >&5
7271 sed 's/^/| /' conftest.
$ac_ext >&5
7273 ac_struct_stat_st_dev
=no
;
7275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7278 if test $ac_struct_stat_st_dev = yes; then :;
7279 cat >>confdefs.h
<<_ACEOF
7280 #define HAVE_STRUCT_STAT_ST_DEV 1
7286 echo "$as_me:$LINENO: result: $ac_struct_stat_st_dev" >&5
7287 echo "${ECHO_T}$ac_struct_stat_st_dev" >&6
7289 echo "$as_me:$LINENO: checking for struct stat.st_ino" >&5
7290 echo $ECHO_N "checking for struct stat.st_ino... $ECHO_C" >&6
7291 if test "${ac_struct_stat_st_ino+set}" = set; then
7292 echo $ECHO_N "(cached) $ECHO_C" >&6
7294 ac_struct_stat_st_ino
=no
;
7295 cat >conftest.
$ac_ext <<_ACEOF
7298 cat confdefs.h
>>conftest.
$ac_ext
7299 cat >>conftest.
$ac_ext <<_ACEOF
7300 /* end confdefs.h. */
7301 #ifdef HAVE_SYS_TYPES_H
7302 #include <sys/types.h>
7304 #ifdef HAVE_SYS_STAT_H
7305 #include <sys/stat.h>
7311 static struct stat ac_aggr;
7318 rm -f conftest.
$ac_objext
7319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7320 (eval $ac_compile) 2>conftest.er1
7322 grep -v '^ *+' conftest.er1
>conftest.err
7324 cat conftest.err
>&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); } &&
7327 { ac_try
='test -z "$ac_c_werror_flag"
7328 || test ! -s conftest.err'
7329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; } &&
7334 { ac_try
='test -s conftest.$ac_objext'
7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; }; then
7340 ac_struct_stat_st_ino
=yes;
7342 echo "$as_me: failed program was:" >&5
7343 sed 's/^/| /' conftest.
$ac_ext >&5
7345 cat >conftest.
$ac_ext <<_ACEOF
7348 cat confdefs.h
>>conftest.
$ac_ext
7349 cat >>conftest.
$ac_ext <<_ACEOF
7350 /* end confdefs.h. */
7351 #ifdef HAVE_SYS_TYPES_H
7352 #include <sys/types.h>
7354 #ifdef HAVE_SYS_STAT_H
7355 #include <sys/stat.h>
7361 static struct stat ac_aggr;
7362 if (sizeof ac_aggr.st_ino)
7368 rm -f conftest.
$ac_objext
7369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7370 (eval $ac_compile) 2>conftest.er1
7372 grep -v '^ *+' conftest.er1
>conftest.err
7374 cat conftest.err
>&5
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); } &&
7377 { ac_try
='test -z "$ac_c_werror_flag"
7378 || test ! -s conftest.err'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; } &&
7384 { ac_try
='test -s conftest.$ac_objext'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; }; then
7390 ac_struct_stat_st_ino
=yes;
7392 echo "$as_me: failed program was:" >&5
7393 sed 's/^/| /' conftest.
$ac_ext >&5
7395 ac_struct_stat_st_ino
=no
;
7397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7400 if test $ac_struct_stat_st_ino = yes; then :;
7401 cat >>confdefs.h
<<_ACEOF
7402 #define HAVE_STRUCT_STAT_ST_INO 1
7408 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ino" >&5
7409 echo "${ECHO_T}$ac_struct_stat_st_ino" >&6
7411 echo "$as_me:$LINENO: checking for struct stat.st_mode" >&5
7412 echo $ECHO_N "checking for struct stat.st_mode... $ECHO_C" >&6
7413 if test "${ac_struct_stat_st_mode+set}" = set; then
7414 echo $ECHO_N "(cached) $ECHO_C" >&6
7416 ac_struct_stat_st_mode
=no
;
7417 cat >conftest.
$ac_ext <<_ACEOF
7420 cat confdefs.h
>>conftest.
$ac_ext
7421 cat >>conftest.
$ac_ext <<_ACEOF
7422 /* end confdefs.h. */
7423 #ifdef HAVE_SYS_TYPES_H
7424 #include <sys/types.h>
7426 #ifdef HAVE_SYS_STAT_H
7427 #include <sys/stat.h>
7433 static struct stat ac_aggr;
7434 if (ac_aggr.st_mode)
7440 rm -f conftest.
$ac_objext
7441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7442 (eval $ac_compile) 2>conftest.er1
7444 grep -v '^ *+' conftest.er1
>conftest.err
7446 cat conftest.err
>&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); } &&
7449 { ac_try
='test -z "$ac_c_werror_flag"
7450 || test ! -s conftest.err'
7451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); }; } &&
7456 { ac_try
='test -s conftest.$ac_objext'
7457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461 (exit $ac_status); }; }; then
7462 ac_struct_stat_st_mode
=yes;
7464 echo "$as_me: failed program was:" >&5
7465 sed 's/^/| /' conftest.
$ac_ext >&5
7467 cat >conftest.
$ac_ext <<_ACEOF
7470 cat confdefs.h
>>conftest.
$ac_ext
7471 cat >>conftest.
$ac_ext <<_ACEOF
7472 /* end confdefs.h. */
7473 #ifdef HAVE_SYS_TYPES_H
7474 #include <sys/types.h>
7476 #ifdef HAVE_SYS_STAT_H
7477 #include <sys/stat.h>
7483 static struct stat ac_aggr;
7484 if (sizeof ac_aggr.st_mode)
7490 rm -f conftest.
$ac_objext
7491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7492 (eval $ac_compile) 2>conftest.er1
7494 grep -v '^ *+' conftest.er1
>conftest.err
7496 cat conftest.err
>&5
7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498 (exit $ac_status); } &&
7499 { ac_try
='test -z "$ac_c_werror_flag"
7500 || test ! -s conftest.err'
7501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); }; } &&
7506 { ac_try
='test -s conftest.$ac_objext'
7507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); }; }; then
7512 ac_struct_stat_st_mode
=yes;
7514 echo "$as_me: failed program was:" >&5
7515 sed 's/^/| /' conftest.
$ac_ext >&5
7517 ac_struct_stat_st_mode
=no
;
7519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7522 if test $ac_struct_stat_st_mode = yes; then :;
7523 cat >>confdefs.h
<<_ACEOF
7524 #define HAVE_STRUCT_STAT_ST_MODE 1
7530 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mode" >&5
7531 echo "${ECHO_T}$ac_struct_stat_st_mode" >&6
7533 echo "$as_me:$LINENO: checking for struct stat.st_nlink" >&5
7534 echo $ECHO_N "checking for struct stat.st_nlink... $ECHO_C" >&6
7535 if test "${ac_struct_stat_st_nlink+set}" = set; then
7536 echo $ECHO_N "(cached) $ECHO_C" >&6
7538 ac_struct_stat_st_nlink
=no
;
7539 cat >conftest.
$ac_ext <<_ACEOF
7542 cat confdefs.h
>>conftest.
$ac_ext
7543 cat >>conftest.
$ac_ext <<_ACEOF
7544 /* end confdefs.h. */
7545 #ifdef HAVE_SYS_TYPES_H
7546 #include <sys/types.h>
7548 #ifdef HAVE_SYS_STAT_H
7549 #include <sys/stat.h>
7555 static struct stat ac_aggr;
7556 if (ac_aggr.st_nlink)
7562 rm -f conftest.
$ac_objext
7563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7564 (eval $ac_compile) 2>conftest.er1
7566 grep -v '^ *+' conftest.er1
>conftest.err
7568 cat conftest.err
>&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); } &&
7571 { ac_try
='test -z "$ac_c_werror_flag"
7572 || test ! -s conftest.err'
7573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); }; } &&
7578 { ac_try
='test -s conftest.$ac_objext'
7579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); }; }; then
7584 ac_struct_stat_st_nlink
=yes;
7586 echo "$as_me: failed program was:" >&5
7587 sed 's/^/| /' conftest.
$ac_ext >&5
7589 cat >conftest.
$ac_ext <<_ACEOF
7592 cat confdefs.h
>>conftest.
$ac_ext
7593 cat >>conftest.
$ac_ext <<_ACEOF
7594 /* end confdefs.h. */
7595 #ifdef HAVE_SYS_TYPES_H
7596 #include <sys/types.h>
7598 #ifdef HAVE_SYS_STAT_H
7599 #include <sys/stat.h>
7605 static struct stat ac_aggr;
7606 if (sizeof ac_aggr.st_nlink)
7612 rm -f conftest.
$ac_objext
7613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7614 (eval $ac_compile) 2>conftest.er1
7616 grep -v '^ *+' conftest.er1
>conftest.err
7618 cat conftest.err
>&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); } &&
7621 { ac_try
='test -z "$ac_c_werror_flag"
7622 || test ! -s conftest.err'
7623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627 (exit $ac_status); }; } &&
7628 { ac_try
='test -s conftest.$ac_objext'
7629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); }; }; then
7634 ac_struct_stat_st_nlink
=yes;
7636 echo "$as_me: failed program was:" >&5
7637 sed 's/^/| /' conftest.
$ac_ext >&5
7639 ac_struct_stat_st_nlink
=no
;
7641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7644 if test $ac_struct_stat_st_nlink = yes; then :;
7645 cat >>confdefs.h
<<_ACEOF
7646 #define HAVE_STRUCT_STAT_ST_NLINK 1
7652 echo "$as_me:$LINENO: result: $ac_struct_stat_st_nlink" >&5
7653 echo "${ECHO_T}$ac_struct_stat_st_nlink" >&6
7655 echo "$as_me:$LINENO: checking for struct stat.st_uid" >&5
7656 echo $ECHO_N "checking for struct stat.st_uid... $ECHO_C" >&6
7657 if test "${ac_struct_stat_st_uid+set}" = set; then
7658 echo $ECHO_N "(cached) $ECHO_C" >&6
7660 ac_struct_stat_st_uid
=no
;
7661 cat >conftest.
$ac_ext <<_ACEOF
7664 cat confdefs.h
>>conftest.
$ac_ext
7665 cat >>conftest.
$ac_ext <<_ACEOF
7666 /* end confdefs.h. */
7667 #ifdef HAVE_SYS_TYPES_H
7668 #include <sys/types.h>
7670 #ifdef HAVE_SYS_STAT_H
7671 #include <sys/stat.h>
7677 static struct stat ac_aggr;
7684 rm -f conftest.
$ac_objext
7685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7686 (eval $ac_compile) 2>conftest.er1
7688 grep -v '^ *+' conftest.er1
>conftest.err
7690 cat conftest.err
>&5
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); } &&
7693 { ac_try
='test -z "$ac_c_werror_flag"
7694 || test ! -s conftest.err'
7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699 (exit $ac_status); }; } &&
7700 { ac_try
='test -s conftest.$ac_objext'
7701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); }; }; then
7706 ac_struct_stat_st_uid
=yes;
7708 echo "$as_me: failed program was:" >&5
7709 sed 's/^/| /' conftest.
$ac_ext >&5
7711 cat >conftest.
$ac_ext <<_ACEOF
7714 cat confdefs.h
>>conftest.
$ac_ext
7715 cat >>conftest.
$ac_ext <<_ACEOF
7716 /* end confdefs.h. */
7717 #ifdef HAVE_SYS_TYPES_H
7718 #include <sys/types.h>
7720 #ifdef HAVE_SYS_STAT_H
7721 #include <sys/stat.h>
7727 static struct stat ac_aggr;
7728 if (sizeof ac_aggr.st_uid)
7734 rm -f conftest.
$ac_objext
7735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7736 (eval $ac_compile) 2>conftest.er1
7738 grep -v '^ *+' conftest.er1
>conftest.err
7740 cat conftest.err
>&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); } &&
7743 { ac_try
='test -z "$ac_c_werror_flag"
7744 || test ! -s conftest.err'
7745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); }; } &&
7750 { ac_try
='test -s conftest.$ac_objext'
7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); }; }; then
7756 ac_struct_stat_st_uid
=yes;
7758 echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.
$ac_ext >&5
7761 ac_struct_stat_st_uid
=no
;
7763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7766 if test $ac_struct_stat_st_uid = yes; then :;
7767 cat >>confdefs.h
<<_ACEOF
7768 #define HAVE_STRUCT_STAT_ST_UID 1
7774 echo "$as_me:$LINENO: result: $ac_struct_stat_st_uid" >&5
7775 echo "${ECHO_T}$ac_struct_stat_st_uid" >&6
7777 echo "$as_me:$LINENO: checking for struct stat.st_gid" >&5
7778 echo $ECHO_N "checking for struct stat.st_gid... $ECHO_C" >&6
7779 if test "${ac_struct_stat_st_gid+set}" = set; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7782 ac_struct_stat_st_gid
=no
;
7783 cat >conftest.
$ac_ext <<_ACEOF
7786 cat confdefs.h
>>conftest.
$ac_ext
7787 cat >>conftest.
$ac_ext <<_ACEOF
7788 /* end confdefs.h. */
7789 #ifdef HAVE_SYS_TYPES_H
7790 #include <sys/types.h>
7792 #ifdef HAVE_SYS_STAT_H
7793 #include <sys/stat.h>
7799 static struct stat ac_aggr;
7806 rm -f conftest.
$ac_objext
7807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7808 (eval $ac_compile) 2>conftest.er1
7810 grep -v '^ *+' conftest.er1
>conftest.err
7812 cat conftest.err
>&5
7813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7814 (exit $ac_status); } &&
7815 { ac_try
='test -z "$ac_c_werror_flag"
7816 || test ! -s conftest.err'
7817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7821 (exit $ac_status); }; } &&
7822 { ac_try
='test -s conftest.$ac_objext'
7823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 (exit $ac_status); }; }; then
7828 ac_struct_stat_st_gid
=yes;
7830 echo "$as_me: failed program was:" >&5
7831 sed 's/^/| /' conftest.
$ac_ext >&5
7833 cat >conftest.
$ac_ext <<_ACEOF
7836 cat confdefs.h
>>conftest.
$ac_ext
7837 cat >>conftest.
$ac_ext <<_ACEOF
7838 /* end confdefs.h. */
7839 #ifdef HAVE_SYS_TYPES_H
7840 #include <sys/types.h>
7842 #ifdef HAVE_SYS_STAT_H
7843 #include <sys/stat.h>
7849 static struct stat ac_aggr;
7850 if (sizeof ac_aggr.st_gid)
7856 rm -f conftest.
$ac_objext
7857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7858 (eval $ac_compile) 2>conftest.er1
7860 grep -v '^ *+' conftest.er1
>conftest.err
7862 cat conftest.err
>&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } &&
7865 { ac_try
='test -z "$ac_c_werror_flag"
7866 || test ! -s conftest.err'
7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; } &&
7872 { ac_try
='test -s conftest.$ac_objext'
7873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); }; }; then
7878 ac_struct_stat_st_gid
=yes;
7880 echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.
$ac_ext >&5
7883 ac_struct_stat_st_gid
=no
;
7885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7888 if test $ac_struct_stat_st_gid = yes; then :;
7889 cat >>confdefs.h
<<_ACEOF
7890 #define HAVE_STRUCT_STAT_ST_GID 1
7896 echo "$as_me:$LINENO: result: $ac_struct_stat_st_gid" >&5
7897 echo "${ECHO_T}$ac_struct_stat_st_gid" >&6
7899 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7900 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7901 if test "${ac_struct_stat_st_rdev+set}" = set; then
7902 echo $ECHO_N "(cached) $ECHO_C" >&6
7904 ac_struct_stat_st_rdev
=no
;
7905 cat >conftest.
$ac_ext <<_ACEOF
7908 cat confdefs.h
>>conftest.
$ac_ext
7909 cat >>conftest.
$ac_ext <<_ACEOF
7910 /* end confdefs.h. */
7911 #ifdef HAVE_SYS_TYPES_H
7912 #include <sys/types.h>
7914 #ifdef HAVE_SYS_STAT_H
7915 #include <sys/stat.h>
7921 static struct stat ac_aggr;
7922 if (ac_aggr.st_rdev)
7928 rm -f conftest.
$ac_objext
7929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7930 (eval $ac_compile) 2>conftest.er1
7932 grep -v '^ *+' conftest.er1
>conftest.err
7934 cat conftest.err
>&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); } &&
7937 { ac_try
='test -z "$ac_c_werror_flag"
7938 || test ! -s conftest.err'
7939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943 (exit $ac_status); }; } &&
7944 { ac_try
='test -s conftest.$ac_objext'
7945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); }; }; then
7950 ac_struct_stat_st_rdev
=yes;
7952 echo "$as_me: failed program was:" >&5
7953 sed 's/^/| /' conftest.
$ac_ext >&5
7955 cat >conftest.
$ac_ext <<_ACEOF
7958 cat confdefs.h
>>conftest.
$ac_ext
7959 cat >>conftest.
$ac_ext <<_ACEOF
7960 /* end confdefs.h. */
7961 #ifdef HAVE_SYS_TYPES_H
7962 #include <sys/types.h>
7964 #ifdef HAVE_SYS_STAT_H
7965 #include <sys/stat.h>
7971 static struct stat ac_aggr;
7972 if (sizeof ac_aggr.st_rdev)
7978 rm -f conftest.
$ac_objext
7979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7980 (eval $ac_compile) 2>conftest.er1
7982 grep -v '^ *+' conftest.er1
>conftest.err
7984 cat conftest.err
>&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); } &&
7987 { ac_try
='test -z "$ac_c_werror_flag"
7988 || test ! -s conftest.err'
7989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7993 (exit $ac_status); }; } &&
7994 { ac_try
='test -s conftest.$ac_objext'
7995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999 (exit $ac_status); }; }; then
8000 ac_struct_stat_st_rdev
=yes;
8002 echo "$as_me: failed program was:" >&5
8003 sed 's/^/| /' conftest.
$ac_ext >&5
8005 ac_struct_stat_st_rdev
=no
;
8007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8010 if test $ac_struct_stat_st_rdev = yes; then :;
8011 cat >>confdefs.h
<<_ACEOF
8012 #define HAVE_STRUCT_STAT_ST_RDEV 1
8018 echo "$as_me:$LINENO: result: $ac_struct_stat_st_rdev" >&5
8019 echo "${ECHO_T}$ac_struct_stat_st_rdev" >&6
8021 echo "$as_me:$LINENO: checking for struct stat.st_size" >&5
8022 echo $ECHO_N "checking for struct stat.st_size... $ECHO_C" >&6
8023 if test "${ac_struct_stat_st_size+set}" = set; then
8024 echo $ECHO_N "(cached) $ECHO_C" >&6
8026 ac_struct_stat_st_size
=no
;
8027 cat >conftest.
$ac_ext <<_ACEOF
8030 cat confdefs.h
>>conftest.
$ac_ext
8031 cat >>conftest.
$ac_ext <<_ACEOF
8032 /* end confdefs.h. */
8033 #ifdef HAVE_SYS_TYPES_H
8034 #include <sys/types.h>
8036 #ifdef HAVE_SYS_STAT_H
8037 #include <sys/stat.h>
8043 static struct stat ac_aggr;
8044 if (ac_aggr.st_size)
8050 rm -f conftest.
$ac_objext
8051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8052 (eval $ac_compile) 2>conftest.er1
8054 grep -v '^ *+' conftest.er1
>conftest.err
8056 cat conftest.err
>&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); } &&
8059 { ac_try
='test -z "$ac_c_werror_flag"
8060 || test ! -s conftest.err'
8061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); }; } &&
8066 { ac_try
='test -s conftest.$ac_objext'
8067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); }; }; then
8072 ac_struct_stat_st_size
=yes;
8074 echo "$as_me: failed program was:" >&5
8075 sed 's/^/| /' conftest.
$ac_ext >&5
8077 cat >conftest.
$ac_ext <<_ACEOF
8080 cat confdefs.h
>>conftest.
$ac_ext
8081 cat >>conftest.
$ac_ext <<_ACEOF
8082 /* end confdefs.h. */
8083 #ifdef HAVE_SYS_TYPES_H
8084 #include <sys/types.h>
8086 #ifdef HAVE_SYS_STAT_H
8087 #include <sys/stat.h>
8093 static struct stat ac_aggr;
8094 if (sizeof ac_aggr.st_size)
8100 rm -f conftest.
$ac_objext
8101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8102 (eval $ac_compile) 2>conftest.er1
8104 grep -v '^ *+' conftest.er1
>conftest.err
8106 cat conftest.err
>&5
8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 (exit $ac_status); } &&
8109 { ac_try
='test -z "$ac_c_werror_flag"
8110 || test ! -s conftest.err'
8111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); }; } &&
8116 { ac_try
='test -s conftest.$ac_objext'
8117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 (exit $ac_status); }; }; then
8122 ac_struct_stat_st_size
=yes;
8124 echo "$as_me: failed program was:" >&5
8125 sed 's/^/| /' conftest.
$ac_ext >&5
8127 ac_struct_stat_st_size
=no
;
8129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8132 if test $ac_struct_stat_st_size = yes; then :;
8133 cat >>confdefs.h
<<_ACEOF
8134 #define HAVE_STRUCT_STAT_ST_SIZE 1
8140 echo "$as_me:$LINENO: result: $ac_struct_stat_st_size" >&5
8141 echo "${ECHO_T}$ac_struct_stat_st_size" >&6
8143 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
8144 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
8145 if test "${ac_struct_stat_st_blksize+set}" = set; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 ac_struct_stat_st_blksize
=no
;
8149 cat >conftest.
$ac_ext <<_ACEOF
8152 cat confdefs.h
>>conftest.
$ac_ext
8153 cat >>conftest.
$ac_ext <<_ACEOF
8154 /* end confdefs.h. */
8155 #ifdef HAVE_SYS_TYPES_H
8156 #include <sys/types.h>
8158 #ifdef HAVE_SYS_STAT_H
8159 #include <sys/stat.h>
8165 static struct stat ac_aggr;
8166 if (ac_aggr.st_blksize)
8172 rm -f conftest.
$ac_objext
8173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8174 (eval $ac_compile) 2>conftest.er1
8176 grep -v '^ *+' conftest.er1
>conftest.err
8178 cat conftest.err
>&5
8179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180 (exit $ac_status); } &&
8181 { ac_try
='test -z "$ac_c_werror_flag"
8182 || test ! -s conftest.err'
8183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); }; } &&
8188 { ac_try
='test -s conftest.$ac_objext'
8189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); }; }; then
8194 ac_struct_stat_st_blksize
=yes;
8196 echo "$as_me: failed program was:" >&5
8197 sed 's/^/| /' conftest.
$ac_ext >&5
8199 cat >conftest.
$ac_ext <<_ACEOF
8202 cat confdefs.h
>>conftest.
$ac_ext
8203 cat >>conftest.
$ac_ext <<_ACEOF
8204 /* end confdefs.h. */
8205 #ifdef HAVE_SYS_TYPES_H
8206 #include <sys/types.h>
8208 #ifdef HAVE_SYS_STAT_H
8209 #include <sys/stat.h>
8215 static struct stat ac_aggr;
8216 if (sizeof ac_aggr.st_blksize)
8222 rm -f conftest.
$ac_objext
8223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8224 (eval $ac_compile) 2>conftest.er1
8226 grep -v '^ *+' conftest.er1
>conftest.err
8228 cat conftest.err
>&5
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); } &&
8231 { ac_try
='test -z "$ac_c_werror_flag"
8232 || test ! -s conftest.err'
8233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); }; } &&
8238 { ac_try
='test -s conftest.$ac_objext'
8239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); }; }; then
8244 ac_struct_stat_st_blksize
=yes;
8246 echo "$as_me: failed program was:" >&5
8247 sed 's/^/| /' conftest.
$ac_ext >&5
8249 ac_struct_stat_st_blksize
=no
;
8251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8254 if test $ac_struct_stat_st_blksize = yes; then :;
8255 cat >>confdefs.h
<<_ACEOF
8256 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8262 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blksize" >&5
8263 echo "${ECHO_T}$ac_struct_stat_st_blksize" >&6
8265 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
8266 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
8267 if test "${ac_struct_stat_st_blocks+set}" = set; then
8268 echo $ECHO_N "(cached) $ECHO_C" >&6
8270 ac_struct_stat_st_blocks
=no
;
8271 cat >conftest.
$ac_ext <<_ACEOF
8274 cat confdefs.h
>>conftest.
$ac_ext
8275 cat >>conftest.
$ac_ext <<_ACEOF
8276 /* end confdefs.h. */
8277 #ifdef HAVE_SYS_TYPES_H
8278 #include <sys/types.h>
8280 #ifdef HAVE_SYS_STAT_H
8281 #include <sys/stat.h>
8287 static struct stat ac_aggr;
8288 if (ac_aggr.st_blocks)
8294 rm -f conftest.
$ac_objext
8295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8296 (eval $ac_compile) 2>conftest.er1
8298 grep -v '^ *+' conftest.er1
>conftest.err
8300 cat conftest.err
>&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); } &&
8303 { ac_try
='test -z "$ac_c_werror_flag"
8304 || test ! -s conftest.err'
8305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309 (exit $ac_status); }; } &&
8310 { ac_try
='test -s conftest.$ac_objext'
8311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); }; }; then
8316 ac_struct_stat_st_blocks
=yes;
8318 echo "$as_me: failed program was:" >&5
8319 sed 's/^/| /' conftest.
$ac_ext >&5
8321 cat >conftest.
$ac_ext <<_ACEOF
8324 cat confdefs.h
>>conftest.
$ac_ext
8325 cat >>conftest.
$ac_ext <<_ACEOF
8326 /* end confdefs.h. */
8327 #ifdef HAVE_SYS_TYPES_H
8328 #include <sys/types.h>
8330 #ifdef HAVE_SYS_STAT_H
8331 #include <sys/stat.h>
8337 static struct stat ac_aggr;
8338 if (sizeof ac_aggr.st_blocks)
8344 rm -f conftest.
$ac_objext
8345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8346 (eval $ac_compile) 2>conftest.er1
8348 grep -v '^ *+' conftest.er1
>conftest.err
8350 cat conftest.err
>&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); } &&
8353 { ac_try
='test -z "$ac_c_werror_flag"
8354 || test ! -s conftest.err'
8355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); }; } &&
8360 { ac_try
='test -s conftest.$ac_objext'
8361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); }; }; then
8366 ac_struct_stat_st_blocks
=yes;
8368 echo "$as_me: failed program was:" >&5
8369 sed 's/^/| /' conftest.
$ac_ext >&5
8371 ac_struct_stat_st_blocks
=no
;
8373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8376 if test $ac_struct_stat_st_blocks = yes; then :;
8377 cat >>confdefs.h
<<_ACEOF
8378 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8384 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blocks" >&5
8385 echo "${ECHO_T}$ac_struct_stat_st_blocks" >&6
8387 echo "$as_me:$LINENO: checking for struct stat.st_atime" >&5
8388 echo $ECHO_N "checking for struct stat.st_atime... $ECHO_C" >&6
8389 if test "${ac_struct_stat_st_atime+set}" = set; then
8390 echo $ECHO_N "(cached) $ECHO_C" >&6
8392 ac_struct_stat_st_atime
=no
;
8393 cat >conftest.
$ac_ext <<_ACEOF
8396 cat confdefs.h
>>conftest.
$ac_ext
8397 cat >>conftest.
$ac_ext <<_ACEOF
8398 /* end confdefs.h. */
8399 #ifdef HAVE_SYS_TYPES_H
8400 #include <sys/types.h>
8402 #ifdef HAVE_SYS_STAT_H
8403 #include <sys/stat.h>
8409 static struct stat ac_aggr;
8410 if (ac_aggr.st_atime)
8416 rm -f conftest.
$ac_objext
8417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8418 (eval $ac_compile) 2>conftest.er1
8420 grep -v '^ *+' conftest.er1
>conftest.err
8422 cat conftest.err
>&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); } &&
8425 { ac_try
='test -z "$ac_c_werror_flag"
8426 || test ! -s conftest.err'
8427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); }; } &&
8432 { ac_try
='test -s conftest.$ac_objext'
8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; }; then
8438 ac_struct_stat_st_atime
=yes;
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.
$ac_ext >&5
8443 cat >conftest.
$ac_ext <<_ACEOF
8446 cat confdefs.h
>>conftest.
$ac_ext
8447 cat >>conftest.
$ac_ext <<_ACEOF
8448 /* end confdefs.h. */
8449 #ifdef HAVE_SYS_TYPES_H
8450 #include <sys/types.h>
8452 #ifdef HAVE_SYS_STAT_H
8453 #include <sys/stat.h>
8459 static struct stat ac_aggr;
8460 if (sizeof ac_aggr.st_atime)
8466 rm -f conftest.
$ac_objext
8467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8468 (eval $ac_compile) 2>conftest.er1
8470 grep -v '^ *+' conftest.er1
>conftest.err
8472 cat conftest.err
>&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 (exit $ac_status); } &&
8475 { ac_try
='test -z "$ac_c_werror_flag"
8476 || test ! -s conftest.err'
8477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 (exit $ac_status); }; } &&
8482 { ac_try
='test -s conftest.$ac_objext'
8483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); }; }; then
8488 ac_struct_stat_st_atime
=yes;
8490 echo "$as_me: failed program was:" >&5
8491 sed 's/^/| /' conftest.
$ac_ext >&5
8493 ac_struct_stat_st_atime
=no
;
8495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8498 if test $ac_struct_stat_st_atime = yes; then :;
8499 cat >>confdefs.h
<<_ACEOF
8500 #define HAVE_STRUCT_STAT_ST_ATIME 1
8506 echo "$as_me:$LINENO: result: $ac_struct_stat_st_atime" >&5
8507 echo "${ECHO_T}$ac_struct_stat_st_atime" >&6
8509 echo "$as_me:$LINENO: checking for struct stat.st_mtime" >&5
8510 echo $ECHO_N "checking for struct stat.st_mtime... $ECHO_C" >&6
8511 if test "${ac_struct_stat_st_mtime+set}" = set; then
8512 echo $ECHO_N "(cached) $ECHO_C" >&6
8514 ac_struct_stat_st_mtime
=no
;
8515 cat >conftest.
$ac_ext <<_ACEOF
8518 cat confdefs.h
>>conftest.
$ac_ext
8519 cat >>conftest.
$ac_ext <<_ACEOF
8520 /* end confdefs.h. */
8521 #ifdef HAVE_SYS_TYPES_H
8522 #include <sys/types.h>
8524 #ifdef HAVE_SYS_STAT_H
8525 #include <sys/stat.h>
8531 static struct stat ac_aggr;
8532 if (ac_aggr.st_mtime)
8538 rm -f conftest.
$ac_objext
8539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8540 (eval $ac_compile) 2>conftest.er1
8542 grep -v '^ *+' conftest.er1
>conftest.err
8544 cat conftest.err
>&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); } &&
8547 { ac_try
='test -z "$ac_c_werror_flag"
8548 || test ! -s conftest.err'
8549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); }; } &&
8554 { ac_try
='test -s conftest.$ac_objext'
8555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; }; then
8560 ac_struct_stat_st_mtime
=yes;
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.
$ac_ext >&5
8565 cat >conftest.
$ac_ext <<_ACEOF
8568 cat confdefs.h
>>conftest.
$ac_ext
8569 cat >>conftest.
$ac_ext <<_ACEOF
8570 /* end confdefs.h. */
8571 #ifdef HAVE_SYS_TYPES_H
8572 #include <sys/types.h>
8574 #ifdef HAVE_SYS_STAT_H
8575 #include <sys/stat.h>
8581 static struct stat ac_aggr;
8582 if (sizeof ac_aggr.st_mtime)
8588 rm -f conftest.
$ac_objext
8589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8590 (eval $ac_compile) 2>conftest.er1
8592 grep -v '^ *+' conftest.er1
>conftest.err
8594 cat conftest.err
>&5
8595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 (exit $ac_status); } &&
8597 { ac_try
='test -z "$ac_c_werror_flag"
8598 || test ! -s conftest.err'
8599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); }; } &&
8604 { ac_try
='test -s conftest.$ac_objext'
8605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); }; }; then
8610 ac_struct_stat_st_mtime
=yes;
8612 echo "$as_me: failed program was:" >&5
8613 sed 's/^/| /' conftest.
$ac_ext >&5
8615 ac_struct_stat_st_mtime
=no
;
8617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8620 if test $ac_struct_stat_st_mtime = yes; then :;
8621 cat >>confdefs.h
<<_ACEOF
8622 #define HAVE_STRUCT_STAT_ST_MTIME 1
8628 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mtime" >&5
8629 echo "${ECHO_T}$ac_struct_stat_st_mtime" >&6
8631 echo "$as_me:$LINENO: checking for struct stat.st_ctime" >&5
8632 echo $ECHO_N "checking for struct stat.st_ctime... $ECHO_C" >&6
8633 if test "${ac_struct_stat_st_ctime+set}" = set; then
8634 echo $ECHO_N "(cached) $ECHO_C" >&6
8636 ac_struct_stat_st_ctime
=no
;
8637 cat >conftest.
$ac_ext <<_ACEOF
8640 cat confdefs.h
>>conftest.
$ac_ext
8641 cat >>conftest.
$ac_ext <<_ACEOF
8642 /* end confdefs.h. */
8643 #ifdef HAVE_SYS_TYPES_H
8644 #include <sys/types.h>
8646 #ifdef HAVE_SYS_STAT_H
8647 #include <sys/stat.h>
8653 static struct stat ac_aggr;
8654 if (ac_aggr.st_ctime)
8660 rm -f conftest.
$ac_objext
8661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8662 (eval $ac_compile) 2>conftest.er1
8664 grep -v '^ *+' conftest.er1
>conftest.err
8666 cat conftest.err
>&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } &&
8669 { ac_try
='test -z "$ac_c_werror_flag"
8670 || test ! -s conftest.err'
8671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); }; } &&
8676 { ac_try
='test -s conftest.$ac_objext'
8677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); }; }; then
8682 ac_struct_stat_st_ctime
=yes;
8684 echo "$as_me: failed program was:" >&5
8685 sed 's/^/| /' conftest.
$ac_ext >&5
8687 cat >conftest.
$ac_ext <<_ACEOF
8690 cat confdefs.h
>>conftest.
$ac_ext
8691 cat >>conftest.
$ac_ext <<_ACEOF
8692 /* end confdefs.h. */
8693 #ifdef HAVE_SYS_TYPES_H
8694 #include <sys/types.h>
8696 #ifdef HAVE_SYS_STAT_H
8697 #include <sys/stat.h>
8703 static struct stat ac_aggr;
8704 if (sizeof ac_aggr.st_ctime)
8710 rm -f conftest.
$ac_objext
8711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8712 (eval $ac_compile) 2>conftest.er1
8714 grep -v '^ *+' conftest.er1
>conftest.err
8716 cat conftest.err
>&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } &&
8719 { ac_try
='test -z "$ac_c_werror_flag"
8720 || test ! -s conftest.err'
8721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); }; } &&
8726 { ac_try
='test -s conftest.$ac_objext'
8727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 (exit $ac_status); }; }; then
8732 ac_struct_stat_st_ctime
=yes;
8734 echo "$as_me: failed program was:" >&5
8735 sed 's/^/| /' conftest.
$ac_ext >&5
8737 ac_struct_stat_st_ctime
=no
;
8739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8742 if test $ac_struct_stat_st_ctime = yes; then :;
8743 cat >>confdefs.h
<<_ACEOF
8744 #define HAVE_STRUCT_STAT_ST_CTIME 1
8750 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ctime" >&5
8751 echo "${ECHO_T}$ac_struct_stat_st_ctime" >&6
8753 ac_config_files
="$ac_config_files Makefile"
8754 ac_config_commands
="$ac_config_commands default"
8755 cat >confcache
<<\_ACEOF
8756 # This file is a shell script that caches the results of configure
8757 # tests run on this system so they can be shared between configure
8758 # scripts and configure runs, see configure's option --config-cache.
8759 # It is not useful on other systems. If it contains results you don't
8760 # want to keep, you may remove or edit it.
8762 # config.status only pays attention to the cache file if you give it
8763 # the --recheck option to rerun configure.
8765 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8766 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8771 # The following way of writing the cache mishandles newlines in values,
8772 # but we know of no workaround that is simple, portable, and efficient.
8773 # So, don't put newlines in cache variables' values.
8774 # Ultrix sh set writes to stderr and can't be redirected directly,
8775 # and sets the high bit in the cache file unless we assign to the vars.
8778 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8780 # `set' does not quote correctly, so add quotes (double-quote
8781 # substitution turns \\\\ into \\, and sed turns \\ into \).
8784 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8787 # `set' quotes correctly as required by POSIX, so do not add quotes.
8789 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8796 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8798 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8800 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8801 if test -w $cache_file; then
8802 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8803 cat confcache
>$cache_file
8805 echo "not updating unwritable cache $cache_file"
8810 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8811 # Let make expand exec_prefix.
8812 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8814 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8815 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8816 # trailing colons and then remove the whole line if VPATH becomes empty
8817 # (actually we leave an empty line to preserve line numbers).
8818 if test "x$srcdir" = x.
; then
8819 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8820 s/:*\$(srcdir):*/:/;
8821 s/:*\${srcdir}:*/:/;
8823 s/^\([^=]*=[ ]*\):*/\1/;
8829 DEFS
=-DHAVE_CONFIG_H
8833 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8834 # 1. Remove the extension, and $U if already installed.
8835 ac_i
=`echo "$ac_i" |
8836 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8838 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8839 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8843 LTLIBOBJS
=$ac_ltlibobjs
8847 : ${CONFIG_STATUS=./config.status}
8848 ac_clean_files_save
=$ac_clean_files
8849 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8850 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8851 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8852 cat >$CONFIG_STATUS <<_ACEOF
8854 # Generated by $as_me.
8855 # Run this file to recreate the current configuration.
8856 # Compiler output produced by configure, useful for debugging
8857 # configure, is in config.log if it exists.
8862 SHELL=\${CONFIG_SHELL-$SHELL}
8865 cat >>$CONFIG_STATUS <<\_ACEOF
8866 ## --------------------- ##
8867 ## M4sh Initialization. ##
8868 ## --------------------- ##
8870 # Be Bourne compatible
8871 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8874 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8875 # is contrary to our usage. Disable this feature.
8876 alias -g '${1+"$@"}'='"$@"'
8877 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8880 DUALCASE
=1; export DUALCASE
# for MKS sh
8882 # Support unset when possible.
8883 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8890 # Work around bugs in pre-3.0 UWIN ksh.
8891 $as_unset ENV MAIL MAILPATH
8898 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8899 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8900 LC_TELEPHONE LC_TIME
8902 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8903 eval $as_var=C
; export $as_var
8909 # Required to use basename.
8910 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8916 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8917 as_basename
=basename
8923 # Name of the executable.
8924 as_me
=`$as_basename "$0" ||
8925 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8926 X"$0" : 'X\(//\)$' \| \
8927 X"$0" : 'X\(/\)$' \| \
8928 . : '\(.\)' 2>/dev/null ||
8930 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8931 /^X\/\(\/\/\)$/{ s//\1/; q; }
8932 /^X\/\(\/\).*/{ s//\1/; q; }
8936 # PATH needs CR, and LINENO needs CR and PATH.
8937 # Avoid depending upon Character Ranges.
8938 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8939 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8940 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8941 as_cr_digits
='0123456789'
8942 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8944 # The user is always right.
8945 if test "${PATH_SEPARATOR+set}" != set; then
8946 echo "#! /bin/sh" >conf$$.sh
8947 echo "exit 0" >>conf$$.sh
8949 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8960 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8961 test "x$as_lineno_1" != "x$as_lineno_2" &&
8962 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8963 # Find who we are. Look in the path if we contain no path at all
8966 *[\\/]* ) as_myself
=$0 ;;
8967 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8971 test -z "$as_dir" && as_dir
=.
8972 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8977 # We did not find ourselves, most probably we were run as `sh COMMAND'
8978 # in which case we are not to be found in the path.
8979 if test "x$as_myself" = x
; then
8982 if test ! -f "$as_myself"; then
8983 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8984 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8985 { (exit 1); exit 1; }; }
8987 case $CONFIG_SHELL in
8989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8990 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8993 test -z "$as_dir" && as_dir
=.
8994 for as_base
in sh bash ksh sh5
; do
8997 if ("$as_dir/$as_base" -c '
9000 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9001 test "x$as_lineno_1" != "x$as_lineno_2" &&
9002 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9003 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
9004 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9005 CONFIG_SHELL
=$as_dir/$as_base
9007 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9015 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9016 # uniformly replaced by the line number. The first 'sed' inserts a
9017 # line-number line before each line; the second 'sed' does the real
9018 # work. The second script uses 'N' to pair each line-number line
9019 # with the numbered line, and appends trailing '-' during
9020 # substitution so that $LINENO is not a special case at line end.
9021 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9022 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9023 sed '=' <$as_myself |
9028 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9031 s,^['$as_cr_digits']*\n,,
9033 chmod +x
$as_me.lineno ||
9034 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9035 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9036 { (exit 1); exit 1; }; }
9038 # Don't try to exec as it changes $[0], causing all sort of problems
9039 # (the dirname of $[0] is not the place where we might find the
9040 # original and so on. Autoconf is especially sensible to this).
9042 # Exit status is that of the last command.
9047 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9048 *c
*,-n*) ECHO_N
= ECHO_C
='
9050 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9051 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9054 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9060 rm -f conf$$ conf$$.exe conf$$.
file
9062 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9063 # We could just check for DJGPP; but this test a) works b) is more generic
9064 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9065 if test -f conf$$.exe
; then
9066 # Don't use ln at all; we don't have any links
9071 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9076 rm -f conf$$ conf$$.exe conf$$.
file
9078 if mkdir
-p .
2>/dev
/null
; then
9081 test -d .
/-p && rmdir .
/-p
9085 as_executable_p
="test -f"
9087 # Sed expression to map a string onto a valid CPP name.
9088 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9090 # Sed expression to map a string onto a valid variable name.
9091 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9095 # We need space, tab and new line, in precisely that order.
9105 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9106 # report actual input values of CONFIG_FILES etc. instead of their
9107 # values after options handling. Logging --version etc. is OK.
9111 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9112 ## Running $as_me. ##
9117 This file was extended by $as_me, which was
9118 generated by GNU Autoconf 2.59. Invocation command line was
9120 CONFIG_FILES = $CONFIG_FILES
9121 CONFIG_HEADERS = $CONFIG_HEADERS
9122 CONFIG_LINKS = $CONFIG_LINKS
9123 CONFIG_COMMANDS = $CONFIG_COMMANDS
9127 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9131 # Files that config.status was made for.
9132 if test -n "$ac_config_files"; then
9133 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9136 if test -n "$ac_config_headers"; then
9137 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9140 if test -n "$ac_config_links"; then
9141 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9144 if test -n "$ac_config_commands"; then
9145 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9148 cat >>$CONFIG_STATUS <<\_ACEOF
9151 \`$as_me' instantiates files from templates according to the
9152 current configuration.
9154 Usage: $0 [OPTIONS] [FILE]...
9156 -h, --help print this help, then exit
9157 -V, --version print version number, then exit
9158 -q, --quiet do not print progress messages
9159 -d, --debug don't remove temporary files
9160 --recheck update $as_me by reconfiguring in the same conditions
9161 --file=FILE[:TEMPLATE]
9162 instantiate the configuration file FILE
9163 --header=FILE[:TEMPLATE]
9164 instantiate the configuration header FILE
9166 Configuration files:
9169 Configuration headers:
9172 Configuration commands:
9175 Report bugs to <bug-autoconf@gnu.org>."
9178 cat >>$CONFIG_STATUS <<_ACEOF
9181 configured by $0, generated by GNU Autoconf 2.59,
9182 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9184 Copyright (C) 2003 Free Software Foundation, Inc.
9185 This config.status script is free software; the Free Software Foundation
9186 gives unlimited permission to copy, distribute and modify it."
9191 cat >>$CONFIG_STATUS <<\_ACEOF
9192 # If no file are specified by the user, then we need to provide default
9193 # value. By we need to know if files were specified by the user.
9199 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9200 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9208 *) # This is not an option, so the user has probably given explicit
9211 ac_need_defaults
=false
;;
9215 # Handling of the options.
9217 cat >>$CONFIG_STATUS <<\_ACEOF
9218 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9220 --version |
--vers* |
-V )
9221 echo "$ac_cs_version"; exit 0 ;;
9223 # Conflict between --help and --header
9224 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9225 Try \`$0 --help' for more information." >&5
9226 echo "$as_me: error: ambiguous option: $1
9227 Try \`$0 --help' for more information." >&2;}
9228 { (exit 1); exit 1; }; };;
9229 --help |
--hel |
-h )
9230 echo "$ac_cs_usage"; exit 0 ;;
9231 --debug |
--d* |
-d )
9233 --file |
--fil |
--fi |
--f )
9235 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9236 ac_need_defaults
=false
;;
9237 --header |
--heade |
--head |
--hea )
9239 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9240 ac_need_defaults
=false
;;
9241 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9242 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9246 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9247 Try \`$0 --help' for more information." >&5
9248 echo "$as_me: error: unrecognized option: $1
9249 Try \`$0 --help' for more information." >&2;}
9250 { (exit 1); exit 1; }; } ;;
9252 *) ac_config_targets
="$ac_config_targets $1" ;;
9258 ac_configure_extra_args
=
9260 if $ac_cs_silent; then
9262 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9266 cat >>$CONFIG_STATUS <<_ACEOF
9267 if \$ac_cs_recheck; then
9268 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9269 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9278 cat >>$CONFIG_STATUS <<\_ACEOF
9279 for ac_config_target
in $ac_config_targets
9281 case "$ac_config_target" in
9282 # Handling of arguments.
9283 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9284 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9285 "cconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS cconfig.h:config.in" ;;
9286 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9287 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9288 { (exit 1); exit 1; }; };;
9292 # If the user did not use the arguments to specify the items to instantiate,
9293 # then the envvar interface is used. Set only those that are not.
9294 # We use the long form for the default assignment because of an extremely
9295 # bizarre bug on SunOS 4.1.3.
9296 if $ac_need_defaults; then
9297 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9298 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9299 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9302 # Have a temporary directory for convenience. Make it in the build tree
9303 # simply because there is no reason to put it here, and in addition,
9304 # creating and moving files from /tmp can sometimes cause problems.
9305 # Create a temporary directory, and hook for its removal unless debugging.
9308 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9309 trap '{ (exit 1); exit 1; }' 1 2 13 15
9312 # Create a (secure) tmp directory for tmp files.
9315 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9316 test -n "$tmp" && test -d "$tmp"
9319 tmp
=.
/confstat$$
-$RANDOM
9320 (umask 077 && mkdir
$tmp)
9323 echo "$me: cannot create a temporary directory in ." >&2
9324 { (exit 1); exit 1; }
9329 cat >>$CONFIG_STATUS <<_ACEOF
9332 # CONFIG_FILES section.
9335 # No need to generate the scripts if there are no CONFIG_FILES.
9336 # This happens for instance when ./config.status config.h
9337 if test -n "\$CONFIG_FILES"; then
9338 # Protect against being on the right side of a sed subst in config.status.
9339 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9340 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9341 s,@sim_environment@,$sim_environment,;t t
9342 s,@sim_alignment@,$sim_alignment,;t t
9343 s,@sim_assert@,$sim_assert,;t t
9344 s,@sim_bitsize@,$sim_bitsize,;t t
9345 s,@sim_endian@,$sim_endian,;t t
9346 s,@sim_hostendian@,$sim_hostendian,;t t
9347 s,@sim_float@,$sim_float,;t t
9348 s,@sim_scache@,$sim_scache,;t t
9349 s,@sim_default_model@,$sim_default_model,;t t
9350 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
9351 s,@sim_hw_objs@,$sim_hw_objs,;t t
9352 s,@sim_hw@,$sim_hw,;t t
9353 s,@sim_inline@,$sim_inline,;t t
9354 s,@sim_packages@,$sim_packages,;t t
9355 s,@sim_regparm@,$sim_regparm,;t t
9356 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
9357 s,@sim_smp@,$sim_smp,;t t
9358 s,@sim_stdcall@,$sim_stdcall,;t t
9359 s,@sim_xor_endian@,$sim_xor_endian,;t t
9360 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9361 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
9362 s,@SHELL@,$SHELL,;t t
9363 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9364 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9365 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9366 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9367 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9368 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9369 s,@exec_prefix@,$exec_prefix,;t t
9370 s,@prefix@,$prefix,;t t
9371 s,@program_transform_name@,$program_transform_name,;t t
9372 s,@bindir@,$bindir,;t t
9373 s,@sbindir@,$sbindir,;t t
9374 s,@libexecdir@,$libexecdir,;t t
9375 s,@datadir@,$datadir,;t t
9376 s,@sysconfdir@,$sysconfdir,;t t
9377 s,@sharedstatedir@,$sharedstatedir,;t t
9378 s,@localstatedir@,$localstatedir,;t t
9379 s,@libdir@,$libdir,;t t
9380 s,@includedir@,$includedir,;t t
9381 s,@oldincludedir@,$oldincludedir,;t t
9382 s,@infodir@,$infodir,;t t
9383 s,@mandir@,$mandir,;t t
9384 s,@build_alias@,$build_alias,;t t
9385 s,@host_alias@,$host_alias,;t t
9386 s,@target_alias@,$target_alias,;t t
9388 s,@ECHO_C@,$ECHO_C,;t t
9389 s,@ECHO_N@,$ECHO_N,;t t
9390 s,@ECHO_T@,$ECHO_T,;t t
9392 s,@build@,$build,;t t
9393 s,@build_cpu@,$build_cpu,;t t
9394 s,@build_vendor@,$build_vendor,;t t
9395 s,@build_os@,$build_os,;t t
9397 s,@host_cpu@,$host_cpu,;t t
9398 s,@host_vendor@,$host_vendor,;t t
9399 s,@host_os@,$host_os,;t t
9400 s,@target@,$target,;t t
9401 s,@target_cpu@,$target_cpu,;t t
9402 s,@target_vendor@,$target_vendor,;t t
9403 s,@target_os@,$target_os,;t t
9405 s,@CFLAGS@,$CFLAGS,;t t
9406 s,@LDFLAGS@,$LDFLAGS,;t t
9407 s,@CPPFLAGS@,$CPPFLAGS,;t t
9408 s,@ac_ct_CC@,$ac_ct_CC,;t t
9409 s,@EXEEXT@,$EXEEXT,;t t
9410 s,@OBJEXT@,$OBJEXT,;t t
9411 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9412 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9413 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9414 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
9415 s,@HDEFINES@,$HDEFINES,;t t
9417 s,@RANLIB@,$RANLIB,;t t
9418 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9419 s,@SET_MAKE@,$SET_MAKE,;t t
9421 s,@EGREP@,$EGREP,;t t
9422 s,@ALLOCA@,$ALLOCA,;t t
9423 s,@USE_NLS@,$USE_NLS,;t t
9424 s,@MSGFMT@,$MSGFMT,;t t
9425 s,@GMSGFMT@,$GMSGFMT,;t t
9426 s,@XGETTEXT@,$XGETTEXT,;t t
9427 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9428 s,@CATALOGS@,$CATALOGS,;t t
9429 s,@CATOBJEXT@,$CATOBJEXT,;t t
9430 s,@DATADIRNAME@,$DATADIRNAME,;t t
9431 s,@GMOFILES@,$GMOFILES,;t t
9432 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9433 s,@INTLDEPS@,$INTLDEPS,;t t
9434 s,@INTLLIBS@,$INTLLIBS,;t t
9435 s,@INTLOBJS@,$INTLOBJS,;t t
9436 s,@POFILES@,$POFILES,;t t
9437 s,@POSUB@,$POSUB,;t t
9438 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
9439 s,@GT_NO@,$GT_NO,;t t
9440 s,@GT_YES@,$GT_YES,;t t
9441 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9443 s,@MAINT@,$MAINT,;t t
9444 s,@sim_bswap@,$sim_bswap,;t t
9445 s,@sim_cflags@,$sim_cflags,;t t
9446 s,@sim_debug@,$sim_debug,;t t
9447 s,@sim_stdio@,$sim_stdio,;t t
9448 s,@sim_trace@,$sim_trace,;t t
9449 s,@sim_profile@,$sim_profile,;t t
9450 s,@CPP_FOR_TARGET@,$CPP_FOR_TARGET,;t t
9451 s,@TARGET_SUBDIR@,$TARGET_SUBDIR,;t t
9452 s,@LIBOBJS@,$LIBOBJS,;t t
9453 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9458 cat >>$CONFIG_STATUS <<\_ACEOF
9459 # Split the substitutions into bite-sized pieces for seds with
9460 # small command number limits, like on Digital OSF/1 and HP-UX.
9462 ac_sed_frag
=1 # Number of current file.
9463 ac_beg
=1 # First line for current file.
9464 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9467 while $ac_more_lines; do
9468 if test $ac_beg -gt 1; then
9469 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9471 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9473 if test ! -s $tmp/subs.frag
; then
9476 # The purpose of the label and of the branching condition is to
9477 # speed up the sed processing (if there are no `@' at all, there
9478 # is no need to browse any of the substitutions).
9479 # These are the two extra sed commands mentioned above.
9481 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9482 if test -z "$ac_sed_cmds"; then
9483 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9485 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9487 ac_sed_frag
=`expr $ac_sed_frag + 1`
9489 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9492 if test -z "$ac_sed_cmds"; then
9495 fi # test -n "$CONFIG_FILES"
9498 cat >>$CONFIG_STATUS <<\_ACEOF
9499 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9500 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9502 - |
*:- |
*:-:* ) # input from stdin
9504 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9505 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9506 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9507 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9508 * ) ac_file_in
=$ac_file.
in ;;
9511 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9512 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9514 X"$ac_file" : 'X\(//\)[^/]' \| \
9515 X"$ac_file" : 'X\(//\)$' \| \
9516 X"$ac_file" : 'X\(/\)' \| \
9517 . : '\(.\)' 2>/dev/null ||
9519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9520 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9521 /^X\(\/\/\)$/{ s//\1/; q; }
9522 /^X\(\/\).*/{ s//\1/; q; }
9524 { if $as_mkdir_p; then
9529 while test ! -d "$as_dir"; do
9530 as_dirs
="$as_dir $as_dirs"
9531 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9532 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9533 X"$as_dir" : 'X\(//\)[^/]' \| \
9534 X"$as_dir" : 'X\(//\)$' \| \
9535 X"$as_dir" : 'X\(/\)' \| \
9536 . : '\(.\)' 2>/dev/null ||
9538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9539 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9540 /^X\(\/\/\)$/{ s//\1/; q; }
9541 /^X\(\/\).*/{ s//\1/; q; }
9544 test ! -n "$as_dirs" || mkdir
$as_dirs
9545 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9546 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9547 { (exit 1); exit 1; }; }; }
9551 if test "$ac_dir" != .
; then
9552 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9553 # A "../" for each directory in $ac_dir_suffix.
9554 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9556 ac_dir_suffix
= ac_top_builddir
=
9560 .
) # No --srcdir option. We are building in place.
9562 if test -z "$ac_top_builddir"; then
9565 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9567 [\\/]* | ?
:[\\/]* ) # Absolute path.
9568 ac_srcdir
=$srcdir$ac_dir_suffix;
9569 ac_top_srcdir
=$srcdir ;;
9571 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9572 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9575 # Do not use `cd foo && pwd` to compute absolute paths, because
9576 # the directories may not exist.
9578 .
) ac_abs_builddir
="$ac_dir";;
9581 .
) ac_abs_builddir
=`pwd`;;
9582 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9583 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9586 case $ac_abs_builddir in
9587 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9589 case ${ac_top_builddir}.
in
9590 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9591 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9592 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9595 case $ac_abs_builddir in
9596 .
) ac_abs_srcdir
=$ac_srcdir;;
9599 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9600 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9601 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9604 case $ac_abs_builddir in
9605 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9607 case $ac_top_srcdir in
9608 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9609 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9610 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9616 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9617 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9620 if test x
"$ac_file" != x-
; then
9621 { echo "$as_me:$LINENO: creating $ac_file" >&5
9622 echo "$as_me: creating $ac_file" >&6;}
9625 # Let's still pretend it is `configure' which instantiates (i.e., don't
9626 # use $as_me), people would be surprised to read:
9627 # /* config.h. Generated by config.status. */
9628 if test x
"$ac_file" = x-
; then
9631 configure_input
="$ac_file. "
9633 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9634 sed 's,.*/,,'` by configure."
9636 # First look for the input files in the build tree, otherwise in the
9638 ac_file_inputs
=`IFS=:
9639 for f in $ac_file_in; do
9641 -) echo $tmp/stdin ;;
9643 # Absolute (can't be DOS-style, as IFS=:)
9644 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9645 echo "$as_me: error: cannot find input file: $f" >&2;}
9646 { (exit 1); exit 1; }; }
9649 if test -f "$f"; then
9652 elif test -f "$srcdir/$f"; then
9657 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9658 echo "$as_me: error: cannot find input file: $f" >&2;}
9659 { (exit 1); exit 1; }; }
9662 done` ||
{ (exit 1); exit 1; }
9664 cat >>$CONFIG_STATUS <<_ACEOF
9668 cat >>$CONFIG_STATUS <<\_ACEOF
9670 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9671 s
,@configure_input@
,$configure_input,;t t
9672 s
,@srcdir@
,$ac_srcdir,;t t
9673 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9674 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9675 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9676 s
,@builddir@
,$ac_builddir,;t t
9677 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9678 s
,@top_builddir@
,$ac_top_builddir,;t t
9679 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9680 s
,@INSTALL@
,$ac_INSTALL,;t t
9681 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9683 if test x"$ac_file" != x-; then
9684 mv $tmp/out $ac_file
9692 cat >>$CONFIG_STATUS <<\_ACEOF
9695 # CONFIG_HEADER section.
9698 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9699 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9701 # ac_d sets the value in "#define NAME VALUE" lines.
9702 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9703 ac_dB
='[ ].*$,\1#\2'
9706 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9707 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9708 ac_uB
='$,\1#\2define\3'
9712 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9713 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9715 - |
*:- |
*:-:* ) # input from stdin
9717 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9718 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9719 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9720 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9721 * ) ac_file_in
=$ac_file.
in ;;
9724 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9725 echo "$as_me: creating $ac_file" >&6;}
9727 # First look for the input files in the build tree, otherwise in the
9729 ac_file_inputs
=`IFS=:
9730 for f in $ac_file_in; do
9732 -) echo $tmp/stdin ;;
9734 # Absolute (can't be DOS-style, as IFS=:)
9735 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9736 echo "$as_me: error: cannot find input file: $f" >&2;}
9737 { (exit 1); exit 1; }; }
9738 # Do quote $f, to prevent DOS paths from being IFS'd.
9741 if test -f "$f"; then
9744 elif test -f "$srcdir/$f"; then
9749 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9750 echo "$as_me: error: cannot find input file: $f" >&2;}
9751 { (exit 1); exit 1; }; }
9754 done` ||
{ (exit 1); exit 1; }
9755 # Remove the trailing spaces.
9756 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9760 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9761 # `conftest.undefs', that substitutes the proper values into
9762 # config.h.in to produce config.h. The first handles `#define'
9763 # templates, and the second `#undef' templates.
9764 # And first: Protect against being on the right side of a sed subst in
9765 # config.status. Protect against being in an unquoted here document
9767 rm -f conftest.defines conftest.undefs
9768 # Using a here document instead of a string reduces the quoting nightmare.
9769 # Putting comments in sed scripts is not portable.
9771 # `end' is used to avoid that the second main sed command (meant for
9772 # 0-ary CPP macros) applies to n-ary macro definitions.
9773 # See the Autoconf documentation for `clear'.
9774 cat >confdef2sed.
sed <<\_ACEOF
9779 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9781 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9784 # If some macros were called several times there might be several times
9785 # the same #defines, which is useless. Nevertheless, we may not want to
9786 # sort them, since we want the *last* AC-DEFINE to be honored.
9787 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9788 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9789 rm -f confdef2sed.sed
9791 # This sed command replaces #undef with comments. This is necessary, for
9792 # example, in the case of _POSIX_SOURCE, which is predefined and required
9793 # on some systems where configure will not decide to define it.
9794 cat >>conftest.undefs <<\_ACEOF
9795 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9798 # Break up conftest.defines because some shells have a limit on the size
9799 # of here documents, and old seds have small limits too (100 cmds).
9800 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9801 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9802 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9803 echo ' :' >>$CONFIG_STATUS
9805 while grep . conftest.defines >/dev/null
9807 # Write a limited-size here document to $tmp/defines.sed.
9808 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9809 # Speed up: don't consider the non `#define' lines.
9810 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9811 # Work around the forget-to-reset-the-flag bug.
9812 echo 't clr' >>$CONFIG_STATUS
9813 echo ': clr' >>$CONFIG_STATUS
9814 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9816 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9820 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9821 rm -f conftest.defines
9822 mv conftest.
tail conftest.defines
9824 rm -f conftest.defines
9825 echo ' fi # grep' >>$CONFIG_STATUS
9826 echo >>$CONFIG_STATUS
9828 # Break up conftest.undefs because some shells have a limit on the size
9829 # of here documents, and old seds have small limits too (100 cmds).
9830 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9832 while grep . conftest.undefs
>/dev
/null
9834 # Write a limited-size here document to $tmp/undefs.sed.
9835 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9836 # Speed up: don't consider the non
`#undef'
9837 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9838 # Work around the forget-to-reset-the-flag bug.
9839 echo 't clr' >>$CONFIG_STATUS
9840 echo ': clr' >>$CONFIG_STATUS
9841 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9843 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9847 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9848 rm -f conftest.undefs
9849 mv conftest.tail conftest.undefs
9851 rm -f conftest.undefs
9853 cat >>$CONFIG_STATUS <<\_ACEOF
9854 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9855 # use $as_me), people would be surprised to read:
9856 # /* config.h. Generated by config.status. */
9857 if test x
"$ac_file" = x-
; then
9858 echo "/* Generated by configure. */" >$tmp/config.h
9860 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9862 cat $tmp/in >>$tmp/config.h
9864 if test x
"$ac_file" != x-
; then
9865 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9866 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9867 echo "$as_me: $ac_file is unchanged" >&6;}
9869 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9870 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9871 X"$ac_file" : 'X\(//\)[^/]' \| \
9872 X"$ac_file" : 'X\(//\)$' \| \
9873 X"$ac_file" : 'X\(/\)' \| \
9874 . : '\(.\)' 2>/dev/null ||
9876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9877 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9878 /^X\(\/\/\)$/{ s//\1/; q; }
9879 /^X\(\/\).*/{ s//\1/; q; }
9881 { if $as_mkdir_p; then
9886 while test ! -d "$as_dir"; do
9887 as_dirs
="$as_dir $as_dirs"
9888 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9889 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9890 X"$as_dir" : 'X\(//\)[^/]' \| \
9891 X"$as_dir" : 'X\(//\)$' \| \
9892 X"$as_dir" : 'X\(/\)' \| \
9893 . : '\(.\)' 2>/dev/null ||
9895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9896 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9897 /^X\(\/\/\)$/{ s//\1/; q; }
9898 /^X\(\/\).*/{ s//\1/; q; }
9901 test ! -n "$as_dirs" || mkdir
$as_dirs
9902 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9903 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9904 { (exit 1); exit 1; }; }; }
9907 mv $tmp/config.h
$ac_file
9915 cat >>$CONFIG_STATUS <<\_ACEOF
9918 # CONFIG_COMMANDS section.
9920 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9921 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9922 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9923 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9924 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9925 X"$ac_dest" : 'X\(//\)[^/]' \| \
9926 X"$ac_dest" : 'X\(//\)$' \| \
9927 X"$ac_dest" : 'X\(/\)' \| \
9928 . : '\(.\)' 2>/dev/null ||
9930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9931 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9932 /^X\(\/\/\)$/{ s//\1/; q; }
9933 /^X\(\/\).*/{ s//\1/; q; }
9935 { if $as_mkdir_p; then
9940 while test ! -d "$as_dir"; do
9941 as_dirs
="$as_dir $as_dirs"
9942 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9943 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9944 X"$as_dir" : 'X\(//\)[^/]' \| \
9945 X"$as_dir" : 'X\(//\)$' \| \
9946 X"$as_dir" : 'X\(/\)' \| \
9947 . : '\(.\)' 2>/dev/null ||
9949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9950 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9951 /^X\(\/\/\)$/{ s//\1/; q; }
9952 /^X\(\/\).*/{ s//\1/; q; }
9955 test ! -n "$as_dirs" || mkdir
$as_dirs
9956 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9957 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9958 { (exit 1); exit 1; }; }; }
9962 if test "$ac_dir" != .
; then
9963 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9964 # A "../" for each directory in $ac_dir_suffix.
9965 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9967 ac_dir_suffix
= ac_top_builddir
=
9971 .
) # No --srcdir option. We are building in place.
9973 if test -z "$ac_top_builddir"; then
9976 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9978 [\\/]* | ?
:[\\/]* ) # Absolute path.
9979 ac_srcdir
=$srcdir$ac_dir_suffix;
9980 ac_top_srcdir
=$srcdir ;;
9982 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9983 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9986 # Do not use `cd foo && pwd` to compute absolute paths, because
9987 # the directories may not exist.
9989 .
) ac_abs_builddir
="$ac_dir";;
9992 .
) ac_abs_builddir
=`pwd`;;
9993 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9994 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9997 case $ac_abs_builddir in
9998 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10000 case ${ac_top_builddir}.
in
10001 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10002 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10003 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10006 case $ac_abs_builddir in
10007 .
) ac_abs_srcdir
=$ac_srcdir;;
10010 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10011 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10012 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10015 case $ac_abs_builddir in
10016 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10018 case $ac_top_srcdir in
10019 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10020 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10021 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10026 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10027 echo "$as_me: executing $ac_dest commands" >&6;}
10029 default
) case x
$CONFIG_HEADERS in xcconfig.h
:config.
in) echo > stamp-h
;; esac ;;
10034 cat >>$CONFIG_STATUS <<\_ACEOF
10036 { (exit 0); exit 0; }
10038 chmod +x
$CONFIG_STATUS
10039 ac_clean_files
=$ac_clean_files_save
10042 # configure is writing to config.log, and then calls config.status.
10043 # config.status does its own redirection, appending to config.log.
10044 # Unfortunately, on DOS this fails, as config.log is still kept open
10045 # by configure, so config.status won't be able to write to it; its
10046 # output is simply discarded. So we exec the FD to /dev/null,
10047 # effectively closing config.log, so it can be properly (re)opened and
10048 # appended to by config.status. When coming back to configure, we
10049 # need to make the FD available again.
10050 if test "$no_create" != yes; then
10052 ac_config_status_args
=
10053 test "$silent" = yes &&
10054 ac_config_status_args
="$ac_config_status_args --quiet"
10056 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10058 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10059 # would make configure fail if this is the last instruction.
10060 $ac_cs_success ||
{ (exit 1); exit 1; }