2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for unfs3 0.9.22.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
574 PACKAGE_TARNAME='unfs3'
575 PACKAGE_VERSION='0.9.22'
576 PACKAGE_STRING='unfs3 0.9.22'
588 program_transform_name
639 ac_precious_vars='build_alias
652 # Initialize some variables set by options.
654 ac_init_version=false
655 # The variables have the same names as the options, with
656 # dashes changed to underlines.
664 program_transform_name=s,x,x,
672 # Installation directory options.
673 # These are left unexpanded so users can "make install exec_prefix=/foo"
674 # and all the variables that are supposed to be based on exec_prefix
675 # by default will actually change.
676 # Use braces instead of parens because sh, perl, etc. also accept them.
677 # (The list follows the same order as the GNU Coding Standards.)
678 bindir='${exec_prefix}/bin'
679 sbindir='${exec_prefix}/sbin'
680 libexecdir='${exec_prefix}/libexec'
681 datarootdir='${prefix}/share'
682 datadir='${datarootdir}'
683 sysconfdir='${prefix}/etc'
684 sharedstatedir='${prefix}/com'
685 localstatedir='${prefix}/var'
686 includedir='${prefix}/include'
687 oldincludedir='/usr/include'
688 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
689 infodir='${datarootdir}/info'
694 libdir='${exec_prefix}/lib'
695 localedir='${datarootdir}/locale'
696 mandir='${datarootdir}/man'
702 # If the previous option needs an argument, assign it.
703 if test -n "$ac_prev"; then
704 eval $ac_prev=\$ac_option
710 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
714 # Accept the important Cygnus configure options, so we can diagnose typos.
716 case $ac_dashdash$ac_option in
720 -bindir | --bindir | --bindi | --bind | --bin | --bi)
722 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
725 -build | --build | --buil | --bui | --bu)
726 ac_prev=build_alias ;;
727 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
728 build_alias=$ac_optarg ;;
730 -cache-file | --cache-file | --cache-fil | --cache-fi \
731 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
732 ac_prev=cache_file ;;
733 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
734 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
735 cache_file=$ac_optarg ;;
738 cache_file=config.cache ;;
740 -datadir | --datadir | --datadi | --datad)
742 -datadir=* | --datadir=* | --datadi=* | --datad=*)
743 datadir=$ac_optarg ;;
745 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
746 | --dataroo | --dataro | --datar)
747 ac_prev=datarootdir ;;
748 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
749 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
750 datarootdir=$ac_optarg ;;
752 -disable-* | --disable-*)
753 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
754 # Reject names that are not valid shell variable names.
755 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
756 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
757 { (exit 1); exit 1; }; }
758 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
759 eval enable_$ac_feature=no ;;
761 -docdir | --docdir | --docdi | --doc | --do)
763 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
766 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
768 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
771 -enable-* | --enable-*)
772 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
773 # Reject names that are not valid shell variable names.
774 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
775 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
776 { (exit 1); exit 1; }; }
777 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
778 eval enable_$ac_feature=\$ac_optarg ;;
780 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
781 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
782 | --exec | --exe | --ex)
783 ac_prev=exec_prefix ;;
784 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
785 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
786 | --exec=* | --exe=* | --ex=*)
787 exec_prefix=$ac_optarg ;;
789 -gas | --gas | --ga | --g)
790 # Obsolete; use --with-gas.
793 -help | --help | --hel | --he | -h)
795 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
796 ac_init_help=recursive ;;
797 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
798 ac_init_help=short ;;
800 -host | --host | --hos | --ho)
801 ac_prev=host_alias ;;
802 -host=* | --host=* | --hos=* | --ho=*)
803 host_alias=$ac_optarg ;;
805 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
807 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
809 htmldir=$ac_optarg ;;
811 -includedir | --includedir | --includedi | --included | --include \
812 | --includ | --inclu | --incl | --inc)
813 ac_prev=includedir ;;
814 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
815 | --includ=* | --inclu=* | --incl=* | --inc=*)
816 includedir=$ac_optarg ;;
818 -infodir | --infodir | --infodi | --infod | --info | --inf)
820 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
821 infodir=$ac_optarg ;;
823 -libdir | --libdir | --libdi | --libd)
825 -libdir=* | --libdir=* | --libdi=* | --libd=*)
828 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
829 | --libexe | --libex | --libe)
830 ac_prev=libexecdir ;;
831 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
832 | --libexe=* | --libex=* | --libe=*)
833 libexecdir=$ac_optarg ;;
835 -localedir | --localedir | --localedi | --localed | --locale)
837 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
838 localedir=$ac_optarg ;;
840 -localstatedir | --localstatedir | --localstatedi | --localstated \
841 | --localstate | --localstat | --localsta | --localst | --locals)
842 ac_prev=localstatedir ;;
843 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
844 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
845 localstatedir=$ac_optarg ;;
847 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
849 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
853 # Obsolete; use --without-fp.
856 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
857 | --no-cr | --no-c | -n)
860 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
861 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
864 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
865 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
866 | --oldin | --oldi | --old | --ol | --o)
867 ac_prev=oldincludedir ;;
868 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
869 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
870 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
871 oldincludedir=$ac_optarg ;;
873 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
875 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
878 -program-prefix | --program-prefix | --program-prefi | --program-pref \
879 | --program-pre | --program-pr | --program-p)
880 ac_prev=program_prefix ;;
881 -program-prefix=* | --program-prefix=* | --program-prefi=* \
882 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
883 program_prefix=$ac_optarg ;;
885 -program-suffix | --program-suffix | --program-suffi | --program-suff \
886 | --program-suf | --program-su | --program-s)
887 ac_prev=program_suffix ;;
888 -program-suffix=* | --program-suffix=* | --program-suffi=* \
889 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
890 program_suffix=$ac_optarg ;;
892 -program-transform-name | --program-transform-name \
893 | --program-transform-nam | --program-transform-na \
894 | --program-transform-n | --program-transform- \
895 | --program-transform | --program-transfor \
896 | --program-transfo | --program-transf \
897 | --program-trans | --program-tran \
898 | --progr-tra | --program-tr | --program-t)
899 ac_prev=program_transform_name ;;
900 -program-transform-name=* | --program-transform-name=* \
901 | --program-transform-nam=* | --program-transform-na=* \
902 | --program-transform-n=* | --program-transform-=* \
903 | --program-transform=* | --program-transfor=* \
904 | --program-transfo=* | --program-transf=* \
905 | --program-trans=* | --program-tran=* \
906 | --progr-tra=* | --program-tr=* | --program-t=*)
907 program_transform_name=$ac_optarg ;;
909 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
911 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
914 -psdir | --psdir | --psdi | --psd | --ps)
916 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
919 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
920 | -silent | --silent | --silen | --sile | --sil)
923 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
925 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
927 sbindir=$ac_optarg ;;
929 -sharedstatedir | --sharedstatedir | --sharedstatedi \
930 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
931 | --sharedst | --shareds | --shared | --share | --shar \
933 ac_prev=sharedstatedir ;;
934 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
935 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
936 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
938 sharedstatedir=$ac_optarg ;;
940 -site | --site | --sit)
942 -site=* | --site=* | --sit=*)
945 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
947 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
950 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
951 | --syscon | --sysco | --sysc | --sys | --sy)
952 ac_prev=sysconfdir ;;
953 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
954 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
955 sysconfdir=$ac_optarg ;;
957 -target | --target | --targe | --targ | --tar | --ta | --t)
958 ac_prev=target_alias ;;
959 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
960 target_alias=$ac_optarg ;;
962 -v | -verbose | --verbose | --verbos | --verbo | --verb)
965 -version | --version | --versio | --versi | --vers | -V)
969 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
972 { echo "$as_me: error: invalid package name: $ac_package" >&2
973 { (exit 1); exit 1; }; }
974 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
975 eval with_$ac_package=\$ac_optarg ;;
977 -without-* | --without-*)
978 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
981 { echo "$as_me: error: invalid package name: $ac_package" >&2
982 { (exit 1); exit 1; }; }
983 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
984 eval with_$ac_package=no ;;
987 # Obsolete; use --with-x.
990 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
991 | --x-incl | --x-inc | --x-in | --x-i)
992 ac_prev=x_includes ;;
993 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
994 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
995 x_includes=$ac_optarg ;;
997 -x-libraries | --x-libraries | --x-librarie | --x-librari \
998 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
999 ac_prev=x_libraries ;;
1000 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1001 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1002 x_libraries=$ac_optarg ;;
1004 -*) { echo "$as_me: error: unrecognized option: $ac_option
1005 Try \`$0 --help' for more information." >&2
1006 { (exit 1); exit 1; }; }
1010 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1013 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1014 { (exit 1); exit 1; }; }
1015 eval $ac_envvar=\$ac_optarg
1016 export $ac_envvar ;;
1019 # FIXME: should be removed in autoconf 3.0.
1020 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1021 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1022 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1023 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1029 if test -n "$ac_prev"; then
1030 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1031 { echo "$as_me: error: missing argument to $ac_option" >&2
1032 { (exit 1); exit 1; }; }
1035 # Be sure to have absolute directory names.
1036 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1037 datadir sysconfdir sharedstatedir localstatedir includedir \
1038 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1039 libdir localedir mandir
1041 eval ac_val=\$$ac_var
1043 [\\/$]* | ?:[\\/]* ) continue;;
1044 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1046 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1047 { (exit 1); exit 1; }; }
1050 # There might be people who depend on the old broken behavior: `$host'
1051 # used to hold the argument of --host etc.
1052 # FIXME: To remove some day.
1055 target=$target_alias
1057 # FIXME: To remove some day.
1058 if test "x$host_alias" != x; then
1059 if test "x$build_alias" = x; then
1060 cross_compiling=maybe
1061 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1062 If a cross compiler is detected then cross compile mode will be used." >&2
1063 elif test "x$build_alias" != "x$host_alias"; then
1069 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1071 test "$silent" = yes && exec 6>/dev/null
1074 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1075 ac_ls_di=`ls -di .` &&
1076 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1077 { echo "$as_me: error: Working directory cannot be determined" >&2
1078 { (exit 1); exit 1; }; }
1079 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1080 { echo "$as_me: error: pwd does not report name of working directory" >&2
1081 { (exit 1); exit 1; }; }
1084 # Find the source files, if location was not specified.
1085 if test -z "$srcdir"; then
1086 ac_srcdir_defaulted=yes
1087 # Try the directory containing this script, then the parent directory.
1088 ac_confdir=`$as_dirname -- "$0" ||
1089 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1090 X"$0" : 'X\(//\)[^/]' \| \
1091 X"$0" : 'X\(//\)$' \| \
1092 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1112 if test ! -r "$srcdir/$ac_unique_file"; then
1116 ac_srcdir_defaulted=no
1118 if test ! -r "$srcdir/$ac_unique_file"; then
1119 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1120 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1121 { (exit 1); exit 1; }; }
1123 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1125 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1126 { (exit 1); exit 1; }; }
1128 # When building in place, set srcdir=.
1129 if test "$ac_abs_confdir" = "$ac_pwd"; then
1132 # Remove unnecessary trailing slashes from srcdir.
1133 # Double slashes in file names in object file debugging info
1134 # mess up M-x gdb in Emacs.
1136 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1138 for ac_var in $ac_precious_vars; do
1139 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1140 eval ac_env_${ac_var}_value=\$${ac_var}
1141 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1142 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1146 # Report the --help message.
1148 if test "$ac_init_help" = "long"; then
1149 # Omit some internal or obsolete options to make the list less imposing.
1150 # This message is too long to be a string in the A/UX 3.1 sh.
1152 \`configure' configures unfs3 0.9.22 to adapt to many kinds of systems.
1154 Usage: $0 [OPTION]... [VAR=VALUE]...
1156 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1157 VAR=VALUE. See below for descriptions of some of the useful variables.
1159 Defaults for the options are specified in brackets.
1162 -h, --help display this help and exit
1163 --help=short display options specific to this package
1164 --help=recursive display the short help of all the included packages
1165 -V, --version display version information and exit
1166 -q, --quiet, --silent do not print \`checking...' messages
1167 --cache-file=FILE cache test results in FILE [disabled]
1168 -C, --config-cache alias for \`--cache-file=config.cache'
1169 -n, --no-create do not create output files
1170 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1172 Installation directories:
1173 --prefix=PREFIX install architecture-independent files in PREFIX
1174 [$ac_default_prefix]
1175 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1178 By default, \`make install' will install all the files in
1179 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1180 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1181 for instance \`--prefix=\$HOME'.
1183 For better control, use the options below.
1185 Fine tuning of the installation directories:
1186 --bindir=DIR user executables [EPREFIX/bin]
1187 --sbindir=DIR system admin executables [EPREFIX/sbin]
1188 --libexecdir=DIR program executables [EPREFIX/libexec]
1189 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1190 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1191 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1192 --libdir=DIR object code libraries [EPREFIX/lib]
1193 --includedir=DIR C header files [PREFIX/include]
1194 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1195 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1196 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1197 --infodir=DIR info documentation [DATAROOTDIR/info]
1198 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1199 --mandir=DIR man documentation [DATAROOTDIR/man]
1200 --docdir=DIR documentation root [DATAROOTDIR/doc/unfs3]
1201 --htmldir=DIR html documentation [DOCDIR]
1202 --dvidir=DIR dvi documentation [DOCDIR]
1203 --pdfdir=DIR pdf documentation [DOCDIR]
1204 --psdir=DIR ps documentation [DOCDIR]
1211 if test -n "$ac_init_help"; then
1212 case $ac_init_help in
1213 short | recursive ) echo "Configuration of unfs3 0.9.22:";;
1218 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1219 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1220 --disable-largefile omit support for large files
1221 --enable-cluster include clustering extensions
1223 Some influential environment variables:
1224 CC C compiler command
1225 CFLAGS C compiler flags
1226 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1227 nonstandard directory <lib dir>
1228 LIBS libraries to pass to the linker, e.g. -l<library>
1229 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1230 you have headers in a nonstandard directory <include dir>
1231 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1232 the first program found out of: `bison -y', `byacc', `yacc'.
1233 YFLAGS The list of arguments that will be passed by default to $YACC.
1234 This script will default YFLAGS to the empty string to avoid a
1235 default value of `-d' given by some make applications.
1238 Use these variables to override the choices made by `configure' or to help
1239 it to find libraries and programs with nonstandard names/locations.
1245 if test "$ac_init_help" = "recursive"; then
1246 # If there are subdirs, report their specific --help.
1247 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1248 test -d "$ac_dir" || continue
1252 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1254 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1255 # A ".." for each directory in $ac_dir_suffix.
1256 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1257 case $ac_top_builddir_sub in
1258 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1259 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1262 ac_abs_top_builddir=$ac_pwd
1263 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1264 # for backward compatibility:
1265 ac_top_builddir=$ac_top_build_prefix
1268 .) # We are building in place.
1270 ac_top_srcdir=$ac_top_builddir_sub
1271 ac_abs_top_srcdir=$ac_pwd ;;
1272 [\\/]* | ?:[\\/]* ) # Absolute name.
1273 ac_srcdir=$srcdir$ac_dir_suffix;
1274 ac_top_srcdir=$srcdir
1275 ac_abs_top_srcdir=$srcdir ;;
1277 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1278 ac_top_srcdir=$ac_top_build_prefix$srcdir
1279 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1281 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1283 cd "$ac_dir" || { ac_status=$?; continue; }
1284 # Check for guested configure.
1285 if test -f "$ac_srcdir/configure.gnu"; then
1287 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1288 elif test -f "$ac_srcdir/configure"; then
1290 $SHELL "$ac_srcdir/configure" --help=recursive
1292 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1294 cd "$ac_pwd" || { ac_status=$?; break; }
1298 test -n "$ac_init_help" && exit $ac_status
1299 if $ac_init_version; then
1301 unfs3 configure 0.9.22
1302 generated by GNU Autoconf 2.61
1304 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1305 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1306 This configure script is free software; the Free Software Foundation
1307 gives unlimited permission to copy, distribute and modify it.
1311 cat >config.log <<_ACEOF
1312 This file contains any messages produced by compilers while
1313 running configure, to aid debugging if configure makes a mistake.
1315 It was created by unfs3 $as_me 0.9.22, which was
1316 generated by GNU Autoconf 2.61. Invocation command line was
1328 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1329 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1330 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1331 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1332 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1334 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1335 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1337 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1338 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1339 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1340 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1341 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1342 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1343 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1351 test -z "$as_dir" && as_dir=.
1352 echo "PATH: $as_dir"
1368 # Keep a trace of the command line.
1369 # Strip out --no-create and --no-recursion so they do not pile up.
1370 # Strip out --silent because we don't want to record it for future runs.
1371 # Also quote any args containing shell meta-characters.
1372 # Make two passes to allow for proper duplicate-argument suppression.
1376 ac_must_keep_next=false
1382 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1383 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1384 | -silent | --silent | --silen | --sile | --sil)
1387 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1390 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1392 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1393 if test $ac_must_keep_next = true; then
1394 ac_must_keep_next=false # Got value, back to normal.
1397 *=* | --config-cache | -C | -disable-* | --disable-* \
1398 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1399 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1400 | -with-* | --with-* | -without-* | --without-* | --x)
1401 case "$ac_configure_args0 " in
1402 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1405 -* ) ac_must_keep_next=true ;;
1408 ac_configure_args="$ac_configure_args '$ac_arg'"
1413 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1414 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1416 # When interrupted or exit'd, cleanup temporary files, and complete
1417 # config.log. We remove comments because anyway the quotes in there
1418 # would cause problems or look ugly.
1419 # WARNING: Use '\'' to represent an apostrophe within the trap.
1420 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1421 trap 'exit_status=$?
1422 # Save into config.log some information that might help in debugging.
1427 ## ---------------- ##
1428 ## Cache variables. ##
1429 ## ---------------- ##
1432 # The following way of writing the cache mishandles newlines in values,
1434 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1435 eval ac_val=\$$ac_var
1439 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1440 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1443 _ | IFS | as_nl) ;; #(
1444 *) $as_unset $ac_var ;;
1449 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1450 *${as_nl}ac_space=\ *)
1452 "s/'\''/'\''\\\\'\'''\''/g;
1453 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1456 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1464 ## ----------------- ##
1465 ## Output variables. ##
1466 ## ----------------- ##
1469 for ac_var in $ac_subst_vars
1471 eval ac_val=\$$ac_var
1473 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1475 echo "$ac_var='\''$ac_val'\''"
1479 if test -n "$ac_subst_files"; then
1481 ## ------------------- ##
1482 ## File substitutions. ##
1483 ## ------------------- ##
1486 for ac_var in $ac_subst_files
1488 eval ac_val=\$$ac_var
1490 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1492 echo "$ac_var='\''$ac_val'\''"
1497 if test -s confdefs.h; then
1507 test "$ac_signal" != 0 &&
1508 echo "$as_me: caught signal $ac_signal"
1509 echo "$as_me: exit $exit_status"
1511 rm -f core *.core core.conftest.* &&
1512 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1515 for ac_signal in 1 2 13 15; do
1516 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1521 rm -f -r conftest* confdefs.h
1523 # Predefined preprocessor variables.
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_NAME "$PACKAGE_NAME"
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1540 cat >>confdefs.h <<_ACEOF
1541 #define PACKAGE_STRING "$PACKAGE_STRING"
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1550 # Let the site file select an alternate cache file if it wants to.
1551 # Prefer explicitly selected file to automatically selected ones.
1552 if test -n "$CONFIG_SITE"; then
1553 set x "$CONFIG_SITE"
1554 elif test "x$prefix" != xNONE; then
1555 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1557 set x "$ac_default_prefix/share/config.site" \
1558 "$ac_default_prefix/etc/config.site"
1563 if test -r "$ac_site_file"; then
1564 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1565 echo "$as_me: loading site script $ac_site_file" >&6;}
1566 sed 's/^/| /' "$ac_site_file" >&5
1571 if test -r "$cache_file"; then
1572 # Some versions of bash will fail to source /dev/null (special
1573 # files actually), so we avoid doing that.
1574 if test -f "$cache_file"; then
1575 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1576 echo "$as_me: loading cache $cache_file" >&6;}
1578 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1579 *) . "./$cache_file";;
1583 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1584 echo "$as_me: creating cache $cache_file" >&6;}
1588 # Check that the precious variables saved in the cache have kept the same
1590 ac_cache_corrupted=false
1591 for ac_var in $ac_precious_vars; do
1592 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1593 eval ac_new_set=\$ac_env_${ac_var}_set
1594 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1595 eval ac_new_val=\$ac_env_${ac_var}_value
1596 case $ac_old_set,$ac_new_set in
1598 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1599 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1600 ac_cache_corrupted=: ;;
1602 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1603 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1604 ac_cache_corrupted=: ;;
1607 if test "x$ac_old_val" != "x$ac_new_val"; then
1608 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1609 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1610 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1611 echo "$as_me: former value: $ac_old_val" >&2;}
1612 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1613 echo "$as_me: current value: $ac_new_val" >&2;}
1614 ac_cache_corrupted=:
1617 # Pass precious variables to config.status.
1618 if test "$ac_new_set" = set; then
1620 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1621 *) ac_arg=$ac_var=$ac_new_val ;;
1623 case " $ac_configure_args " in
1624 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1625 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1629 if $ac_cache_corrupted; then
1630 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1631 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1632 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1633 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1634 { (exit 1); exit 1; }; }
1662 ac_cpp='$CPP $CPPFLAGS'
1663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1668 ac_config_headers="$ac_config_headers config.h"
1671 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1672 if test -f "$ac_dir/install-sh"; then
1674 ac_install_sh="$ac_aux_dir/install-sh -c"
1676 elif test -f "$ac_dir/install.sh"; then
1678 ac_install_sh="$ac_aux_dir/install.sh -c"
1680 elif test -f "$ac_dir/shtool"; then
1682 ac_install_sh="$ac_aux_dir/shtool install -c"
1686 if test -z "$ac_aux_dir"; then
1687 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1688 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1689 { (exit 1); exit 1; }; }
1692 # These three variables are undocumented and unsupported,
1693 # and are intended to be withdrawn in a future Autoconf release.
1694 # They can cause serious problems if a builder's source tree is in a directory
1695 # whose full name contains unusual characters.
1696 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1697 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1698 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1701 # Find a good install program. We prefer a C program (faster),
1702 # so one script is as good as another. But avoid the broken or
1703 # incompatible versions:
1704 # SysV /etc/install, /usr/sbin/install
1705 # SunOS /usr/etc/install
1706 # IRIX /sbin/install
1708 # AmigaOS /C/install, which installs bootblocks on floppy discs
1709 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1710 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1711 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1712 # OS/2's system install, which has a completely different semantic
1713 # ./install, which can be erroneously created by make from ./install.sh.
1714 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1715 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1716 if test -z "$INSTALL"; then
1717 if test "${ac_cv_path_install+set}" = set; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1724 test -z "$as_dir" && as_dir=.
1725 # Account for people who put trailing slashes in PATH elements.
1727 ./ | .// | /cC/* | \
1728 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1729 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1732 # OSF1 and SCO ODT 3.0 have their own names for install.
1733 # Don't use installbsd from OSF since it installs stuff as root
1735 for ac_prog in ginstall scoinst install; do
1736 for ac_exec_ext in '' $ac_executable_extensions; do
1737 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1738 if test $ac_prog = install &&
1739 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1740 # AIX install. It has an incompatible calling convention.
1742 elif test $ac_prog = install &&
1743 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1744 # program-specific install script used by HP pwplus--don't use.
1747 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1760 if test "${ac_cv_path_install+set}" = set; then
1761 INSTALL=$ac_cv_path_install
1763 # As a last resort, use the slow shell script. Don't cache a
1764 # value for INSTALL within a source directory, because that will
1765 # break other packages using the cache if that directory is
1766 # removed, or if the value is a relative name.
1767 INSTALL=$ac_install_sh
1770 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1771 echo "${ECHO_T}$INSTALL" >&6; }
1773 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1774 # It thinks the first close brace ends the variable substitution.
1775 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1777 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1779 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1782 ac_cpp='$CPP $CPPFLAGS'
1783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1786 if test -n "$ac_tool_prefix"; then
1787 for ac_prog in gcc egcs kgcc cc
1789 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1790 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1793 if test "${ac_cv_prog_CC+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 if test -n "$CC"; then
1797 ac_cv_prog_CC="$CC" # Let the user override the test.
1799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1803 test -z "$as_dir" && as_dir=.
1804 for ac_exec_ext in '' $ac_executable_extensions; do
1805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1806 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1817 if test -n "$CC"; then
1818 { echo "$as_me:$LINENO: result: $CC" >&5
1819 echo "${ECHO_T}$CC" >&6; }
1821 { echo "$as_me:$LINENO: result: no" >&5
1822 echo "${ECHO_T}no" >&6; }
1826 test -n "$CC" && break
1829 if test -z "$CC"; then
1831 for ac_prog in gcc egcs kgcc cc
1833 # Extract the first word of "$ac_prog", so it can be a program name with args.
1834 set dummy $ac_prog; ac_word=$2
1835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 if test -n "$ac_ct_CC"; then
1841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir=.
1848 for ac_exec_ext in '' $ac_executable_extensions; do
1849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1850 ac_cv_prog_ac_ct_CC="$ac_prog"
1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1860 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1861 if test -n "$ac_ct_CC"; then
1862 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1863 echo "${ECHO_T}$ac_ct_CC" >&6; }
1865 { echo "$as_me:$LINENO: result: no" >&5
1866 echo "${ECHO_T}no" >&6; }
1870 test -n "$ac_ct_CC" && break
1873 if test "x$ac_ct_CC" = x; then
1876 case $cross_compiling:$ac_tool_warned in
1878 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1879 whose name does not start with the host triplet. If you think this
1880 configuration is useful to you, please write to autoconf@gnu.org." >&5
1881 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1882 whose name does not start with the host triplet. If you think this
1883 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1884 ac_tool_warned=yes ;;
1891 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1892 See \`config.log' for more details." >&5
1893 echo "$as_me: error: no acceptable C compiler found in \$PATH
1894 See \`config.log' for more details." >&2;}
1895 { (exit 1); exit 1; }; }
1897 # Provide some information about the compiler.
1898 echo "$as_me:$LINENO: checking for C compiler version" >&5
1899 ac_compiler=`set X $ac_compile; echo $2`
1900 { (ac_try="$ac_compiler --version >&5"
1902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1903 *) ac_try_echo=$ac_try;;
1905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1906 (eval "$ac_compiler --version >&5") 2>&5
1908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1909 (exit $ac_status); }
1910 { (ac_try="$ac_compiler -v >&5"
1912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1913 *) ac_try_echo=$ac_try;;
1915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1916 (eval "$ac_compiler -v >&5") 2>&5
1918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1919 (exit $ac_status); }
1920 { (ac_try="$ac_compiler -V >&5"
1922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923 *) ac_try_echo=$ac_try;;
1925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1926 (eval "$ac_compiler -V >&5") 2>&5
1928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1929 (exit $ac_status); }
1931 cat >conftest.$ac_ext <<_ACEOF
1934 cat confdefs.h >>conftest.$ac_ext
1935 cat >>conftest.$ac_ext <<_ACEOF
1936 /* end confdefs.h. */
1946 ac_clean_files_save=$ac_clean_files
1947 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1948 # Try to create an executable without -o first, disregard a.out.
1949 # It will help us diagnose broken compilers, and finding out an intuition
1951 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1952 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1953 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1955 # List of possible output files, starting from the most likely.
1956 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
1957 # only as a last resort. b.out is created by i960 compilers.
1958 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
1960 # The IRIX 6 linker writes into existing files which may not be
1961 # executable, retaining their permissions. Remove them first so a
1962 # subsequent execution test works.
1964 for ac_file in $ac_files
1967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1968 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
1973 if { (ac_try="$ac_link_default"
1975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976 *) ac_try_echo=$ac_try;;
1978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1979 (eval "$ac_link_default") 2>&5
1981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982 (exit $ac_status); }; then
1983 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
1984 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
1985 # in a Makefile. We should not override ac_cv_exeext if it was cached,
1986 # so that the user can short-circuit this test for compilers unknown to
1988 for ac_file in $ac_files ''
1990 test -f "$ac_file" || continue
1992 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
1995 # We found the default executable, but exeext='' is most
1999 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2001 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2003 # We set ac_cv_exeext here because the later test for it is not
2004 # safe: cross compilers may not add the suffix if given an `-o'
2005 # argument, so we may need to know it at that point already.
2006 # Even if this section looks crufty: it has the advantage of
2013 test "$ac_cv_exeext" = no && ac_cv_exeext=
2019 { echo "$as_me:$LINENO: result: $ac_file" >&5
2020 echo "${ECHO_T}$ac_file" >&6; }
2021 if test -z "$ac_file"; then
2022 echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.$ac_ext >&5
2025 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2026 See \`config.log' for more details." >&5
2027 echo "$as_me: error: C compiler cannot create executables
2028 See \`config.log' for more details." >&2;}
2029 { (exit 77); exit 77; }; }
2032 ac_exeext=$ac_cv_exeext
2034 # Check that the compiler produces executables we can run. If not, either
2035 # the compiler is broken, or we cross compile.
2036 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2037 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2038 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2039 # If not cross compiling, check that we can run a simple program.
2040 if test "$cross_compiling" != yes; then
2041 if { ac_try='./$ac_file'
2042 { (case "(($ac_try" in
2043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2044 *) ac_try_echo=$ac_try;;
2046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2047 (eval "$ac_try") 2>&5
2049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050 (exit $ac_status); }; }; then
2053 if test "$cross_compiling" = maybe; then
2056 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2057 If you meant to cross compile, use \`--host'.
2058 See \`config.log' for more details." >&5
2059 echo "$as_me: error: cannot run C compiled programs.
2060 If you meant to cross compile, use \`--host'.
2061 See \`config.log' for more details." >&2;}
2062 { (exit 1); exit 1; }; }
2066 { echo "$as_me:$LINENO: result: yes" >&5
2067 echo "${ECHO_T}yes" >&6; }
2069 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2070 ac_clean_files=$ac_clean_files_save
2071 # Check that the compiler produces executables we can run. If not, either
2072 # the compiler is broken, or we cross compile.
2073 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2074 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2075 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2076 echo "${ECHO_T}$cross_compiling" >&6; }
2078 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2079 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2080 if { (ac_try="$ac_link"
2082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2083 *) ac_try_echo=$ac_try;;
2085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2086 (eval "$ac_link") 2>&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; then
2090 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2091 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2092 # work properly (i.e., refer to `conftest.exe'), while it won't with
2094 for ac_file in conftest.exe conftest conftest.*; do
2095 test -f "$ac_file" || continue
2097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2098 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2104 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2105 See \`config.log' for more details." >&5
2106 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2107 See \`config.log' for more details." >&2;}
2108 { (exit 1); exit 1; }; }
2111 rm -f conftest$ac_cv_exeext
2112 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2113 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2115 rm -f conftest.$ac_ext
2116 EXEEXT=$ac_cv_exeext
2118 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2119 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2120 if test "${ac_cv_objext+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 cat >conftest.$ac_ext <<_ACEOF
2126 cat confdefs.h >>conftest.$ac_ext
2127 cat >>conftest.$ac_ext <<_ACEOF
2128 /* end confdefs.h. */
2138 rm -f conftest.o conftest.obj
2139 if { (ac_try="$ac_compile"
2141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2142 *) ac_try_echo=$ac_try;;
2144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2145 (eval "$ac_compile") 2>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); }; then
2149 for ac_file in conftest.o conftest.obj conftest.*; do
2150 test -f "$ac_file" || continue;
2152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2153 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2158 echo "$as_me: failed program was:" >&5
2159 sed 's/^/| /' conftest.$ac_ext >&5
2161 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2162 See \`config.log' for more details." >&5
2163 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2164 See \`config.log' for more details." >&2;}
2165 { (exit 1); exit 1; }; }
2168 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2170 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2171 echo "${ECHO_T}$ac_cv_objext" >&6; }
2172 OBJEXT=$ac_cv_objext
2174 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2175 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2176 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 cat >conftest.$ac_ext <<_ACEOF
2182 cat confdefs.h >>conftest.$ac_ext
2183 cat >>conftest.$ac_ext <<_ACEOF
2184 /* end confdefs.h. */
2197 rm -f conftest.$ac_objext
2198 if { (ac_try="$ac_compile"
2200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2201 *) ac_try_echo=$ac_try;;
2203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2204 (eval "$ac_compile") 2>conftest.er1
2206 grep -v '^ *+' conftest.er1 >conftest.err
2208 cat conftest.err >&5
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210 (exit $ac_status); } && {
2211 test -z "$ac_c_werror_flag" ||
2212 test ! -s conftest.err
2213 } && test -s conftest.$ac_objext; then
2216 echo "$as_me: failed program was:" >&5
2217 sed 's/^/| /' conftest.$ac_ext >&5
2222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2223 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2226 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2227 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2228 GCC=`test $ac_compiler_gnu = yes && echo yes`
2229 ac_test_CFLAGS=${CFLAGS+set}
2230 ac_save_CFLAGS=$CFLAGS
2231 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2232 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2233 if test "${ac_cv_prog_cc_g+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 ac_save_c_werror_flag=$ac_c_werror_flag
2237 ac_c_werror_flag=yes
2240 cat >conftest.$ac_ext <<_ACEOF
2243 cat confdefs.h >>conftest.$ac_ext
2244 cat >>conftest.$ac_ext <<_ACEOF
2245 /* end confdefs.h. */
2255 rm -f conftest.$ac_objext
2256 if { (ac_try="$ac_compile"
2258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2259 *) ac_try_echo=$ac_try;;
2261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2262 (eval "$ac_compile") 2>conftest.er1
2264 grep -v '^ *+' conftest.er1 >conftest.err
2266 cat conftest.err >&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); } && {
2269 test -z "$ac_c_werror_flag" ||
2270 test ! -s conftest.err
2271 } && test -s conftest.$ac_objext; then
2274 echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.$ac_ext >&5
2278 cat >conftest.$ac_ext <<_ACEOF
2281 cat confdefs.h >>conftest.$ac_ext
2282 cat >>conftest.$ac_ext <<_ACEOF
2283 /* end confdefs.h. */
2293 rm -f conftest.$ac_objext
2294 if { (ac_try="$ac_compile"
2296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2297 *) ac_try_echo=$ac_try;;
2299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2300 (eval "$ac_compile") 2>conftest.er1
2302 grep -v '^ *+' conftest.er1 >conftest.err
2304 cat conftest.err >&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); } && {
2307 test -z "$ac_c_werror_flag" ||
2308 test ! -s conftest.err
2309 } && test -s conftest.$ac_objext; then
2312 echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.$ac_ext >&5
2315 ac_c_werror_flag=$ac_save_c_werror_flag
2317 cat >conftest.$ac_ext <<_ACEOF
2320 cat confdefs.h >>conftest.$ac_ext
2321 cat >>conftest.$ac_ext <<_ACEOF
2322 /* end confdefs.h. */
2332 rm -f conftest.$ac_objext
2333 if { (ac_try="$ac_compile"
2335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;;
2338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2339 (eval "$ac_compile") 2>conftest.er1
2341 grep -v '^ *+' conftest.er1 >conftest.err
2343 cat conftest.err >&5
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); } && {
2346 test -z "$ac_c_werror_flag" ||
2347 test ! -s conftest.err
2348 } && test -s conftest.$ac_objext; then
2351 echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.$ac_ext >&5
2357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 ac_c_werror_flag=$ac_save_c_werror_flag
2366 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2367 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2368 if test "$ac_test_CFLAGS" = set; then
2369 CFLAGS=$ac_save_CFLAGS
2370 elif test $ac_cv_prog_cc_g = yes; then
2371 if test "$GCC" = yes; then
2377 if test "$GCC" = yes; then
2383 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2384 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2385 if test "${ac_cv_prog_cc_c89+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2388 ac_cv_prog_cc_c89=no
2390 cat >conftest.$ac_ext <<_ACEOF
2393 cat confdefs.h >>conftest.$ac_ext
2394 cat >>conftest.$ac_ext <<_ACEOF
2395 /* end confdefs.h. */
2398 #include <sys/types.h>
2399 #include <sys/stat.h>
2400 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2401 struct buf { int x; };
2402 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2403 static char *e (p, i)
2409 static char *f (char * (*g) (char **, int), char **p, ...)
2414 s = g (p, va_arg (v,int));
2419 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2420 function prototypes and stuff, but not '\xHH' hex character constants.
2421 These don't provoke an error unfortunately, instead are silently treated
2422 as 'x'. The following induces an error, until -std is added to get
2423 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2424 array size at least. It's necessary to write '\x00'==0 to get something
2425 that's true only with -std. */
2426 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2428 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2429 inside strings and character constants. */
2431 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2433 int test (int i, double x);
2434 struct s1 {int (*f) (int a);};
2435 struct s2 {int (*f) (double a);};
2436 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2442 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2447 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2448 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2450 CC="$ac_save_CC $ac_arg"
2451 rm -f conftest.$ac_objext
2452 if { (ac_try="$ac_compile"
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2458 (eval "$ac_compile") 2>conftest.er1
2460 grep -v '^ *+' conftest.er1 >conftest.err
2462 cat conftest.err >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); } && {
2465 test -z "$ac_c_werror_flag" ||
2466 test ! -s conftest.err
2467 } && test -s conftest.$ac_objext; then
2468 ac_cv_prog_cc_c89=$ac_arg
2470 echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.$ac_ext >&5
2476 rm -f core conftest.err conftest.$ac_objext
2477 test "x$ac_cv_prog_cc_c89" != "xno" && break
2479 rm -f conftest.$ac_ext
2484 case "x$ac_cv_prog_cc_c89" in
2486 { echo "$as_me:$LINENO: result: none needed" >&5
2487 echo "${ECHO_T}none needed" >&6; } ;;
2489 { echo "$as_me:$LINENO: result: unsupported" >&5
2490 echo "${ECHO_T}unsupported" >&6; } ;;
2492 CC="$CC $ac_cv_prog_cc_c89"
2493 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2494 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2499 ac_cpp='$CPP $CPPFLAGS'
2500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2505 for ac_prog in flex lex
2507 # Extract the first word of "$ac_prog", so it can be a program name with args.
2508 set dummy $ac_prog; ac_word=$2
2509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2511 if test "${ac_cv_prog_LEX+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 if test -n "$LEX"; then
2515 ac_cv_prog_LEX="$LEX" # Let the user override the test.
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir=.
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524 ac_cv_prog_LEX="$ac_prog"
2525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2535 if test -n "$LEX"; then
2536 { echo "$as_me:$LINENO: result: $LEX" >&5
2537 echo "${ECHO_T}$LEX" >&6; }
2539 { echo "$as_me:$LINENO: result: no" >&5
2540 echo "${ECHO_T}no" >&6; }
2544 test -n "$LEX" && break
2546 test -n "$LEX" || LEX=":"
2548 if test "x$LEX" != "x:"; then
2549 cat >conftest.l <<_ACEOF
2555 e { yyless (input () != 0); }
2556 f { unput (yytext[0]); }
2557 . { BEGIN INITIAL; }
2559 #ifdef YYTEXT_POINTER
2560 extern char *yytext;
2565 return ! yylex () + ! yywrap ();
2568 { (ac_try="$LEX conftest.l"
2570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2571 *) ac_try_echo=$ac_try;;
2573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2574 (eval "$LEX conftest.l") 2>&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }
2578 { echo "$as_me:$LINENO: checking lex output file root" >&5
2579 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
2580 if test "${ac_cv_prog_lex_root+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 if test -f lex.yy.c; then
2585 ac_cv_prog_lex_root=lex.yy
2586 elif test -f lexyy.c; then
2587 ac_cv_prog_lex_root=lexyy
2589 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
2590 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
2591 { (exit 1); exit 1; }; }
2594 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
2595 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
2596 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2598 if test -z "${LEXLIB+set}"; then
2599 { echo "$as_me:$LINENO: checking lex library" >&5
2600 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
2601 if test "${ac_cv_lib_lex+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 ac_cv_lib_lex='none needed'
2607 for ac_lib in '' -lfl -ll; do
2608 LIBS="$ac_lib $ac_save_LIBS"
2609 cat >conftest.$ac_ext <<_ACEOF
2610 `cat $LEX_OUTPUT_ROOT.c`
2612 rm -f conftest.$ac_objext conftest$ac_exeext
2613 if { (ac_try="$ac_link"
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2619 (eval "$ac_link") 2>conftest.er1
2621 grep -v '^ *+' conftest.er1 >conftest.err
2623 cat conftest.err >&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); } && {
2626 test -z "$ac_c_werror_flag" ||
2627 test ! -s conftest.err
2628 } && test -s conftest$ac_exeext &&
2629 $as_test_x conftest$ac_exeext; then
2630 ac_cv_lib_lex=$ac_lib
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2639 conftest$ac_exeext conftest.$ac_ext
2640 test "$ac_cv_lib_lex" != 'none needed' && break
2645 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
2646 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
2647 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
2651 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
2652 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
2653 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
2654 echo $ECHO_N "(cached) $ECHO_C" >&6
2656 # POSIX says lex can declare yytext either as a pointer or an array; the
2657 # default is implementation-dependent. Figure out which it is, since
2658 # not all implementations provide the %pointer and %array declarations.
2659 ac_cv_prog_lex_yytext_pointer=no
2661 LIBS="$LEXLIB $ac_save_LIBS"
2662 cat >conftest.$ac_ext <<_ACEOF
2663 #define YYTEXT_POINTER 1
2664 `cat $LEX_OUTPUT_ROOT.c`
2666 rm -f conftest.$ac_objext conftest$ac_exeext
2667 if { (ac_try="$ac_link"
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2673 (eval "$ac_link") 2>conftest.er1
2675 grep -v '^ *+' conftest.er1 >conftest.err
2677 cat conftest.err >&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); } && {
2680 test -z "$ac_c_werror_flag" ||
2681 test ! -s conftest.err
2682 } && test -s conftest$ac_exeext &&
2683 $as_test_x conftest$ac_exeext; then
2684 ac_cv_prog_lex_yytext_pointer=yes
2686 echo "$as_me: failed program was:" >&5
2687 sed 's/^/| /' conftest.$ac_ext >&5
2692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2693 conftest$ac_exeext conftest.$ac_ext
2697 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
2698 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
2699 if test $ac_cv_prog_lex_yytext_pointer = yes; then
2701 cat >>confdefs.h <<\_ACEOF
2702 #define YYTEXT_POINTER 1
2706 rm -f conftest.l $LEX_OUTPUT_ROOT.c
2709 for ac_prog in 'bison -y' byacc
2711 # Extract the first word of "$ac_prog", so it can be a program name with args.
2712 set dummy $ac_prog; ac_word=$2
2713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2715 if test "${ac_cv_prog_YACC+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 if test -n "$YACC"; then
2719 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 test -z "$as_dir" && as_dir=.
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2728 ac_cv_prog_YACC="$ac_prog"
2729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 YACC=$ac_cv_prog_YACC
2739 if test -n "$YACC"; then
2740 { echo "$as_me:$LINENO: result: $YACC" >&5
2741 echo "${ECHO_T}$YACC" >&6; }
2743 { echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6; }
2748 test -n "$YACC" && break
2750 test -n "$YACC" || YACC="yacc"
2753 ac_cpp='$CPP $CPPFLAGS'
2754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2757 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2758 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2759 # On Suns, sometimes $CPP names a directory.
2760 if test -n "$CPP" && test -d "$CPP"; then
2763 if test -z "$CPP"; then
2764 if test "${ac_cv_prog_CPP+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 # Double quotes because CPP needs to be expanded
2768 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2771 for ac_c_preproc_warn_flag in '' yes
2773 # Use a header file that comes with gcc, so configuring glibc
2774 # with a fresh cross-compiler works.
2775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2776 # <limits.h> exists even on freestanding compilers.
2777 # On the NeXT, cc -E runs the code through the compiler's parser,
2778 # not just through cpp. "Syntax error" is here to catch this case.
2779 cat >conftest.$ac_ext <<_ACEOF
2782 cat confdefs.h >>conftest.$ac_ext
2783 cat >>conftest.$ac_ext <<_ACEOF
2784 /* end confdefs.h. */
2786 # include <limits.h>
2788 # include <assert.h>
2792 if { (ac_try="$ac_cpp conftest.$ac_ext"
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2800 grep -v '^ *+' conftest.er1 >conftest.err
2802 cat conftest.err >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); } >/dev/null && {
2805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2806 test ! -s conftest.err
2810 echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.$ac_ext >&5
2813 # Broken: fails on valid input.
2817 rm -f conftest.err conftest.$ac_ext
2819 # OK, works on sane cases. Now check whether nonexistent headers
2820 # can be detected and how.
2821 cat >conftest.$ac_ext <<_ACEOF
2824 cat confdefs.h >>conftest.$ac_ext
2825 cat >>conftest.$ac_ext <<_ACEOF
2826 /* end confdefs.h. */
2827 #include <ac_nonexistent.h>
2829 if { (ac_try="$ac_cpp conftest.$ac_ext"
2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2832 *) ac_try_echo=$ac_try;;
2834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2837 grep -v '^ *+' conftest.er1 >conftest.err
2839 cat conftest.err >&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); } >/dev/null && {
2842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2843 test ! -s conftest.err
2845 # Broken: success on invalid input.
2848 echo "$as_me: failed program was:" >&5
2849 sed 's/^/| /' conftest.$ac_ext >&5
2851 # Passes both tests.
2856 rm -f conftest.err conftest.$ac_ext
2859 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2860 rm -f conftest.err conftest.$ac_ext
2861 if $ac_preproc_ok; then
2873 { echo "$as_me:$LINENO: result: $CPP" >&5
2874 echo "${ECHO_T}$CPP" >&6; }
2876 for ac_c_preproc_warn_flag in '' yes
2878 # Use a header file that comes with gcc, so configuring glibc
2879 # with a fresh cross-compiler works.
2880 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2881 # <limits.h> exists even on freestanding compilers.
2882 # On the NeXT, cc -E runs the code through the compiler's parser,
2883 # not just through cpp. "Syntax error" is here to catch this case.
2884 cat >conftest.$ac_ext <<_ACEOF
2887 cat confdefs.h >>conftest.$ac_ext
2888 cat >>conftest.$ac_ext <<_ACEOF
2889 /* end confdefs.h. */
2891 # include <limits.h>
2893 # include <assert.h>
2897 if { (ac_try="$ac_cpp conftest.$ac_ext"
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2905 grep -v '^ *+' conftest.er1 >conftest.err
2907 cat conftest.err >&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); } >/dev/null && {
2910 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2911 test ! -s conftest.err
2915 echo "$as_me: failed program was:" >&5
2916 sed 's/^/| /' conftest.$ac_ext >&5
2918 # Broken: fails on valid input.
2922 rm -f conftest.err conftest.$ac_ext
2924 # OK, works on sane cases. Now check whether nonexistent headers
2925 # can be detected and how.
2926 cat >conftest.$ac_ext <<_ACEOF
2929 cat confdefs.h >>conftest.$ac_ext
2930 cat >>conftest.$ac_ext <<_ACEOF
2931 /* end confdefs.h. */
2932 #include <ac_nonexistent.h>
2934 if { (ac_try="$ac_cpp conftest.$ac_ext"
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2942 grep -v '^ *+' conftest.er1 >conftest.err
2944 cat conftest.err >&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); } >/dev/null && {
2947 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2948 test ! -s conftest.err
2950 # Broken: success on invalid input.
2953 echo "$as_me: failed program was:" >&5
2954 sed 's/^/| /' conftest.$ac_ext >&5
2956 # Passes both tests.
2961 rm -f conftest.err conftest.$ac_ext
2964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2965 rm -f conftest.err conftest.$ac_ext
2966 if $ac_preproc_ok; then
2969 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2970 See \`config.log' for more details." >&5
2971 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2972 See \`config.log' for more details." >&2;}
2973 { (exit 1); exit 1; }; }
2977 ac_cpp='$CPP $CPPFLAGS'
2978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2983 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2984 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2985 if test "${ac_cv_path_GREP+set}" = set; then
2986 echo $ECHO_N "(cached) $ECHO_C" >&6
2988 # Extract the first word of "grep ggrep" to use in msg output
2989 if test -z "$GREP"; then
2990 set dummy grep ggrep; ac_prog_name=$2
2991 if test "${ac_cv_path_GREP+set}" = set; then
2992 echo $ECHO_N "(cached) $ECHO_C" >&6
2994 ac_path_GREP_found=false
2995 # Loop through the user's path and test for each of PROGNAME-LIST
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2997 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3000 test -z "$as_dir" && as_dir=.
3001 for ac_prog in grep ggrep; do
3002 for ac_exec_ext in '' $ac_executable_extensions; do
3003 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3004 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3005 # Check for GNU ac_path_GREP and select it if it is found.
3006 # Check for GNU $ac_path_GREP
3007 case `"$ac_path_GREP" --version 2>&1` in
3009 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3012 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3015 cat "conftest.in" "conftest.in" >"conftest.tmp"
3016 mv "conftest.tmp" "conftest.in"
3017 cp "conftest.in" "conftest.nl"
3018 echo 'GREP' >> "conftest.nl"
3019 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3020 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3021 ac_count=`expr $ac_count + 1`
3022 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3023 # Best one so far, save it but keep looking for a better one
3024 ac_cv_path_GREP="$ac_path_GREP"
3025 ac_path_GREP_max=$ac_count
3027 # 10*(2^10) chars as input seems more than enough
3028 test $ac_count -gt 10 && break
3030 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3034 $ac_path_GREP_found && break 3
3044 GREP="$ac_cv_path_GREP"
3045 if test -z "$GREP"; then
3046 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3047 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3048 { (exit 1); exit 1; }; }
3052 ac_cv_path_GREP=$GREP
3057 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3058 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3059 GREP="$ac_cv_path_GREP"
3062 { echo "$as_me:$LINENO: checking for egrep" >&5
3063 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3064 if test "${ac_cv_path_EGREP+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3068 then ac_cv_path_EGREP="$GREP -E"
3070 # Extract the first word of "egrep" to use in msg output
3071 if test -z "$EGREP"; then
3072 set dummy egrep; ac_prog_name=$2
3073 if test "${ac_cv_path_EGREP+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3076 ac_path_EGREP_found=false
3077 # Loop through the user's path and test for each of PROGNAME-LIST
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3082 test -z "$as_dir" && as_dir=.
3083 for ac_prog in egrep; do
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3086 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3087 # Check for GNU ac_path_EGREP and select it if it is found.
3088 # Check for GNU $ac_path_EGREP
3089 case `"$ac_path_EGREP" --version 2>&1` in
3091 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3094 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3097 cat "conftest.in" "conftest.in" >"conftest.tmp"
3098 mv "conftest.tmp" "conftest.in"
3099 cp "conftest.in" "conftest.nl"
3100 echo 'EGREP' >> "conftest.nl"
3101 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3102 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3103 ac_count=`expr $ac_count + 1`
3104 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3105 # Best one so far, save it but keep looking for a better one
3106 ac_cv_path_EGREP="$ac_path_EGREP"
3107 ac_path_EGREP_max=$ac_count
3109 # 10*(2^10) chars as input seems more than enough
3110 test $ac_count -gt 10 && break
3112 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3116 $ac_path_EGREP_found && break 3
3126 EGREP="$ac_cv_path_EGREP"
3127 if test -z "$EGREP"; then
3128 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3129 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3130 { (exit 1); exit 1; }; }
3134 ac_cv_path_EGREP=$EGREP
3140 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3141 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3142 EGREP="$ac_cv_path_EGREP"
3145 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3146 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3147 if test "${ac_cv_header_stdc+set}" = set; then
3148 echo $ECHO_N "(cached) $ECHO_C" >&6
3150 cat >conftest.$ac_ext <<_ACEOF
3153 cat confdefs.h >>conftest.$ac_ext
3154 cat >>conftest.$ac_ext <<_ACEOF
3155 /* end confdefs.h. */
3169 rm -f conftest.$ac_objext
3170 if { (ac_try="$ac_compile"
3172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3173 *) ac_try_echo=$ac_try;;
3175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3176 (eval "$ac_compile") 2>conftest.er1
3178 grep -v '^ *+' conftest.er1 >conftest.err
3180 cat conftest.err >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); } && {
3183 test -z "$ac_c_werror_flag" ||
3184 test ! -s conftest.err
3185 } && test -s conftest.$ac_objext; then
3186 ac_cv_header_stdc=yes
3188 echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.$ac_ext >&5
3191 ac_cv_header_stdc=no
3194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196 if test $ac_cv_header_stdc = yes; then
3197 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3198 cat >conftest.$ac_ext <<_ACEOF
3201 cat confdefs.h >>conftest.$ac_ext
3202 cat >>conftest.$ac_ext <<_ACEOF
3203 /* end confdefs.h. */
3207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3208 $EGREP "memchr" >/dev/null 2>&1; then
3211 ac_cv_header_stdc=no
3217 if test $ac_cv_header_stdc = yes; then
3218 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3219 cat >conftest.$ac_ext <<_ACEOF
3222 cat confdefs.h >>conftest.$ac_ext
3223 cat >>conftest.$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3229 $EGREP "free" >/dev/null 2>&1; then
3232 ac_cv_header_stdc=no
3238 if test $ac_cv_header_stdc = yes; then
3239 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3240 if test "$cross_compiling" = yes; then
3243 cat >conftest.$ac_ext <<_ACEOF
3246 cat confdefs.h >>conftest.$ac_ext
3247 cat >>conftest.$ac_ext <<_ACEOF
3248 /* end confdefs.h. */
3251 #if ((' ' & 0x0FF) == 0x020)
3252 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3253 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3255 # define ISLOWER(c) \
3256 (('a' <= (c) && (c) <= 'i') \
3257 || ('j' <= (c) && (c) <= 'r') \
3258 || ('s' <= (c) && (c) <= 'z'))
3259 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3262 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3267 for (i = 0; i < 256; i++)
3268 if (XOR (islower (i), ISLOWER (i))
3269 || toupper (i) != TOUPPER (i))
3274 rm -f conftest$ac_exeext
3275 if { (ac_try="$ac_link"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3281 (eval "$ac_link") 2>&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3285 { (case "(($ac_try" in
3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3290 (eval "$ac_try") 2>&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); }; }; then
3296 echo "$as_me: program exited with status $ac_status" >&5
3297 echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.$ac_ext >&5
3301 ac_cv_header_stdc=no
3303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3309 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3310 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3311 if test $ac_cv_header_stdc = yes; then
3313 cat >>confdefs.h <<\_ACEOF
3314 #define STDC_HEADERS 1
3319 # Check whether --enable-largefile was given.
3320 if test "${enable_largefile+set}" = set; then
3321 enableval=$enable_largefile;
3324 if test "$enable_largefile" != no; then
3326 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3327 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
3328 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3329 echo $ECHO_N "(cached) $ECHO_C" >&6
3331 ac_cv_sys_largefile_CC=no
3332 if test "$GCC" != yes; then
3335 # IRIX 6.2 and later do not support large files by default,
3336 # so use the C compiler's -n32 option if that helps.
3337 cat >conftest.$ac_ext <<_ACEOF
3340 cat confdefs.h >>conftest.$ac_ext
3341 cat >>conftest.$ac_ext <<_ACEOF
3342 /* end confdefs.h. */
3343 #include <sys/types.h>
3344 /* Check that off_t can represent 2**63 - 1 correctly.
3345 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3346 since some C++ compilers masquerading as C compilers
3347 incorrectly reject 9223372036854775807. */
3348 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3349 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3350 && LARGE_OFF_T % 2147483647 == 1)
3360 rm -f conftest.$ac_objext
3361 if { (ac_try="$ac_compile"
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3367 (eval "$ac_compile") 2>conftest.er1
3369 grep -v '^ *+' conftest.er1 >conftest.err
3371 cat conftest.err >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } && {
3374 test -z "$ac_c_werror_flag" ||
3375 test ! -s conftest.err
3376 } && test -s conftest.$ac_objext; then
3379 echo "$as_me: failed program was:" >&5
3380 sed 's/^/| /' conftest.$ac_ext >&5
3385 rm -f core conftest.err conftest.$ac_objext
3387 rm -f conftest.$ac_objext
3388 if { (ac_try="$ac_compile"
3390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3394 (eval "$ac_compile") 2>conftest.er1
3396 grep -v '^ *+' conftest.er1 >conftest.err
3398 cat conftest.err >&5
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } && {
3401 test -z "$ac_c_werror_flag" ||
3402 test ! -s conftest.err
3403 } && test -s conftest.$ac_objext; then
3404 ac_cv_sys_largefile_CC=' -n32'; break
3406 echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.$ac_ext >&5
3412 rm -f core conftest.err conftest.$ac_objext
3416 rm -f conftest.$ac_ext
3419 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3420 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
3421 if test "$ac_cv_sys_largefile_CC" != no; then
3422 CC=$CC$ac_cv_sys_largefile_CC
3425 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3426 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
3427 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3431 cat >conftest.$ac_ext <<_ACEOF
3434 cat confdefs.h >>conftest.$ac_ext
3435 cat >>conftest.$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3437 #include <sys/types.h>
3438 /* Check that off_t can represent 2**63 - 1 correctly.
3439 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3440 since some C++ compilers masquerading as C compilers
3441 incorrectly reject 9223372036854775807. */
3442 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3443 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3444 && LARGE_OFF_T % 2147483647 == 1)
3454 rm -f conftest.$ac_objext
3455 if { (ac_try="$ac_compile"
3457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3461 (eval "$ac_compile") 2>conftest.er1
3463 grep -v '^ *+' conftest.er1 >conftest.err
3465 cat conftest.err >&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); } && {
3468 test -z "$ac_c_werror_flag" ||
3469 test ! -s conftest.err
3470 } && test -s conftest.$ac_objext; then
3471 ac_cv_sys_file_offset_bits=no; break
3473 echo "$as_me: failed program was:" >&5
3474 sed 's/^/| /' conftest.$ac_ext >&5
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 cat >conftest.$ac_ext <<_ACEOF
3483 cat confdefs.h >>conftest.$ac_ext
3484 cat >>conftest.$ac_ext <<_ACEOF
3485 /* end confdefs.h. */
3486 #define _FILE_OFFSET_BITS 64
3487 #include <sys/types.h>
3488 /* Check that off_t can represent 2**63 - 1 correctly.
3489 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3490 since some C++ compilers masquerading as C compilers
3491 incorrectly reject 9223372036854775807. */
3492 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3493 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3494 && LARGE_OFF_T % 2147483647 == 1)
3504 rm -f conftest.$ac_objext
3505 if { (ac_try="$ac_compile"
3507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3508 *) ac_try_echo=$ac_try;;
3510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3511 (eval "$ac_compile") 2>conftest.er1
3513 grep -v '^ *+' conftest.er1 >conftest.err
3515 cat conftest.err >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } && {
3518 test -z "$ac_c_werror_flag" ||
3519 test ! -s conftest.err
3520 } && test -s conftest.$ac_objext; then
3521 ac_cv_sys_file_offset_bits=64; break
3523 echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.$ac_ext >&5
3529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 ac_cv_sys_file_offset_bits=unknown
3534 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3535 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
3536 case $ac_cv_sys_file_offset_bits in #(
3539 cat >>confdefs.h <<_ACEOF
3540 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3545 if test $ac_cv_sys_file_offset_bits = unknown; then
3546 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3547 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
3548 if test "${ac_cv_sys_large_files+set}" = set; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3552 cat >conftest.$ac_ext <<_ACEOF
3555 cat confdefs.h >>conftest.$ac_ext
3556 cat >>conftest.$ac_ext <<_ACEOF
3557 /* end confdefs.h. */
3558 #include <sys/types.h>
3559 /* Check that off_t can represent 2**63 - 1 correctly.
3560 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3561 since some C++ compilers masquerading as C compilers
3562 incorrectly reject 9223372036854775807. */
3563 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3564 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3565 && LARGE_OFF_T % 2147483647 == 1)
3575 rm -f conftest.$ac_objext
3576 if { (ac_try="$ac_compile"
3578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3579 *) ac_try_echo=$ac_try;;
3581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3582 (eval "$ac_compile") 2>conftest.er1
3584 grep -v '^ *+' conftest.er1 >conftest.err
3586 cat conftest.err >&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); } && {
3589 test -z "$ac_c_werror_flag" ||
3590 test ! -s conftest.err
3591 } && test -s conftest.$ac_objext; then
3592 ac_cv_sys_large_files=no; break
3594 echo "$as_me: failed program was:" >&5
3595 sed 's/^/| /' conftest.$ac_ext >&5
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601 cat >conftest.$ac_ext <<_ACEOF
3604 cat confdefs.h >>conftest.$ac_ext
3605 cat >>conftest.$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3607 #define _LARGE_FILES 1
3608 #include <sys/types.h>
3609 /* Check that off_t can represent 2**63 - 1 correctly.
3610 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3611 since some C++ compilers masquerading as C compilers
3612 incorrectly reject 9223372036854775807. */
3613 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3614 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3615 && LARGE_OFF_T % 2147483647 == 1)
3625 rm -f conftest.$ac_objext
3626 if { (ac_try="$ac_compile"
3628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629 *) ac_try_echo=$ac_try;;
3631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3632 (eval "$ac_compile") 2>conftest.er1
3634 grep -v '^ *+' conftest.er1 >conftest.err
3636 cat conftest.err >&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } && {
3639 test -z "$ac_c_werror_flag" ||
3640 test ! -s conftest.err
3641 } && test -s conftest.$ac_objext; then
3642 ac_cv_sys_large_files=1; break
3644 echo "$as_me: failed program was:" >&5
3645 sed 's/^/| /' conftest.$ac_ext >&5
3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3651 ac_cv_sys_large_files=unknown
3655 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3656 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
3657 case $ac_cv_sys_large_files in #(
3660 cat >>confdefs.h <<_ACEOF
3661 #define _LARGE_FILES $ac_cv_sys_large_files
3669 { echo "$as_me:$LINENO: checking for library containing xdr_int" >&5
3670 echo $ECHO_N "checking for library containing xdr_int... $ECHO_C" >&6; }
3671 if test "${ac_cv_search_xdr_int+set}" = set; then
3672 echo $ECHO_N "(cached) $ECHO_C" >&6
3674 ac_func_search_save_LIBS=$LIBS
3675 cat >conftest.$ac_ext <<_ACEOF
3678 cat confdefs.h >>conftest.$ac_ext
3679 cat >>conftest.$ac_ext <<_ACEOF
3680 /* end confdefs.h. */
3682 /* Override any GCC internal prototype to avoid an error.
3683 Use char because int might match the return type of a GCC
3684 builtin and then its argument prototype would still apply. */
3697 for ac_lib in '' nsl; do
3698 if test -z "$ac_lib"; then
3699 ac_res="none required"
3702 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3704 rm -f conftest.$ac_objext conftest$ac_exeext
3705 if { (ac_try="$ac_link"
3707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3708 *) ac_try_echo=$ac_try;;
3710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3711 (eval "$ac_link") 2>conftest.er1
3713 grep -v '^ *+' conftest.er1 >conftest.err
3715 cat conftest.err >&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); } && {
3718 test -z "$ac_c_werror_flag" ||
3719 test ! -s conftest.err
3720 } && test -s conftest$ac_exeext &&
3721 $as_test_x conftest$ac_exeext; then
3722 ac_cv_search_xdr_int=$ac_res
3724 echo "$as_me: failed program was:" >&5
3725 sed 's/^/| /' conftest.$ac_ext >&5
3730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3732 if test "${ac_cv_search_xdr_int+set}" = set; then
3736 if test "${ac_cv_search_xdr_int+set}" = set; then
3739 ac_cv_search_xdr_int=no
3742 LIBS=$ac_func_search_save_LIBS
3744 { echo "$as_me:$LINENO: result: $ac_cv_search_xdr_int" >&5
3745 echo "${ECHO_T}$ac_cv_search_xdr_int" >&6; }
3746 ac_res=$ac_cv_search_xdr_int
3747 if test "$ac_res" != no; then
3748 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3752 { echo "$as_me:$LINENO: checking for library containing socket" >&5
3753 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
3754 if test "${ac_cv_search_socket+set}" = set; then
3755 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 ac_func_search_save_LIBS=$LIBS
3758 cat >conftest.$ac_ext <<_ACEOF
3761 cat confdefs.h >>conftest.$ac_ext
3762 cat >>conftest.$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3765 /* Override any GCC internal prototype to avoid an error.
3766 Use char because int might match the return type of a GCC
3767 builtin and then its argument prototype would still apply. */
3780 for ac_lib in '' socket; do
3781 if test -z "$ac_lib"; then
3782 ac_res="none required"
3785 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3787 rm -f conftest.$ac_objext conftest$ac_exeext
3788 if { (ac_try="$ac_link"
3790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791 *) ac_try_echo=$ac_try;;
3793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3794 (eval "$ac_link") 2>conftest.er1
3796 grep -v '^ *+' conftest.er1 >conftest.err
3798 cat conftest.err >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); } && {
3801 test -z "$ac_c_werror_flag" ||
3802 test ! -s conftest.err
3803 } && test -s conftest$ac_exeext &&
3804 $as_test_x conftest$ac_exeext; then
3805 ac_cv_search_socket=$ac_res
3807 echo "$as_me: failed program was:" >&5
3808 sed 's/^/| /' conftest.$ac_ext >&5
3813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3815 if test "${ac_cv_search_socket+set}" = set; then
3819 if test "${ac_cv_search_socket+set}" = set; then
3822 ac_cv_search_socket=no
3825 LIBS=$ac_func_search_save_LIBS
3827 { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
3828 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
3829 ac_res=$ac_cv_search_socket
3830 if test "$ac_res" != no; then
3831 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3835 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
3836 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
3837 if test "${ac_cv_search_inet_aton+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 ac_func_search_save_LIBS=$LIBS
3841 cat >conftest.$ac_ext <<_ACEOF
3844 cat confdefs.h >>conftest.$ac_ext
3845 cat >>conftest.$ac_ext <<_ACEOF
3846 /* end confdefs.h. */
3848 /* Override any GCC internal prototype to avoid an error.
3849 Use char because int might match the return type of a GCC
3850 builtin and then its argument prototype would still apply. */
3858 return inet_aton ();
3863 for ac_lib in '' resolv; do
3864 if test -z "$ac_lib"; then
3865 ac_res="none required"
3868 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3870 rm -f conftest.$ac_objext conftest$ac_exeext
3871 if { (ac_try="$ac_link"
3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874 *) ac_try_echo=$ac_try;;
3876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3877 (eval "$ac_link") 2>conftest.er1
3879 grep -v '^ *+' conftest.er1 >conftest.err
3881 cat conftest.err >&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); } && {
3884 test -z "$ac_c_werror_flag" ||
3885 test ! -s conftest.err
3886 } && test -s conftest$ac_exeext &&
3887 $as_test_x conftest$ac_exeext; then
3888 ac_cv_search_inet_aton=$ac_res
3890 echo "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.$ac_ext >&5
3896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3898 if test "${ac_cv_search_inet_aton+set}" = set; then
3902 if test "${ac_cv_search_inet_aton+set}" = set; then
3905 ac_cv_search_inet_aton=no
3908 LIBS=$ac_func_search_save_LIBS
3910 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
3911 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
3912 ac_res=$ac_cv_search_inet_aton
3913 if test "$ac_res" != no; then
3914 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3919 for ac_header in mntent.h
3921 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3922 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3924 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 cat >conftest.$ac_ext <<_ACEOF
3930 cat confdefs.h >>conftest.$ac_ext
3931 cat >>conftest.$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3935 #include <$ac_header>
3937 rm -f conftest.$ac_objext
3938 if { (ac_try="$ac_compile"
3940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3941 *) ac_try_echo=$ac_try;;
3943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3944 (eval "$ac_compile") 2>conftest.er1
3946 grep -v '^ *+' conftest.er1 >conftest.err
3948 cat conftest.err >&5
3949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3950 (exit $ac_status); } && {
3951 test -z "$ac_c_werror_flag" ||
3952 test ! -s conftest.err
3953 } && test -s conftest.$ac_objext; then
3954 eval "$as_ac_Header=yes"
3956 echo "$as_me: failed program was:" >&5
3957 sed 's/^/| /' conftest.$ac_ext >&5
3959 eval "$as_ac_Header=no"
3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3964 ac_res=`eval echo '${'$as_ac_Header'}'`
3965 { echo "$as_me:$LINENO: result: $ac_res" >&5
3966 echo "${ECHO_T}$ac_res" >&6; }
3967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3968 cat >>confdefs.h <<_ACEOF
3969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3977 for ac_header in stdint.h
3979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3980 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3982 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3983 echo $ECHO_N "(cached) $ECHO_C" >&6
3985 cat >conftest.$ac_ext <<_ACEOF
3988 cat confdefs.h >>conftest.$ac_ext
3989 cat >>conftest.$ac_ext <<_ACEOF
3990 /* end confdefs.h. */
3993 #include <$ac_header>
3995 rm -f conftest.$ac_objext
3996 if { (ac_try="$ac_compile"
3998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999 *) ac_try_echo=$ac_try;;
4001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4002 (eval "$ac_compile") 2>conftest.er1
4004 grep -v '^ *+' conftest.er1 >conftest.err
4006 cat conftest.err >&5
4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008 (exit $ac_status); } && {
4009 test -z "$ac_c_werror_flag" ||
4010 test ! -s conftest.err
4011 } && test -s conftest.$ac_objext; then
4012 eval "$as_ac_Header=yes"
4014 echo "$as_me: failed program was:" >&5
4015 sed 's/^/| /' conftest.$ac_ext >&5
4017 eval "$as_ac_Header=no"
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4022 ac_res=`eval echo '${'$as_ac_Header'}'`
4023 { echo "$as_me:$LINENO: result: $ac_res" >&5
4024 echo "${ECHO_T}$ac_res" >&6; }
4025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4026 cat >>confdefs.h <<_ACEOF
4027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4035 for ac_header in sys/mnttab.h
4037 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4038 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4040 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4041 echo $ECHO_N "(cached) $ECHO_C" >&6
4043 cat >conftest.$ac_ext <<_ACEOF
4046 cat confdefs.h >>conftest.$ac_ext
4047 cat >>conftest.$ac_ext <<_ACEOF
4048 /* end confdefs.h. */
4051 #include <$ac_header>
4053 rm -f conftest.$ac_objext
4054 if { (ac_try="$ac_compile"
4056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4057 *) ac_try_echo=$ac_try;;
4059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4060 (eval "$ac_compile") 2>conftest.er1
4062 grep -v '^ *+' conftest.er1 >conftest.err
4064 cat conftest.err >&5
4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } && {
4067 test -z "$ac_c_werror_flag" ||
4068 test ! -s conftest.err
4069 } && test -s conftest.$ac_objext; then
4070 eval "$as_ac_Header=yes"
4072 echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.$ac_ext >&5
4075 eval "$as_ac_Header=no"
4078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4080 ac_res=`eval echo '${'$as_ac_Header'}'`
4081 { echo "$as_me:$LINENO: result: $ac_res" >&5
4082 echo "${ECHO_T}$ac_res" >&6; }
4083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4084 cat >>confdefs.h <<_ACEOF
4085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4093 for ac_header in sys/mount.h
4095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4096 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4098 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4099 echo $ECHO_N "(cached) $ECHO_C" >&6
4101 cat >conftest.$ac_ext <<_ACEOF
4104 cat confdefs.h >>conftest.$ac_ext
4105 cat >>conftest.$ac_ext <<_ACEOF
4106 /* end confdefs.h. */
4109 #include <$ac_header>
4111 rm -f conftest.$ac_objext
4112 if { (ac_try="$ac_compile"
4114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115 *) ac_try_echo=$ac_try;;
4117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4118 (eval "$ac_compile") 2>conftest.er1
4120 grep -v '^ *+' conftest.er1 >conftest.err
4122 cat conftest.err >&5
4123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124 (exit $ac_status); } && {
4125 test -z "$ac_c_werror_flag" ||
4126 test ! -s conftest.err
4127 } && test -s conftest.$ac_objext; then
4128 eval "$as_ac_Header=yes"
4130 echo "$as_me: failed program was:" >&5
4131 sed 's/^/| /' conftest.$ac_ext >&5
4133 eval "$as_ac_Header=no"
4136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4138 ac_res=`eval echo '${'$as_ac_Header'}'`
4139 { echo "$as_me:$LINENO: result: $ac_res" >&5
4140 echo "${ECHO_T}$ac_res" >&6; }
4141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4142 cat >>confdefs.h <<_ACEOF
4143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4151 for ac_header in sys/vmount.h
4153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4154 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4157 echo $ECHO_N "(cached) $ECHO_C" >&6
4159 cat >conftest.$ac_ext <<_ACEOF
4162 cat confdefs.h >>conftest.$ac_ext
4163 cat >>conftest.$ac_ext <<_ACEOF
4164 /* end confdefs.h. */
4167 #include <$ac_header>
4169 rm -f conftest.$ac_objext
4170 if { (ac_try="$ac_compile"
4172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4176 (eval "$ac_compile") 2>conftest.er1
4178 grep -v '^ *+' conftest.er1 >conftest.err
4180 cat conftest.err >&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); } && {
4183 test -z "$ac_c_werror_flag" ||
4184 test ! -s conftest.err
4185 } && test -s conftest.$ac_objext; then
4186 eval "$as_ac_Header=yes"
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.$ac_ext >&5
4191 eval "$as_ac_Header=no"
4194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4196 ac_res=`eval echo '${'$as_ac_Header'}'`
4197 { echo "$as_me:$LINENO: result: $ac_res" >&5
4198 echo "${ECHO_T}$ac_res" >&6; }
4199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4200 cat >>confdefs.h <<_ACEOF
4201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4209 for ac_header in rpc/svc_soc.h
4211 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4212 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4214 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 cat >conftest.$ac_ext <<_ACEOF
4220 cat confdefs.h >>conftest.$ac_ext
4221 cat >>conftest.$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4223 #include <rpc/rpc.h>
4225 #include <$ac_header>
4227 rm -f conftest.$ac_objext
4228 if { (ac_try="$ac_compile"
4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4234 (eval "$ac_compile") 2>conftest.er1
4236 grep -v '^ *+' conftest.er1 >conftest.err
4238 cat conftest.err >&5
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); } && {
4241 test -z "$ac_c_werror_flag" ||
4242 test ! -s conftest.err
4243 } && test -s conftest.$ac_objext; then
4244 eval "$as_ac_Header=yes"
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.$ac_ext >&5
4249 eval "$as_ac_Header=no"
4252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4254 ac_res=`eval echo '${'$as_ac_Header'}'`
4255 { echo "$as_me:$LINENO: result: $ac_res" >&5
4256 echo "${ECHO_T}$ac_res" >&6; }
4257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4258 cat >>confdefs.h <<_ACEOF
4259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4267 for ac_header in linux/ext2_fs.h
4269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 cat >conftest.$ac_ext <<_ACEOF
4278 cat confdefs.h >>conftest.$ac_ext
4279 cat >>conftest.$ac_ext <<_ACEOF
4280 /* end confdefs.h. */
4283 #include <$ac_header>
4285 rm -f conftest.$ac_objext
4286 if { (ac_try="$ac_compile"
4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289 *) ac_try_echo=$ac_try;;
4291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4292 (eval "$ac_compile") 2>conftest.er1
4294 grep -v '^ *+' conftest.er1 >conftest.err
4296 cat conftest.err >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } && {
4299 test -z "$ac_c_werror_flag" ||
4300 test ! -s conftest.err
4301 } && test -s conftest.$ac_objext; then
4302 eval "$as_ac_Header=yes"
4304 echo "$as_me: failed program was:" >&5
4305 sed 's/^/| /' conftest.$ac_ext >&5
4307 eval "$as_ac_Header=no"
4310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 ac_res=`eval echo '${'$as_ac_Header'}'`
4313 { echo "$as_me:$LINENO: result: $ac_res" >&5
4314 echo "${ECHO_T}$ac_res" >&6; }
4315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4316 cat >>confdefs.h <<_ACEOF
4317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4324 { echo "$as_me:$LINENO: checking for int32" >&5
4325 echo $ECHO_N "checking for int32... $ECHO_C" >&6; }
4326 if test "${ac_cv_type_int32+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 cat >conftest.$ac_ext <<_ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4335 #include <sys/inttypes.h>
4337 typedef int32 ac__type_new_;
4341 if ((ac__type_new_ *) 0)
4343 if (sizeof (ac__type_new_))
4349 rm -f conftest.$ac_objext
4350 if { (ac_try="$ac_compile"
4352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4353 *) ac_try_echo=$ac_try;;
4355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4356 (eval "$ac_compile") 2>conftest.er1
4358 grep -v '^ *+' conftest.er1 >conftest.err
4360 cat conftest.err >&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); } && {
4363 test -z "$ac_c_werror_flag" ||
4364 test ! -s conftest.err
4365 } && test -s conftest.$ac_objext; then
4366 ac_cv_type_int32=yes
4368 echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.$ac_ext >&5
4374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 { echo "$as_me:$LINENO: result: $ac_cv_type_int32" >&5
4377 echo "${ECHO_T}$ac_cv_type_int32" >&6; }
4378 if test $ac_cv_type_int32 = yes; then
4380 cat >>confdefs.h <<_ACEOF
4381 #define HAVE_INT32 1
4387 { echo "$as_me:$LINENO: checking for uint32" >&5
4388 echo $ECHO_N "checking for uint32... $ECHO_C" >&6; }
4389 if test "${ac_cv_type_uint32+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 cat >conftest.$ac_ext <<_ACEOF
4395 cat confdefs.h >>conftest.$ac_ext
4396 cat >>conftest.$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4398 #include <sys/inttypes.h>
4400 typedef uint32 ac__type_new_;
4404 if ((ac__type_new_ *) 0)
4406 if (sizeof (ac__type_new_))
4412 rm -f conftest.$ac_objext
4413 if { (ac_try="$ac_compile"
4415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4416 *) ac_try_echo=$ac_try;;
4418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4419 (eval "$ac_compile") 2>conftest.er1
4421 grep -v '^ *+' conftest.er1 >conftest.err
4423 cat conftest.err >&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); } && {
4426 test -z "$ac_c_werror_flag" ||
4427 test ! -s conftest.err
4428 } && test -s conftest.$ac_objext; then
4429 ac_cv_type_uint32=yes
4431 echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.$ac_ext >&5
4434 ac_cv_type_uint32=no
4437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4439 { echo "$as_me:$LINENO: result: $ac_cv_type_uint32" >&5
4440 echo "${ECHO_T}$ac_cv_type_uint32" >&6; }
4441 if test $ac_cv_type_uint32 = yes; then
4443 cat >>confdefs.h <<_ACEOF
4444 #define HAVE_UINT32 1
4450 { echo "$as_me:$LINENO: checking for int64" >&5
4451 echo $ECHO_N "checking for int64... $ECHO_C" >&6; }
4452 if test "${ac_cv_type_int64+set}" = set; then
4453 echo $ECHO_N "(cached) $ECHO_C" >&6
4455 cat >conftest.$ac_ext <<_ACEOF
4458 cat confdefs.h >>conftest.$ac_ext
4459 cat >>conftest.$ac_ext <<_ACEOF
4460 /* end confdefs.h. */
4461 #include <sys/inttypes.h>
4463 typedef int64 ac__type_new_;
4467 if ((ac__type_new_ *) 0)
4469 if (sizeof (ac__type_new_))
4475 rm -f conftest.$ac_objext
4476 if { (ac_try="$ac_compile"
4478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4479 *) ac_try_echo=$ac_try;;
4481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4482 (eval "$ac_compile") 2>conftest.er1
4484 grep -v '^ *+' conftest.er1 >conftest.err
4486 cat conftest.err >&5
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); } && {
4489 test -z "$ac_c_werror_flag" ||
4490 test ! -s conftest.err
4491 } && test -s conftest.$ac_objext; then
4492 ac_cv_type_int64=yes
4494 echo "$as_me: failed program was:" >&5
4495 sed 's/^/| /' conftest.$ac_ext >&5
4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4502 { echo "$as_me:$LINENO: result: $ac_cv_type_int64" >&5
4503 echo "${ECHO_T}$ac_cv_type_int64" >&6; }
4504 if test $ac_cv_type_int64 = yes; then
4506 cat >>confdefs.h <<_ACEOF
4507 #define HAVE_INT64 1
4513 { echo "$as_me:$LINENO: checking for uint64" >&5
4514 echo $ECHO_N "checking for uint64... $ECHO_C" >&6; }
4515 if test "${ac_cv_type_uint64+set}" = set; then
4516 echo $ECHO_N "(cached) $ECHO_C" >&6
4518 cat >conftest.$ac_ext <<_ACEOF
4521 cat confdefs.h >>conftest.$ac_ext
4522 cat >>conftest.$ac_ext <<_ACEOF
4523 /* end confdefs.h. */
4524 #include <sys/inttypes.h>
4526 typedef uint64 ac__type_new_;
4530 if ((ac__type_new_ *) 0)
4532 if (sizeof (ac__type_new_))
4538 rm -f conftest.$ac_objext
4539 if { (ac_try="$ac_compile"
4541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4545 (eval "$ac_compile") 2>conftest.er1
4547 grep -v '^ *+' conftest.er1 >conftest.err
4549 cat conftest.err >&5
4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551 (exit $ac_status); } && {
4552 test -z "$ac_c_werror_flag" ||
4553 test ! -s conftest.err
4554 } && test -s conftest.$ac_objext; then
4555 ac_cv_type_uint64=yes
4557 echo "$as_me: failed program was:" >&5
4558 sed 's/^/| /' conftest.$ac_ext >&5
4560 ac_cv_type_uint64=no
4563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64" >&5
4566 echo "${ECHO_T}$ac_cv_type_uint64" >&6; }
4567 if test $ac_cv_type_uint64 = yes; then
4569 cat >>confdefs.h <<_ACEOF
4570 #define HAVE_UINT64 1
4576 { echo "$as_me:$LINENO: checking for struct stat.st_gen" >&5
4577 echo $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6; }
4578 if test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 cat >conftest.$ac_ext <<_ACEOF
4584 cat confdefs.h >>conftest.$ac_ext
4585 cat >>conftest.$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4587 #include <sys/stat.h>
4592 static struct stat ac_aggr;
4599 rm -f conftest.$ac_objext
4600 if { (ac_try="$ac_compile"
4602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4603 *) ac_try_echo=$ac_try;;
4605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4606 (eval "$ac_compile") 2>conftest.er1
4608 grep -v '^ *+' conftest.er1 >conftest.err
4610 cat conftest.err >&5
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); } && {
4613 test -z "$ac_c_werror_flag" ||
4614 test ! -s conftest.err
4615 } && test -s conftest.$ac_objext; then
4616 ac_cv_member_struct_stat_st_gen=yes
4618 echo "$as_me: failed program was:" >&5
4619 sed 's/^/| /' conftest.$ac_ext >&5
4621 cat >conftest.$ac_ext <<_ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4627 #include <sys/stat.h>
4632 static struct stat ac_aggr;
4633 if (sizeof ac_aggr.st_gen)
4639 rm -f conftest.$ac_objext
4640 if { (ac_try="$ac_compile"
4642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4643 *) ac_try_echo=$ac_try;;
4645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4646 (eval "$ac_compile") 2>conftest.er1
4648 grep -v '^ *+' conftest.er1 >conftest.err
4650 cat conftest.err >&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); } && {
4653 test -z "$ac_c_werror_flag" ||
4654 test ! -s conftest.err
4655 } && test -s conftest.$ac_objext; then
4656 ac_cv_member_struct_stat_st_gen=yes
4658 echo "$as_me: failed program was:" >&5
4659 sed 's/^/| /' conftest.$ac_ext >&5
4661 ac_cv_member_struct_stat_st_gen=no
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_gen" >&5
4670 echo "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6; }
4671 if test $ac_cv_member_struct_stat_st_gen = yes; then
4673 cat >>confdefs.h <<_ACEOF
4674 #define HAVE_STRUCT_STAT_ST_GEN 1
4680 { echo "$as_me:$LINENO: checking for struct __rpc_svcxprt.xp_fd" >&5
4681 echo $ECHO_N "checking for struct __rpc_svcxprt.xp_fd... $ECHO_C" >&6; }
4682 if test "${ac_cv_member_struct___rpc_svcxprt_xp_fd+set}" = set; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6
4685 cat >conftest.$ac_ext <<_ACEOF
4688 cat confdefs.h >>conftest.$ac_ext
4689 cat >>conftest.$ac_ext <<_ACEOF
4690 /* end confdefs.h. */
4691 #include <rpc/rpc.h>
4696 static struct __rpc_svcxprt ac_aggr;
4703 rm -f conftest.$ac_objext
4704 if { (ac_try="$ac_compile"
4706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4707 *) ac_try_echo=$ac_try;;
4709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4710 (eval "$ac_compile") 2>conftest.er1
4712 grep -v '^ *+' conftest.er1 >conftest.err
4714 cat conftest.err >&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); } && {
4717 test -z "$ac_c_werror_flag" ||
4718 test ! -s conftest.err
4719 } && test -s conftest.$ac_objext; then
4720 ac_cv_member_struct___rpc_svcxprt_xp_fd=yes
4722 echo "$as_me: failed program was:" >&5
4723 sed 's/^/| /' conftest.$ac_ext >&5
4725 cat >conftest.$ac_ext <<_ACEOF
4728 cat confdefs.h >>conftest.$ac_ext
4729 cat >>conftest.$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4731 #include <rpc/rpc.h>
4736 static struct __rpc_svcxprt ac_aggr;
4737 if (sizeof ac_aggr.xp_fd)
4743 rm -f conftest.$ac_objext
4744 if { (ac_try="$ac_compile"
4746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4747 *) ac_try_echo=$ac_try;;
4749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4750 (eval "$ac_compile") 2>conftest.er1
4752 grep -v '^ *+' conftest.er1 >conftest.err
4754 cat conftest.err >&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); } && {
4757 test -z "$ac_c_werror_flag" ||
4758 test ! -s conftest.err
4759 } && test -s conftest.$ac_objext; then
4760 ac_cv_member_struct___rpc_svcxprt_xp_fd=yes
4762 echo "$as_me: failed program was:" >&5
4763 sed 's/^/| /' conftest.$ac_ext >&5
4765 ac_cv_member_struct___rpc_svcxprt_xp_fd=no
4768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4773 { echo "$as_me:$LINENO: result: $ac_cv_member_struct___rpc_svcxprt_xp_fd" >&5
4774 echo "${ECHO_T}$ac_cv_member_struct___rpc_svcxprt_xp_fd" >&6; }
4775 if test $ac_cv_member_struct___rpc_svcxprt_xp_fd = yes; then
4777 cat >>confdefs.h <<_ACEOF
4778 #define HAVE_STRUCT___RPC_SVCXPRT_XP_FD 1
4788 for ac_func in xdr_long xdr_int32 xdr_u_long xdr_uint32
4790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4791 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4793 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4794 echo $ECHO_N "(cached) $ECHO_C" >&6
4796 cat >conftest.$ac_ext <<_ACEOF
4799 cat confdefs.h >>conftest.$ac_ext
4800 cat >>conftest.$ac_ext <<_ACEOF
4801 /* end confdefs.h. */
4802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4804 #define $ac_func innocuous_$ac_func
4806 /* System header to define __stub macros and hopefully few prototypes,
4807 which can conflict with char $ac_func (); below.
4808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4809 <limits.h> exists even on freestanding compilers. */
4812 # include <limits.h>
4814 # include <assert.h>
4819 /* Override any GCC internal prototype to avoid an error.
4820 Use char because int might match the return type of a GCC
4821 builtin and then its argument prototype would still apply. */
4826 /* The GNU C library defines this for functions which it implements
4827 to always fail with ENOSYS. Some functions are actually named
4828 something starting with __ and the normal name is an alias. */
4829 #if defined __stub_$ac_func || defined __stub___$ac_func
4841 rm -f conftest.$ac_objext conftest$ac_exeext
4842 if { (ac_try="$ac_link"
4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845 *) ac_try_echo=$ac_try;;
4847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4848 (eval "$ac_link") 2>conftest.er1
4850 grep -v '^ *+' conftest.er1 >conftest.err
4852 cat conftest.err >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } && {
4855 test -z "$ac_c_werror_flag" ||
4856 test ! -s conftest.err
4857 } && test -s conftest$ac_exeext &&
4858 $as_test_x conftest$ac_exeext; then
4859 eval "$as_ac_var=yes"
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.$ac_ext >&5
4864 eval "$as_ac_var=no"
4867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4868 conftest$ac_exeext conftest.$ac_ext
4870 ac_res=`eval echo '${'$as_ac_var'}'`
4871 { echo "$as_me:$LINENO: result: $ac_res" >&5
4872 echo "${ECHO_T}$ac_res" >&6; }
4873 if test `eval echo '${'$as_ac_var'}'` = yes; then
4874 cat >>confdefs.h <<_ACEOF
4875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4884 for ac_func in xdr_uint64 xdr_uint64_t xdr_u_int64_t
4886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4887 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4889 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4890 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 cat >conftest.$ac_ext <<_ACEOF
4895 cat confdefs.h >>conftest.$ac_ext
4896 cat >>conftest.$ac_ext <<_ACEOF
4897 /* end confdefs.h. */
4898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4900 #define $ac_func innocuous_$ac_func
4902 /* System header to define __stub macros and hopefully few prototypes,
4903 which can conflict with char $ac_func (); below.
4904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4905 <limits.h> exists even on freestanding compilers. */
4908 # include <limits.h>
4910 # include <assert.h>
4915 /* Override any GCC internal prototype to avoid an error.
4916 Use char because int might match the return type of a GCC
4917 builtin and then its argument prototype would still apply. */
4922 /* The GNU C library defines this for functions which it implements
4923 to always fail with ENOSYS. Some functions are actually named
4924 something starting with __ and the normal name is an alias. */
4925 #if defined __stub_$ac_func || defined __stub___$ac_func
4937 rm -f conftest.$ac_objext conftest$ac_exeext
4938 if { (ac_try="$ac_link"
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_link") 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_exeext &&
4954 $as_test_x conftest$ac_exeext; then
4955 eval "$as_ac_var=yes"
4957 echo "$as_me: failed program was:" >&5
4958 sed 's/^/| /' conftest.$ac_ext >&5
4960 eval "$as_ac_var=no"
4963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4964 conftest$ac_exeext conftest.$ac_ext
4966 ac_res=`eval echo '${'$as_ac_var'}'`
4967 { echo "$as_me:$LINENO: result: $ac_res" >&5
4968 echo "${ECHO_T}$ac_res" >&6; }
4969 if test `eval echo '${'$as_ac_var'}'` = yes; then
4970 cat >>confdefs.h <<_ACEOF
4971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4978 for ac_func in statvfs
4980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4981 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4983 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4984 echo $ECHO_N "(cached) $ECHO_C" >&6
4986 cat >conftest.$ac_ext <<_ACEOF
4989 cat confdefs.h >>conftest.$ac_ext
4990 cat >>conftest.$ac_ext <<_ACEOF
4991 /* end confdefs.h. */
4992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4994 #define $ac_func innocuous_$ac_func
4996 /* System header to define __stub macros and hopefully few prototypes,
4997 which can conflict with char $ac_func (); below.
4998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4999 <limits.h> exists even on freestanding compilers. */
5002 # include <limits.h>
5004 # include <assert.h>
5009 /* Override any GCC internal prototype to avoid an error.
5010 Use char because int might match the return type of a GCC
5011 builtin and then its argument prototype would still apply. */
5016 /* The GNU C library defines this for functions which it implements
5017 to always fail with ENOSYS. Some functions are actually named
5018 something starting with __ and the normal name is an alias. */
5019 #if defined __stub_$ac_func || defined __stub___$ac_func
5031 rm -f conftest.$ac_objext conftest$ac_exeext
5032 if { (ac_try="$ac_link"
5034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5035 *) ac_try_echo=$ac_try;;
5037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5038 (eval "$ac_link") 2>conftest.er1
5040 grep -v '^ *+' conftest.er1 >conftest.err
5042 cat conftest.err >&5
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); } && {
5045 test -z "$ac_c_werror_flag" ||
5046 test ! -s conftest.err
5047 } && test -s conftest$ac_exeext &&
5048 $as_test_x conftest$ac_exeext; then
5049 eval "$as_ac_var=yes"
5051 echo "$as_me: failed program was:" >&5
5052 sed 's/^/| /' conftest.$ac_ext >&5
5054 eval "$as_ac_var=no"
5057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5058 conftest$ac_exeext conftest.$ac_ext
5060 ac_res=`eval echo '${'$as_ac_var'}'`
5061 { echo "$as_me:$LINENO: result: $ac_res" >&5
5062 echo "${ECHO_T}$ac_res" >&6; }
5063 if test `eval echo '${'$as_ac_var'}'` = yes; then
5064 cat >>confdefs.h <<_ACEOF
5065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5073 for ac_func in seteuid setegid
5075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5076 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5078 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5079 echo $ECHO_N "(cached) $ECHO_C" >&6
5081 cat >conftest.$ac_ext <<_ACEOF
5084 cat confdefs.h >>conftest.$ac_ext
5085 cat >>conftest.$ac_ext <<_ACEOF
5086 /* end confdefs.h. */
5087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5089 #define $ac_func innocuous_$ac_func
5091 /* System header to define __stub macros and hopefully few prototypes,
5092 which can conflict with char $ac_func (); below.
5093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5094 <limits.h> exists even on freestanding compilers. */
5097 # include <limits.h>
5099 # include <assert.h>
5104 /* Override any GCC internal prototype to avoid an error.
5105 Use char because int might match the return type of a GCC
5106 builtin and then its argument prototype would still apply. */
5111 /* The GNU C library defines this for functions which it implements
5112 to always fail with ENOSYS. Some functions are actually named
5113 something starting with __ and the normal name is an alias. */
5114 #if defined __stub_$ac_func || defined __stub___$ac_func
5126 rm -f conftest.$ac_objext conftest$ac_exeext
5127 if { (ac_try="$ac_link"
5129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5130 *) ac_try_echo=$ac_try;;
5132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5133 (eval "$ac_link") 2>conftest.er1
5135 grep -v '^ *+' conftest.er1 >conftest.err
5137 cat conftest.err >&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } && {
5140 test -z "$ac_c_werror_flag" ||
5141 test ! -s conftest.err
5142 } && test -s conftest$ac_exeext &&
5143 $as_test_x conftest$ac_exeext; then
5144 eval "$as_ac_var=yes"
5146 echo "$as_me: failed program was:" >&5
5147 sed 's/^/| /' conftest.$ac_ext >&5
5149 eval "$as_ac_var=no"
5152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5153 conftest$ac_exeext conftest.$ac_ext
5155 ac_res=`eval echo '${'$as_ac_var'}'`
5156 { echo "$as_me:$LINENO: result: $ac_res" >&5
5157 echo "${ECHO_T}$ac_res" >&6; }
5158 if test `eval echo '${'$as_ac_var'}'` = yes; then
5159 cat >>confdefs.h <<_ACEOF
5160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5168 for ac_func in setresuid setresgid
5170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5171 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5173 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5174 echo $ECHO_N "(cached) $ECHO_C" >&6
5176 cat >conftest.$ac_ext <<_ACEOF
5179 cat confdefs.h >>conftest.$ac_ext
5180 cat >>conftest.$ac_ext <<_ACEOF
5181 /* end confdefs.h. */
5182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5184 #define $ac_func innocuous_$ac_func
5186 /* System header to define __stub macros and hopefully few prototypes,
5187 which can conflict with char $ac_func (); below.
5188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5189 <limits.h> exists even on freestanding compilers. */
5192 # include <limits.h>
5194 # include <assert.h>
5199 /* Override any GCC internal prototype to avoid an error.
5200 Use char because int might match the return type of a GCC
5201 builtin and then its argument prototype would still apply. */
5206 /* The GNU C library defines this for functions which it implements
5207 to always fail with ENOSYS. Some functions are actually named
5208 something starting with __ and the normal name is an alias. */
5209 #if defined __stub_$ac_func || defined __stub___$ac_func
5221 rm -f conftest.$ac_objext conftest$ac_exeext
5222 if { (ac_try="$ac_link"
5224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5225 *) ac_try_echo=$ac_try;;
5227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5228 (eval "$ac_link") 2>conftest.er1
5230 grep -v '^ *+' conftest.er1 >conftest.err
5232 cat conftest.err >&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); } && {
5235 test -z "$ac_c_werror_flag" ||
5236 test ! -s conftest.err
5237 } && test -s conftest$ac_exeext &&
5238 $as_test_x conftest$ac_exeext; then
5239 eval "$as_ac_var=yes"
5241 echo "$as_me: failed program was:" >&5
5242 sed 's/^/| /' conftest.$ac_ext >&5
5244 eval "$as_ac_var=no"
5247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5248 conftest$ac_exeext conftest.$ac_ext
5250 ac_res=`eval echo '${'$as_ac_var'}'`
5251 { echo "$as_me:$LINENO: result: $ac_res" >&5
5252 echo "${ECHO_T}$ac_res" >&6; }
5253 if test `eval echo '${'$as_ac_var'}'` = yes; then
5254 cat >>confdefs.h <<_ACEOF
5255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5262 for ac_func in vsyslog
5264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5265 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5267 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5268 echo $ECHO_N "(cached) $ECHO_C" >&6
5270 cat >conftest.$ac_ext <<_ACEOF
5273 cat confdefs.h >>conftest.$ac_ext
5274 cat >>conftest.$ac_ext <<_ACEOF
5275 /* end confdefs.h. */
5276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5278 #define $ac_func innocuous_$ac_func
5280 /* System header to define __stub macros and hopefully few prototypes,
5281 which can conflict with char $ac_func (); below.
5282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5283 <limits.h> exists even on freestanding compilers. */
5286 # include <limits.h>
5288 # include <assert.h>
5293 /* Override any GCC internal prototype to avoid an error.
5294 Use char because int might match the return type of a GCC
5295 builtin and then its argument prototype would still apply. */
5300 /* The GNU C library defines this for functions which it implements
5301 to always fail with ENOSYS. Some functions are actually named
5302 something starting with __ and the normal name is an alias. */
5303 #if defined __stub_$ac_func || defined __stub___$ac_func
5315 rm -f conftest.$ac_objext conftest$ac_exeext
5316 if { (ac_try="$ac_link"
5318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5319 *) ac_try_echo=$ac_try;;
5321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5322 (eval "$ac_link") 2>conftest.er1
5324 grep -v '^ *+' conftest.er1 >conftest.err
5326 cat conftest.err >&5
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); } && {
5329 test -z "$ac_c_werror_flag" ||
5330 test ! -s conftest.err
5331 } && test -s conftest$ac_exeext &&
5332 $as_test_x conftest$ac_exeext; then
5333 eval "$as_ac_var=yes"
5335 echo "$as_me: failed program was:" >&5
5336 sed 's/^/| /' conftest.$ac_ext >&5
5338 eval "$as_ac_var=no"
5341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5342 conftest$ac_exeext conftest.$ac_ext
5344 ac_res=`eval echo '${'$as_ac_var'}'`
5345 { echo "$as_me:$LINENO: result: $ac_res" >&5
5346 echo "${ECHO_T}$ac_res" >&6; }
5347 if test `eval echo '${'$as_ac_var'}'` = yes; then
5348 cat >>confdefs.h <<_ACEOF
5349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5356 for ac_func in lchown
5358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5361 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 cat >conftest.$ac_ext <<_ACEOF
5367 cat confdefs.h >>conftest.$ac_ext
5368 cat >>conftest.$ac_ext <<_ACEOF
5369 /* end confdefs.h. */
5370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5372 #define $ac_func innocuous_$ac_func
5374 /* System header to define __stub macros and hopefully few prototypes,
5375 which can conflict with char $ac_func (); below.
5376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5377 <limits.h> exists even on freestanding compilers. */
5380 # include <limits.h>
5382 # include <assert.h>
5387 /* Override any GCC internal prototype to avoid an error.
5388 Use char because int might match the return type of a GCC
5389 builtin and then its argument prototype would still apply. */
5394 /* The GNU C library defines this for functions which it implements
5395 to always fail with ENOSYS. Some functions are actually named
5396 something starting with __ and the normal name is an alias. */
5397 #if defined __stub_$ac_func || defined __stub___$ac_func
5409 rm -f conftest.$ac_objext conftest$ac_exeext
5410 if { (ac_try="$ac_link"
5412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5413 *) ac_try_echo=$ac_try;;
5415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5416 (eval "$ac_link") 2>conftest.er1
5418 grep -v '^ *+' conftest.er1 >conftest.err
5420 cat conftest.err >&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); } && {
5423 test -z "$ac_c_werror_flag" ||
5424 test ! -s conftest.err
5425 } && test -s conftest$ac_exeext &&
5426 $as_test_x conftest$ac_exeext; then
5427 eval "$as_ac_var=yes"
5429 echo "$as_me: failed program was:" >&5
5430 sed 's/^/| /' conftest.$ac_ext >&5
5432 eval "$as_ac_var=no"
5435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5436 conftest$ac_exeext conftest.$ac_ext
5438 ac_res=`eval echo '${'$as_ac_var'}'`
5439 { echo "$as_me:$LINENO: result: $ac_res" >&5
5440 echo "${ECHO_T}$ac_res" >&6; }
5441 if test `eval echo '${'$as_ac_var'}'` = yes; then
5442 cat >>confdefs.h <<_ACEOF
5443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5450 for ac_func in setgroups
5452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5453 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5455 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5456 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 cat >conftest.$ac_ext <<_ACEOF
5461 cat confdefs.h >>conftest.$ac_ext
5462 cat >>conftest.$ac_ext <<_ACEOF
5463 /* end confdefs.h. */
5464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5466 #define $ac_func innocuous_$ac_func
5468 /* System header to define __stub macros and hopefully few prototypes,
5469 which can conflict with char $ac_func (); below.
5470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5471 <limits.h> exists even on freestanding compilers. */
5474 # include <limits.h>
5476 # include <assert.h>
5481 /* Override any GCC internal prototype to avoid an error.
5482 Use char because int might match the return type of a GCC
5483 builtin and then its argument prototype would still apply. */
5488 /* The GNU C library defines this for functions which it implements
5489 to always fail with ENOSYS. Some functions are actually named
5490 something starting with __ and the normal name is an alias. */
5491 #if defined __stub_$ac_func || defined __stub___$ac_func
5503 rm -f conftest.$ac_objext conftest$ac_exeext
5504 if { (ac_try="$ac_link"
5506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5507 *) ac_try_echo=$ac_try;;
5509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5510 (eval "$ac_link") 2>conftest.er1
5512 grep -v '^ *+' conftest.er1 >conftest.err
5514 cat conftest.err >&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); } && {
5517 test -z "$ac_c_werror_flag" ||
5518 test ! -s conftest.err
5519 } && test -s conftest$ac_exeext &&
5520 $as_test_x conftest$ac_exeext; then
5521 eval "$as_ac_var=yes"
5523 echo "$as_me: failed program was:" >&5
5524 sed 's/^/| /' conftest.$ac_ext >&5
5526 eval "$as_ac_var=no"
5529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5530 conftest$ac_exeext conftest.$ac_ext
5532 ac_res=`eval echo '${'$as_ac_var'}'`
5533 { echo "$as_me:$LINENO: result: $ac_res" >&5
5534 echo "${ECHO_T}$ac_res" >&6; }
5535 if test `eval echo '${'$as_ac_var'}'` = yes; then
5536 cat >>confdefs.h <<_ACEOF
5537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5544 { echo "$as_me:$LINENO: checking for svc_tli_create" >&5
5545 echo $ECHO_N "checking for svc_tli_create... $ECHO_C" >&6; }
5546 if test "${ac_cv_func_svc_tli_create+set}" = set; then
5547 echo $ECHO_N "(cached) $ECHO_C" >&6
5549 cat >conftest.$ac_ext <<_ACEOF
5552 cat confdefs.h >>conftest.$ac_ext
5553 cat >>conftest.$ac_ext <<_ACEOF
5554 /* end confdefs.h. */
5555 /* Define svc_tli_create to an innocuous variant, in case <limits.h> declares svc_tli_create.
5556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5557 #define svc_tli_create innocuous_svc_tli_create
5559 /* System header to define __stub macros and hopefully few prototypes,
5560 which can conflict with char svc_tli_create (); below.
5561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5562 <limits.h> exists even on freestanding compilers. */
5565 # include <limits.h>
5567 # include <assert.h>
5570 #undef svc_tli_create
5572 /* Override any GCC internal prototype to avoid an error.
5573 Use char because int might match the return type of a GCC
5574 builtin and then its argument prototype would still apply. */
5578 char svc_tli_create ();
5579 /* The GNU C library defines this for functions which it implements
5580 to always fail with ENOSYS. Some functions are actually named
5581 something starting with __ and the normal name is an alias. */
5582 #if defined __stub_svc_tli_create || defined __stub___svc_tli_create
5589 return svc_tli_create ();
5594 rm -f conftest.$ac_objext conftest$ac_exeext
5595 if { (ac_try="$ac_link"
5597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5598 *) ac_try_echo=$ac_try;;
5600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5601 (eval "$ac_link") 2>conftest.er1
5603 grep -v '^ *+' conftest.er1 >conftest.err
5605 cat conftest.err >&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); } && {
5608 test -z "$ac_c_werror_flag" ||
5609 test ! -s conftest.err
5610 } && test -s conftest$ac_exeext &&
5611 $as_test_x conftest$ac_exeext; then
5612 ac_cv_func_svc_tli_create=yes
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.$ac_ext >&5
5617 ac_cv_func_svc_tli_create=no
5620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5621 conftest$ac_exeext conftest.$ac_ext
5623 { echo "$as_me:$LINENO: result: $ac_cv_func_svc_tli_create" >&5
5624 echo "${ECHO_T}$ac_cv_func_svc_tli_create" >&6; }
5625 if test $ac_cv_func_svc_tli_create = yes; then
5627 # On Solaris, you must link with librpcsoc, or the binaries won't work.
5628 LDFLAGS="-L/usr/ucblib -R/usr/ucblib $LDFLAGS"
5629 { echo "$as_me:$LINENO: checking for svctcp_create in -lrpcsoc" >&5
5630 echo $ECHO_N "checking for svctcp_create in -lrpcsoc... $ECHO_C" >&6; }
5631 if test "${ac_cv_lib_rpcsoc_svctcp_create+set}" = set; then
5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5634 ac_check_lib_save_LIBS=$LIBS
5635 LIBS="-lrpcsoc $LIBS"
5636 cat >conftest.$ac_ext <<_ACEOF
5639 cat confdefs.h >>conftest.$ac_ext
5640 cat >>conftest.$ac_ext <<_ACEOF
5641 /* end confdefs.h. */
5643 /* Override any GCC internal prototype to avoid an error.
5644 Use char because int might match the return type of a GCC
5645 builtin and then its argument prototype would still apply. */
5649 char svctcp_create ();
5653 return svctcp_create ();
5658 rm -f conftest.$ac_objext conftest$ac_exeext
5659 if { (ac_try="$ac_link"
5661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5662 *) ac_try_echo=$ac_try;;
5664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5665 (eval "$ac_link") 2>conftest.er1
5667 grep -v '^ *+' conftest.er1 >conftest.err
5669 cat conftest.err >&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); } && {
5672 test -z "$ac_c_werror_flag" ||
5673 test ! -s conftest.err
5674 } && test -s conftest$ac_exeext &&
5675 $as_test_x conftest$ac_exeext; then
5676 ac_cv_lib_rpcsoc_svctcp_create=yes
5678 echo "$as_me: failed program was:" >&5
5679 sed 's/^/| /' conftest.$ac_ext >&5
5681 ac_cv_lib_rpcsoc_svctcp_create=no
5684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5685 conftest$ac_exeext conftest.$ac_ext
5686 LIBS=$ac_check_lib_save_LIBS
5688 { echo "$as_me:$LINENO: result: $ac_cv_lib_rpcsoc_svctcp_create" >&5
5689 echo "${ECHO_T}$ac_cv_lib_rpcsoc_svctcp_create" >&6; }
5690 if test $ac_cv_lib_rpcsoc_svctcp_create = yes; then
5691 LIBS="-lrpcsoc $LIBS"
5693 { echo "$as_me:$LINENO: WARNING: *** Cannot find librpcsoc. On Solaris, install package SUNWscpu. ***" >&5
5694 echo "$as_me: WARNING: *** Cannot find librpcsoc. On Solaris, install package SUNWscpu. ***" >&2;}
5704 cat >>confdefs.h <<\_ACEOF
5710 if test "$GCC" = "yes"
5712 CFLAGS="$CFLAGS -Wall -W"
5715 # Check whether --enable-cluster was given.
5716 if test "${enable_cluster+set}" = set; then
5717 enableval=$enable_cluster;
5718 cat >>confdefs.h <<\_ACEOF
5719 #define WANT_CLUSTER
5722 EXTRAOBJ=Extras/lib.a
5726 ac_config_files="$ac_config_files Makefile Config/Makefile Extras/Makefile"
5728 cat >confcache <<\_ACEOF
5729 # This file is a shell script that caches the results of configure
5730 # tests run on this system so they can be shared between configure
5731 # scripts and configure runs, see configure's option --config-cache.
5732 # It is not useful on other systems. If it contains results you don't
5733 # want to keep, you may remove or edit it.
5735 # config.status only pays attention to the cache file if you give it
5736 # the --recheck option to rerun configure.
5738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5744 # The following way of writing the cache mishandles newlines in values,
5745 # but we know of no workaround that is simple, portable, and efficient.
5746 # So, we kill variables containing newlines.
5747 # Ultrix sh set writes to stderr and can't be redirected directly,
5748 # and sets the high bit in the cache file unless we assign to the vars.
5750 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5751 eval ac_val=\$$ac_var
5755 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5756 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5759 _ | IFS | as_nl) ;; #(
5760 *) $as_unset $ac_var ;;
5766 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5767 *${as_nl}ac_space=\ *)
5768 # `set' does not quote correctly, so add quotes (double-quote
5769 # substitution turns \\\\ into \\, and sed turns \\ into \).
5772 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5775 # `set' quotes correctly as required by POSIX, so do not add quotes.
5776 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5787 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5789 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5790 if test -w "$cache_file"; then
5791 test "x$cache_file" != "x/dev/null" &&
5792 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5793 echo "$as_me: updating cache $cache_file" >&6;}
5794 cat confcache >$cache_file
5796 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5797 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5802 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5803 # Let make expand exec_prefix.
5804 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5806 DEFS=-DHAVE_CONFIG_H
5810 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5811 # 1. Remove the extension, and $U if already installed.
5812 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5813 ac_i=`echo "$ac_i" | sed "$ac_script"`
5814 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5815 # will be set to the directory where LIBOBJS objects are built.
5816 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5817 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5821 LTLIBOBJS=$ac_ltlibobjs
5825 : ${CONFIG_STATUS=./config.status}
5826 ac_clean_files_save=$ac_clean_files
5827 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5828 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5829 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5830 cat >$CONFIG_STATUS <<_ACEOF
5832 # Generated by $as_me.
5833 # Run this file to recreate the current configuration.
5834 # Compiler output produced by configure, useful for debugging
5835 # configure, is in config.log if it exists.
5840 SHELL=\${CONFIG_SHELL-$SHELL}
5843 cat >>$CONFIG_STATUS <<\_ACEOF
5844 ## --------------------- ##
5845 ## M4sh Initialization. ##
5846 ## --------------------- ##
5848 # Be more Bourne compatible
5849 DUALCASE=1; export DUALCASE # for MKS sh
5850 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5853 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5854 # is contrary to our usage. Disable this feature.
5855 alias -g '${1+"$@"}'='"$@"'
5856 setopt NO_GLOB_SUBST
5858 case `(set -o) 2>/dev/null` in
5859 *posix*) set -o posix ;;
5868 # Avoid depending upon Character Ranges.
5869 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5870 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5871 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5872 as_cr_digits='0123456789'
5873 as_cr_alnum=$as_cr_Letters$as_cr_digits
5875 # The user is always right.
5876 if test "${PATH_SEPARATOR+set}" != set; then
5877 echo "#! /bin/sh" >conf$$.sh
5878 echo "exit 0" >>conf$$.sh
5880 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5888 # Support unset when possible.
5889 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5897 # We need space, tab and new line, in precisely that order. Quoting is
5898 # there to prevent editors from complaining about space-tab.
5899 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5900 # splitting by setting IFS to empty value.)
5905 # Find who we are. Look in the path if we contain no directory separator.
5907 *[\\/]* ) as_myself=$0 ;;
5908 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 test -z "$as_dir" && as_dir=.
5913 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5919 # We did not find ourselves, most probably we were run as `sh COMMAND'
5920 # in which case we are not to be found in the path.
5921 if test "x$as_myself" = x; then
5924 if test ! -f "$as_myself"; then
5925 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5926 { (exit 1); exit 1; }
5929 # Work around bugs in pre-3.0 UWIN ksh.
5930 for as_var in ENV MAIL MAILPATH
5931 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5939 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5940 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5941 LC_TELEPHONE LC_TIME
5943 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5944 eval $as_var=C; export $as_var
5946 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5950 # Required to use basename.
5951 if expr a : '\(a\)' >/dev/null 2>&1 &&
5952 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5958 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5959 as_basename=basename
5965 # Name of the executable.
5966 as_me=`$as_basename -- "$0" ||
5967 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5968 X"$0" : 'X\(//\)$' \| \
5969 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5971 sed '/^.*\/\([^/][^/]*\)\/*$/{
5992 test "x$as_lineno_1" != "x$as_lineno_2" &&
5993 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5995 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5996 # uniformly replaced by the line number. The first 'sed' inserts a
5997 # line-number line after each line using $LINENO; the second 'sed'
5998 # does the real work. The second script uses 'N' to pair each
5999 # line-number line with the line containing $LINENO, and appends
6000 # trailing '-' during substitution so that $LINENO is not a special
6002 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6003 # scripts with optimization help from Paolo Bonzini. Blame Lee
6004 # E. McMahon (1931-1989) for sed's syntax. :-)
6016 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6020 chmod +x "$as_me.lineno" ||
6021 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6022 { (exit 1); exit 1; }; }
6024 # Don't try to exec as it changes $[0], causing all sort of problems
6025 # (the dirname of $[0] is not the place where we might find the
6026 # original and so on. Autoconf is especially sensitive to this).
6028 # Exit status is that of the last command.
6033 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6039 ECHO_C= ECHO_N= ECHO_T=
6042 case `echo 'x\c'` in
6043 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6050 if expr a : '\(a\)' >/dev/null 2>&1 &&
6051 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6057 rm -f conf$$ conf$$.exe conf$$.file
6058 if test -d conf$$.dir; then
6059 rm -f conf$$.dir/conf$$.file
6065 if ln -s conf$$.file conf$$ 2>/dev/null; then
6067 # ... but there are two gotchas:
6068 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6069 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6070 # In both cases, we have to default to `cp -p'.
6071 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6073 elif ln conf$$.file conf$$ 2>/dev/null; then
6078 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6079 rmdir conf$$.dir 2>/dev/null
6081 if mkdir -p . 2>/dev/null; then
6084 test -d ./-p && rmdir ./-p
6088 if test -x / >/dev/null 2>&1; then
6091 if ls -dL / >/dev/null 2>&1; then
6098 if test -d "$1"; then
6104 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6105 ???[sx]*):;;*)false;;esac;fi
6109 as_executable_p=$as_test_x
6111 # Sed expression to map a string onto a valid CPP name.
6112 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6114 # Sed expression to map a string onto a valid variable name.
6115 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6120 # Save the log message, to keep $[0] and so on meaningful, and to
6121 # report actual input values of CONFIG_FILES etc. instead of their
6122 # values after options handling.
6124 This file was extended by unfs3 $as_me 0.9.22, which was
6125 generated by GNU Autoconf 2.61. Invocation command line was
6127 CONFIG_FILES = $CONFIG_FILES
6128 CONFIG_HEADERS = $CONFIG_HEADERS
6129 CONFIG_LINKS = $CONFIG_LINKS
6130 CONFIG_COMMANDS = $CONFIG_COMMANDS
6133 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6138 cat >>$CONFIG_STATUS <<_ACEOF
6139 # Files that config.status was made for.
6140 config_files="$ac_config_files"
6141 config_headers="$ac_config_headers"
6145 cat >>$CONFIG_STATUS <<\_ACEOF
6147 \`$as_me' instantiates files from templates according to the
6148 current configuration.
6150 Usage: $0 [OPTIONS] [FILE]...
6152 -h, --help print this help, then exit
6153 -V, --version print version number and configuration settings, then exit
6154 -q, --quiet do not print progress messages
6155 -d, --debug don't remove temporary files
6156 --recheck update $as_me by reconfiguring in the same conditions
6157 --file=FILE[:TEMPLATE]
6158 instantiate the configuration file FILE
6159 --header=FILE[:TEMPLATE]
6160 instantiate the configuration header FILE
6162 Configuration files:
6165 Configuration headers:
6168 Report bugs to <bug-autoconf@gnu.org>."
6171 cat >>$CONFIG_STATUS <<_ACEOF
6173 unfs3 config.status 0.9.22
6174 configured by $0, generated by GNU Autoconf 2.61,
6175 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6177 Copyright (C) 2006 Free Software Foundation, Inc.
6178 This config.status script is free software; the Free Software Foundation
6179 gives unlimited permission to copy, distribute and modify it."
6186 cat >>$CONFIG_STATUS <<\_ACEOF
6187 # If no file are specified by the user, then we need to provide default
6188 # value. By we need to know if files were specified by the user.
6194 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6195 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6206 # Handling of the options.
6207 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6209 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6210 echo "$ac_cs_version"; exit ;;
6211 --debug | --debu | --deb | --de | --d | -d )
6213 --file | --fil | --fi | --f )
6215 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6216 ac_need_defaults=false;;
6217 --header | --heade | --head | --hea )
6219 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6220 ac_need_defaults=false;;
6222 # Conflict between --help and --header
6223 { echo "$as_me: error: ambiguous option: $1
6224 Try \`$0 --help' for more information." >&2
6225 { (exit 1); exit 1; }; };;
6226 --help | --hel | -h )
6227 echo "$ac_cs_usage"; exit ;;
6228 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6229 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6233 -*) { echo "$as_me: error: unrecognized option: $1
6234 Try \`$0 --help' for more information." >&2
6235 { (exit 1); exit 1; }; } ;;
6237 *) ac_config_targets="$ac_config_targets $1"
6238 ac_need_defaults=false ;;
6244 ac_configure_extra_args=
6246 if $ac_cs_silent; then
6248 ac_configure_extra_args="$ac_configure_extra_args --silent"
6252 cat >>$CONFIG_STATUS <<_ACEOF
6253 if \$ac_cs_recheck; then
6254 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6257 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6261 cat >>$CONFIG_STATUS <<\_ACEOF
6265 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6266 ## Running $as_me. ##
6272 cat >>$CONFIG_STATUS <<_ACEOF
6275 cat >>$CONFIG_STATUS <<\_ACEOF
6277 # Handling of arguments.
6278 for ac_config_target in $ac_config_targets
6280 case $ac_config_target in
6281 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6282 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6283 "Config/Makefile") CONFIG_FILES="$CONFIG_FILES Config/Makefile" ;;
6284 "Extras/Makefile") CONFIG_FILES="$CONFIG_FILES Extras/Makefile" ;;
6286 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6287 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6288 { (exit 1); exit 1; }; };;
6293 # If the user did not use the arguments to specify the items to instantiate,
6294 # then the envvar interface is used. Set only those that are not.
6295 # We use the long form for the default assignment because of an extremely
6296 # bizarre bug on SunOS 4.1.3.
6297 if $ac_need_defaults; then
6298 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6299 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6302 # Have a temporary directory for convenience. Make it in the build tree
6303 # simply because there is no reason against having it here, and in addition,
6304 # creating and moving files from /tmp can sometimes cause problems.
6305 # Hook for its removal unless debugging.
6306 # Note that there is a small window in which the directory will not be cleaned:
6307 # after its creation but before its name has been assigned to `$tmp'.
6311 trap 'exit_status=$?
6312 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6314 trap '{ (exit 1); exit 1; }' 1 2 13 15
6316 # Create a (secure) tmp directory for tmp files.
6319 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6320 test -n "$tmp" && test -d "$tmp"
6323 tmp=./conf$$-$RANDOM
6324 (umask 077 && mkdir "$tmp")
6327 echo "$me: cannot create a temporary directory in ." >&2
6328 { (exit 1); exit 1; }
6332 # Set up the sed scripts for CONFIG_FILES section.
6335 # No need to generate the scripts if there are no CONFIG_FILES.
6336 # This happens for instance when ./config.status config.h
6337 if test -n "$CONFIG_FILES"; then
6344 for ac_last_try in false false false false false :; do
6345 cat >conf$$subs.sed <<_ACEOF
6346 SHELL!$SHELL$ac_delim
6347 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6348 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6349 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6350 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6351 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6352 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6353 exec_prefix!$exec_prefix$ac_delim
6354 prefix!$prefix$ac_delim
6355 program_transform_name!$program_transform_name$ac_delim
6356 bindir!$bindir$ac_delim
6357 sbindir!$sbindir$ac_delim
6358 libexecdir!$libexecdir$ac_delim
6359 datarootdir!$datarootdir$ac_delim
6360 datadir!$datadir$ac_delim
6361 sysconfdir!$sysconfdir$ac_delim
6362 sharedstatedir!$sharedstatedir$ac_delim
6363 localstatedir!$localstatedir$ac_delim
6364 includedir!$includedir$ac_delim
6365 oldincludedir!$oldincludedir$ac_delim
6366 docdir!$docdir$ac_delim
6367 infodir!$infodir$ac_delim
6368 htmldir!$htmldir$ac_delim
6369 dvidir!$dvidir$ac_delim
6370 pdfdir!$pdfdir$ac_delim
6371 psdir!$psdir$ac_delim
6372 libdir!$libdir$ac_delim
6373 localedir!$localedir$ac_delim
6374 mandir!$mandir$ac_delim
6376 ECHO_C!$ECHO_C$ac_delim
6377 ECHO_N!$ECHO_N$ac_delim
6378 ECHO_T!$ECHO_T$ac_delim
6380 build_alias!$build_alias$ac_delim
6381 host_alias!$host_alias$ac_delim
6382 target_alias!$target_alias$ac_delim
6383 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6384 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6385 INSTALL_DATA!$INSTALL_DATA$ac_delim
6387 CFLAGS!$CFLAGS$ac_delim
6388 LDFLAGS!$LDFLAGS$ac_delim
6389 CPPFLAGS!$CPPFLAGS$ac_delim
6390 ac_ct_CC!$ac_ct_CC$ac_delim
6391 EXEEXT!$EXEEXT$ac_delim
6392 OBJEXT!$OBJEXT$ac_delim
6394 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
6395 LEXLIB!$LEXLIB$ac_delim
6397 YFLAGS!$YFLAGS$ac_delim
6400 EGREP!$EGREP$ac_delim
6401 SUBDIRS!$SUBDIRS$ac_delim
6402 EXTRAOBJ!$EXTRAOBJ$ac_delim
6403 LIBOBJS!$LIBOBJS$ac_delim
6404 LTLIBOBJS!$LTLIBOBJS$ac_delim
6407 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 59; then
6409 elif $ac_last_try; then
6410 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6411 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6412 { (exit 1); exit 1; }; }
6414 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6418 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6419 if test -n "$ac_eof"; then
6420 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6421 ac_eof=`expr $ac_eof + 1`
6424 cat >>$CONFIG_STATUS <<_ACEOF
6425 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6429 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6430 s/^/s,@/; s/!/@,|#_!!_#|/
6433 s/'"$ac_delim"'$/,g/; t
6435 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6436 ' >>$CONFIG_STATUS <conf$$subs.sed
6437 rm -f conf$$subs.sed
6438 cat >>$CONFIG_STATUS <<_ACEOF
6445 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6446 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6447 # trailing colons and then remove the whole line if VPATH becomes empty
6448 # (actually we leave an empty line to preserve line numbers).
6449 if test "x$srcdir" = x.; then
6450 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6454 s/^\([^=]*=[ ]*\):*/\1/
6460 cat >>$CONFIG_STATUS <<\_ACEOF
6461 fi # test -n "$CONFIG_FILES"
6464 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
6467 :[FHLC]) ac_mode=$ac_tag; continue;;
6469 case $ac_mode$ac_tag in
6471 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6472 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6473 { (exit 1); exit 1; }; };;
6474 :[FH]-) ac_tag=-:-;;
6475 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6492 -) ac_f="$tmp/stdin";;
6493 *) # Look for the file first in the build tree, then in the source tree
6494 # (if the path is not absolute). The absolute path cannot be DOS-style,
6495 # because $ac_f cannot contain `:'.
6499 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6501 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6502 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6503 { (exit 1); exit 1; }; };;
6505 ac_file_inputs="$ac_file_inputs $ac_f"
6508 # Let's still pretend it is `configure' which instantiates (i.e., don't
6509 # use $as_me), people would be surprised to read:
6510 # /* config.h. Generated by config.status. */
6511 configure_input="Generated from "`IFS=:
6512 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6513 if test x"$ac_file" != x-; then
6514 configure_input="$ac_file. $configure_input"
6515 { echo "$as_me:$LINENO: creating $ac_file" >&5
6516 echo "$as_me: creating $ac_file" >&6;}
6520 *:-:* | *:-) cat >"$tmp/stdin";;
6525 ac_dir=`$as_dirname -- "$ac_file" ||
6526 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6527 X"$ac_file" : 'X\(//\)[^/]' \| \
6528 X"$ac_file" : 'X\(//\)$' \| \
6529 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6550 -*) as_dir=./$as_dir;;
6552 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6556 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6557 *) as_qdir=$as_dir;;
6559 as_dirs="'$as_qdir' $as_dirs"
6560 as_dir=`$as_dirname -- "$as_dir" ||
6561 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6562 X"$as_dir" : 'X\(//\)[^/]' \| \
6563 X"$as_dir" : 'X\(//\)$' \| \
6564 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6583 test -d "$as_dir" && break
6585 test -z "$as_dirs" || eval "mkdir $as_dirs"
6586 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6587 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6588 { (exit 1); exit 1; }; }; }
6592 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6594 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6595 # A ".." for each directory in $ac_dir_suffix.
6596 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6597 case $ac_top_builddir_sub in
6598 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6599 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6602 ac_abs_top_builddir=$ac_pwd
6603 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6604 # for backward compatibility:
6605 ac_top_builddir=$ac_top_build_prefix
6608 .) # We are building in place.
6610 ac_top_srcdir=$ac_top_builddir_sub
6611 ac_abs_top_srcdir=$ac_pwd ;;
6612 [\\/]* | ?:[\\/]* ) # Absolute name.
6613 ac_srcdir=$srcdir$ac_dir_suffix;
6614 ac_top_srcdir=$srcdir
6615 ac_abs_top_srcdir=$srcdir ;;
6617 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6618 ac_top_srcdir=$ac_top_build_prefix$srcdir
6619 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6621 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6631 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6632 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6636 cat >>$CONFIG_STATUS <<\_ACEOF
6637 # If the template does not know about datarootdir, expand it.
6638 # FIXME: This hack should be removed a few years after 2.60.
6639 ac_datarootdir_hack=; ac_datarootdir_seen=
6641 case `sed -n '/datarootdir/ {
6650 ' $ac_file_inputs` in
6651 *datarootdir*) ac_datarootdir_seen=yes;;
6652 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6653 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6654 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6656 cat >>$CONFIG_STATUS <<_ACEOF
6657 ac_datarootdir_hack='
6658 s&@datadir@&$datadir&g
6659 s&@docdir@&$docdir&g
6660 s&@infodir@&$infodir&g
6661 s&@localedir@&$localedir&g
6662 s&@mandir@&$mandir&g
6663 s&\\\${datarootdir}&$datarootdir&g' ;;
6667 # Neutralize VPATH when `$srcdir' = `.'.
6668 # Shell code in configure.ac might set extrasub.
6669 # FIXME: do we really want to maintain this feature?
6670 cat >>$CONFIG_STATUS <<_ACEOF
6674 cat >>$CONFIG_STATUS <<\_ACEOF
6676 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6677 s&@configure_input@&$configure_input&;t t
6678 s&@top_builddir@&$ac_top_builddir_sub&;t t
6679 s&@srcdir@&$ac_srcdir&;t t
6680 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6681 s&@top_srcdir@&$ac_top_srcdir&;t t
6682 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6683 s&@builddir@&$ac_builddir&;t t
6684 s&@abs_builddir@&$ac_abs_builddir&;t t
6685 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6686 s&@INSTALL@&$ac_INSTALL&;t t
6687 $ac_datarootdir_hack
6688 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6690 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6691 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6692 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6693 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6694 which seems to be undefined. Please make sure it is defined." >&5
6695 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6696 which seems to be undefined. Please make sure it is defined." >&2;}
6700 -) cat "$tmp/out"; rm -f "$tmp/out";;
6701 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6710 # Transform confdefs.h into a sed script `conftest.defines', that
6711 # substitutes the proper values into config.h.in to produce config.h.
6712 rm -f conftest.defines conftest.tail
6713 # First, append a space to every undef/define line, to ease matching.
6714 echo 's/$/ /' >conftest.defines
6715 # Then, protect against being on the right side of a sed subst, or in
6716 # an unquoted here document, in config.status. If some macros were
6717 # called several times there might be several #defines for the same
6718 # symbol, which is useless. But do not sort them, since the last
6719 # AC_DEFINE must be honored.
6720 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6721 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6722 # NAME is the cpp macro being defined, VALUE is the value it is being given.
6723 # PARAMS is the parameter list in the macro definition--in most cases, it's
6724 # just an empty string.
6725 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6726 ac_dB='\\)[ (].*,\\1define\\2'
6734 s/^[ ]*#[ ]*define[ ][ ]*//
6739 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6740 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6741 ' >>conftest.defines
6743 # Remove the space that was appended to ease matching.
6744 # Then replace #undef with comments. This is necessary, for
6745 # example, in the case of _POSIX_SOURCE, which is predefined and required
6746 # on some systems where configure will not decide to define it.
6747 # (The regexp can be short, since the line contains either #define or #undef.)
6749 s,^[ #]*u.*,/* & */,' >>conftest.defines
6751 # Break up conftest.defines:
6754 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6755 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6756 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6758 ac_in='$ac_file_inputs'
6759 ac_out='"$tmp/out1"'
6760 ac_nxt='"$tmp/out2"'
6764 # Write a here document:
6765 cat >>$CONFIG_STATUS <<_ACEOF
6766 # First, check the format of the line:
6767 cat >"\$tmp/defines.sed" <<\\CEOF
6768 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6769 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6773 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6775 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6776 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6777 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6778 grep . conftest.tail >/dev/null || break
6779 rm -f conftest.defines
6780 mv conftest.tail conftest.defines
6782 rm -f conftest.defines conftest.tail
6784 echo "ac_result=$ac_in" >>$CONFIG_STATUS
6785 cat >>$CONFIG_STATUS <<\_ACEOF
6786 if test x"$ac_file" != x-; then
6787 echo "/* $configure_input */" >"$tmp/config.h"
6788 cat "$ac_result" >>"$tmp/config.h"
6789 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6790 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6791 echo "$as_me: $ac_file is unchanged" >&6;}
6794 mv "$tmp/config.h" $ac_file
6797 echo "/* $configure_input */"
6809 { (exit 0); exit 0; }
6811 chmod +x $CONFIG_STATUS
6812 ac_clean_files=$ac_clean_files_save
6815 # configure is writing to config.log, and then calls config.status.
6816 # config.status does its own redirection, appending to config.log.
6817 # Unfortunately, on DOS this fails, as config.log is still kept open
6818 # by configure, so config.status won't be able to write to it; its
6819 # output is simply discarded. So we exec the FD to /dev/null,
6820 # effectively closing config.log, so it can be properly (re)opened and
6821 # appended to by config.status. When coming back to configure, we
6822 # need to make the FD available again.
6823 if test "$no_create" != yes; then
6825 ac_config_status_args=
6826 test "$silent" = yes &&
6827 ac_config_status_args="$ac_config_status_args --quiet"
6829 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6831 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6832 # would make configure fail if this is the last instruction.
6833 $ac_cs_success || { (exit 1); exit 1; }