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
682 ac_precious_vars='build_alias
696 # Initialize some variables set by options.
698 ac_init_version=false
699 # The variables have the same names as the options, with
700 # dashes changed to underlines.
708 program_transform_name=s,x,x,
716 # Installation directory options.
717 # These are left unexpanded so users can "make install exec_prefix=/foo"
718 # and all the variables that are supposed to be based on exec_prefix
719 # by default will actually change.
720 # Use braces instead of parens because sh, perl, etc. also accept them.
721 # (The list follows the same order as the GNU Coding Standards.)
722 bindir='${exec_prefix}/bin'
723 sbindir='${exec_prefix}/sbin'
724 libexecdir='${exec_prefix}/libexec'
725 datarootdir='${prefix}/share'
726 datadir='${datarootdir}'
727 sysconfdir='${prefix}/etc'
728 sharedstatedir='${prefix}/com'
729 localstatedir='${prefix}/var'
730 includedir='${prefix}/include'
731 oldincludedir='/usr/include'
732 docdir='${datarootdir}/doc/${PACKAGE}'
733 infodir='${datarootdir}/info'
738 libdir='${exec_prefix}/lib'
739 localedir='${datarootdir}/locale'
740 mandir='${datarootdir}/man'
746 # If the previous option needs an argument, assign it.
747 if test -n "$ac_prev"; then
748 eval $ac_prev=\$ac_option
754 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758 # Accept the important Cygnus configure options, so we can diagnose typos.
760 case $ac_dashdash$ac_option in
764 -bindir | --bindir | --bindi | --bind | --bin | --bi)
766 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
769 -build | --build | --buil | --bui | --bu)
770 ac_prev=build_alias ;;
771 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
772 build_alias=$ac_optarg ;;
774 -cache-file | --cache-file | --cache-fil | --cache-fi \
775 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
776 ac_prev=cache_file ;;
777 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
778 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
779 cache_file=$ac_optarg ;;
782 cache_file=config.cache ;;
784 -datadir | --datadir | --datadi | --datad)
786 -datadir=* | --datadir=* | --datadi=* | --datad=*)
787 datadir=$ac_optarg ;;
789 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
790 | --dataroo | --dataro | --datar)
791 ac_prev=datarootdir ;;
792 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
793 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
794 datarootdir=$ac_optarg ;;
796 -disable-* | --disable-*)
797 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
801 { (exit 1); exit 1; }; }
802 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
803 eval enable_$ac_feature=no ;;
805 -docdir | --docdir | --docdi | --doc | --do)
807 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
810 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
812 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
815 -enable-* | --enable-*)
816 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
819 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
820 { (exit 1); exit 1; }; }
821 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
822 eval enable_$ac_feature=\$ac_optarg ;;
824 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
825 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
826 | --exec | --exe | --ex)
827 ac_prev=exec_prefix ;;
828 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
829 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
830 | --exec=* | --exe=* | --ex=*)
831 exec_prefix=$ac_optarg ;;
833 -gas | --gas | --ga | --g)
834 # Obsolete; use --with-gas.
837 -help | --help | --hel | --he | -h)
839 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
840 ac_init_help=recursive ;;
841 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
842 ac_init_help=short ;;
844 -host | --host | --hos | --ho)
845 ac_prev=host_alias ;;
846 -host=* | --host=* | --hos=* | --ho=*)
847 host_alias=$ac_optarg ;;
849 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
851 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
853 htmldir=$ac_optarg ;;
855 -includedir | --includedir | --includedi | --included | --include \
856 | --includ | --inclu | --incl | --inc)
857 ac_prev=includedir ;;
858 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
859 | --includ=* | --inclu=* | --incl=* | --inc=*)
860 includedir=$ac_optarg ;;
862 -infodir | --infodir | --infodi | --infod | --info | --inf)
864 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
865 infodir=$ac_optarg ;;
867 -libdir | --libdir | --libdi | --libd)
869 -libdir=* | --libdir=* | --libdi=* | --libd=*)
872 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
873 | --libexe | --libex | --libe)
874 ac_prev=libexecdir ;;
875 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
876 | --libexe=* | --libex=* | --libe=*)
877 libexecdir=$ac_optarg ;;
879 -localedir | --localedir | --localedi | --localed | --locale)
881 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
882 localedir=$ac_optarg ;;
884 -localstatedir | --localstatedir | --localstatedi | --localstated \
885 | --localstate | --localstat | --localsta | --localst | --locals)
886 ac_prev=localstatedir ;;
887 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
888 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
889 localstatedir=$ac_optarg ;;
891 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
893 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
897 # Obsolete; use --without-fp.
900 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
901 | --no-cr | --no-c | -n)
904 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
905 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
908 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
909 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
910 | --oldin | --oldi | --old | --ol | --o)
911 ac_prev=oldincludedir ;;
912 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
913 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
914 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
915 oldincludedir=$ac_optarg ;;
917 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
919 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
922 -program-prefix | --program-prefix | --program-prefi | --program-pref \
923 | --program-pre | --program-pr | --program-p)
924 ac_prev=program_prefix ;;
925 -program-prefix=* | --program-prefix=* | --program-prefi=* \
926 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
927 program_prefix=$ac_optarg ;;
929 -program-suffix | --program-suffix | --program-suffi | --program-suff \
930 | --program-suf | --program-su | --program-s)
931 ac_prev=program_suffix ;;
932 -program-suffix=* | --program-suffix=* | --program-suffi=* \
933 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
934 program_suffix=$ac_optarg ;;
936 -program-transform-name | --program-transform-name \
937 | --program-transform-nam | --program-transform-na \
938 | --program-transform-n | --program-transform- \
939 | --program-transform | --program-transfor \
940 | --program-transfo | --program-transf \
941 | --program-trans | --program-tran \
942 | --progr-tra | --program-tr | --program-t)
943 ac_prev=program_transform_name ;;
944 -program-transform-name=* | --program-transform-name=* \
945 | --program-transform-nam=* | --program-transform-na=* \
946 | --program-transform-n=* | --program-transform-=* \
947 | --program-transform=* | --program-transfor=* \
948 | --program-transfo=* | --program-transf=* \
949 | --program-trans=* | --program-tran=* \
950 | --progr-tra=* | --program-tr=* | --program-t=*)
951 program_transform_name=$ac_optarg ;;
953 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
955 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
958 -psdir | --psdir | --psdi | --psd | --ps)
960 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
964 | -silent | --silent | --silen | --sile | --sil)
967 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
969 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
971 sbindir=$ac_optarg ;;
973 -sharedstatedir | --sharedstatedir | --sharedstatedi \
974 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
975 | --sharedst | --shareds | --shared | --share | --shar \
977 ac_prev=sharedstatedir ;;
978 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
979 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
980 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
982 sharedstatedir=$ac_optarg ;;
984 -site | --site | --sit)
986 -site=* | --site=* | --sit=*)
989 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
991 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
994 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
995 | --syscon | --sysco | --sysc | --sys | --sy)
996 ac_prev=sysconfdir ;;
997 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
998 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
999 sysconfdir=$ac_optarg ;;
1001 -target | --target | --targe | --targ | --tar | --ta | --t)
1002 ac_prev=target_alias ;;
1003 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1004 target_alias=$ac_optarg ;;
1006 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1009 -version | --version | --versio | --versi | --vers | -V)
1010 ac_init_version=: ;;
1013 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1016 { echo "$as_me: error: invalid package name: $ac_package" >&2
1017 { (exit 1); exit 1; }; }
1018 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1019 eval with_$ac_package=\$ac_optarg ;;
1021 -without-* | --without-*)
1022 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1025 { echo "$as_me: error: invalid package name: $ac_package" >&2
1026 { (exit 1); exit 1; }; }
1027 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1028 eval with_$ac_package=no ;;
1031 # Obsolete; use --with-x.
1034 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1035 | --x-incl | --x-inc | --x-in | --x-i)
1036 ac_prev=x_includes ;;
1037 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1038 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1039 x_includes=$ac_optarg ;;
1041 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1042 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1043 ac_prev=x_libraries ;;
1044 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1045 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1046 x_libraries=$ac_optarg ;;
1048 -*) { echo "$as_me: error: unrecognized option: $ac_option
1049 Try \`$0 --help' for more information." >&2
1050 { (exit 1); exit 1; }; }
1054 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1057 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1058 { (exit 1); exit 1; }; }
1059 eval $ac_envvar=\$ac_optarg
1060 export $ac_envvar ;;
1063 # FIXME: should be removed in autoconf 3.0.
1064 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1065 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1067 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1073 if test -n "$ac_prev"; then
1074 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1075 { echo "$as_me: error: missing argument to $ac_option" >&2
1076 { (exit 1); exit 1; }; }
1079 # Be sure to have absolute directory names.
1080 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1081 datadir sysconfdir sharedstatedir localstatedir includedir \
1082 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1083 libdir localedir mandir
1085 eval ac_val=\$$ac_var
1087 [\\/$]* | ?:[\\/]* ) continue;;
1088 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1090 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1091 { (exit 1); exit 1; }; }
1094 # There might be people who depend on the old broken behavior: `$host'
1095 # used to hold the argument of --host etc.
1096 # FIXME: To remove some day.
1099 target=$target_alias
1101 # FIXME: To remove some day.
1102 if test "x$host_alias" != x; then
1103 if test "x$build_alias" = x; then
1104 cross_compiling=maybe
1105 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1106 If a cross compiler is detected then cross compile mode will be used." >&2
1107 elif test "x$build_alias" != "x$host_alias"; then
1113 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1115 test "$silent" = yes && exec 6>/dev/null
1118 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1119 ac_ls_di=`ls -di .` &&
1120 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1121 { echo "$as_me: error: Working directory cannot be determined" >&2
1122 { (exit 1); exit 1; }; }
1123 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1124 { echo "$as_me: error: pwd does not report name of working directory" >&2
1125 { (exit 1); exit 1; }; }
1128 # Find the source files, if location was not specified.
1129 if test -z "$srcdir"; then
1130 ac_srcdir_defaulted=yes
1131 # Try the directory containing this script, then the parent directory.
1132 ac_confdir=`$as_dirname -- "$0" ||
1133 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1134 X"$0" : 'X\(//\)[^/]' \| \
1135 X"$0" : 'X\(//\)$' \| \
1136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1156 if test ! -r "$srcdir/$ac_unique_file"; then
1160 ac_srcdir_defaulted=no
1162 if test ! -r "$srcdir/$ac_unique_file"; then
1163 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1164 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1165 { (exit 1); exit 1; }; }
1167 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1169 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1170 { (exit 1); exit 1; }; }
1172 # When building in place, set srcdir=.
1173 if test "$ac_abs_confdir" = "$ac_pwd"; then
1176 # Remove unnecessary trailing slashes from srcdir.
1177 # Double slashes in file names in object file debugging info
1178 # mess up M-x gdb in Emacs.
1180 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1182 for ac_var in $ac_precious_vars; do
1183 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1184 eval ac_env_${ac_var}_value=\$${ac_var}
1185 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1186 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1190 # Report the --help message.
1192 if test "$ac_init_help" = "long"; then
1193 # Omit some internal or obsolete options to make the list less imposing.
1194 # This message is too long to be a string in the A/UX 3.1 sh.
1196 \`configure' configures this package to adapt to many kinds of systems.
1198 Usage: $0 [OPTION]... [VAR=VALUE]...
1200 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1201 VAR=VALUE. See below for descriptions of some of the useful variables.
1203 Defaults for the options are specified in brackets.
1206 -h, --help display this help and exit
1207 --help=short display options specific to this package
1208 --help=recursive display the short help of all the included packages
1209 -V, --version display version information and exit
1210 -q, --quiet, --silent do not print \`checking...' messages
1211 --cache-file=FILE cache test results in FILE [disabled]
1212 -C, --config-cache alias for \`--cache-file=config.cache'
1213 -n, --no-create do not create output files
1214 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1216 Installation directories:
1217 --prefix=PREFIX install architecture-independent files in PREFIX
1218 [$ac_default_prefix]
1219 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1222 By default, \`make install' will install all the files in
1223 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1224 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1225 for instance \`--prefix=\$HOME'.
1227 For better control, use the options below.
1229 Fine tuning of the installation directories:
1230 --bindir=DIR user executables [EPREFIX/bin]
1231 --sbindir=DIR system admin executables [EPREFIX/sbin]
1232 --libexecdir=DIR program executables [EPREFIX/libexec]
1233 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1234 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1235 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1236 --libdir=DIR object code libraries [EPREFIX/lib]
1237 --includedir=DIR C header files [PREFIX/include]
1238 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1239 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1240 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1241 --infodir=DIR info documentation [DATAROOTDIR/info]
1242 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1243 --mandir=DIR man documentation [DATAROOTDIR/man]
1244 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1245 --htmldir=DIR html documentation [DOCDIR]
1246 --dvidir=DIR dvi documentation [DOCDIR]
1247 --pdfdir=DIR pdf documentation [DOCDIR]
1248 --psdir=DIR ps documentation [DOCDIR]
1255 if test -n "$ac_init_help"; then
1260 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1261 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1262 --enable-ldapmail=yes/no/try Enable ldap mail address lookups default=no.
1263 --enable-ext2direct=yes/no/try Enable scanning of EXT2/EXT3 filesystem using e2fslib default=try.
1264 --enable-netlink=yes/no/try Compile daemon receiving quota messages via netlink default=no.
1265 --enable-altformat=yes/no Enable alternative format used by edquota default=yes.
1266 --enable-rpc=yes/no Enable RPC support default=yes.
1267 --enable-rpcsetquota=yes/no Use RPC for setting quotas default=no.
1268 --enable-xfs_roothack=yes/no Support old XFS root filesystems default=no.
1269 --enable-bsd_behaviour=yes/no Mimic BSD behaviour default=yes.
1270 --enable-libefence=yes/no Use Electric Fence memory checks default=no.
1271 --enable-nls=yes/no Enable gettext dafault=yes.
1272 --enable-rootsbin=yes/no Use /sbin for some important binaries regardless $prefix default=no.
1274 Some influential environment variables:
1275 CC C compiler command
1276 CFLAGS C compiler flags
1277 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1278 nonstandard directory <lib dir>
1279 LIBS libraries to pass to the linker, e.g. -l<library>
1280 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1281 you have headers in a nonstandard directory <include dir>
1283 PKG_CONFIG path to pkg-config utility
1284 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1285 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1287 Use these variables to override the choices made by `configure' or to help
1288 it to find libraries and programs with nonstandard names/locations.
1294 if test "$ac_init_help" = "recursive"; then
1295 # If there are subdirs, report their specific --help.
1296 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1297 test -d "$ac_dir" || continue
1301 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1303 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1304 # A ".." for each directory in $ac_dir_suffix.
1305 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1306 case $ac_top_builddir_sub in
1307 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1308 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1311 ac_abs_top_builddir=$ac_pwd
1312 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1313 # for backward compatibility:
1314 ac_top_builddir=$ac_top_build_prefix
1317 .) # We are building in place.
1319 ac_top_srcdir=$ac_top_builddir_sub
1320 ac_abs_top_srcdir=$ac_pwd ;;
1321 [\\/]* | ?:[\\/]* ) # Absolute name.
1322 ac_srcdir=$srcdir$ac_dir_suffix;
1323 ac_top_srcdir=$srcdir
1324 ac_abs_top_srcdir=$srcdir ;;
1326 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1327 ac_top_srcdir=$ac_top_build_prefix$srcdir
1328 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1330 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1332 cd "$ac_dir" || { ac_status=$?; continue; }
1333 # Check for guested configure.
1334 if test -f "$ac_srcdir/configure.gnu"; then
1336 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1337 elif test -f "$ac_srcdir/configure"; then
1339 $SHELL "$ac_srcdir/configure" --help=recursive
1341 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1343 cd "$ac_pwd" || { ac_status=$?; break; }
1347 test -n "$ac_init_help" && exit $ac_status
1348 if $ac_init_version; then
1351 generated by GNU Autoconf 2.61
1353 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1354 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1355 This configure script is free software; the Free Software Foundation
1356 gives unlimited permission to copy, distribute and modify it.
1360 cat >config.log <<_ACEOF
1361 This file contains any messages produced by compilers while
1362 running configure, to aid debugging if configure makes a mistake.
1364 It was created by $as_me, which was
1365 generated by GNU Autoconf 2.61. Invocation command line was
1373 @%:@@%:@ --------- @%:@@%:@
1374 @%:@@%:@ Platform. @%:@@%:@
1375 @%:@@%:@ --------- @%:@@%:@
1377 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1378 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1379 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1380 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1381 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1383 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1384 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1386 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1387 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1388 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1389 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1390 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1391 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1392 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1400 test -z "$as_dir" && as_dir=.
1401 echo "PATH: $as_dir"
1410 @%:@@%:@ ----------- @%:@@%:@
1411 @%:@@%:@ Core tests. @%:@@%:@
1412 @%:@@%:@ ----------- @%:@@%:@
1417 # Keep a trace of the command line.
1418 # Strip out --no-create and --no-recursion so they do not pile up.
1419 # Strip out --silent because we don't want to record it for future runs.
1420 # Also quote any args containing shell meta-characters.
1421 # Make two passes to allow for proper duplicate-argument suppression.
1425 ac_must_keep_next=false
1431 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1432 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1433 | -silent | --silent | --silen | --sile | --sil)
1436 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1439 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1441 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1442 if test $ac_must_keep_next = true; then
1443 ac_must_keep_next=false # Got value, back to normal.
1446 *=* | --config-cache | -C | -disable-* | --disable-* \
1447 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1448 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1449 | -with-* | --with-* | -without-* | --without-* | --x)
1450 case "$ac_configure_args0 " in
1451 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1454 -* ) ac_must_keep_next=true ;;
1457 ac_configure_args="$ac_configure_args '$ac_arg'"
1462 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1463 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1465 # When interrupted or exit'd, cleanup temporary files, and complete
1466 # config.log. We remove comments because anyway the quotes in there
1467 # would cause problems or look ugly.
1468 # WARNING: Use '\'' to represent an apostrophe within the trap.
1469 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1470 trap 'exit_status=$?
1471 # Save into config.log some information that might help in debugging.
1476 @%:@@%:@ ---------------- @%:@@%:@
1477 @%:@@%:@ Cache variables. @%:@@%:@
1478 @%:@@%:@ ---------------- @%:@@%:@
1481 # The following way of writing the cache mishandles newlines in values,
1483 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1484 eval ac_val=\$$ac_var
1488 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1489 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1492 _ | IFS | as_nl) ;; #(
1493 *) $as_unset $ac_var ;;
1498 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1499 *${as_nl}ac_space=\ *)
1501 "s/'\''/'\''\\\\'\'''\''/g;
1502 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1505 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1513 @%:@@%:@ ----------------- @%:@@%:@
1514 @%:@@%:@ Output variables. @%:@@%:@
1515 @%:@@%:@ ----------------- @%:@@%:@
1518 for ac_var in $ac_subst_vars
1520 eval ac_val=\$$ac_var
1522 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1524 echo "$ac_var='\''$ac_val'\''"
1528 if test -n "$ac_subst_files"; then
1530 @%:@@%:@ ------------------- @%:@@%:@
1531 @%:@@%:@ File substitutions. @%:@@%:@
1532 @%:@@%:@ ------------------- @%:@@%:@
1535 for ac_var in $ac_subst_files
1537 eval ac_val=\$$ac_var
1539 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1541 echo "$ac_var='\''$ac_val'\''"
1546 if test -s confdefs.h; then
1548 @%:@@%:@ ----------- @%:@@%:@
1549 @%:@@%:@ confdefs.h. @%:@@%:@
1550 @%:@@%:@ ----------- @%:@@%:@
1556 test "$ac_signal" != 0 &&
1557 echo "$as_me: caught signal $ac_signal"
1558 echo "$as_me: exit $exit_status"
1560 rm -f core *.core core.conftest.* &&
1561 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1564 for ac_signal in 1 2 13 15; do
1565 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1569 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1570 rm -f -r conftest* confdefs.h
1572 # Predefined preprocessor variables.
1574 cat >>confdefs.h <<_ACEOF
1575 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1579 cat >>confdefs.h <<_ACEOF
1580 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1584 cat >>confdefs.h <<_ACEOF
1585 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1589 cat >>confdefs.h <<_ACEOF
1590 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1594 cat >>confdefs.h <<_ACEOF
1595 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1599 # Let the site file select an alternate cache file if it wants to.
1600 # Prefer explicitly selected file to automatically selected ones.
1601 if test -n "$CONFIG_SITE"; then
1602 set x "$CONFIG_SITE"
1603 elif test "x$prefix" != xNONE; then
1604 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1606 set x "$ac_default_prefix/share/config.site" \
1607 "$ac_default_prefix/etc/config.site"
1612 if test -r "$ac_site_file"; then
1613 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1614 echo "$as_me: loading site script $ac_site_file" >&6;}
1615 sed 's/^/| /' "$ac_site_file" >&5
1620 if test -r "$cache_file"; then
1621 # Some versions of bash will fail to source /dev/null (special
1622 # files actually), so we avoid doing that.
1623 if test -f "$cache_file"; then
1624 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1625 echo "$as_me: loading cache $cache_file" >&6;}
1627 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1628 *) . "./$cache_file";;
1632 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1633 echo "$as_me: creating cache $cache_file" >&6;}
1637 # Check that the precious variables saved in the cache have kept the same
1639 ac_cache_corrupted=false
1640 for ac_var in $ac_precious_vars; do
1641 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1642 eval ac_new_set=\$ac_env_${ac_var}_set
1643 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1644 eval ac_new_val=\$ac_env_${ac_var}_value
1645 case $ac_old_set,$ac_new_set in
1647 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1648 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1649 ac_cache_corrupted=: ;;
1651 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1652 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1653 ac_cache_corrupted=: ;;
1656 if test "x$ac_old_val" != "x$ac_new_val"; then
1657 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1658 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1659 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1660 echo "$as_me: former value: $ac_old_val" >&2;}
1661 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1662 echo "$as_me: current value: $ac_new_val" >&2;}
1663 ac_cache_corrupted=:
1666 # Pass precious variables to config.status.
1667 if test "$ac_new_set" = set; then
1669 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1670 *) ac_arg=$ac_var=$ac_new_val ;;
1672 case " $ac_configure_args " in
1673 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1674 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1678 if $ac_cache_corrupted; then
1679 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1680 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1681 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1682 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1683 { (exit 1); exit 1; }; }
1703 ac_cpp='$CPP $CPPFLAGS'
1704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1711 ac_cpp='$CPP $CPPFLAGS'
1712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1715 if test -n "$ac_tool_prefix"; then
1716 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1717 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1720 if test "${ac_cv_prog_CC+set}" = set; then
1721 echo $ECHO_N "(cached) $ECHO_C" >&6
1723 if test -n "$CC"; then
1724 ac_cv_prog_CC="$CC" # Let the user override the test.
1726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1730 test -z "$as_dir" && as_dir=.
1731 for ac_exec_ext in '' $ac_executable_extensions; do
1732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1733 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1744 if test -n "$CC"; then
1745 { echo "$as_me:$LINENO: result: $CC" >&5
1746 echo "${ECHO_T}$CC" >&6; }
1748 { echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6; }
1754 if test -z "$ac_cv_prog_CC"; then
1756 # Extract the first word of "gcc", so it can be a program name with args.
1757 set dummy gcc; ac_word=$2
1758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1760 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1761 echo $ECHO_N "(cached) $ECHO_C" >&6
1763 if test -n "$ac_ct_CC"; then
1764 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1770 test -z "$as_dir" && as_dir=.
1771 for ac_exec_ext in '' $ac_executable_extensions; do
1772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1773 ac_cv_prog_ac_ct_CC="gcc"
1774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1784 if test -n "$ac_ct_CC"; then
1785 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1786 echo "${ECHO_T}$ac_ct_CC" >&6; }
1788 { echo "$as_me:$LINENO: result: no" >&5
1789 echo "${ECHO_T}no" >&6; }
1792 if test "x$ac_ct_CC" = x; then
1795 case $cross_compiling:$ac_tool_warned in
1797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1798 whose name does not start with the host triplet. If you think this
1799 configuration is useful to you, please write to autoconf@gnu.org." >&5
1800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1801 whose name does not start with the host triplet. If you think this
1802 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1803 ac_tool_warned=yes ;;
1811 if test -z "$CC"; then
1812 if test -n "$ac_tool_prefix"; then
1813 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1814 set dummy ${ac_tool_prefix}cc; ac_word=$2
1815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1817 if test "${ac_cv_prog_CC+set}" = set; then
1818 echo $ECHO_N "(cached) $ECHO_C" >&6
1820 if test -n "$CC"; then
1821 ac_cv_prog_CC="$CC" # Let the user override the test.
1823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1827 test -z "$as_dir" && as_dir=.
1828 for ac_exec_ext in '' $ac_executable_extensions; do
1829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1830 ac_cv_prog_CC="${ac_tool_prefix}cc"
1831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1841 if test -n "$CC"; then
1842 { echo "$as_me:$LINENO: result: $CC" >&5
1843 echo "${ECHO_T}$CC" >&6; }
1845 { echo "$as_me:$LINENO: result: no" >&5
1846 echo "${ECHO_T}no" >&6; }
1852 if test -z "$CC"; then
1853 # Extract the first word of "cc", so it can be a program name with args.
1854 set dummy cc; ac_word=$2
1855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1857 if test "${ac_cv_prog_CC+set}" = set; then
1858 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 if test -n "$CC"; then
1861 ac_cv_prog_CC="$CC" # Let the user override the test.
1864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1868 test -z "$as_dir" && as_dir=.
1869 for ac_exec_ext in '' $ac_executable_extensions; do
1870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1871 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1872 ac_prog_rejected=yes
1876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1883 if test $ac_prog_rejected = yes; then
1884 # We found a bogon in the path, so make sure we never use it.
1885 set dummy $ac_cv_prog_CC
1887 if test $@%:@ != 0; then
1888 # We chose a different compiler from the bogus one.
1889 # However, it has the same basename, so the bogon will be chosen
1890 # first if we set CC to just the basename; use the full file name.
1892 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1898 if test -n "$CC"; then
1899 { echo "$as_me:$LINENO: result: $CC" >&5
1900 echo "${ECHO_T}$CC" >&6; }
1902 { echo "$as_me:$LINENO: result: no" >&5
1903 echo "${ECHO_T}no" >&6; }
1908 if test -z "$CC"; then
1909 if test -n "$ac_tool_prefix"; then
1910 for ac_prog in cl.exe
1912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1913 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1916 if test "${ac_cv_prog_CC+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 if test -n "$CC"; then
1920 ac_cv_prog_CC="$CC" # Let the user override the test.
1922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926 test -z "$as_dir" && as_dir=.
1927 for ac_exec_ext in '' $ac_executable_extensions; do
1928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1929 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 if test -n "$CC"; then
1941 { echo "$as_me:$LINENO: result: $CC" >&5
1942 echo "${ECHO_T}$CC" >&6; }
1944 { echo "$as_me:$LINENO: result: no" >&5
1945 echo "${ECHO_T}no" >&6; }
1949 test -n "$CC" && break
1952 if test -z "$CC"; then
1954 for ac_prog in cl.exe
1956 # Extract the first word of "$ac_prog", so it can be a program name with args.
1957 set dummy $ac_prog; ac_word=$2
1958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1960 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1963 if test -n "$ac_ct_CC"; then
1964 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 test -z "$as_dir" && as_dir=.
1971 for ac_exec_ext in '' $ac_executable_extensions; do
1972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1973 ac_cv_prog_ac_ct_CC="$ac_prog"
1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1984 if test -n "$ac_ct_CC"; then
1985 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1986 echo "${ECHO_T}$ac_ct_CC" >&6; }
1988 { echo "$as_me:$LINENO: result: no" >&5
1989 echo "${ECHO_T}no" >&6; }
1993 test -n "$ac_ct_CC" && break
1996 if test "x$ac_ct_CC" = x; then
1999 case $cross_compiling:$ac_tool_warned in
2001 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2002 whose name does not start with the host triplet. If you think this
2003 configuration is useful to you, please write to autoconf@gnu.org." >&5
2004 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2005 whose name does not start with the host triplet. If you think this
2006 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2007 ac_tool_warned=yes ;;
2016 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2017 See \`config.log' for more details." >&5
2018 echo "$as_me: error: no acceptable C compiler found in \$PATH
2019 See \`config.log' for more details." >&2;}
2020 { (exit 1); exit 1; }; }
2022 # Provide some information about the compiler.
2023 echo "$as_me:$LINENO: checking for C compiler version" >&5
2024 ac_compiler=`set X $ac_compile; echo $2`
2025 { (ac_try="$ac_compiler --version >&5"
2027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2028 *) ac_try_echo=$ac_try;;
2030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2031 (eval "$ac_compiler --version >&5") 2>&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); }
2035 { (ac_try="$ac_compiler -v >&5"
2037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2038 *) ac_try_echo=$ac_try;;
2040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2041 (eval "$ac_compiler -v >&5") 2>&5
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 (exit $ac_status); }
2045 { (ac_try="$ac_compiler -V >&5"
2047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2048 *) ac_try_echo=$ac_try;;
2050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2051 (eval "$ac_compiler -V >&5") 2>&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }
2056 cat >conftest.$ac_ext <<_ACEOF
2059 cat confdefs.h >>conftest.$ac_ext
2060 cat >>conftest.$ac_ext <<_ACEOF
2061 /* end confdefs.h. */
2071 ac_clean_files_save=$ac_clean_files
2072 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2073 # Try to create an executable without -o first, disregard a.out.
2074 # It will help us diagnose broken compilers, and finding out an intuition
2076 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2077 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2078 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2080 # List of possible output files, starting from the most likely.
2081 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2082 # only as a last resort. b.out is created by i960 compilers.
2083 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2085 # The IRIX 6 linker writes into existing files which may not be
2086 # executable, retaining their permissions. Remove them first so a
2087 # subsequent execution test works.
2089 for ac_file in $ac_files
2092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2093 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2098 if { (ac_try="$ac_link_default"
2100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2101 *) ac_try_echo=$ac_try;;
2103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2104 (eval "$ac_link_default") 2>&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); }; then
2108 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2109 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2110 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2111 # so that the user can short-circuit this test for compilers unknown to
2113 for ac_file in $ac_files ''
2115 test -f "$ac_file" || continue
2117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2120 # We found the default executable, but exeext='' is most
2124 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2126 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2128 # We set ac_cv_exeext here because the later test for it is not
2129 # safe: cross compilers may not add the suffix if given an `-o'
2130 # argument, so we may need to know it at that point already.
2131 # Even if this section looks crufty: it has the advantage of
2138 test "$ac_cv_exeext" = no && ac_cv_exeext=
2144 { echo "$as_me:$LINENO: result: $ac_file" >&5
2145 echo "${ECHO_T}$ac_file" >&6; }
2146 if test -z "$ac_file"; then
2147 echo "$as_me: failed program was:" >&5
2148 sed 's/^/| /' conftest.$ac_ext >&5
2150 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2151 See \`config.log' for more details." >&5
2152 echo "$as_me: error: C compiler cannot create executables
2153 See \`config.log' for more details." >&2;}
2154 { (exit 77); exit 77; }; }
2157 ac_exeext=$ac_cv_exeext
2159 # Check that the compiler produces executables we can run. If not, either
2160 # the compiler is broken, or we cross compile.
2161 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2162 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2163 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2164 # If not cross compiling, check that we can run a simple program.
2165 if test "$cross_compiling" != yes; then
2166 if { ac_try='./$ac_file'
2167 { (case "(($ac_try" in
2168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2169 *) ac_try_echo=$ac_try;;
2171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2172 (eval "$ac_try") 2>&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; }; then
2178 if test "$cross_compiling" = maybe; then
2181 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2182 If you meant to cross compile, use \`--host'.
2183 See \`config.log' for more details." >&5
2184 echo "$as_me: error: cannot run C compiled programs.
2185 If you meant to cross compile, use \`--host'.
2186 See \`config.log' for more details." >&2;}
2187 { (exit 1); exit 1; }; }
2191 { echo "$as_me:$LINENO: result: yes" >&5
2192 echo "${ECHO_T}yes" >&6; }
2194 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2195 ac_clean_files=$ac_clean_files_save
2196 # Check that the compiler produces executables we can run. If not, either
2197 # the compiler is broken, or we cross compile.
2198 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2199 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2200 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2201 echo "${ECHO_T}$cross_compiling" >&6; }
2203 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2204 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2205 if { (ac_try="$ac_link"
2207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2208 *) ac_try_echo=$ac_try;;
2210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2211 (eval "$ac_link") 2>&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; then
2215 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2216 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2217 # work properly (i.e., refer to `conftest.exe'), while it won't with
2219 for ac_file in conftest.exe conftest conftest.*; do
2220 test -f "$ac_file" || continue
2222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2223 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2229 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2230 See \`config.log' for more details." >&5
2231 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2232 See \`config.log' for more details." >&2;}
2233 { (exit 1); exit 1; }; }
2236 rm -f conftest$ac_cv_exeext
2237 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2238 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2240 rm -f conftest.$ac_ext
2241 EXEEXT=$ac_cv_exeext
2243 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2244 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2245 if test "${ac_cv_objext+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 cat >conftest.$ac_ext <<_ACEOF
2251 cat confdefs.h >>conftest.$ac_ext
2252 cat >>conftest.$ac_ext <<_ACEOF
2253 /* end confdefs.h. */
2263 rm -f conftest.o conftest.obj
2264 if { (ac_try="$ac_compile"
2266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267 *) ac_try_echo=$ac_try;;
2269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2270 (eval "$ac_compile") 2>&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }; then
2274 for ac_file in conftest.o conftest.obj conftest.*; do
2275 test -f "$ac_file" || continue;
2277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2278 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2283 echo "$as_me: failed program was:" >&5
2284 sed 's/^/| /' conftest.$ac_ext >&5
2286 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2287 See \`config.log' for more details." >&5
2288 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2289 See \`config.log' for more details." >&2;}
2290 { (exit 1); exit 1; }; }
2293 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2295 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2296 echo "${ECHO_T}$ac_cv_objext" >&6; }
2297 OBJEXT=$ac_cv_objext
2299 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2300 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2301 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 cat >conftest.$ac_ext <<_ACEOF
2307 cat confdefs.h >>conftest.$ac_ext
2308 cat >>conftest.$ac_ext <<_ACEOF
2309 /* end confdefs.h. */
2322 rm -f conftest.$ac_objext
2323 if { (ac_try="$ac_compile"
2325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2326 *) ac_try_echo=$ac_try;;
2328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2329 (eval "$ac_compile") 2>conftest.er1
2331 grep -v '^ *+' conftest.er1 >conftest.err
2333 cat conftest.err >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); } && {
2336 test -z "$ac_c_werror_flag" ||
2337 test ! -s conftest.err
2338 } && test -s conftest.$ac_objext; then
2341 echo "$as_me: failed program was:" >&5
2342 sed 's/^/| /' conftest.$ac_ext >&5
2347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2351 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2352 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2353 GCC=`test $ac_compiler_gnu = yes && echo yes`
2354 ac_test_CFLAGS=${CFLAGS+set}
2355 ac_save_CFLAGS=$CFLAGS
2356 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2357 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2358 if test "${ac_cv_prog_cc_g+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 ac_save_c_werror_flag=$ac_c_werror_flag
2362 ac_c_werror_flag=yes
2365 cat >conftest.$ac_ext <<_ACEOF
2368 cat confdefs.h >>conftest.$ac_ext
2369 cat >>conftest.$ac_ext <<_ACEOF
2370 /* end confdefs.h. */
2380 rm -f conftest.$ac_objext
2381 if { (ac_try="$ac_compile"
2383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2384 *) ac_try_echo=$ac_try;;
2386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2387 (eval "$ac_compile") 2>conftest.er1
2389 grep -v '^ *+' conftest.er1 >conftest.err
2391 cat conftest.err >&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); } && {
2394 test -z "$ac_c_werror_flag" ||
2395 test ! -s conftest.err
2396 } && test -s conftest.$ac_objext; then
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2403 cat >conftest.$ac_ext <<_ACEOF
2406 cat confdefs.h >>conftest.$ac_ext
2407 cat >>conftest.$ac_ext <<_ACEOF
2408 /* end confdefs.h. */
2418 rm -f conftest.$ac_objext
2419 if { (ac_try="$ac_compile"
2421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2422 *) ac_try_echo=$ac_try;;
2424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2425 (eval "$ac_compile") 2>conftest.er1
2427 grep -v '^ *+' conftest.er1 >conftest.err
2429 cat conftest.err >&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); } && {
2432 test -z "$ac_c_werror_flag" ||
2433 test ! -s conftest.err
2434 } && test -s conftest.$ac_objext; then
2437 echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.$ac_ext >&5
2440 ac_c_werror_flag=$ac_save_c_werror_flag
2442 cat >conftest.$ac_ext <<_ACEOF
2445 cat confdefs.h >>conftest.$ac_ext
2446 cat >>conftest.$ac_ext <<_ACEOF
2447 /* end confdefs.h. */
2457 rm -f conftest.$ac_objext
2458 if { (ac_try="$ac_compile"
2460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2461 *) ac_try_echo=$ac_try;;
2463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2464 (eval "$ac_compile") 2>conftest.er1
2466 grep -v '^ *+' conftest.er1 >conftest.err
2468 cat conftest.err >&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); } && {
2471 test -z "$ac_c_werror_flag" ||
2472 test ! -s conftest.err
2473 } && test -s conftest.$ac_objext; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2489 ac_c_werror_flag=$ac_save_c_werror_flag
2491 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2492 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2493 if test "$ac_test_CFLAGS" = set; then
2494 CFLAGS=$ac_save_CFLAGS
2495 elif test $ac_cv_prog_cc_g = yes; then
2496 if test "$GCC" = yes; then
2502 if test "$GCC" = yes; then
2508 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2509 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2510 if test "${ac_cv_prog_cc_c89+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 ac_cv_prog_cc_c89=no
2515 cat >conftest.$ac_ext <<_ACEOF
2518 cat confdefs.h >>conftest.$ac_ext
2519 cat >>conftest.$ac_ext <<_ACEOF
2520 /* end confdefs.h. */
2523 #include <sys/types.h>
2524 #include <sys/stat.h>
2525 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2526 struct buf { int x; };
2527 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2528 static char *e (p, i)
2534 static char *f (char * (*g) (char **, int), char **p, ...)
2539 s = g (p, va_arg (v,int));
2544 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2545 function prototypes and stuff, but not '\xHH' hex character constants.
2546 These don't provoke an error unfortunately, instead are silently treated
2547 as 'x'. The following induces an error, until -std is added to get
2548 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2549 array size at least. It's necessary to write '\x00'==0 to get something
2550 that's true only with -std. */
2551 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2553 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2554 inside strings and character constants. */
2556 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2558 int test (int i, double x);
2559 struct s1 {int (*f) (int a);};
2560 struct s2 {int (*f) (double a);};
2561 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2567 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2572 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2573 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2575 CC="$ac_save_CC $ac_arg"
2576 rm -f conftest.$ac_objext
2577 if { (ac_try="$ac_compile"
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2583 (eval "$ac_compile") 2>conftest.er1
2585 grep -v '^ *+' conftest.er1 >conftest.err
2587 cat conftest.err >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); } && {
2590 test -z "$ac_c_werror_flag" ||
2591 test ! -s conftest.err
2592 } && test -s conftest.$ac_objext; then
2593 ac_cv_prog_cc_c89=$ac_arg
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2601 rm -f core conftest.err conftest.$ac_objext
2602 test "x$ac_cv_prog_cc_c89" != "xno" && break
2604 rm -f conftest.$ac_ext
2609 case "x$ac_cv_prog_cc_c89" in
2611 { echo "$as_me:$LINENO: result: none needed" >&5
2612 echo "${ECHO_T}none needed" >&6; } ;;
2614 { echo "$as_me:$LINENO: result: unsupported" >&5
2615 echo "${ECHO_T}unsupported" >&6; } ;;
2617 CC="$CC $ac_cv_prog_cc_c89"
2618 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2619 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2624 ac_cpp='$CPP $CPPFLAGS'
2625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2631 ac_cpp='$CPP $CPPFLAGS'
2632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2635 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2636 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2637 # On Suns, sometimes $CPP names a directory.
2638 if test -n "$CPP" && test -d "$CPP"; then
2641 if test -z "$CPP"; then
2642 if test "${ac_cv_prog_CPP+set}" = set; then
2643 echo $ECHO_N "(cached) $ECHO_C" >&6
2645 # Double quotes because CPP needs to be expanded
2646 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2649 for ac_c_preproc_warn_flag in '' yes
2651 # Use a header file that comes with gcc, so configuring glibc
2652 # with a fresh cross-compiler works.
2653 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2654 # <limits.h> exists even on freestanding compilers.
2655 # On the NeXT, cc -E runs the code through the compiler's parser,
2656 # not just through cpp. "Syntax error" is here to catch this case.
2657 cat >conftest.$ac_ext <<_ACEOF
2660 cat confdefs.h >>conftest.$ac_ext
2661 cat >>conftest.$ac_ext <<_ACEOF
2662 /* end confdefs.h. */
2664 @%:@ include <limits.h>
2666 @%:@ include <assert.h>
2670 if { (ac_try="$ac_cpp conftest.$ac_ext"
2672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2673 *) ac_try_echo=$ac_try;;
2675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2678 grep -v '^ *+' conftest.er1 >conftest.err
2680 cat conftest.err >&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); } >/dev/null && {
2683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2684 test ! -s conftest.err
2688 echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2691 # Broken: fails on valid input.
2695 rm -f conftest.err conftest.$ac_ext
2697 # OK, works on sane cases. Now check whether nonexistent headers
2698 # can be detected and how.
2699 cat >conftest.$ac_ext <<_ACEOF
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2705 @%:@include <ac_nonexistent.h>
2707 if { (ac_try="$ac_cpp conftest.$ac_ext"
2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2715 grep -v '^ *+' conftest.er1 >conftest.err
2717 cat conftest.err >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); } >/dev/null && {
2720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2721 test ! -s conftest.err
2723 # Broken: success on invalid input.
2726 echo "$as_me: failed program was:" >&5
2727 sed 's/^/| /' conftest.$ac_ext >&5
2729 # Passes both tests.
2734 rm -f conftest.err conftest.$ac_ext
2737 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2738 rm -f conftest.err conftest.$ac_ext
2739 if $ac_preproc_ok; then
2751 { echo "$as_me:$LINENO: result: $CPP" >&5
2752 echo "${ECHO_T}$CPP" >&6; }
2754 for ac_c_preproc_warn_flag in '' yes
2756 # Use a header file that comes with gcc, so configuring glibc
2757 # with a fresh cross-compiler works.
2758 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2759 # <limits.h> exists even on freestanding compilers.
2760 # On the NeXT, cc -E runs the code through the compiler's parser,
2761 # not just through cpp. "Syntax error" is here to catch this case.
2762 cat >conftest.$ac_ext <<_ACEOF
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2769 @%:@ include <limits.h>
2771 @%:@ include <assert.h>
2775 if { (ac_try="$ac_cpp conftest.$ac_ext"
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2783 grep -v '^ *+' conftest.er1 >conftest.err
2785 cat conftest.err >&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); } >/dev/null && {
2788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2789 test ! -s conftest.err
2793 echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 # Broken: fails on valid input.
2800 rm -f conftest.err conftest.$ac_ext
2802 # OK, works on sane cases. Now check whether nonexistent headers
2803 # can be detected and how.
2804 cat >conftest.$ac_ext <<_ACEOF
2807 cat confdefs.h >>conftest.$ac_ext
2808 cat >>conftest.$ac_ext <<_ACEOF
2809 /* end confdefs.h. */
2810 @%:@include <ac_nonexistent.h>
2812 if { (ac_try="$ac_cpp conftest.$ac_ext"
2814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2815 *) ac_try_echo=$ac_try;;
2817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2818 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2820 grep -v '^ *+' conftest.er1 >conftest.err
2822 cat conftest.err >&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); } >/dev/null && {
2825 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2826 test ! -s conftest.err
2828 # Broken: success on invalid input.
2831 echo "$as_me: failed program was:" >&5
2832 sed 's/^/| /' conftest.$ac_ext >&5
2834 # Passes both tests.
2839 rm -f conftest.err conftest.$ac_ext
2842 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2843 rm -f conftest.err conftest.$ac_ext
2844 if $ac_preproc_ok; then
2847 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2848 See \`config.log' for more details." >&5
2849 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2850 See \`config.log' for more details." >&2;}
2851 { (exit 1); exit 1; }; }
2855 ac_cpp='$CPP $CPPFLAGS'
2856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2861 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2862 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2863 if test "${ac_cv_path_GREP+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2866 # Extract the first word of "grep ggrep" to use in msg output
2867 if test -z "$GREP"; then
2868 set dummy grep ggrep; ac_prog_name=$2
2869 if test "${ac_cv_path_GREP+set}" = set; then
2870 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 ac_path_GREP_found=false
2873 # Loop through the user's path and test for each of PROGNAME-LIST
2874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2875 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2878 test -z "$as_dir" && as_dir=.
2879 for ac_prog in grep ggrep; do
2880 for ac_exec_ext in '' $ac_executable_extensions; do
2881 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2882 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2883 # Check for GNU ac_path_GREP and select it if it is found.
2884 # Check for GNU $ac_path_GREP
2885 case `"$ac_path_GREP" --version 2>&1` in
2887 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2890 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2893 cat "conftest.in" "conftest.in" >"conftest.tmp"
2894 mv "conftest.tmp" "conftest.in"
2895 cp "conftest.in" "conftest.nl"
2896 echo 'GREP' >> "conftest.nl"
2897 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2898 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2899 ac_count=`expr $ac_count + 1`
2900 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2901 # Best one so far, save it but keep looking for a better one
2902 ac_cv_path_GREP="$ac_path_GREP"
2903 ac_path_GREP_max=$ac_count
2905 # 10*(2^10) chars as input seems more than enough
2906 test $ac_count -gt 10 && break
2908 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2912 $ac_path_GREP_found && break 3
2922 GREP="$ac_cv_path_GREP"
2923 if test -z "$GREP"; then
2924 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2925 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2926 { (exit 1); exit 1; }; }
2930 ac_cv_path_GREP=$GREP
2935 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2936 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2937 GREP="$ac_cv_path_GREP"
2940 { echo "$as_me:$LINENO: checking for egrep" >&5
2941 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2942 if test "${ac_cv_path_EGREP+set}" = set; then
2943 echo $ECHO_N "(cached) $ECHO_C" >&6
2945 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2946 then ac_cv_path_EGREP="$GREP -E"
2948 # Extract the first word of "egrep" to use in msg output
2949 if test -z "$EGREP"; then
2950 set dummy egrep; ac_prog_name=$2
2951 if test "${ac_cv_path_EGREP+set}" = set; then
2952 echo $ECHO_N "(cached) $ECHO_C" >&6
2954 ac_path_EGREP_found=false
2955 # Loop through the user's path and test for each of PROGNAME-LIST
2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2957 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2960 test -z "$as_dir" && as_dir=.
2961 for ac_prog in egrep; do
2962 for ac_exec_ext in '' $ac_executable_extensions; do
2963 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2964 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2965 # Check for GNU ac_path_EGREP and select it if it is found.
2966 # Check for GNU $ac_path_EGREP
2967 case `"$ac_path_EGREP" --version 2>&1` in
2969 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2972 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2975 cat "conftest.in" "conftest.in" >"conftest.tmp"
2976 mv "conftest.tmp" "conftest.in"
2977 cp "conftest.in" "conftest.nl"
2978 echo 'EGREP' >> "conftest.nl"
2979 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2980 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2981 ac_count=`expr $ac_count + 1`
2982 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2983 # Best one so far, save it but keep looking for a better one
2984 ac_cv_path_EGREP="$ac_path_EGREP"
2985 ac_path_EGREP_max=$ac_count
2987 # 10*(2^10) chars as input seems more than enough
2988 test $ac_count -gt 10 && break
2990 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2994 $ac_path_EGREP_found && break 3
3004 EGREP="$ac_cv_path_EGREP"
3005 if test -z "$EGREP"; then
3006 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3007 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3008 { (exit 1); exit 1; }; }
3012 ac_cv_path_EGREP=$EGREP
3018 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3019 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3020 EGREP="$ac_cv_path_EGREP"
3023 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3024 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3025 if test "${ac_cv_header_stdc+set}" = set; then
3026 echo $ECHO_N "(cached) $ECHO_C" >&6
3028 cat >conftest.$ac_ext <<_ACEOF
3031 cat confdefs.h >>conftest.$ac_ext
3032 cat >>conftest.$ac_ext <<_ACEOF
3033 /* end confdefs.h. */
3047 rm -f conftest.$ac_objext
3048 if { (ac_try="$ac_compile"
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3054 (eval "$ac_compile") 2>conftest.er1
3056 grep -v '^ *+' conftest.er1 >conftest.err
3058 cat conftest.err >&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); } && {
3061 test -z "$ac_c_werror_flag" ||
3062 test ! -s conftest.err
3063 } && test -s conftest.$ac_objext; then
3064 ac_cv_header_stdc=yes
3066 echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3069 ac_cv_header_stdc=no
3072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074 if test $ac_cv_header_stdc = yes; then
3075 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3076 cat >conftest.$ac_ext <<_ACEOF
3079 cat confdefs.h >>conftest.$ac_ext
3080 cat >>conftest.$ac_ext <<_ACEOF
3081 /* end confdefs.h. */
3085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3086 $EGREP "memchr" >/dev/null 2>&1; then
3089 ac_cv_header_stdc=no
3095 if test $ac_cv_header_stdc = yes; then
3096 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3097 cat >conftest.$ac_ext <<_ACEOF
3100 cat confdefs.h >>conftest.$ac_ext
3101 cat >>conftest.$ac_ext <<_ACEOF
3102 /* end confdefs.h. */
3106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3107 $EGREP "free" >/dev/null 2>&1; then
3110 ac_cv_header_stdc=no
3116 if test $ac_cv_header_stdc = yes; then
3117 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3118 if test "$cross_compiling" = yes; then
3121 cat >conftest.$ac_ext <<_ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3129 #if ((' ' & 0x0FF) == 0x020)
3130 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3131 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3133 # define ISLOWER(c) \
3134 (('a' <= (c) && (c) <= 'i') \
3135 || ('j' <= (c) && (c) <= 'r') \
3136 || ('s' <= (c) && (c) <= 'z'))
3137 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3140 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3145 for (i = 0; i < 256; i++)
3146 if (XOR (islower (i), ISLOWER (i))
3147 || toupper (i) != TOUPPER (i))
3152 rm -f conftest$ac_exeext
3153 if { (ac_try="$ac_link"
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_link") 2>&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3163 { (case "(($ac_try" in
3164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3165 *) ac_try_echo=$ac_try;;
3167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3168 (eval "$ac_try") 2>&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); }; }; then
3174 echo "$as_me: program exited with status $ac_status" >&5
3175 echo "$as_me: failed program was:" >&5
3176 sed 's/^/| /' conftest.$ac_ext >&5
3179 ac_cv_header_stdc=no
3181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3187 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3188 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3189 if test $ac_cv_header_stdc = yes; then
3191 cat >>confdefs.h <<\_ACEOF
3192 @%:@define STDC_HEADERS 1
3198 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3199 if test -f "$ac_dir/install-sh"; then
3201 ac_install_sh="$ac_aux_dir/install-sh -c"
3203 elif test -f "$ac_dir/install.sh"; then
3205 ac_install_sh="$ac_aux_dir/install.sh -c"
3207 elif test -f "$ac_dir/shtool"; then
3209 ac_install_sh="$ac_aux_dir/shtool install -c"
3213 if test -z "$ac_aux_dir"; then
3214 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3215 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3216 { (exit 1); exit 1; }; }
3219 # These three variables are undocumented and unsupported,
3220 # and are intended to be withdrawn in a future Autoconf release.
3221 # They can cause serious problems if a builder's source tree is in a directory
3222 # whose full name contains unusual characters.
3223 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3224 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3225 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3228 # Find a good install program. We prefer a C program (faster),
3229 # so one script is as good as another. But avoid the broken or
3230 # incompatible versions:
3231 # SysV /etc/install, /usr/sbin/install
3232 # SunOS /usr/etc/install
3233 # IRIX /sbin/install
3235 # AmigaOS /C/install, which installs bootblocks on floppy discs
3236 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3237 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3238 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3239 # OS/2's system install, which has a completely different semantic
3240 # ./install, which can be erroneously created by make from ./install.sh.
3241 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3242 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3243 if test -z "$INSTALL"; then
3244 if test "${ac_cv_path_install+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir=.
3252 # Account for people who put trailing slashes in PATH elements.
3254 ./ | .// | /cC/* | \
3255 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3256 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3259 # OSF1 and SCO ODT 3.0 have their own names for install.
3260 # Don't use installbsd from OSF since it installs stuff as root
3262 for ac_prog in ginstall scoinst install; do
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3265 if test $ac_prog = install &&
3266 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3267 # AIX install. It has an incompatible calling convention.
3269 elif test $ac_prog = install &&
3270 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3271 # program-specific install script used by HP pwplus--don't use.
3274 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3287 if test "${ac_cv_path_install+set}" = set; then
3288 INSTALL=$ac_cv_path_install
3290 # As a last resort, use the slow shell script. Don't cache a
3291 # value for INSTALL within a source directory, because that will
3292 # break other packages using the cache if that directory is
3293 # removed, or if the value is a relative name.
3294 INSTALL=$ac_install_sh
3297 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3298 echo "${ECHO_T}$INSTALL" >&6; }
3300 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3301 # It thinks the first close brace ends the variable substitution.
3302 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3304 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3306 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3309 { echo "$as_me:$LINENO: checking whether compiler supports PIE" >&5
3310 echo $ECHO_N "checking whether compiler supports PIE... $ECHO_C" >&6; }
3312 CFLAGS="$CFLAGS -fPIE"
3313 oldLDFLAGS="$LDFLAGS"
3314 LDFLAGS="$LDFLAGS -pie"
3315 cat >conftest.$ac_ext <<_ACEOF
3318 cat confdefs.h >>conftest.$ac_ext
3319 cat >>conftest.$ac_ext <<_ACEOF
3320 /* end confdefs.h. */
3330 rm -f conftest.$ac_objext conftest$ac_exeext
3331 if { (ac_try="$ac_link"
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_link") 2>conftest.er1
3339 grep -v '^ *+' conftest.er1 >conftest.err
3341 cat conftest.err >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); } && {
3344 test -z "$ac_c_werror_flag" ||
3345 test ! -s conftest.err
3346 } && test -s conftest$ac_exeext &&
3347 $as_test_x conftest$ac_exeext; then
3350 echo "$as_me: failed program was:" >&5
3351 sed 's/^/| /' conftest.$ac_ext >&5
3356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3357 conftest$ac_exeext conftest.$ac_ext
3358 if test "x$compilepie" != "xyes"; then
3360 LDFLAGS="$oldLDFLAGS"
3361 { echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6; }
3364 { echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6; }
3368 # Check whether --enable-ldapmail was given.
3369 if test "${enable_ldapmail+set}" = set; then
3370 enableval=$enable_ldapmail;
3372 enable_ldapmail="no"
3375 if test "x$enable_ldapmail" != "xno"; then
3378 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap" >&5
3379 echo $ECHO_N "checking for ldap_initialize in -lldap... $ECHO_C" >&6; }
3380 if test "${ac_cv_lib_ldap_ldap_initialize+set}" = set; then
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3383 ac_check_lib_save_LIBS=$LIBS
3385 cat >conftest.$ac_ext <<_ACEOF
3388 cat confdefs.h >>conftest.$ac_ext
3389 cat >>conftest.$ac_ext <<_ACEOF
3390 /* end confdefs.h. */
3392 /* Override any GCC internal prototype to avoid an error.
3393 Use char because int might match the return type of a GCC
3394 builtin and then its argument prototype would still apply. */
3398 char ldap_initialize ();
3402 return ldap_initialize ();
3407 rm -f conftest.$ac_objext conftest$ac_exeext
3408 if { (ac_try="$ac_link"
3410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3411 *) ac_try_echo=$ac_try;;
3413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3414 (eval "$ac_link") 2>conftest.er1
3416 grep -v '^ *+' conftest.er1 >conftest.err
3418 cat conftest.err >&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); } && {
3421 test -z "$ac_c_werror_flag" ||
3422 test ! -s conftest.err
3423 } && test -s conftest$ac_exeext &&
3424 $as_test_x conftest$ac_exeext; then
3425 ac_cv_lib_ldap_ldap_initialize=yes
3427 echo "$as_me: failed program was:" >&5
3428 sed 's/^/| /' conftest.$ac_ext >&5
3430 ac_cv_lib_ldap_ldap_initialize=no
3433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3434 conftest$ac_exeext conftest.$ac_ext
3435 LIBS=$ac_check_lib_save_LIBS
3437 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_initialize" >&5
3438 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_initialize" >&6; }
3439 if test $ac_cv_lib_ldap_ldap_initialize = yes; then
3442 { echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5
3443 echo $ECHO_N "checking for ldap_init in -lldap... $ECHO_C" >&6; }
3444 if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then
3445 echo $ECHO_N "(cached) $ECHO_C" >&6
3447 ac_check_lib_save_LIBS=$LIBS
3449 cat >conftest.$ac_ext <<_ACEOF
3452 cat confdefs.h >>conftest.$ac_ext
3453 cat >>conftest.$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3456 /* Override any GCC internal prototype to avoid an error.
3457 Use char because int might match the return type of a GCC
3458 builtin and then its argument prototype would still apply. */
3466 return ldap_init ();
3471 rm -f conftest.$ac_objext conftest$ac_exeext
3472 if { (ac_try="$ac_link"
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3478 (eval "$ac_link") 2>conftest.er1
3480 grep -v '^ *+' conftest.er1 >conftest.err
3482 cat conftest.err >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); } && {
3485 test -z "$ac_c_werror_flag" ||
3486 test ! -s conftest.err
3487 } && test -s conftest$ac_exeext &&
3488 $as_test_x conftest$ac_exeext; then
3489 ac_cv_lib_ldap_ldap_init=yes
3491 echo "$as_me: failed program was:" >&5
3492 sed 's/^/| /' conftest.$ac_ext >&5
3494 ac_cv_lib_ldap_ldap_init=no
3497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3498 conftest$ac_exeext conftest.$ac_ext
3499 LIBS=$ac_check_lib_save_LIBS
3501 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5
3502 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_init" >&6; }
3503 if test $ac_cv_lib_ldap_ldap_init = yes; then
3509 if test "x$have_new_ldap" != "xno" -o "x$have_old_ldap" != "xno"; then
3510 LDAPLIBS="-L/usr/lib -lldap"
3511 CFLAGS="$CFLAGS -DUSE_LDAP_MAIL_LOOKUP"
3512 COMPILE_OPTS="$COMPILE_OPTS USE_LDAP_MAIL_LOOKUP"
3513 if test "x$have_new_ldap" = "xyes"; then
3514 CFLAGS="$CFLAGS -DUSE_LDAP_23"
3515 { echo "$as_me:$LINENO: checking whether ldap_perror is declared" >&5
3516 echo $ECHO_N "checking whether ldap_perror is declared... $ECHO_C" >&6; }
3517 if test "${ac_cv_have_decl_ldap_perror+set}" = set; then
3518 echo $ECHO_N "(cached) $ECHO_C" >&6
3520 cat >conftest.$ac_ext <<_ACEOF
3523 cat confdefs.h >>conftest.$ac_ext
3524 cat >>conftest.$ac_ext <<_ACEOF
3525 /* end confdefs.h. */
3539 rm -f conftest.$ac_objext
3540 if { (ac_try="$ac_compile"
3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543 *) ac_try_echo=$ac_try;;
3545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3546 (eval "$ac_compile") 2>conftest.er1
3548 grep -v '^ *+' conftest.er1 >conftest.err
3550 cat conftest.err >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); } && {
3553 test -z "$ac_c_werror_flag" ||
3554 test ! -s conftest.err
3555 } && test -s conftest.$ac_objext; then
3556 ac_cv_have_decl_ldap_perror=yes
3558 echo "$as_me: failed program was:" >&5
3559 sed 's/^/| /' conftest.$ac_ext >&5
3561 ac_cv_have_decl_ldap_perror=no
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ldap_perror" >&5
3567 echo "${ECHO_T}$ac_cv_have_decl_ldap_perror" >&6; }
3568 if test $ac_cv_have_decl_ldap_perror = yes; then
3571 CFLAGS="$CFLAGS -DNEED_LDAP_PERROR"
3576 if test "x$enable_ldapmail" = "xyes"; then
3577 { { echo "$as_me:$LINENO: error: LDAP support required but library not found." >&5
3578 echo "$as_me: error: LDAP support required but library not found." >&2;}
3579 { (exit 1); exit 1; }; };
3586 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3596 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3597 inttypes.h stdint.h unistd.h
3599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3600 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
3605 cat >conftest.$ac_ext <<_ACEOF
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3611 $ac_includes_default
3613 @%:@include <$ac_header>
3615 rm -f conftest.$ac_objext
3616 if { (ac_try="$ac_compile"
3618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3619 *) ac_try_echo=$ac_try;;
3621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3622 (eval "$ac_compile") 2>conftest.er1
3624 grep -v '^ *+' conftest.er1 >conftest.err
3626 cat conftest.err >&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); } && {
3629 test -z "$ac_c_werror_flag" ||
3630 test ! -s conftest.err
3631 } && test -s conftest.$ac_objext; then
3632 eval "$as_ac_Header=yes"
3634 echo "$as_me: failed program was:" >&5
3635 sed 's/^/| /' conftest.$ac_ext >&5
3637 eval "$as_ac_Header=no"
3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642 ac_res=`eval echo '${'$as_ac_Header'}'`
3643 { echo "$as_me:$LINENO: result: $ac_res" >&5
3644 echo "${ECHO_T}$ac_res" >&6; }
3645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3646 cat >>confdefs.h <<_ACEOF
3647 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3655 if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then
3656 { echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5
3657 echo $ECHO_N "checking for ext2fs/ext2fs.h... $ECHO_C" >&6; }
3658 if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then
3659 echo $ECHO_N "(cached) $ECHO_C" >&6
3661 { echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5
3662 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2fs_h" >&6; }
3664 # Is the header compilable?
3665 { echo "$as_me:$LINENO: checking ext2fs/ext2fs.h usability" >&5
3666 echo $ECHO_N "checking ext2fs/ext2fs.h usability... $ECHO_C" >&6; }
3667 cat >conftest.$ac_ext <<_ACEOF
3670 cat confdefs.h >>conftest.$ac_ext
3671 cat >>conftest.$ac_ext <<_ACEOF
3672 /* end confdefs.h. */
3673 $ac_includes_default
3674 @%:@include <ext2fs/ext2fs.h>
3676 rm -f conftest.$ac_objext
3677 if { (ac_try="$ac_compile"
3679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680 *) ac_try_echo=$ac_try;;
3682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3683 (eval "$ac_compile") 2>conftest.er1
3685 grep -v '^ *+' conftest.er1 >conftest.err
3687 cat conftest.err >&5
3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689 (exit $ac_status); } && {
3690 test -z "$ac_c_werror_flag" ||
3691 test ! -s conftest.err
3692 } && test -s conftest.$ac_objext; then
3693 ac_header_compiler=yes
3695 echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.$ac_ext >&5
3698 ac_header_compiler=no
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3703 echo "${ECHO_T}$ac_header_compiler" >&6; }
3705 # Is the header present?
3706 { echo "$as_me:$LINENO: checking ext2fs/ext2fs.h presence" >&5
3707 echo $ECHO_N "checking ext2fs/ext2fs.h presence... $ECHO_C" >&6; }
3708 cat >conftest.$ac_ext <<_ACEOF
3711 cat confdefs.h >>conftest.$ac_ext
3712 cat >>conftest.$ac_ext <<_ACEOF
3713 /* end confdefs.h. */
3714 @%:@include <ext2fs/ext2fs.h>
3716 if { (ac_try="$ac_cpp conftest.$ac_ext"
3718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3719 *) ac_try_echo=$ac_try;;
3721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3722 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3724 grep -v '^ *+' conftest.er1 >conftest.err
3726 cat conftest.err >&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); } >/dev/null && {
3729 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3730 test ! -s conftest.err
3732 ac_header_preproc=yes
3734 echo "$as_me: failed program was:" >&5
3735 sed 's/^/| /' conftest.$ac_ext >&5
3737 ac_header_preproc=no
3740 rm -f conftest.err conftest.$ac_ext
3741 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3742 echo "${ECHO_T}$ac_header_preproc" >&6; }
3744 # So? What about this header?
3745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3747 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
3748 echo "$as_me: WARNING: ext2fs/ext2fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3749 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: proceeding with the compiler's result" >&5
3750 echo "$as_me: WARNING: ext2fs/ext2fs.h: proceeding with the compiler's result" >&2;}
3751 ac_header_preproc=yes
3754 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: present but cannot be compiled" >&5
3755 echo "$as_me: WARNING: ext2fs/ext2fs.h: present but cannot be compiled" >&2;}
3756 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: check for missing prerequisite headers?" >&5
3757 echo "$as_me: WARNING: ext2fs/ext2fs.h: check for missing prerequisite headers?" >&2;}
3758 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: see the Autoconf documentation" >&5
3759 echo "$as_me: WARNING: ext2fs/ext2fs.h: see the Autoconf documentation" >&2;}
3760 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: section \"Present But Cannot Be Compiled\"" >&5
3761 echo "$as_me: WARNING: ext2fs/ext2fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
3762 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: proceeding with the preprocessor's result" >&5
3763 echo "$as_me: WARNING: ext2fs/ext2fs.h: proceeding with the preprocessor's result" >&2;}
3764 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: in the future, the compiler will take precedence" >&5
3765 echo "$as_me: WARNING: ext2fs/ext2fs.h: in the future, the compiler will take precedence" >&2;}
3769 { echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5
3770 echo $ECHO_N "checking for ext2fs/ext2fs.h... $ECHO_C" >&6; }
3771 if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 ac_cv_header_ext2fs_ext2fs_h=$ac_header_preproc
3776 { echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5
3777 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2fs_h" >&6; }
3780 if test $ac_cv_header_ext2fs_ext2fs_h = yes; then
3785 if test "x$ext2fshead" = "xyes"; then
3786 CFLAGS="-DHAVE_EXT2_INCLUDE $CFLAGS"
3787 { echo "$as_me:$LINENO: checking for ext2_ino_t" >&5
3788 echo $ECHO_N "checking for ext2_ino_t... $ECHO_C" >&6; }
3789 have_ext2_ino_t="no"
3790 cat >conftest.$ac_ext <<_ACEOF
3793 cat confdefs.h >>conftest.$ac_ext
3794 cat >>conftest.$ac_ext <<_ACEOF
3795 /* end confdefs.h. */
3796 #include <ext2fs/ext2fs.h>
3799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3800 $EGREP "ext2_ino_t" >/dev/null 2>&1; then
3801 have_ext2_ino_t="yes"
3805 if test "x$have_ext2_ino_t" != "xyes"; then
3806 { echo "$as_me:$LINENO: result: not found" >&5
3807 echo "${ECHO_T}not found" >&6; }
3809 { echo "$as_me:$LINENO: result: found" >&5
3810 echo "${ECHO_T}found" >&6; }
3811 CFLAGS="-DHAVE_EXT2_INO_T $CFLAGS"
3815 # Check whether --enable-ext2direct was given.
3816 if test "${enable_ext2direct+set}" = set; then
3817 enableval=$enable_ext2direct;
3819 enable_ext2direct="try"
3822 if test "x$enable_ext2direct" != "xno"; then
3823 { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
3824 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; }
3825 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 ac_check_lib_save_LIBS=$LIBS
3829 LIBS="-lcom_err $LIBS"
3830 cat >conftest.$ac_ext <<_ACEOF
3833 cat confdefs.h >>conftest.$ac_ext
3834 cat >>conftest.$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3837 /* Override any GCC internal prototype to avoid an error.
3838 Use char because int might match the return type of a GCC
3839 builtin and then its argument prototype would still apply. */
3852 rm -f conftest.$ac_objext conftest$ac_exeext
3853 if { (ac_try="$ac_link"
3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3856 *) ac_try_echo=$ac_try;;
3858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3859 (eval "$ac_link") 2>conftest.er1
3861 grep -v '^ *+' conftest.er1 >conftest.err
3863 cat conftest.err >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); } && {
3866 test -z "$ac_c_werror_flag" ||
3867 test ! -s conftest.err
3868 } && test -s conftest$ac_exeext &&
3869 $as_test_x conftest$ac_exeext; then
3870 ac_cv_lib_com_err_com_err=yes
3872 echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.$ac_ext >&5
3875 ac_cv_lib_com_err_com_err=no
3878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3879 conftest$ac_exeext conftest.$ac_ext
3880 LIBS=$ac_check_lib_save_LIBS
3882 { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
3883 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; }
3884 if test $ac_cv_lib_com_err_com_err = yes; then
3885 EXT2LIBS="-lcom_err $EXT2LIBS"
3888 { echo "$as_me:$LINENO: checking for ext2fs_initialize in -lext2fs" >&5
3889 echo $ECHO_N "checking for ext2fs_initialize in -lext2fs... $ECHO_C" >&6; }
3890 if test "${ac_cv_lib_ext2fs_ext2fs_initialize+set}" = set; then
3891 echo $ECHO_N "(cached) $ECHO_C" >&6
3893 ac_check_lib_save_LIBS=$LIBS
3894 LIBS="-lext2fs "-lcom_err" $LIBS"
3895 cat >conftest.$ac_ext <<_ACEOF
3898 cat confdefs.h >>conftest.$ac_ext
3899 cat >>conftest.$ac_ext <<_ACEOF
3900 /* end confdefs.h. */
3902 /* Override any GCC internal prototype to avoid an error.
3903 Use char because int might match the return type of a GCC
3904 builtin and then its argument prototype would still apply. */
3908 char ext2fs_initialize ();
3912 return ext2fs_initialize ();
3917 rm -f conftest.$ac_objext conftest$ac_exeext
3918 if { (ac_try="$ac_link"
3920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3921 *) ac_try_echo=$ac_try;;
3923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3924 (eval "$ac_link") 2>conftest.er1
3926 grep -v '^ *+' conftest.er1 >conftest.err
3928 cat conftest.err >&5
3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); } && {
3931 test -z "$ac_c_werror_flag" ||
3932 test ! -s conftest.err
3933 } && test -s conftest$ac_exeext &&
3934 $as_test_x conftest$ac_exeext; then
3935 ac_cv_lib_ext2fs_ext2fs_initialize=yes
3937 echo "$as_me: failed program was:" >&5
3938 sed 's/^/| /' conftest.$ac_ext >&5
3940 ac_cv_lib_ext2fs_ext2fs_initialize=no
3943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3944 conftest$ac_exeext conftest.$ac_ext
3945 LIBS=$ac_check_lib_save_LIBS
3947 { echo "$as_me:$LINENO: result: $ac_cv_lib_ext2fs_ext2fs_initialize" >&5
3948 echo "${ECHO_T}$ac_cv_lib_ext2fs_ext2fs_initialize" >&6; }
3949 if test $ac_cv_lib_ext2fs_ext2fs_initialize = yes; then
3950 EXT2LIBS="-lext2fs $EXT2LIBS"
3953 if test "${ac_cv_lib_com_err_com_err}" != "yes" -o "${ac_cv_lib_ext2fs_ext2fs_initialize}" != "yes"; then
3954 if test "x$enable_ext2direct" = "xyes"; then
3955 { { echo "$as_me:$LINENO: error: Ext2 direct support required but libraries not found." >&5
3956 echo "$as_me: error: Ext2 direct support required but libraries not found." >&2;}
3957 { (exit 1); exit 1; }; }
3959 { echo "$as_me:$LINENO: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&5
3960 echo "$as_me: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&2;}
3962 enable_ext2direct="no"
3965 if test "x$ext2fshead" != "xyes"; then
3966 if test "x$enable_ext2direct" = "xyes"; then
3967 { { echo "$as_me:$LINENO: error: Ext2 direct support required but header files not found." >&5
3968 echo "$as_me: error: Ext2 direct support required but header files not found." >&2;}
3969 { (exit 1); exit 1; }; }
3971 { echo "$as_me:$LINENO: WARNING: Ext2 direct support won't be compiled. Header files not found." >&5
3972 echo "$as_me: WARNING: Ext2 direct support won't be compiled. Header files not found." >&2;}
3974 enable_ext2direct="no"
3977 enable_ext2direct="yes"
3980 if test "x$enable_ext2direct" = "xyes"; then
3981 EXT2_DIRECT="-DEXT2_DIRECT"
3982 COMPILE_OPTS="$COMPILE_OPTS EXT2_DIRECT"
3988 #AC_ARG_WITH(dbus_include,
3989 # [ --with-dbus_include=path Path to directory with dbus include directory [default=/usr/include/dbus-1.0/]],
3990 # DBUS_INCLUDE="$with_dbus_include",
3991 # DBUS_INCLUDE="/usr/include/dbus-1.0/")
3992 #AC_ARG_WITH(dbus_arch_include,
3993 # [ --with-dbus_arch_include=path Path to directory with dbus arch-dependent include directory [default=/usr/lib/dbus-1.0/include/]],
3994 # DBUS_ARCH_INCLUDE="$with_dbus_arch_include",
3995 # DBUS_ARCH_INCLUDE="/usr/lib/dbus-1.0/include/")
3997 # Check whether --enable-netlink was given.
3998 if test "${enable_netlink+set}" = set; then
3999 enableval=$enable_netlink;
4004 if test "x$enable_netlink" != "xno"; then
4007 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4008 if test -n "$ac_tool_prefix"; then
4009 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4010 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4013 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4025 test -z "$as_dir" && as_dir=.
4026 for ac_exec_ext in '' $ac_executable_extensions; do
4027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4028 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4039 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4040 if test -n "$PKG_CONFIG"; then
4041 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4042 echo "${ECHO_T}$PKG_CONFIG" >&6; }
4044 { echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6; }
4050 if test -z "$ac_cv_path_PKG_CONFIG"; then
4051 ac_pt_PKG_CONFIG=$PKG_CONFIG
4052 # Extract the first word of "pkg-config", so it can be a program name with args.
4053 set dummy pkg-config; ac_word=$2
4054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4056 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4057 echo $ECHO_N "(cached) $ECHO_C" >&6
4059 case $ac_pt_PKG_CONFIG in
4061 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4068 test -z "$as_dir" && as_dir=.
4069 for ac_exec_ext in '' $ac_executable_extensions; do
4070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4071 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4082 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4083 if test -n "$ac_pt_PKG_CONFIG"; then
4084 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4085 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
4087 { echo "$as_me:$LINENO: result: no" >&5
4088 echo "${ECHO_T}no" >&6; }
4091 if test "x$ac_pt_PKG_CONFIG" = x; then
4094 case $cross_compiling:$ac_tool_warned in
4096 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4097 whose name does not start with the host triplet. If you think this
4098 configuration is useful to you, please write to autoconf@gnu.org." >&5
4099 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4100 whose name does not start with the host triplet. If you think this
4101 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4102 ac_tool_warned=yes ;;
4104 PKG_CONFIG=$ac_pt_PKG_CONFIG
4107 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4111 if test -n "$PKG_CONFIG"; then
4112 _pkg_min_version=0.9.0
4113 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4114 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
4115 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4116 { echo "$as_me:$LINENO: result: yes" >&5
4117 echo "${ECHO_T}yes" >&6; }
4119 { echo "$as_me:$LINENO: result: no" >&5
4120 echo "${ECHO_T}no" >&6; }
4127 { echo "$as_me:$LINENO: checking for DBUS" >&5
4128 echo $ECHO_N "checking for DBUS... $ECHO_C" >&6; }
4130 if test -n "$PKG_CONFIG"; then
4131 if test -n "$DBUS_CFLAGS"; then
4132 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
4134 if test -n "$PKG_CONFIG" && \
4135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5
4136 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); }; then
4140 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
4148 if test -n "$PKG_CONFIG"; then
4149 if test -n "$DBUS_LIBS"; then
4150 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
4152 if test -n "$PKG_CONFIG" && \
4153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5
4154 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); }; then
4158 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
4169 if test $pkg_failed = yes; then
4171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4172 _pkg_short_errors_supported=yes
4174 _pkg_short_errors_supported=no
4176 if test $_pkg_short_errors_supported = yes; then
4177 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-1"`
4179 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1"`
4181 # Put the nasty error message in config.log where it belongs
4182 echo "$DBUS_PKG_ERRORS" >&5
4184 { { echo "$as_me:$LINENO: error: Package requirements (dbus-1) were not met:
4188 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4189 installed software in a non-standard prefix.
4191 Alternatively, you may set the environment variables DBUS_CFLAGS
4192 and DBUS_LIBS to avoid the need to call pkg-config.
4193 See the pkg-config man page for more details.
4195 echo "$as_me: error: Package requirements (dbus-1) were not met:
4199 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4200 installed software in a non-standard prefix.
4202 Alternatively, you may set the environment variables DBUS_CFLAGS
4203 and DBUS_LIBS to avoid the need to call pkg-config.
4204 See the pkg-config man page for more details.
4206 { (exit 1); exit 1; }; }
4207 elif test $pkg_failed = untried; then
4208 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4209 is in your PATH or set the PKG_CONFIG environment variable to the full
4212 Alternatively, you may set the environment variables DBUS_CFLAGS
4213 and DBUS_LIBS to avoid the need to call pkg-config.
4214 See the pkg-config man page for more details.
4216 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4217 See \`config.log' for more details." >&5
4218 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4219 is in your PATH or set the PKG_CONFIG environment variable to the full
4222 Alternatively, you may set the environment variables DBUS_CFLAGS
4223 and DBUS_LIBS to avoid the need to call pkg-config.
4224 See the pkg-config man page for more details.
4226 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4227 See \`config.log' for more details." >&2;}
4228 { (exit 1); exit 1; }; }
4230 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
4231 DBUS_LIBS=$pkg_cv_DBUS_LIBS
4232 { echo "$as_me:$LINENO: result: yes" >&5
4233 echo "${ECHO_T}yes" >&6; }
4236 NETLINKLIBS="$DBUS_LIBS"
4238 { echo "$as_me:$LINENO: checking for genl_register in -lnl" >&5
4239 echo $ECHO_N "checking for genl_register in -lnl... $ECHO_C" >&6; }
4240 if test "${ac_cv_lib_nl_genl_register+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 ac_check_lib_save_LIBS=$LIBS
4245 cat >conftest.$ac_ext <<_ACEOF
4248 cat confdefs.h >>conftest.$ac_ext
4249 cat >>conftest.$ac_ext <<_ACEOF
4250 /* end confdefs.h. */
4252 /* Override any GCC internal prototype to avoid an error.
4253 Use char because int might match the return type of a GCC
4254 builtin and then its argument prototype would still apply. */
4258 char genl_register ();
4262 return genl_register ();
4267 rm -f conftest.$ac_objext conftest$ac_exeext
4268 if { (ac_try="$ac_link"
4270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4274 (eval "$ac_link") 2>conftest.er1
4276 grep -v '^ *+' conftest.er1 >conftest.err
4278 cat conftest.err >&5
4279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280 (exit $ac_status); } && {
4281 test -z "$ac_c_werror_flag" ||
4282 test ! -s conftest.err
4283 } && test -s conftest$ac_exeext &&
4284 $as_test_x conftest$ac_exeext; then
4285 ac_cv_lib_nl_genl_register=yes
4287 echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.$ac_ext >&5
4290 ac_cv_lib_nl_genl_register=no
4293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4294 conftest$ac_exeext conftest.$ac_ext
4295 LIBS=$ac_check_lib_save_LIBS
4297 { echo "$as_me:$LINENO: result: $ac_cv_lib_nl_genl_register" >&5
4298 echo "${ECHO_T}$ac_cv_lib_nl_genl_register" >&6; }
4299 if test $ac_cv_lib_nl_genl_register = yes; then
4300 NETLINKLIBS="-lnl $NETLINKLIBS"
4303 if test -z "$NETLINKLIBS" -o -z "$DBUS_LIBS"; then
4304 if test "x$enable_netlink" = "xyes"; then
4305 { { echo "$as_me:$LINENO: error: Required libraries for quota netlink daemon not found." >&5
4306 echo "$as_me: error: Required libraries for quota netlink daemon not found." >&2;}
4307 { (exit 1); exit 1; }; }
4309 { echo "$as_me:$LINENO: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&5
4310 echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&2;}
4315 CPPFLAGS="$DBUS_CFLAGS $CPPFLAGS"
4316 if test -z "$DBUS_LIBS"; then
4317 if test "x$enable_netlink" = "xyes"; then
4318 { { echo "$as_me:$LINENO: error: Required headers for quota netlink daemon not found." >&5
4319 echo "$as_me: error: Required headers for quota netlink daemon not found." >&2;}
4320 { (exit 1); exit 1; }; }
4322 { echo "$as_me:$LINENO: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&5
4323 echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&2;}
4328 QUOTA_NETLINK_PROG=quota_nld
4335 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
4336 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
4337 if test "${ac_cv_search_gethostbyname+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 ac_func_search_save_LIBS=$LIBS
4341 cat >conftest.$ac_ext <<_ACEOF
4344 cat confdefs.h >>conftest.$ac_ext
4345 cat >>conftest.$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4348 /* Override any GCC internal prototype to avoid an error.
4349 Use char because int might match the return type of a GCC
4350 builtin and then its argument prototype would still apply. */
4354 char gethostbyname ();
4358 return gethostbyname ();
4363 for ac_lib in '' nsl; do
4364 if test -z "$ac_lib"; then
4365 ac_res="none required"
4368 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4370 rm -f conftest.$ac_objext conftest$ac_exeext
4371 if { (ac_try="$ac_link"
4373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4374 *) ac_try_echo=$ac_try;;
4376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4377 (eval "$ac_link") 2>conftest.er1
4379 grep -v '^ *+' conftest.er1 >conftest.err
4381 cat conftest.err >&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); } && {
4384 test -z "$ac_c_werror_flag" ||
4385 test ! -s conftest.err
4386 } && test -s conftest$ac_exeext &&
4387 $as_test_x conftest$ac_exeext; then
4388 ac_cv_search_gethostbyname=$ac_res
4390 echo "$as_me: failed program was:" >&5
4391 sed 's/^/| /' conftest.$ac_ext >&5
4396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4398 if test "${ac_cv_search_gethostbyname+set}" = set; then
4402 if test "${ac_cv_search_gethostbyname+set}" = set; then
4405 ac_cv_search_gethostbyname=no
4408 LIBS=$ac_func_search_save_LIBS
4410 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
4411 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
4412 ac_res=$ac_cv_search_gethostbyname
4413 if test "$ac_res" != no; then
4414 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4418 { echo "$as_me:$LINENO: checking for host_access in -lwrap" >&5
4419 echo $ECHO_N "checking for host_access in -lwrap... $ECHO_C" >&6; }
4420 if test "${ac_cv_lib_wrap_main+set}" = set; then
4421 echo $ECHO_N "(cached) $ECHO_C" >&6
4425 cat >conftest.$ac_ext <<_ACEOF
4428 cat confdefs.h >>conftest.$ac_ext
4429 cat >>conftest.$ac_ext <<_ACEOF
4430 /* end confdefs.h. */
4433 #include <sys/types.h>
4434 #include <sys/socket.h>
4435 #include <netinet/in.h>
4437 struct request_info request;
4438 int deny_severity, allow_severity;
4442 hosts_access(&request);
4447 rm -f conftest.$ac_objext conftest$ac_exeext
4448 if { (ac_try="$ac_link"
4450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451 *) ac_try_echo=$ac_try;;
4453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4454 (eval "$ac_link") 2>conftest.er1
4456 grep -v '^ *+' conftest.er1 >conftest.err
4458 cat conftest.err >&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); } && {
4461 test -z "$ac_c_werror_flag" ||
4462 test ! -s conftest.err
4463 } && test -s conftest$ac_exeext &&
4464 $as_test_x conftest$ac_exeext; then
4465 ac_cv_lib_wrap_main=yes; LIBS="$saved_LIBS"; { echo "$as_me:$LINENO: result: yes" >&5
4466 echo "${ECHO_T}yes" >&6; }
4468 echo "$as_me: failed program was:" >&5
4469 sed 's/^/| /' conftest.$ac_ext >&5
4471 ac_cv_lib_wrap_main=no; LIBS="$saved_LIBS"; { echo "$as_me:$LINENO: result: no" >&5
4472 echo "${ECHO_T}no" >&6; }
4475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4476 conftest$ac_exeext conftest.$ac_ext
4481 if test ${ac_cv_lib_wrap_main} = yes; then
4482 if test "${ac_cv_header_tcpd_h+set}" = set; then
4483 { echo "$as_me:$LINENO: checking for tcpd.h" >&5
4484 echo $ECHO_N "checking for tcpd.h... $ECHO_C" >&6; }
4485 if test "${ac_cv_header_tcpd_h+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 { echo "$as_me:$LINENO: result: $ac_cv_header_tcpd_h" >&5
4489 echo "${ECHO_T}$ac_cv_header_tcpd_h" >&6; }
4491 # Is the header compilable?
4492 { echo "$as_me:$LINENO: checking tcpd.h usability" >&5
4493 echo $ECHO_N "checking tcpd.h usability... $ECHO_C" >&6; }
4494 cat >conftest.$ac_ext <<_ACEOF
4497 cat confdefs.h >>conftest.$ac_ext
4498 cat >>conftest.$ac_ext <<_ACEOF
4499 /* end confdefs.h. */
4500 $ac_includes_default
4501 @%:@include <tcpd.h>
4503 rm -f conftest.$ac_objext
4504 if { (ac_try="$ac_compile"
4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507 *) ac_try_echo=$ac_try;;
4509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4510 (eval "$ac_compile") 2>conftest.er1
4512 grep -v '^ *+' conftest.er1 >conftest.err
4514 cat conftest.err >&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); } && {
4517 test -z "$ac_c_werror_flag" ||
4518 test ! -s conftest.err
4519 } && test -s conftest.$ac_objext; then
4520 ac_header_compiler=yes
4522 echo "$as_me: failed program was:" >&5
4523 sed 's/^/| /' conftest.$ac_ext >&5
4525 ac_header_compiler=no
4528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4529 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4530 echo "${ECHO_T}$ac_header_compiler" >&6; }
4532 # Is the header present?
4533 { echo "$as_me:$LINENO: checking tcpd.h presence" >&5
4534 echo $ECHO_N "checking tcpd.h presence... $ECHO_C" >&6; }
4535 cat >conftest.$ac_ext <<_ACEOF
4538 cat confdefs.h >>conftest.$ac_ext
4539 cat >>conftest.$ac_ext <<_ACEOF
4540 /* end confdefs.h. */
4541 @%:@include <tcpd.h>
4543 if { (ac_try="$ac_cpp conftest.$ac_ext"
4545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4546 *) ac_try_echo=$ac_try;;
4548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4551 grep -v '^ *+' conftest.er1 >conftest.err
4553 cat conftest.err >&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); } >/dev/null && {
4556 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4557 test ! -s conftest.err
4559 ac_header_preproc=yes
4561 echo "$as_me: failed program was:" >&5
4562 sed 's/^/| /' conftest.$ac_ext >&5
4564 ac_header_preproc=no
4567 rm -f conftest.err conftest.$ac_ext
4568 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4569 echo "${ECHO_T}$ac_header_preproc" >&6; }
4571 # So? What about this header?
4572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4574 { echo "$as_me:$LINENO: WARNING: tcpd.h: accepted by the compiler, rejected by the preprocessor!" >&5
4575 echo "$as_me: WARNING: tcpd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4576 { echo "$as_me:$LINENO: WARNING: tcpd.h: proceeding with the compiler's result" >&5
4577 echo "$as_me: WARNING: tcpd.h: proceeding with the compiler's result" >&2;}
4578 ac_header_preproc=yes
4581 { echo "$as_me:$LINENO: WARNING: tcpd.h: present but cannot be compiled" >&5
4582 echo "$as_me: WARNING: tcpd.h: present but cannot be compiled" >&2;}
4583 { echo "$as_me:$LINENO: WARNING: tcpd.h: check for missing prerequisite headers?" >&5
4584 echo "$as_me: WARNING: tcpd.h: check for missing prerequisite headers?" >&2;}
4585 { echo "$as_me:$LINENO: WARNING: tcpd.h: see the Autoconf documentation" >&5
4586 echo "$as_me: WARNING: tcpd.h: see the Autoconf documentation" >&2;}
4587 { echo "$as_me:$LINENO: WARNING: tcpd.h: section \"Present But Cannot Be Compiled\"" >&5
4588 echo "$as_me: WARNING: tcpd.h: section \"Present But Cannot Be Compiled\"" >&2;}
4589 { echo "$as_me:$LINENO: WARNING: tcpd.h: proceeding with the preprocessor's result" >&5
4590 echo "$as_me: WARNING: tcpd.h: proceeding with the preprocessor's result" >&2;}
4591 { echo "$as_me:$LINENO: WARNING: tcpd.h: in the future, the compiler will take precedence" >&5
4592 echo "$as_me: WARNING: tcpd.h: in the future, the compiler will take precedence" >&2;}
4596 { echo "$as_me:$LINENO: checking for tcpd.h" >&5
4597 echo $ECHO_N "checking for tcpd.h... $ECHO_C" >&6; }
4598 if test "${ac_cv_header_tcpd_h+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 ac_cv_header_tcpd_h=$ac_header_preproc
4603 { echo "$as_me:$LINENO: result: $ac_cv_header_tcpd_h" >&5
4604 echo "${ECHO_T}$ac_cv_header_tcpd_h" >&6; }
4607 if test $ac_cv_header_tcpd_h = yes; then
4611 echo 'ERROR: could not find tcpd.h - missing TCP wrappers package'
4618 HOSTS_ACCESS="-DHOSTS_ACCESS"
4619 COMPILE_OPTS="$COMPILE_OPTS HOST_ACCESS"
4623 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4624 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4625 if test "${ac_cv_c_const+set}" = set; then
4626 echo $ECHO_N "(cached) $ECHO_C" >&6
4628 cat >conftest.$ac_ext <<_ACEOF
4631 cat confdefs.h >>conftest.$ac_ext
4632 cat >>conftest.$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4638 /* FIXME: Include the comments suggested by Paul. */
4640 /* Ultrix mips cc rejects this. */
4641 typedef int charset[2];
4643 /* SunOS 4.1.1 cc rejects this. */
4644 char const *const *pcpcc;
4646 /* NEC SVR4.0.2 mips cc rejects this. */
4647 struct point {int x, y;};
4648 static struct point const zero = {0,0};
4649 /* AIX XL C 1.02.0.0 rejects this.
4650 It does not let you subtract one const X* pointer from another in
4651 an arm of an if-expression whose if-part is not a constant
4653 const char *g = "string";
4654 pcpcc = &g + (g ? g-g : 0);
4655 /* HPUX 7.0 cc rejects these. */
4657 ppc = (char**) pcpcc;
4658 pcpcc = (char const *const *) ppc;
4659 { /* SCO 3.2v4 cc rejects this. */
4661 char const *s = 0 ? (char *) 0 : (char const *) 0;
4666 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4668 const int *foo = &x[0];
4671 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4672 typedef const int *iptr;
4676 { /* AIX XL C 1.02.0.0 rejects this saying
4677 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4678 struct s { int j; const int *ap[3]; };
4679 struct s *b; b->j = 5;
4681 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4685 return !cs[0] && !zero.x;
4692 rm -f conftest.$ac_objext
4693 if { (ac_try="$ac_compile"
4695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4696 *) ac_try_echo=$ac_try;;
4698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4699 (eval "$ac_compile") 2>conftest.er1
4701 grep -v '^ *+' conftest.er1 >conftest.err
4703 cat conftest.err >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } && {
4706 test -z "$ac_c_werror_flag" ||
4707 test ! -s conftest.err
4708 } && test -s conftest.$ac_objext; then
4711 echo "$as_me: failed program was:" >&5
4712 sed 's/^/| /' conftest.$ac_ext >&5
4717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4719 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4720 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4721 if test $ac_cv_c_const = no; then
4723 cat >>confdefs.h <<\_ACEOF
4729 { echo "$as_me:$LINENO: checking for inline" >&5
4730 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
4731 if test "${ac_cv_c_inline+set}" = set; then
4732 echo $ECHO_N "(cached) $ECHO_C" >&6
4735 for ac_kw in inline __inline__ __inline; do
4736 cat >conftest.$ac_ext <<_ACEOF
4739 cat confdefs.h >>conftest.$ac_ext
4740 cat >>conftest.$ac_ext <<_ACEOF
4741 /* end confdefs.h. */
4744 static $ac_kw foo_t static_foo () {return 0; }
4745 $ac_kw foo_t foo () {return 0; }
4749 rm -f conftest.$ac_objext
4750 if { (ac_try="$ac_compile"
4752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4753 *) ac_try_echo=$ac_try;;
4755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4756 (eval "$ac_compile") 2>conftest.er1
4758 grep -v '^ *+' conftest.er1 >conftest.err
4760 cat conftest.err >&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } && {
4763 test -z "$ac_c_werror_flag" ||
4764 test ! -s conftest.err
4765 } && test -s conftest.$ac_objext; then
4766 ac_cv_c_inline=$ac_kw
4768 echo "$as_me: failed program was:" >&5
4769 sed 's/^/| /' conftest.$ac_ext >&5
4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775 test "$ac_cv_c_inline" != no && break
4779 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4780 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4783 case $ac_cv_c_inline in
4786 case $ac_cv_c_inline in
4788 *) ac_val=$ac_cv_c_inline;;
4790 cat >>confdefs.h <<_ACEOF
4792 #define inline $ac_val
4799 # Check whether --enable-altformat was given.
4800 if test "${enable_altformat+set}" = set; then
4801 enableval=$enable_altformat;
4803 enable_altformat="yes"
4806 # Check whether --enable-rpc was given.
4807 if test "${enable_rpc+set}" = set; then
4808 enableval=$enable_rpc;
4813 # Check whether --enable-rpcsetquota was given.
4814 if test "${enable_rpcsetquota+set}" = set; then
4815 enableval=$enable_rpcsetquota;
4817 enable_rpcsetquota="no"
4820 # Check whether --enable-xfs_roothack was given.
4821 if test "${enable_xfs_roothack+set}" = set; then
4822 enableval=$enable_xfs_roothack;
4824 enable_xfs_roothack="no"
4827 # Check whether --enable-bsd_behaviour was given.
4828 if test "${enable_bsd_behaviour+set}" = set; then
4829 enableval=$enable_bsd_behaviour;
4831 enable_bsd_behaviour="yes"
4834 # Check whether --enable-libefence was given.
4835 if test "${enable_libefence+set}" = set; then
4836 enableval=$enable_libefence;
4838 enable_libefence="no"
4842 # Check whether --enable-nls was given.
4843 if test "${enable_nls+set}" = set; then
4844 enableval=$enable_nls;
4849 # Check whether --enable-rootsbin was given.
4850 if test "${enable_rootsbin+set}" = set; then
4851 enableval=$enable_rootsbin;
4853 enable_rootsbin="no"
4857 if test "$enable_altformat" = "yes" ; then
4858 CFLAGS="-DALT_FORMAT $CFLAGS"
4859 COMPILE_OPTS="$COMPILE_OPTS ALT_FORMAT"
4861 if test "$enable_rpc" = "yes" ; then
4862 CFLAGS="-DRPC $CFLAGS"
4863 COMPILE_OPTS="$COMPILE_OPTS RPC"
4865 if test "$enable_rpcsetquota" = "yes" ; then
4866 CFLAGS="-DRPC_SETQUOTA $CFLAGS"
4867 COMPILE_OPTS="$COMPILE_OPTS RPC_SETQUOTA"
4869 if test "$enable_xfs_roothack" = "yes" ; then
4870 CFLAGS="-DXFS_ROOTHACK $CFLAGS"
4871 COMPILE_OPTS="$COMPILE_OPTS XFS_ROOTHACK"
4873 if test "$enable_bsd_behaviour" = "yes" ; then
4874 CFLAGS="-DBSD_BEHAVIOUR $CFLAGS"
4875 COMPILE_OPTS="$COMPILE_OPTS BSD_BEHAVIOUR"
4877 if test "$enable_libefence" = "yes" ; then
4878 LIBMALLOC="/usr/lib/libefence.a"
4880 if test "$enable_nls" = "yes" ; then
4881 CFLAGS="-D__GETTEXT__ $CFLAGS"
4884 if test "$enable_rootsbin" = "yes" ; then
4887 ROOTSBIN='$(prefix)/sbin'
4895 ac_config_files="$ac_config_files Makefile"
4897 cat >confcache <<\_ACEOF
4898 # This file is a shell script that caches the results of configure
4899 # tests run on this system so they can be shared between configure
4900 # scripts and configure runs, see configure's option --config-cache.
4901 # It is not useful on other systems. If it contains results you don't
4902 # want to keep, you may remove or edit it.
4904 # config.status only pays attention to the cache file if you give it
4905 # the --recheck option to rerun configure.
4907 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4908 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4913 # The following way of writing the cache mishandles newlines in values,
4914 # but we know of no workaround that is simple, portable, and efficient.
4915 # So, we kill variables containing newlines.
4916 # Ultrix sh set writes to stderr and can't be redirected directly,
4917 # and sets the high bit in the cache file unless we assign to the vars.
4919 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4920 eval ac_val=\$$ac_var
4924 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4925 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4928 _ | IFS | as_nl) ;; #(
4929 *) $as_unset $ac_var ;;
4935 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4936 *${as_nl}ac_space=\ *)
4937 # `set' does not quote correctly, so add quotes (double-quote
4938 # substitution turns \\\\ into \\, and sed turns \\ into \).
4941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4944 # `set' quotes correctly as required by POSIX, so do not add quotes.
4945 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4954 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4956 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4958 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4959 if test -w "$cache_file"; then
4960 test "x$cache_file" != "x/dev/null" &&
4961 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4962 echo "$as_me: updating cache $cache_file" >&6;}
4963 cat confcache >$cache_file
4965 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4966 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4971 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4972 # Let make expand exec_prefix.
4973 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4975 # Transform confdefs.h into DEFS.
4976 # Protect against shell expansion while executing Makefile rules.
4977 # Protect against Makefile macro expansion.
4979 # If the first sed substitution is executed (which looks for macros that
4980 # take arguments), then branch to the quote section. Otherwise,
4981 # look for a macro that doesn't take arguments.
4985 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4987 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4991 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5004 DEFS=`sed -n "$ac_script" confdefs.h`
5009 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5010 # 1. Remove the extension, and $U if already installed.
5011 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5012 ac_i=`echo "$ac_i" | sed "$ac_script"`
5013 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5014 # will be set to the directory where LIBOBJS objects are built.
5015 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5016 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5018 LIB@&t@OBJS=$ac_libobjs
5020 LTLIBOBJS=$ac_ltlibobjs
5024 : ${CONFIG_STATUS=./config.status}
5025 ac_clean_files_save=$ac_clean_files
5026 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5027 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5028 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5029 cat >$CONFIG_STATUS <<_ACEOF
5031 # Generated by $as_me.
5032 # Run this file to recreate the current configuration.
5033 # Compiler output produced by configure, useful for debugging
5034 # configure, is in config.log if it exists.
5039 SHELL=\${CONFIG_SHELL-$SHELL}
5042 cat >>$CONFIG_STATUS <<\_ACEOF
5043 ## --------------------- ##
5044 ## M4sh Initialization. ##
5045 ## --------------------- ##
5047 # Be more Bourne compatible
5048 DUALCASE=1; export DUALCASE # for MKS sh
5049 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5052 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5053 # is contrary to our usage. Disable this feature.
5054 alias -g '${1+"$@"}'='"$@"'
5055 setopt NO_GLOB_SUBST
5057 case `(set -o) 2>/dev/null` in
5058 *posix*) set -o posix ;;
5067 # Avoid depending upon Character Ranges.
5068 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5069 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5070 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5071 as_cr_digits='0123456789'
5072 as_cr_alnum=$as_cr_Letters$as_cr_digits
5074 # The user is always right.
5075 if test "${PATH_SEPARATOR+set}" != set; then
5076 echo "#! /bin/sh" >conf$$.sh
5077 echo "exit 0" >>conf$$.sh
5079 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5087 # Support unset when possible.
5088 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5096 # We need space, tab and new line, in precisely that order. Quoting is
5097 # there to prevent editors from complaining about space-tab.
5098 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5099 # splitting by setting IFS to empty value.)
5104 # Find who we are. Look in the path if we contain no directory separator.
5106 *[\\/]* ) as_myself=$0 ;;
5107 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111 test -z "$as_dir" && as_dir=.
5112 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5118 # We did not find ourselves, most probably we were run as `sh COMMAND'
5119 # in which case we are not to be found in the path.
5120 if test "x$as_myself" = x; then
5123 if test ! -f "$as_myself"; then
5124 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5125 { (exit 1); exit 1; }
5128 # Work around bugs in pre-3.0 UWIN ksh.
5129 for as_var in ENV MAIL MAILPATH
5130 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5138 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5139 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5140 LC_TELEPHONE LC_TIME
5142 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5143 eval $as_var=C; export $as_var
5145 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5149 # Required to use basename.
5150 if expr a : '\(a\)' >/dev/null 2>&1 &&
5151 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5157 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5158 as_basename=basename
5164 # Name of the executable.
5165 as_me=`$as_basename -- "$0" ||
5166 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5167 X"$0" : 'X\(//\)$' \| \
5168 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5170 sed '/^.*\/\([^/][^/]*\)\/*$/{
5191 test "x$as_lineno_1" != "x$as_lineno_2" &&
5192 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5194 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5195 # uniformly replaced by the line number. The first 'sed' inserts a
5196 # line-number line after each line using $LINENO; the second 'sed'
5197 # does the real work. The second script uses 'N' to pair each
5198 # line-number line with the line containing $LINENO, and appends
5199 # trailing '-' during substitution so that $LINENO is not a special
5201 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5202 # scripts with optimization help from Paolo Bonzini. Blame Lee
5203 # E. McMahon (1931-1989) for sed's syntax. :-)
5215 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5219 chmod +x "$as_me.lineno" ||
5220 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5221 { (exit 1); exit 1; }; }
5223 # Don't try to exec as it changes $[0], causing all sort of problems
5224 # (the dirname of $[0] is not the place where we might find the
5225 # original and so on. Autoconf is especially sensitive to this).
5227 # Exit status is that of the last command.
5232 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5238 ECHO_C= ECHO_N= ECHO_T=
5241 case `echo 'x\c'` in
5242 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5249 if expr a : '\(a\)' >/dev/null 2>&1 &&
5250 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5256 rm -f conf$$ conf$$.exe conf$$.file
5257 if test -d conf$$.dir; then
5258 rm -f conf$$.dir/conf$$.file
5264 if ln -s conf$$.file conf$$ 2>/dev/null; then
5266 # ... but there are two gotchas:
5267 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5268 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5269 # In both cases, we have to default to `cp -p'.
5270 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5272 elif ln conf$$.file conf$$ 2>/dev/null; then
5277 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5278 rmdir conf$$.dir 2>/dev/null
5280 if mkdir -p . 2>/dev/null; then
5283 test -d ./-p && rmdir ./-p
5287 if test -x / >/dev/null 2>&1; then
5290 if ls -dL / >/dev/null 2>&1; then
5297 if test -d "$1"; then
5303 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5304 ???[sx]*):;;*)false;;esac;fi
5308 as_executable_p=$as_test_x
5310 # Sed expression to map a string onto a valid CPP name.
5311 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5313 # Sed expression to map a string onto a valid variable name.
5314 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5319 # Save the log message, to keep $[0] and so on meaningful, and to
5320 # report actual input values of CONFIG_FILES etc. instead of their
5321 # values after options handling.
5323 This file was extended by $as_me, which was
5324 generated by GNU Autoconf 2.61. Invocation command line was
5326 CONFIG_FILES = $CONFIG_FILES
5327 CONFIG_HEADERS = $CONFIG_HEADERS
5328 CONFIG_LINKS = $CONFIG_LINKS
5329 CONFIG_COMMANDS = $CONFIG_COMMANDS
5332 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5337 cat >>$CONFIG_STATUS <<_ACEOF
5338 # Files that config.status was made for.
5339 config_files="$ac_config_files"
5343 cat >>$CONFIG_STATUS <<\_ACEOF
5345 \`$as_me' instantiates files from templates according to the
5346 current configuration.
5348 Usage: $0 [OPTIONS] [FILE]...
5350 -h, --help print this help, then exit
5351 -V, --version print version number and configuration settings, then exit
5352 -q, --quiet do not print progress messages
5353 -d, --debug don't remove temporary files
5354 --recheck update $as_me by reconfiguring in the same conditions
5355 --file=FILE[:TEMPLATE]
5356 instantiate the configuration file FILE
5358 Configuration files:
5361 Report bugs to <bug-autoconf@gnu.org>."
5364 cat >>$CONFIG_STATUS <<_ACEOF
5367 configured by $0, generated by GNU Autoconf 2.61,
5368 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5370 Copyright (C) 2006 Free Software Foundation, Inc.
5371 This config.status script is free software; the Free Software Foundation
5372 gives unlimited permission to copy, distribute and modify it."
5379 cat >>$CONFIG_STATUS <<\_ACEOF
5380 # If no file are specified by the user, then we need to provide default
5381 # value. By we need to know if files were specified by the user.
5387 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5388 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5399 # Handling of the options.
5400 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5402 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5403 echo "$ac_cs_version"; exit ;;
5404 --debug | --debu | --deb | --de | --d | -d )
5406 --file | --fil | --fi | --f )
5408 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5409 ac_need_defaults=false;;
5410 --he | --h | --help | --hel | -h )
5411 echo "$ac_cs_usage"; exit ;;
5412 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5413 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5417 -*) { echo "$as_me: error: unrecognized option: $1
5418 Try \`$0 --help' for more information." >&2
5419 { (exit 1); exit 1; }; } ;;
5421 *) ac_config_targets="$ac_config_targets $1"
5422 ac_need_defaults=false ;;
5428 ac_configure_extra_args=
5430 if $ac_cs_silent; then
5432 ac_configure_extra_args="$ac_configure_extra_args --silent"
5436 cat >>$CONFIG_STATUS <<_ACEOF
5437 if \$ac_cs_recheck; then
5438 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5441 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5445 cat >>$CONFIG_STATUS <<\_ACEOF
5449 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5450 @%:@@%:@ Running $as_me. @%:@@%:@
5456 cat >>$CONFIG_STATUS <<_ACEOF
5459 cat >>$CONFIG_STATUS <<\_ACEOF
5461 # Handling of arguments.
5462 for ac_config_target in $ac_config_targets
5464 case $ac_config_target in
5465 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5467 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5468 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5469 { (exit 1); exit 1; }; };;
5474 # If the user did not use the arguments to specify the items to instantiate,
5475 # then the envvar interface is used. Set only those that are not.
5476 # We use the long form for the default assignment because of an extremely
5477 # bizarre bug on SunOS 4.1.3.
5478 if $ac_need_defaults; then
5479 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5482 # Have a temporary directory for convenience. Make it in the build tree
5483 # simply because there is no reason against having it here, and in addition,
5484 # creating and moving files from /tmp can sometimes cause problems.
5485 # Hook for its removal unless debugging.
5486 # Note that there is a small window in which the directory will not be cleaned:
5487 # after its creation but before its name has been assigned to `$tmp'.
5491 trap 'exit_status=$?
5492 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5494 trap '{ (exit 1); exit 1; }' 1 2 13 15
5496 # Create a (secure) tmp directory for tmp files.
5499 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5500 test -n "$tmp" && test -d "$tmp"
5503 tmp=./conf$$-$RANDOM
5504 (umask 077 && mkdir "$tmp")
5507 echo "$me: cannot create a temporary directory in ." >&2
5508 { (exit 1); exit 1; }
5512 # Set up the sed scripts for CONFIG_FILES section.
5515 # No need to generate the scripts if there are no CONFIG_FILES.
5516 # This happens for instance when ./config.status config.h
5517 if test -n "$CONFIG_FILES"; then
5524 for ac_last_try in false false false false false :; do
5525 cat >conf$$subs.sed <<_ACEOF
5526 SHELL!$SHELL$ac_delim
5527 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5528 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5529 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5530 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5531 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5532 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5533 exec_prefix!$exec_prefix$ac_delim
5534 prefix!$prefix$ac_delim
5535 program_transform_name!$program_transform_name$ac_delim
5536 bindir!$bindir$ac_delim
5537 sbindir!$sbindir$ac_delim
5538 libexecdir!$libexecdir$ac_delim
5539 datarootdir!$datarootdir$ac_delim
5540 datadir!$datadir$ac_delim
5541 sysconfdir!$sysconfdir$ac_delim
5542 sharedstatedir!$sharedstatedir$ac_delim
5543 localstatedir!$localstatedir$ac_delim
5544 includedir!$includedir$ac_delim
5545 oldincludedir!$oldincludedir$ac_delim
5546 docdir!$docdir$ac_delim
5547 infodir!$infodir$ac_delim
5548 htmldir!$htmldir$ac_delim
5549 dvidir!$dvidir$ac_delim
5550 pdfdir!$pdfdir$ac_delim
5551 psdir!$psdir$ac_delim
5552 libdir!$libdir$ac_delim
5553 localedir!$localedir$ac_delim
5554 mandir!$mandir$ac_delim
5556 ECHO_C!$ECHO_C$ac_delim
5557 ECHO_N!$ECHO_N$ac_delim
5558 ECHO_T!$ECHO_T$ac_delim
5560 build_alias!$build_alias$ac_delim
5561 host_alias!$host_alias$ac_delim
5562 target_alias!$target_alias$ac_delim
5564 CFLAGS!$CFLAGS$ac_delim
5565 LDFLAGS!$LDFLAGS$ac_delim
5566 CPPFLAGS!$CPPFLAGS$ac_delim
5567 ac_ct_CC!$ac_ct_CC$ac_delim
5568 EXEEXT!$EXEEXT$ac_delim
5569 OBJEXT!$OBJEXT$ac_delim
5572 EGREP!$EGREP$ac_delim
5573 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5574 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5575 INSTALL_DATA!$INSTALL_DATA$ac_delim
5576 LDAPLIBS!$LDAPLIBS$ac_delim
5577 EXT2_DIRECT!$EXT2_DIRECT$ac_delim
5578 EXT2LIBS!$EXT2LIBS$ac_delim
5579 PKG_CONFIG!$PKG_CONFIG$ac_delim
5580 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
5581 DBUS_LIBS!$DBUS_LIBS$ac_delim
5582 QUOTA_NETLINK_PROG!$QUOTA_NETLINK_PROG$ac_delim
5583 NETLINKLIBS!$NETLINKLIBS$ac_delim
5584 HOSTS_ACCESS!$HOSTS_ACCESS$ac_delim
5585 COMPILE_OPTS!$COMPILE_OPTS$ac_delim
5586 LIBMALLOC!$LIBMALLOC$ac_delim
5587 INSTMO!$INSTMO$ac_delim
5588 ROOTSBIN!$ROOTSBIN$ac_delim
5589 LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
5590 LTLIBOBJS!$LTLIBOBJS$ac_delim
5593 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
5595 elif $ac_last_try; then
5596 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5597 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5598 { (exit 1); exit 1; }; }
5600 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5604 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5605 if test -n "$ac_eof"; then
5606 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5607 ac_eof=`expr $ac_eof + 1`
5610 cat >>$CONFIG_STATUS <<_ACEOF
5611 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5612 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5615 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5616 s/^/s,@/; s/!/@,|#_!!_#|/
5619 s/'"$ac_delim"'$/,g/; t
5621 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5622 ' >>$CONFIG_STATUS <conf$$subs.sed
5623 rm -f conf$$subs.sed
5624 cat >>$CONFIG_STATUS <<_ACEOF
5631 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5632 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5633 # trailing colons and then remove the whole line if VPATH becomes empty
5634 # (actually we leave an empty line to preserve line numbers).
5635 if test "x$srcdir" = x.; then
5636 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5640 s/^\([^=]*=[ ]*\):*/\1/
5646 cat >>$CONFIG_STATUS <<\_ACEOF
5647 fi # test -n "$CONFIG_FILES"
5650 for ac_tag in :F $CONFIG_FILES
5653 :[FHLC]) ac_mode=$ac_tag; continue;;
5655 case $ac_mode$ac_tag in
5657 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5658 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5659 { (exit 1); exit 1; }; };;
5660 :[FH]-) ac_tag=-:-;;
5661 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5678 -) ac_f="$tmp/stdin";;
5679 *) # Look for the file first in the build tree, then in the source tree
5680 # (if the path is not absolute). The absolute path cannot be DOS-style,
5681 # because $ac_f cannot contain `:'.
5685 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5687 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5688 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5689 { (exit 1); exit 1; }; };;
5691 ac_file_inputs="$ac_file_inputs $ac_f"
5694 # Let's still pretend it is `configure' which instantiates (i.e., don't
5695 # use $as_me), people would be surprised to read:
5696 # /* config.h. Generated by config.status. */
5697 configure_input="Generated from "`IFS=:
5698 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5699 if test x"$ac_file" != x-; then
5700 configure_input="$ac_file. $configure_input"
5701 { echo "$as_me:$LINENO: creating $ac_file" >&5
5702 echo "$as_me: creating $ac_file" >&6;}
5706 *:-:* | *:-) cat >"$tmp/stdin";;
5711 ac_dir=`$as_dirname -- "$ac_file" ||
5712 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5713 X"$ac_file" : 'X\(//\)[^/]' \| \
5714 X"$ac_file" : 'X\(//\)$' \| \
5715 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5736 -*) as_dir=./$as_dir;;
5738 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5742 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5743 *) as_qdir=$as_dir;;
5745 as_dirs="'$as_qdir' $as_dirs"
5746 as_dir=`$as_dirname -- "$as_dir" ||
5747 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5748 X"$as_dir" : 'X\(//\)[^/]' \| \
5749 X"$as_dir" : 'X\(//\)$' \| \
5750 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5769 test -d "$as_dir" && break
5771 test -z "$as_dirs" || eval "mkdir $as_dirs"
5772 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5773 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5774 { (exit 1); exit 1; }; }; }
5778 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5780 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5781 # A ".." for each directory in $ac_dir_suffix.
5782 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5783 case $ac_top_builddir_sub in
5784 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5785 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5788 ac_abs_top_builddir=$ac_pwd
5789 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5790 # for backward compatibility:
5791 ac_top_builddir=$ac_top_build_prefix
5794 .) # We are building in place.
5796 ac_top_srcdir=$ac_top_builddir_sub
5797 ac_abs_top_srcdir=$ac_pwd ;;
5798 [\\/]* | ?:[\\/]* ) # Absolute name.
5799 ac_srcdir=$srcdir$ac_dir_suffix;
5800 ac_top_srcdir=$srcdir
5801 ac_abs_top_srcdir=$srcdir ;;
5803 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5804 ac_top_srcdir=$ac_top_build_prefix$srcdir
5805 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5807 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5817 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5818 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5822 cat >>$CONFIG_STATUS <<\_ACEOF
5823 # If the template does not know about datarootdir, expand it.
5824 # FIXME: This hack should be removed a few years after 2.60.
5825 ac_datarootdir_hack=; ac_datarootdir_seen=
5827 case `sed -n '/datarootdir/ {
5836 ' $ac_file_inputs` in
5837 *datarootdir*) ac_datarootdir_seen=yes;;
5838 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5839 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5840 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5842 cat >>$CONFIG_STATUS <<_ACEOF
5843 ac_datarootdir_hack='
5844 s&@datadir@&$datadir&g
5845 s&@docdir@&$docdir&g
5846 s&@infodir@&$infodir&g
5847 s&@localedir@&$localedir&g
5848 s&@mandir@&$mandir&g
5849 s&\\\${datarootdir}&$datarootdir&g' ;;
5853 # Neutralize VPATH when `$srcdir' = `.'.
5854 # Shell code in configure.ac might set extrasub.
5855 # FIXME: do we really want to maintain this feature?
5856 cat >>$CONFIG_STATUS <<_ACEOF
5860 cat >>$CONFIG_STATUS <<\_ACEOF
5862 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5863 s&@configure_input@&$configure_input&;t t
5864 s&@top_builddir@&$ac_top_builddir_sub&;t t
5865 s&@srcdir@&$ac_srcdir&;t t
5866 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5867 s&@top_srcdir@&$ac_top_srcdir&;t t
5868 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5869 s&@builddir@&$ac_builddir&;t t
5870 s&@abs_builddir@&$ac_abs_builddir&;t t
5871 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5872 s&@INSTALL@&$ac_INSTALL&;t t
5873 $ac_datarootdir_hack
5874 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5876 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5877 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5878 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5879 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5880 which seems to be undefined. Please make sure it is defined." >&5
5881 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5882 which seems to be undefined. Please make sure it is defined." >&2;}
5886 -) cat "$tmp/out"; rm -f "$tmp/out";;
5887 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5898 { (exit 0); exit 0; }
5900 chmod +x $CONFIG_STATUS
5901 ac_clean_files=$ac_clean_files_save
5904 # configure is writing to config.log, and then calls config.status.
5905 # config.status does its own redirection, appending to config.log.
5906 # Unfortunately, on DOS this fails, as config.log is still kept open
5907 # by configure, so config.status won't be able to write to it; its
5908 # output is simply discarded. So we exec the FD to /dev/null,
5909 # effectively closing config.log, so it can be properly (re)opened and
5910 # appended to by config.status. When coming back to configure, we
5911 # need to make the FD available again.
5912 if test "$no_create" != yes; then
5914 ac_config_status_args=
5915 test "$silent" = yes &&
5916 ac_config_status_args="$ac_config_status_args --quiet"
5918 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5920 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5921 # would make configure fail if this is the last instruction.
5922 $ac_cs_success || { (exit 1); exit 1; }