2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.61.
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.
579 ac_unique_file="quota.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
679 ac_precious_vars='build_alias
690 # Initialize some variables set by options.
692 ac_init_version=false
693 # The variables have the same names as the options, with
694 # dashes changed to underlines.
702 program_transform_name=s,x,x,
710 # Installation directory options.
711 # These are left unexpanded so users can "make install exec_prefix=/foo"
712 # and all the variables that are supposed to be based on exec_prefix
713 # by default will actually change.
714 # Use braces instead of parens because sh, perl, etc. also accept them.
715 # (The list follows the same order as the GNU Coding Standards.)
716 bindir='${exec_prefix}/bin'
717 sbindir='${exec_prefix}/sbin'
718 libexecdir='${exec_prefix}/libexec'
719 datarootdir='${prefix}/share'
720 datadir='${datarootdir}'
721 sysconfdir='${prefix}/etc'
722 sharedstatedir='${prefix}/com'
723 localstatedir='${prefix}/var'
724 includedir='${prefix}/include'
725 oldincludedir='/usr/include'
726 docdir='${datarootdir}/doc/${PACKAGE}'
727 infodir='${datarootdir}/info'
732 libdir='${exec_prefix}/lib'
733 localedir='${datarootdir}/locale'
734 mandir='${datarootdir}/man'
740 # If the previous option needs an argument, assign it.
741 if test -n "$ac_prev"; then
742 eval $ac_prev=\$ac_option
748 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
752 # Accept the important Cygnus configure options, so we can diagnose typos.
754 case $ac_dashdash$ac_option in
758 -bindir | --bindir | --bindi | --bind | --bin | --bi)
760 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
763 -build | --build | --buil | --bui | --bu)
764 ac_prev=build_alias ;;
765 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
766 build_alias=$ac_optarg ;;
768 -cache-file | --cache-file | --cache-fil | --cache-fi \
769 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
770 ac_prev=cache_file ;;
771 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
772 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
773 cache_file=$ac_optarg ;;
776 cache_file=config.cache ;;
778 -datadir | --datadir | --datadi | --datad)
780 -datadir=* | --datadir=* | --datadi=* | --datad=*)
781 datadir=$ac_optarg ;;
783 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
784 | --dataroo | --dataro | --datar)
785 ac_prev=datarootdir ;;
786 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
787 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
788 datarootdir=$ac_optarg ;;
790 -disable-* | --disable-*)
791 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
792 # Reject names that are not valid shell variable names.
793 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
795 { (exit 1); exit 1; }; }
796 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
797 eval enable_$ac_feature=no ;;
799 -docdir | --docdir | --docdi | --doc | --do)
801 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
804 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
806 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
809 -enable-* | --enable-*)
810 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
813 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
814 { (exit 1); exit 1; }; }
815 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
816 eval enable_$ac_feature=\$ac_optarg ;;
818 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
819 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
820 | --exec | --exe | --ex)
821 ac_prev=exec_prefix ;;
822 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
823 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
824 | --exec=* | --exe=* | --ex=*)
825 exec_prefix=$ac_optarg ;;
827 -gas | --gas | --ga | --g)
828 # Obsolete; use --with-gas.
831 -help | --help | --hel | --he | -h)
833 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
834 ac_init_help=recursive ;;
835 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
836 ac_init_help=short ;;
838 -host | --host | --hos | --ho)
839 ac_prev=host_alias ;;
840 -host=* | --host=* | --hos=* | --ho=*)
841 host_alias=$ac_optarg ;;
843 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
845 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
847 htmldir=$ac_optarg ;;
849 -includedir | --includedir | --includedi | --included | --include \
850 | --includ | --inclu | --incl | --inc)
851 ac_prev=includedir ;;
852 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
853 | --includ=* | --inclu=* | --incl=* | --inc=*)
854 includedir=$ac_optarg ;;
856 -infodir | --infodir | --infodi | --infod | --info | --inf)
858 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
859 infodir=$ac_optarg ;;
861 -libdir | --libdir | --libdi | --libd)
863 -libdir=* | --libdir=* | --libdi=* | --libd=*)
866 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
867 | --libexe | --libex | --libe)
868 ac_prev=libexecdir ;;
869 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
870 | --libexe=* | --libex=* | --libe=*)
871 libexecdir=$ac_optarg ;;
873 -localedir | --localedir | --localedi | --localed | --locale)
875 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
876 localedir=$ac_optarg ;;
878 -localstatedir | --localstatedir | --localstatedi | --localstated \
879 | --localstate | --localstat | --localsta | --localst | --locals)
880 ac_prev=localstatedir ;;
881 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
882 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
883 localstatedir=$ac_optarg ;;
885 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
887 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
891 # Obsolete; use --without-fp.
894 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
895 | --no-cr | --no-c | -n)
898 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
899 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
902 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
903 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
904 | --oldin | --oldi | --old | --ol | --o)
905 ac_prev=oldincludedir ;;
906 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
907 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
908 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
909 oldincludedir=$ac_optarg ;;
911 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
913 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
916 -program-prefix | --program-prefix | --program-prefi | --program-pref \
917 | --program-pre | --program-pr | --program-p)
918 ac_prev=program_prefix ;;
919 -program-prefix=* | --program-prefix=* | --program-prefi=* \
920 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
921 program_prefix=$ac_optarg ;;
923 -program-suffix | --program-suffix | --program-suffi | --program-suff \
924 | --program-suf | --program-su | --program-s)
925 ac_prev=program_suffix ;;
926 -program-suffix=* | --program-suffix=* | --program-suffi=* \
927 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
928 program_suffix=$ac_optarg ;;
930 -program-transform-name | --program-transform-name \
931 | --program-transform-nam | --program-transform-na \
932 | --program-transform-n | --program-transform- \
933 | --program-transform | --program-transfor \
934 | --program-transfo | --program-transf \
935 | --program-trans | --program-tran \
936 | --progr-tra | --program-tr | --program-t)
937 ac_prev=program_transform_name ;;
938 -program-transform-name=* | --program-transform-name=* \
939 | --program-transform-nam=* | --program-transform-na=* \
940 | --program-transform-n=* | --program-transform-=* \
941 | --program-transform=* | --program-transfor=* \
942 | --program-transfo=* | --program-transf=* \
943 | --program-trans=* | --program-tran=* \
944 | --progr-tra=* | --program-tr=* | --program-t=*)
945 program_transform_name=$ac_optarg ;;
947 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
949 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
952 -psdir | --psdir | --psdi | --psd | --ps)
954 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
957 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
958 | -silent | --silent | --silen | --sile | --sil)
961 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
963 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
965 sbindir=$ac_optarg ;;
967 -sharedstatedir | --sharedstatedir | --sharedstatedi \
968 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
969 | --sharedst | --shareds | --shared | --share | --shar \
971 ac_prev=sharedstatedir ;;
972 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
973 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
974 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
976 sharedstatedir=$ac_optarg ;;
978 -site | --site | --sit)
980 -site=* | --site=* | --sit=*)
983 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
985 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
988 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
989 | --syscon | --sysco | --sysc | --sys | --sy)
990 ac_prev=sysconfdir ;;
991 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
992 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
993 sysconfdir=$ac_optarg ;;
995 -target | --target | --targe | --targ | --tar | --ta | --t)
996 ac_prev=target_alias ;;
997 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
998 target_alias=$ac_optarg ;;
1000 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1003 -version | --version | --versio | --versi | --vers | -V)
1004 ac_init_version=: ;;
1007 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1010 { echo "$as_me: error: invalid package name: $ac_package" >&2
1011 { (exit 1); exit 1; }; }
1012 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1013 eval with_$ac_package=\$ac_optarg ;;
1015 -without-* | --without-*)
1016 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1019 { echo "$as_me: error: invalid package name: $ac_package" >&2
1020 { (exit 1); exit 1; }; }
1021 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1022 eval with_$ac_package=no ;;
1025 # Obsolete; use --with-x.
1028 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1029 | --x-incl | --x-inc | --x-in | --x-i)
1030 ac_prev=x_includes ;;
1031 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1032 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1033 x_includes=$ac_optarg ;;
1035 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1036 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1037 ac_prev=x_libraries ;;
1038 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1039 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1040 x_libraries=$ac_optarg ;;
1042 -*) { echo "$as_me: error: unrecognized option: $ac_option
1043 Try \`$0 --help' for more information." >&2
1044 { (exit 1); exit 1; }; }
1048 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1051 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1052 { (exit 1); exit 1; }; }
1053 eval $ac_envvar=\$ac_optarg
1054 export $ac_envvar ;;
1057 # FIXME: should be removed in autoconf 3.0.
1058 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1059 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1060 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1061 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1067 if test -n "$ac_prev"; then
1068 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1069 { echo "$as_me: error: missing argument to $ac_option" >&2
1070 { (exit 1); exit 1; }; }
1073 # Be sure to have absolute directory names.
1074 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1075 datadir sysconfdir sharedstatedir localstatedir includedir \
1076 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1077 libdir localedir mandir
1079 eval ac_val=\$$ac_var
1081 [\\/$]* | ?:[\\/]* ) continue;;
1082 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1084 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1085 { (exit 1); exit 1; }; }
1088 # There might be people who depend on the old broken behavior: `$host'
1089 # used to hold the argument of --host etc.
1090 # FIXME: To remove some day.
1093 target=$target_alias
1095 # FIXME: To remove some day.
1096 if test "x$host_alias" != x; then
1097 if test "x$build_alias" = x; then
1098 cross_compiling=maybe
1099 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1100 If a cross compiler is detected then cross compile mode will be used." >&2
1101 elif test "x$build_alias" != "x$host_alias"; then
1107 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1109 test "$silent" = yes && exec 6>/dev/null
1112 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1113 ac_ls_di=`ls -di .` &&
1114 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1115 { echo "$as_me: error: Working directory cannot be determined" >&2
1116 { (exit 1); exit 1; }; }
1117 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1118 { echo "$as_me: error: pwd does not report name of working directory" >&2
1119 { (exit 1); exit 1; }; }
1122 # Find the source files, if location was not specified.
1123 if test -z "$srcdir"; then
1124 ac_srcdir_defaulted=yes
1125 # Try the directory containing this script, then the parent directory.
1126 ac_confdir=`$as_dirname -- "$0" ||
1127 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1128 X"$0" : 'X\(//\)[^/]' \| \
1129 X"$0" : 'X\(//\)$' \| \
1130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1150 if test ! -r "$srcdir/$ac_unique_file"; then
1154 ac_srcdir_defaulted=no
1156 if test ! -r "$srcdir/$ac_unique_file"; then
1157 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1158 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1159 { (exit 1); exit 1; }; }
1161 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1163 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1164 { (exit 1); exit 1; }; }
1166 # When building in place, set srcdir=.
1167 if test "$ac_abs_confdir" = "$ac_pwd"; then
1170 # Remove unnecessary trailing slashes from srcdir.
1171 # Double slashes in file names in object file debugging info
1172 # mess up M-x gdb in Emacs.
1174 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1176 for ac_var in $ac_precious_vars; do
1177 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1178 eval ac_env_${ac_var}_value=\$${ac_var}
1179 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1180 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1184 # Report the --help message.
1186 if test "$ac_init_help" = "long"; then
1187 # Omit some internal or obsolete options to make the list less imposing.
1188 # This message is too long to be a string in the A/UX 3.1 sh.
1190 \`configure' configures this package to adapt to many kinds of systems.
1192 Usage: $0 [OPTION]... [VAR=VALUE]...
1194 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1195 VAR=VALUE. See below for descriptions of some of the useful variables.
1197 Defaults for the options are specified in brackets.
1200 -h, --help display this help and exit
1201 --help=short display options specific to this package
1202 --help=recursive display the short help of all the included packages
1203 -V, --version display version information and exit
1204 -q, --quiet, --silent do not print \`checking...' messages
1205 --cache-file=FILE cache test results in FILE [disabled]
1206 -C, --config-cache alias for \`--cache-file=config.cache'
1207 -n, --no-create do not create output files
1208 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1210 Installation directories:
1211 --prefix=PREFIX install architecture-independent files in PREFIX
1212 [$ac_default_prefix]
1213 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1216 By default, \`make install' will install all the files in
1217 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1218 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1219 for instance \`--prefix=\$HOME'.
1221 For better control, use the options below.
1223 Fine tuning of the installation directories:
1224 --bindir=DIR user executables [EPREFIX/bin]
1225 --sbindir=DIR system admin executables [EPREFIX/sbin]
1226 --libexecdir=DIR program executables [EPREFIX/libexec]
1227 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1228 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1229 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1230 --libdir=DIR object code libraries [EPREFIX/lib]
1231 --includedir=DIR C header files [PREFIX/include]
1232 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1233 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1234 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1235 --infodir=DIR info documentation [DATAROOTDIR/info]
1236 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1237 --mandir=DIR man documentation [DATAROOTDIR/man]
1238 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1239 --htmldir=DIR html documentation [DOCDIR]
1240 --dvidir=DIR dvi documentation [DOCDIR]
1241 --pdfdir=DIR pdf documentation [DOCDIR]
1242 --psdir=DIR ps documentation [DOCDIR]
1249 if test -n "$ac_init_help"; then
1254 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1255 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1256 --enable-ldapmail=yes/no/try Enable ldap mail address lookups default=no.
1257 --enable-ext2direct=yes/no/try Enable scanning of EXT2/EXT3 filesystem using e2fslib default=try.
1258 --enable-netlink=yes/no/try Compile daemon receiving quota messages via netlink default=no.
1259 --enable-altformat=yes/no Enable alternative format used by edquota default=yes.
1260 --enable-rpc=yes/no Enable RPC support default=yes.
1261 --enable-rpcsetquota=yes/no Use RPC for setting quotas default=no.
1262 --enable-xfs_roothack=yes/no Support old XFS root filesystems default=no.
1263 --enable-bsd_behaviour=yes/no Mimic BSD behaviour default=yes.
1264 --enable-libefence=yes/no Use Electric Fence memory checks default=no.
1265 --enable-nls=yes/no Enable gettext dafault=yes.
1266 --enable-rootsbin=yes/no Use /sbin for some important binaries regardless $prefix default=no.
1268 Some influential environment variables:
1269 CC C compiler command
1270 CFLAGS C compiler flags
1271 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1272 nonstandard directory <lib dir>
1273 LIBS libraries to pass to the linker, e.g. -l<library>
1274 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1275 you have headers in a nonstandard directory <include dir>
1278 Use these variables to override the choices made by `configure' or to help
1279 it to find libraries and programs with nonstandard names/locations.
1285 if test "$ac_init_help" = "recursive"; then
1286 # If there are subdirs, report their specific --help.
1287 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1288 test -d "$ac_dir" || continue
1292 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1294 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1295 # A ".." for each directory in $ac_dir_suffix.
1296 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1297 case $ac_top_builddir_sub in
1298 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1299 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1302 ac_abs_top_builddir=$ac_pwd
1303 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1304 # for backward compatibility:
1305 ac_top_builddir=$ac_top_build_prefix
1308 .) # We are building in place.
1310 ac_top_srcdir=$ac_top_builddir_sub
1311 ac_abs_top_srcdir=$ac_pwd ;;
1312 [\\/]* | ?:[\\/]* ) # Absolute name.
1313 ac_srcdir=$srcdir$ac_dir_suffix;
1314 ac_top_srcdir=$srcdir
1315 ac_abs_top_srcdir=$srcdir ;;
1317 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1318 ac_top_srcdir=$ac_top_build_prefix$srcdir
1319 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1321 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1323 cd "$ac_dir" || { ac_status=$?; continue; }
1324 # Check for guested configure.
1325 if test -f "$ac_srcdir/configure.gnu"; then
1327 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1328 elif test -f "$ac_srcdir/configure"; then
1330 $SHELL "$ac_srcdir/configure" --help=recursive
1332 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1334 cd "$ac_pwd" || { ac_status=$?; break; }
1338 test -n "$ac_init_help" && exit $ac_status
1339 if $ac_init_version; then
1342 generated by GNU Autoconf 2.61
1344 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1345 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1346 This configure script is free software; the Free Software Foundation
1347 gives unlimited permission to copy, distribute and modify it.
1351 cat >config.log <<_ACEOF
1352 This file contains any messages produced by compilers while
1353 running configure, to aid debugging if configure makes a mistake.
1355 It was created by $as_me, which was
1356 generated by GNU Autoconf 2.61. Invocation command line was
1364 @%:@@%:@ --------- @%:@@%:@
1365 @%:@@%:@ Platform. @%:@@%:@
1366 @%:@@%:@ --------- @%:@@%:@
1368 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1369 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1370 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1371 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1372 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1374 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1375 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1377 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1378 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1379 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1380 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1381 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1382 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1383 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1391 test -z "$as_dir" && as_dir=.
1392 echo "PATH: $as_dir"
1401 @%:@@%:@ ----------- @%:@@%:@
1402 @%:@@%:@ Core tests. @%:@@%:@
1403 @%:@@%:@ ----------- @%:@@%:@
1408 # Keep a trace of the command line.
1409 # Strip out --no-create and --no-recursion so they do not pile up.
1410 # Strip out --silent because we don't want to record it for future runs.
1411 # Also quote any args containing shell meta-characters.
1412 # Make two passes to allow for proper duplicate-argument suppression.
1416 ac_must_keep_next=false
1422 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1423 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1424 | -silent | --silent | --silen | --sile | --sil)
1427 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1430 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1432 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1433 if test $ac_must_keep_next = true; then
1434 ac_must_keep_next=false # Got value, back to normal.
1437 *=* | --config-cache | -C | -disable-* | --disable-* \
1438 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1439 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1440 | -with-* | --with-* | -without-* | --without-* | --x)
1441 case "$ac_configure_args0 " in
1442 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1445 -* ) ac_must_keep_next=true ;;
1448 ac_configure_args="$ac_configure_args '$ac_arg'"
1453 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1454 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Use '\'' to represent an apostrophe within the trap.
1460 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1461 trap 'exit_status=$?
1462 # Save into config.log some information that might help in debugging.
1467 @%:@@%:@ ---------------- @%:@@%:@
1468 @%:@@%:@ Cache variables. @%:@@%:@
1469 @%:@@%:@ ---------------- @%:@@%:@
1472 # The following way of writing the cache mishandles newlines in values,
1474 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1475 eval ac_val=\$$ac_var
1479 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1480 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1483 _ | IFS | as_nl) ;; #(
1484 *) $as_unset $ac_var ;;
1489 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1490 *${as_nl}ac_space=\ *)
1492 "s/'\''/'\''\\\\'\'''\''/g;
1493 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1496 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1504 @%:@@%:@ ----------------- @%:@@%:@
1505 @%:@@%:@ Output variables. @%:@@%:@
1506 @%:@@%:@ ----------------- @%:@@%:@
1509 for ac_var in $ac_subst_vars
1511 eval ac_val=\$$ac_var
1513 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1515 echo "$ac_var='\''$ac_val'\''"
1519 if test -n "$ac_subst_files"; then
1521 @%:@@%:@ ------------------- @%:@@%:@
1522 @%:@@%:@ File substitutions. @%:@@%:@
1523 @%:@@%:@ ------------------- @%:@@%:@
1526 for ac_var in $ac_subst_files
1528 eval ac_val=\$$ac_var
1530 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1532 echo "$ac_var='\''$ac_val'\''"
1537 if test -s confdefs.h; then
1539 @%:@@%:@ ----------- @%:@@%:@
1540 @%:@@%:@ confdefs.h. @%:@@%:@
1541 @%:@@%:@ ----------- @%:@@%:@
1547 test "$ac_signal" != 0 &&
1548 echo "$as_me: caught signal $ac_signal"
1549 echo "$as_me: exit $exit_status"
1551 rm -f core *.core core.conftest.* &&
1552 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1555 for ac_signal in 1 2 13 15; do
1556 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1560 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1561 rm -f -r conftest* confdefs.h
1563 # Predefined preprocessor variables.
1565 cat >>confdefs.h <<_ACEOF
1566 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1570 cat >>confdefs.h <<_ACEOF
1571 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1575 cat >>confdefs.h <<_ACEOF
1576 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1580 cat >>confdefs.h <<_ACEOF
1581 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1585 cat >>confdefs.h <<_ACEOF
1586 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1590 # Let the site file select an alternate cache file if it wants to.
1591 # Prefer explicitly selected file to automatically selected ones.
1592 if test -n "$CONFIG_SITE"; then
1593 set x "$CONFIG_SITE"
1594 elif test "x$prefix" != xNONE; then
1595 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1597 set x "$ac_default_prefix/share/config.site" \
1598 "$ac_default_prefix/etc/config.site"
1603 if test -r "$ac_site_file"; then
1604 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1605 echo "$as_me: loading site script $ac_site_file" >&6;}
1606 sed 's/^/| /' "$ac_site_file" >&5
1611 if test -r "$cache_file"; then
1612 # Some versions of bash will fail to source /dev/null (special
1613 # files actually), so we avoid doing that.
1614 if test -f "$cache_file"; then
1615 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1616 echo "$as_me: loading cache $cache_file" >&6;}
1618 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1619 *) . "./$cache_file";;
1623 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1624 echo "$as_me: creating cache $cache_file" >&6;}
1628 # Check that the precious variables saved in the cache have kept the same
1630 ac_cache_corrupted=false
1631 for ac_var in $ac_precious_vars; do
1632 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1633 eval ac_new_set=\$ac_env_${ac_var}_set
1634 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1635 eval ac_new_val=\$ac_env_${ac_var}_value
1636 case $ac_old_set,$ac_new_set in
1638 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1639 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1640 ac_cache_corrupted=: ;;
1642 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1643 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1644 ac_cache_corrupted=: ;;
1647 if test "x$ac_old_val" != "x$ac_new_val"; then
1648 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1649 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1650 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1651 echo "$as_me: former value: $ac_old_val" >&2;}
1652 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1653 echo "$as_me: current value: $ac_new_val" >&2;}
1654 ac_cache_corrupted=:
1657 # Pass precious variables to config.status.
1658 if test "$ac_new_set" = set; then
1660 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1661 *) ac_arg=$ac_var=$ac_new_val ;;
1663 case " $ac_configure_args " in
1664 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1665 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1669 if $ac_cache_corrupted; then
1670 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1671 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1672 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1673 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1674 { (exit 1); exit 1; }; }
1694 ac_cpp='$CPP $CPPFLAGS'
1695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1702 ac_cpp='$CPP $CPPFLAGS'
1703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1706 if test -n "$ac_tool_prefix"; then
1707 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1708 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1711 if test "${ac_cv_prog_CC+set}" = set; then
1712 echo $ECHO_N "(cached) $ECHO_C" >&6
1714 if test -n "$CC"; then
1715 ac_cv_prog_CC="$CC" # Let the user override the test.
1717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1721 test -z "$as_dir" && as_dir=.
1722 for ac_exec_ext in '' $ac_executable_extensions; do
1723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1724 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1735 if test -n "$CC"; then
1736 { echo "$as_me:$LINENO: result: $CC" >&5
1737 echo "${ECHO_T}$CC" >&6; }
1739 { echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6; }
1745 if test -z "$ac_cv_prog_CC"; then
1747 # Extract the first word of "gcc", so it can be a program name with args.
1748 set dummy gcc; ac_word=$2
1749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1751 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 if test -n "$ac_ct_CC"; then
1755 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1764 ac_cv_prog_ac_ct_CC="gcc"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1774 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1775 if test -n "$ac_ct_CC"; then
1776 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1777 echo "${ECHO_T}$ac_ct_CC" >&6; }
1779 { echo "$as_me:$LINENO: result: no" >&5
1780 echo "${ECHO_T}no" >&6; }
1783 if test "x$ac_ct_CC" = x; then
1786 case $cross_compiling:$ac_tool_warned in
1788 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1789 whose name does not start with the host triplet. If you think this
1790 configuration is useful to you, please write to autoconf@gnu.org." >&5
1791 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1792 whose name does not start with the host triplet. If you think this
1793 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1794 ac_tool_warned=yes ;;
1802 if test -z "$CC"; then
1803 if test -n "$ac_tool_prefix"; then
1804 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1805 set dummy ${ac_tool_prefix}cc; ac_word=$2
1806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1808 if test "${ac_cv_prog_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1811 if test -n "$CC"; then
1812 ac_cv_prog_CC="$CC" # Let the user override the test.
1814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 test -z "$as_dir" && as_dir=.
1819 for ac_exec_ext in '' $ac_executable_extensions; do
1820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1821 ac_cv_prog_CC="${ac_tool_prefix}cc"
1822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1832 if test -n "$CC"; then
1833 { echo "$as_me:$LINENO: result: $CC" >&5
1834 echo "${ECHO_T}$CC" >&6; }
1836 { echo "$as_me:$LINENO: result: no" >&5
1837 echo "${ECHO_T}no" >&6; }
1843 if test -z "$CC"; then
1844 # Extract the first word of "cc", so it can be a program name with args.
1845 set dummy cc; ac_word=$2
1846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1848 if test "${ac_cv_prog_CC+set}" = set; then
1849 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 if test -n "$CC"; then
1852 ac_cv_prog_CC="$CC" # Let the user override the test.
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1862 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1863 ac_prog_rejected=yes
1867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1874 if test $ac_prog_rejected = yes; then
1875 # We found a bogon in the path, so make sure we never use it.
1876 set dummy $ac_cv_prog_CC
1878 if test $@%:@ != 0; then
1879 # We chose a different compiler from the bogus one.
1880 # However, it has the same basename, so the bogon will be chosen
1881 # first if we set CC to just the basename; use the full file name.
1883 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1889 if test -n "$CC"; then
1890 { echo "$as_me:$LINENO: result: $CC" >&5
1891 echo "${ECHO_T}$CC" >&6; }
1893 { echo "$as_me:$LINENO: result: no" >&5
1894 echo "${ECHO_T}no" >&6; }
1899 if test -z "$CC"; then
1900 if test -n "$ac_tool_prefix"; then
1901 for ac_prog in cl.exe
1903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1904 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1907 if test "${ac_cv_prog_CC+set}" = set; then
1908 echo $ECHO_N "(cached) $ECHO_C" >&6
1910 if test -n "$CC"; then
1911 ac_cv_prog_CC="$CC" # Let the user override the test.
1913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 test -z "$as_dir" && as_dir=.
1918 for ac_exec_ext in '' $ac_executable_extensions; do
1919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1920 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1931 if test -n "$CC"; then
1932 { echo "$as_me:$LINENO: result: $CC" >&5
1933 echo "${ECHO_T}$CC" >&6; }
1935 { echo "$as_me:$LINENO: result: no" >&5
1936 echo "${ECHO_T}no" >&6; }
1940 test -n "$CC" && break
1943 if test -z "$CC"; then
1945 for ac_prog in cl.exe
1947 # Extract the first word of "$ac_prog", so it can be a program name with args.
1948 set dummy $ac_prog; ac_word=$2
1949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1951 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1952 echo $ECHO_N "(cached) $ECHO_C" >&6
1954 if test -n "$ac_ct_CC"; then
1955 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961 test -z "$as_dir" && as_dir=.
1962 for ac_exec_ext in '' $ac_executable_extensions; do
1963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1964 ac_cv_prog_ac_ct_CC="$ac_prog"
1965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1974 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1975 if test -n "$ac_ct_CC"; then
1976 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1977 echo "${ECHO_T}$ac_ct_CC" >&6; }
1979 { echo "$as_me:$LINENO: result: no" >&5
1980 echo "${ECHO_T}no" >&6; }
1984 test -n "$ac_ct_CC" && break
1987 if test "x$ac_ct_CC" = x; then
1990 case $cross_compiling:$ac_tool_warned in
1992 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1993 whose name does not start with the host triplet. If you think this
1994 configuration is useful to you, please write to autoconf@gnu.org." >&5
1995 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1996 whose name does not start with the host triplet. If you think this
1997 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1998 ac_tool_warned=yes ;;
2007 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2008 See \`config.log' for more details." >&5
2009 echo "$as_me: error: no acceptable C compiler found in \$PATH
2010 See \`config.log' for more details." >&2;}
2011 { (exit 1); exit 1; }; }
2013 # Provide some information about the compiler.
2014 echo "$as_me:$LINENO: checking for C compiler version" >&5
2015 ac_compiler=`set X $ac_compile; echo $2`
2016 { (ac_try="$ac_compiler --version >&5"
2018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2019 *) ac_try_echo=$ac_try;;
2021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2022 (eval "$ac_compiler --version >&5") 2>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); }
2026 { (ac_try="$ac_compiler -v >&5"
2028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2029 *) ac_try_echo=$ac_try;;
2031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2032 (eval "$ac_compiler -v >&5") 2>&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }
2036 { (ac_try="$ac_compiler -V >&5"
2038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2039 *) ac_try_echo=$ac_try;;
2041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2042 (eval "$ac_compiler -V >&5") 2>&5
2044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045 (exit $ac_status); }
2047 cat >conftest.$ac_ext <<_ACEOF
2050 cat confdefs.h >>conftest.$ac_ext
2051 cat >>conftest.$ac_ext <<_ACEOF
2052 /* end confdefs.h. */
2062 ac_clean_files_save=$ac_clean_files
2063 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2064 # Try to create an executable without -o first, disregard a.out.
2065 # It will help us diagnose broken compilers, and finding out an intuition
2067 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2068 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2069 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2071 # List of possible output files, starting from the most likely.
2072 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2073 # only as a last resort. b.out is created by i960 compilers.
2074 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2076 # The IRIX 6 linker writes into existing files which may not be
2077 # executable, retaining their permissions. Remove them first so a
2078 # subsequent execution test works.
2080 for ac_file in $ac_files
2083 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2084 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2089 if { (ac_try="$ac_link_default"
2091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2092 *) ac_try_echo=$ac_try;;
2094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2095 (eval "$ac_link_default") 2>&5
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); }; then
2099 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2100 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2101 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2102 # so that the user can short-circuit this test for compilers unknown to
2104 for ac_file in $ac_files ''
2106 test -f "$ac_file" || continue
2108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2111 # We found the default executable, but exeext='' is most
2115 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2117 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2119 # We set ac_cv_exeext here because the later test for it is not
2120 # safe: cross compilers may not add the suffix if given an `-o'
2121 # argument, so we may need to know it at that point already.
2122 # Even if this section looks crufty: it has the advantage of
2129 test "$ac_cv_exeext" = no && ac_cv_exeext=
2135 { echo "$as_me:$LINENO: result: $ac_file" >&5
2136 echo "${ECHO_T}$ac_file" >&6; }
2137 if test -z "$ac_file"; then
2138 echo "$as_me: failed program was:" >&5
2139 sed 's/^/| /' conftest.$ac_ext >&5
2141 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2142 See \`config.log' for more details." >&5
2143 echo "$as_me: error: C compiler cannot create executables
2144 See \`config.log' for more details." >&2;}
2145 { (exit 77); exit 77; }; }
2148 ac_exeext=$ac_cv_exeext
2150 # Check that the compiler produces executables we can run. If not, either
2151 # the compiler is broken, or we cross compile.
2152 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2153 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2154 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2155 # If not cross compiling, check that we can run a simple program.
2156 if test "$cross_compiling" != yes; then
2157 if { ac_try='./$ac_file'
2158 { (case "(($ac_try" in
2159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2160 *) ac_try_echo=$ac_try;;
2162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2163 (eval "$ac_try") 2>&5
2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 (exit $ac_status); }; }; then
2169 if test "$cross_compiling" = maybe; then
2172 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2173 If you meant to cross compile, use \`--host'.
2174 See \`config.log' for more details." >&5
2175 echo "$as_me: error: cannot run C compiled programs.
2176 If you meant to cross compile, use \`--host'.
2177 See \`config.log' for more details." >&2;}
2178 { (exit 1); exit 1; }; }
2182 { echo "$as_me:$LINENO: result: yes" >&5
2183 echo "${ECHO_T}yes" >&6; }
2185 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2186 ac_clean_files=$ac_clean_files_save
2187 # Check that the compiler produces executables we can run. If not, either
2188 # the compiler is broken, or we cross compile.
2189 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2190 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2191 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2192 echo "${ECHO_T}$cross_compiling" >&6; }
2194 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2195 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2196 if { (ac_try="$ac_link"
2198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2199 *) ac_try_echo=$ac_try;;
2201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2202 (eval "$ac_link") 2>&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); }; then
2206 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2207 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2208 # work properly (i.e., refer to `conftest.exe'), while it won't with
2210 for ac_file in conftest.exe conftest conftest.*; do
2211 test -f "$ac_file" || continue
2213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2214 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2220 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2221 See \`config.log' for more details." >&5
2222 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2223 See \`config.log' for more details." >&2;}
2224 { (exit 1); exit 1; }; }
2227 rm -f conftest$ac_cv_exeext
2228 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2229 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2231 rm -f conftest.$ac_ext
2232 EXEEXT=$ac_cv_exeext
2234 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2235 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2236 if test "${ac_cv_objext+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2239 cat >conftest.$ac_ext <<_ACEOF
2242 cat confdefs.h >>conftest.$ac_ext
2243 cat >>conftest.$ac_ext <<_ACEOF
2244 /* end confdefs.h. */
2254 rm -f conftest.o conftest.obj
2255 if { (ac_try="$ac_compile"
2257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2258 *) ac_try_echo=$ac_try;;
2260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2261 (eval "$ac_compile") 2>&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); }; then
2265 for ac_file in conftest.o conftest.obj conftest.*; do
2266 test -f "$ac_file" || continue;
2268 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2269 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2274 echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.$ac_ext >&5
2277 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2278 See \`config.log' for more details." >&5
2279 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2280 See \`config.log' for more details." >&2;}
2281 { (exit 1); exit 1; }; }
2284 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2286 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2287 echo "${ECHO_T}$ac_cv_objext" >&6; }
2288 OBJEXT=$ac_cv_objext
2290 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2291 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2292 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 cat >conftest.$ac_ext <<_ACEOF
2298 cat confdefs.h >>conftest.$ac_ext
2299 cat >>conftest.$ac_ext <<_ACEOF
2300 /* end confdefs.h. */
2313 rm -f conftest.$ac_objext
2314 if { (ac_try="$ac_compile"
2316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2317 *) ac_try_echo=$ac_try;;
2319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2320 (eval "$ac_compile") 2>conftest.er1
2322 grep -v '^ *+' conftest.er1 >conftest.err
2324 cat conftest.err >&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); } && {
2327 test -z "$ac_c_werror_flag" ||
2328 test ! -s conftest.err
2329 } && test -s conftest.$ac_objext; then
2332 echo "$as_me: failed program was:" >&5
2333 sed 's/^/| /' conftest.$ac_ext >&5
2338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2339 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2342 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2343 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2344 GCC=`test $ac_compiler_gnu = yes && echo yes`
2345 ac_test_CFLAGS=${CFLAGS+set}
2346 ac_save_CFLAGS=$CFLAGS
2347 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2348 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2349 if test "${ac_cv_prog_cc_g+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 ac_save_c_werror_flag=$ac_c_werror_flag
2353 ac_c_werror_flag=yes
2356 cat >conftest.$ac_ext <<_ACEOF
2359 cat confdefs.h >>conftest.$ac_ext
2360 cat >>conftest.$ac_ext <<_ACEOF
2361 /* end confdefs.h. */
2371 rm -f conftest.$ac_objext
2372 if { (ac_try="$ac_compile"
2374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2375 *) ac_try_echo=$ac_try;;
2377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2378 (eval "$ac_compile") 2>conftest.er1
2380 grep -v '^ *+' conftest.er1 >conftest.err
2382 cat conftest.err >&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); } && {
2385 test -z "$ac_c_werror_flag" ||
2386 test ! -s conftest.err
2387 } && test -s conftest.$ac_objext; then
2390 echo "$as_me: failed program was:" >&5
2391 sed 's/^/| /' conftest.$ac_ext >&5
2394 cat >conftest.$ac_ext <<_ACEOF
2397 cat confdefs.h >>conftest.$ac_ext
2398 cat >>conftest.$ac_ext <<_ACEOF
2399 /* end confdefs.h. */
2409 rm -f conftest.$ac_objext
2410 if { (ac_try="$ac_compile"
2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2416 (eval "$ac_compile") 2>conftest.er1
2418 grep -v '^ *+' conftest.er1 >conftest.err
2420 cat conftest.err >&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); } && {
2423 test -z "$ac_c_werror_flag" ||
2424 test ! -s conftest.err
2425 } && test -s conftest.$ac_objext; then
2428 echo "$as_me: failed program was:" >&5
2429 sed 's/^/| /' conftest.$ac_ext >&5
2431 ac_c_werror_flag=$ac_save_c_werror_flag
2433 cat >conftest.$ac_ext <<_ACEOF
2436 cat confdefs.h >>conftest.$ac_ext
2437 cat >>conftest.$ac_ext <<_ACEOF
2438 /* end confdefs.h. */
2448 rm -f conftest.$ac_objext
2449 if { (ac_try="$ac_compile"
2451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452 *) ac_try_echo=$ac_try;;
2454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2455 (eval "$ac_compile") 2>conftest.er1
2457 grep -v '^ *+' conftest.er1 >conftest.err
2459 cat conftest.err >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); } && {
2462 test -z "$ac_c_werror_flag" ||
2463 test ! -s conftest.err
2464 } && test -s conftest.$ac_objext; then
2467 echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.$ac_ext >&5
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480 ac_c_werror_flag=$ac_save_c_werror_flag
2482 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2483 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2484 if test "$ac_test_CFLAGS" = set; then
2485 CFLAGS=$ac_save_CFLAGS
2486 elif test $ac_cv_prog_cc_g = yes; then
2487 if test "$GCC" = yes; then
2493 if test "$GCC" = yes; then
2499 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2500 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2501 if test "${ac_cv_prog_cc_c89+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 ac_cv_prog_cc_c89=no
2506 cat >conftest.$ac_ext <<_ACEOF
2509 cat confdefs.h >>conftest.$ac_ext
2510 cat >>conftest.$ac_ext <<_ACEOF
2511 /* end confdefs.h. */
2514 #include <sys/types.h>
2515 #include <sys/stat.h>
2516 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2517 struct buf { int x; };
2518 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2519 static char *e (p, i)
2525 static char *f (char * (*g) (char **, int), char **p, ...)
2530 s = g (p, va_arg (v,int));
2535 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2536 function prototypes and stuff, but not '\xHH' hex character constants.
2537 These don't provoke an error unfortunately, instead are silently treated
2538 as 'x'. The following induces an error, until -std is added to get
2539 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2540 array size at least. It's necessary to write '\x00'==0 to get something
2541 that's true only with -std. */
2542 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2544 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2545 inside strings and character constants. */
2547 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2549 int test (int i, double x);
2550 struct s1 {int (*f) (int a);};
2551 struct s2 {int (*f) (double a);};
2552 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2558 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2563 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2564 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2566 CC="$ac_save_CC $ac_arg"
2567 rm -f conftest.$ac_objext
2568 if { (ac_try="$ac_compile"
2570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2571 *) ac_try_echo=$ac_try;;
2573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2574 (eval "$ac_compile") 2>conftest.er1
2576 grep -v '^ *+' conftest.er1 >conftest.err
2578 cat conftest.err >&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); } && {
2581 test -z "$ac_c_werror_flag" ||
2582 test ! -s conftest.err
2583 } && test -s conftest.$ac_objext; then
2584 ac_cv_prog_cc_c89=$ac_arg
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2592 rm -f core conftest.err conftest.$ac_objext
2593 test "x$ac_cv_prog_cc_c89" != "xno" && break
2595 rm -f conftest.$ac_ext
2600 case "x$ac_cv_prog_cc_c89" in
2602 { echo "$as_me:$LINENO: result: none needed" >&5
2603 echo "${ECHO_T}none needed" >&6; } ;;
2605 { echo "$as_me:$LINENO: result: unsupported" >&5
2606 echo "${ECHO_T}unsupported" >&6; } ;;
2608 CC="$CC $ac_cv_prog_cc_c89"
2609 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2610 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2615 ac_cpp='$CPP $CPPFLAGS'
2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2622 ac_cpp='$CPP $CPPFLAGS'
2623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2626 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2627 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2628 # On Suns, sometimes $CPP names a directory.
2629 if test -n "$CPP" && test -d "$CPP"; then
2632 if test -z "$CPP"; then
2633 if test "${ac_cv_prog_CPP+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2636 # Double quotes because CPP needs to be expanded
2637 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2640 for ac_c_preproc_warn_flag in '' yes
2642 # Use a header file that comes with gcc, so configuring glibc
2643 # with a fresh cross-compiler works.
2644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2645 # <limits.h> exists even on freestanding compilers.
2646 # On the NeXT, cc -E runs the code through the compiler's parser,
2647 # not just through cpp. "Syntax error" is here to catch this case.
2648 cat >conftest.$ac_ext <<_ACEOF
2651 cat confdefs.h >>conftest.$ac_ext
2652 cat >>conftest.$ac_ext <<_ACEOF
2653 /* end confdefs.h. */
2655 @%:@ include <limits.h>
2657 @%:@ include <assert.h>
2661 if { (ac_try="$ac_cpp conftest.$ac_ext"
2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664 *) ac_try_echo=$ac_try;;
2666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2667 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2669 grep -v '^ *+' conftest.er1 >conftest.err
2671 cat conftest.err >&5
2672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673 (exit $ac_status); } >/dev/null && {
2674 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2675 test ! -s conftest.err
2679 echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2682 # Broken: fails on valid input.
2686 rm -f conftest.err conftest.$ac_ext
2688 # OK, works on sane cases. Now check whether nonexistent headers
2689 # can be detected and how.
2690 cat >conftest.$ac_ext <<_ACEOF
2693 cat confdefs.h >>conftest.$ac_ext
2694 cat >>conftest.$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2696 @%:@include <ac_nonexistent.h>
2698 if { (ac_try="$ac_cpp conftest.$ac_ext"
2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2704 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2706 grep -v '^ *+' conftest.er1 >conftest.err
2708 cat conftest.err >&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); } >/dev/null && {
2711 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2712 test ! -s conftest.err
2714 # Broken: success on invalid input.
2717 echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.$ac_ext >&5
2720 # Passes both tests.
2725 rm -f conftest.err conftest.$ac_ext
2728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2729 rm -f conftest.err conftest.$ac_ext
2730 if $ac_preproc_ok; then
2742 { echo "$as_me:$LINENO: result: $CPP" >&5
2743 echo "${ECHO_T}$CPP" >&6; }
2745 for ac_c_preproc_warn_flag in '' yes
2747 # Use a header file that comes with gcc, so configuring glibc
2748 # with a fresh cross-compiler works.
2749 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2750 # <limits.h> exists even on freestanding compilers.
2751 # On the NeXT, cc -E runs the code through the compiler's parser,
2752 # not just through cpp. "Syntax error" is here to catch this case.
2753 cat >conftest.$ac_ext <<_ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2760 @%:@ include <limits.h>
2762 @%:@ include <assert.h>
2766 if { (ac_try="$ac_cpp conftest.$ac_ext"
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2774 grep -v '^ *+' conftest.er1 >conftest.err
2776 cat conftest.err >&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); } >/dev/null && {
2779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2780 test ! -s conftest.err
2784 echo "$as_me: failed program was:" >&5
2785 sed 's/^/| /' conftest.$ac_ext >&5
2787 # Broken: fails on valid input.
2791 rm -f conftest.err conftest.$ac_ext
2793 # OK, works on sane cases. Now check whether nonexistent headers
2794 # can be detected and how.
2795 cat >conftest.$ac_ext <<_ACEOF
2798 cat confdefs.h >>conftest.$ac_ext
2799 cat >>conftest.$ac_ext <<_ACEOF
2800 /* end confdefs.h. */
2801 @%:@include <ac_nonexistent.h>
2803 if { (ac_try="$ac_cpp conftest.$ac_ext"
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2811 grep -v '^ *+' conftest.er1 >conftest.err
2813 cat conftest.err >&5
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); } >/dev/null && {
2816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2817 test ! -s conftest.err
2819 # Broken: success on invalid input.
2822 echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.$ac_ext >&5
2825 # Passes both tests.
2830 rm -f conftest.err conftest.$ac_ext
2833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2834 rm -f conftest.err conftest.$ac_ext
2835 if $ac_preproc_ok; then
2838 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2839 See \`config.log' for more details." >&5
2840 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2841 See \`config.log' for more details." >&2;}
2842 { (exit 1); exit 1; }; }
2846 ac_cpp='$CPP $CPPFLAGS'
2847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2852 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2853 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2854 if test "${ac_cv_path_GREP+set}" = set; then
2855 echo $ECHO_N "(cached) $ECHO_C" >&6
2857 # Extract the first word of "grep ggrep" to use in msg output
2858 if test -z "$GREP"; then
2859 set dummy grep ggrep; ac_prog_name=$2
2860 if test "${ac_cv_path_GREP+set}" = set; then
2861 echo $ECHO_N "(cached) $ECHO_C" >&6
2863 ac_path_GREP_found=false
2864 # Loop through the user's path and test for each of PROGNAME-LIST
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2869 test -z "$as_dir" && as_dir=.
2870 for ac_prog in grep ggrep; do
2871 for ac_exec_ext in '' $ac_executable_extensions; do
2872 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2873 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2874 # Check for GNU ac_path_GREP and select it if it is found.
2875 # Check for GNU $ac_path_GREP
2876 case `"$ac_path_GREP" --version 2>&1` in
2878 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2881 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2884 cat "conftest.in" "conftest.in" >"conftest.tmp"
2885 mv "conftest.tmp" "conftest.in"
2886 cp "conftest.in" "conftest.nl"
2887 echo 'GREP' >> "conftest.nl"
2888 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2889 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2890 ac_count=`expr $ac_count + 1`
2891 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2892 # Best one so far, save it but keep looking for a better one
2893 ac_cv_path_GREP="$ac_path_GREP"
2894 ac_path_GREP_max=$ac_count
2896 # 10*(2^10) chars as input seems more than enough
2897 test $ac_count -gt 10 && break
2899 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2903 $ac_path_GREP_found && break 3
2913 GREP="$ac_cv_path_GREP"
2914 if test -z "$GREP"; then
2915 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2916 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2917 { (exit 1); exit 1; }; }
2921 ac_cv_path_GREP=$GREP
2926 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2927 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2928 GREP="$ac_cv_path_GREP"
2931 { echo "$as_me:$LINENO: checking for egrep" >&5
2932 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2933 if test "${ac_cv_path_EGREP+set}" = set; then
2934 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2937 then ac_cv_path_EGREP="$GREP -E"
2939 # Extract the first word of "egrep" to use in msg output
2940 if test -z "$EGREP"; then
2941 set dummy egrep; ac_prog_name=$2
2942 if test "${ac_cv_path_EGREP+set}" = set; then
2943 echo $ECHO_N "(cached) $ECHO_C" >&6
2945 ac_path_EGREP_found=false
2946 # Loop through the user's path and test for each of PROGNAME-LIST
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2951 test -z "$as_dir" && as_dir=.
2952 for ac_prog in egrep; do
2953 for ac_exec_ext in '' $ac_executable_extensions; do
2954 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2955 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2956 # Check for GNU ac_path_EGREP and select it if it is found.
2957 # Check for GNU $ac_path_EGREP
2958 case `"$ac_path_EGREP" --version 2>&1` in
2960 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2963 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2966 cat "conftest.in" "conftest.in" >"conftest.tmp"
2967 mv "conftest.tmp" "conftest.in"
2968 cp "conftest.in" "conftest.nl"
2969 echo 'EGREP' >> "conftest.nl"
2970 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2971 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2972 ac_count=`expr $ac_count + 1`
2973 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2974 # Best one so far, save it but keep looking for a better one
2975 ac_cv_path_EGREP="$ac_path_EGREP"
2976 ac_path_EGREP_max=$ac_count
2978 # 10*(2^10) chars as input seems more than enough
2979 test $ac_count -gt 10 && break
2981 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2985 $ac_path_EGREP_found && break 3
2995 EGREP="$ac_cv_path_EGREP"
2996 if test -z "$EGREP"; then
2997 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2998 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2999 { (exit 1); exit 1; }; }
3003 ac_cv_path_EGREP=$EGREP
3009 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3010 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3011 EGREP="$ac_cv_path_EGREP"
3014 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3015 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3016 if test "${ac_cv_header_stdc+set}" = set; then
3017 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 cat >conftest.$ac_ext <<_ACEOF
3022 cat confdefs.h >>conftest.$ac_ext
3023 cat >>conftest.$ac_ext <<_ACEOF
3024 /* end confdefs.h. */
3038 rm -f conftest.$ac_objext
3039 if { (ac_try="$ac_compile"
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3045 (eval "$ac_compile") 2>conftest.er1
3047 grep -v '^ *+' conftest.er1 >conftest.err
3049 cat conftest.err >&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); } && {
3052 test -z "$ac_c_werror_flag" ||
3053 test ! -s conftest.err
3054 } && test -s conftest.$ac_objext; then
3055 ac_cv_header_stdc=yes
3057 echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.$ac_ext >&5
3060 ac_cv_header_stdc=no
3063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 if test $ac_cv_header_stdc = yes; then
3066 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3067 cat >conftest.$ac_ext <<_ACEOF
3070 cat confdefs.h >>conftest.$ac_ext
3071 cat >>conftest.$ac_ext <<_ACEOF
3072 /* end confdefs.h. */
3076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3077 $EGREP "memchr" >/dev/null 2>&1; then
3080 ac_cv_header_stdc=no
3086 if test $ac_cv_header_stdc = yes; then
3087 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3088 cat >conftest.$ac_ext <<_ACEOF
3091 cat confdefs.h >>conftest.$ac_ext
3092 cat >>conftest.$ac_ext <<_ACEOF
3093 /* end confdefs.h. */
3097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3098 $EGREP "free" >/dev/null 2>&1; then
3101 ac_cv_header_stdc=no
3107 if test $ac_cv_header_stdc = yes; then
3108 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3109 if test "$cross_compiling" = yes; then
3112 cat >conftest.$ac_ext <<_ACEOF
3115 cat confdefs.h >>conftest.$ac_ext
3116 cat >>conftest.$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3120 #if ((' ' & 0x0FF) == 0x020)
3121 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3122 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3124 # define ISLOWER(c) \
3125 (('a' <= (c) && (c) <= 'i') \
3126 || ('j' <= (c) && (c) <= 'r') \
3127 || ('s' <= (c) && (c) <= 'z'))
3128 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3131 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3136 for (i = 0; i < 256; i++)
3137 if (XOR (islower (i), ISLOWER (i))
3138 || toupper (i) != TOUPPER (i))
3143 rm -f conftest$ac_exeext
3144 if { (ac_try="$ac_link"
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3150 (eval "$ac_link") 2>&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3154 { (case "(($ac_try" in
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3159 (eval "$ac_try") 2>&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); }; }; then
3165 echo "$as_me: program exited with status $ac_status" >&5
3166 echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.$ac_ext >&5
3170 ac_cv_header_stdc=no
3172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3178 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3179 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3180 if test $ac_cv_header_stdc = yes; then
3182 cat >>confdefs.h <<\_ACEOF
3183 @%:@define STDC_HEADERS 1
3189 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3190 if test -f "$ac_dir/install-sh"; then
3192 ac_install_sh="$ac_aux_dir/install-sh -c"
3194 elif test -f "$ac_dir/install.sh"; then
3196 ac_install_sh="$ac_aux_dir/install.sh -c"
3198 elif test -f "$ac_dir/shtool"; then
3200 ac_install_sh="$ac_aux_dir/shtool install -c"
3204 if test -z "$ac_aux_dir"; then
3205 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3206 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3207 { (exit 1); exit 1; }; }
3210 # These three variables are undocumented and unsupported,
3211 # and are intended to be withdrawn in a future Autoconf release.
3212 # They can cause serious problems if a builder's source tree is in a directory
3213 # whose full name contains unusual characters.
3214 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3215 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3216 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3219 # Find a good install program. We prefer a C program (faster),
3220 # so one script is as good as another. But avoid the broken or
3221 # incompatible versions:
3222 # SysV /etc/install, /usr/sbin/install
3223 # SunOS /usr/etc/install
3224 # IRIX /sbin/install
3226 # AmigaOS /C/install, which installs bootblocks on floppy discs
3227 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3228 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3229 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3230 # OS/2's system install, which has a completely different semantic
3231 # ./install, which can be erroneously created by make from ./install.sh.
3232 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3233 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3234 if test -z "$INSTALL"; then
3235 if test "${ac_cv_path_install+set}" = set; then
3236 echo $ECHO_N "(cached) $ECHO_C" >&6
3238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242 test -z "$as_dir" && as_dir=.
3243 # Account for people who put trailing slashes in PATH elements.
3245 ./ | .// | /cC/* | \
3246 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3247 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3250 # OSF1 and SCO ODT 3.0 have their own names for install.
3251 # Don't use installbsd from OSF since it installs stuff as root
3253 for ac_prog in ginstall scoinst install; do
3254 for ac_exec_ext in '' $ac_executable_extensions; do
3255 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3256 if test $ac_prog = install &&
3257 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3258 # AIX install. It has an incompatible calling convention.
3260 elif test $ac_prog = install &&
3261 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3262 # program-specific install script used by HP pwplus--don't use.
3265 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3278 if test "${ac_cv_path_install+set}" = set; then
3279 INSTALL=$ac_cv_path_install
3281 # As a last resort, use the slow shell script. Don't cache a
3282 # value for INSTALL within a source directory, because that will
3283 # break other packages using the cache if that directory is
3284 # removed, or if the value is a relative name.
3285 INSTALL=$ac_install_sh
3288 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3289 echo "${ECHO_T}$INSTALL" >&6; }
3291 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3292 # It thinks the first close brace ends the variable substitution.
3293 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3295 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3297 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3300 { echo "$as_me:$LINENO: checking whether compiler supports PIE" >&5
3301 echo $ECHO_N "checking whether compiler supports PIE... $ECHO_C" >&6; }
3303 CFLAGS="$CFLAGS -fPIE"
3304 oldLDFLAGS="$LDFLAGS"
3305 LDFLAGS="$LDFLAGS -pie"
3306 cat >conftest.$ac_ext <<_ACEOF
3309 cat confdefs.h >>conftest.$ac_ext
3310 cat >>conftest.$ac_ext <<_ACEOF
3311 /* end confdefs.h. */
3321 rm -f conftest.$ac_objext conftest$ac_exeext
3322 if { (ac_try="$ac_link"
3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3328 (eval "$ac_link") 2>conftest.er1
3330 grep -v '^ *+' conftest.er1 >conftest.err
3332 cat conftest.err >&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); } && {
3335 test -z "$ac_c_werror_flag" ||
3336 test ! -s conftest.err
3337 } && test -s conftest$ac_exeext &&
3338 $as_test_x conftest$ac_exeext; then
3341 echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3348 conftest$ac_exeext conftest.$ac_ext
3349 if test "x$compilepie" != "xyes"; then
3351 LDFLAGS="$oldLDFLAGS"
3352 { echo "$as_me:$LINENO: result: no" >&5
3353 echo "${ECHO_T}no" >&6; }
3355 { echo "$as_me:$LINENO: result: yes" >&5
3356 echo "${ECHO_T}yes" >&6; }
3359 # Check whether --enable-ldapmail was given.
3360 if test "${enable_ldapmail+set}" = set; then
3361 enableval=$enable_ldapmail;
3363 enable_ldapmail="no"
3366 if test "x$enable_ldapmail" != "xno"; then
3369 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap" >&5
3370 echo $ECHO_N "checking for ldap_initialize in -lldap... $ECHO_C" >&6; }
3371 if test "${ac_cv_lib_ldap_ldap_initialize+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 ac_check_lib_save_LIBS=$LIBS
3376 cat >conftest.$ac_ext <<_ACEOF
3379 cat confdefs.h >>conftest.$ac_ext
3380 cat >>conftest.$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3383 /* Override any GCC internal prototype to avoid an error.
3384 Use char because int might match the return type of a GCC
3385 builtin and then its argument prototype would still apply. */
3389 char ldap_initialize ();
3393 return ldap_initialize ();
3398 rm -f conftest.$ac_objext conftest$ac_exeext
3399 if { (ac_try="$ac_link"
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3405 (eval "$ac_link") 2>conftest.er1
3407 grep -v '^ *+' conftest.er1 >conftest.err
3409 cat conftest.err >&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } && {
3412 test -z "$ac_c_werror_flag" ||
3413 test ! -s conftest.err
3414 } && test -s conftest$ac_exeext &&
3415 $as_test_x conftest$ac_exeext; then
3416 ac_cv_lib_ldap_ldap_initialize=yes
3418 echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.$ac_ext >&5
3421 ac_cv_lib_ldap_ldap_initialize=no
3424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3425 conftest$ac_exeext conftest.$ac_ext
3426 LIBS=$ac_check_lib_save_LIBS
3428 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_initialize" >&5
3429 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_initialize" >&6; }
3430 if test $ac_cv_lib_ldap_ldap_initialize = yes; then
3433 { echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5
3434 echo $ECHO_N "checking for ldap_init in -lldap... $ECHO_C" >&6; }
3435 if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 ac_check_lib_save_LIBS=$LIBS
3440 cat >conftest.$ac_ext <<_ACEOF
3443 cat confdefs.h >>conftest.$ac_ext
3444 cat >>conftest.$ac_ext <<_ACEOF
3445 /* end confdefs.h. */
3447 /* Override any GCC internal prototype to avoid an error.
3448 Use char because int might match the return type of a GCC
3449 builtin and then its argument prototype would still apply. */
3457 return ldap_init ();
3462 rm -f conftest.$ac_objext conftest$ac_exeext
3463 if { (ac_try="$ac_link"
3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466 *) ac_try_echo=$ac_try;;
3468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3469 (eval "$ac_link") 2>conftest.er1
3471 grep -v '^ *+' conftest.er1 >conftest.err
3473 cat conftest.err >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); } && {
3476 test -z "$ac_c_werror_flag" ||
3477 test ! -s conftest.err
3478 } && test -s conftest$ac_exeext &&
3479 $as_test_x conftest$ac_exeext; then
3480 ac_cv_lib_ldap_ldap_init=yes
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3485 ac_cv_lib_ldap_ldap_init=no
3488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3489 conftest$ac_exeext conftest.$ac_ext
3490 LIBS=$ac_check_lib_save_LIBS
3492 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5
3493 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_init" >&6; }
3494 if test $ac_cv_lib_ldap_ldap_init = yes; then
3500 if test "x$have_new_ldap" != "xno" -o "x$have_old_ldap" != "xno"; then
3501 LDAPLIBS="-L/usr/lib -lldap"
3502 CFLAGS="$CFLAGS -DUSE_LDAP_MAIL_LOOKUP"
3503 COMPILE_OPTS="$COMPILE_OPTS USE_LDAP_MAIL_LOOKUP"
3504 if test "x$have_new_ldap" = "xyes"; then
3505 CFLAGS="$CFLAGS -DUSE_LDAP_23"
3506 { echo "$as_me:$LINENO: checking whether ldap_perror is declared" >&5
3507 echo $ECHO_N "checking whether ldap_perror is declared... $ECHO_C" >&6; }
3508 if test "${ac_cv_have_decl_ldap_perror+set}" = set; then
3509 echo $ECHO_N "(cached) $ECHO_C" >&6
3511 cat >conftest.$ac_ext <<_ACEOF
3514 cat confdefs.h >>conftest.$ac_ext
3515 cat >>conftest.$ac_ext <<_ACEOF
3516 /* end confdefs.h. */
3530 rm -f conftest.$ac_objext
3531 if { (ac_try="$ac_compile"
3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534 *) ac_try_echo=$ac_try;;
3536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3537 (eval "$ac_compile") 2>conftest.er1
3539 grep -v '^ *+' conftest.er1 >conftest.err
3541 cat conftest.err >&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); } && {
3544 test -z "$ac_c_werror_flag" ||
3545 test ! -s conftest.err
3546 } && test -s conftest.$ac_objext; then
3547 ac_cv_have_decl_ldap_perror=yes
3549 echo "$as_me: failed program was:" >&5
3550 sed 's/^/| /' conftest.$ac_ext >&5
3552 ac_cv_have_decl_ldap_perror=no
3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ldap_perror" >&5
3558 echo "${ECHO_T}$ac_cv_have_decl_ldap_perror" >&6; }
3559 if test $ac_cv_have_decl_ldap_perror = yes; then
3562 CFLAGS="$CFLAGS -DNEED_LDAP_PERROR"
3567 if test "x$enable_ldapmail" = "xyes"; then
3568 { { echo "$as_me:$LINENO: error: LDAP support required but library not found." >&5
3569 echo "$as_me: error: LDAP support required but library not found." >&2;}
3570 { (exit 1); exit 1; }; };
3577 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3587 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3588 inttypes.h stdint.h unistd.h
3590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 cat >conftest.$ac_ext <<_ACEOF
3599 cat confdefs.h >>conftest.$ac_ext
3600 cat >>conftest.$ac_ext <<_ACEOF
3601 /* end confdefs.h. */
3602 $ac_includes_default
3604 @%:@include <$ac_header>
3606 rm -f conftest.$ac_objext
3607 if { (ac_try="$ac_compile"
3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3613 (eval "$ac_compile") 2>conftest.er1
3615 grep -v '^ *+' conftest.er1 >conftest.err
3617 cat conftest.err >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); } && {
3620 test -z "$ac_c_werror_flag" ||
3621 test ! -s conftest.err
3622 } && test -s conftest.$ac_objext; then
3623 eval "$as_ac_Header=yes"
3625 echo "$as_me: failed program was:" >&5
3626 sed 's/^/| /' conftest.$ac_ext >&5
3628 eval "$as_ac_Header=no"
3631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3633 ac_res=`eval echo '${'$as_ac_Header'}'`
3634 { echo "$as_me:$LINENO: result: $ac_res" >&5
3635 echo "${ECHO_T}$ac_res" >&6; }
3636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3637 cat >>confdefs.h <<_ACEOF
3638 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3646 if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then
3647 { echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5
3648 echo $ECHO_N "checking for ext2fs/ext2fs.h... $ECHO_C" >&6; }
3649 if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then
3650 echo $ECHO_N "(cached) $ECHO_C" >&6
3652 { echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5
3653 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2fs_h" >&6; }
3655 # Is the header compilable?
3656 { echo "$as_me:$LINENO: checking ext2fs/ext2fs.h usability" >&5
3657 echo $ECHO_N "checking ext2fs/ext2fs.h usability... $ECHO_C" >&6; }
3658 cat >conftest.$ac_ext <<_ACEOF
3661 cat confdefs.h >>conftest.$ac_ext
3662 cat >>conftest.$ac_ext <<_ACEOF
3663 /* end confdefs.h. */
3664 $ac_includes_default
3665 @%:@include <ext2fs/ext2fs.h>
3667 rm -f conftest.$ac_objext
3668 if { (ac_try="$ac_compile"
3670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3671 *) ac_try_echo=$ac_try;;
3673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3674 (eval "$ac_compile") 2>conftest.er1
3676 grep -v '^ *+' conftest.er1 >conftest.err
3678 cat conftest.err >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); } && {
3681 test -z "$ac_c_werror_flag" ||
3682 test ! -s conftest.err
3683 } && test -s conftest.$ac_objext; then
3684 ac_header_compiler=yes
3686 echo "$as_me: failed program was:" >&5
3687 sed 's/^/| /' conftest.$ac_ext >&5
3689 ac_header_compiler=no
3692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3694 echo "${ECHO_T}$ac_header_compiler" >&6; }
3696 # Is the header present?
3697 { echo "$as_me:$LINENO: checking ext2fs/ext2fs.h presence" >&5
3698 echo $ECHO_N "checking ext2fs/ext2fs.h presence... $ECHO_C" >&6; }
3699 cat >conftest.$ac_ext <<_ACEOF
3702 cat confdefs.h >>conftest.$ac_ext
3703 cat >>conftest.$ac_ext <<_ACEOF
3704 /* end confdefs.h. */
3705 @%:@include <ext2fs/ext2fs.h>
3707 if { (ac_try="$ac_cpp conftest.$ac_ext"
3709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3710 *) ac_try_echo=$ac_try;;
3712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3715 grep -v '^ *+' conftest.er1 >conftest.err
3717 cat conftest.err >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } >/dev/null && {
3720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3721 test ! -s conftest.err
3723 ac_header_preproc=yes
3725 echo "$as_me: failed program was:" >&5
3726 sed 's/^/| /' conftest.$ac_ext >&5
3728 ac_header_preproc=no
3731 rm -f conftest.err conftest.$ac_ext
3732 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3733 echo "${ECHO_T}$ac_header_preproc" >&6; }
3735 # So? What about this header?
3736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3738 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
3739 echo "$as_me: WARNING: ext2fs/ext2fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3740 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: proceeding with the compiler's result" >&5
3741 echo "$as_me: WARNING: ext2fs/ext2fs.h: proceeding with the compiler's result" >&2;}
3742 ac_header_preproc=yes
3745 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: present but cannot be compiled" >&5
3746 echo "$as_me: WARNING: ext2fs/ext2fs.h: present but cannot be compiled" >&2;}
3747 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: check for missing prerequisite headers?" >&5
3748 echo "$as_me: WARNING: ext2fs/ext2fs.h: check for missing prerequisite headers?" >&2;}
3749 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: see the Autoconf documentation" >&5
3750 echo "$as_me: WARNING: ext2fs/ext2fs.h: see the Autoconf documentation" >&2;}
3751 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: section \"Present But Cannot Be Compiled\"" >&5
3752 echo "$as_me: WARNING: ext2fs/ext2fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
3753 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: proceeding with the preprocessor's result" >&5
3754 echo "$as_me: WARNING: ext2fs/ext2fs.h: proceeding with the preprocessor's result" >&2;}
3755 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: in the future, the compiler will take precedence" >&5
3756 echo "$as_me: WARNING: ext2fs/ext2fs.h: in the future, the compiler will take precedence" >&2;}
3760 { echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5
3761 echo $ECHO_N "checking for ext2fs/ext2fs.h... $ECHO_C" >&6; }
3762 if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then
3763 echo $ECHO_N "(cached) $ECHO_C" >&6
3765 ac_cv_header_ext2fs_ext2fs_h=$ac_header_preproc
3767 { echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5
3768 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2fs_h" >&6; }
3771 if test $ac_cv_header_ext2fs_ext2fs_h = yes; then
3776 if test "x$ext2fshead" = "xyes"; then
3777 CFLAGS="-DHAVE_EXT2_INCLUDE $CFLAGS"
3778 { echo "$as_me:$LINENO: checking for ext2_ino_t" >&5
3779 echo $ECHO_N "checking for ext2_ino_t... $ECHO_C" >&6; }
3780 have_ext2_ino_t="no"
3781 cat >conftest.$ac_ext <<_ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 #include <ext2fs/ext2fs.h>
3790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3791 $EGREP "ext2_ino_t" >/dev/null 2>&1; then
3792 have_ext2_ino_t="yes"
3796 if test "x$have_ext2_ino_t" != "xyes"; then
3797 { echo "$as_me:$LINENO: result: not found" >&5
3798 echo "${ECHO_T}not found" >&6; }
3800 { echo "$as_me:$LINENO: result: found" >&5
3801 echo "${ECHO_T}found" >&6; }
3802 CFLAGS="-DHAVE_EXT2_INO_T $CFLAGS"
3806 # Check whether --enable-ext2direct was given.
3807 if test "${enable_ext2direct+set}" = set; then
3808 enableval=$enable_ext2direct;
3810 enable_ext2direct="try"
3813 if test "x$enable_ext2direct" != "xno"; then
3814 { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
3815 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; }
3816 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 ac_check_lib_save_LIBS=$LIBS
3820 LIBS="-lcom_err $LIBS"
3821 cat >conftest.$ac_ext <<_ACEOF
3824 cat confdefs.h >>conftest.$ac_ext
3825 cat >>conftest.$ac_ext <<_ACEOF
3826 /* end confdefs.h. */
3828 /* Override any GCC internal prototype to avoid an error.
3829 Use char because int might match the return type of a GCC
3830 builtin and then its argument prototype would still apply. */
3843 rm -f conftest.$ac_objext conftest$ac_exeext
3844 if { (ac_try="$ac_link"
3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3850 (eval "$ac_link") 2>conftest.er1
3852 grep -v '^ *+' conftest.er1 >conftest.err
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && {
3857 test -z "$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 } && test -s conftest$ac_exeext &&
3860 $as_test_x conftest$ac_exeext; then
3861 ac_cv_lib_com_err_com_err=yes
3863 echo "$as_me: failed program was:" >&5
3864 sed 's/^/| /' conftest.$ac_ext >&5
3866 ac_cv_lib_com_err_com_err=no
3869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3870 conftest$ac_exeext conftest.$ac_ext
3871 LIBS=$ac_check_lib_save_LIBS
3873 { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
3874 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; }
3875 if test $ac_cv_lib_com_err_com_err = yes; then
3876 EXT2LIBS="-lcom_err $EXT2LIBS"
3879 { echo "$as_me:$LINENO: checking for ext2fs_initialize in -lext2fs" >&5
3880 echo $ECHO_N "checking for ext2fs_initialize in -lext2fs... $ECHO_C" >&6; }
3881 if test "${ac_cv_lib_ext2fs_ext2fs_initialize+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 ac_check_lib_save_LIBS=$LIBS
3885 LIBS="-lext2fs "-lcom_err" $LIBS"
3886 cat >conftest.$ac_ext <<_ACEOF
3889 cat confdefs.h >>conftest.$ac_ext
3890 cat >>conftest.$ac_ext <<_ACEOF
3891 /* end confdefs.h. */
3893 /* Override any GCC internal prototype to avoid an error.
3894 Use char because int might match the return type of a GCC
3895 builtin and then its argument prototype would still apply. */
3899 char ext2fs_initialize ();
3903 return ext2fs_initialize ();
3908 rm -f conftest.$ac_objext conftest$ac_exeext
3909 if { (ac_try="$ac_link"
3911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3912 *) ac_try_echo=$ac_try;;
3914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3915 (eval "$ac_link") 2>conftest.er1
3917 grep -v '^ *+' conftest.er1 >conftest.err
3919 cat conftest.err >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } && {
3922 test -z "$ac_c_werror_flag" ||
3923 test ! -s conftest.err
3924 } && test -s conftest$ac_exeext &&
3925 $as_test_x conftest$ac_exeext; then
3926 ac_cv_lib_ext2fs_ext2fs_initialize=yes
3928 echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.$ac_ext >&5
3931 ac_cv_lib_ext2fs_ext2fs_initialize=no
3934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3935 conftest$ac_exeext conftest.$ac_ext
3936 LIBS=$ac_check_lib_save_LIBS
3938 { echo "$as_me:$LINENO: result: $ac_cv_lib_ext2fs_ext2fs_initialize" >&5
3939 echo "${ECHO_T}$ac_cv_lib_ext2fs_ext2fs_initialize" >&6; }
3940 if test $ac_cv_lib_ext2fs_ext2fs_initialize = yes; then
3941 EXT2LIBS="-lext2fs $EXT2LIBS"
3944 if test "${ac_cv_lib_com_err_com_err}" != "yes" -o "${ac_cv_lib_ext2fs_ext2fs_initialize}" != "yes"; then
3945 if test "x$enable_ext2direct" = "xyes"; then
3946 { { echo "$as_me:$LINENO: error: Ext2 direct support required but libraries not found." >&5
3947 echo "$as_me: error: Ext2 direct support required but libraries not found." >&2;}
3948 { (exit 1); exit 1; }; }
3950 { echo "$as_me:$LINENO: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&5
3951 echo "$as_me: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&2;}
3953 enable_ext2direct="no"
3956 if test "x$ext2fshead" != "xyes"; then
3957 if test "x$enable_ext2direct" = "xyes"; then
3958 { { echo "$as_me:$LINENO: error: Ext2 direct support required but header files not found." >&5
3959 echo "$as_me: error: Ext2 direct support required but header files not found." >&2;}
3960 { (exit 1); exit 1; }; }
3962 { echo "$as_me:$LINENO: WARNING: Ext2 direct support won't be compiled. Header files not found." >&5
3963 echo "$as_me: WARNING: Ext2 direct support won't be compiled. Header files not found." >&2;}
3965 enable_ext2direct="no"
3968 enable_ext2direct="yes"
3971 if test "x$enable_ext2direct" = "xyes"; then
3972 EXT2_DIRECT="-DEXT2_DIRECT"
3973 COMPILE_OPTS="$COMPILE_OPTS EXT2_DIRECT"
3979 #AC_ARG_WITH(dbus_include,
3980 # [ --with-dbus_include=path Path to directory with dbus include directory [default=/usr/include/dbus-1.0/]],
3981 # DBUS_INCLUDE="$with_dbus_include",
3982 # DBUS_INCLUDE="/usr/include/dbus-1.0/")
3983 #AC_ARG_WITH(dbus_arch_include,
3984 # [ --with-dbus_arch_include=path Path to directory with dbus arch-dependent include directory [default=/usr/lib/dbus-1.0/include/]],
3985 # DBUS_ARCH_INCLUDE="$with_dbus_arch_include",
3986 # DBUS_ARCH_INCLUDE="/usr/lib/dbus-1.0/include/")
3988 # Check whether --enable-netlink was given.
3989 if test "${enable_netlink+set}" = set; then
3990 enableval=$enable_netlink;
3995 if test "x$enable_netlink" != "xno"; then
3996 PKG_CHECK_MODULES(DBUS, dbus-1)
3997 NETLINKLIBS="$DBUS_LIBS"
3999 { echo "$as_me:$LINENO: checking for genl_register in -lnl" >&5
4000 echo $ECHO_N "checking for genl_register in -lnl... $ECHO_C" >&6; }
4001 if test "${ac_cv_lib_nl_genl_register+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 ac_check_lib_save_LIBS=$LIBS
4006 cat >conftest.$ac_ext <<_ACEOF
4009 cat confdefs.h >>conftest.$ac_ext
4010 cat >>conftest.$ac_ext <<_ACEOF
4011 /* end confdefs.h. */
4013 /* Override any GCC internal prototype to avoid an error.
4014 Use char because int might match the return type of a GCC
4015 builtin and then its argument prototype would still apply. */
4019 char genl_register ();
4023 return genl_register ();
4028 rm -f conftest.$ac_objext conftest$ac_exeext
4029 if { (ac_try="$ac_link"
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4035 (eval "$ac_link") 2>conftest.er1
4037 grep -v '^ *+' conftest.er1 >conftest.err
4039 cat conftest.err >&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); } && {
4042 test -z "$ac_c_werror_flag" ||
4043 test ! -s conftest.err
4044 } && test -s conftest$ac_exeext &&
4045 $as_test_x conftest$ac_exeext; then
4046 ac_cv_lib_nl_genl_register=yes
4048 echo "$as_me: failed program was:" >&5
4049 sed 's/^/| /' conftest.$ac_ext >&5
4051 ac_cv_lib_nl_genl_register=no
4054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4055 conftest$ac_exeext conftest.$ac_ext
4056 LIBS=$ac_check_lib_save_LIBS
4058 { echo "$as_me:$LINENO: result: $ac_cv_lib_nl_genl_register" >&5
4059 echo "${ECHO_T}$ac_cv_lib_nl_genl_register" >&6; }
4060 if test $ac_cv_lib_nl_genl_register = yes; then
4061 NETLINKLIBS="-lnl $NETLINKLIBS"
4064 if test -z "$NETLINKLIBS" -o -z "$DBUS_LIBS"; then
4065 if test "x$enable_netlink" = "xyes"; then
4066 { { echo "$as_me:$LINENO: error: Required libraries for quota netlink daemon not found." >&5
4067 echo "$as_me: error: Required libraries for quota netlink daemon not found." >&2;}
4068 { (exit 1); exit 1; }; }
4070 { echo "$as_me:$LINENO: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&5
4071 echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&2;}
4076 CPPFLAGS="$DBUS_CFLAGS $CPPFLAGS"
4077 if test -z "$DBUS_LIBS"; then
4078 if test "x$enable_netlink" = "xyes"; then
4079 { { echo "$as_me:$LINENO: error: Required headers for quota netlink daemon not found." >&5
4080 echo "$as_me: error: Required headers for quota netlink daemon not found." >&2;}
4081 { (exit 1); exit 1; }; }
4083 { echo "$as_me:$LINENO: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&5
4084 echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&2;}
4089 QUOTA_NETLINK_PROG=quota_nld
4096 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
4097 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
4098 if test "${ac_cv_search_gethostbyname+set}" = set; then
4099 echo $ECHO_N "(cached) $ECHO_C" >&6
4101 ac_func_search_save_LIBS=$LIBS
4102 cat >conftest.$ac_ext <<_ACEOF
4105 cat confdefs.h >>conftest.$ac_ext
4106 cat >>conftest.$ac_ext <<_ACEOF
4107 /* end confdefs.h. */
4109 /* Override any GCC internal prototype to avoid an error.
4110 Use char because int might match the return type of a GCC
4111 builtin and then its argument prototype would still apply. */
4115 char gethostbyname ();
4119 return gethostbyname ();
4124 for ac_lib in '' nsl; do
4125 if test -z "$ac_lib"; then
4126 ac_res="none required"
4129 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4131 rm -f conftest.$ac_objext conftest$ac_exeext
4132 if { (ac_try="$ac_link"
4134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135 *) ac_try_echo=$ac_try;;
4137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4138 (eval "$ac_link") 2>conftest.er1
4140 grep -v '^ *+' conftest.er1 >conftest.err
4142 cat conftest.err >&5
4143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144 (exit $ac_status); } && {
4145 test -z "$ac_c_werror_flag" ||
4146 test ! -s conftest.err
4147 } && test -s conftest$ac_exeext &&
4148 $as_test_x conftest$ac_exeext; then
4149 ac_cv_search_gethostbyname=$ac_res
4151 echo "$as_me: failed program was:" >&5
4152 sed 's/^/| /' conftest.$ac_ext >&5
4157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4159 if test "${ac_cv_search_gethostbyname+set}" = set; then
4163 if test "${ac_cv_search_gethostbyname+set}" = set; then
4166 ac_cv_search_gethostbyname=no
4169 LIBS=$ac_func_search_save_LIBS
4171 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
4172 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
4173 ac_res=$ac_cv_search_gethostbyname
4174 if test "$ac_res" != no; then
4175 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4179 { echo "$as_me:$LINENO: checking for host_access in -lwrap" >&5
4180 echo $ECHO_N "checking for host_access in -lwrap... $ECHO_C" >&6; }
4181 if test "${ac_cv_lib_wrap_main+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4186 cat >conftest.$ac_ext <<_ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4194 #include <sys/types.h>
4195 #include <sys/socket.h>
4196 #include <netinet/in.h>
4198 struct request_info request;
4199 int deny_severity, allow_severity;
4203 hosts_access(&request);
4208 rm -f conftest.$ac_objext conftest$ac_exeext
4209 if { (ac_try="$ac_link"
4211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4215 (eval "$ac_link") 2>conftest.er1
4217 grep -v '^ *+' conftest.er1 >conftest.err
4219 cat conftest.err >&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } && {
4222 test -z "$ac_c_werror_flag" ||
4223 test ! -s conftest.err
4224 } && test -s conftest$ac_exeext &&
4225 $as_test_x conftest$ac_exeext; then
4226 ac_cv_lib_wrap_main=yes; LIBS="$saved_LIBS"; { echo "$as_me:$LINENO: result: yes" >&5
4227 echo "${ECHO_T}yes" >&6; }
4229 echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.$ac_ext >&5
4232 ac_cv_lib_wrap_main=no; LIBS="$saved_LIBS"; { echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6; }
4236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4237 conftest$ac_exeext conftest.$ac_ext
4242 if test ${ac_cv_lib_wrap_main} = yes; then
4243 if test "${ac_cv_header_tcpd_h+set}" = set; then
4244 { echo "$as_me:$LINENO: checking for tcpd.h" >&5
4245 echo $ECHO_N "checking for tcpd.h... $ECHO_C" >&6; }
4246 if test "${ac_cv_header_tcpd_h+set}" = set; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6
4249 { echo "$as_me:$LINENO: result: $ac_cv_header_tcpd_h" >&5
4250 echo "${ECHO_T}$ac_cv_header_tcpd_h" >&6; }
4252 # Is the header compilable?
4253 { echo "$as_me:$LINENO: checking tcpd.h usability" >&5
4254 echo $ECHO_N "checking tcpd.h usability... $ECHO_C" >&6; }
4255 cat >conftest.$ac_ext <<_ACEOF
4258 cat confdefs.h >>conftest.$ac_ext
4259 cat >>conftest.$ac_ext <<_ACEOF
4260 /* end confdefs.h. */
4261 $ac_includes_default
4262 @%:@include <tcpd.h>
4264 rm -f conftest.$ac_objext
4265 if { (ac_try="$ac_compile"
4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4271 (eval "$ac_compile") 2>conftest.er1
4273 grep -v '^ *+' conftest.er1 >conftest.err
4275 cat conftest.err >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); } && {
4278 test -z "$ac_c_werror_flag" ||
4279 test ! -s conftest.err
4280 } && test -s conftest.$ac_objext; then
4281 ac_header_compiler=yes
4283 echo "$as_me: failed program was:" >&5
4284 sed 's/^/| /' conftest.$ac_ext >&5
4286 ac_header_compiler=no
4289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4290 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4291 echo "${ECHO_T}$ac_header_compiler" >&6; }
4293 # Is the header present?
4294 { echo "$as_me:$LINENO: checking tcpd.h presence" >&5
4295 echo $ECHO_N "checking tcpd.h presence... $ECHO_C" >&6; }
4296 cat >conftest.$ac_ext <<_ACEOF
4299 cat confdefs.h >>conftest.$ac_ext
4300 cat >>conftest.$ac_ext <<_ACEOF
4301 /* end confdefs.h. */
4302 @%:@include <tcpd.h>
4304 if { (ac_try="$ac_cpp conftest.$ac_ext"
4306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307 *) ac_try_echo=$ac_try;;
4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4312 grep -v '^ *+' conftest.er1 >conftest.err
4314 cat conftest.err >&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); } >/dev/null && {
4317 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4318 test ! -s conftest.err
4320 ac_header_preproc=yes
4322 echo "$as_me: failed program was:" >&5
4323 sed 's/^/| /' conftest.$ac_ext >&5
4325 ac_header_preproc=no
4328 rm -f conftest.err conftest.$ac_ext
4329 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4330 echo "${ECHO_T}$ac_header_preproc" >&6; }
4332 # So? What about this header?
4333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4335 { echo "$as_me:$LINENO: WARNING: tcpd.h: accepted by the compiler, rejected by the preprocessor!" >&5
4336 echo "$as_me: WARNING: tcpd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4337 { echo "$as_me:$LINENO: WARNING: tcpd.h: proceeding with the compiler's result" >&5
4338 echo "$as_me: WARNING: tcpd.h: proceeding with the compiler's result" >&2;}
4339 ac_header_preproc=yes
4342 { echo "$as_me:$LINENO: WARNING: tcpd.h: present but cannot be compiled" >&5
4343 echo "$as_me: WARNING: tcpd.h: present but cannot be compiled" >&2;}
4344 { echo "$as_me:$LINENO: WARNING: tcpd.h: check for missing prerequisite headers?" >&5
4345 echo "$as_me: WARNING: tcpd.h: check for missing prerequisite headers?" >&2;}
4346 { echo "$as_me:$LINENO: WARNING: tcpd.h: see the Autoconf documentation" >&5
4347 echo "$as_me: WARNING: tcpd.h: see the Autoconf documentation" >&2;}
4348 { echo "$as_me:$LINENO: WARNING: tcpd.h: section \"Present But Cannot Be Compiled\"" >&5
4349 echo "$as_me: WARNING: tcpd.h: section \"Present But Cannot Be Compiled\"" >&2;}
4350 { echo "$as_me:$LINENO: WARNING: tcpd.h: proceeding with the preprocessor's result" >&5
4351 echo "$as_me: WARNING: tcpd.h: proceeding with the preprocessor's result" >&2;}
4352 { echo "$as_me:$LINENO: WARNING: tcpd.h: in the future, the compiler will take precedence" >&5
4353 echo "$as_me: WARNING: tcpd.h: in the future, the compiler will take precedence" >&2;}
4357 { echo "$as_me:$LINENO: checking for tcpd.h" >&5
4358 echo $ECHO_N "checking for tcpd.h... $ECHO_C" >&6; }
4359 if test "${ac_cv_header_tcpd_h+set}" = set; then
4360 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 ac_cv_header_tcpd_h=$ac_header_preproc
4364 { echo "$as_me:$LINENO: result: $ac_cv_header_tcpd_h" >&5
4365 echo "${ECHO_T}$ac_cv_header_tcpd_h" >&6; }
4368 if test $ac_cv_header_tcpd_h = yes; then
4372 echo 'ERROR: could not find tcpd.h - missing TCP wrappers package'
4379 HOSTS_ACCESS="-DHOSTS_ACCESS"
4380 COMPILE_OPTS="$COMPILE_OPTS HOST_ACCESS"
4384 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4385 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4386 if test "${ac_cv_c_const+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 cat >conftest.$ac_ext <<_ACEOF
4392 cat confdefs.h >>conftest.$ac_ext
4393 cat >>conftest.$ac_ext <<_ACEOF
4394 /* end confdefs.h. */
4399 /* FIXME: Include the comments suggested by Paul. */
4401 /* Ultrix mips cc rejects this. */
4402 typedef int charset[2];
4404 /* SunOS 4.1.1 cc rejects this. */
4405 char const *const *pcpcc;
4407 /* NEC SVR4.0.2 mips cc rejects this. */
4408 struct point {int x, y;};
4409 static struct point const zero = {0,0};
4410 /* AIX XL C 1.02.0.0 rejects this.
4411 It does not let you subtract one const X* pointer from another in
4412 an arm of an if-expression whose if-part is not a constant
4414 const char *g = "string";
4415 pcpcc = &g + (g ? g-g : 0);
4416 /* HPUX 7.0 cc rejects these. */
4418 ppc = (char**) pcpcc;
4419 pcpcc = (char const *const *) ppc;
4420 { /* SCO 3.2v4 cc rejects this. */
4422 char const *s = 0 ? (char *) 0 : (char const *) 0;
4427 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4429 const int *foo = &x[0];
4432 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4433 typedef const int *iptr;
4437 { /* AIX XL C 1.02.0.0 rejects this saying
4438 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4439 struct s { int j; const int *ap[3]; };
4440 struct s *b; b->j = 5;
4442 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4446 return !cs[0] && !zero.x;
4453 rm -f conftest.$ac_objext
4454 if { (ac_try="$ac_compile"
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4460 (eval "$ac_compile") 2>conftest.er1
4462 grep -v '^ *+' conftest.er1 >conftest.err
4464 cat conftest.err >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); } && {
4467 test -z "$ac_c_werror_flag" ||
4468 test ! -s conftest.err
4469 } && test -s conftest.$ac_objext; then
4472 echo "$as_me: failed program was:" >&5
4473 sed 's/^/| /' conftest.$ac_ext >&5
4478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4480 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4481 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4482 if test $ac_cv_c_const = no; then
4484 cat >>confdefs.h <<\_ACEOF
4490 { echo "$as_me:$LINENO: checking for inline" >&5
4491 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
4492 if test "${ac_cv_c_inline+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 for ac_kw in inline __inline__ __inline; do
4497 cat >conftest.$ac_ext <<_ACEOF
4500 cat confdefs.h >>conftest.$ac_ext
4501 cat >>conftest.$ac_ext <<_ACEOF
4502 /* end confdefs.h. */
4505 static $ac_kw foo_t static_foo () {return 0; }
4506 $ac_kw foo_t foo () {return 0; }
4510 rm -f conftest.$ac_objext
4511 if { (ac_try="$ac_compile"
4513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4514 *) ac_try_echo=$ac_try;;
4516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4517 (eval "$ac_compile") 2>conftest.er1
4519 grep -v '^ *+' conftest.er1 >conftest.err
4521 cat conftest.err >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } && {
4524 test -z "$ac_c_werror_flag" ||
4525 test ! -s conftest.err
4526 } && test -s conftest.$ac_objext; then
4527 ac_cv_c_inline=$ac_kw
4529 echo "$as_me: failed program was:" >&5
4530 sed 's/^/| /' conftest.$ac_ext >&5
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 test "$ac_cv_c_inline" != no && break
4540 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4541 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4544 case $ac_cv_c_inline in
4547 case $ac_cv_c_inline in
4549 *) ac_val=$ac_cv_c_inline;;
4551 cat >>confdefs.h <<_ACEOF
4553 #define inline $ac_val
4560 # Check whether --enable-altformat was given.
4561 if test "${enable_altformat+set}" = set; then
4562 enableval=$enable_altformat;
4564 enable_altformat="yes"
4567 # Check whether --enable-rpc was given.
4568 if test "${enable_rpc+set}" = set; then
4569 enableval=$enable_rpc;
4574 # Check whether --enable-rpcsetquota was given.
4575 if test "${enable_rpcsetquota+set}" = set; then
4576 enableval=$enable_rpcsetquota;
4578 enable_rpcsetquota="no"
4581 # Check whether --enable-xfs_roothack was given.
4582 if test "${enable_xfs_roothack+set}" = set; then
4583 enableval=$enable_xfs_roothack;
4585 enable_xfs_roothack="no"
4588 # Check whether --enable-bsd_behaviour was given.
4589 if test "${enable_bsd_behaviour+set}" = set; then
4590 enableval=$enable_bsd_behaviour;
4592 enable_bsd_behaviour="yes"
4595 # Check whether --enable-libefence was given.
4596 if test "${enable_libefence+set}" = set; then
4597 enableval=$enable_libefence;
4599 enable_libefence="no"
4603 # Check whether --enable-nls was given.
4604 if test "${enable_nls+set}" = set; then
4605 enableval=$enable_nls;
4610 # Check whether --enable-rootsbin was given.
4611 if test "${enable_rootsbin+set}" = set; then
4612 enableval=$enable_rootsbin;
4614 enable_rootsbin="no"
4618 if test "$enable_altformat" = "yes" ; then
4619 CFLAGS="-DALT_FORMAT $CFLAGS"
4620 COMPILE_OPTS="$COMPILE_OPTS ALT_FORMAT"
4622 if test "$enable_rpc" = "yes" ; then
4623 CFLAGS="-DRPC $CFLAGS"
4624 COMPILE_OPTS="$COMPILE_OPTS RPC"
4626 if test "$enable_rpcsetquota" = "yes" ; then
4627 CFLAGS="-DRPC_SETQUOTA $CFLAGS"
4628 COMPILE_OPTS="$COMPILE_OPTS RPC_SETQUOTA"
4630 if test "$enable_xfs_roothack" = "yes" ; then
4631 CFLAGS="-DXFS_ROOTHACK $CFLAGS"
4632 COMPILE_OPTS="$COMPILE_OPTS XFS_ROOTHACK"
4634 if test "$enable_bsd_behaviour" = "yes" ; then
4635 CFLAGS="-DBSD_BEHAVIOUR $CFLAGS"
4636 COMPILE_OPTS="$COMPILE_OPTS BSD_BEHAVIOUR"
4638 if test "$enable_libefence" = "yes" ; then
4639 LIBMALLOC="/usr/lib/libefence.a"
4641 if test "$enable_nls" = "yes" ; then
4642 CFLAGS="-D__GETTEXT__ $CFLAGS"
4645 if test "$enable_rootsbin" = "yes" ; then
4648 ROOTSBIN='$(prefix)/sbin'
4656 ac_config_files="$ac_config_files Makefile"
4658 cat >confcache <<\_ACEOF
4659 # This file is a shell script that caches the results of configure
4660 # tests run on this system so they can be shared between configure
4661 # scripts and configure runs, see configure's option --config-cache.
4662 # It is not useful on other systems. If it contains results you don't
4663 # want to keep, you may remove or edit it.
4665 # config.status only pays attention to the cache file if you give it
4666 # the --recheck option to rerun configure.
4668 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4669 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4674 # The following way of writing the cache mishandles newlines in values,
4675 # but we know of no workaround that is simple, portable, and efficient.
4676 # So, we kill variables containing newlines.
4677 # Ultrix sh set writes to stderr and can't be redirected directly,
4678 # and sets the high bit in the cache file unless we assign to the vars.
4680 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4681 eval ac_val=\$$ac_var
4685 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4686 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4689 _ | IFS | as_nl) ;; #(
4690 *) $as_unset $ac_var ;;
4696 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4697 *${as_nl}ac_space=\ *)
4698 # `set' does not quote correctly, so add quotes (double-quote
4699 # substitution turns \\\\ into \\, and sed turns \\ into \).
4702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4705 # `set' quotes correctly as required by POSIX, so do not add quotes.
4706 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4715 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4717 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4719 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4720 if test -w "$cache_file"; then
4721 test "x$cache_file" != "x/dev/null" &&
4722 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4723 echo "$as_me: updating cache $cache_file" >&6;}
4724 cat confcache >$cache_file
4726 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4727 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4732 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4733 # Let make expand exec_prefix.
4734 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4736 # Transform confdefs.h into DEFS.
4737 # Protect against shell expansion while executing Makefile rules.
4738 # Protect against Makefile macro expansion.
4740 # If the first sed substitution is executed (which looks for macros that
4741 # take arguments), then branch to the quote section. Otherwise,
4742 # look for a macro that doesn't take arguments.
4746 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4748 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4752 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4765 DEFS=`sed -n "$ac_script" confdefs.h`
4770 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
4771 # 1. Remove the extension, and $U if already installed.
4772 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4773 ac_i=`echo "$ac_i" | sed "$ac_script"`
4774 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4775 # will be set to the directory where LIBOBJS objects are built.
4776 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4777 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4779 LIB@&t@OBJS=$ac_libobjs
4781 LTLIBOBJS=$ac_ltlibobjs
4785 : ${CONFIG_STATUS=./config.status}
4786 ac_clean_files_save=$ac_clean_files
4787 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4788 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4789 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4790 cat >$CONFIG_STATUS <<_ACEOF
4792 # Generated by $as_me.
4793 # Run this file to recreate the current configuration.
4794 # Compiler output produced by configure, useful for debugging
4795 # configure, is in config.log if it exists.
4800 SHELL=\${CONFIG_SHELL-$SHELL}
4803 cat >>$CONFIG_STATUS <<\_ACEOF
4804 ## --------------------- ##
4805 ## M4sh Initialization. ##
4806 ## --------------------- ##
4808 # Be more Bourne compatible
4809 DUALCASE=1; export DUALCASE # for MKS sh
4810 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4813 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4814 # is contrary to our usage. Disable this feature.
4815 alias -g '${1+"$@"}'='"$@"'
4816 setopt NO_GLOB_SUBST
4818 case `(set -o) 2>/dev/null` in
4819 *posix*) set -o posix ;;
4828 # Avoid depending upon Character Ranges.
4829 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4830 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4831 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4832 as_cr_digits='0123456789'
4833 as_cr_alnum=$as_cr_Letters$as_cr_digits
4835 # The user is always right.
4836 if test "${PATH_SEPARATOR+set}" != set; then
4837 echo "#! /bin/sh" >conf$$.sh
4838 echo "exit 0" >>conf$$.sh
4840 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4848 # Support unset when possible.
4849 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4857 # We need space, tab and new line, in precisely that order. Quoting is
4858 # there to prevent editors from complaining about space-tab.
4859 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4860 # splitting by setting IFS to empty value.)
4865 # Find who we are. Look in the path if we contain no directory separator.
4867 *[\\/]* ) as_myself=$0 ;;
4868 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir=.
4873 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4879 # We did not find ourselves, most probably we were run as `sh COMMAND'
4880 # in which case we are not to be found in the path.
4881 if test "x$as_myself" = x; then
4884 if test ! -f "$as_myself"; then
4885 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4886 { (exit 1); exit 1; }
4889 # Work around bugs in pre-3.0 UWIN ksh.
4890 for as_var in ENV MAIL MAILPATH
4891 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4899 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4900 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4901 LC_TELEPHONE LC_TIME
4903 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4904 eval $as_var=C; export $as_var
4906 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4910 # Required to use basename.
4911 if expr a : '\(a\)' >/dev/null 2>&1 &&
4912 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4918 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4919 as_basename=basename
4925 # Name of the executable.
4926 as_me=`$as_basename -- "$0" ||
4927 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4928 X"$0" : 'X\(//\)$' \| \
4929 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4931 sed '/^.*\/\([^/][^/]*\)\/*$/{
4952 test "x$as_lineno_1" != "x$as_lineno_2" &&
4953 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4955 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4956 # uniformly replaced by the line number. The first 'sed' inserts a
4957 # line-number line after each line using $LINENO; the second 'sed'
4958 # does the real work. The second script uses 'N' to pair each
4959 # line-number line with the line containing $LINENO, and appends
4960 # trailing '-' during substitution so that $LINENO is not a special
4962 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4963 # scripts with optimization help from Paolo Bonzini. Blame Lee
4964 # E. McMahon (1931-1989) for sed's syntax. :-)
4976 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4980 chmod +x "$as_me.lineno" ||
4981 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4982 { (exit 1); exit 1; }; }
4984 # Don't try to exec as it changes $[0], causing all sort of problems
4985 # (the dirname of $[0] is not the place where we might find the
4986 # original and so on. Autoconf is especially sensitive to this).
4988 # Exit status is that of the last command.
4993 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4999 ECHO_C= ECHO_N= ECHO_T=
5002 case `echo 'x\c'` in
5003 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5010 if expr a : '\(a\)' >/dev/null 2>&1 &&
5011 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5017 rm -f conf$$ conf$$.exe conf$$.file
5018 if test -d conf$$.dir; then
5019 rm -f conf$$.dir/conf$$.file
5025 if ln -s conf$$.file conf$$ 2>/dev/null; then
5027 # ... but there are two gotchas:
5028 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5029 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5030 # In both cases, we have to default to `cp -p'.
5031 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5033 elif ln conf$$.file conf$$ 2>/dev/null; then
5038 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5039 rmdir conf$$.dir 2>/dev/null
5041 if mkdir -p . 2>/dev/null; then
5044 test -d ./-p && rmdir ./-p
5048 if test -x / >/dev/null 2>&1; then
5051 if ls -dL / >/dev/null 2>&1; then
5058 if test -d "$1"; then
5064 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5065 ???[sx]*):;;*)false;;esac;fi
5069 as_executable_p=$as_test_x
5071 # Sed expression to map a string onto a valid CPP name.
5072 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5074 # Sed expression to map a string onto a valid variable name.
5075 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5080 # Save the log message, to keep $[0] and so on meaningful, and to
5081 # report actual input values of CONFIG_FILES etc. instead of their
5082 # values after options handling.
5084 This file was extended by $as_me, which was
5085 generated by GNU Autoconf 2.61. Invocation command line was
5087 CONFIG_FILES = $CONFIG_FILES
5088 CONFIG_HEADERS = $CONFIG_HEADERS
5089 CONFIG_LINKS = $CONFIG_LINKS
5090 CONFIG_COMMANDS = $CONFIG_COMMANDS
5093 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5098 cat >>$CONFIG_STATUS <<_ACEOF
5099 # Files that config.status was made for.
5100 config_files="$ac_config_files"
5104 cat >>$CONFIG_STATUS <<\_ACEOF
5106 \`$as_me' instantiates files from templates according to the
5107 current configuration.
5109 Usage: $0 [OPTIONS] [FILE]...
5111 -h, --help print this help, then exit
5112 -V, --version print version number and configuration settings, then exit
5113 -q, --quiet do not print progress messages
5114 -d, --debug don't remove temporary files
5115 --recheck update $as_me by reconfiguring in the same conditions
5116 --file=FILE[:TEMPLATE]
5117 instantiate the configuration file FILE
5119 Configuration files:
5122 Report bugs to <bug-autoconf@gnu.org>."
5125 cat >>$CONFIG_STATUS <<_ACEOF
5128 configured by $0, generated by GNU Autoconf 2.61,
5129 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5131 Copyright (C) 2006 Free Software Foundation, Inc.
5132 This config.status script is free software; the Free Software Foundation
5133 gives unlimited permission to copy, distribute and modify it."
5140 cat >>$CONFIG_STATUS <<\_ACEOF
5141 # If no file are specified by the user, then we need to provide default
5142 # value. By we need to know if files were specified by the user.
5148 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5149 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5160 # Handling of the options.
5161 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5163 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5164 echo "$ac_cs_version"; exit ;;
5165 --debug | --debu | --deb | --de | --d | -d )
5167 --file | --fil | --fi | --f )
5169 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5170 ac_need_defaults=false;;
5171 --he | --h | --help | --hel | -h )
5172 echo "$ac_cs_usage"; exit ;;
5173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5174 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5178 -*) { echo "$as_me: error: unrecognized option: $1
5179 Try \`$0 --help' for more information." >&2
5180 { (exit 1); exit 1; }; } ;;
5182 *) ac_config_targets="$ac_config_targets $1"
5183 ac_need_defaults=false ;;
5189 ac_configure_extra_args=
5191 if $ac_cs_silent; then
5193 ac_configure_extra_args="$ac_configure_extra_args --silent"
5197 cat >>$CONFIG_STATUS <<_ACEOF
5198 if \$ac_cs_recheck; then
5199 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5202 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5206 cat >>$CONFIG_STATUS <<\_ACEOF
5210 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5211 @%:@@%:@ Running $as_me. @%:@@%:@
5217 cat >>$CONFIG_STATUS <<_ACEOF
5220 cat >>$CONFIG_STATUS <<\_ACEOF
5222 # Handling of arguments.
5223 for ac_config_target in $ac_config_targets
5225 case $ac_config_target in
5226 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5228 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5229 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5230 { (exit 1); exit 1; }; };;
5235 # If the user did not use the arguments to specify the items to instantiate,
5236 # then the envvar interface is used. Set only those that are not.
5237 # We use the long form for the default assignment because of an extremely
5238 # bizarre bug on SunOS 4.1.3.
5239 if $ac_need_defaults; then
5240 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5243 # Have a temporary directory for convenience. Make it in the build tree
5244 # simply because there is no reason against having it here, and in addition,
5245 # creating and moving files from /tmp can sometimes cause problems.
5246 # Hook for its removal unless debugging.
5247 # Note that there is a small window in which the directory will not be cleaned:
5248 # after its creation but before its name has been assigned to `$tmp'.
5252 trap 'exit_status=$?
5253 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5255 trap '{ (exit 1); exit 1; }' 1 2 13 15
5257 # Create a (secure) tmp directory for tmp files.
5260 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5261 test -n "$tmp" && test -d "$tmp"
5264 tmp=./conf$$-$RANDOM
5265 (umask 077 && mkdir "$tmp")
5268 echo "$me: cannot create a temporary directory in ." >&2
5269 { (exit 1); exit 1; }
5273 # Set up the sed scripts for CONFIG_FILES section.
5276 # No need to generate the scripts if there are no CONFIG_FILES.
5277 # This happens for instance when ./config.status config.h
5278 if test -n "$CONFIG_FILES"; then
5285 for ac_last_try in false false false false false :; do
5286 cat >conf$$subs.sed <<_ACEOF
5287 SHELL!$SHELL$ac_delim
5288 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5289 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5290 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5291 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5292 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5293 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5294 exec_prefix!$exec_prefix$ac_delim
5295 prefix!$prefix$ac_delim
5296 program_transform_name!$program_transform_name$ac_delim
5297 bindir!$bindir$ac_delim
5298 sbindir!$sbindir$ac_delim
5299 libexecdir!$libexecdir$ac_delim
5300 datarootdir!$datarootdir$ac_delim
5301 datadir!$datadir$ac_delim
5302 sysconfdir!$sysconfdir$ac_delim
5303 sharedstatedir!$sharedstatedir$ac_delim
5304 localstatedir!$localstatedir$ac_delim
5305 includedir!$includedir$ac_delim
5306 oldincludedir!$oldincludedir$ac_delim
5307 docdir!$docdir$ac_delim
5308 infodir!$infodir$ac_delim
5309 htmldir!$htmldir$ac_delim
5310 dvidir!$dvidir$ac_delim
5311 pdfdir!$pdfdir$ac_delim
5312 psdir!$psdir$ac_delim
5313 libdir!$libdir$ac_delim
5314 localedir!$localedir$ac_delim
5315 mandir!$mandir$ac_delim
5317 ECHO_C!$ECHO_C$ac_delim
5318 ECHO_N!$ECHO_N$ac_delim
5319 ECHO_T!$ECHO_T$ac_delim
5321 build_alias!$build_alias$ac_delim
5322 host_alias!$host_alias$ac_delim
5323 target_alias!$target_alias$ac_delim
5325 CFLAGS!$CFLAGS$ac_delim
5326 LDFLAGS!$LDFLAGS$ac_delim
5327 CPPFLAGS!$CPPFLAGS$ac_delim
5328 ac_ct_CC!$ac_ct_CC$ac_delim
5329 EXEEXT!$EXEEXT$ac_delim
5330 OBJEXT!$OBJEXT$ac_delim
5333 EGREP!$EGREP$ac_delim
5334 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5335 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5336 INSTALL_DATA!$INSTALL_DATA$ac_delim
5337 LDAPLIBS!$LDAPLIBS$ac_delim
5338 EXT2_DIRECT!$EXT2_DIRECT$ac_delim
5339 EXT2LIBS!$EXT2LIBS$ac_delim
5340 QUOTA_NETLINK_PROG!$QUOTA_NETLINK_PROG$ac_delim
5341 NETLINKLIBS!$NETLINKLIBS$ac_delim
5342 HOSTS_ACCESS!$HOSTS_ACCESS$ac_delim
5343 COMPILE_OPTS!$COMPILE_OPTS$ac_delim
5344 LIBMALLOC!$LIBMALLOC$ac_delim
5345 INSTMO!$INSTMO$ac_delim
5346 ROOTSBIN!$ROOTSBIN$ac_delim
5347 LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
5348 LTLIBOBJS!$LTLIBOBJS$ac_delim
5351 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 62; then
5353 elif $ac_last_try; then
5354 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5355 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5356 { (exit 1); exit 1; }; }
5358 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5362 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5363 if test -n "$ac_eof"; then
5364 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5365 ac_eof=`expr $ac_eof + 1`
5368 cat >>$CONFIG_STATUS <<_ACEOF
5369 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5370 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5373 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5374 s/^/s,@/; s/!/@,|#_!!_#|/
5377 s/'"$ac_delim"'$/,g/; t
5379 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5380 ' >>$CONFIG_STATUS <conf$$subs.sed
5381 rm -f conf$$subs.sed
5382 cat >>$CONFIG_STATUS <<_ACEOF
5389 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5390 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5391 # trailing colons and then remove the whole line if VPATH becomes empty
5392 # (actually we leave an empty line to preserve line numbers).
5393 if test "x$srcdir" = x.; then
5394 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5398 s/^\([^=]*=[ ]*\):*/\1/
5404 cat >>$CONFIG_STATUS <<\_ACEOF
5405 fi # test -n "$CONFIG_FILES"
5408 for ac_tag in :F $CONFIG_FILES
5411 :[FHLC]) ac_mode=$ac_tag; continue;;
5413 case $ac_mode$ac_tag in
5415 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5416 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5417 { (exit 1); exit 1; }; };;
5418 :[FH]-) ac_tag=-:-;;
5419 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5436 -) ac_f="$tmp/stdin";;
5437 *) # Look for the file first in the build tree, then in the source tree
5438 # (if the path is not absolute). The absolute path cannot be DOS-style,
5439 # because $ac_f cannot contain `:'.
5443 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5445 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5446 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5447 { (exit 1); exit 1; }; };;
5449 ac_file_inputs="$ac_file_inputs $ac_f"
5452 # Let's still pretend it is `configure' which instantiates (i.e., don't
5453 # use $as_me), people would be surprised to read:
5454 # /* config.h. Generated by config.status. */
5455 configure_input="Generated from "`IFS=:
5456 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5457 if test x"$ac_file" != x-; then
5458 configure_input="$ac_file. $configure_input"
5459 { echo "$as_me:$LINENO: creating $ac_file" >&5
5460 echo "$as_me: creating $ac_file" >&6;}
5464 *:-:* | *:-) cat >"$tmp/stdin";;
5469 ac_dir=`$as_dirname -- "$ac_file" ||
5470 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5471 X"$ac_file" : 'X\(//\)[^/]' \| \
5472 X"$ac_file" : 'X\(//\)$' \| \
5473 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5494 -*) as_dir=./$as_dir;;
5496 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5500 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5501 *) as_qdir=$as_dir;;
5503 as_dirs="'$as_qdir' $as_dirs"
5504 as_dir=`$as_dirname -- "$as_dir" ||
5505 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5506 X"$as_dir" : 'X\(//\)[^/]' \| \
5507 X"$as_dir" : 'X\(//\)$' \| \
5508 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5527 test -d "$as_dir" && break
5529 test -z "$as_dirs" || eval "mkdir $as_dirs"
5530 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5531 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5532 { (exit 1); exit 1; }; }; }
5536 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5538 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5539 # A ".." for each directory in $ac_dir_suffix.
5540 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5541 case $ac_top_builddir_sub in
5542 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5543 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5546 ac_abs_top_builddir=$ac_pwd
5547 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5548 # for backward compatibility:
5549 ac_top_builddir=$ac_top_build_prefix
5552 .) # We are building in place.
5554 ac_top_srcdir=$ac_top_builddir_sub
5555 ac_abs_top_srcdir=$ac_pwd ;;
5556 [\\/]* | ?:[\\/]* ) # Absolute name.
5557 ac_srcdir=$srcdir$ac_dir_suffix;
5558 ac_top_srcdir=$srcdir
5559 ac_abs_top_srcdir=$srcdir ;;
5561 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5562 ac_top_srcdir=$ac_top_build_prefix$srcdir
5563 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5565 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5575 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5576 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5580 cat >>$CONFIG_STATUS <<\_ACEOF
5581 # If the template does not know about datarootdir, expand it.
5582 # FIXME: This hack should be removed a few years after 2.60.
5583 ac_datarootdir_hack=; ac_datarootdir_seen=
5585 case `sed -n '/datarootdir/ {
5594 ' $ac_file_inputs` in
5595 *datarootdir*) ac_datarootdir_seen=yes;;
5596 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5597 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5598 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5600 cat >>$CONFIG_STATUS <<_ACEOF
5601 ac_datarootdir_hack='
5602 s&@datadir@&$datadir&g
5603 s&@docdir@&$docdir&g
5604 s&@infodir@&$infodir&g
5605 s&@localedir@&$localedir&g
5606 s&@mandir@&$mandir&g
5607 s&\\\${datarootdir}&$datarootdir&g' ;;
5611 # Neutralize VPATH when `$srcdir' = `.'.
5612 # Shell code in configure.ac might set extrasub.
5613 # FIXME: do we really want to maintain this feature?
5614 cat >>$CONFIG_STATUS <<_ACEOF
5618 cat >>$CONFIG_STATUS <<\_ACEOF
5620 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5621 s&@configure_input@&$configure_input&;t t
5622 s&@top_builddir@&$ac_top_builddir_sub&;t t
5623 s&@srcdir@&$ac_srcdir&;t t
5624 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5625 s&@top_srcdir@&$ac_top_srcdir&;t t
5626 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5627 s&@builddir@&$ac_builddir&;t t
5628 s&@abs_builddir@&$ac_abs_builddir&;t t
5629 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5630 s&@INSTALL@&$ac_INSTALL&;t t
5631 $ac_datarootdir_hack
5632 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5634 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5635 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5636 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5637 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5638 which seems to be undefined. Please make sure it is defined." >&5
5639 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5640 which seems to be undefined. Please make sure it is defined." >&2;}
5644 -) cat "$tmp/out"; rm -f "$tmp/out";;
5645 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5656 { (exit 0); exit 0; }
5658 chmod +x $CONFIG_STATUS
5659 ac_clean_files=$ac_clean_files_save
5662 # configure is writing to config.log, and then calls config.status.
5663 # config.status does its own redirection, appending to config.log.
5664 # Unfortunately, on DOS this fails, as config.log is still kept open
5665 # by configure, so config.status won't be able to write to it; its
5666 # output is simply discarded. So we exec the FD to /dev/null,
5667 # effectively closing config.log, so it can be properly (re)opened and
5668 # appended to by config.status. When coming back to configure, we
5669 # need to make the FD available again.
5670 if test "$no_create" != yes; then
5672 ac_config_status_args=
5673 test "$silent" = yes &&
5674 ac_config_status_args="$ac_config_status_args --quiet"
5676 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5678 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5679 # would make configure fail if this is the last instruction.
5680 $ac_cs_success || { (exit 1); exit 1; }