2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for gzip 1.3.9.
5 # Report bugs to <bug-gzip@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME='gzip'
577 PACKAGE_VERSION='1.3.9'
578 PACKAGE_STRING='gzip 1.3.9'
579 PACKAGE_BUGREPORT='bug-gzip@gnu.org'
581 ac_unique_file="gzip.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
629 program_transform_name
671 INSTALL_STRIP_PROGRAM
702 GL_COND_LIBTOOL_FALSE
722 ac_precious_vars='build_alias
733 # Initialize some variables set by options.
735 ac_init_version=false
736 # The variables have the same names as the options, with
737 # dashes changed to underlines.
745 program_transform_name=s,x,x,
753 # Installation directory options.
754 # These are left unexpanded so users can "make install exec_prefix=/foo"
755 # and all the variables that are supposed to be based on exec_prefix
756 # by default will actually change.
757 # Use braces instead of parens because sh, perl, etc. also accept them.
758 # (The list follows the same order as the GNU Coding Standards.)
759 bindir='${exec_prefix}/bin'
760 sbindir='${exec_prefix}/sbin'
761 libexecdir='${exec_prefix}/libexec'
762 datarootdir='${prefix}/share'
763 datadir='${datarootdir}'
764 sysconfdir='${prefix}/etc'
765 sharedstatedir='${prefix}/com'
766 localstatedir='${prefix}/var'
767 includedir='${prefix}/include'
768 oldincludedir='/usr/include'
769 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
770 infodir='${datarootdir}/info'
775 libdir='${exec_prefix}/lib'
776 localedir='${datarootdir}/locale'
777 mandir='${datarootdir}/man'
783 # If the previous option needs an argument, assign it.
784 if test -n "$ac_prev"; then
785 eval $ac_prev=\$ac_option
791 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
795 # Accept the important Cygnus configure options, so we can diagnose typos.
797 case $ac_dashdash$ac_option in
801 -bindir | --bindir | --bindi | --bind | --bin | --bi)
803 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
806 -build | --build | --buil | --bui | --bu)
807 ac_prev=build_alias ;;
808 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
809 build_alias=$ac_optarg ;;
811 -cache-file | --cache-file | --cache-fil | --cache-fi \
812 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
813 ac_prev=cache_file ;;
814 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
815 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
816 cache_file=$ac_optarg ;;
819 cache_file=config.cache ;;
821 -datadir | --datadir | --datadi | --datad)
823 -datadir=* | --datadir=* | --datadi=* | --datad=*)
824 datadir=$ac_optarg ;;
826 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
827 | --dataroo | --dataro | --datar)
828 ac_prev=datarootdir ;;
829 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
830 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
831 datarootdir=$ac_optarg ;;
833 -disable-* | --disable-*)
834 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
835 # Reject names that are not valid shell variable names.
836 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
837 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
838 { (exit 1); exit 1; }; }
839 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
840 eval enable_$ac_feature=no ;;
842 -docdir | --docdir | --docdi | --doc | --do)
844 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
847 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
849 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
852 -enable-* | --enable-*)
853 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
856 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
857 { (exit 1); exit 1; }; }
858 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
859 eval enable_$ac_feature=\$ac_optarg ;;
861 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
862 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
863 | --exec | --exe | --ex)
864 ac_prev=exec_prefix ;;
865 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
866 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
867 | --exec=* | --exe=* | --ex=*)
868 exec_prefix=$ac_optarg ;;
870 -gas | --gas | --ga | --g)
871 # Obsolete; use --with-gas.
874 -help | --help | --hel | --he | -h)
876 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
877 ac_init_help=recursive ;;
878 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
879 ac_init_help=short ;;
881 -host | --host | --hos | --ho)
882 ac_prev=host_alias ;;
883 -host=* | --host=* | --hos=* | --ho=*)
884 host_alias=$ac_optarg ;;
886 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
888 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
890 htmldir=$ac_optarg ;;
892 -includedir | --includedir | --includedi | --included | --include \
893 | --includ | --inclu | --incl | --inc)
894 ac_prev=includedir ;;
895 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
896 | --includ=* | --inclu=* | --incl=* | --inc=*)
897 includedir=$ac_optarg ;;
899 -infodir | --infodir | --infodi | --infod | --info | --inf)
901 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
902 infodir=$ac_optarg ;;
904 -libdir | --libdir | --libdi | --libd)
906 -libdir=* | --libdir=* | --libdi=* | --libd=*)
909 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
910 | --libexe | --libex | --libe)
911 ac_prev=libexecdir ;;
912 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
913 | --libexe=* | --libex=* | --libe=*)
914 libexecdir=$ac_optarg ;;
916 -localedir | --localedir | --localedi | --localed | --locale)
918 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
919 localedir=$ac_optarg ;;
921 -localstatedir | --localstatedir | --localstatedi | --localstated \
922 | --localstate | --localstat | --localsta | --localst | --locals)
923 ac_prev=localstatedir ;;
924 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
925 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
926 localstatedir=$ac_optarg ;;
928 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
930 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
934 # Obsolete; use --without-fp.
937 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
938 | --no-cr | --no-c | -n)
941 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
942 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
945 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
946 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
947 | --oldin | --oldi | --old | --ol | --o)
948 ac_prev=oldincludedir ;;
949 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
950 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
951 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
952 oldincludedir=$ac_optarg ;;
954 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
956 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
959 -program-prefix | --program-prefix | --program-prefi | --program-pref \
960 | --program-pre | --program-pr | --program-p)
961 ac_prev=program_prefix ;;
962 -program-prefix=* | --program-prefix=* | --program-prefi=* \
963 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
964 program_prefix=$ac_optarg ;;
966 -program-suffix | --program-suffix | --program-suffi | --program-suff \
967 | --program-suf | --program-su | --program-s)
968 ac_prev=program_suffix ;;
969 -program-suffix=* | --program-suffix=* | --program-suffi=* \
970 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
971 program_suffix=$ac_optarg ;;
973 -program-transform-name | --program-transform-name \
974 | --program-transform-nam | --program-transform-na \
975 | --program-transform-n | --program-transform- \
976 | --program-transform | --program-transfor \
977 | --program-transfo | --program-transf \
978 | --program-trans | --program-tran \
979 | --progr-tra | --program-tr | --program-t)
980 ac_prev=program_transform_name ;;
981 -program-transform-name=* | --program-transform-name=* \
982 | --program-transform-nam=* | --program-transform-na=* \
983 | --program-transform-n=* | --program-transform-=* \
984 | --program-transform=* | --program-transfor=* \
985 | --program-transfo=* | --program-transf=* \
986 | --program-trans=* | --program-tran=* \
987 | --progr-tra=* | --program-tr=* | --program-t=*)
988 program_transform_name=$ac_optarg ;;
990 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
992 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
995 -psdir | --psdir | --psdi | --psd | --ps)
997 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1001 | -silent | --silent | --silen | --sile | --sil)
1004 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1006 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1008 sbindir=$ac_optarg ;;
1010 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1011 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1012 | --sharedst | --shareds | --shared | --share | --shar \
1014 ac_prev=sharedstatedir ;;
1015 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1016 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1017 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1019 sharedstatedir=$ac_optarg ;;
1021 -site | --site | --sit)
1023 -site=* | --site=* | --sit=*)
1026 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1028 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1029 srcdir=$ac_optarg ;;
1031 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1032 | --syscon | --sysco | --sysc | --sys | --sy)
1033 ac_prev=sysconfdir ;;
1034 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1035 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1036 sysconfdir=$ac_optarg ;;
1038 -target | --target | --targe | --targ | --tar | --ta | --t)
1039 ac_prev=target_alias ;;
1040 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1041 target_alias=$ac_optarg ;;
1043 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1046 -version | --version | --versio | --versi | --vers | -V)
1047 ac_init_version=: ;;
1050 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 { echo "$as_me: error: invalid package name: $ac_package" >&2
1054 { (exit 1); exit 1; }; }
1055 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1056 eval with_$ac_package=\$ac_optarg ;;
1058 -without-* | --without-*)
1059 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1062 { echo "$as_me: error: invalid package name: $ac_package" >&2
1063 { (exit 1); exit 1; }; }
1064 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1065 eval with_$ac_package=no ;;
1068 # Obsolete; use --with-x.
1071 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1072 | --x-incl | --x-inc | --x-in | --x-i)
1073 ac_prev=x_includes ;;
1074 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1075 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1076 x_includes=$ac_optarg ;;
1078 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1079 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1080 ac_prev=x_libraries ;;
1081 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1082 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1083 x_libraries=$ac_optarg ;;
1085 -*) { echo "$as_me: error: unrecognized option: $ac_option
1086 Try \`$0 --help' for more information." >&2
1087 { (exit 1); exit 1; }; }
1091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1094 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1095 { (exit 1); exit 1; }; }
1096 eval $ac_envvar=\$ac_optarg
1097 export $ac_envvar ;;
1100 # FIXME: should be removed in autoconf 3.0.
1101 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1103 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1110 if test -n "$ac_prev"; then
1111 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1112 { echo "$as_me: error: missing argument to $ac_option" >&2
1113 { (exit 1); exit 1; }; }
1116 # Be sure to have absolute directory names.
1117 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1118 datadir sysconfdir sharedstatedir localstatedir includedir \
1119 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1120 libdir localedir mandir
1122 eval ac_val=\$$ac_var
1124 [\\/$]* | ?:[\\/]* ) continue;;
1125 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1127 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1128 { (exit 1); exit 1; }; }
1131 # There might be people who depend on the old broken behavior: `$host'
1132 # used to hold the argument of --host etc.
1133 # FIXME: To remove some day.
1136 target=$target_alias
1138 # FIXME: To remove some day.
1139 if test "x$host_alias" != x; then
1140 if test "x$build_alias" = x; then
1141 cross_compiling=maybe
1142 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1143 If a cross compiler is detected then cross compile mode will be used." >&2
1144 elif test "x$build_alias" != "x$host_alias"; then
1150 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1152 test "$silent" = yes && exec 6>/dev/null
1155 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1156 ac_ls_di=`ls -di .` &&
1157 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1158 { echo "$as_me: error: Working directory cannot be determined" >&2
1159 { (exit 1); exit 1; }; }
1160 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1161 { echo "$as_me: error: pwd does not report name of working directory" >&2
1162 { (exit 1); exit 1; }; }
1165 # Find the source files, if location was not specified.
1166 if test -z "$srcdir"; then
1167 ac_srcdir_defaulted=yes
1168 # Try the directory containing this script, then the parent directory.
1169 ac_confdir=`$as_dirname -- "$0" ||
1170 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1171 X"$0" : 'X\(//\)[^/]' \| \
1172 X"$0" : 'X\(//\)$' \| \
1173 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1197 ac_srcdir_defaulted=no
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1200 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1201 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1202 { (exit 1); exit 1; }; }
1204 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1206 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1207 { (exit 1); exit 1; }; }
1209 # When building in place, set srcdir=.
1210 if test "$ac_abs_confdir" = "$ac_pwd"; then
1213 # Remove unnecessary trailing slashes from srcdir.
1214 # Double slashes in file names in object file debugging info
1215 # mess up M-x gdb in Emacs.
1217 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1219 for ac_var in $ac_precious_vars; do
1220 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1221 eval ac_env_${ac_var}_value=\$${ac_var}
1222 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1223 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1227 # Report the --help message.
1229 if test "$ac_init_help" = "long"; then
1230 # Omit some internal or obsolete options to make the list less imposing.
1231 # This message is too long to be a string in the A/UX 3.1 sh.
1233 \`configure' configures gzip 1.3.9 to adapt to many kinds of systems.
1235 Usage: $0 [OPTION]... [VAR=VALUE]...
1237 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1238 VAR=VALUE. See below for descriptions of some of the useful variables.
1240 Defaults for the options are specified in brackets.
1243 -h, --help display this help and exit
1244 --help=short display options specific to this package
1245 --help=recursive display the short help of all the included packages
1246 -V, --version display version information and exit
1247 -q, --quiet, --silent do not print \`checking...' messages
1248 --cache-file=FILE cache test results in FILE [disabled]
1249 -C, --config-cache alias for \`--cache-file=config.cache'
1250 -n, --no-create do not create output files
1251 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1253 Installation directories:
1254 --prefix=PREFIX install architecture-independent files in PREFIX
1255 [$ac_default_prefix]
1256 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1259 By default, \`make install' will install all the files in
1260 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1261 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1262 for instance \`--prefix=\$HOME'.
1264 For better control, use the options below.
1266 Fine tuning of the installation directories:
1267 --bindir=DIR user executables [EPREFIX/bin]
1268 --sbindir=DIR system admin executables [EPREFIX/sbin]
1269 --libexecdir=DIR program executables [EPREFIX/libexec]
1270 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1271 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1272 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1273 --libdir=DIR object code libraries [EPREFIX/lib]
1274 --includedir=DIR C header files [PREFIX/include]
1275 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1278 --infodir=DIR info documentation [DATAROOTDIR/info]
1279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1280 --mandir=DIR man documentation [DATAROOTDIR/man]
1281 --docdir=DIR documentation root [DATAROOTDIR/doc/gzip]
1282 --htmldir=DIR html documentation [DOCDIR]
1283 --dvidir=DIR dvi documentation [DOCDIR]
1284 --pdfdir=DIR pdf documentation [DOCDIR]
1285 --psdir=DIR ps documentation [DOCDIR]
1291 --program-prefix=PREFIX prepend PREFIX to installed program names
1292 --program-suffix=SUFFIX append SUFFIX to installed program names
1293 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1297 if test -n "$ac_init_help"; then
1298 case $ac_init_help in
1299 short | recursive ) echo "Configuration of gzip 1.3.9:";;
1304 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1305 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1306 --disable-dependency-tracking speeds up one-time build
1307 --enable-dependency-tracking do not reject slow dependency extractors
1308 --disable-largefile omit support for large files
1310 Some influential environment variables:
1311 CC C compiler command
1312 CFLAGS C compiler flags
1313 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1314 nonstandard directory <lib dir>
1315 LIBS libraries to pass to the linker, e.g. -l<library>
1316 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1317 you have headers in a nonstandard directory <include dir>
1320 Use these variables to override the choices made by `configure' or to help
1321 it to find libraries and programs with nonstandard names/locations.
1323 Report bugs to <bug-gzip@gnu.org>.
1328 if test "$ac_init_help" = "recursive"; then
1329 # If there are subdirs, report their specific --help.
1330 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1331 test -d "$ac_dir" || continue
1335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1338 # A ".." for each directory in $ac_dir_suffix.
1339 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1340 case $ac_top_builddir_sub in
1341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1345 ac_abs_top_builddir=$ac_pwd
1346 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1347 # for backward compatibility:
1348 ac_top_builddir=$ac_top_build_prefix
1351 .) # We are building in place.
1353 ac_top_srcdir=$ac_top_builddir_sub
1354 ac_abs_top_srcdir=$ac_pwd ;;
1355 [\\/]* | ?:[\\/]* ) # Absolute name.
1356 ac_srcdir=$srcdir$ac_dir_suffix;
1357 ac_top_srcdir=$srcdir
1358 ac_abs_top_srcdir=$srcdir ;;
1360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1361 ac_top_srcdir=$ac_top_build_prefix$srcdir
1362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1366 cd "$ac_dir" || { ac_status=$?; continue; }
1367 # Check for guested configure.
1368 if test -f "$ac_srcdir/configure.gnu"; then
1370 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1371 elif test -f "$ac_srcdir/configure"; then
1373 $SHELL "$ac_srcdir/configure" --help=recursive
1375 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 cd "$ac_pwd" || { ac_status=$?; break; }
1381 test -n "$ac_init_help" && exit $ac_status
1382 if $ac_init_version; then
1384 gzip configure 1.3.9
1385 generated by GNU Autoconf 2.61
1387 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1388 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1389 This configure script is free software; the Free Software Foundation
1390 gives unlimited permission to copy, distribute and modify it.
1394 cat >config.log <<_ACEOF
1395 This file contains any messages produced by compilers while
1396 running configure, to aid debugging if configure makes a mistake.
1398 It was created by gzip $as_me 1.3.9, which was
1399 generated by GNU Autoconf 2.61. Invocation command line was
1411 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1412 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1413 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1414 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1415 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1417 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1418 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1420 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1421 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1422 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1423 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1424 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1425 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1426 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1434 test -z "$as_dir" && as_dir=.
1435 echo "PATH: $as_dir"
1451 # Keep a trace of the command line.
1452 # Strip out --no-create and --no-recursion so they do not pile up.
1453 # Strip out --silent because we don't want to record it for future runs.
1454 # Also quote any args containing shell meta-characters.
1455 # Make two passes to allow for proper duplicate-argument suppression.
1459 ac_must_keep_next=false
1465 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1466 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1467 | -silent | --silent | --silen | --sile | --sil)
1470 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1473 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1475 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1476 if test $ac_must_keep_next = true; then
1477 ac_must_keep_next=false # Got value, back to normal.
1480 *=* | --config-cache | -C | -disable-* | --disable-* \
1481 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1482 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1483 | -with-* | --with-* | -without-* | --without-* | --x)
1484 case "$ac_configure_args0 " in
1485 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1488 -* ) ac_must_keep_next=true ;;
1491 ac_configure_args="$ac_configure_args '$ac_arg'"
1496 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1497 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1499 # When interrupted or exit'd, cleanup temporary files, and complete
1500 # config.log. We remove comments because anyway the quotes in there
1501 # would cause problems or look ugly.
1502 # WARNING: Use '\'' to represent an apostrophe within the trap.
1503 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1504 trap 'exit_status=$?
1505 # Save into config.log some information that might help in debugging.
1510 ## ---------------- ##
1511 ## Cache variables. ##
1512 ## ---------------- ##
1515 # The following way of writing the cache mishandles newlines in values,
1517 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1518 eval ac_val=\$$ac_var
1522 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1523 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1526 _ | IFS | as_nl) ;; #(
1527 *) $as_unset $ac_var ;;
1532 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1533 *${as_nl}ac_space=\ *)
1535 "s/'\''/'\''\\\\'\'''\''/g;
1536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1539 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1547 ## ----------------- ##
1548 ## Output variables. ##
1549 ## ----------------- ##
1552 for ac_var in $ac_subst_vars
1554 eval ac_val=\$$ac_var
1556 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1558 echo "$ac_var='\''$ac_val'\''"
1562 if test -n "$ac_subst_files"; then
1564 ## ------------------- ##
1565 ## File substitutions. ##
1566 ## ------------------- ##
1569 for ac_var in $ac_subst_files
1571 eval ac_val=\$$ac_var
1573 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575 echo "$ac_var='\''$ac_val'\''"
1580 if test -s confdefs.h; then
1590 test "$ac_signal" != 0 &&
1591 echo "$as_me: caught signal $ac_signal"
1592 echo "$as_me: exit $exit_status"
1594 rm -f core *.core core.conftest.* &&
1595 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1598 for ac_signal in 1 2 13 15; do
1599 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1603 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1604 rm -f -r conftest* confdefs.h
1606 # Predefined preprocessor variables.
1608 cat >>confdefs.h <<_ACEOF
1609 #define PACKAGE_NAME "$PACKAGE_NAME"
1613 cat >>confdefs.h <<_ACEOF
1614 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1618 cat >>confdefs.h <<_ACEOF
1619 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1623 cat >>confdefs.h <<_ACEOF
1624 #define PACKAGE_STRING "$PACKAGE_STRING"
1628 cat >>confdefs.h <<_ACEOF
1629 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1633 # Let the site file select an alternate cache file if it wants to.
1634 # Prefer explicitly selected file to automatically selected ones.
1635 if test -n "$CONFIG_SITE"; then
1636 set x "$CONFIG_SITE"
1637 elif test "x$prefix" != xNONE; then
1638 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1640 set x "$ac_default_prefix/share/config.site" \
1641 "$ac_default_prefix/etc/config.site"
1646 if test -r "$ac_site_file"; then
1647 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1648 echo "$as_me: loading site script $ac_site_file" >&6;}
1649 sed 's/^/| /' "$ac_site_file" >&5
1654 if test -r "$cache_file"; then
1655 # Some versions of bash will fail to source /dev/null (special
1656 # files actually), so we avoid doing that.
1657 if test -f "$cache_file"; then
1658 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1659 echo "$as_me: loading cache $cache_file" >&6;}
1661 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1662 *) . "./$cache_file";;
1666 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1667 echo "$as_me: creating cache $cache_file" >&6;}
1671 ac_header_list="$ac_header_list fcntl.h"
1672 ac_func_list="$ac_func_list lstat"
1673 ac_header_list="$ac_header_list sys/stat.h"
1674 ac_header_list="$ac_header_list sys/time.h"
1675 ac_func_list="$ac_func_list pipe"
1676 ac_header_list="$ac_header_list utime.h"
1677 ac_func_list="$ac_func_list futimes"
1678 ac_func_list="$ac_func_list futimesat"
1679 ac_header_list="$ac_header_list limits.h"
1680 ac_header_list="$ac_header_list memory.h"
1681 ac_header_list="$ac_header_list time.h"
1682 ac_func_list="$ac_func_list chown"
1683 ac_func_list="$ac_func_list fchmod"
1684 ac_func_list="$ac_func_list fchown"
1685 ac_func_list="$ac_func_list fdopendir"
1686 ac_func_list="$ac_func_list siginterrupt"
1687 # Check that the precious variables saved in the cache have kept the same
1689 ac_cache_corrupted=false
1690 for ac_var in $ac_precious_vars; do
1691 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1692 eval ac_new_set=\$ac_env_${ac_var}_set
1693 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1694 eval ac_new_val=\$ac_env_${ac_var}_value
1695 case $ac_old_set,$ac_new_set in
1697 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1698 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1699 ac_cache_corrupted=: ;;
1701 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1702 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1703 ac_cache_corrupted=: ;;
1706 if test "x$ac_old_val" != "x$ac_new_val"; then
1707 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1708 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1709 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1710 echo "$as_me: former value: $ac_old_val" >&2;}
1711 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1712 echo "$as_me: current value: $ac_new_val" >&2;}
1713 ac_cache_corrupted=:
1716 # Pass precious variables to config.status.
1717 if test "$ac_new_set" = set; then
1719 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1720 *) ac_arg=$ac_var=$ac_new_val ;;
1722 case " $ac_configure_args " in
1723 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1724 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1728 if $ac_cache_corrupted; then
1729 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1730 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1731 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1732 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1733 { (exit 1); exit 1; }; }
1761 ac_cpp='$CPP $CPPFLAGS'
1762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1769 for ac_dir in build-aux "$srcdir"/build-aux; do
1770 if test -f "$ac_dir/install-sh"; then
1772 ac_install_sh="$ac_aux_dir/install-sh -c"
1774 elif test -f "$ac_dir/install.sh"; then
1776 ac_install_sh="$ac_aux_dir/install.sh -c"
1778 elif test -f "$ac_dir/shtool"; then
1780 ac_install_sh="$ac_aux_dir/shtool install -c"
1784 if test -z "$ac_aux_dir"; then
1785 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1786 echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1787 { (exit 1); exit 1; }; }
1790 # These three variables are undocumented and unsupported,
1791 # and are intended to be withdrawn in a future Autoconf release.
1792 # They can cause serious problems if a builder's source tree is in a directory
1793 # whose full name contains unusual characters.
1794 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1795 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1796 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1799 ac_config_headers="$ac_config_headers lib/config.h:lib/config.hin"
1801 am__api_version='1.10'
1803 # Find a good install program. We prefer a C program (faster),
1804 # so one script is as good as another. But avoid the broken or
1805 # incompatible versions:
1806 # SysV /etc/install, /usr/sbin/install
1807 # SunOS /usr/etc/install
1808 # IRIX /sbin/install
1810 # AmigaOS /C/install, which installs bootblocks on floppy discs
1811 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1812 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1813 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1814 # OS/2's system install, which has a completely different semantic
1815 # ./install, which can be erroneously created by make from ./install.sh.
1816 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1817 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1818 if test -z "$INSTALL"; then
1819 if test "${ac_cv_path_install+set}" = set; then
1820 echo $ECHO_N "(cached) $ECHO_C" >&6
1822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1826 test -z "$as_dir" && as_dir=.
1827 # Account for people who put trailing slashes in PATH elements.
1829 ./ | .// | /cC/* | \
1830 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1831 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1834 # OSF1 and SCO ODT 3.0 have their own names for install.
1835 # Don't use installbsd from OSF since it installs stuff as root
1837 for ac_prog in ginstall scoinst install; do
1838 for ac_exec_ext in '' $ac_executable_extensions; do
1839 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1840 if test $ac_prog = install &&
1841 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1842 # AIX install. It has an incompatible calling convention.
1844 elif test $ac_prog = install &&
1845 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1846 # program-specific install script used by HP pwplus--don't use.
1849 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1862 if test "${ac_cv_path_install+set}" = set; then
1863 INSTALL=$ac_cv_path_install
1865 # As a last resort, use the slow shell script. Don't cache a
1866 # value for INSTALL within a source directory, because that will
1867 # break other packages using the cache if that directory is
1868 # removed, or if the value is a relative name.
1869 INSTALL=$ac_install_sh
1872 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1873 echo "${ECHO_T}$INSTALL" >&6; }
1875 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1876 # It thinks the first close brace ends the variable substitution.
1877 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1879 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1881 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1883 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1884 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1887 echo timestamp > conftest.file
1888 # Do `set' in a subshell so we don't clobber the current shell's
1889 # arguments. Must try -L first in case configure is actually a
1890 # symlink; some systems play weird games with the mod time of symlinks
1891 # (eg FreeBSD returns the mod time of the symlink's containing
1894 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1895 if test "$*" = "X"; then
1897 set X `ls -t $srcdir/configure conftest.file`
1900 if test "$*" != "X $srcdir/configure conftest.file" \
1901 && test "$*" != "X conftest.file $srcdir/configure"; then
1903 # If neither matched, then we have a broken ls. This can happen
1904 # if, for instance, CONFIG_SHELL is bash and it inherits a
1905 # broken ls alias from the environment. This has actually
1906 # happened. Such a system could not be considered "sane".
1907 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1908 alias in your environment" >&5
1909 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1910 alias in your environment" >&2;}
1911 { (exit 1); exit 1; }; }
1914 test "$2" = conftest.file
1920 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1921 Check your system clock" >&5
1922 echo "$as_me: error: newly created file is older than distributed files!
1923 Check your system clock" >&2;}
1924 { (exit 1); exit 1; }; }
1926 { echo "$as_me:$LINENO: result: yes" >&5
1927 echo "${ECHO_T}yes" >&6; }
1928 test "$program_prefix" != NONE &&
1929 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1930 # Use a double $ so make ignores it.
1931 test "$program_suffix" != NONE &&
1932 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1933 # Double any \ or $. echo might interpret backslashes.
1934 # By default was `s,x,x', remove it if useless.
1935 cat <<\_ACEOF >conftest.sed
1936 s/[\\$]/&&/g;s/;s,x,x,$//
1938 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1941 # expand $ac_aux_dir to an absolute path
1942 am_aux_dir=`cd $ac_aux_dir && pwd`
1944 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1945 # Use eval to expand $SHELL
1946 if eval "$MISSING --run true"; then
1947 am_missing_run="$MISSING --run "
1950 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1951 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1954 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1955 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1956 if test -z "$MKDIR_P"; then
1957 if test "${ac_cv_path_mkdir+set}" = set; then
1958 echo $ECHO_N "(cached) $ECHO_C" >&6
1960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1964 test -z "$as_dir" && as_dir=.
1965 for ac_prog in mkdir gmkdir; do
1966 for ac_exec_ext in '' $ac_executable_extensions; do
1967 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1968 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1969 'mkdir (GNU coreutils) '* | \
1970 'mkdir (coreutils) '* | \
1971 'mkdir (fileutils) '4.1*)
1972 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1982 if test "${ac_cv_path_mkdir+set}" = set; then
1983 MKDIR_P="$ac_cv_path_mkdir -p"
1985 # As a last resort, use the slow shell script. Don't cache a
1986 # value for MKDIR_P within a source directory, because that will
1987 # break other packages using the cache if that directory is
1988 # removed, or if the value is a relative name.
1989 test -d ./--version && rmdir ./--version
1990 MKDIR_P="$ac_install_sh -d"
1993 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1994 echo "${ECHO_T}$MKDIR_P" >&6; }
1998 [\\/$]* | ?:[\\/]*) ;;
1999 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2002 for ac_prog in gawk mawk nawk awk
2004 # Extract the first word of "$ac_prog", so it can be a program name with args.
2005 set dummy $ac_prog; ac_word=$2
2006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2008 if test "${ac_cv_prog_AWK+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 if test -n "$AWK"; then
2012 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018 test -z "$as_dir" && as_dir=.
2019 for ac_exec_ext in '' $ac_executable_extensions; do
2020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2021 ac_cv_prog_AWK="$ac_prog"
2022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2032 if test -n "$AWK"; then
2033 { echo "$as_me:$LINENO: result: $AWK" >&5
2034 echo "${ECHO_T}$AWK" >&6; }
2036 { echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6; }
2041 test -n "$AWK" && break
2044 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2045 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2046 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2047 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2048 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 cat >conftest.make <<\_ACEOF
2053 @echo '@@@%%%=$(MAKE)=@@@%%%'
2055 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2056 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2058 eval ac_cv_prog_make_${ac_make}_set=yes;;
2060 eval ac_cv_prog_make_${ac_make}_set=no;;
2064 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2065 { echo "$as_me:$LINENO: result: yes" >&5
2066 echo "${ECHO_T}yes" >&6; }
2069 { echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6; }
2071 SET_MAKE="MAKE=${MAKE-make}"
2074 rm -rf .tst 2>/dev/null
2075 mkdir .tst 2>/dev/null
2076 if test -d .tst; then
2081 rmdir .tst 2>/dev/null
2083 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2084 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2085 # is not polluted with repeated "-I."
2086 am__isrc=' -I$(srcdir)'
2087 # test to see if srcdir already configured
2088 if test -f $srcdir/config.status; then
2089 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2090 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2091 { (exit 1); exit 1; }; }
2095 # test whether we have cygpath
2096 if test -z "$CYGPATH_W"; then
2097 if (cygpath --version) >/dev/null 2>/dev/null; then
2098 CYGPATH_W='cygpath -w'
2105 # Define the identity of the package.
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE "$PACKAGE"
2115 cat >>confdefs.h <<_ACEOF
2116 #define VERSION "$VERSION"
2119 # Some tools Automake needs.
2121 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2124 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2127 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2130 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2133 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2135 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2137 # Installed binaries are usually stripped using `strip' when the user
2138 # run `make install-strip'. However `strip' might not be the right
2139 # tool to use in cross-compilation environments, therefore Automake
2140 # will honor the `STRIP' environment variable to overrule this program.
2141 if test "$cross_compiling" != no; then
2142 if test -n "$ac_tool_prefix"; then
2143 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2144 set dummy ${ac_tool_prefix}strip; ac_word=$2
2145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2147 if test "${ac_cv_prog_STRIP+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 if test -n "$STRIP"; then
2151 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2157 test -z "$as_dir" && as_dir=.
2158 for ac_exec_ext in '' $ac_executable_extensions; do
2159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2160 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 STRIP=$ac_cv_prog_STRIP
2171 if test -n "$STRIP"; then
2172 { echo "$as_me:$LINENO: result: $STRIP" >&5
2173 echo "${ECHO_T}$STRIP" >&6; }
2175 { echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6; }
2181 if test -z "$ac_cv_prog_STRIP"; then
2183 # Extract the first word of "strip", so it can be a program name with args.
2184 set dummy strip; ac_word=$2
2185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2187 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 if test -n "$ac_ct_STRIP"; then
2191 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 ac_cv_prog_ac_ct_STRIP="strip"
2201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2210 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2211 if test -n "$ac_ct_STRIP"; then
2212 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2213 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2215 { echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6; }
2219 if test "x$ac_ct_STRIP" = x; then
2222 case $cross_compiling:$ac_tool_warned in
2224 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2225 whose name does not start with the host triplet. If you think this
2226 configuration is useful to you, please write to autoconf@gnu.org." >&5
2227 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2228 whose name does not start with the host triplet. If you think this
2229 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2230 ac_tool_warned=yes ;;
2235 STRIP="$ac_cv_prog_STRIP"
2239 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2241 # We need awk for the "check" target. The system "awk" is bad on
2243 # Always define AMTAR for backward compatibility.
2245 AMTAR=${AMTAR-"${am_missing_run}tar"}
2247 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2254 DEPDIR="${am__leading_dot}deps"
2256 ac_config_commands="$ac_config_commands depfiles"
2259 am_make=${MAKE-make}
2260 cat > confinc << 'END'
2265 # If we don't find an include directive, just comment out the code.
2266 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2267 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2271 # First try GNU make style include.
2272 echo "include confinc" > confmf
2273 # We grep out `Entering directory' and `Leaving directory'
2274 # messages which can occur if `w' ends up in MAKEFLAGS.
2275 # In particular we don't look at `^make:' because GNU make might
2276 # be invoked under some other name (usually "gmake"), in which
2277 # case it prints its new name instead of `make'.
2278 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2283 # Now try BSD make style include.
2284 if test "$am__include" = "#"; then
2285 echo '.include "confinc"' > confmf
2286 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2287 am__include=.include
2294 { echo "$as_me:$LINENO: result: $_am_result" >&5
2295 echo "${ECHO_T}$_am_result" >&6; }
2296 rm -f confinc confmf
2298 # Check whether --enable-dependency-tracking was given.
2299 if test "${enable_dependency_tracking+set}" = set; then
2300 enableval=$enable_dependency_tracking;
2303 if test "x$enable_dependency_tracking" != xno; then
2304 am_depcomp="$ac_aux_dir/depcomp"
2307 if test "x$enable_dependency_tracking" != xno; then
2317 ac_cpp='$CPP $CPPFLAGS'
2318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2321 if test -n "$ac_tool_prefix"; then
2322 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 if test -n "$CC"; then
2330 ac_cv_prog_CC="$CC" # Let the user override the test.
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 test -z "$as_dir" && as_dir=.
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2339 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 if test -n "$CC"; then
2351 { echo "$as_me:$LINENO: result: $CC" >&5
2352 echo "${ECHO_T}$CC" >&6; }
2354 { echo "$as_me:$LINENO: result: no" >&5
2355 echo "${ECHO_T}no" >&6; }
2360 if test -z "$ac_cv_prog_CC"; then
2362 # Extract the first word of "gcc", so it can be a program name with args.
2363 set dummy gcc; ac_word=$2
2364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2366 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 if test -n "$ac_ct_CC"; then
2370 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir=.
2377 for ac_exec_ext in '' $ac_executable_extensions; do
2378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2379 ac_cv_prog_ac_ct_CC="gcc"
2380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2389 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2390 if test -n "$ac_ct_CC"; then
2391 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2392 echo "${ECHO_T}$ac_ct_CC" >&6; }
2394 { echo "$as_me:$LINENO: result: no" >&5
2395 echo "${ECHO_T}no" >&6; }
2398 if test "x$ac_ct_CC" = x; then
2401 case $cross_compiling:$ac_tool_warned in
2403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2404 whose name does not start with the host triplet. If you think this
2405 configuration is useful to you, please write to autoconf@gnu.org." >&5
2406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2407 whose name does not start with the host triplet. If you think this
2408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2409 ac_tool_warned=yes ;;
2417 if test -z "$CC"; then
2418 if test -n "$ac_tool_prefix"; then
2419 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2420 set dummy ${ac_tool_prefix}cc; ac_word=$2
2421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2423 if test "${ac_cv_prog_CC+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 if test -n "$CC"; then
2427 ac_cv_prog_CC="$CC" # Let the user override the test.
2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433 test -z "$as_dir" && as_dir=.
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2436 ac_cv_prog_CC="${ac_tool_prefix}cc"
2437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 if test -n "$CC"; then
2448 { echo "$as_me:$LINENO: result: $CC" >&5
2449 echo "${ECHO_T}$CC" >&6; }
2451 { echo "$as_me:$LINENO: result: no" >&5
2452 echo "${ECHO_T}no" >&6; }
2458 if test -z "$CC"; then
2459 # Extract the first word of "cc", so it can be a program name with args.
2460 set dummy cc; ac_word=$2
2461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2463 if test "${ac_cv_prog_CC+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 if test -n "$CC"; then
2467 ac_cv_prog_CC="$CC" # Let the user override the test.
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir=.
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2478 ac_prog_rejected=yes
2482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 if test $ac_prog_rejected = yes; then
2490 # We found a bogon in the path, so make sure we never use it.
2491 set dummy $ac_cv_prog_CC
2493 if test $# != 0; then
2494 # We chose a different compiler from the bogus one.
2495 # However, it has the same basename, so the bogon will be chosen
2496 # first if we set CC to just the basename; use the full file name.
2498 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2504 if test -n "$CC"; then
2505 { echo "$as_me:$LINENO: result: $CC" >&5
2506 echo "${ECHO_T}$CC" >&6; }
2508 { echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6; }
2514 if test -z "$CC"; then
2515 if test -n "$ac_tool_prefix"; then
2516 for ac_prog in cl.exe
2518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2522 if test "${ac_cv_prog_CC+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 if test -n "$CC"; then
2526 ac_cv_prog_CC="$CC" # Let the user override the test.
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir=.
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 if test -n "$CC"; then
2547 { echo "$as_me:$LINENO: result: $CC" >&5
2548 echo "${ECHO_T}$CC" >&6; }
2550 { echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6; }
2555 test -n "$CC" && break
2558 if test -z "$CC"; then
2560 for ac_prog in cl.exe
2562 # Extract the first word of "$ac_prog", so it can be a program name with args.
2563 set dummy $ac_prog; ac_word=$2
2564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2566 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2567 echo $ECHO_N "(cached) $ECHO_C" >&6
2569 if test -n "$ac_ct_CC"; then
2570 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir=.
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2579 ac_cv_prog_ac_ct_CC="$ac_prog"
2580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2590 if test -n "$ac_ct_CC"; then
2591 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2592 echo "${ECHO_T}$ac_ct_CC" >&6; }
2594 { echo "$as_me:$LINENO: result: no" >&5
2595 echo "${ECHO_T}no" >&6; }
2599 test -n "$ac_ct_CC" && break
2602 if test "x$ac_ct_CC" = x; then
2605 case $cross_compiling:$ac_tool_warned in
2607 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2608 whose name does not start with the host triplet. If you think this
2609 configuration is useful to you, please write to autoconf@gnu.org." >&5
2610 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2611 whose name does not start with the host triplet. If you think this
2612 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2613 ac_tool_warned=yes ;;
2622 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2623 See \`config.log' for more details." >&5
2624 echo "$as_me: error: no acceptable C compiler found in \$PATH
2625 See \`config.log' for more details." >&2;}
2626 { (exit 1); exit 1; }; }
2628 # Provide some information about the compiler.
2629 echo "$as_me:$LINENO: checking for C compiler version" >&5
2630 ac_compiler=`set X $ac_compile; echo $2`
2631 { (ac_try="$ac_compiler --version >&5"
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_compiler --version >&5") 2>&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }
2641 { (ac_try="$ac_compiler -v >&5"
2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2647 (eval "$ac_compiler -v >&5") 2>&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }
2651 { (ac_try="$ac_compiler -V >&5"
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_compiler -V >&5") 2>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }
2662 cat >conftest.$ac_ext <<_ACEOF
2665 cat confdefs.h >>conftest.$ac_ext
2666 cat >>conftest.$ac_ext <<_ACEOF
2667 /* end confdefs.h. */
2677 ac_clean_files_save=$ac_clean_files
2678 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2679 # Try to create an executable without -o first, disregard a.out.
2680 # It will help us diagnose broken compilers, and finding out an intuition
2682 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2683 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2684 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2686 # List of possible output files, starting from the most likely.
2687 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2688 # only as a last resort. b.out is created by i960 compilers.
2689 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2691 # The IRIX 6 linker writes into existing files which may not be
2692 # executable, retaining their permissions. Remove them first so a
2693 # subsequent execution test works.
2695 for ac_file in $ac_files
2698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2699 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2704 if { (ac_try="$ac_link_default"
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2710 (eval "$ac_link_default") 2>&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; then
2714 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2715 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2716 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2717 # so that the user can short-circuit this test for compilers unknown to
2719 for ac_file in $ac_files ''
2721 test -f "$ac_file" || continue
2723 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2726 # We found the default executable, but exeext='' is most
2730 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2732 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2734 # We set ac_cv_exeext here because the later test for it is not
2735 # safe: cross compilers may not add the suffix if given an `-o'
2736 # argument, so we may need to know it at that point already.
2737 # Even if this section looks crufty: it has the advantage of
2744 test "$ac_cv_exeext" = no && ac_cv_exeext=
2750 { echo "$as_me:$LINENO: result: $ac_file" >&5
2751 echo "${ECHO_T}$ac_file" >&6; }
2752 if test -z "$ac_file"; then
2753 echo "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.$ac_ext >&5
2756 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2757 See \`config.log' for more details." >&5
2758 echo "$as_me: error: C compiler cannot create executables
2759 See \`config.log' for more details." >&2;}
2760 { (exit 77); exit 77; }; }
2763 ac_exeext=$ac_cv_exeext
2765 # Check that the compiler produces executables we can run. If not, either
2766 # the compiler is broken, or we cross compile.
2767 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2768 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2769 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2770 # If not cross compiling, check that we can run a simple program.
2771 if test "$cross_compiling" != yes; then
2772 if { ac_try='./$ac_file'
2773 { (case "(($ac_try" in
2774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2775 *) ac_try_echo=$ac_try;;
2777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2778 (eval "$ac_try") 2>&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); }; }; then
2784 if test "$cross_compiling" = maybe; then
2787 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2788 If you meant to cross compile, use \`--host'.
2789 See \`config.log' for more details." >&5
2790 echo "$as_me: error: cannot run C compiled programs.
2791 If you meant to cross compile, use \`--host'.
2792 See \`config.log' for more details." >&2;}
2793 { (exit 1); exit 1; }; }
2797 { echo "$as_me:$LINENO: result: yes" >&5
2798 echo "${ECHO_T}yes" >&6; }
2800 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2801 ac_clean_files=$ac_clean_files_save
2802 # Check that the compiler produces executables we can run. If not, either
2803 # the compiler is broken, or we cross compile.
2804 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2805 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2806 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2807 echo "${ECHO_T}$cross_compiling" >&6; }
2809 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2810 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2811 if { (ac_try="$ac_link"
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2817 (eval "$ac_link") 2>&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); }; then
2821 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2822 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2823 # work properly (i.e., refer to `conftest.exe'), while it won't with
2825 for ac_file in conftest.exe conftest conftest.*; do
2826 test -f "$ac_file" || continue
2828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2829 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2835 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2836 See \`config.log' for more details." >&5
2837 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2838 See \`config.log' for more details." >&2;}
2839 { (exit 1); exit 1; }; }
2842 rm -f conftest$ac_cv_exeext
2843 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2844 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2846 rm -f conftest.$ac_ext
2847 EXEEXT=$ac_cv_exeext
2849 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2850 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2851 if test "${ac_cv_objext+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 cat >conftest.$ac_ext <<_ACEOF
2857 cat confdefs.h >>conftest.$ac_ext
2858 cat >>conftest.$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2869 rm -f conftest.o conftest.obj
2870 if { (ac_try="$ac_compile"
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2876 (eval "$ac_compile") 2>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; then
2880 for ac_file in conftest.o conftest.obj conftest.*; do
2881 test -f "$ac_file" || continue;
2883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2884 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2889 echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.$ac_ext >&5
2892 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2893 See \`config.log' for more details." >&5
2894 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2895 See \`config.log' for more details." >&2;}
2896 { (exit 1); exit 1; }; }
2899 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2901 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2902 echo "${ECHO_T}$ac_cv_objext" >&6; }
2903 OBJEXT=$ac_cv_objext
2905 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2906 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2907 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2928 rm -f conftest.$ac_objext
2929 if { (ac_try="$ac_compile"
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2935 (eval "$ac_compile") 2>conftest.er1
2937 grep -v '^ *+' conftest.er1 >conftest.err
2939 cat conftest.err >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } && {
2942 test -z "$ac_c_werror_flag" ||
2943 test ! -s conftest.err
2944 } && test -s conftest.$ac_objext; then
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2957 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2958 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2959 GCC=`test $ac_compiler_gnu = yes && echo yes`
2960 ac_test_CFLAGS=${CFLAGS+set}
2961 ac_save_CFLAGS=$CFLAGS
2962 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2963 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2964 if test "${ac_cv_prog_cc_g+set}" = set; then
2965 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 ac_save_c_werror_flag=$ac_c_werror_flag
2968 ac_c_werror_flag=yes
2971 cat >conftest.$ac_ext <<_ACEOF
2974 cat confdefs.h >>conftest.$ac_ext
2975 cat >>conftest.$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2986 rm -f conftest.$ac_objext
2987 if { (ac_try="$ac_compile"
2989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2990 *) ac_try_echo=$ac_try;;
2992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2993 (eval "$ac_compile") 2>conftest.er1
2995 grep -v '^ *+' conftest.er1 >conftest.err
2997 cat conftest.err >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); } && {
3000 test -z "$ac_c_werror_flag" ||
3001 test ! -s conftest.err
3002 } && test -s conftest.$ac_objext; then
3005 echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3009 cat >conftest.$ac_ext <<_ACEOF
3012 cat confdefs.h >>conftest.$ac_ext
3013 cat >>conftest.$ac_ext <<_ACEOF
3014 /* end confdefs.h. */
3024 rm -f conftest.$ac_objext
3025 if { (ac_try="$ac_compile"
3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3031 (eval "$ac_compile") 2>conftest.er1
3033 grep -v '^ *+' conftest.er1 >conftest.err
3035 cat conftest.err >&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); } && {
3038 test -z "$ac_c_werror_flag" ||
3039 test ! -s conftest.err
3040 } && test -s conftest.$ac_objext; then
3043 echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.$ac_ext >&5
3046 ac_c_werror_flag=$ac_save_c_werror_flag
3048 cat >conftest.$ac_ext <<_ACEOF
3051 cat confdefs.h >>conftest.$ac_ext
3052 cat >>conftest.$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3063 rm -f conftest.$ac_objext
3064 if { (ac_try="$ac_compile"
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3070 (eval "$ac_compile") 2>conftest.er1
3072 grep -v '^ *+' conftest.er1 >conftest.err
3074 cat conftest.err >&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); } && {
3077 test -z "$ac_c_werror_flag" ||
3078 test ! -s conftest.err
3079 } && test -s conftest.$ac_objext; then
3082 echo "$as_me: failed program was:" >&5
3083 sed 's/^/| /' conftest.$ac_ext >&5
3088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3095 ac_c_werror_flag=$ac_save_c_werror_flag
3097 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3098 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3099 if test "$ac_test_CFLAGS" = set; then
3100 CFLAGS=$ac_save_CFLAGS
3101 elif test $ac_cv_prog_cc_g = yes; then
3102 if test "$GCC" = yes; then
3108 if test "$GCC" = yes; then
3114 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3115 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3116 if test "${ac_cv_prog_cc_c89+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3119 ac_cv_prog_cc_c89=no
3121 cat >conftest.$ac_ext <<_ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3129 #include <sys/types.h>
3130 #include <sys/stat.h>
3131 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3132 struct buf { int x; };
3133 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3134 static char *e (p, i)
3140 static char *f (char * (*g) (char **, int), char **p, ...)
3145 s = g (p, va_arg (v,int));
3150 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3151 function prototypes and stuff, but not '\xHH' hex character constants.
3152 These don't provoke an error unfortunately, instead are silently treated
3153 as 'x'. The following induces an error, until -std is added to get
3154 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3155 array size at least. It's necessary to write '\x00'==0 to get something
3156 that's true only with -std. */
3157 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3159 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3160 inside strings and character constants. */
3162 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3164 int test (int i, double x);
3165 struct s1 {int (*f) (int a);};
3166 struct s2 {int (*f) (double a);};
3167 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3173 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3178 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3179 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3181 CC="$ac_save_CC $ac_arg"
3182 rm -f conftest.$ac_objext
3183 if { (ac_try="$ac_compile"
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3189 (eval "$ac_compile") 2>conftest.er1
3191 grep -v '^ *+' conftest.er1 >conftest.err
3193 cat conftest.err >&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); } && {
3196 test -z "$ac_c_werror_flag" ||
3197 test ! -s conftest.err
3198 } && test -s conftest.$ac_objext; then
3199 ac_cv_prog_cc_c89=$ac_arg
3201 echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3207 rm -f core conftest.err conftest.$ac_objext
3208 test "x$ac_cv_prog_cc_c89" != "xno" && break
3210 rm -f conftest.$ac_ext
3215 case "x$ac_cv_prog_cc_c89" in
3217 { echo "$as_me:$LINENO: result: none needed" >&5
3218 echo "${ECHO_T}none needed" >&6; } ;;
3220 { echo "$as_me:$LINENO: result: unsupported" >&5
3221 echo "${ECHO_T}unsupported" >&6; } ;;
3223 CC="$CC $ac_cv_prog_cc_c89"
3224 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3225 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3230 ac_cpp='$CPP $CPPFLAGS'
3231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3235 depcc="$CC" am_compiler_list=
3237 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3238 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3239 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3240 echo $ECHO_N "(cached) $ECHO_C" >&6
3242 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3243 # We make a subdir and do the tests there. Otherwise we can end up
3244 # making bogus files that we don't know about and never remove. For
3245 # instance it was reported that on HP-UX the gcc test will end up
3246 # making a dummy file named `D' -- because `-MD' means `put the output
3249 # Copy depcomp to subdir because otherwise we won't find it if we're
3250 # using a relative directory.
3251 cp "$am_depcomp" conftest.dir
3253 # We will build objects and dependencies in a subdirectory because
3254 # it helps to detect inapplicable dependency modes. For instance
3255 # both Tru64's cc and ICC support -MD to output dependencies as a
3256 # side effect of compilation, but ICC will put the dependencies in
3257 # the current directory while Tru64 will put them in the object
3261 am_cv_CC_dependencies_compiler_type=none
3262 if test "$am_compiler_list" = ""; then
3263 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3265 for depmode in $am_compiler_list; do
3266 # Setup a source with many dependencies, because some compilers
3267 # like to wrap large dependency lists on column 80 (with \), and
3268 # we should not choose a depcomp mode which is confused by this.
3270 # We need to recreate these files for each test, as the compiler may
3271 # overwrite some of them when testing with obscure command lines.
3272 # This happens at least with the AIX C compiler.
3274 for i in 1 2 3 4 5 6; do
3275 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3276 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3277 # Solaris 8's {/usr,}/bin/sh.
3278 touch sub/conftst$i.h
3280 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3284 # after this tag, mechanisms are not by side-effect, so they'll
3285 # only be used when explicitly requested
3286 if test "x$enable_dependency_tracking" = xyes; then
3294 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3295 # mode. It turns out that the SunPro C++ compiler does not properly
3296 # handle `-M -o', and we need to detect this.
3297 if depmode=$depmode \
3298 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3299 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3300 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3301 >/dev/null 2>conftest.err &&
3302 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3303 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3304 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3305 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3306 # icc doesn't choke on unknown options, it will just issue warnings
3307 # or remarks (even with -Werror). So we grep stderr for any message
3308 # that says an option was ignored or not supported.
3309 # When given -MP, icc 7.0 and 7.1 complain thusly:
3310 # icc: Command line warning: ignoring option '-M'; no argument required
3311 # The diagnosis changed in icc 8.0:
3312 # icc: Command line remark: option '-MP' not supported
3313 if (grep 'ignoring option' conftest.err ||
3314 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3315 am_cv_CC_dependencies_compiler_type=$depmode
3324 am_cv_CC_dependencies_compiler_type=none
3328 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3329 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3330 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3333 test "x$enable_dependency_tracking" != xno \
3334 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3336 am__fastdepCC_FALSE='#'
3338 am__fastdepCC_TRUE='#'
3339 am__fastdepCC_FALSE=
3343 case $ac_cv_prog_cc_stdc in
3344 no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
3345 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3346 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
3347 if test "${ac_cv_prog_cc_c99+set}" = set; then
3348 echo $ECHO_N "(cached) $ECHO_C" >&6
3350 ac_cv_prog_cc_c99=no
3352 cat >conftest.$ac_ext <<_ACEOF
3355 cat confdefs.h >>conftest.$ac_ext
3356 cat >>conftest.$ac_ext <<_ACEOF
3357 /* end confdefs.h. */
3359 #include <stdbool.h>
3364 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3365 #define debug(...) fprintf (stderr, __VA_ARGS__)
3366 #define showlist(...) puts (#__VA_ARGS__)
3367 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3369 test_varargs_macros (void)
3374 debug ("X = %d\n", x);
3375 showlist (The first, second, and third items.);
3376 report (x>y, "x is %d but y is %d", x, y);
3379 // Check long long types.
3380 #define BIG64 18446744073709551615ull
3381 #define BIG32 4294967295ul
3382 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3384 your preprocessor is broken;
3388 your preprocessor is broken;
3390 static long long int bignum = -9223372036854775807LL;
3391 static unsigned long long int ubignum = BIG64;
3393 struct incomplete_array
3401 const wchar_t *name;
3405 typedef const char *ccp;
3408 test_restrict (ccp restrict text)
3410 // See if C++-style comments work.
3411 // Iterate through items via the restricted pointer.
3412 // Also check for declarations in for loops.
3413 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3418 // Check varargs and va_copy.
3420 test_varargs (const char *format, ...)
3423 va_start (args, format);
3425 va_copy (args_copy, args);
3436 str = va_arg (args_copy, const char *);
3439 number = va_arg (args_copy, int);
3442 fnumber = va_arg (args_copy, double);
3457 _Bool success = false;
3460 if (test_restrict ("String literal") == 0)
3462 char *restrict newvar = "Another string";
3465 test_varargs ("s, d' f .", "string", 65, 34.234);
3466 test_varargs_macros ();
3468 // Check flexible array members.
3469 struct incomplete_array *ia =
3470 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3472 for (int i = 0; i < ia->datasize; ++i)
3473 ia->data[i] = i * 1.234;
3475 // Check named initializers.
3476 struct named_init ni = {
3478 .name = L"Test wide string",
3479 .average = 543.34343,
3484 int dynamic_array[ni.number];
3485 dynamic_array[ni.number - 1] = 543;
3487 // work around unused variable warnings
3488 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3489 || dynamic_array[ni.number - 1] != 543);
3495 for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
3497 CC="$ac_save_CC $ac_arg"
3498 rm -f conftest.$ac_objext
3499 if { (ac_try="$ac_compile"
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3505 (eval "$ac_compile") 2>conftest.er1
3507 grep -v '^ *+' conftest.er1 >conftest.err
3509 cat conftest.err >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } && {
3512 test -z "$ac_c_werror_flag" ||
3513 test ! -s conftest.err
3514 } && test -s conftest.$ac_objext; then
3515 ac_cv_prog_cc_c99=$ac_arg
3517 echo "$as_me: failed program was:" >&5
3518 sed 's/^/| /' conftest.$ac_ext >&5
3523 rm -f core conftest.err conftest.$ac_objext
3524 test "x$ac_cv_prog_cc_c99" != "xno" && break
3526 rm -f conftest.$ac_ext
3531 case "x$ac_cv_prog_cc_c99" in
3533 { echo "$as_me:$LINENO: result: none needed" >&5
3534 echo "${ECHO_T}none needed" >&6; } ;;
3536 { echo "$as_me:$LINENO: result: unsupported" >&5
3537 echo "${ECHO_T}unsupported" >&6; } ;;
3539 CC="$CC $ac_cv_prog_cc_c99"
3540 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3541 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3543 if test "x$ac_cv_prog_cc_c99" != xno; then
3544 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3546 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3547 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3548 if test "${ac_cv_prog_cc_c89+set}" = set; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 ac_cv_prog_cc_c89=no
3553 cat >conftest.$ac_ext <<_ACEOF
3556 cat confdefs.h >>conftest.$ac_ext
3557 cat >>conftest.$ac_ext <<_ACEOF
3558 /* end confdefs.h. */
3561 #include <sys/types.h>
3562 #include <sys/stat.h>
3563 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3564 struct buf { int x; };
3565 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3566 static char *e (p, i)
3572 static char *f (char * (*g) (char **, int), char **p, ...)
3577 s = g (p, va_arg (v,int));
3582 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3583 function prototypes and stuff, but not '\xHH' hex character constants.
3584 These don't provoke an error unfortunately, instead are silently treated
3585 as 'x'. The following induces an error, until -std is added to get
3586 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3587 array size at least. It's necessary to write '\x00'==0 to get something
3588 that's true only with -std. */
3589 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3591 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3592 inside strings and character constants. */
3594 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3596 int test (int i, double x);
3597 struct s1 {int (*f) (int a);};
3598 struct s2 {int (*f) (double a);};
3599 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3605 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3610 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3611 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3613 CC="$ac_save_CC $ac_arg"
3614 rm -f conftest.$ac_objext
3615 if { (ac_try="$ac_compile"
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3621 (eval "$ac_compile") 2>conftest.er1
3623 grep -v '^ *+' conftest.er1 >conftest.err
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } && {
3628 test -z "$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3630 } && test -s conftest.$ac_objext; then
3631 ac_cv_prog_cc_c89=$ac_arg
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3639 rm -f core conftest.err conftest.$ac_objext
3640 test "x$ac_cv_prog_cc_c89" != "xno" && break
3642 rm -f conftest.$ac_ext
3647 case "x$ac_cv_prog_cc_c89" in
3649 { echo "$as_me:$LINENO: result: none needed" >&5
3650 echo "${ECHO_T}none needed" >&6; } ;;
3652 { echo "$as_me:$LINENO: result: unsupported" >&5
3653 echo "${ECHO_T}unsupported" >&6; } ;;
3655 CC="$CC $ac_cv_prog_cc_c89"
3656 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3657 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3659 if test "x$ac_cv_prog_cc_c89" != xno; then
3660 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3662 ac_cv_prog_cc_stdc=no
3670 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3671 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3672 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3676 case $ac_cv_prog_cc_stdc in
3677 no) { echo "$as_me:$LINENO: result: unsupported" >&5
3678 echo "${ECHO_T}unsupported" >&6; } ;;
3679 '') { echo "$as_me:$LINENO: result: none needed" >&5
3680 echo "${ECHO_T}none needed" >&6; } ;;
3681 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3682 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3686 if test "x$CC" != xcc; then
3687 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3688 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3690 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3691 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3693 set dummy $CC; ac_cc=`echo $2 |
3694 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3695 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3698 cat >conftest.$ac_ext <<_ACEOF
3701 cat confdefs.h >>conftest.$ac_ext
3702 cat >>conftest.$ac_ext <<_ACEOF
3703 /* end confdefs.h. */
3713 # Make sure it works both with $CC and with simple cc.
3714 # We do the test twice because some compilers refuse to overwrite an
3715 # existing .o file with -o, though they will create one.
3716 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3718 if { (case "(($ac_try" in
3719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3720 *) ac_try_echo=$ac_try;;
3722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3723 (eval "$ac_try") 2>&5
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); } &&
3727 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3729 *) ac_try_echo=$ac_try;;
3731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3732 (eval "$ac_try") 2>&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); };
3737 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3738 if test "x$CC" != xcc; then
3739 # Test first that cc exists at all.
3740 if { ac_try='cc -c conftest.$ac_ext >&5'
3741 { (case "(($ac_try" in
3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743 *) ac_try_echo=$ac_try;;
3745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3746 (eval "$ac_try") 2>&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); }; }; then
3750 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3752 if { (case "(($ac_try" in
3753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754 *) ac_try_echo=$ac_try;;
3756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3757 (eval "$ac_try") 2>&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); } &&
3761 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3763 *) ac_try_echo=$ac_try;;
3765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3766 (eval "$ac_try") 2>&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); };
3774 # cc exists but doesn't like -o.
3775 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3780 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3782 rm -f core conftest*
3785 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3786 { echo "$as_me:$LINENO: result: yes" >&5
3787 echo "${ECHO_T}yes" >&6; }
3789 { echo "$as_me:$LINENO: result: no" >&5
3790 echo "${ECHO_T}no" >&6; }
3792 cat >>confdefs.h <<\_ACEOF
3793 #define NO_MINUS_C_MINUS_O 1
3798 # FIXME: we rely on the cache variable name because
3799 # there is no other way.
3801 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3802 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3803 # Losing compiler, so override with the script.
3804 # FIXME: It is wrong to rewrite CC.
3805 # But if we don't then we get into trouble of one sort or another.
3806 # A longer-term fix would be to have automake use am__CC in this case,
3807 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3808 CC="$am_aux_dir/compile $CC"
3813 ac_cpp='$CPP $CPPFLAGS'
3814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3817 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3818 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3819 # On Suns, sometimes $CPP names a directory.
3820 if test -n "$CPP" && test -d "$CPP"; then
3823 if test -z "$CPP"; then
3824 if test "${ac_cv_prog_CPP+set}" = set; then
3825 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 # Double quotes because CPP needs to be expanded
3828 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3831 for ac_c_preproc_warn_flag in '' yes
3833 # Use a header file that comes with gcc, so configuring glibc
3834 # with a fresh cross-compiler works.
3835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3836 # <limits.h> exists even on freestanding compilers.
3837 # On the NeXT, cc -E runs the code through the compiler's parser,
3838 # not just through cpp. "Syntax error" is here to catch this case.
3839 cat >conftest.$ac_ext <<_ACEOF
3842 cat confdefs.h >>conftest.$ac_ext
3843 cat >>conftest.$ac_ext <<_ACEOF
3844 /* end confdefs.h. */
3846 # include <limits.h>
3848 # include <assert.h>
3852 if { (ac_try="$ac_cpp conftest.$ac_ext"
3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3858 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3860 grep -v '^ *+' conftest.er1 >conftest.err
3862 cat conftest.err >&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); } >/dev/null && {
3865 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3866 test ! -s conftest.err
3870 echo "$as_me: failed program was:" >&5
3871 sed 's/^/| /' conftest.$ac_ext >&5
3873 # Broken: fails on valid input.
3877 rm -f conftest.err conftest.$ac_ext
3879 # OK, works on sane cases. Now check whether nonexistent headers
3880 # can be detected and how.
3881 cat >conftest.$ac_ext <<_ACEOF
3884 cat confdefs.h >>conftest.$ac_ext
3885 cat >>conftest.$ac_ext <<_ACEOF
3886 /* end confdefs.h. */
3887 #include <ac_nonexistent.h>
3889 if { (ac_try="$ac_cpp conftest.$ac_ext"
3891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892 *) ac_try_echo=$ac_try;;
3894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3895 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3897 grep -v '^ *+' conftest.er1 >conftest.err
3899 cat conftest.err >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); } >/dev/null && {
3902 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3903 test ! -s conftest.err
3905 # Broken: success on invalid input.
3908 echo "$as_me: failed program was:" >&5
3909 sed 's/^/| /' conftest.$ac_ext >&5
3911 # Passes both tests.
3916 rm -f conftest.err conftest.$ac_ext
3919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3920 rm -f conftest.err conftest.$ac_ext
3921 if $ac_preproc_ok; then
3933 { echo "$as_me:$LINENO: result: $CPP" >&5
3934 echo "${ECHO_T}$CPP" >&6; }
3936 for ac_c_preproc_warn_flag in '' yes
3938 # Use a header file that comes with gcc, so configuring glibc
3939 # with a fresh cross-compiler works.
3940 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3941 # <limits.h> exists even on freestanding compilers.
3942 # On the NeXT, cc -E runs the code through the compiler's parser,
3943 # not just through cpp. "Syntax error" is here to catch this case.
3944 cat >conftest.$ac_ext <<_ACEOF
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3951 # include <limits.h>
3953 # include <assert.h>
3957 if { (ac_try="$ac_cpp conftest.$ac_ext"
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3965 grep -v '^ *+' conftest.er1 >conftest.err
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } >/dev/null && {
3970 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3971 test ! -s conftest.err
3975 echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.$ac_ext >&5
3978 # Broken: fails on valid input.
3982 rm -f conftest.err conftest.$ac_ext
3984 # OK, works on sane cases. Now check whether nonexistent headers
3985 # can be detected and how.
3986 cat >conftest.$ac_ext <<_ACEOF
3989 cat confdefs.h >>conftest.$ac_ext
3990 cat >>conftest.$ac_ext <<_ACEOF
3991 /* end confdefs.h. */
3992 #include <ac_nonexistent.h>
3994 if { (ac_try="$ac_cpp conftest.$ac_ext"
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4002 grep -v '^ *+' conftest.er1 >conftest.err
4004 cat conftest.err >&5
4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006 (exit $ac_status); } >/dev/null && {
4007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4008 test ! -s conftest.err
4010 # Broken: success on invalid input.
4013 echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.$ac_ext >&5
4016 # Passes both tests.
4021 rm -f conftest.err conftest.$ac_ext
4024 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4025 rm -f conftest.err conftest.$ac_ext
4026 if $ac_preproc_ok; then
4029 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4030 See \`config.log' for more details." >&5
4031 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4032 See \`config.log' for more details." >&2;}
4033 { (exit 1); exit 1; }; }
4037 ac_cpp='$CPP $CPPFLAGS'
4038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4042 if test -n "$ac_tool_prefix"; then
4043 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
4044 set dummy ${ac_tool_prefix}nm; ac_word=$2
4045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4047 if test "${ac_cv_prog_NM+set}" = set; then
4048 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 if test -n "$NM"; then
4051 ac_cv_prog_NM="$NM" # Let the user override the test.
4053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4057 test -z "$as_dir" && as_dir=.
4058 for ac_exec_ext in '' $ac_executable_extensions; do
4059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4060 ac_cv_prog_NM="${ac_tool_prefix}nm"
4061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4071 if test -n "$NM"; then
4072 { echo "$as_me:$LINENO: result: $NM" >&5
4073 echo "${ECHO_T}$NM" >&6; }
4075 { echo "$as_me:$LINENO: result: no" >&5
4076 echo "${ECHO_T}no" >&6; }
4081 if test -z "$ac_cv_prog_NM"; then
4083 # Extract the first word of "nm", so it can be a program name with args.
4084 set dummy nm; ac_word=$2
4085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4087 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 if test -n "$ac_ct_NM"; then
4091 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir=.
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4100 ac_cv_prog_ac_ct_NM="nm"
4101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4110 ac_ct_NM=$ac_cv_prog_ac_ct_NM
4111 if test -n "$ac_ct_NM"; then
4112 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
4113 echo "${ECHO_T}$ac_ct_NM" >&6; }
4115 { echo "$as_me:$LINENO: result: no" >&5
4116 echo "${ECHO_T}no" >&6; }
4119 if test "x$ac_ct_NM" = x; then
4122 case $cross_compiling:$ac_tool_warned in
4124 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4125 whose name does not start with the host triplet. If you think this
4126 configuration is useful to you, please write to autoconf@gnu.org." >&5
4127 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4128 whose name does not start with the host triplet. If you think this
4129 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4130 ac_tool_warned=yes ;;
4138 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4139 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4141 if test "$LN_S" = "ln -s"; then
4142 { echo "$as_me:$LINENO: result: yes" >&5
4143 echo "${ECHO_T}yes" >&6; }
4145 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4146 echo "${ECHO_T}no, using $LN_S" >&6; }
4149 if test -n "$ac_tool_prefix"; then
4150 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4151 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4154 if test "${ac_cv_prog_RANLIB+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 if test -n "$RANLIB"; then
4158 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4164 test -z "$as_dir" && as_dir=.
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4167 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4177 RANLIB=$ac_cv_prog_RANLIB
4178 if test -n "$RANLIB"; then
4179 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4180 echo "${ECHO_T}$RANLIB" >&6; }
4182 { echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6; }
4188 if test -z "$ac_cv_prog_RANLIB"; then
4189 ac_ct_RANLIB=$RANLIB
4190 # Extract the first word of "ranlib", so it can be a program name with args.
4191 set dummy ranlib; ac_word=$2
4192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4194 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 if test -n "$ac_ct_RANLIB"; then
4198 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4204 test -z "$as_dir" && as_dir=.
4205 for ac_exec_ext in '' $ac_executable_extensions; do
4206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4207 ac_cv_prog_ac_ct_RANLIB="ranlib"
4208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4217 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4218 if test -n "$ac_ct_RANLIB"; then
4219 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4220 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4222 { echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6; }
4226 if test "x$ac_ct_RANLIB" = x; then
4229 case $cross_compiling:$ac_tool_warned in
4231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4232 whose name does not start with the host triplet. If you think this
4233 configuration is useful to you, please write to autoconf@gnu.org." >&5
4234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4235 whose name does not start with the host triplet. If you think this
4236 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4237 ac_tool_warned=yes ;;
4239 RANLIB=$ac_ct_RANLIB
4242 RANLIB="$ac_cv_prog_RANLIB"
4245 { echo "$as_me:$LINENO: checking for a POSIX-compliant shell" >&5
4246 echo $ECHO_N "checking for a POSIX-compliant shell... $ECHO_C" >&6; }
4247 if test "${ac_cv_path_shell+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 # Test the noclobber option, using the portable POSIX.2 syntax.
4255 >|conftest.c || exit
4256 !>conftest.c || exit
4263 if ("$SHELL" -c "$ac_command") 2>/dev/null; then
4264 ac_cv_path_shell=$SHELL
4268 case $ac_cv_path_shell in
4270 # Prefer shells that are more likely to be installed in the
4271 # same place on all hosts of this platform. Therefore, prefer
4272 # shells in /bin and /usr/bin to shells in the installer's
4273 # PATH. Also, loop through PATH first and then through
4274 # shells, since less-"nice" shells in /bin and /usr/bin are
4275 # more likely to be installed than "nicer" shells elsewhere.
4276 as_save_IFS=$IFS; IFS=:
4277 for as_dir in /bin /usr/bin $PATH
4282 for ac_base in sh bash ksh sh5; do
4284 if ("$as_dir/$ac_base" -c "$ac_command") 2>/dev/null; then
4285 ac_cv_path_shell=$as_dir/$ac_base
4289 case $ac_cv_path_shell in
4298 { echo "$as_me:$LINENO: result: $ac_cv_path_shell" >&5
4299 echo "${ECHO_T}$ac_cv_path_shell" >&6; }
4300 SHELL=$ac_cv_path_shell
4301 if test "$SHELL" = no; then
4303 { echo "$as_me:$LINENO: WARNING: using $SHELL, even though it does not conform to POSIX" >&5
4304 echo "$as_me: WARNING: using $SHELL, even though it does not conform to POSIX" >&2;}
4309 cat >>confdefs.h <<\_ACEOF
4310 #define _GNU_SOURCE 1
4316 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4317 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4318 if test "${ac_cv_path_GREP+set}" = set; then
4319 echo $ECHO_N "(cached) $ECHO_C" >&6
4321 # Extract the first word of "grep ggrep" to use in msg output
4322 if test -z "$GREP"; then
4323 set dummy grep ggrep; ac_prog_name=$2
4324 if test "${ac_cv_path_GREP+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 ac_path_GREP_found=false
4328 # Loop through the user's path and test for each of PROGNAME-LIST
4329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4330 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4333 test -z "$as_dir" && as_dir=.
4334 for ac_prog in grep ggrep; do
4335 for ac_exec_ext in '' $ac_executable_extensions; do
4336 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4337 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4338 # Check for GNU ac_path_GREP and select it if it is found.
4339 # Check for GNU $ac_path_GREP
4340 case `"$ac_path_GREP" --version 2>&1` in
4342 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4345 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4348 cat "conftest.in" "conftest.in" >"conftest.tmp"
4349 mv "conftest.tmp" "conftest.in"
4350 cp "conftest.in" "conftest.nl"
4351 echo 'GREP' >> "conftest.nl"
4352 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4353 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4354 ac_count=`expr $ac_count + 1`
4355 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4356 # Best one so far, save it but keep looking for a better one
4357 ac_cv_path_GREP="$ac_path_GREP"
4358 ac_path_GREP_max=$ac_count
4360 # 10*(2^10) chars as input seems more than enough
4361 test $ac_count -gt 10 && break
4363 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4367 $ac_path_GREP_found && break 3
4377 GREP="$ac_cv_path_GREP"
4378 if test -z "$GREP"; then
4379 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4380 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4381 { (exit 1); exit 1; }; }
4385 ac_cv_path_GREP=$GREP
4390 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4391 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4392 GREP="$ac_cv_path_GREP"
4395 { echo "$as_me:$LINENO: checking for egrep" >&5
4396 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4397 if test "${ac_cv_path_EGREP+set}" = set; then
4398 echo $ECHO_N "(cached) $ECHO_C" >&6
4400 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4401 then ac_cv_path_EGREP="$GREP -E"
4403 # Extract the first word of "egrep" to use in msg output
4404 if test -z "$EGREP"; then
4405 set dummy egrep; ac_prog_name=$2
4406 if test "${ac_cv_path_EGREP+set}" = set; then
4407 echo $ECHO_N "(cached) $ECHO_C" >&6
4409 ac_path_EGREP_found=false
4410 # Loop through the user's path and test for each of PROGNAME-LIST
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4415 test -z "$as_dir" && as_dir=.
4416 for ac_prog in egrep; do
4417 for ac_exec_ext in '' $ac_executable_extensions; do
4418 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4419 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4420 # Check for GNU ac_path_EGREP and select it if it is found.
4421 # Check for GNU $ac_path_EGREP
4422 case `"$ac_path_EGREP" --version 2>&1` in
4424 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4427 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4430 cat "conftest.in" "conftest.in" >"conftest.tmp"
4431 mv "conftest.tmp" "conftest.in"
4432 cp "conftest.in" "conftest.nl"
4433 echo 'EGREP' >> "conftest.nl"
4434 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4435 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4436 ac_count=`expr $ac_count + 1`
4437 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4438 # Best one so far, save it but keep looking for a better one
4439 ac_cv_path_EGREP="$ac_path_EGREP"
4440 ac_path_EGREP_max=$ac_count
4442 # 10*(2^10) chars as input seems more than enough
4443 test $ac_count -gt 10 && break
4445 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4449 $ac_path_EGREP_found && break 3
4459 EGREP="$ac_cv_path_EGREP"
4460 if test -z "$EGREP"; then
4461 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4462 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4463 { (exit 1); exit 1; }; }
4467 ac_cv_path_EGREP=$EGREP
4473 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4474 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4475 EGREP="$ac_cv_path_EGREP"
4479 { echo "$as_me:$LINENO: checking for AIX" >&5
4480 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
4481 cat >conftest.$ac_ext <<_ACEOF
4484 cat confdefs.h >>conftest.$ac_ext
4485 cat >>conftest.$ac_ext <<_ACEOF
4486 /* end confdefs.h. */
4492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4493 $EGREP "yes" >/dev/null 2>&1; then
4494 { echo "$as_me:$LINENO: result: yes" >&5
4495 echo "${ECHO_T}yes" >&6; }
4496 cat >>confdefs.h <<\_ACEOF
4497 #define _ALL_SOURCE 1
4501 { echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6; }
4507 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4508 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4509 if test "${ac_cv_header_stdc+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 cat >conftest.$ac_ext <<_ACEOF
4515 cat confdefs.h >>conftest.$ac_ext
4516 cat >>conftest.$ac_ext <<_ACEOF
4517 /* end confdefs.h. */
4531 rm -f conftest.$ac_objext
4532 if { (ac_try="$ac_compile"
4534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4535 *) ac_try_echo=$ac_try;;
4537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4538 (eval "$ac_compile") 2>conftest.er1
4540 grep -v '^ *+' conftest.er1 >conftest.err
4542 cat conftest.err >&5
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); } && {
4545 test -z "$ac_c_werror_flag" ||
4546 test ! -s conftest.err
4547 } && test -s conftest.$ac_objext; then
4548 ac_cv_header_stdc=yes
4550 echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.$ac_ext >&5
4553 ac_cv_header_stdc=no
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 if test $ac_cv_header_stdc = yes; then
4559 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4560 cat >conftest.$ac_ext <<_ACEOF
4563 cat confdefs.h >>conftest.$ac_ext
4564 cat >>conftest.$ac_ext <<_ACEOF
4565 /* end confdefs.h. */
4569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4570 $EGREP "memchr" >/dev/null 2>&1; then
4573 ac_cv_header_stdc=no
4579 if test $ac_cv_header_stdc = yes; then
4580 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4581 cat >conftest.$ac_ext <<_ACEOF
4584 cat confdefs.h >>conftest.$ac_ext
4585 cat >>conftest.$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4591 $EGREP "free" >/dev/null 2>&1; then
4594 ac_cv_header_stdc=no
4600 if test $ac_cv_header_stdc = yes; then
4601 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4602 if test "$cross_compiling" = yes; then
4605 cat >conftest.$ac_ext <<_ACEOF
4608 cat confdefs.h >>conftest.$ac_ext
4609 cat >>conftest.$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4613 #if ((' ' & 0x0FF) == 0x020)
4614 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4615 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4617 # define ISLOWER(c) \
4618 (('a' <= (c) && (c) <= 'i') \
4619 || ('j' <= (c) && (c) <= 'r') \
4620 || ('s' <= (c) && (c) <= 'z'))
4621 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4624 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4629 for (i = 0; i < 256; i++)
4630 if (XOR (islower (i), ISLOWER (i))
4631 || toupper (i) != TOUPPER (i))
4636 rm -f conftest$ac_exeext
4637 if { (ac_try="$ac_link"
4639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4640 *) ac_try_echo=$ac_try;;
4642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4643 (eval "$ac_link") 2>&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4647 { (case "(($ac_try" in
4648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4649 *) ac_try_echo=$ac_try;;
4651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4652 (eval "$ac_try") 2>&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); }; }; then
4658 echo "$as_me: program exited with status $ac_status" >&5
4659 echo "$as_me: failed program was:" >&5
4660 sed 's/^/| /' conftest.$ac_ext >&5
4663 ac_cv_header_stdc=no
4665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4671 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4672 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4673 if test $ac_cv_header_stdc = yes; then
4675 cat >>confdefs.h <<\_ACEOF
4676 #define STDC_HEADERS 1
4681 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4691 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4692 inttypes.h stdint.h unistd.h
4694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4695 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4697 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4698 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 cat >conftest.$ac_ext <<_ACEOF
4703 cat confdefs.h >>conftest.$ac_ext
4704 cat >>conftest.$ac_ext <<_ACEOF
4705 /* end confdefs.h. */
4706 $ac_includes_default
4708 #include <$ac_header>
4710 rm -f conftest.$ac_objext
4711 if { (ac_try="$ac_compile"
4713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4714 *) ac_try_echo=$ac_try;;
4716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4717 (eval "$ac_compile") 2>conftest.er1
4719 grep -v '^ *+' conftest.er1 >conftest.err
4721 cat conftest.err >&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); } && {
4724 test -z "$ac_c_werror_flag" ||
4725 test ! -s conftest.err
4726 } && test -s conftest.$ac_objext; then
4727 eval "$as_ac_Header=yes"
4729 echo "$as_me: failed program was:" >&5
4730 sed 's/^/| /' conftest.$ac_ext >&5
4732 eval "$as_ac_Header=no"
4735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737 ac_res=`eval echo '${'$as_ac_Header'}'`
4738 { echo "$as_me:$LINENO: result: $ac_res" >&5
4739 echo "${ECHO_T}$ac_res" >&6; }
4740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4741 cat >>confdefs.h <<_ACEOF
4742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4750 if test "${ac_cv_header_minix_config_h+set}" = set; then
4751 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4752 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4753 if test "${ac_cv_header_minix_config_h+set}" = set; then
4754 echo $ECHO_N "(cached) $ECHO_C" >&6
4756 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4757 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4759 # Is the header compilable?
4760 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4761 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4762 cat >conftest.$ac_ext <<_ACEOF
4765 cat confdefs.h >>conftest.$ac_ext
4766 cat >>conftest.$ac_ext <<_ACEOF
4767 /* end confdefs.h. */
4768 $ac_includes_default
4769 #include <minix/config.h>
4771 rm -f conftest.$ac_objext
4772 if { (ac_try="$ac_compile"
4774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4775 *) ac_try_echo=$ac_try;;
4777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4778 (eval "$ac_compile") 2>conftest.er1
4780 grep -v '^ *+' conftest.er1 >conftest.err
4782 cat conftest.err >&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); } && {
4785 test -z "$ac_c_werror_flag" ||
4786 test ! -s conftest.err
4787 } && test -s conftest.$ac_objext; then
4788 ac_header_compiler=yes
4790 echo "$as_me: failed program was:" >&5
4791 sed 's/^/| /' conftest.$ac_ext >&5
4793 ac_header_compiler=no
4796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4797 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4798 echo "${ECHO_T}$ac_header_compiler" >&6; }
4800 # Is the header present?
4801 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4802 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4803 cat >conftest.$ac_ext <<_ACEOF
4806 cat confdefs.h >>conftest.$ac_ext
4807 cat >>conftest.$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4809 #include <minix/config.h>
4811 if { (ac_try="$ac_cpp conftest.$ac_ext"
4813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4814 *) ac_try_echo=$ac_try;;
4816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4819 grep -v '^ *+' conftest.er1 >conftest.err
4821 cat conftest.err >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); } >/dev/null && {
4824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4825 test ! -s conftest.err
4827 ac_header_preproc=yes
4829 echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.$ac_ext >&5
4832 ac_header_preproc=no
4835 rm -f conftest.err conftest.$ac_ext
4836 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4837 echo "${ECHO_T}$ac_header_preproc" >&6; }
4839 # So? What about this header?
4840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4842 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4843 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4844 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4845 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4846 ac_header_preproc=yes
4849 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4850 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4851 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4852 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4853 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4854 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4855 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4856 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4857 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4858 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4859 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4860 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4862 ## ------------------------------- ##
4863 ## Report this to bug-gzip@gnu.org ##
4864 ## ------------------------------- ##
4866 ) | sed "s/^/$as_me: WARNING: /" >&2
4869 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4870 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4871 if test "${ac_cv_header_minix_config_h+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4874 ac_cv_header_minix_config_h=$ac_header_preproc
4876 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4877 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4880 if test $ac_cv_header_minix_config_h = yes; then
4887 if test "$MINIX" = yes; then
4889 cat >>confdefs.h <<\_ACEOF
4890 #define _POSIX_SOURCE 1
4894 cat >>confdefs.h <<\_ACEOF
4895 #define _POSIX_1_SOURCE 2
4899 cat >>confdefs.h <<\_ACEOF
4915 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4916 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4917 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4918 echo $ECHO_N "(cached) $ECHO_C" >&6
4920 cat >conftest.$ac_ext <<_ACEOF
4923 cat confdefs.h >>conftest.$ac_ext
4924 cat >>conftest.$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4927 # define __EXTENSIONS__ 1
4928 $ac_includes_default
4937 rm -f conftest.$ac_objext
4938 if { (ac_try="$ac_compile"
4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4941 *) ac_try_echo=$ac_try;;
4943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4944 (eval "$ac_compile") 2>conftest.er1
4946 grep -v '^ *+' conftest.er1 >conftest.err
4948 cat conftest.err >&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); } && {
4951 test -z "$ac_c_werror_flag" ||
4952 test ! -s conftest.err
4953 } && test -s conftest.$ac_objext; then
4954 ac_cv_safe_to_define___extensions__=yes
4956 echo "$as_me: failed program was:" >&5
4957 sed 's/^/| /' conftest.$ac_ext >&5
4959 ac_cv_safe_to_define___extensions__=no
4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4964 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4965 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4966 test $ac_cv_safe_to_define___extensions__ = yes &&
4967 cat >>confdefs.h <<\_ACEOF
4968 #define __EXTENSIONS__ 1
4971 cat >>confdefs.h <<\_ACEOF
4972 #define _POSIX_PTHREAD_SEMANTICS 1
4975 cat >>confdefs.h <<\_ACEOF
4976 #define _TANDEM_SOURCE 1
4986 # Check whether --enable-largefile was given.
4987 if test "${enable_largefile+set}" = set; then
4988 enableval=$enable_largefile;
4991 if test "$enable_largefile" != no; then
4993 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4994 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
4995 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4996 echo $ECHO_N "(cached) $ECHO_C" >&6
4998 ac_cv_sys_largefile_CC=no
4999 if test "$GCC" != yes; then
5002 # IRIX 6.2 and later do not support large files by default,
5003 # so use the C compiler's -n32 option if that helps.
5004 cat >conftest.$ac_ext <<_ACEOF
5007 cat confdefs.h >>conftest.$ac_ext
5008 cat >>conftest.$ac_ext <<_ACEOF
5009 /* end confdefs.h. */
5010 #include <sys/types.h>
5011 /* Check that off_t can represent 2**63 - 1 correctly.
5012 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5013 since some C++ compilers masquerading as C compilers
5014 incorrectly reject 9223372036854775807. */
5015 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5016 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5017 && LARGE_OFF_T % 2147483647 == 1)
5027 rm -f conftest.$ac_objext
5028 if { (ac_try="$ac_compile"
5030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5031 *) ac_try_echo=$ac_try;;
5033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5034 (eval "$ac_compile") 2>conftest.er1
5036 grep -v '^ *+' conftest.er1 >conftest.err
5038 cat conftest.err >&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); } && {
5041 test -z "$ac_c_werror_flag" ||
5042 test ! -s conftest.err
5043 } && test -s conftest.$ac_objext; then
5046 echo "$as_me: failed program was:" >&5
5047 sed 's/^/| /' conftest.$ac_ext >&5
5052 rm -f core conftest.err conftest.$ac_objext
5054 rm -f conftest.$ac_objext
5055 if { (ac_try="$ac_compile"
5057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5058 *) ac_try_echo=$ac_try;;
5060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5061 (eval "$ac_compile") 2>conftest.er1
5063 grep -v '^ *+' conftest.er1 >conftest.err
5065 cat conftest.err >&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); } && {
5068 test -z "$ac_c_werror_flag" ||
5069 test ! -s conftest.err
5070 } && test -s conftest.$ac_objext; then
5071 ac_cv_sys_largefile_CC=' -n32'; break
5073 echo "$as_me: failed program was:" >&5
5074 sed 's/^/| /' conftest.$ac_ext >&5
5079 rm -f core conftest.err conftest.$ac_objext
5083 rm -f conftest.$ac_ext
5086 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5087 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
5088 if test "$ac_cv_sys_largefile_CC" != no; then
5089 CC=$CC$ac_cv_sys_largefile_CC
5092 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5093 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
5094 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5095 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 cat >conftest.$ac_ext <<_ACEOF
5101 cat confdefs.h >>conftest.$ac_ext
5102 cat >>conftest.$ac_ext <<_ACEOF
5103 /* end confdefs.h. */
5104 #include <sys/types.h>
5105 /* Check that off_t can represent 2**63 - 1 correctly.
5106 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5107 since some C++ compilers masquerading as C compilers
5108 incorrectly reject 9223372036854775807. */
5109 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5110 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5111 && LARGE_OFF_T % 2147483647 == 1)
5121 rm -f conftest.$ac_objext
5122 if { (ac_try="$ac_compile"
5124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5125 *) ac_try_echo=$ac_try;;
5127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5128 (eval "$ac_compile") 2>conftest.er1
5130 grep -v '^ *+' conftest.er1 >conftest.err
5132 cat conftest.err >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); } && {
5135 test -z "$ac_c_werror_flag" ||
5136 test ! -s conftest.err
5137 } && test -s conftest.$ac_objext; then
5138 ac_cv_sys_file_offset_bits=no; break
5140 echo "$as_me: failed program was:" >&5
5141 sed 's/^/| /' conftest.$ac_ext >&5
5146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5147 cat >conftest.$ac_ext <<_ACEOF
5150 cat confdefs.h >>conftest.$ac_ext
5151 cat >>conftest.$ac_ext <<_ACEOF
5152 /* end confdefs.h. */
5153 #define _FILE_OFFSET_BITS 64
5154 #include <sys/types.h>
5155 /* Check that off_t can represent 2**63 - 1 correctly.
5156 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5157 since some C++ compilers masquerading as C compilers
5158 incorrectly reject 9223372036854775807. */
5159 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5160 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5161 && LARGE_OFF_T % 2147483647 == 1)
5171 rm -f conftest.$ac_objext
5172 if { (ac_try="$ac_compile"
5174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5175 *) ac_try_echo=$ac_try;;
5177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5178 (eval "$ac_compile") 2>conftest.er1
5180 grep -v '^ *+' conftest.er1 >conftest.err
5182 cat conftest.err >&5
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184 (exit $ac_status); } && {
5185 test -z "$ac_c_werror_flag" ||
5186 test ! -s conftest.err
5187 } && test -s conftest.$ac_objext; then
5188 ac_cv_sys_file_offset_bits=64; break
5190 echo "$as_me: failed program was:" >&5
5191 sed 's/^/| /' conftest.$ac_ext >&5
5196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5197 ac_cv_sys_file_offset_bits=unknown
5201 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5202 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
5203 case $ac_cv_sys_file_offset_bits in #(
5206 cat >>confdefs.h <<_ACEOF
5207 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5212 if test $ac_cv_sys_file_offset_bits = unknown; then
5213 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5214 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
5215 if test "${ac_cv_sys_large_files+set}" = set; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5219 cat >conftest.$ac_ext <<_ACEOF
5222 cat confdefs.h >>conftest.$ac_ext
5223 cat >>conftest.$ac_ext <<_ACEOF
5224 /* end confdefs.h. */
5225 #include <sys/types.h>
5226 /* Check that off_t can represent 2**63 - 1 correctly.
5227 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5228 since some C++ compilers masquerading as C compilers
5229 incorrectly reject 9223372036854775807. */
5230 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5231 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5232 && LARGE_OFF_T % 2147483647 == 1)
5242 rm -f conftest.$ac_objext
5243 if { (ac_try="$ac_compile"
5245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5246 *) ac_try_echo=$ac_try;;
5248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5249 (eval "$ac_compile") 2>conftest.er1
5251 grep -v '^ *+' conftest.er1 >conftest.err
5253 cat conftest.err >&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); } && {
5256 test -z "$ac_c_werror_flag" ||
5257 test ! -s conftest.err
5258 } && test -s conftest.$ac_objext; then
5259 ac_cv_sys_large_files=no; break
5261 echo "$as_me: failed program was:" >&5
5262 sed 's/^/| /' conftest.$ac_ext >&5
5267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5268 cat >conftest.$ac_ext <<_ACEOF
5271 cat confdefs.h >>conftest.$ac_ext
5272 cat >>conftest.$ac_ext <<_ACEOF
5273 /* end confdefs.h. */
5274 #define _LARGE_FILES 1
5275 #include <sys/types.h>
5276 /* Check that off_t can represent 2**63 - 1 correctly.
5277 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5278 since some C++ compilers masquerading as C compilers
5279 incorrectly reject 9223372036854775807. */
5280 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5281 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5282 && LARGE_OFF_T % 2147483647 == 1)
5292 rm -f conftest.$ac_objext
5293 if { (ac_try="$ac_compile"
5295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5296 *) ac_try_echo=$ac_try;;
5298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5299 (eval "$ac_compile") 2>conftest.er1
5301 grep -v '^ *+' conftest.er1 >conftest.err
5303 cat conftest.err >&5
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); } && {
5306 test -z "$ac_c_werror_flag" ||
5307 test ! -s conftest.err
5308 } && test -s conftest.$ac_objext; then
5309 ac_cv_sys_large_files=1; break
5311 echo "$as_me: failed program was:" >&5
5312 sed 's/^/| /' conftest.$ac_ext >&5
5317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5318 ac_cv_sys_large_files=unknown
5322 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5323 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
5324 case $ac_cv_sys_large_files in #(
5327 cat >>confdefs.h <<_ACEOF
5328 #define _LARGE_FILES $ac_cv_sys_large_files
5337 { echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
5338 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6; }
5339 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 cat >conftest.$ac_ext <<_ACEOF
5345 cat confdefs.h >>conftest.$ac_ext
5346 cat >>conftest.$ac_ext <<_ACEOF
5347 /* end confdefs.h. */
5348 $ac_includes_default
5360 rm -f conftest.$ac_objext
5361 if { (ac_try="$ac_compile"
5363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5364 *) ac_try_echo=$ac_try;;
5366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5367 (eval "$ac_compile") 2>conftest.er1
5369 grep -v '^ *+' conftest.er1 >conftest.err
5371 cat conftest.err >&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); } && {
5374 test -z "$ac_c_werror_flag" ||
5375 test ! -s conftest.err
5376 } && test -s conftest.$ac_objext; then
5377 ac_cv_have_decl_strerror_r=yes
5379 echo "$as_me: failed program was:" >&5
5380 sed 's/^/| /' conftest.$ac_ext >&5
5382 ac_cv_have_decl_strerror_r=no
5385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5387 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
5388 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6; }
5389 if test $ac_cv_have_decl_strerror_r = yes; then
5391 cat >>confdefs.h <<_ACEOF
5392 #define HAVE_DECL_STRERROR_R 1
5397 cat >>confdefs.h <<_ACEOF
5398 #define HAVE_DECL_STRERROR_R 0
5406 for ac_func in strerror_r
5408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5409 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5411 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5412 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 cat >conftest.$ac_ext <<_ACEOF
5417 cat confdefs.h >>conftest.$ac_ext
5418 cat >>conftest.$ac_ext <<_ACEOF
5419 /* end confdefs.h. */
5420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5422 #define $ac_func innocuous_$ac_func
5424 /* System header to define __stub macros and hopefully few prototypes,
5425 which can conflict with char $ac_func (); below.
5426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5427 <limits.h> exists even on freestanding compilers. */
5430 # include <limits.h>
5432 # include <assert.h>
5437 /* Override any GCC internal prototype to avoid an error.
5438 Use char because int might match the return type of a GCC
5439 builtin and then its argument prototype would still apply. */
5444 /* The GNU C library defines this for functions which it implements
5445 to always fail with ENOSYS. Some functions are actually named
5446 something starting with __ and the normal name is an alias. */
5447 #if defined __stub_$ac_func || defined __stub___$ac_func
5459 rm -f conftest.$ac_objext conftest$ac_exeext
5460 if { (ac_try="$ac_link"
5462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5463 *) ac_try_echo=$ac_try;;
5465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5466 (eval "$ac_link") 2>conftest.er1
5468 grep -v '^ *+' conftest.er1 >conftest.err
5470 cat conftest.err >&5
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472 (exit $ac_status); } && {
5473 test -z "$ac_c_werror_flag" ||
5474 test ! -s conftest.err
5475 } && test -s conftest$ac_exeext &&
5476 $as_test_x conftest$ac_exeext; then
5477 eval "$as_ac_var=yes"
5479 echo "$as_me: failed program was:" >&5
5480 sed 's/^/| /' conftest.$ac_ext >&5
5482 eval "$as_ac_var=no"
5485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5486 conftest$ac_exeext conftest.$ac_ext
5488 ac_res=`eval echo '${'$as_ac_var'}'`
5489 { echo "$as_me:$LINENO: result: $ac_res" >&5
5490 echo "${ECHO_T}$ac_res" >&6; }
5491 if test `eval echo '${'$as_ac_var'}'` = yes; then
5492 cat >>confdefs.h <<_ACEOF
5493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5499 { echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
5500 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6; }
5501 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
5502 echo $ECHO_N "(cached) $ECHO_C" >&6
5505 ac_cv_func_strerror_r_char_p=no
5506 if test $ac_cv_have_decl_strerror_r = yes; then
5507 cat >conftest.$ac_ext <<_ACEOF
5510 cat confdefs.h >>conftest.$ac_ext
5511 cat >>conftest.$ac_ext <<_ACEOF
5512 /* end confdefs.h. */
5513 $ac_includes_default
5519 char x = *strerror_r (0, buf, sizeof buf);
5520 char *p = strerror_r (0, buf, sizeof buf);
5527 rm -f conftest.$ac_objext
5528 if { (ac_try="$ac_compile"
5530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5531 *) ac_try_echo=$ac_try;;
5533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5534 (eval "$ac_compile") 2>conftest.er1
5536 grep -v '^ *+' conftest.er1 >conftest.err
5538 cat conftest.err >&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); } && {
5541 test -z "$ac_c_werror_flag" ||
5542 test ! -s conftest.err
5543 } && test -s conftest.$ac_objext; then
5544 ac_cv_func_strerror_r_char_p=yes
5546 echo "$as_me: failed program was:" >&5
5547 sed 's/^/| /' conftest.$ac_ext >&5
5552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5554 # strerror_r is not declared. Choose between
5555 # systems that have relatively inaccessible declarations for the
5556 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
5557 # former has a strerror_r that returns char*, while the latter
5558 # has a strerror_r that returns `int'.
5559 # This test should segfault on the DEC system.
5560 if test "$cross_compiling" = yes; then
5563 cat >conftest.$ac_ext <<_ACEOF
5566 cat confdefs.h >>conftest.$ac_ext
5567 cat >>conftest.$ac_ext <<_ACEOF
5568 /* end confdefs.h. */
5569 $ac_includes_default
5570 extern char *strerror_r ();
5575 char x = *strerror_r (0, buf, sizeof buf);
5576 return ! isalpha (x);
5581 rm -f conftest$ac_exeext
5582 if { (ac_try="$ac_link"
5584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5585 *) ac_try_echo=$ac_try;;
5587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5588 (eval "$ac_link") 2>&5
5590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5592 { (case "(($ac_try" in
5593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5594 *) ac_try_echo=$ac_try;;
5596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5597 (eval "$ac_try") 2>&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; }; then
5601 ac_cv_func_strerror_r_char_p=yes
5603 echo "$as_me: program exited with status $ac_status" >&5
5604 echo "$as_me: failed program was:" >&5
5605 sed 's/^/| /' conftest.$ac_ext >&5
5608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5615 { echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
5616 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6; }
5617 if test $ac_cv_func_strerror_r_char_p = yes; then
5619 cat >>confdefs.h <<\_ACEOF
5620 #define STRERROR_R_CHAR_P 1
5629 for ac_header in $ac_header_list
5631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5638 ac_res=`eval echo '${'$as_ac_Header'}'`
5639 { echo "$as_me:$LINENO: result: $ac_res" >&5
5640 echo "${ECHO_T}$ac_res" >&6; }
5642 # Is the header compilable?
5643 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5645 cat >conftest.$ac_ext <<_ACEOF
5648 cat confdefs.h >>conftest.$ac_ext
5649 cat >>conftest.$ac_ext <<_ACEOF
5650 /* end confdefs.h. */
5651 $ac_includes_default
5652 #include <$ac_header>
5654 rm -f conftest.$ac_objext
5655 if { (ac_try="$ac_compile"
5657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5658 *) ac_try_echo=$ac_try;;
5660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5661 (eval "$ac_compile") 2>conftest.er1
5663 grep -v '^ *+' conftest.er1 >conftest.err
5665 cat conftest.err >&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); } && {
5668 test -z "$ac_c_werror_flag" ||
5669 test ! -s conftest.err
5670 } && test -s conftest.$ac_objext; then
5671 ac_header_compiler=yes
5673 echo "$as_me: failed program was:" >&5
5674 sed 's/^/| /' conftest.$ac_ext >&5
5676 ac_header_compiler=no
5679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5680 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5681 echo "${ECHO_T}$ac_header_compiler" >&6; }
5683 # Is the header present?
5684 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5686 cat >conftest.$ac_ext <<_ACEOF
5689 cat confdefs.h >>conftest.$ac_ext
5690 cat >>conftest.$ac_ext <<_ACEOF
5691 /* end confdefs.h. */
5692 #include <$ac_header>
5694 if { (ac_try="$ac_cpp conftest.$ac_ext"
5696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5700 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5702 grep -v '^ *+' conftest.er1 >conftest.err
5704 cat conftest.err >&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); } >/dev/null && {
5707 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5708 test ! -s conftest.err
5710 ac_header_preproc=yes
5712 echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.$ac_ext >&5
5715 ac_header_preproc=no
5718 rm -f conftest.err conftest.$ac_ext
5719 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5720 echo "${ECHO_T}$ac_header_preproc" >&6; }
5722 # So? What about this header?
5723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5728 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5729 ac_header_preproc=yes
5732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5736 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5737 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5738 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5739 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5742 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5745 ## ------------------------------- ##
5746 ## Report this to bug-gzip@gnu.org ##
5747 ## ------------------------------- ##
5749 ) | sed "s/^/$as_me: WARNING: /" >&2
5752 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5755 echo $ECHO_N "(cached) $ECHO_C" >&6
5757 eval "$as_ac_Header=\$ac_header_preproc"
5759 ac_res=`eval echo '${'$as_ac_Header'}'`
5760 { echo "$as_me:$LINENO: result: $ac_res" >&5
5761 echo "${ECHO_T}$ac_res" >&6; }
5764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5765 cat >>confdefs.h <<_ACEOF
5766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5776 if test -z "$GETOPT_H"; then
5778 for ac_header in getopt.h
5780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5782 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5785 echo $ECHO_N "(cached) $ECHO_C" >&6
5787 ac_res=`eval echo '${'$as_ac_Header'}'`
5788 { echo "$as_me:$LINENO: result: $ac_res" >&5
5789 echo "${ECHO_T}$ac_res" >&6; }
5791 # Is the header compilable?
5792 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5794 cat >conftest.$ac_ext <<_ACEOF
5797 cat confdefs.h >>conftest.$ac_ext
5798 cat >>conftest.$ac_ext <<_ACEOF
5799 /* end confdefs.h. */
5800 $ac_includes_default
5801 #include <$ac_header>
5803 rm -f conftest.$ac_objext
5804 if { (ac_try="$ac_compile"
5806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5807 *) ac_try_echo=$ac_try;;
5809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5810 (eval "$ac_compile") 2>conftest.er1
5812 grep -v '^ *+' conftest.er1 >conftest.err
5814 cat conftest.err >&5
5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 (exit $ac_status); } && {
5817 test -z "$ac_c_werror_flag" ||
5818 test ! -s conftest.err
5819 } && test -s conftest.$ac_objext; then
5820 ac_header_compiler=yes
5822 echo "$as_me: failed program was:" >&5
5823 sed 's/^/| /' conftest.$ac_ext >&5
5825 ac_header_compiler=no
5828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5829 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5830 echo "${ECHO_T}$ac_header_compiler" >&6; }
5832 # Is the header present?
5833 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5835 cat >conftest.$ac_ext <<_ACEOF
5838 cat confdefs.h >>conftest.$ac_ext
5839 cat >>conftest.$ac_ext <<_ACEOF
5840 /* end confdefs.h. */
5841 #include <$ac_header>
5843 if { (ac_try="$ac_cpp conftest.$ac_ext"
5845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5846 *) ac_try_echo=$ac_try;;
5848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5851 grep -v '^ *+' conftest.er1 >conftest.err
5853 cat conftest.err >&5
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); } >/dev/null && {
5856 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5857 test ! -s conftest.err
5859 ac_header_preproc=yes
5861 echo "$as_me: failed program was:" >&5
5862 sed 's/^/| /' conftest.$ac_ext >&5
5864 ac_header_preproc=no
5867 rm -f conftest.err conftest.$ac_ext
5868 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5869 echo "${ECHO_T}$ac_header_preproc" >&6; }
5871 # So? What about this header?
5872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5874 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5875 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5877 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5878 ac_header_preproc=yes
5881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5885 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5886 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5887 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5888 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5891 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5892 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5894 ## ------------------------------- ##
5895 ## Report this to bug-gzip@gnu.org ##
5896 ## ------------------------------- ##
5898 ) | sed "s/^/$as_me: WARNING: /" >&2
5901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5904 echo $ECHO_N "(cached) $ECHO_C" >&6
5906 eval "$as_ac_Header=\$ac_header_preproc"
5908 ac_res=`eval echo '${'$as_ac_Header'}'`
5909 { echo "$as_me:$LINENO: result: $ac_res" >&5
5910 echo "${ECHO_T}$ac_res" >&6; }
5913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5914 cat >>confdefs.h <<_ACEOF
5915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5926 if test -z "$GETOPT_H"; then
5928 for ac_func in getopt_long_only
5930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5931 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5933 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5934 echo $ECHO_N "(cached) $ECHO_C" >&6
5936 cat >conftest.$ac_ext <<_ACEOF
5939 cat confdefs.h >>conftest.$ac_ext
5940 cat >>conftest.$ac_ext <<_ACEOF
5941 /* end confdefs.h. */
5942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5944 #define $ac_func innocuous_$ac_func
5946 /* System header to define __stub macros and hopefully few prototypes,
5947 which can conflict with char $ac_func (); below.
5948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5949 <limits.h> exists even on freestanding compilers. */
5952 # include <limits.h>
5954 # include <assert.h>
5959 /* Override any GCC internal prototype to avoid an error.
5960 Use char because int might match the return type of a GCC
5961 builtin and then its argument prototype would still apply. */
5966 /* The GNU C library defines this for functions which it implements
5967 to always fail with ENOSYS. Some functions are actually named
5968 something starting with __ and the normal name is an alias. */
5969 #if defined __stub_$ac_func || defined __stub___$ac_func
5981 rm -f conftest.$ac_objext conftest$ac_exeext
5982 if { (ac_try="$ac_link"
5984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5985 *) ac_try_echo=$ac_try;;
5987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5988 (eval "$ac_link") 2>conftest.er1
5990 grep -v '^ *+' conftest.er1 >conftest.err
5992 cat conftest.err >&5
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } && {
5995 test -z "$ac_c_werror_flag" ||
5996 test ! -s conftest.err
5997 } && test -s conftest$ac_exeext &&
5998 $as_test_x conftest$ac_exeext; then
5999 eval "$as_ac_var=yes"
6001 echo "$as_me: failed program was:" >&5
6002 sed 's/^/| /' conftest.$ac_ext >&5
6004 eval "$as_ac_var=no"
6007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6008 conftest$ac_exeext conftest.$ac_ext
6010 ac_res=`eval echo '${'$as_ac_var'}'`
6011 { echo "$as_me:$LINENO: result: $ac_res" >&5
6012 echo "${ECHO_T}$ac_res" >&6; }
6013 if test `eval echo '${'$as_ac_var'}'` = yes; then
6014 cat >>confdefs.h <<_ACEOF
6015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6025 if test -z "$GETOPT_H"; then
6026 { echo "$as_me:$LINENO: checking whether optreset is declared" >&5
6027 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6; }
6028 if test "${ac_cv_have_decl_optreset+set}" = set; then
6029 echo $ECHO_N "(cached) $ECHO_C" >&6
6031 cat >conftest.$ac_ext <<_ACEOF
6034 cat confdefs.h >>conftest.$ac_ext
6035 cat >>conftest.$ac_ext <<_ACEOF
6036 /* end confdefs.h. */
6050 rm -f conftest.$ac_objext
6051 if { (ac_try="$ac_compile"
6053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6054 *) ac_try_echo=$ac_try;;
6056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6057 (eval "$ac_compile") 2>conftest.er1
6059 grep -v '^ *+' conftest.er1 >conftest.err
6061 cat conftest.err >&5
6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); } && {
6064 test -z "$ac_c_werror_flag" ||
6065 test ! -s conftest.err
6066 } && test -s conftest.$ac_objext; then
6067 ac_cv_have_decl_optreset=yes
6069 echo "$as_me: failed program was:" >&5
6070 sed 's/^/| /' conftest.$ac_ext >&5
6072 ac_cv_have_decl_optreset=no
6075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6077 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
6078 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6; }
6079 if test $ac_cv_have_decl_optreset = yes; then
6085 if test -z "$GETOPT_H"; then
6086 { echo "$as_me:$LINENO: checking for working GNU getopt function" >&5
6087 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6; }
6088 if test "${gl_cv_func_gnu_getopt+set}" = set; then
6089 echo $ECHO_N "(cached) $ECHO_C" >&6
6091 if test "$cross_compiling" = yes; then
6092 { echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
6093 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6; }
6094 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6097 cat >conftest.$ac_ext <<_ACEOF
6100 cat confdefs.h >>conftest.$ac_ext
6101 cat >>conftest.$ac_ext <<_ACEOF
6102 /* end confdefs.h. */
6116 rm -f conftest.$ac_objext
6117 if { (ac_try="$ac_compile"
6119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6120 *) ac_try_echo=$ac_try;;
6122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6123 (eval "$ac_compile") 2>conftest.er1
6125 grep -v '^ *+' conftest.er1 >conftest.err
6127 cat conftest.err >&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); } && {
6130 test -z "$ac_c_werror_flag" ||
6131 test ! -s conftest.err
6132 } && test -s conftest.$ac_objext; then
6133 ac_cv_have_decl_getopt_clip=yes
6135 echo "$as_me: failed program was:" >&5
6136 sed 's/^/| /' conftest.$ac_ext >&5
6138 ac_cv_have_decl_getopt_clip=no
6141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6143 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
6144 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6; }
6145 if test $ac_cv_have_decl_getopt_clip = yes; then
6146 gl_cv_func_gnu_getopt=no
6148 gl_cv_func_gnu_getopt=yes
6152 cat >conftest.$ac_ext <<_ACEOF
6155 cat confdefs.h >>conftest.$ac_ext
6156 cat >>conftest.$ac_ext <<_ACEOF
6157 /* end confdefs.h. */
6164 myargv[0] = "conftest";
6167 return getopt (2, myargv, "+a") != '?';
6173 rm -f conftest$ac_exeext
6174 if { (ac_try="$ac_link"
6176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6177 *) ac_try_echo=$ac_try;;
6179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6180 (eval "$ac_link") 2>&5
6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6184 { (case "(($ac_try" in
6185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6186 *) ac_try_echo=$ac_try;;
6188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6189 (eval "$ac_try") 2>&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; }; then
6193 gl_cv_func_gnu_getopt=yes
6195 echo "$as_me: program exited with status $ac_status" >&5
6196 echo "$as_me: failed program was:" >&5
6197 sed 's/^/| /' conftest.$ac_ext >&5
6200 gl_cv_func_gnu_getopt=no
6202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6207 { echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5
6208 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6; }
6209 if test "$gl_cv_func_gnu_getopt" = "no"; then
6214 { echo "$as_me:$LINENO: checking whether getenv is declared" >&5
6215 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
6216 if test "${ac_cv_have_decl_getenv+set}" = set; then
6217 echo $ECHO_N "(cached) $ECHO_C" >&6
6219 cat >conftest.$ac_ext <<_ACEOF
6222 cat confdefs.h >>conftest.$ac_ext
6223 cat >>conftest.$ac_ext <<_ACEOF
6224 /* end confdefs.h. */
6225 $ac_includes_default
6237 rm -f conftest.$ac_objext
6238 if { (ac_try="$ac_compile"
6240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6241 *) ac_try_echo=$ac_try;;
6243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6244 (eval "$ac_compile") 2>conftest.er1
6246 grep -v '^ *+' conftest.er1 >conftest.err
6248 cat conftest.err >&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); } && {
6251 test -z "$ac_c_werror_flag" ||
6252 test ! -s conftest.err
6253 } && test -s conftest.$ac_objext; then
6254 ac_cv_have_decl_getenv=yes
6256 echo "$as_me: failed program was:" >&5
6257 sed 's/^/| /' conftest.$ac_ext >&5
6259 ac_cv_have_decl_getenv=no
6262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6264 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
6265 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
6266 if test $ac_cv_have_decl_getenv = yes; then
6268 cat >>confdefs.h <<_ACEOF
6269 #define HAVE_DECL_GETENV 1
6274 cat >>confdefs.h <<_ACEOF
6275 #define HAVE_DECL_GETENV 0
6282 { echo "$as_me:$LINENO: checking for inline" >&5
6283 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
6284 if test "${ac_cv_c_inline+set}" = set; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6288 for ac_kw in inline __inline__ __inline; do
6289 cat >conftest.$ac_ext <<_ACEOF
6292 cat confdefs.h >>conftest.$ac_ext
6293 cat >>conftest.$ac_ext <<_ACEOF
6294 /* end confdefs.h. */
6297 static $ac_kw foo_t static_foo () {return 0; }
6298 $ac_kw foo_t foo () {return 0; }
6302 rm -f conftest.$ac_objext
6303 if { (ac_try="$ac_compile"
6305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6306 *) ac_try_echo=$ac_try;;
6308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6309 (eval "$ac_compile") 2>conftest.er1
6311 grep -v '^ *+' conftest.er1 >conftest.err
6313 cat conftest.err >&5
6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315 (exit $ac_status); } && {
6316 test -z "$ac_c_werror_flag" ||
6317 test ! -s conftest.err
6318 } && test -s conftest.$ac_objext; then
6319 ac_cv_c_inline=$ac_kw
6321 echo "$as_me: failed program was:" >&5
6322 sed 's/^/| /' conftest.$ac_ext >&5
6327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6328 test "$ac_cv_c_inline" != no && break
6332 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6333 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
6336 case $ac_cv_c_inline in
6339 case $ac_cv_c_inline in
6341 *) ac_val=$ac_cv_c_inline;;
6343 cat >>confdefs.h <<_ACEOF
6345 #define inline $ac_val
6351 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
6352 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
6353 if test "${ac_cv_header_stdbool_h+set}" = set; then
6354 echo $ECHO_N "(cached) $ECHO_C" >&6
6356 cat >conftest.$ac_ext <<_ACEOF
6359 cat confdefs.h >>conftest.$ac_ext
6360 cat >>conftest.$ac_ext <<_ACEOF
6361 /* end confdefs.h. */
6363 #include <stdbool.h>
6365 "error: bool is not defined"
6368 "error: false is not defined"
6371 "error: false is not 0"
6374 "error: true is not defined"
6377 "error: true is not 1"
6379 #ifndef __bool_true_false_are_defined
6380 "error: __bool_true_false_are_defined is not defined"
6383 struct s { _Bool s: 1; _Bool t; } s;
6385 char a[true == 1 ? 1 : -1];
6386 char b[false == 0 ? 1 : -1];
6387 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
6388 char d[(bool) 0.5 == true ? 1 : -1];
6390 char f[(_Bool) 0.0 == false ? 1 : -1];
6392 char h[sizeof (_Bool)];
6394 enum { j = false, k = true, l = false * true, m = true * 256 };
6396 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
6397 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
6398 #if defined __xlc__ || defined __GNUC__
6399 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
6400 reported by James Lemley on 2005-10-05; see
6401 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
6402 This test is not quite right, since xlc is allowed to
6403 reject this program, as the initializer for xlcbug is
6404 not one of the forms that C requires support for.
6405 However, doing the test right would require a run-time
6406 test, and that would make cross-compilation harder.
6407 Let us hope that IBM fixes the xlc bug, and also adds
6408 support for this kind of constant expression. In the
6409 meantime, this test will reject xlc, which is OK, since
6410 our stdbool.h substitute should suffice. We also test
6411 this with GCC, where it should work, to detect more
6412 quickly whether someone messes up the test in the
6414 char digs[] = "0123456789";
6415 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
6417 /* Catch a bug in an HP-UX C compiler. See
6418 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
6419 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
6430 /* Refer to every declared value, to avoid compiler optimizations. */
6431 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
6432 + !m + !n + !o + !p + !q + !pq);
6438 rm -f conftest.$ac_objext
6439 if { (ac_try="$ac_compile"
6441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6442 *) ac_try_echo=$ac_try;;
6444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6445 (eval "$ac_compile") 2>conftest.er1
6447 grep -v '^ *+' conftest.er1 >conftest.err
6449 cat conftest.err >&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); } && {
6452 test -z "$ac_c_werror_flag" ||
6453 test ! -s conftest.err
6454 } && test -s conftest.$ac_objext; then
6455 ac_cv_header_stdbool_h=yes
6457 echo "$as_me: failed program was:" >&5
6458 sed 's/^/| /' conftest.$ac_ext >&5
6460 ac_cv_header_stdbool_h=no
6463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6465 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
6466 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
6467 { echo "$as_me:$LINENO: checking for _Bool" >&5
6468 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
6469 if test "${ac_cv_type__Bool+set}" = set; then
6470 echo $ECHO_N "(cached) $ECHO_C" >&6
6472 cat >conftest.$ac_ext <<_ACEOF
6475 cat confdefs.h >>conftest.$ac_ext
6476 cat >>conftest.$ac_ext <<_ACEOF
6477 /* end confdefs.h. */
6478 $ac_includes_default
6479 typedef _Bool ac__type_new_;
6483 if ((ac__type_new_ *) 0)
6485 if (sizeof (ac__type_new_))
6491 rm -f conftest.$ac_objext
6492 if { (ac_try="$ac_compile"
6494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6495 *) ac_try_echo=$ac_try;;
6497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6498 (eval "$ac_compile") 2>conftest.er1
6500 grep -v '^ *+' conftest.er1 >conftest.err
6502 cat conftest.err >&5
6503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6504 (exit $ac_status); } && {
6505 test -z "$ac_c_werror_flag" ||
6506 test ! -s conftest.err
6507 } && test -s conftest.$ac_objext; then
6508 ac_cv_type__Bool=yes
6510 echo "$as_me: failed program was:" >&5
6511 sed 's/^/| /' conftest.$ac_ext >&5
6516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6518 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
6519 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
6520 if test $ac_cv_type__Bool = yes; then
6522 cat >>confdefs.h <<_ACEOF
6523 #define HAVE__BOOL 1
6529 if test $ac_cv_header_stdbool_h = yes; then
6531 cat >>confdefs.h <<\_ACEOF
6532 #define HAVE_STDBOOL_H 1
6540 for ac_func in $ac_func_list
6542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6543 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6545 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6546 echo $ECHO_N "(cached) $ECHO_C" >&6
6548 cat >conftest.$ac_ext <<_ACEOF
6551 cat confdefs.h >>conftest.$ac_ext
6552 cat >>conftest.$ac_ext <<_ACEOF
6553 /* end confdefs.h. */
6554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6556 #define $ac_func innocuous_$ac_func
6558 /* System header to define __stub macros and hopefully few prototypes,
6559 which can conflict with char $ac_func (); below.
6560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6561 <limits.h> exists even on freestanding compilers. */
6564 # include <limits.h>
6566 # include <assert.h>
6571 /* Override any GCC internal prototype to avoid an error.
6572 Use char because int might match the return type of a GCC
6573 builtin and then its argument prototype would still apply. */
6578 /* The GNU C library defines this for functions which it implements
6579 to always fail with ENOSYS. Some functions are actually named
6580 something starting with __ and the normal name is an alias. */
6581 #if defined __stub_$ac_func || defined __stub___$ac_func
6593 rm -f conftest.$ac_objext conftest$ac_exeext
6594 if { (ac_try="$ac_link"
6596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6597 *) ac_try_echo=$ac_try;;
6599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6600 (eval "$ac_link") 2>conftest.er1
6602 grep -v '^ *+' conftest.er1 >conftest.err
6604 cat conftest.err >&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); } && {
6607 test -z "$ac_c_werror_flag" ||
6608 test ! -s conftest.err
6609 } && test -s conftest$ac_exeext &&
6610 $as_test_x conftest$ac_exeext; then
6611 eval "$as_ac_var=yes"
6613 echo "$as_me: failed program was:" >&5
6614 sed 's/^/| /' conftest.$ac_ext >&5
6616 eval "$as_ac_var=no"
6619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6620 conftest$ac_exeext conftest.$ac_ext
6622 ac_res=`eval echo '${'$as_ac_var'}'`
6623 { echo "$as_me:$LINENO: result: $ac_res" >&5
6624 echo "${ECHO_T}$ac_res" >&6; }
6625 if test `eval echo '${'$as_ac_var'}'` = yes; then
6626 cat >>confdefs.h <<_ACEOF
6627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6635 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6636 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
6637 if test "${ac_cv_header_stat_broken+set}" = set; then
6638 echo $ECHO_N "(cached) $ECHO_C" >&6
6640 cat >conftest.$ac_ext <<_ACEOF
6643 cat confdefs.h >>conftest.$ac_ext
6644 cat >>conftest.$ac_ext <<_ACEOF
6645 /* end confdefs.h. */
6646 #include <sys/types.h>
6647 #include <sys/stat.h>
6649 #if defined S_ISBLK && defined S_IFDIR
6650 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6653 #if defined S_ISBLK && defined S_IFCHR
6654 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6657 #if defined S_ISLNK && defined S_IFREG
6658 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6661 #if defined S_ISSOCK && defined S_IFREG
6662 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6666 rm -f conftest.$ac_objext
6667 if { (ac_try="$ac_compile"
6669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6670 *) ac_try_echo=$ac_try;;
6672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6673 (eval "$ac_compile") 2>conftest.er1
6675 grep -v '^ *+' conftest.er1 >conftest.err
6677 cat conftest.err >&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); } && {
6680 test -z "$ac_c_werror_flag" ||
6681 test ! -s conftest.err
6682 } && test -s conftest.$ac_objext; then
6683 ac_cv_header_stat_broken=no
6685 echo "$as_me: failed program was:" >&5
6686 sed 's/^/| /' conftest.$ac_ext >&5
6688 ac_cv_header_stat_broken=yes
6691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6693 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6694 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6695 if test $ac_cv_header_stat_broken = yes; then
6697 cat >>confdefs.h <<\_ACEOF
6698 #define STAT_MACROS_BROKEN 1
6705 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6706 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6707 if test "${ac_cv_header_time+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6710 cat >conftest.$ac_ext <<_ACEOF
6713 cat confdefs.h >>conftest.$ac_ext
6714 cat >>conftest.$ac_ext <<_ACEOF
6715 /* end confdefs.h. */
6716 #include <sys/types.h>
6717 #include <sys/time.h>
6723 if ((struct tm *) 0)
6729 rm -f conftest.$ac_objext
6730 if { (ac_try="$ac_compile"
6732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6733 *) ac_try_echo=$ac_try;;
6735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6736 (eval "$ac_compile") 2>conftest.er1
6738 grep -v '^ *+' conftest.er1 >conftest.err
6740 cat conftest.err >&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); } && {
6743 test -z "$ac_c_werror_flag" ||
6744 test ! -s conftest.err
6745 } && test -s conftest.$ac_objext; then
6746 ac_cv_header_time=yes
6748 echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.$ac_ext >&5
6751 ac_cv_header_time=no
6754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6756 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6757 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6758 if test $ac_cv_header_time = yes; then
6760 cat >>confdefs.h <<\_ACEOF
6761 #define TIME_WITH_SYS_TIME 1
6771 { echo "$as_me:$LINENO: checking determine whether the utimes function works" >&5
6772 echo $ECHO_N "checking determine whether the utimes function works... $ECHO_C" >&6; }
6773 if test "${gl_cv_func_working_utimes+set}" = set; then
6774 echo $ECHO_N "(cached) $ECHO_C" >&6
6777 if test "$cross_compiling" = yes; then
6778 gl_cv_func_working_utimes=no
6780 cat >conftest.$ac_ext <<_ACEOF
6783 cat confdefs.h >>conftest.$ac_ext
6784 cat >>conftest.$ac_ext <<_ACEOF
6785 /* end confdefs.h. */
6787 #include <sys/types.h>
6788 #include <sys/stat.h>
6790 #include <sys/time.h>
6800 static struct timeval timeval[2] = {{9, 10}, {999999, 999999}};
6802 char const *file = "conftest.utimes";
6807 int ok = ((f = fopen (file, "w"))
6809 && utimes (file, timeval) == 0
6810 && lstat (file, &sbuf) == 0
6811 && sbuf.st_atime == timeval[0].tv_sec
6812 && sbuf.st_mtime == timeval[1].tv_sec);
6818 ((f = fopen (file, "w"))
6820 && time (&now) != (time_t)-1
6821 && utimes (file, NULL) == 0
6822 && lstat (file, &sbuf) == 0
6823 && now - sbuf.st_atime <= 2
6824 && now - sbuf.st_mtime <= 2);
6829 ok = (0 <= (fd = open (file, O_WRONLY|O_CREAT, 0444))
6831 && utimes (file, NULL) == 0);
6838 rm -f conftest$ac_exeext
6839 if { (ac_try="$ac_link"
6841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6842 *) ac_try_echo=$ac_try;;
6844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6845 (eval "$ac_link") 2>&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6849 { (case "(($ac_try" in
6850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6851 *) ac_try_echo=$ac_try;;
6853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6854 (eval "$ac_try") 2>&5
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); }; }; then
6858 gl_cv_func_working_utimes=yes
6860 echo "$as_me: program exited with status $ac_status" >&5
6861 echo "$as_me: failed program was:" >&5
6862 sed 's/^/| /' conftest.$ac_ext >&5
6865 gl_cv_func_working_utimes=no
6867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6872 { echo "$as_me:$LINENO: result: $gl_cv_func_working_utimes" >&5
6873 echo "${ECHO_T}$gl_cv_func_working_utimes" >&6; }
6875 if test $gl_cv_func_working_utimes = yes; then
6877 cat >>confdefs.h <<\_ACEOF
6878 #define HAVE_WORKING_UTIMES 1
6895 { echo "$as_me:$LINENO: checking for struct utimbuf" >&5
6896 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6; }
6897 if test "${fu_cv_sys_struct_utimbuf+set}" = set; then
6898 echo $ECHO_N "(cached) $ECHO_C" >&6
6900 cat >conftest.$ac_ext <<_ACEOF
6903 cat confdefs.h >>conftest.$ac_ext
6904 cat >>conftest.$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6907 #ifdef TIME_WITH_SYS_TIME
6908 # include <sys/time.h>
6911 # ifdef HAVE_SYS_TIME_H
6912 # include <sys/time.h>
6924 static struct utimbuf x; x.actime = x.modtime;
6929 rm -f conftest.$ac_objext
6930 if { (ac_try="$ac_compile"
6932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6933 *) ac_try_echo=$ac_try;;
6935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6936 (eval "$ac_compile") 2>conftest.er1
6938 grep -v '^ *+' conftest.er1 >conftest.err
6940 cat conftest.err >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); } && {
6943 test -z "$ac_c_werror_flag" ||
6944 test ! -s conftest.err
6945 } && test -s conftest.$ac_objext; then
6946 fu_cv_sys_struct_utimbuf=yes
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6951 fu_cv_sys_struct_utimbuf=no
6954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6957 { echo "$as_me:$LINENO: result: $fu_cv_sys_struct_utimbuf" >&5
6958 echo "${ECHO_T}$fu_cv_sys_struct_utimbuf" >&6; }
6960 if test $fu_cv_sys_struct_utimbuf = yes; then
6962 cat >>confdefs.h <<\_ACEOF
6963 #define HAVE_STRUCT_UTIMBUF 1
6977 GL_COND_LIBTOOL_TRUE=
6978 GL_COND_LIBTOOL_FALSE='#'
6980 GL_COND_LIBTOOL_TRUE='#'
6981 GL_COND_LIBTOOL_FALSE=
6984 gl_cond_libtool=false
6987 gl_source_base='.#bootmp/lib'
6989 { echo "$as_me:$LINENO: checking for error_at_line" >&5
6990 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6; }
6991 if test "${ac_cv_lib_error_at_line+set}" = set; then
6992 echo $ECHO_N "(cached) $ECHO_C" >&6
6994 cat >conftest.$ac_ext <<_ACEOF
6997 cat confdefs.h >>conftest.$ac_ext
6998 cat >>conftest.$ac_ext <<_ACEOF
6999 /* end confdefs.h. */
7004 error_at_line (0, 0, "", 0, "an error occurred");
7009 rm -f conftest.$ac_objext conftest$ac_exeext
7010 if { (ac_try="$ac_link"
7012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7013 *) ac_try_echo=$ac_try;;
7015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7016 (eval "$ac_link") 2>conftest.er1
7018 grep -v '^ *+' conftest.er1 >conftest.err
7020 cat conftest.err >&5
7021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022 (exit $ac_status); } && {
7023 test -z "$ac_c_werror_flag" ||
7024 test ! -s conftest.err
7025 } && test -s conftest$ac_exeext &&
7026 $as_test_x conftest$ac_exeext; then
7027 ac_cv_lib_error_at_line=yes
7029 echo "$as_me: failed program was:" >&5
7030 sed 's/^/| /' conftest.$ac_ext >&5
7032 ac_cv_lib_error_at_line=no
7035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7036 conftest$ac_exeext conftest.$ac_ext
7038 { echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
7039 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; }
7040 if test $ac_cv_lib_error_at_line = no; then
7041 gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext"
7050 gl_LIBOBJS="$gl_LIBOBJS exitfail.$ac_objext"
7055 { echo "$as_me:$LINENO: checking for working fcntl.h" >&5
7056 echo $ECHO_N "checking for working fcntl.h... $ECHO_C" >&6; }
7057 if test "${gl_cv_header_working_fcntl_h+set}" = set; then
7058 echo $ECHO_N "(cached) $ECHO_C" >&6
7060 if test "$cross_compiling" = yes; then
7061 gl_cv_header_working_fcntl_h=cross-compiling
7063 cat >conftest.$ac_ext <<_ACEOF
7066 cat confdefs.h >>conftest.$ac_ext
7067 cat >>conftest.$ac_ext <<_ACEOF
7068 /* end confdefs.h. */
7069 #include <sys/types.h>
7070 #include <sys/stat.h>
7077 #define O_NOFOLLOW 0
7079 static int const constants[] =
7081 O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
7082 O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
7089 int status = !constants;
7091 static char const sym[] = "conftest.sym";
7092 if (symlink (".", sym) != 0
7093 || close (open (sym, O_RDONLY | O_NOFOLLOW)) == 0)
7097 static char const file[] = "confdefs.h";
7098 int fd = open (file, O_RDONLY | O_NOATIME);
7100 struct stat st0, st1;
7102 || fstat (fd, &st0) != 0
7104 || read (fd, &c, 1) != 1
7106 || stat (file, &st1) != 0
7107 || st0.st_atime != st1.st_atime)
7115 rm -f conftest$ac_exeext
7116 if { (ac_try="$ac_link"
7118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7119 *) ac_try_echo=$ac_try;;
7121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7122 (eval "$ac_link") 2>&5
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7126 { (case "(($ac_try" in
7127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7128 *) ac_try_echo=$ac_try;;
7130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7131 (eval "$ac_try") 2>&5
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); }; }; then
7135 gl_cv_header_working_fcntl_h=yes
7137 echo "$as_me: program exited with status $ac_status" >&5
7138 echo "$as_me: failed program was:" >&5
7139 sed 's/^/| /' conftest.$ac_ext >&5
7143 32) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
7144 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
7145 96) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
7146 *) gl_cv_header_working_fcntl_h='no';;
7149 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7154 { echo "$as_me:$LINENO: result: $gl_cv_header_working_fcntl_h" >&5
7155 echo "${ECHO_T}$gl_cv_header_working_fcntl_h" >&6; }
7157 case $gl_cv_header_working_fcntl_h in #(
7158 *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
7162 cat >>confdefs.h <<_ACEOF
7163 #define HAVE_WORKING_O_NOATIME $ac_val
7167 case $gl_cv_header_working_fcntl_h in #(
7168 *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
7172 cat >>confdefs.h <<_ACEOF
7173 #define HAVE_WORKING_O_NOFOLLOW $ac_val
7177 { echo "$as_me:$LINENO: checking absolute name of <fcntl.h>" >&5
7178 echo $ECHO_N "checking absolute name of <fcntl.h>... $ECHO_C" >&6; }
7179 if test "${gl_cv_absolute_fcntl_h+set}" = set; then
7180 echo $ECHO_N "(cached) $ECHO_C" >&6
7187 if test $ac_cv_header_fcntl_h = yes; then
7188 cat >conftest.$ac_ext <<_ACEOF
7191 cat confdefs.h >>conftest.$ac_ext
7192 cat >>conftest.$ac_ext <<_ACEOF
7193 /* end confdefs.h. */
7196 gl_cv_absolute_fcntl_h=`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7197 sed -n '\#/fcntl.h#{s#.*"\(.*/fcntl.h\)".*#\1#;s#^/[^/]#//&#;p;q;}'`
7201 { echo "$as_me:$LINENO: result: $gl_cv_absolute_fcntl_h" >&5
7202 echo "${ECHO_T}$gl_cv_absolute_fcntl_h" >&6; }
7203 cat >>confdefs.h <<_ACEOF
7204 #define ABSOLUTE_FCNTL_H "$gl_cv_absolute_fcntl_h"
7208 ABSOLUTE_FCNTL_H=\"$gl_cv_absolute_fcntl_h\"
7214 gl_LIBOBJS="$gl_LIBOBJS open-safer.$ac_objext"
7215 gl_LIBOBJS="$gl_LIBOBJS creat-safer.$ac_objext"
7217 cat >>confdefs.h <<\_ACEOF
7218 #define GNULIB_FCNTL_SAFER 1
7224 if test -n "$GETOPT_H"; then
7226 gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext"
7227 gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext"
7231 cat >>confdefs.h <<\_ACEOF
7232 #define __GETOPT_PREFIX rpl_
7249 { echo "$as_me:$LINENO: checking whether the compiler generally respects inline" >&5
7250 echo $ECHO_N "checking whether the compiler generally respects inline... $ECHO_C" >&6; }
7251 if test "${gl_cv_c_inline_effective+set}" = set; then
7252 echo $ECHO_N "(cached) $ECHO_C" >&6
7254 if test $ac_cv_c_inline = no; then
7255 gl_cv_c_inline_effective=no
7257 cat >conftest.$ac_ext <<_ACEOF
7260 cat confdefs.h >>conftest.$ac_ext
7261 cat >>conftest.$ac_ext <<_ACEOF
7262 /* end confdefs.h. */
7267 #ifdef __NO_INLINE__
7268 #error "inline is not effective"
7274 rm -f conftest.$ac_objext
7275 if { (ac_try="$ac_compile"
7277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7278 *) ac_try_echo=$ac_try;;
7280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7281 (eval "$ac_compile") 2>conftest.er1
7283 grep -v '^ *+' conftest.er1 >conftest.err
7285 cat conftest.err >&5
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 (exit $ac_status); } && {
7288 test -z "$ac_c_werror_flag" ||
7289 test ! -s conftest.err
7290 } && test -s conftest.$ac_objext; then
7291 gl_cv_c_inline_effective=yes
7293 echo "$as_me: failed program was:" >&5
7294 sed 's/^/| /' conftest.$ac_ext >&5
7296 gl_cv_c_inline_effective=no
7299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7303 { echo "$as_me:$LINENO: result: $gl_cv_c_inline_effective" >&5
7304 echo "${ECHO_T}$gl_cv_c_inline_effective" >&6; }
7305 if test $gl_cv_c_inline_effective = yes; then
7307 cat >>confdefs.h <<\_ACEOF
7308 #define HAVE_INLINE 1
7317 { echo "$as_me:$LINENO: checking for struct stat.st_atim.tv_nsec" >&5
7318 echo $ECHO_N "checking for struct stat.st_atim.tv_nsec... $ECHO_C" >&6; }
7319 if test "${ac_cv_member_struct_stat_st_atim_tv_nsec+set}" = set; then
7320 echo $ECHO_N "(cached) $ECHO_C" >&6
7322 cat >conftest.$ac_ext <<_ACEOF
7325 cat confdefs.h >>conftest.$ac_ext
7326 cat >>conftest.$ac_ext <<_ACEOF
7327 /* end confdefs.h. */
7328 #include <sys/types.h>
7329 #include <sys/stat.h>
7334 static struct stat ac_aggr;
7335 if (ac_aggr.st_atim.tv_nsec)
7341 rm -f conftest.$ac_objext
7342 if { (ac_try="$ac_compile"
7344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7345 *) ac_try_echo=$ac_try;;
7347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7348 (eval "$ac_compile") 2>conftest.er1
7350 grep -v '^ *+' conftest.er1 >conftest.err
7352 cat conftest.err >&5
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); } && {
7355 test -z "$ac_c_werror_flag" ||
7356 test ! -s conftest.err
7357 } && test -s conftest.$ac_objext; then
7358 ac_cv_member_struct_stat_st_atim_tv_nsec=yes
7360 echo "$as_me: failed program was:" >&5
7361 sed 's/^/| /' conftest.$ac_ext >&5
7363 cat >conftest.$ac_ext <<_ACEOF
7366 cat confdefs.h >>conftest.$ac_ext
7367 cat >>conftest.$ac_ext <<_ACEOF
7368 /* end confdefs.h. */
7369 #include <sys/types.h>
7370 #include <sys/stat.h>
7375 static struct stat ac_aggr;
7376 if (sizeof ac_aggr.st_atim.tv_nsec)
7382 rm -f conftest.$ac_objext
7383 if { (ac_try="$ac_compile"
7385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7386 *) ac_try_echo=$ac_try;;
7388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7389 (eval "$ac_compile") 2>conftest.er1
7391 grep -v '^ *+' conftest.er1 >conftest.err
7393 cat conftest.err >&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); } && {
7396 test -z "$ac_c_werror_flag" ||
7397 test ! -s conftest.err
7398 } && test -s conftest.$ac_objext; then
7399 ac_cv_member_struct_stat_st_atim_tv_nsec=yes
7401 echo "$as_me: failed program was:" >&5
7402 sed 's/^/| /' conftest.$ac_ext >&5
7404 ac_cv_member_struct_stat_st_atim_tv_nsec=no
7407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7412 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atim_tv_nsec" >&5
7413 echo "${ECHO_T}$ac_cv_member_struct_stat_st_atim_tv_nsec" >&6; }
7414 if test $ac_cv_member_struct_stat_st_atim_tv_nsec = yes; then
7416 cat >>confdefs.h <<_ACEOF
7417 #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
7420 { echo "$as_me:$LINENO: checking whether struct stat.st_atim is of type struct timespec" >&5
7421 echo $ECHO_N "checking whether struct stat.st_atim is of type struct timespec... $ECHO_C" >&6; }
7422 if test "${ac_cv_typeof_struct_stat_st_atim_is_struct_timespec+set}" = set; then
7423 echo $ECHO_N "(cached) $ECHO_C" >&6
7425 cat >conftest.$ac_ext <<_ACEOF
7428 cat confdefs.h >>conftest.$ac_ext
7429 cat >>conftest.$ac_ext <<_ACEOF
7430 /* end confdefs.h. */
7432 #include <sys/types.h>
7433 #if TIME_WITH_SYS_TIME
7434 # include <sys/time.h>
7437 # if HAVE_SYS_TIME_H
7438 # include <sys/time.h>
7443 #include <sys/stat.h>
7457 rm -f conftest.$ac_objext
7458 if { (ac_try="$ac_compile"
7460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7461 *) ac_try_echo=$ac_try;;
7463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7464 (eval "$ac_compile") 2>conftest.er1
7466 grep -v '^ *+' conftest.er1 >conftest.err
7468 cat conftest.err >&5
7469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7470 (exit $ac_status); } && {
7471 test -z "$ac_c_werror_flag" ||
7472 test ! -s conftest.err
7473 } && test -s conftest.$ac_objext; then
7474 ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes
7476 echo "$as_me: failed program was:" >&5
7477 sed 's/^/| /' conftest.$ac_ext >&5
7479 ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no
7482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7484 { echo "$as_me:$LINENO: result: $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&5
7485 echo "${ECHO_T}$ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&6; }
7486 if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then
7488 cat >>confdefs.h <<\_ACEOF
7489 #define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1
7494 { echo "$as_me:$LINENO: checking for struct stat.st_atimespec.tv_nsec" >&5
7495 echo $ECHO_N "checking for struct stat.st_atimespec.tv_nsec... $ECHO_C" >&6; }
7496 if test "${ac_cv_member_struct_stat_st_atimespec_tv_nsec+set}" = set; then
7497 echo $ECHO_N "(cached) $ECHO_C" >&6
7499 cat >conftest.$ac_ext <<_ACEOF
7502 cat confdefs.h >>conftest.$ac_ext
7503 cat >>conftest.$ac_ext <<_ACEOF
7504 /* end confdefs.h. */
7505 #include <sys/types.h>
7506 #include <sys/stat.h>
7511 static struct stat ac_aggr;
7512 if (ac_aggr.st_atimespec.tv_nsec)
7518 rm -f conftest.$ac_objext
7519 if { (ac_try="$ac_compile"
7521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7522 *) ac_try_echo=$ac_try;;
7524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7525 (eval "$ac_compile") 2>conftest.er1
7527 grep -v '^ *+' conftest.er1 >conftest.err
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } && {
7532 test -z "$ac_c_werror_flag" ||
7533 test ! -s conftest.err
7534 } && test -s conftest.$ac_objext; then
7535 ac_cv_member_struct_stat_st_atimespec_tv_nsec=yes
7537 echo "$as_me: failed program was:" >&5
7538 sed 's/^/| /' conftest.$ac_ext >&5
7540 cat >conftest.$ac_ext <<_ACEOF
7543 cat confdefs.h >>conftest.$ac_ext
7544 cat >>conftest.$ac_ext <<_ACEOF
7545 /* end confdefs.h. */
7546 #include <sys/types.h>
7547 #include <sys/stat.h>
7552 static struct stat ac_aggr;
7553 if (sizeof ac_aggr.st_atimespec.tv_nsec)
7559 rm -f conftest.$ac_objext
7560 if { (ac_try="$ac_compile"
7562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7563 *) ac_try_echo=$ac_try;;
7565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7566 (eval "$ac_compile") 2>conftest.er1
7568 grep -v '^ *+' conftest.er1 >conftest.err
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } && {
7573 test -z "$ac_c_werror_flag" ||
7574 test ! -s conftest.err
7575 } && test -s conftest.$ac_objext; then
7576 ac_cv_member_struct_stat_st_atimespec_tv_nsec=yes
7578 echo "$as_me: failed program was:" >&5
7579 sed 's/^/| /' conftest.$ac_ext >&5
7581 ac_cv_member_struct_stat_st_atimespec_tv_nsec=no
7584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7589 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atimespec_tv_nsec" >&5
7590 echo "${ECHO_T}$ac_cv_member_struct_stat_st_atimespec_tv_nsec" >&6; }
7591 if test $ac_cv_member_struct_stat_st_atimespec_tv_nsec = yes; then
7593 cat >>confdefs.h <<_ACEOF
7594 #define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1
7599 { echo "$as_me:$LINENO: checking for struct stat.st_atimensec" >&5
7600 echo $ECHO_N "checking for struct stat.st_atimensec... $ECHO_C" >&6; }
7601 if test "${ac_cv_member_struct_stat_st_atimensec+set}" = set; then
7602 echo $ECHO_N "(cached) $ECHO_C" >&6
7604 cat >conftest.$ac_ext <<_ACEOF
7607 cat confdefs.h >>conftest.$ac_ext
7608 cat >>conftest.$ac_ext <<_ACEOF
7609 /* end confdefs.h. */
7610 #include <sys/types.h>
7611 #include <sys/stat.h>
7616 static struct stat ac_aggr;
7617 if (ac_aggr.st_atimensec)
7623 rm -f conftest.$ac_objext
7624 if { (ac_try="$ac_compile"
7626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7627 *) ac_try_echo=$ac_try;;
7629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7630 (eval "$ac_compile") 2>conftest.er1
7632 grep -v '^ *+' conftest.er1 >conftest.err
7634 cat conftest.err >&5
7635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7636 (exit $ac_status); } && {
7637 test -z "$ac_c_werror_flag" ||
7638 test ! -s conftest.err
7639 } && test -s conftest.$ac_objext; then
7640 ac_cv_member_struct_stat_st_atimensec=yes
7642 echo "$as_me: failed program was:" >&5
7643 sed 's/^/| /' conftest.$ac_ext >&5
7645 cat >conftest.$ac_ext <<_ACEOF
7648 cat confdefs.h >>conftest.$ac_ext
7649 cat >>conftest.$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7651 #include <sys/types.h>
7652 #include <sys/stat.h>
7657 static struct stat ac_aggr;
7658 if (sizeof ac_aggr.st_atimensec)
7664 rm -f conftest.$ac_objext
7665 if { (ac_try="$ac_compile"
7667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7668 *) ac_try_echo=$ac_try;;
7670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7671 (eval "$ac_compile") 2>conftest.er1
7673 grep -v '^ *+' conftest.er1 >conftest.err
7675 cat conftest.err >&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); } && {
7678 test -z "$ac_c_werror_flag" ||
7679 test ! -s conftest.err
7680 } && test -s conftest.$ac_objext; then
7681 ac_cv_member_struct_stat_st_atimensec=yes
7683 echo "$as_me: failed program was:" >&5
7684 sed 's/^/| /' conftest.$ac_ext >&5
7686 ac_cv_member_struct_stat_st_atimensec=no
7689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7694 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atimensec" >&5
7695 echo "${ECHO_T}$ac_cv_member_struct_stat_st_atimensec" >&6; }
7696 if test $ac_cv_member_struct_stat_st_atimensec = yes; then
7698 cat >>confdefs.h <<_ACEOF
7699 #define HAVE_STRUCT_STAT_ST_ATIMENSEC 1
7704 { echo "$as_me:$LINENO: checking for struct stat.st_atim.st__tim.tv_nsec" >&5
7705 echo $ECHO_N "checking for struct stat.st_atim.st__tim.tv_nsec... $ECHO_C" >&6; }
7706 if test "${ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec+set}" = set; then
7707 echo $ECHO_N "(cached) $ECHO_C" >&6
7709 cat >conftest.$ac_ext <<_ACEOF
7712 cat confdefs.h >>conftest.$ac_ext
7713 cat >>conftest.$ac_ext <<_ACEOF
7714 /* end confdefs.h. */
7715 #include <sys/types.h>
7716 #include <sys/stat.h>
7721 static struct stat ac_aggr;
7722 if (ac_aggr.st_atim.st__tim.tv_nsec)
7728 rm -f conftest.$ac_objext
7729 if { (ac_try="$ac_compile"
7731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7732 *) ac_try_echo=$ac_try;;
7734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7735 (eval "$ac_compile") 2>conftest.er1
7737 grep -v '^ *+' conftest.er1 >conftest.err
7739 cat conftest.err >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); } && {
7742 test -z "$ac_c_werror_flag" ||
7743 test ! -s conftest.err
7744 } && test -s conftest.$ac_objext; then
7745 ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec=yes
7747 echo "$as_me: failed program was:" >&5
7748 sed 's/^/| /' conftest.$ac_ext >&5
7750 cat >conftest.$ac_ext <<_ACEOF
7753 cat confdefs.h >>conftest.$ac_ext
7754 cat >>conftest.$ac_ext <<_ACEOF
7755 /* end confdefs.h. */
7756 #include <sys/types.h>
7757 #include <sys/stat.h>
7762 static struct stat ac_aggr;
7763 if (sizeof ac_aggr.st_atim.st__tim.tv_nsec)
7769 rm -f conftest.$ac_objext
7770 if { (ac_try="$ac_compile"
7772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7773 *) ac_try_echo=$ac_try;;
7775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7776 (eval "$ac_compile") 2>conftest.er1
7778 grep -v '^ *+' conftest.er1 >conftest.err
7780 cat conftest.err >&5
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); } && {
7783 test -z "$ac_c_werror_flag" ||
7784 test ! -s conftest.err
7785 } && test -s conftest.$ac_objext; then
7786 ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec=yes
7788 echo "$as_me: failed program was:" >&5
7789 sed 's/^/| /' conftest.$ac_ext >&5
7791 ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec=no
7794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7799 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" >&5
7800 echo "${ECHO_T}$ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" >&6; }
7801 if test $ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec = yes; then
7803 cat >>confdefs.h <<_ACEOF
7804 #define HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC 1
7809 { echo "$as_me:$LINENO: checking for struct stat.st_spare1" >&5
7810 echo $ECHO_N "checking for struct stat.st_spare1... $ECHO_C" >&6; }
7811 if test "${ac_cv_member_struct_stat_st_spare1+set}" = set; then
7812 echo $ECHO_N "(cached) $ECHO_C" >&6
7814 cat >conftest.$ac_ext <<_ACEOF
7817 cat confdefs.h >>conftest.$ac_ext
7818 cat >>conftest.$ac_ext <<_ACEOF
7819 /* end confdefs.h. */
7820 #include <sys/types.h>
7821 #include <sys/stat.h>
7826 static struct stat ac_aggr;
7827 if (ac_aggr.st_spare1)
7833 rm -f conftest.$ac_objext
7834 if { (ac_try="$ac_compile"
7836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7837 *) ac_try_echo=$ac_try;;
7839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7840 (eval "$ac_compile") 2>conftest.er1
7842 grep -v '^ *+' conftest.er1 >conftest.err
7844 cat conftest.err >&5
7845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846 (exit $ac_status); } && {
7847 test -z "$ac_c_werror_flag" ||
7848 test ! -s conftest.err
7849 } && test -s conftest.$ac_objext; then
7850 ac_cv_member_struct_stat_st_spare1=yes
7852 echo "$as_me: failed program was:" >&5
7853 sed 's/^/| /' conftest.$ac_ext >&5
7855 cat >conftest.$ac_ext <<_ACEOF
7858 cat confdefs.h >>conftest.$ac_ext
7859 cat >>conftest.$ac_ext <<_ACEOF
7860 /* end confdefs.h. */
7861 #include <sys/types.h>
7862 #include <sys/stat.h>
7867 static struct stat ac_aggr;
7868 if (sizeof ac_aggr.st_spare1)
7874 rm -f conftest.$ac_objext
7875 if { (ac_try="$ac_compile"
7877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7878 *) ac_try_echo=$ac_try;;
7880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7881 (eval "$ac_compile") 2>conftest.er1
7883 grep -v '^ *+' conftest.er1 >conftest.err
7885 cat conftest.err >&5
7886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887 (exit $ac_status); } && {
7888 test -z "$ac_c_werror_flag" ||
7889 test ! -s conftest.err
7890 } && test -s conftest.$ac_objext; then
7891 ac_cv_member_struct_stat_st_spare1=yes
7893 echo "$as_me: failed program was:" >&5
7894 sed 's/^/| /' conftest.$ac_ext >&5
7896 ac_cv_member_struct_stat_st_spare1=no
7899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7904 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_spare1" >&5
7905 echo "${ECHO_T}$ac_cv_member_struct_stat_st_spare1" >&6; }
7906 if test $ac_cv_member_struct_stat_st_spare1 = yes; then
7908 cat >>confdefs.h <<_ACEOF
7909 #define HAVE_STRUCT_STAT_ST_SPARE1 1
7927 # Define two additional variables used in the Makefile substitution.
7929 if test "$ac_cv_header_stdbool_h" = yes; then
7932 STDBOOL_H='stdbool.h'
7936 if test "$ac_cv_type__Bool" = yes; then
7951 { echo "$as_me:$LINENO: checking whether mkdir is declared" >&5
7952 echo $ECHO_N "checking whether mkdir is declared... $ECHO_C" >&6; }
7953 if test "${ac_cv_have_decl_mkdir+set}" = set; then
7954 echo $ECHO_N "(cached) $ECHO_C" >&6
7956 cat >conftest.$ac_ext <<_ACEOF
7959 cat confdefs.h >>conftest.$ac_ext
7960 cat >>conftest.$ac_ext <<_ACEOF
7961 /* end confdefs.h. */
7962 #include <sys/stat.h>
7975 rm -f conftest.$ac_objext
7976 if { (ac_try="$ac_compile"
7978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7979 *) ac_try_echo=$ac_try;;
7981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7982 (eval "$ac_compile") 2>conftest.er1
7984 grep -v '^ *+' conftest.er1 >conftest.err
7986 cat conftest.err >&5
7987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7988 (exit $ac_status); } && {
7989 test -z "$ac_c_werror_flag" ||
7990 test ! -s conftest.err
7991 } && test -s conftest.$ac_objext; then
7992 ac_cv_have_decl_mkdir=yes
7994 echo "$as_me: failed program was:" >&5
7995 sed 's/^/| /' conftest.$ac_ext >&5
7997 ac_cv_have_decl_mkdir=no
8000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8002 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_mkdir" >&5
8003 echo "${ECHO_T}$ac_cv_have_decl_mkdir" >&6; }
8004 if test $ac_cv_have_decl_mkdir = yes; then
8006 cat >>confdefs.h <<_ACEOF
8007 #define HAVE_DECL_MKDIR 1
8012 cat >>confdefs.h <<_ACEOF
8013 #define HAVE_DECL_MKDIR 0
8017 for ac_header in io.h
8019 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8021 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8024 echo $ECHO_N "(cached) $ECHO_C" >&6
8026 ac_res=`eval echo '${'$as_ac_Header'}'`
8027 { echo "$as_me:$LINENO: result: $ac_res" >&5
8028 echo "${ECHO_T}$ac_res" >&6; }
8030 # Is the header compilable?
8031 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8032 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8033 cat >conftest.$ac_ext <<_ACEOF
8036 cat confdefs.h >>conftest.$ac_ext
8037 cat >>conftest.$ac_ext <<_ACEOF
8038 /* end confdefs.h. */
8039 $ac_includes_default
8040 #include <$ac_header>
8042 rm -f conftest.$ac_objext
8043 if { (ac_try="$ac_compile"
8045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8046 *) ac_try_echo=$ac_try;;
8048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8049 (eval "$ac_compile") 2>conftest.er1
8051 grep -v '^ *+' conftest.er1 >conftest.err
8053 cat conftest.err >&5
8054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8055 (exit $ac_status); } && {
8056 test -z "$ac_c_werror_flag" ||
8057 test ! -s conftest.err
8058 } && test -s conftest.$ac_objext; then
8059 ac_header_compiler=yes
8061 echo "$as_me: failed program was:" >&5
8062 sed 's/^/| /' conftest.$ac_ext >&5
8064 ac_header_compiler=no
8067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8068 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8069 echo "${ECHO_T}$ac_header_compiler" >&6; }
8071 # Is the header present?
8072 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8073 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8074 cat >conftest.$ac_ext <<_ACEOF
8077 cat confdefs.h >>conftest.$ac_ext
8078 cat >>conftest.$ac_ext <<_ACEOF
8079 /* end confdefs.h. */
8080 #include <$ac_header>
8082 if { (ac_try="$ac_cpp conftest.$ac_ext"
8084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8085 *) ac_try_echo=$ac_try;;
8087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8088 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8090 grep -v '^ *+' conftest.er1 >conftest.err
8092 cat conftest.err >&5
8093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8094 (exit $ac_status); } >/dev/null && {
8095 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8096 test ! -s conftest.err
8098 ac_header_preproc=yes
8100 echo "$as_me: failed program was:" >&5
8101 sed 's/^/| /' conftest.$ac_ext >&5
8103 ac_header_preproc=no
8106 rm -f conftest.err conftest.$ac_ext
8107 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8108 echo "${ECHO_T}$ac_header_preproc" >&6; }
8110 # So? What about this header?
8111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8113 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8114 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8116 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8117 ac_header_preproc=yes
8120 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8121 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8122 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8123 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8124 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8125 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8126 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8127 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8129 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8130 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8131 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8133 ## ------------------------------- ##
8134 ## Report this to bug-gzip@gnu.org ##
8135 ## ------------------------------- ##
8137 ) | sed "s/^/$as_me: WARNING: /" >&2
8140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8143 echo $ECHO_N "(cached) $ECHO_C" >&6
8145 eval "$as_ac_Header=\$ac_header_preproc"
8147 ac_res=`eval echo '${'$as_ac_Header'}'`
8148 { echo "$as_me:$LINENO: result: $ac_res" >&5
8149 echo "${ECHO_T}$ac_res" >&6; }
8152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8153 cat >>confdefs.h <<_ACEOF
8154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8168 { echo "$as_me:$LINENO: checking absolute name of <sys/stat.h>" >&5
8169 echo $ECHO_N "checking absolute name of <sys/stat.h>... $ECHO_C" >&6; }
8170 if test "${gl_cv_absolute_sys_stat_h+set}" = set; then
8171 echo $ECHO_N "(cached) $ECHO_C" >&6
8178 if test $ac_cv_header_sys_stat_h = yes; then
8179 cat >conftest.$ac_ext <<_ACEOF
8182 cat confdefs.h >>conftest.$ac_ext
8183 cat >>conftest.$ac_ext <<_ACEOF
8184 /* end confdefs.h. */
8185 #include <sys/stat.h>
8187 gl_cv_absolute_sys_stat_h=`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8188 sed -n '\#/sys/stat.h#{s#.*"\(.*/sys/stat.h\)".*#\1#;s#^/[^/]#//&#;p;q;}'`
8192 { echo "$as_me:$LINENO: result: $gl_cv_absolute_sys_stat_h" >&5
8193 echo "${ECHO_T}$gl_cv_absolute_sys_stat_h" >&6; }
8194 cat >>confdefs.h <<_ACEOF
8195 #define ABSOLUTE_SYS_STAT_H "$gl_cv_absolute_sys_stat_h"
8199 ABSOLUTE_SYS_STAT_H=\"$gl_cv_absolute_sys_stat_h\"
8201 SYS_STAT_H='sys/stat.h'
8223 { echo "$as_me:$LINENO: checking for struct timespec" >&5
8224 echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6; }
8225 if test "${fu_cv_sys_struct_timespec+set}" = set; then
8226 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 cat >conftest.$ac_ext <<_ACEOF
8231 cat confdefs.h >>conftest.$ac_ext
8232 cat >>conftest.$ac_ext <<_ACEOF
8233 /* end confdefs.h. */
8235 # if TIME_WITH_SYS_TIME
8236 # include <sys/time.h>
8239 # if HAVE_SYS_TIME_H
8240 # include <sys/time.h>
8249 static struct timespec x; x.tv_sec = x.tv_nsec;
8254 rm -f conftest.$ac_objext
8255 if { (ac_try="$ac_compile"
8257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8258 *) ac_try_echo=$ac_try;;
8260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8261 (eval "$ac_compile") 2>conftest.er1
8263 grep -v '^ *+' conftest.er1 >conftest.err
8265 cat conftest.err >&5
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); } && {
8268 test -z "$ac_c_werror_flag" ||
8269 test ! -s conftest.err
8270 } && test -s conftest.$ac_objext; then
8271 fu_cv_sys_struct_timespec=yes
8273 echo "$as_me: failed program was:" >&5
8274 sed 's/^/| /' conftest.$ac_ext >&5
8276 fu_cv_sys_struct_timespec=no
8279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8282 { echo "$as_me:$LINENO: result: $fu_cv_sys_struct_timespec" >&5
8283 echo "${ECHO_T}$fu_cv_sys_struct_timespec" >&6; }
8285 if test $fu_cv_sys_struct_timespec = yes; then
8287 cat >>confdefs.h <<\_ACEOF
8288 #define HAVE_STRUCT_TIMESPEC 1
8296 { echo "$as_me:$LINENO: checking whether nanosleep is declared" >&5
8297 echo $ECHO_N "checking whether nanosleep is declared... $ECHO_C" >&6; }
8298 if test "${ac_cv_have_decl_nanosleep+set}" = set; then
8299 echo $ECHO_N "(cached) $ECHO_C" >&6
8301 cat >conftest.$ac_ext <<_ACEOF
8304 cat confdefs.h >>conftest.$ac_ext
8305 cat >>conftest.$ac_ext <<_ACEOF
8306 /* end confdefs.h. */
8320 rm -f conftest.$ac_objext
8321 if { (ac_try="$ac_compile"
8323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8324 *) ac_try_echo=$ac_try;;
8326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8327 (eval "$ac_compile") 2>conftest.er1
8329 grep -v '^ *+' conftest.er1 >conftest.err
8331 cat conftest.err >&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); } && {
8334 test -z "$ac_c_werror_flag" ||
8335 test ! -s conftest.err
8336 } && test -s conftest.$ac_objext; then
8337 ac_cv_have_decl_nanosleep=yes
8339 echo "$as_me: failed program was:" >&5
8340 sed 's/^/| /' conftest.$ac_ext >&5
8342 ac_cv_have_decl_nanosleep=no
8345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8347 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_nanosleep" >&5
8348 echo "${ECHO_T}$ac_cv_have_decl_nanosleep" >&6; }
8349 if test $ac_cv_have_decl_nanosleep = yes; then
8351 cat >>confdefs.h <<_ACEOF
8352 #define HAVE_DECL_NANOSLEEP 1
8357 cat >>confdefs.h <<_ACEOF
8358 #define HAVE_DECL_NANOSLEEP 0
8368 for ac_header in unistd.h
8370 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8372 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8374 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8375 echo $ECHO_N "(cached) $ECHO_C" >&6
8377 ac_res=`eval echo '${'$as_ac_Header'}'`
8378 { echo "$as_me:$LINENO: result: $ac_res" >&5
8379 echo "${ECHO_T}$ac_res" >&6; }
8381 # Is the header compilable?
8382 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8384 cat >conftest.$ac_ext <<_ACEOF
8387 cat confdefs.h >>conftest.$ac_ext
8388 cat >>conftest.$ac_ext <<_ACEOF
8389 /* end confdefs.h. */
8390 $ac_includes_default
8391 #include <$ac_header>
8393 rm -f conftest.$ac_objext
8394 if { (ac_try="$ac_compile"
8396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8397 *) ac_try_echo=$ac_try;;
8399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8400 (eval "$ac_compile") 2>conftest.er1
8402 grep -v '^ *+' conftest.er1 >conftest.err
8404 cat conftest.err >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } && {
8407 test -z "$ac_c_werror_flag" ||
8408 test ! -s conftest.err
8409 } && test -s conftest.$ac_objext; then
8410 ac_header_compiler=yes
8412 echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.$ac_ext >&5
8415 ac_header_compiler=no
8418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8419 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8420 echo "${ECHO_T}$ac_header_compiler" >&6; }
8422 # Is the header present?
8423 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8424 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8425 cat >conftest.$ac_ext <<_ACEOF
8428 cat confdefs.h >>conftest.$ac_ext
8429 cat >>conftest.$ac_ext <<_ACEOF
8430 /* end confdefs.h. */
8431 #include <$ac_header>
8433 if { (ac_try="$ac_cpp conftest.$ac_ext"
8435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8436 *) ac_try_echo=$ac_try;;
8438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8439 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8441 grep -v '^ *+' conftest.er1 >conftest.err
8443 cat conftest.err >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } >/dev/null && {
8446 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8447 test ! -s conftest.err
8449 ac_header_preproc=yes
8451 echo "$as_me: failed program was:" >&5
8452 sed 's/^/| /' conftest.$ac_ext >&5
8454 ac_header_preproc=no
8457 rm -f conftest.err conftest.$ac_ext
8458 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8459 echo "${ECHO_T}$ac_header_preproc" >&6; }
8461 # So? What about this header?
8462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8468 ac_header_preproc=yes
8471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8484 ## ------------------------------- ##
8485 ## Report this to bug-gzip@gnu.org ##
8486 ## ------------------------------- ##
8488 ) | sed "s/^/$as_me: WARNING: /" >&2
8491 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8494 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 eval "$as_ac_Header=\$ac_header_preproc"
8498 ac_res=`eval echo '${'$as_ac_Header'}'`
8499 { echo "$as_me:$LINENO: result: $ac_res" >&5
8500 echo "${ECHO_T}$ac_res" >&6; }
8503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8504 cat >>confdefs.h <<_ACEOF
8505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8527 gl_LIBOBJS="$gl_LIBOBJS dup-safer.$ac_objext"
8528 gl_LIBOBJS="$gl_LIBOBJS fd-safer.$ac_objext"
8529 gl_LIBOBJS="$gl_LIBOBJS pipe-safer.$ac_objext"
8532 gl_LIBOBJS="$gl_LIBOBJS utimens.$ac_objext"
8548 gl_LIBOBJS="$gl_LIBOBJS xmalloc.$ac_objext"
8559 gl_LIBOBJS="$gl_LIBOBJS yesno.$ac_objext"
8563 LIBGZIP_LIBDEPS="$gl_libdeps"
8565 LIBGZIP_LTLIBDEPS="$gl_ltlibdeps"
8573 # cc -E produces incorrect asm files on SVR4, so postprocess it.
8574 ASCPPPOST="sed '/^ *#/d; s,//.*,,; s/% /%/g; s/\\. /./g'"
8577 { echo "$as_me:$LINENO: checking for underline in external names" >&5
8578 echo $ECHO_N "checking for underline in external names... $ECHO_C" >&6; }
8579 if test "${gzip_cv_underline+set}" = set; then
8580 echo $ECHO_N "(cached) $ECHO_C" >&6
8582 gzip_cv_underline=yes
8583 cat >conftest.$ac_ext <<_ACEOF
8586 cat confdefs.h >>conftest.$ac_ext
8587 cat >>conftest.$ac_ext <<_ACEOF
8588 /* end confdefs.h. */
8589 int foo() {return 0;}
8598 rm -f conftest.$ac_objext
8599 if { (ac_try="$ac_compile"
8601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8602 *) ac_try_echo=$ac_try;;
8604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8605 (eval "$ac_compile") 2>conftest.er1
8607 grep -v '^ *+' conftest.er1 >conftest.err
8609 cat conftest.err >&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); } && {
8612 test -z "$ac_c_werror_flag" ||
8613 test ! -s conftest.err
8614 } && test -s conftest.$ac_objext; then
8615 $NM conftest.$OBJEXT | grep _foo >/dev/null 2>&1 ||
8616 gzip_cv_underline=no
8618 echo "$as_me: failed program was:" >&5
8619 sed 's/^/| /' conftest.$ac_ext >&5
8624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8626 { echo "$as_me:$LINENO: result: $gzip_cv_underline" >&5
8627 echo "${ECHO_T}$gzip_cv_underline" >&6; }
8629 if test $gzip_cv_underline = no; then
8630 ASCPPFLAGS='-DNO_UNDERLINE'
8635 # Try to assemble match.S.
8636 # "gcc -E match.s" ignores -E, so we must use _match.S.
8637 { echo "$as_me:$LINENO: checking for an assembler syntax supported by this package" >&5
8638 echo $ECHO_N "checking for an assembler syntax supported by this package... $ECHO_C" >&6; }
8639 if test "${gzip_cv_assembler+set}" = set; then
8640 echo $ECHO_N "(cached) $ECHO_C" >&6
8642 gzip_cv_assembler=no
8646 if cp $srcdir/lib/match.c _match.S &&
8647 eval "$CPP $CPPFLAGS $ASCPPFLAGS _match.S > _match.i" 2>/dev/null &&
8648 eval "$ASCPPPOST < _match.i > match_.s" 2>/dev/null; then
8649 if test ! -s match_.s || grep error < match_.s > /dev/null; then
8651 elif eval "$CC $CPPFLAGS $CFLAGS -c match_.s >/dev/null 2>&1" &&
8652 test -f match_.$OBJEXT; then
8653 rm -f match_.$OBJEXT
8654 gzip_cv_assembler=yes
8655 if echo 'void foo (void) {}' > conftest.c &&
8656 eval "$CC $CPPFLAGS $CFLAGS -S conftest.c >/dev/null 2>&1" &&
8657 grep '\.note\.GNU-stack' conftest.s >/dev/null 2>&1 &&
8658 eval "$CC $CPPFLAGS $CFLAGS -c -Wa,--noexecstack match_.s >/dev/null 2>&1" &&
8659 test -f match_.$OBJEXT; then
8660 gzip_cv_assembler='yes, with -Wa,--noexecstack'
8664 rm -f conftest* _match.i _match.S match_.s match_.$OBJEXT;;
8667 { echo "$as_me:$LINENO: result: $gzip_cv_assembler" >&5
8668 echo "${ECHO_T}$gzip_cv_assembler" >&6; }
8669 if test "$gzip_cv_assembler" != no; then
8671 cat >>confdefs.h <<\_ACEOF
8675 case " $LIBOBJS " in
8676 *" match.$ac_objext "* ) ;;
8677 *) LIBOBJS="$LIBOBJS match.$ac_objext"
8682 if test "$gzip_cv_assembler" = 'yes, with -Wa,--noexecstack'; then
8683 ASFLAGS_config='-Wa,--noexecstack'
8689 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
8690 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
8691 if test "${ac_cv_search_strerror+set}" = set; then
8692 echo $ECHO_N "(cached) $ECHO_C" >&6
8694 ac_func_search_save_LIBS=$LIBS
8695 cat >conftest.$ac_ext <<_ACEOF
8698 cat confdefs.h >>conftest.$ac_ext
8699 cat >>conftest.$ac_ext <<_ACEOF
8700 /* end confdefs.h. */
8702 /* Override any GCC internal prototype to avoid an error.
8703 Use char because int might match the return type of a GCC
8704 builtin and then its argument prototype would still apply. */
8717 for ac_lib in '' cposix; do
8718 if test -z "$ac_lib"; then
8719 ac_res="none required"
8722 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8724 rm -f conftest.$ac_objext conftest$ac_exeext
8725 if { (ac_try="$ac_link"
8727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8728 *) ac_try_echo=$ac_try;;
8730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8731 (eval "$ac_link") 2>conftest.er1
8733 grep -v '^ *+' conftest.er1 >conftest.err
8735 cat conftest.err >&5
8736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737 (exit $ac_status); } && {
8738 test -z "$ac_c_werror_flag" ||
8739 test ! -s conftest.err
8740 } && test -s conftest$ac_exeext &&
8741 $as_test_x conftest$ac_exeext; then
8742 ac_cv_search_strerror=$ac_res
8744 echo "$as_me: failed program was:" >&5
8745 sed 's/^/| /' conftest.$ac_ext >&5
8750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8752 if test "${ac_cv_search_strerror+set}" = set; then
8756 if test "${ac_cv_search_strerror+set}" = set; then
8759 ac_cv_search_strerror=no
8762 LIBS=$ac_func_search_save_LIBS
8764 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
8765 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
8766 ac_res=$ac_cv_search_strerror
8767 if test "$ac_res" != no; then
8768 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8772 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8773 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
8774 if test "${ac_cv_c_const+set}" = set; then
8775 echo $ECHO_N "(cached) $ECHO_C" >&6
8777 cat >conftest.$ac_ext <<_ACEOF
8780 cat confdefs.h >>conftest.$ac_ext
8781 cat >>conftest.$ac_ext <<_ACEOF
8782 /* end confdefs.h. */
8787 /* FIXME: Include the comments suggested by Paul. */
8789 /* Ultrix mips cc rejects this. */
8790 typedef int charset[2];
8792 /* SunOS 4.1.1 cc rejects this. */
8793 char const *const *pcpcc;
8795 /* NEC SVR4.0.2 mips cc rejects this. */
8796 struct point {int x, y;};
8797 static struct point const zero = {0,0};
8798 /* AIX XL C 1.02.0.0 rejects this.
8799 It does not let you subtract one const X* pointer from another in
8800 an arm of an if-expression whose if-part is not a constant
8802 const char *g = "string";
8803 pcpcc = &g + (g ? g-g : 0);
8804 /* HPUX 7.0 cc rejects these. */
8806 ppc = (char**) pcpcc;
8807 pcpcc = (char const *const *) ppc;
8808 { /* SCO 3.2v4 cc rejects this. */
8810 char const *s = 0 ? (char *) 0 : (char const *) 0;
8815 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8817 const int *foo = &x[0];
8820 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8821 typedef const int *iptr;
8825 { /* AIX XL C 1.02.0.0 rejects this saying
8826 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8827 struct s { int j; const int *ap[3]; };
8828 struct s *b; b->j = 5;
8830 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8834 return !cs[0] && !zero.x;
8841 rm -f conftest.$ac_objext
8842 if { (ac_try="$ac_compile"
8844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8845 *) ac_try_echo=$ac_try;;
8847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8848 (eval "$ac_compile") 2>conftest.er1
8850 grep -v '^ *+' conftest.er1 >conftest.err
8852 cat conftest.err >&5
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); } && {
8855 test -z "$ac_c_werror_flag" ||
8856 test ! -s conftest.err
8857 } && test -s conftest.$ac_objext; then
8860 echo "$as_me: failed program was:" >&5
8861 sed 's/^/| /' conftest.$ac_ext >&5
8866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8868 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8869 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8870 if test $ac_cv_c_const = no; then
8872 cat >>confdefs.h <<\_ACEOF
8878 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8879 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8880 if test "${ac_cv_header_stdc+set}" = set; then
8881 echo $ECHO_N "(cached) $ECHO_C" >&6
8883 cat >conftest.$ac_ext <<_ACEOF
8886 cat confdefs.h >>conftest.$ac_ext
8887 cat >>conftest.$ac_ext <<_ACEOF
8888 /* end confdefs.h. */
8902 rm -f conftest.$ac_objext
8903 if { (ac_try="$ac_compile"
8905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8906 *) ac_try_echo=$ac_try;;
8908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8909 (eval "$ac_compile") 2>conftest.er1
8911 grep -v '^ *+' conftest.er1 >conftest.err
8913 cat conftest.err >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); } && {
8916 test -z "$ac_c_werror_flag" ||
8917 test ! -s conftest.err
8918 } && test -s conftest.$ac_objext; then
8919 ac_cv_header_stdc=yes
8921 echo "$as_me: failed program was:" >&5
8922 sed 's/^/| /' conftest.$ac_ext >&5
8924 ac_cv_header_stdc=no
8927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8929 if test $ac_cv_header_stdc = yes; then
8930 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8931 cat >conftest.$ac_ext <<_ACEOF
8934 cat confdefs.h >>conftest.$ac_ext
8935 cat >>conftest.$ac_ext <<_ACEOF
8936 /* end confdefs.h. */
8940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8941 $EGREP "memchr" >/dev/null 2>&1; then
8944 ac_cv_header_stdc=no
8950 if test $ac_cv_header_stdc = yes; then
8951 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8952 cat >conftest.$ac_ext <<_ACEOF
8955 cat confdefs.h >>conftest.$ac_ext
8956 cat >>conftest.$ac_ext <<_ACEOF
8957 /* end confdefs.h. */
8961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8962 $EGREP "free" >/dev/null 2>&1; then
8965 ac_cv_header_stdc=no
8971 if test $ac_cv_header_stdc = yes; then
8972 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8973 if test "$cross_compiling" = yes; then
8976 cat >conftest.$ac_ext <<_ACEOF
8979 cat confdefs.h >>conftest.$ac_ext
8980 cat >>conftest.$ac_ext <<_ACEOF
8981 /* end confdefs.h. */
8984 #if ((' ' & 0x0FF) == 0x020)
8985 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8986 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8988 # define ISLOWER(c) \
8989 (('a' <= (c) && (c) <= 'i') \
8990 || ('j' <= (c) && (c) <= 'r') \
8991 || ('s' <= (c) && (c) <= 'z'))
8992 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8995 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9000 for (i = 0; i < 256; i++)
9001 if (XOR (islower (i), ISLOWER (i))
9002 || toupper (i) != TOUPPER (i))
9007 rm -f conftest$ac_exeext
9008 if { (ac_try="$ac_link"
9010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9011 *) ac_try_echo=$ac_try;;
9013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9014 (eval "$ac_link") 2>&5
9016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9018 { (case "(($ac_try" in
9019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9020 *) ac_try_echo=$ac_try;;
9022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9023 (eval "$ac_try") 2>&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); }; }; then
9029 echo "$as_me: program exited with status $ac_status" >&5
9030 echo "$as_me: failed program was:" >&5
9031 sed 's/^/| /' conftest.$ac_ext >&5
9034 ac_cv_header_stdc=no
9036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9042 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9043 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
9044 if test $ac_cv_header_stdc = yes; then
9046 cat >>confdefs.h <<\_ACEOF
9047 #define STDC_HEADERS 1
9102 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
9103 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9104 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9105 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
9106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9107 echo $ECHO_N "(cached) $ECHO_C" >&6
9109 cat >conftest.$ac_ext <<_ACEOF
9112 cat confdefs.h >>conftest.$ac_ext
9113 cat >>conftest.$ac_ext <<_ACEOF
9114 /* end confdefs.h. */
9115 #include <sys/types.h>
9127 rm -f conftest.$ac_objext
9128 if { (ac_try="$ac_compile"
9130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9131 *) ac_try_echo=$ac_try;;
9133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9134 (eval "$ac_compile") 2>conftest.er1
9136 grep -v '^ *+' conftest.er1 >conftest.err
9138 cat conftest.err >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); } && {
9141 test -z "$ac_c_werror_flag" ||
9142 test ! -s conftest.err
9143 } && test -s conftest.$ac_objext; then
9144 eval "$as_ac_Header=yes"
9146 echo "$as_me: failed program was:" >&5
9147 sed 's/^/| /' conftest.$ac_ext >&5
9149 eval "$as_ac_Header=no"
9152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9154 ac_res=`eval echo '${'$as_ac_Header'}'`
9155 { echo "$as_me:$LINENO: result: $ac_res" >&5
9156 echo "${ECHO_T}$ac_res" >&6; }
9157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9158 cat >>confdefs.h <<_ACEOF
9159 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9162 ac_header_dirent=$ac_hdr; break
9166 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9167 if test $ac_header_dirent = dirent.h; then
9168 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
9169 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
9170 if test "${ac_cv_search_opendir+set}" = set; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9173 ac_func_search_save_LIBS=$LIBS
9174 cat >conftest.$ac_ext <<_ACEOF
9177 cat confdefs.h >>conftest.$ac_ext
9178 cat >>conftest.$ac_ext <<_ACEOF
9179 /* end confdefs.h. */
9181 /* Override any GCC internal prototype to avoid an error.
9182 Use char because int might match the return type of a GCC
9183 builtin and then its argument prototype would still apply. */
9196 for ac_lib in '' dir; do
9197 if test -z "$ac_lib"; then
9198 ac_res="none required"
9201 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9203 rm -f conftest.$ac_objext conftest$ac_exeext
9204 if { (ac_try="$ac_link"
9206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9207 *) ac_try_echo=$ac_try;;
9209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9210 (eval "$ac_link") 2>conftest.er1
9212 grep -v '^ *+' conftest.er1 >conftest.err
9214 cat conftest.err >&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); } && {
9217 test -z "$ac_c_werror_flag" ||
9218 test ! -s conftest.err
9219 } && test -s conftest$ac_exeext &&
9220 $as_test_x conftest$ac_exeext; then
9221 ac_cv_search_opendir=$ac_res
9223 echo "$as_me: failed program was:" >&5
9224 sed 's/^/| /' conftest.$ac_ext >&5
9229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9231 if test "${ac_cv_search_opendir+set}" = set; then
9235 if test "${ac_cv_search_opendir+set}" = set; then
9238 ac_cv_search_opendir=no
9241 LIBS=$ac_func_search_save_LIBS
9243 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9244 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9245 ac_res=$ac_cv_search_opendir
9246 if test "$ac_res" != no; then
9247 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9252 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
9253 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
9254 if test "${ac_cv_search_opendir+set}" = set; then
9255 echo $ECHO_N "(cached) $ECHO_C" >&6
9257 ac_func_search_save_LIBS=$LIBS
9258 cat >conftest.$ac_ext <<_ACEOF
9261 cat confdefs.h >>conftest.$ac_ext
9262 cat >>conftest.$ac_ext <<_ACEOF
9263 /* end confdefs.h. */
9265 /* Override any GCC internal prototype to avoid an error.
9266 Use char because int might match the return type of a GCC
9267 builtin and then its argument prototype would still apply. */
9280 for ac_lib in '' x; do
9281 if test -z "$ac_lib"; then
9282 ac_res="none required"
9285 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9287 rm -f conftest.$ac_objext conftest$ac_exeext
9288 if { (ac_try="$ac_link"
9290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9291 *) ac_try_echo=$ac_try;;
9293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9294 (eval "$ac_link") 2>conftest.er1
9296 grep -v '^ *+' conftest.er1 >conftest.err
9298 cat conftest.err >&5
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); } && {
9301 test -z "$ac_c_werror_flag" ||
9302 test ! -s conftest.err
9303 } && test -s conftest$ac_exeext &&
9304 $as_test_x conftest$ac_exeext; then
9305 ac_cv_search_opendir=$ac_res
9307 echo "$as_me: failed program was:" >&5
9308 sed 's/^/| /' conftest.$ac_ext >&5
9313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9315 if test "${ac_cv_search_opendir+set}" = set; then
9319 if test "${ac_cv_search_opendir+set}" = set; then
9322 ac_cv_search_opendir=no
9325 LIBS=$ac_func_search_save_LIBS
9327 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9328 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9329 ac_res=$ac_cv_search_opendir
9330 if test "$ac_res" != no; then
9331 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9337 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
9338 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
9339 if test "${ac_cv_type_signal+set}" = set; then
9340 echo $ECHO_N "(cached) $ECHO_C" >&6
9342 cat >conftest.$ac_ext <<_ACEOF
9345 cat confdefs.h >>conftest.$ac_ext
9346 cat >>conftest.$ac_ext <<_ACEOF
9347 /* end confdefs.h. */
9348 #include <sys/types.h>
9354 return *(signal (0, 0)) (0) == 1;
9359 rm -f conftest.$ac_objext
9360 if { (ac_try="$ac_compile"
9362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9363 *) ac_try_echo=$ac_try;;
9365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9366 (eval "$ac_compile") 2>conftest.er1
9368 grep -v '^ *+' conftest.er1 >conftest.err
9370 cat conftest.err >&5
9371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9372 (exit $ac_status); } && {
9373 test -z "$ac_c_werror_flag" ||
9374 test ! -s conftest.err
9375 } && test -s conftest.$ac_objext; then
9376 ac_cv_type_signal=int
9378 echo "$as_me: failed program was:" >&5
9379 sed 's/^/| /' conftest.$ac_ext >&5
9381 ac_cv_type_signal=void
9384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9386 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
9387 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
9389 cat >>confdefs.h <<_ACEOF
9390 #define RETSIGTYPE $ac_cv_type_signal
9394 { echo "$as_me:$LINENO: checking for size_t" >&5
9395 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
9396 if test "${ac_cv_type_size_t+set}" = set; then
9397 echo $ECHO_N "(cached) $ECHO_C" >&6
9399 cat >conftest.$ac_ext <<_ACEOF
9402 cat confdefs.h >>conftest.$ac_ext
9403 cat >>conftest.$ac_ext <<_ACEOF
9404 /* end confdefs.h. */
9405 $ac_includes_default
9406 typedef size_t ac__type_new_;
9410 if ((ac__type_new_ *) 0)
9412 if (sizeof (ac__type_new_))
9418 rm -f conftest.$ac_objext
9419 if { (ac_try="$ac_compile"
9421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9422 *) ac_try_echo=$ac_try;;
9424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9425 (eval "$ac_compile") 2>conftest.er1
9427 grep -v '^ *+' conftest.er1 >conftest.err
9429 cat conftest.err >&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 (exit $ac_status); } && {
9432 test -z "$ac_c_werror_flag" ||
9433 test ! -s conftest.err
9434 } && test -s conftest.$ac_objext; then
9435 ac_cv_type_size_t=yes
9437 echo "$as_me: failed program was:" >&5
9438 sed 's/^/| /' conftest.$ac_ext >&5
9440 ac_cv_type_size_t=no
9443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9445 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9446 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
9447 if test $ac_cv_type_size_t = yes; then
9451 cat >>confdefs.h <<_ACEOF
9452 #define size_t unsigned int
9457 { echo "$as_me:$LINENO: checking for off_t" >&5
9458 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
9459 if test "${ac_cv_type_off_t+set}" = set; then
9460 echo $ECHO_N "(cached) $ECHO_C" >&6
9462 cat >conftest.$ac_ext <<_ACEOF
9465 cat confdefs.h >>conftest.$ac_ext
9466 cat >>conftest.$ac_ext <<_ACEOF
9467 /* end confdefs.h. */
9468 $ac_includes_default
9469 typedef off_t ac__type_new_;
9473 if ((ac__type_new_ *) 0)
9475 if (sizeof (ac__type_new_))
9481 rm -f conftest.$ac_objext
9482 if { (ac_try="$ac_compile"
9484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9485 *) ac_try_echo=$ac_try;;
9487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9488 (eval "$ac_compile") 2>conftest.er1
9490 grep -v '^ *+' conftest.er1 >conftest.err
9492 cat conftest.err >&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); } && {
9495 test -z "$ac_c_werror_flag" ||
9496 test ! -s conftest.err
9497 } && test -s conftest.$ac_objext; then
9498 ac_cv_type_off_t=yes
9500 echo "$as_me: failed program was:" >&5
9501 sed 's/^/| /' conftest.$ac_ext >&5
9506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9508 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
9509 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
9510 if test $ac_cv_type_off_t = yes; then
9514 cat >>confdefs.h <<_ACEOF
9515 #define off_t long int
9521 if test "x$prefix" = xNONE; then
9522 echo $ECHO_N "checking for prefix by $ECHO_C" >&6
9523 # Extract the first word of "gzip", so it can be a program name with args.
9524 set dummy gzip; ac_word=$2
9525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9527 if test "${ac_cv_path_ac_prefix_program+set}" = set; then
9528 echo $ECHO_N "(cached) $ECHO_C" >&6
9530 case $ac_prefix_program in
9532 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
9535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9539 test -z "$as_dir" && as_dir=.
9540 for ac_exec_ext in '' $ac_executable_extensions; do
9541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9542 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
9543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9553 ac_prefix_program=$ac_cv_path_ac_prefix_program
9554 if test -n "$ac_prefix_program"; then
9555 { echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
9556 echo "${ECHO_T}$ac_prefix_program" >&6; }
9558 { echo "$as_me:$LINENO: result: no" >&5
9559 echo "${ECHO_T}no" >&6; }
9563 if test -n "$ac_prefix_program"; then
9564 prefix=`$as_dirname -- "$ac_prefix_program" ||
9565 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9566 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
9567 X"$ac_prefix_program" : 'X\(//\)$' \| \
9568 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
9569 echo X"$ac_prefix_program" |
9570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9587 prefix=`$as_dirname -- "$prefix" ||
9588 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9589 X"$prefix" : 'X\(//\)[^/]' \| \
9590 X"$prefix" : 'X\(//\)$' \| \
9591 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
9593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9614 ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile"
9616 cat >confcache <<\_ACEOF
9617 # This file is a shell script that caches the results of configure
9618 # tests run on this system so they can be shared between configure
9619 # scripts and configure runs, see configure's option --config-cache.
9620 # It is not useful on other systems. If it contains results you don't
9621 # want to keep, you may remove or edit it.
9623 # config.status only pays attention to the cache file if you give it
9624 # the --recheck option to rerun configure.
9626 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9627 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9632 # The following way of writing the cache mishandles newlines in values,
9633 # but we know of no workaround that is simple, portable, and efficient.
9634 # So, we kill variables containing newlines.
9635 # Ultrix sh set writes to stderr and can't be redirected directly,
9636 # and sets the high bit in the cache file unless we assign to the vars.
9638 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9639 eval ac_val=\$$ac_var
9643 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9644 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9647 _ | IFS | as_nl) ;; #(
9648 *) $as_unset $ac_var ;;
9654 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9655 *${as_nl}ac_space=\ *)
9656 # `set' does not quote correctly, so add quotes (double-quote
9657 # substitution turns \\\\ into \\, and sed turns \\ into \).
9660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9663 # `set' quotes correctly as required by POSIX, so do not add quotes.
9664 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9673 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9675 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9677 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9678 if test -w "$cache_file"; then
9679 test "x$cache_file" != "x/dev/null" &&
9680 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9681 echo "$as_me: updating cache $cache_file" >&6;}
9682 cat confcache >$cache_file
9684 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9685 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9690 test "x$prefix" = xNONE && prefix=$ac_default_prefix
9691 # Let make expand exec_prefix.
9692 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9694 DEFS=-DHAVE_CONFIG_H
9698 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9699 # 1. Remove the extension, and $U if already installed.
9700 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9701 ac_i=`echo "$ac_i" | sed "$ac_script"`
9702 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9703 # will be set to the directory where LIBOBJS objects are built.
9704 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9705 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9709 LTLIBOBJS=$ac_ltlibobjs
9712 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9713 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9714 Usually this means the macro was only invoked conditionally." >&5
9715 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9716 Usually this means the macro was only invoked conditionally." >&2;}
9717 { (exit 1); exit 1; }; }
9719 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9720 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9721 Usually this means the macro was only invoked conditionally." >&5
9722 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9723 Usually this means the macro was only invoked conditionally." >&2;}
9724 { (exit 1); exit 1; }; }
9726 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
9727 { { echo "$as_me:$LINENO: error: conditional \"GL_COND_LIBTOOL\" was never defined.
9728 Usually this means the macro was only invoked conditionally." >&5
9729 echo "$as_me: error: conditional \"GL_COND_LIBTOOL\" was never defined.
9730 Usually this means the macro was only invoked conditionally." >&2;}
9731 { (exit 1); exit 1; }; }
9736 if test -n "$gl_LIBOBJS"; then
9737 # Remove the extension.
9738 sed_drop_objext='s/\.o$//;s/\.obj$//'
9739 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
9740 gl_libobjs="$gl_libobjs $i.$ac_objext"
9741 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
9744 gl_LIBOBJS=$gl_libobjs
9746 gl_LTLIBOBJS=$gl_ltlibobjs
9750 : ${CONFIG_STATUS=./config.status}
9751 ac_clean_files_save=$ac_clean_files
9752 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9753 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9754 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9755 cat >$CONFIG_STATUS <<_ACEOF
9757 # Generated by $as_me.
9758 # Run this file to recreate the current configuration.
9759 # Compiler output produced by configure, useful for debugging
9760 # configure, is in config.log if it exists.
9765 SHELL=\${CONFIG_SHELL-$SHELL}
9768 cat >>$CONFIG_STATUS <<\_ACEOF
9769 ## --------------------- ##
9770 ## M4sh Initialization. ##
9771 ## --------------------- ##
9773 # Be more Bourne compatible
9774 DUALCASE=1; export DUALCASE # for MKS sh
9775 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9778 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9779 # is contrary to our usage. Disable this feature.
9780 alias -g '${1+"$@"}'='"$@"'
9781 setopt NO_GLOB_SUBST
9783 case `(set -o) 2>/dev/null` in
9784 *posix*) set -o posix ;;
9793 # Avoid depending upon Character Ranges.
9794 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9795 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9796 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9797 as_cr_digits='0123456789'
9798 as_cr_alnum=$as_cr_Letters$as_cr_digits
9800 # The user is always right.
9801 if test "${PATH_SEPARATOR+set}" != set; then
9802 echo "#! /bin/sh" >conf$$.sh
9803 echo "exit 0" >>conf$$.sh
9805 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9813 # Support unset when possible.
9814 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9822 # We need space, tab and new line, in precisely that order. Quoting is
9823 # there to prevent editors from complaining about space-tab.
9824 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9825 # splitting by setting IFS to empty value.)
9830 # Find who we are. Look in the path if we contain no directory separator.
9832 *[\\/]* ) as_myself=$0 ;;
9833 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9837 test -z "$as_dir" && as_dir=.
9838 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9844 # We did not find ourselves, most probably we were run as `sh COMMAND'
9845 # in which case we are not to be found in the path.
9846 if test "x$as_myself" = x; then
9849 if test ! -f "$as_myself"; then
9850 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9851 { (exit 1); exit 1; }
9854 # Work around bugs in pre-3.0 UWIN ksh.
9855 for as_var in ENV MAIL MAILPATH
9856 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9864 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9865 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9866 LC_TELEPHONE LC_TIME
9868 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9869 eval $as_var=C; export $as_var
9871 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9875 # Required to use basename.
9876 if expr a : '\(a\)' >/dev/null 2>&1 &&
9877 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9883 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9884 as_basename=basename
9890 # Name of the executable.
9891 as_me=`$as_basename -- "$0" ||
9892 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9893 X"$0" : 'X\(//\)$' \| \
9894 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9896 sed '/^.*\/\([^/][^/]*\)\/*$/{
9917 test "x$as_lineno_1" != "x$as_lineno_2" &&
9918 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9920 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9921 # uniformly replaced by the line number. The first 'sed' inserts a
9922 # line-number line after each line using $LINENO; the second 'sed'
9923 # does the real work. The second script uses 'N' to pair each
9924 # line-number line with the line containing $LINENO, and appends
9925 # trailing '-' during substitution so that $LINENO is not a special
9927 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9928 # scripts with optimization help from Paolo Bonzini. Blame Lee
9929 # E. McMahon (1931-1989) for sed's syntax. :-)
9941 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9945 chmod +x "$as_me.lineno" ||
9946 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9947 { (exit 1); exit 1; }; }
9949 # Don't try to exec as it changes $[0], causing all sort of problems
9950 # (the dirname of $[0] is not the place where we might find the
9951 # original and so on. Autoconf is especially sensitive to this).
9953 # Exit status is that of the last command.
9958 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9964 ECHO_C= ECHO_N= ECHO_T=
9967 case `echo 'x\c'` in
9968 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9975 if expr a : '\(a\)' >/dev/null 2>&1 &&
9976 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9982 rm -f conf$$ conf$$.exe conf$$.file
9983 if test -d conf$$.dir; then
9984 rm -f conf$$.dir/conf$$.file
9990 if ln -s conf$$.file conf$$ 2>/dev/null; then
9992 # ... but there are two gotchas:
9993 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9994 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9995 # In both cases, we have to default to `cp -p'.
9996 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9998 elif ln conf$$.file conf$$ 2>/dev/null; then
10003 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10004 rmdir conf$$.dir 2>/dev/null
10006 if mkdir -p . 2>/dev/null; then
10009 test -d ./-p && rmdir ./-p
10013 if test -x / >/dev/null 2>&1; then
10014 as_test_x='test -x'
10016 if ls -dL / >/dev/null 2>&1; then
10023 if test -d "$1"; then
10029 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10030 ???[sx]*):;;*)false;;esac;fi
10034 as_executable_p=$as_test_x
10036 # Sed expression to map a string onto a valid CPP name.
10037 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10039 # Sed expression to map a string onto a valid variable name.
10040 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10045 # Save the log message, to keep $[0] and so on meaningful, and to
10046 # report actual input values of CONFIG_FILES etc. instead of their
10047 # values after options handling.
10049 This file was extended by gzip $as_me 1.3.9, which was
10050 generated by GNU Autoconf 2.61. Invocation command line was
10052 CONFIG_FILES = $CONFIG_FILES
10053 CONFIG_HEADERS = $CONFIG_HEADERS
10054 CONFIG_LINKS = $CONFIG_LINKS
10055 CONFIG_COMMANDS = $CONFIG_COMMANDS
10058 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10063 cat >>$CONFIG_STATUS <<_ACEOF
10064 # Files that config.status was made for.
10065 config_files="$ac_config_files"
10066 config_headers="$ac_config_headers"
10067 config_commands="$ac_config_commands"
10071 cat >>$CONFIG_STATUS <<\_ACEOF
10073 \`$as_me' instantiates files from templates according to the
10074 current configuration.
10076 Usage: $0 [OPTIONS] [FILE]...
10078 -h, --help print this help, then exit
10079 -V, --version print version number and configuration settings, then exit
10080 -q, --quiet do not print progress messages
10081 -d, --debug don't remove temporary files
10082 --recheck update $as_me by reconfiguring in the same conditions
10083 --file=FILE[:TEMPLATE]
10084 instantiate the configuration file FILE
10085 --header=FILE[:TEMPLATE]
10086 instantiate the configuration header FILE
10088 Configuration files:
10091 Configuration headers:
10094 Configuration commands:
10097 Report bugs to <bug-autoconf@gnu.org>."
10100 cat >>$CONFIG_STATUS <<_ACEOF
10102 gzip config.status 1.3.9
10103 configured by $0, generated by GNU Autoconf 2.61,
10104 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10106 Copyright (C) 2006 Free Software Foundation, Inc.
10107 This config.status script is free software; the Free Software Foundation
10108 gives unlimited permission to copy, distribute and modify it."
10116 cat >>$CONFIG_STATUS <<\_ACEOF
10117 # If no file are specified by the user, then we need to provide default
10118 # value. By we need to know if files were specified by the user.
10124 ac_option=`expr "X$1" : 'X\([^=]*\)='`
10125 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10136 # Handling of the options.
10137 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10139 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10140 echo "$ac_cs_version"; exit ;;
10141 --debug | --debu | --deb | --de | --d | -d )
10143 --file | --fil | --fi | --f )
10145 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10146 ac_need_defaults=false;;
10147 --header | --heade | --head | --hea )
10149 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10150 ac_need_defaults=false;;
10152 # Conflict between --help and --header
10153 { echo "$as_me: error: ambiguous option: $1
10154 Try \`$0 --help' for more information." >&2
10155 { (exit 1); exit 1; }; };;
10156 --help | --hel | -h )
10157 echo "$ac_cs_usage"; exit ;;
10158 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10159 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10162 # This is an error.
10163 -*) { echo "$as_me: error: unrecognized option: $1
10164 Try \`$0 --help' for more information." >&2
10165 { (exit 1); exit 1; }; } ;;
10167 *) ac_config_targets="$ac_config_targets $1"
10168 ac_need_defaults=false ;;
10174 ac_configure_extra_args=
10176 if $ac_cs_silent; then
10178 ac_configure_extra_args="$ac_configure_extra_args --silent"
10182 cat >>$CONFIG_STATUS <<_ACEOF
10183 if \$ac_cs_recheck; then
10184 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10185 CONFIG_SHELL=$SHELL
10186 export CONFIG_SHELL
10187 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10191 cat >>$CONFIG_STATUS <<\_ACEOF
10195 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10196 ## Running $as_me. ##
10202 cat >>$CONFIG_STATUS <<_ACEOF
10206 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10210 cat >>$CONFIG_STATUS <<\_ACEOF
10212 # Handling of arguments.
10213 for ac_config_target in $ac_config_targets
10215 case $ac_config_target in
10216 "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h:lib/config.hin" ;;
10217 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10218 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10219 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10220 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
10222 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10223 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10224 { (exit 1); exit 1; }; };;
10229 # If the user did not use the arguments to specify the items to instantiate,
10230 # then the envvar interface is used. Set only those that are not.
10231 # We use the long form for the default assignment because of an extremely
10232 # bizarre bug on SunOS 4.1.3.
10233 if $ac_need_defaults; then
10234 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10235 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10236 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10239 # Have a temporary directory for convenience. Make it in the build tree
10240 # simply because there is no reason against having it here, and in addition,
10241 # creating and moving files from /tmp can sometimes cause problems.
10242 # Hook for its removal unless debugging.
10243 # Note that there is a small window in which the directory will not be cleaned:
10244 # after its creation but before its name has been assigned to `$tmp'.
10248 trap 'exit_status=$?
10249 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10251 trap '{ (exit 1); exit 1; }' 1 2 13 15
10253 # Create a (secure) tmp directory for tmp files.
10256 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10257 test -n "$tmp" && test -d "$tmp"
10260 tmp=./conf$$-$RANDOM
10261 (umask 077 && mkdir "$tmp")
10264 echo "$me: cannot create a temporary directory in ." >&2
10265 { (exit 1); exit 1; }
10269 # Set up the sed scripts for CONFIG_FILES section.
10272 # No need to generate the scripts if there are no CONFIG_FILES.
10273 # This happens for instance when ./config.status config.h
10274 if test -n "$CONFIG_FILES"; then
10281 for ac_last_try in false false false false false :; do
10282 cat >conf$$subs.sed <<_ACEOF
10283 SHELL!$SHELL$ac_delim
10284 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10285 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10286 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10287 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10288 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10289 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10290 exec_prefix!$exec_prefix$ac_delim
10291 prefix!$prefix$ac_delim
10292 program_transform_name!$program_transform_name$ac_delim
10293 bindir!$bindir$ac_delim
10294 sbindir!$sbindir$ac_delim
10295 libexecdir!$libexecdir$ac_delim
10296 datarootdir!$datarootdir$ac_delim
10297 datadir!$datadir$ac_delim
10298 sysconfdir!$sysconfdir$ac_delim
10299 sharedstatedir!$sharedstatedir$ac_delim
10300 localstatedir!$localstatedir$ac_delim
10301 includedir!$includedir$ac_delim
10302 oldincludedir!$oldincludedir$ac_delim
10303 docdir!$docdir$ac_delim
10304 infodir!$infodir$ac_delim
10305 htmldir!$htmldir$ac_delim
10306 dvidir!$dvidir$ac_delim
10307 pdfdir!$pdfdir$ac_delim
10308 psdir!$psdir$ac_delim
10309 libdir!$libdir$ac_delim
10310 localedir!$localedir$ac_delim
10311 mandir!$mandir$ac_delim
10312 DEFS!$DEFS$ac_delim
10313 ECHO_C!$ECHO_C$ac_delim
10314 ECHO_N!$ECHO_N$ac_delim
10315 ECHO_T!$ECHO_T$ac_delim
10316 LIBS!$LIBS$ac_delim
10317 build_alias!$build_alias$ac_delim
10318 host_alias!$host_alias$ac_delim
10319 target_alias!$target_alias$ac_delim
10320 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10321 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10322 INSTALL_DATA!$INSTALL_DATA$ac_delim
10323 am__isrc!$am__isrc$ac_delim
10324 CYGPATH_W!$CYGPATH_W$ac_delim
10325 PACKAGE!$PACKAGE$ac_delim
10326 VERSION!$VERSION$ac_delim
10327 ACLOCAL!$ACLOCAL$ac_delim
10328 AUTOCONF!$AUTOCONF$ac_delim
10329 AUTOMAKE!$AUTOMAKE$ac_delim
10330 AUTOHEADER!$AUTOHEADER$ac_delim
10331 MAKEINFO!$MAKEINFO$ac_delim
10332 install_sh!$install_sh$ac_delim
10333 STRIP!$STRIP$ac_delim
10334 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10335 mkdir_p!$mkdir_p$ac_delim
10337 SET_MAKE!$SET_MAKE$ac_delim
10338 am__leading_dot!$am__leading_dot$ac_delim
10339 AMTAR!$AMTAR$ac_delim
10340 am__tar!$am__tar$ac_delim
10341 am__untar!$am__untar$ac_delim
10343 CFLAGS!$CFLAGS$ac_delim
10344 LDFLAGS!$LDFLAGS$ac_delim
10345 CPPFLAGS!$CPPFLAGS$ac_delim
10346 ac_ct_CC!$ac_ct_CC$ac_delim
10347 EXEEXT!$EXEEXT$ac_delim
10348 OBJEXT!$OBJEXT$ac_delim
10349 DEPDIR!$DEPDIR$ac_delim
10350 am__include!$am__include$ac_delim
10351 am__quote!$am__quote$ac_delim
10352 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10353 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10354 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10355 CCDEPMODE!$CCDEPMODE$ac_delim
10356 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
10357 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
10360 LN_S!$LN_S$ac_delim
10361 RANLIB!$RANLIB$ac_delim
10362 GREP!$GREP$ac_delim
10363 EGREP!$EGREP$ac_delim
10364 GL_COND_LIBTOOL_TRUE!$GL_COND_LIBTOOL_TRUE$ac_delim
10365 GL_COND_LIBTOOL_FALSE!$GL_COND_LIBTOOL_FALSE$ac_delim
10366 ABSOLUTE_FCNTL_H!$ABSOLUTE_FCNTL_H$ac_delim
10367 FCNTL_H!$FCNTL_H$ac_delim
10368 GETOPT_H!$GETOPT_H$ac_delim
10369 STDBOOL_H!$STDBOOL_H$ac_delim
10370 HAVE__BOOL!$HAVE__BOOL$ac_delim
10371 ABSOLUTE_SYS_STAT_H!$ABSOLUTE_SYS_STAT_H$ac_delim
10372 SYS_STAT_H!$SYS_STAT_H$ac_delim
10373 UNISTD_H!$UNISTD_H$ac_delim
10374 LIBGZIP_LIBDEPS!$LIBGZIP_LIBDEPS$ac_delim
10375 LIBGZIP_LTLIBDEPS!$LIBGZIP_LTLIBDEPS$ac_delim
10376 ASCPPPOST!$ASCPPPOST$ac_delim
10377 ASCPPFLAGS!$ASCPPFLAGS$ac_delim
10378 LIBOBJS!$LIBOBJS$ac_delim
10379 ASFLAGS_config!$ASFLAGS_config$ac_delim
10382 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10384 elif $ac_last_try; then
10385 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10386 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10387 { (exit 1); exit 1; }; }
10389 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10393 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10394 if test -n "$ac_eof"; then
10395 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10396 ac_eof=`expr $ac_eof + 1`
10399 cat >>$CONFIG_STATUS <<_ACEOF
10400 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10401 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10404 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10405 s/^/s,@/; s/!/@,|#_!!_#|/
10408 s/'"$ac_delim"'$/,g/; t
10410 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10411 ' >>$CONFIG_STATUS <conf$$subs.sed
10412 rm -f conf$$subs.sed
10413 cat >>$CONFIG_STATUS <<_ACEOF
10419 for ac_last_try in false false false false false :; do
10420 cat >conf$$subs.sed <<_ACEOF
10421 ac_prefix_program!$ac_prefix_program$ac_delim
10422 LTLIBOBJS!$LTLIBOBJS$ac_delim
10423 gl_LIBOBJS!$gl_LIBOBJS$ac_delim
10424 gl_LTLIBOBJS!$gl_LTLIBOBJS$ac_delim
10427 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 4; then
10429 elif $ac_last_try; then
10430 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10431 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10432 { (exit 1); exit 1; }; }
10434 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10438 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10439 if test -n "$ac_eof"; then
10440 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10441 ac_eof=`expr $ac_eof + 1`
10444 cat >>$CONFIG_STATUS <<_ACEOF
10445 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10446 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10449 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10450 s/^/s,@/; s/!/@,|#_!!_#|/
10453 s/'"$ac_delim"'$/,g/; t
10455 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10456 ' >>$CONFIG_STATUS <conf$$subs.sed
10457 rm -f conf$$subs.sed
10458 cat >>$CONFIG_STATUS <<_ACEOF
10465 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10466 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10467 # trailing colons and then remove the whole line if VPATH becomes empty
10468 # (actually we leave an empty line to preserve line numbers).
10469 if test "x$srcdir" = x.; then
10470 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10471 s/:*\$(srcdir):*/:/
10472 s/:*\${srcdir}:*/:/
10474 s/^\([^=]*=[ ]*\):*/\1/
10480 cat >>$CONFIG_STATUS <<\_ACEOF
10481 fi # test -n "$CONFIG_FILES"
10484 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
10487 :[FHLC]) ac_mode=$ac_tag; continue;;
10489 case $ac_mode$ac_tag in
10491 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10492 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10493 { (exit 1); exit 1; }; };;
10494 :[FH]-) ac_tag=-:-;;
10495 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10512 -) ac_f="$tmp/stdin";;
10513 *) # Look for the file first in the build tree, then in the source tree
10514 # (if the path is not absolute). The absolute path cannot be DOS-style,
10515 # because $ac_f cannot contain `:'.
10519 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10521 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10522 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10523 { (exit 1); exit 1; }; };;
10525 ac_file_inputs="$ac_file_inputs $ac_f"
10528 # Let's still pretend it is `configure' which instantiates (i.e., don't
10529 # use $as_me), people would be surprised to read:
10530 # /* config.h. Generated by config.status. */
10531 configure_input="Generated from "`IFS=:
10532 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10533 if test x"$ac_file" != x-; then
10534 configure_input="$ac_file. $configure_input"
10535 { echo "$as_me:$LINENO: creating $ac_file" >&5
10536 echo "$as_me: creating $ac_file" >&6;}
10540 *:-:* | *:-) cat >"$tmp/stdin";;
10545 ac_dir=`$as_dirname -- "$ac_file" ||
10546 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10547 X"$ac_file" : 'X\(//\)[^/]' \| \
10548 X"$ac_file" : 'X\(//\)$' \| \
10549 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10555 /^X\(\/\/\)[^/].*/{
10570 -*) as_dir=./$as_dir;;
10572 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10576 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10577 *) as_qdir=$as_dir;;
10579 as_dirs="'$as_qdir' $as_dirs"
10580 as_dir=`$as_dirname -- "$as_dir" ||
10581 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10582 X"$as_dir" : 'X\(//\)[^/]' \| \
10583 X"$as_dir" : 'X\(//\)$' \| \
10584 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10590 /^X\(\/\/\)[^/].*/{
10603 test -d "$as_dir" && break
10605 test -z "$as_dirs" || eval "mkdir $as_dirs"
10606 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10607 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10608 { (exit 1); exit 1; }; }; }
10612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10614 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10615 # A ".." for each directory in $ac_dir_suffix.
10616 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10617 case $ac_top_builddir_sub in
10618 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10619 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10622 ac_abs_top_builddir=$ac_pwd
10623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10624 # for backward compatibility:
10625 ac_top_builddir=$ac_top_build_prefix
10628 .) # We are building in place.
10630 ac_top_srcdir=$ac_top_builddir_sub
10631 ac_abs_top_srcdir=$ac_pwd ;;
10632 [\\/]* | ?:[\\/]* ) # Absolute name.
10633 ac_srcdir=$srcdir$ac_dir_suffix;
10634 ac_top_srcdir=$srcdir
10635 ac_abs_top_srcdir=$srcdir ;;
10636 *) # Relative name.
10637 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10638 ac_top_srcdir=$ac_top_build_prefix$srcdir
10639 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10651 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10652 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10654 ac_MKDIR_P=$MKDIR_P
10656 [\\/$]* | ?:[\\/]* ) ;;
10657 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10661 cat >>$CONFIG_STATUS <<\_ACEOF
10662 # If the template does not know about datarootdir, expand it.
10663 # FIXME: This hack should be removed a few years after 2.60.
10664 ac_datarootdir_hack=; ac_datarootdir_seen=
10666 case `sed -n '/datarootdir/ {
10675 ' $ac_file_inputs` in
10676 *datarootdir*) ac_datarootdir_seen=yes;;
10677 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10678 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10679 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10681 cat >>$CONFIG_STATUS <<_ACEOF
10682 ac_datarootdir_hack='
10683 s&@datadir@&$datadir&g
10684 s&@docdir@&$docdir&g
10685 s&@infodir@&$infodir&g
10686 s&@localedir@&$localedir&g
10687 s&@mandir@&$mandir&g
10688 s&\\\${datarootdir}&$datarootdir&g' ;;
10692 # Neutralize VPATH when `$srcdir' = `.'.
10693 # Shell code in configure.ac might set extrasub.
10694 # FIXME: do we really want to maintain this feature?
10695 cat >>$CONFIG_STATUS <<_ACEOF
10699 cat >>$CONFIG_STATUS <<\_ACEOF
10701 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10702 s&@configure_input@&$configure_input&;t t
10703 s&@top_builddir@&$ac_top_builddir_sub&;t t
10704 s&@srcdir@&$ac_srcdir&;t t
10705 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10706 s&@top_srcdir@&$ac_top_srcdir&;t t
10707 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10708 s&@builddir@&$ac_builddir&;t t
10709 s&@abs_builddir@&$ac_abs_builddir&;t t
10710 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10711 s&@INSTALL@&$ac_INSTALL&;t t
10712 s&@MKDIR_P@&$ac_MKDIR_P&;t t
10713 $ac_datarootdir_hack
10714 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
10716 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10717 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10718 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10719 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10720 which seems to be undefined. Please make sure it is defined." >&5
10721 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10722 which seems to be undefined. Please make sure it is defined." >&2;}
10726 -) cat "$tmp/out"; rm -f "$tmp/out";;
10727 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10736 # Transform confdefs.h into a sed script `conftest.defines', that
10737 # substitutes the proper values into config.h.in to produce config.h.
10738 rm -f conftest.defines conftest.tail
10739 # First, append a space to every undef/define line, to ease matching.
10740 echo 's/$/ /' >conftest.defines
10741 # Then, protect against being on the right side of a sed subst, or in
10742 # an unquoted here document, in config.status. If some macros were
10743 # called several times there might be several #defines for the same
10744 # symbol, which is useless. But do not sort them, since the last
10745 # AC_DEFINE must be honored.
10746 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10747 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
10748 # NAME is the cpp macro being defined, VALUE is the value it is being given.
10749 # PARAMS is the parameter list in the macro definition--in most cases, it's
10750 # just an empty string.
10751 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
10752 ac_dB='\\)[ (].*,\\1define\\2'
10760 s/^[ ]*#[ ]*define[ ][ ]*//
10765 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
10766 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
10767 ' >>conftest.defines
10769 # Remove the space that was appended to ease matching.
10770 # Then replace #undef with comments. This is necessary, for
10771 # example, in the case of _POSIX_SOURCE, which is predefined and required
10772 # on some systems where configure will not decide to define it.
10773 # (The regexp can be short, since the line contains either #define or #undef.)
10775 s,^[ #]*u.*,/* & */,' >>conftest.defines
10777 # Break up conftest.defines:
10778 ac_max_sed_lines=50
10780 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
10781 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
10782 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
10784 ac_in='$ac_file_inputs'
10785 ac_out='"$tmp/out1"'
10786 ac_nxt='"$tmp/out2"'
10790 # Write a here document:
10791 cat >>$CONFIG_STATUS <<_ACEOF
10792 # First, check the format of the line:
10793 cat >"\$tmp/defines.sed" <<\\CEOF
10794 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
10795 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
10799 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
10801 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
10802 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
10803 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
10804 grep . conftest.tail >/dev/null || break
10805 rm -f conftest.defines
10806 mv conftest.tail conftest.defines
10808 rm -f conftest.defines conftest.tail
10810 echo "ac_result=$ac_in" >>$CONFIG_STATUS
10811 cat >>$CONFIG_STATUS <<\_ACEOF
10812 if test x"$ac_file" != x-; then
10813 echo "/* $configure_input */" >"$tmp/config.h"
10814 cat "$ac_result" >>"$tmp/config.h"
10815 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
10816 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10817 echo "$as_me: $ac_file is unchanged" >&6;}
10820 mv "$tmp/config.h" $ac_file
10823 echo "/* $configure_input */"
10827 # Compute $ac_file's index in $config_headers.
10829 for _am_header in $config_headers :; do
10830 case $_am_header in
10831 $ac_file | $ac_file:* )
10834 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10837 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
10838 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10839 X$ac_file : 'X\(//\)[^/]' \| \
10840 X$ac_file : 'X\(//\)$' \| \
10841 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
10843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10847 /^X\(\/\/\)[^/].*/{
10859 s/.*/./; q'`/stamp-h$_am_stamp_count
10862 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10863 echo "$as_me: executing $ac_file commands" >&6;}
10868 case $ac_file$ac_mode in
10869 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10870 # Strip MF so we end up with the name of the file.
10871 mf=`echo "$mf" | sed -e 's/:.*$//'`
10872 # Check whether this is an Automake generated Makefile or not.
10873 # We used to match only the files named `Makefile.in', but
10874 # some people rename them; so instead we look at the file content.
10875 # Grep'ing the first line is not enough: some people post-process
10876 # each Makefile.in and add a new line on top of each file to say so.
10877 # Grep'ing the whole file is not good either: AIX grep has a line
10878 # limit of 2048, but all sed's we know have understand at least 4000.
10879 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
10880 dirpart=`$as_dirname -- "$mf" ||
10881 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10882 X"$mf" : 'X\(//\)[^/]' \| \
10883 X"$mf" : 'X\(//\)$' \| \
10884 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10890 /^X\(\/\/\)[^/].*/{
10906 # Extract the definition of DEPDIR, am__include, and am__quote
10907 # from the Makefile without running `make'.
10908 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10909 test -z "$DEPDIR" && continue
10910 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10911 test -z "am__include" && continue
10912 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10913 # When using ansi2knr, U may be empty or an underscore; expand it
10914 U=`sed -n 's/^U = //p' < "$mf"`
10915 # Find all dependency output files, they are included files with
10916 # $(DEPDIR) in their names. We invoke sed twice because it is the
10917 # simplest approach to changing $(DEPDIR) to its actual value in the
10919 for file in `sed -n "
10920 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10921 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10922 # Make sure the directory exists.
10923 test -f "$dirpart/$file" && continue
10924 fdir=`$as_dirname -- "$file" ||
10925 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10926 X"$file" : 'X\(//\)[^/]' \| \
10927 X"$file" : 'X\(//\)$' \| \
10928 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10934 /^X\(\/\/\)[^/].*/{
10947 { as_dir=$dirpart/$fdir
10949 -*) as_dir=./$as_dir;;
10951 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10955 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10956 *) as_qdir=$as_dir;;
10958 as_dirs="'$as_qdir' $as_dirs"
10959 as_dir=`$as_dirname -- "$as_dir" ||
10960 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10961 X"$as_dir" : 'X\(//\)[^/]' \| \
10962 X"$as_dir" : 'X\(//\)$' \| \
10963 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10969 /^X\(\/\/\)[^/].*/{
10982 test -d "$as_dir" && break
10984 test -z "$as_dirs" || eval "mkdir $as_dirs"
10985 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10986 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10987 { (exit 1); exit 1; }; }; }
10988 # echo "creating $dirpart/$file"
10989 echo '# dummy' > "$dirpart/$file"
10998 { (exit 0); exit 0; }
11000 chmod +x $CONFIG_STATUS
11001 ac_clean_files=$ac_clean_files_save
11004 # configure is writing to config.log, and then calls config.status.
11005 # config.status does its own redirection, appending to config.log.
11006 # Unfortunately, on DOS this fails, as config.log is still kept open
11007 # by configure, so config.status won't be able to write to it; its
11008 # output is simply discarded. So we exec the FD to /dev/null,
11009 # effectively closing config.log, so it can be properly (re)opened and
11010 # appended to by config.status. When coming back to configure, we
11011 # need to make the FD available again.
11012 if test "$no_create" != yes; then
11014 ac_config_status_args=
11015 test "$silent" = yes &&
11016 ac_config_status_args="$ac_config_status_args --quiet"
11018 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11020 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11021 # would make configure fail if this is the last instruction.
11022 $ac_cs_success || { (exit 1); exit 1; }