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="ulogd.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
696 ac_precious_vars='build_alias
707 # Initialize some variables set by options.
709 ac_init_version=false
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
719 program_transform_name=s,x,x,
727 # Installation directory options.
728 # These are left unexpanded so users can "make install exec_prefix=/foo"
729 # and all the variables that are supposed to be based on exec_prefix
730 # by default will actually change.
731 # Use braces instead of parens because sh, perl, etc. also accept them.
732 # (The list follows the same order as the GNU Coding Standards.)
733 bindir='${exec_prefix}/bin'
734 sbindir='${exec_prefix}/sbin'
735 libexecdir='${exec_prefix}/libexec'
736 datarootdir='${prefix}/share'
737 datadir='${datarootdir}'
738 sysconfdir='${prefix}/etc'
739 sharedstatedir='${prefix}/com'
740 localstatedir='${prefix}/var'
741 includedir='${prefix}/include'
742 oldincludedir='/usr/include'
743 docdir='${datarootdir}/doc/${PACKAGE}'
744 infodir='${datarootdir}/info'
749 libdir='${exec_prefix}/lib'
750 localedir='${datarootdir}/locale'
751 mandir='${datarootdir}/man'
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
759 eval $ac_prev=\$ac_option
765 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
769 # Accept the important Cygnus configure options, so we can diagnose typos.
771 case $ac_dashdash$ac_option in
775 -bindir | --bindir | --bindi | --bind | --bin | --bi)
777 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
780 -build | --build | --buil | --bui | --bu)
781 ac_prev=build_alias ;;
782 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
783 build_alias=$ac_optarg ;;
785 -cache-file | --cache-file | --cache-fil | --cache-fi \
786 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
787 ac_prev=cache_file ;;
788 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
789 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
790 cache_file=$ac_optarg ;;
793 cache_file=config.cache ;;
795 -datadir | --datadir | --datadi | --datad)
797 -datadir=* | --datadir=* | --datadi=* | --datad=*)
798 datadir=$ac_optarg ;;
800 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
801 | --dataroo | --dataro | --datar)
802 ac_prev=datarootdir ;;
803 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
804 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
805 datarootdir=$ac_optarg ;;
807 -disable-* | --disable-*)
808 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
809 # Reject names that are not valid shell variable names.
810 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
811 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
812 { (exit 1); exit 1; }; }
813 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
814 eval enable_$ac_feature=no ;;
816 -docdir | --docdir | --docdi | --doc | --do)
818 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
821 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
823 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
826 -enable-* | --enable-*)
827 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
828 # Reject names that are not valid shell variable names.
829 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
830 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
831 { (exit 1); exit 1; }; }
832 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
833 eval enable_$ac_feature=\$ac_optarg ;;
835 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
836 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
837 | --exec | --exe | --ex)
838 ac_prev=exec_prefix ;;
839 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
840 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
841 | --exec=* | --exe=* | --ex=*)
842 exec_prefix=$ac_optarg ;;
844 -gas | --gas | --ga | --g)
845 # Obsolete; use --with-gas.
848 -help | --help | --hel | --he | -h)
850 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
851 ac_init_help=recursive ;;
852 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
853 ac_init_help=short ;;
855 -host | --host | --hos | --ho)
856 ac_prev=host_alias ;;
857 -host=* | --host=* | --hos=* | --ho=*)
858 host_alias=$ac_optarg ;;
860 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
862 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
864 htmldir=$ac_optarg ;;
866 -includedir | --includedir | --includedi | --included | --include \
867 | --includ | --inclu | --incl | --inc)
868 ac_prev=includedir ;;
869 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
870 | --includ=* | --inclu=* | --incl=* | --inc=*)
871 includedir=$ac_optarg ;;
873 -infodir | --infodir | --infodi | --infod | --info | --inf)
875 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
876 infodir=$ac_optarg ;;
878 -libdir | --libdir | --libdi | --libd)
880 -libdir=* | --libdir=* | --libdi=* | --libd=*)
883 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
884 | --libexe | --libex | --libe)
885 ac_prev=libexecdir ;;
886 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
887 | --libexe=* | --libex=* | --libe=*)
888 libexecdir=$ac_optarg ;;
890 -localedir | --localedir | --localedi | --localed | --locale)
892 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
893 localedir=$ac_optarg ;;
895 -localstatedir | --localstatedir | --localstatedi | --localstated \
896 | --localstate | --localstat | --localsta | --localst | --locals)
897 ac_prev=localstatedir ;;
898 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
899 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
900 localstatedir=$ac_optarg ;;
902 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
904 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
908 # Obsolete; use --without-fp.
911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912 | --no-cr | --no-c | -n)
915 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
916 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
919 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
920 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
921 | --oldin | --oldi | --old | --ol | --o)
922 ac_prev=oldincludedir ;;
923 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
924 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
925 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
926 oldincludedir=$ac_optarg ;;
928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
933 -program-prefix | --program-prefix | --program-prefi | --program-pref \
934 | --program-pre | --program-pr | --program-p)
935 ac_prev=program_prefix ;;
936 -program-prefix=* | --program-prefix=* | --program-prefi=* \
937 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
938 program_prefix=$ac_optarg ;;
940 -program-suffix | --program-suffix | --program-suffi | --program-suff \
941 | --program-suf | --program-su | --program-s)
942 ac_prev=program_suffix ;;
943 -program-suffix=* | --program-suffix=* | --program-suffi=* \
944 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
945 program_suffix=$ac_optarg ;;
947 -program-transform-name | --program-transform-name \
948 | --program-transform-nam | --program-transform-na \
949 | --program-transform-n | --program-transform- \
950 | --program-transform | --program-transfor \
951 | --program-transfo | --program-transf \
952 | --program-trans | --program-tran \
953 | --progr-tra | --program-tr | --program-t)
954 ac_prev=program_transform_name ;;
955 -program-transform-name=* | --program-transform-name=* \
956 | --program-transform-nam=* | --program-transform-na=* \
957 | --program-transform-n=* | --program-transform-=* \
958 | --program-transform=* | --program-transfor=* \
959 | --program-transfo=* | --program-transf=* \
960 | --program-trans=* | --program-tran=* \
961 | --progr-tra=* | --program-tr=* | --program-t=*)
962 program_transform_name=$ac_optarg ;;
964 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
966 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
969 -psdir | --psdir | --psdi | --psd | --ps)
971 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
975 | -silent | --silent | --silen | --sile | --sil)
978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
982 sbindir=$ac_optarg ;;
984 -sharedstatedir | --sharedstatedir | --sharedstatedi \
985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
986 | --sharedst | --shareds | --shared | --share | --shar \
988 ac_prev=sharedstatedir ;;
989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
993 sharedstatedir=$ac_optarg ;;
995 -site | --site | --sit)
997 -site=* | --site=* | --sit=*)
1000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1003 srcdir=$ac_optarg ;;
1005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1006 | --syscon | --sysco | --sysc | --sys | --sy)
1007 ac_prev=sysconfdir ;;
1008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1010 sysconfdir=$ac_optarg ;;
1012 -target | --target | --targe | --targ | --tar | --ta | --t)
1013 ac_prev=target_alias ;;
1014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1015 target_alias=$ac_optarg ;;
1017 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1020 -version | --version | --versio | --versi | --vers | -V)
1021 ac_init_version=: ;;
1024 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1027 { echo "$as_me: error: invalid package name: $ac_package" >&2
1028 { (exit 1); exit 1; }; }
1029 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1030 eval with_$ac_package=\$ac_optarg ;;
1032 -without-* | --without-*)
1033 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1036 { echo "$as_me: error: invalid package name: $ac_package" >&2
1037 { (exit 1); exit 1; }; }
1038 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1039 eval with_$ac_package=no ;;
1042 # Obsolete; use --with-x.
1045 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1046 | --x-incl | --x-inc | --x-in | --x-i)
1047 ac_prev=x_includes ;;
1048 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1049 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1050 x_includes=$ac_optarg ;;
1052 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1053 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1054 ac_prev=x_libraries ;;
1055 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1056 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1057 x_libraries=$ac_optarg ;;
1059 -*) { echo "$as_me: error: unrecognized option: $ac_option
1060 Try \`$0 --help' for more information." >&2
1061 { (exit 1); exit 1; }; }
1065 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1068 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1069 { (exit 1); exit 1; }; }
1070 eval $ac_envvar=\$ac_optarg
1071 export $ac_envvar ;;
1074 # FIXME: should be removed in autoconf 3.0.
1075 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1076 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1077 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1078 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1084 if test -n "$ac_prev"; then
1085 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1086 { echo "$as_me: error: missing argument to $ac_option" >&2
1087 { (exit 1); exit 1; }; }
1090 # Be sure to have absolute directory names.
1091 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1092 datadir sysconfdir sharedstatedir localstatedir includedir \
1093 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1094 libdir localedir mandir
1096 eval ac_val=\$$ac_var
1098 [\\/$]* | ?:[\\/]* ) continue;;
1099 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1101 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1102 { (exit 1); exit 1; }; }
1105 # There might be people who depend on the old broken behavior: `$host'
1106 # used to hold the argument of --host etc.
1107 # FIXME: To remove some day.
1110 target=$target_alias
1112 # FIXME: To remove some day.
1113 if test "x$host_alias" != x; then
1114 if test "x$build_alias" = x; then
1115 cross_compiling=maybe
1116 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1117 If a cross compiler is detected then cross compile mode will be used." >&2
1118 elif test "x$build_alias" != "x$host_alias"; then
1124 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1126 test "$silent" = yes && exec 6>/dev/null
1129 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1130 ac_ls_di=`ls -di .` &&
1131 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1132 { echo "$as_me: error: Working directory cannot be determined" >&2
1133 { (exit 1); exit 1; }; }
1134 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1135 { echo "$as_me: error: pwd does not report name of working directory" >&2
1136 { (exit 1); exit 1; }; }
1139 # Find the source files, if location was not specified.
1140 if test -z "$srcdir"; then
1141 ac_srcdir_defaulted=yes
1142 # Try the directory containing this script, then the parent directory.
1143 ac_confdir=`$as_dirname -- "$0" ||
1144 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1145 X"$0" : 'X\(//\)[^/]' \| \
1146 X"$0" : 'X\(//\)$' \| \
1147 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1167 if test ! -r "$srcdir/$ac_unique_file"; then
1171 ac_srcdir_defaulted=no
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1174 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1175 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1176 { (exit 1); exit 1; }; }
1178 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1180 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1181 { (exit 1); exit 1; }; }
1183 # When building in place, set srcdir=.
1184 if test "$ac_abs_confdir" = "$ac_pwd"; then
1187 # Remove unnecessary trailing slashes from srcdir.
1188 # Double slashes in file names in object file debugging info
1189 # mess up M-x gdb in Emacs.
1191 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1193 for ac_var in $ac_precious_vars; do
1194 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1195 eval ac_env_${ac_var}_value=\$${ac_var}
1196 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1197 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1201 # Report the --help message.
1203 if test "$ac_init_help" = "long"; then
1204 # Omit some internal or obsolete options to make the list less imposing.
1205 # This message is too long to be a string in the A/UX 3.1 sh.
1207 \`configure' configures this package to adapt to many kinds of systems.
1209 Usage: $0 [OPTION]... [VAR=VALUE]...
1211 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1212 VAR=VALUE. See below for descriptions of some of the useful variables.
1214 Defaults for the options are specified in brackets.
1217 -h, --help display this help and exit
1218 --help=short display options specific to this package
1219 --help=recursive display the short help of all the included packages
1220 -V, --version display version information and exit
1221 -q, --quiet, --silent do not print \`checking...' messages
1222 --cache-file=FILE cache test results in FILE [disabled]
1223 -C, --config-cache alias for \`--cache-file=config.cache'
1224 -n, --no-create do not create output files
1225 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1227 Installation directories:
1228 --prefix=PREFIX install architecture-independent files in PREFIX
1229 [$ac_default_prefix]
1230 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1233 By default, \`make install' will install all the files in
1234 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1235 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1236 for instance \`--prefix=\$HOME'.
1238 For better control, use the options below.
1240 Fine tuning of the installation directories:
1241 --bindir=DIR user executables [EPREFIX/bin]
1242 --sbindir=DIR system admin executables [EPREFIX/sbin]
1243 --libexecdir=DIR program executables [EPREFIX/libexec]
1244 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1245 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1246 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1247 --libdir=DIR object code libraries [EPREFIX/lib]
1248 --includedir=DIR C header files [PREFIX/include]
1249 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1250 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1251 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1252 --infodir=DIR info documentation [DATAROOTDIR/info]
1253 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1254 --mandir=DIR man documentation [DATAROOTDIR/man]
1255 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1256 --htmldir=DIR html documentation [DOCDIR]
1257 --dvidir=DIR dvi documentation [DOCDIR]
1258 --pdfdir=DIR pdf documentation [DOCDIR]
1259 --psdir=DIR ps documentation [DOCDIR]
1266 if test -n "$ac_init_help"; then
1271 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1272 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1273 --with-proper=<directory> proper installed in <directory>
1274 --with-mysql=<directory> mysql installed in <directory>
1275 --with-mysql-log-ip-as-string log IPs as string rather than as
1276 unsigned long-integer.
1278 --with-libxml=<directory> libxml2 installed in <directory>
1279 --with-zookeeperlib=<directory> zookeeper shared object located in <directory>
1280 --with-pgsql=<directory> pgsql installed in <directory>
1281 --with-pgsql-log-ip-as-string log IPs as string rather than as interger
1283 --with-sqlite3=<directory> sqlite3 installed in <directory>
1284 --with-sqlite3-log-ip-as-string log IPs as string rather than as
1285 unsigned long-integer.
1288 Some influential environment variables:
1289 CC C compiler command
1290 CFLAGS C compiler flags
1291 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1292 nonstandard directory <lib dir>
1293 LIBS libraries to pass to the linker, e.g. -l<library>
1294 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1295 you have headers in a nonstandard directory <include dir>
1298 Use these variables to override the choices made by `configure' or to help
1299 it to find libraries and programs with nonstandard names/locations.
1305 if test "$ac_init_help" = "recursive"; then
1306 # If there are subdirs, report their specific --help.
1307 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1308 test -d "$ac_dir" || continue
1312 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1314 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1315 # A ".." for each directory in $ac_dir_suffix.
1316 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1317 case $ac_top_builddir_sub in
1318 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1319 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1322 ac_abs_top_builddir=$ac_pwd
1323 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1324 # for backward compatibility:
1325 ac_top_builddir=$ac_top_build_prefix
1328 .) # We are building in place.
1330 ac_top_srcdir=$ac_top_builddir_sub
1331 ac_abs_top_srcdir=$ac_pwd ;;
1332 [\\/]* | ?:[\\/]* ) # Absolute name.
1333 ac_srcdir=$srcdir$ac_dir_suffix;
1334 ac_top_srcdir=$srcdir
1335 ac_abs_top_srcdir=$srcdir ;;
1337 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1338 ac_top_srcdir=$ac_top_build_prefix$srcdir
1339 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1341 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1343 cd "$ac_dir" || { ac_status=$?; continue; }
1344 # Check for guested configure.
1345 if test -f "$ac_srcdir/configure.gnu"; then
1347 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1348 elif test -f "$ac_srcdir/configure"; then
1350 $SHELL "$ac_srcdir/configure" --help=recursive
1352 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1354 cd "$ac_pwd" || { ac_status=$?; break; }
1358 test -n "$ac_init_help" && exit $ac_status
1359 if $ac_init_version; then
1362 generated by GNU Autoconf 2.61
1364 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1365 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1366 This configure script is free software; the Free Software Foundation
1367 gives unlimited permission to copy, distribute and modify it.
1371 cat >config.log <<_ACEOF
1372 This file contains any messages produced by compilers while
1373 running configure, to aid debugging if configure makes a mistake.
1375 It was created by $as_me, which was
1376 generated by GNU Autoconf 2.61. Invocation command line was
1388 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1389 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1390 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1391 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1392 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1394 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1395 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1397 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1398 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1399 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1400 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1401 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1402 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1403 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1411 test -z "$as_dir" && as_dir=.
1412 echo "PATH: $as_dir"
1428 # Keep a trace of the command line.
1429 # Strip out --no-create and --no-recursion so they do not pile up.
1430 # Strip out --silent because we don't want to record it for future runs.
1431 # Also quote any args containing shell meta-characters.
1432 # Make two passes to allow for proper duplicate-argument suppression.
1436 ac_must_keep_next=false
1442 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1443 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1444 | -silent | --silent | --silen | --sile | --sil)
1447 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1450 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1452 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1453 if test $ac_must_keep_next = true; then
1454 ac_must_keep_next=false # Got value, back to normal.
1457 *=* | --config-cache | -C | -disable-* | --disable-* \
1458 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1459 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1460 | -with-* | --with-* | -without-* | --without-* | --x)
1461 case "$ac_configure_args0 " in
1462 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1465 -* ) ac_must_keep_next=true ;;
1468 ac_configure_args="$ac_configure_args '$ac_arg'"
1473 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1474 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1476 # When interrupted or exit'd, cleanup temporary files, and complete
1477 # config.log. We remove comments because anyway the quotes in there
1478 # would cause problems or look ugly.
1479 # WARNING: Use '\'' to represent an apostrophe within the trap.
1480 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1481 trap 'exit_status=$?
1482 # Save into config.log some information that might help in debugging.
1487 ## ---------------- ##
1488 ## Cache variables. ##
1489 ## ---------------- ##
1492 # The following way of writing the cache mishandles newlines in values,
1494 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1495 eval ac_val=\$$ac_var
1499 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1500 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1503 _ | IFS | as_nl) ;; #(
1504 *) $as_unset $ac_var ;;
1509 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1510 *${as_nl}ac_space=\ *)
1512 "s/'\''/'\''\\\\'\'''\''/g;
1513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1516 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1524 ## ----------------- ##
1525 ## Output variables. ##
1526 ## ----------------- ##
1529 for ac_var in $ac_subst_vars
1531 eval ac_val=\$$ac_var
1533 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1535 echo "$ac_var='\''$ac_val'\''"
1539 if test -n "$ac_subst_files"; then
1541 ## ------------------- ##
1542 ## File substitutions. ##
1543 ## ------------------- ##
1546 for ac_var in $ac_subst_files
1548 eval ac_val=\$$ac_var
1550 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1552 echo "$ac_var='\''$ac_val'\''"
1557 if test -s confdefs.h; then
1567 test "$ac_signal" != 0 &&
1568 echo "$as_me: caught signal $ac_signal"
1569 echo "$as_me: exit $exit_status"
1571 rm -f core *.core core.conftest.* &&
1572 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1575 for ac_signal in 1 2 13 15; do
1576 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1580 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1581 rm -f -r conftest* confdefs.h
1583 # Predefined preprocessor variables.
1585 cat >>confdefs.h <<_ACEOF
1586 #define PACKAGE_NAME "$PACKAGE_NAME"
1590 cat >>confdefs.h <<_ACEOF
1591 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1595 cat >>confdefs.h <<_ACEOF
1596 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1600 cat >>confdefs.h <<_ACEOF
1601 #define PACKAGE_STRING "$PACKAGE_STRING"
1605 cat >>confdefs.h <<_ACEOF
1606 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1610 # Let the site file select an alternate cache file if it wants to.
1611 # Prefer explicitly selected file to automatically selected ones.
1612 if test -n "$CONFIG_SITE"; then
1613 set x "$CONFIG_SITE"
1614 elif test "x$prefix" != xNONE; then
1615 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1617 set x "$ac_default_prefix/share/config.site" \
1618 "$ac_default_prefix/etc/config.site"
1623 if test -r "$ac_site_file"; then
1624 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1625 echo "$as_me: loading site script $ac_site_file" >&6;}
1626 sed 's/^/| /' "$ac_site_file" >&5
1631 if test -r "$cache_file"; then
1632 # Some versions of bash will fail to source /dev/null (special
1633 # files actually), so we avoid doing that.
1634 if test -f "$cache_file"; then
1635 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1636 echo "$as_me: loading cache $cache_file" >&6;}
1638 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1639 *) . "./$cache_file";;
1643 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1644 echo "$as_me: creating cache $cache_file" >&6;}
1648 # Check that the precious variables saved in the cache have kept the same
1650 ac_cache_corrupted=false
1651 for ac_var in $ac_precious_vars; do
1652 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1653 eval ac_new_set=\$ac_env_${ac_var}_set
1654 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1655 eval ac_new_val=\$ac_env_${ac_var}_value
1656 case $ac_old_set,$ac_new_set in
1658 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1659 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1660 ac_cache_corrupted=: ;;
1662 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1663 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1664 ac_cache_corrupted=: ;;
1667 if test "x$ac_old_val" != "x$ac_new_val"; then
1668 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1669 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1670 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1671 echo "$as_me: former value: $ac_old_val" >&2;}
1672 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1673 echo "$as_me: current value: $ac_new_val" >&2;}
1674 ac_cache_corrupted=:
1677 # Pass precious variables to config.status.
1678 if test "$ac_new_set" = set; then
1680 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1681 *) ac_arg=$ac_var=$ac_new_val ;;
1683 case " $ac_configure_args " in
1684 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1685 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1689 if $ac_cache_corrupted; then
1690 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1691 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1692 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1693 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1694 { (exit 1); exit 1; }; }
1714 ac_cpp='$CPP $CPPFLAGS'
1715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1721 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1722 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1723 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1724 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1725 echo $ECHO_N "(cached) $ECHO_C" >&6
1727 cat >conftest.make <<\_ACEOF
1730 @echo '@@@%%%=$(MAKE)=@@@%%%'
1732 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1733 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1735 eval ac_cv_prog_make_${ac_make}_set=yes;;
1737 eval ac_cv_prog_make_${ac_make}_set=no;;
1741 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1742 { echo "$as_me:$LINENO: result: yes" >&5
1743 echo "${ECHO_T}yes" >&6; }
1746 { echo "$as_me:$LINENO: result: no" >&5
1747 echo "${ECHO_T}no" >&6; }
1748 SET_MAKE="MAKE=${MAKE-make}"
1752 ac_cpp='$CPP $CPPFLAGS'
1753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1756 if test -n "$ac_tool_prefix"; then
1757 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1758 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1761 if test "${ac_cv_prog_CC+set}" = set; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1764 if test -n "$CC"; then
1765 ac_cv_prog_CC="$CC" # Let the user override the test.
1767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1771 test -z "$as_dir" && as_dir=.
1772 for ac_exec_ext in '' $ac_executable_extensions; do
1773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1774 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785 if test -n "$CC"; then
1786 { echo "$as_me:$LINENO: result: $CC" >&5
1787 echo "${ECHO_T}$CC" >&6; }
1789 { echo "$as_me:$LINENO: result: no" >&5
1790 echo "${ECHO_T}no" >&6; }
1795 if test -z "$ac_cv_prog_CC"; then
1797 # Extract the first word of "gcc", so it can be a program name with args.
1798 set dummy gcc; ac_word=$2
1799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1802 echo $ECHO_N "(cached) $ECHO_C" >&6
1804 if test -n "$ac_ct_CC"; then
1805 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811 test -z "$as_dir" && as_dir=.
1812 for ac_exec_ext in '' $ac_executable_extensions; do
1813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1814 ac_cv_prog_ac_ct_CC="gcc"
1815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1824 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1825 if test -n "$ac_ct_CC"; then
1826 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1827 echo "${ECHO_T}$ac_ct_CC" >&6; }
1829 { echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6; }
1833 if test "x$ac_ct_CC" = x; then
1836 case $cross_compiling:$ac_tool_warned in
1838 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1839 whose name does not start with the host triplet. If you think this
1840 configuration is useful to you, please write to autoconf@gnu.org." >&5
1841 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1842 whose name does not start with the host triplet. If you think this
1843 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1844 ac_tool_warned=yes ;;
1852 if test -z "$CC"; then
1853 if test -n "$ac_tool_prefix"; then
1854 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1855 set dummy ${ac_tool_prefix}cc; ac_word=$2
1856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1858 if test "${ac_cv_prog_CC+set}" = set; then
1859 echo $ECHO_N "(cached) $ECHO_C" >&6
1861 if test -n "$CC"; then
1862 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 ac_cv_prog_CC="${ac_tool_prefix}cc"
1872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1882 if test -n "$CC"; then
1883 { echo "$as_me:$LINENO: result: $CC" >&5
1884 echo "${ECHO_T}$CC" >&6; }
1886 { echo "$as_me:$LINENO: result: no" >&5
1887 echo "${ECHO_T}no" >&6; }
1893 if test -z "$CC"; then
1894 # Extract the first word of "cc", so it can be a program name with args.
1895 set dummy cc; ac_word=$2
1896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1898 if test "${ac_cv_prog_CC+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 if test -n "$CC"; then
1902 ac_cv_prog_CC="$CC" # Let the user override the test.
1905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1909 test -z "$as_dir" && as_dir=.
1910 for ac_exec_ext in '' $ac_executable_extensions; do
1911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1912 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1913 ac_prog_rejected=yes
1917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1924 if test $ac_prog_rejected = yes; then
1925 # We found a bogon in the path, so make sure we never use it.
1926 set dummy $ac_cv_prog_CC
1928 if test $# != 0; then
1929 # We chose a different compiler from the bogus one.
1930 # However, it has the same basename, so the bogon will be chosen
1931 # first if we set CC to just the basename; use the full file name.
1933 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1939 if test -n "$CC"; then
1940 { echo "$as_me:$LINENO: result: $CC" >&5
1941 echo "${ECHO_T}$CC" >&6; }
1943 { echo "$as_me:$LINENO: result: no" >&5
1944 echo "${ECHO_T}no" >&6; }
1949 if test -z "$CC"; then
1950 if test -n "$ac_tool_prefix"; then
1951 for ac_prog in cl.exe
1953 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1954 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1957 if test "${ac_cv_prog_CC+set}" = set; then
1958 echo $ECHO_N "(cached) $ECHO_C" >&6
1960 if test -n "$CC"; then
1961 ac_cv_prog_CC="$CC" # Let the user override the test.
1963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 test -z "$as_dir" && as_dir=.
1968 for ac_exec_ext in '' $ac_executable_extensions; do
1969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1970 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981 if test -n "$CC"; then
1982 { echo "$as_me:$LINENO: result: $CC" >&5
1983 echo "${ECHO_T}$CC" >&6; }
1985 { echo "$as_me:$LINENO: result: no" >&5
1986 echo "${ECHO_T}no" >&6; }
1990 test -n "$CC" && break
1993 if test -z "$CC"; then
1995 for ac_prog in cl.exe
1997 # Extract the first word of "$ac_prog", so it can be a program name with args.
1998 set dummy $ac_prog; ac_word=$2
1999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2001 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2002 echo $ECHO_N "(cached) $ECHO_C" >&6
2004 if test -n "$ac_ct_CC"; then
2005 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2011 test -z "$as_dir" && as_dir=.
2012 for ac_exec_ext in '' $ac_executable_extensions; do
2013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2014 ac_cv_prog_ac_ct_CC="$ac_prog"
2015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2024 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2025 if test -n "$ac_ct_CC"; then
2026 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2027 echo "${ECHO_T}$ac_ct_CC" >&6; }
2029 { echo "$as_me:$LINENO: result: no" >&5
2030 echo "${ECHO_T}no" >&6; }
2034 test -n "$ac_ct_CC" && break
2037 if test "x$ac_ct_CC" = x; then
2040 case $cross_compiling:$ac_tool_warned in
2042 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2043 whose name does not start with the host triplet. If you think this
2044 configuration is useful to you, please write to autoconf@gnu.org." >&5
2045 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2046 whose name does not start with the host triplet. If you think this
2047 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2048 ac_tool_warned=yes ;;
2057 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2058 See \`config.log' for more details." >&5
2059 echo "$as_me: error: no acceptable C compiler found in \$PATH
2060 See \`config.log' for more details." >&2;}
2061 { (exit 1); exit 1; }; }
2063 # Provide some information about the compiler.
2064 echo "$as_me:$LINENO: checking for C compiler version" >&5
2065 ac_compiler=`set X $ac_compile; echo $2`
2066 { (ac_try="$ac_compiler --version >&5"
2068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2069 *) ac_try_echo=$ac_try;;
2071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2072 (eval "$ac_compiler --version >&5") 2>&5
2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075 (exit $ac_status); }
2076 { (ac_try="$ac_compiler -v >&5"
2078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2079 *) ac_try_echo=$ac_try;;
2081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2082 (eval "$ac_compiler -v >&5") 2>&5
2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085 (exit $ac_status); }
2086 { (ac_try="$ac_compiler -V >&5"
2088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2089 *) ac_try_echo=$ac_try;;
2091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2092 (eval "$ac_compiler -V >&5") 2>&5
2094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2095 (exit $ac_status); }
2097 cat >conftest.$ac_ext <<_ACEOF
2100 cat confdefs.h >>conftest.$ac_ext
2101 cat >>conftest.$ac_ext <<_ACEOF
2102 /* end confdefs.h. */
2112 ac_clean_files_save=$ac_clean_files
2113 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2114 # Try to create an executable without -o first, disregard a.out.
2115 # It will help us diagnose broken compilers, and finding out an intuition
2117 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2118 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2119 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2121 # List of possible output files, starting from the most likely.
2122 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2123 # only as a last resort. b.out is created by i960 compilers.
2124 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2126 # The IRIX 6 linker writes into existing files which may not be
2127 # executable, retaining their permissions. Remove them first so a
2128 # subsequent execution test works.
2130 for ac_file in $ac_files
2133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2134 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2139 if { (ac_try="$ac_link_default"
2141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2142 *) ac_try_echo=$ac_try;;
2144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2145 (eval "$ac_link_default") 2>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); }; then
2149 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2150 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2151 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2152 # so that the user can short-circuit this test for compilers unknown to
2154 for ac_file in $ac_files ''
2156 test -f "$ac_file" || continue
2158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2161 # We found the default executable, but exeext='' is most
2165 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2167 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2169 # We set ac_cv_exeext here because the later test for it is not
2170 # safe: cross compilers may not add the suffix if given an `-o'
2171 # argument, so we may need to know it at that point already.
2172 # Even if this section looks crufty: it has the advantage of
2179 test "$ac_cv_exeext" = no && ac_cv_exeext=
2185 { echo "$as_me:$LINENO: result: $ac_file" >&5
2186 echo "${ECHO_T}$ac_file" >&6; }
2187 if test -z "$ac_file"; then
2188 echo "$as_me: failed program was:" >&5
2189 sed 's/^/| /' conftest.$ac_ext >&5
2191 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2192 See \`config.log' for more details." >&5
2193 echo "$as_me: error: C compiler cannot create executables
2194 See \`config.log' for more details." >&2;}
2195 { (exit 77); exit 77; }; }
2198 ac_exeext=$ac_cv_exeext
2200 # Check that the compiler produces executables we can run. If not, either
2201 # the compiler is broken, or we cross compile.
2202 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2203 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2204 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2205 # If not cross compiling, check that we can run a simple program.
2206 if test "$cross_compiling" != yes; then
2207 if { ac_try='./$ac_file'
2208 { (case "(($ac_try" in
2209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2210 *) ac_try_echo=$ac_try;;
2212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2213 (eval "$ac_try") 2>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; }; then
2219 if test "$cross_compiling" = maybe; then
2222 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2223 If you meant to cross compile, use \`--host'.
2224 See \`config.log' for more details." >&5
2225 echo "$as_me: error: cannot run C compiled programs.
2226 If you meant to cross compile, use \`--host'.
2227 See \`config.log' for more details." >&2;}
2228 { (exit 1); exit 1; }; }
2232 { echo "$as_me:$LINENO: result: yes" >&5
2233 echo "${ECHO_T}yes" >&6; }
2235 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2236 ac_clean_files=$ac_clean_files_save
2237 # Check that the compiler produces executables we can run. If not, either
2238 # the compiler is broken, or we cross compile.
2239 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2240 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2241 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2242 echo "${ECHO_T}$cross_compiling" >&6; }
2244 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2245 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2246 if { (ac_try="$ac_link"
2248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2249 *) ac_try_echo=$ac_try;;
2251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2252 (eval "$ac_link") 2>&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); }; then
2256 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2257 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2258 # work properly (i.e., refer to `conftest.exe'), while it won't with
2260 for ac_file in conftest.exe conftest conftest.*; do
2261 test -f "$ac_file" || continue
2263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2264 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2270 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2271 See \`config.log' for more details." >&5
2272 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2273 See \`config.log' for more details." >&2;}
2274 { (exit 1); exit 1; }; }
2277 rm -f conftest$ac_cv_exeext
2278 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2279 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2281 rm -f conftest.$ac_ext
2282 EXEEXT=$ac_cv_exeext
2284 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2285 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2286 if test "${ac_cv_objext+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 cat >conftest.$ac_ext <<_ACEOF
2292 cat confdefs.h >>conftest.$ac_ext
2293 cat >>conftest.$ac_ext <<_ACEOF
2294 /* end confdefs.h. */
2304 rm -f conftest.o conftest.obj
2305 if { (ac_try="$ac_compile"
2307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2308 *) ac_try_echo=$ac_try;;
2310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2311 (eval "$ac_compile") 2>&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); }; then
2315 for ac_file in conftest.o conftest.obj conftest.*; do
2316 test -f "$ac_file" || continue;
2318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2319 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2324 echo "$as_me: failed program was:" >&5
2325 sed 's/^/| /' conftest.$ac_ext >&5
2327 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2328 See \`config.log' for more details." >&5
2329 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2330 See \`config.log' for more details." >&2;}
2331 { (exit 1); exit 1; }; }
2334 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2336 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2337 echo "${ECHO_T}$ac_cv_objext" >&6; }
2338 OBJEXT=$ac_cv_objext
2340 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2341 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2342 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 cat >conftest.$ac_ext <<_ACEOF
2348 cat confdefs.h >>conftest.$ac_ext
2349 cat >>conftest.$ac_ext <<_ACEOF
2350 /* end confdefs.h. */
2363 rm -f conftest.$ac_objext
2364 if { (ac_try="$ac_compile"
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370 (eval "$ac_compile") 2>conftest.er1
2372 grep -v '^ *+' conftest.er1 >conftest.err
2374 cat conftest.err >&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); } && {
2377 test -z "$ac_c_werror_flag" ||
2378 test ! -s conftest.err
2379 } && test -s conftest.$ac_objext; then
2382 echo "$as_me: failed program was:" >&5
2383 sed 's/^/| /' conftest.$ac_ext >&5
2388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2389 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2392 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2393 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2394 GCC=`test $ac_compiler_gnu = yes && echo yes`
2395 ac_test_CFLAGS=${CFLAGS+set}
2396 ac_save_CFLAGS=$CFLAGS
2397 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2398 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2399 if test "${ac_cv_prog_cc_g+set}" = set; then
2400 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 ac_save_c_werror_flag=$ac_c_werror_flag
2403 ac_c_werror_flag=yes
2406 cat >conftest.$ac_ext <<_ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2421 rm -f conftest.$ac_objext
2422 if { (ac_try="$ac_compile"
2424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2425 *) ac_try_echo=$ac_try;;
2427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2428 (eval "$ac_compile") 2>conftest.er1
2430 grep -v '^ *+' conftest.er1 >conftest.err
2432 cat conftest.err >&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); } && {
2435 test -z "$ac_c_werror_flag" ||
2436 test ! -s conftest.err
2437 } && test -s conftest.$ac_objext; then
2440 echo "$as_me: failed program was:" >&5
2441 sed 's/^/| /' conftest.$ac_ext >&5
2444 cat >conftest.$ac_ext <<_ACEOF
2447 cat confdefs.h >>conftest.$ac_ext
2448 cat >>conftest.$ac_ext <<_ACEOF
2449 /* end confdefs.h. */
2459 rm -f conftest.$ac_objext
2460 if { (ac_try="$ac_compile"
2462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2463 *) ac_try_echo=$ac_try;;
2465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2466 (eval "$ac_compile") 2>conftest.er1
2468 grep -v '^ *+' conftest.er1 >conftest.err
2470 cat conftest.err >&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); } && {
2473 test -z "$ac_c_werror_flag" ||
2474 test ! -s conftest.err
2475 } && test -s conftest.$ac_objext; then
2478 echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.$ac_ext >&5
2481 ac_c_werror_flag=$ac_save_c_werror_flag
2483 cat >conftest.$ac_ext <<_ACEOF
2486 cat confdefs.h >>conftest.$ac_ext
2487 cat >>conftest.$ac_ext <<_ACEOF
2488 /* end confdefs.h. */
2498 rm -f conftest.$ac_objext
2499 if { (ac_try="$ac_compile"
2501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2502 *) ac_try_echo=$ac_try;;
2504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2505 (eval "$ac_compile") 2>conftest.er1
2507 grep -v '^ *+' conftest.er1 >conftest.err
2509 cat conftest.err >&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); } && {
2512 test -z "$ac_c_werror_flag" ||
2513 test ! -s conftest.err
2514 } && test -s conftest.$ac_objext; then
2517 echo "$as_me: failed program was:" >&5
2518 sed 's/^/| /' conftest.$ac_ext >&5
2523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2530 ac_c_werror_flag=$ac_save_c_werror_flag
2532 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2533 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2534 if test "$ac_test_CFLAGS" = set; then
2535 CFLAGS=$ac_save_CFLAGS
2536 elif test $ac_cv_prog_cc_g = yes; then
2537 if test "$GCC" = yes; then
2543 if test "$GCC" = yes; then
2549 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2550 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2551 if test "${ac_cv_prog_cc_c89+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2554 ac_cv_prog_cc_c89=no
2556 cat >conftest.$ac_ext <<_ACEOF
2559 cat confdefs.h >>conftest.$ac_ext
2560 cat >>conftest.$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2564 #include <sys/types.h>
2565 #include <sys/stat.h>
2566 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2567 struct buf { int x; };
2568 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2569 static char *e (p, i)
2575 static char *f (char * (*g) (char **, int), char **p, ...)
2580 s = g (p, va_arg (v,int));
2585 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2586 function prototypes and stuff, but not '\xHH' hex character constants.
2587 These don't provoke an error unfortunately, instead are silently treated
2588 as 'x'. The following induces an error, until -std is added to get
2589 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2590 array size at least. It's necessary to write '\x00'==0 to get something
2591 that's true only with -std. */
2592 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2594 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2595 inside strings and character constants. */
2597 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2599 int test (int i, double x);
2600 struct s1 {int (*f) (int a);};
2601 struct s2 {int (*f) (double a);};
2602 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2608 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2613 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2614 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2616 CC="$ac_save_CC $ac_arg"
2617 rm -f conftest.$ac_objext
2618 if { (ac_try="$ac_compile"
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624 (eval "$ac_compile") 2>conftest.er1
2626 grep -v '^ *+' conftest.er1 >conftest.err
2628 cat conftest.err >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } && {
2631 test -z "$ac_c_werror_flag" ||
2632 test ! -s conftest.err
2633 } && test -s conftest.$ac_objext; then
2634 ac_cv_prog_cc_c89=$ac_arg
2636 echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.$ac_ext >&5
2642 rm -f core conftest.err conftest.$ac_objext
2643 test "x$ac_cv_prog_cc_c89" != "xno" && break
2645 rm -f conftest.$ac_ext
2650 case "x$ac_cv_prog_cc_c89" in
2652 { echo "$as_me:$LINENO: result: none needed" >&5
2653 echo "${ECHO_T}none needed" >&6; } ;;
2655 { echo "$as_me:$LINENO: result: unsupported" >&5
2656 echo "${ECHO_T}unsupported" >&6; } ;;
2658 CC="$CC $ac_cv_prog_cc_c89"
2659 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2660 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2665 ac_cpp='$CPP $CPPFLAGS'
2666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2670 if test -n "$ac_tool_prefix"; then
2671 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2672 set dummy ${ac_tool_prefix}ld; ac_word=$2
2673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2675 if test "${ac_cv_prog_LD+set}" = set; then
2676 echo $ECHO_N "(cached) $ECHO_C" >&6
2678 if test -n "$LD"; then
2679 ac_cv_prog_LD="$LD" # Let the user override the test.
2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685 test -z "$as_dir" && as_dir=.
2686 for ac_exec_ext in '' $ac_executable_extensions; do
2687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2688 ac_cv_prog_LD="${ac_tool_prefix}ld"
2689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 if test -n "$LD"; then
2700 { echo "$as_me:$LINENO: result: $LD" >&5
2701 echo "${ECHO_T}$LD" >&6; }
2703 { echo "$as_me:$LINENO: result: no" >&5
2704 echo "${ECHO_T}no" >&6; }
2709 if test -z "$ac_cv_prog_LD"; then
2711 # Extract the first word of "ld", so it can be a program name with args.
2712 set dummy ld; ac_word=$2
2713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2715 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 if test -n "$ac_ct_LD"; then
2719 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 test -z "$as_dir" && as_dir=.
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2728 ac_cv_prog_ac_ct_LD="ld"
2729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2739 if test -n "$ac_ct_LD"; then
2740 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2741 echo "${ECHO_T}$ac_ct_LD" >&6; }
2743 { echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6; }
2747 if test "x$ac_ct_LD" = x; then
2750 case $cross_compiling:$ac_tool_warned in
2752 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2753 whose name does not start with the host triplet. If you think this
2754 configuration is useful to you, please write to autoconf@gnu.org." >&5
2755 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2756 whose name does not start with the host triplet. If you think this
2757 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2758 ac_tool_warned=yes ;;
2767 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2768 if test -f "$ac_dir/install-sh"; then
2770 ac_install_sh="$ac_aux_dir/install-sh -c"
2772 elif test -f "$ac_dir/install.sh"; then
2774 ac_install_sh="$ac_aux_dir/install.sh -c"
2776 elif test -f "$ac_dir/shtool"; then
2778 ac_install_sh="$ac_aux_dir/shtool install -c"
2782 if test -z "$ac_aux_dir"; then
2783 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2784 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2785 { (exit 1); exit 1; }; }
2788 # These three variables are undocumented and unsupported,
2789 # and are intended to be withdrawn in a future Autoconf release.
2790 # They can cause serious problems if a builder's source tree is in a directory
2791 # whose full name contains unusual characters.
2792 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2793 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2794 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2797 # Find a good install program. We prefer a C program (faster),
2798 # so one script is as good as another. But avoid the broken or
2799 # incompatible versions:
2800 # SysV /etc/install, /usr/sbin/install
2801 # SunOS /usr/etc/install
2802 # IRIX /sbin/install
2804 # AmigaOS /C/install, which installs bootblocks on floppy discs
2805 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2806 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2807 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2808 # OS/2's system install, which has a completely different semantic
2809 # ./install, which can be erroneously created by make from ./install.sh.
2810 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2811 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2812 if test -z "$INSTALL"; then
2813 if test "${ac_cv_path_install+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir=.
2821 # Account for people who put trailing slashes in PATH elements.
2823 ./ | .// | /cC/* | \
2824 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2825 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2828 # OSF1 and SCO ODT 3.0 have their own names for install.
2829 # Don't use installbsd from OSF since it installs stuff as root
2831 for ac_prog in ginstall scoinst install; do
2832 for ac_exec_ext in '' $ac_executable_extensions; do
2833 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2834 if test $ac_prog = install &&
2835 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2836 # AIX install. It has an incompatible calling convention.
2838 elif test $ac_prog = install &&
2839 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2840 # program-specific install script used by HP pwplus--don't use.
2843 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2856 if test "${ac_cv_path_install+set}" = set; then
2857 INSTALL=$ac_cv_path_install
2859 # As a last resort, use the slow shell script. Don't cache a
2860 # value for INSTALL within a source directory, because that will
2861 # break other packages using the cache if that directory is
2862 # removed, or if the value is a relative name.
2863 INSTALL=$ac_install_sh
2866 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2867 echo "${ECHO_T}$INSTALL" >&6; }
2869 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2870 # It thinks the first close brace ends the variable substitution.
2871 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2873 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2875 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2880 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
2881 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
2882 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 ac_check_lib_save_LIBS=$LIBS
2887 cat >conftest.$ac_ext <<_ACEOF
2890 cat confdefs.h >>conftest.$ac_ext
2891 cat >>conftest.$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2894 /* Override any GCC internal prototype to avoid an error.
2895 Use char because int might match the return type of a GCC
2896 builtin and then its argument prototype would still apply. */
2909 rm -f conftest.$ac_objext conftest$ac_exeext
2910 if { (ac_try="$ac_link"
2912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2916 (eval "$ac_link") 2>conftest.er1
2918 grep -v '^ *+' conftest.er1 >conftest.err
2920 cat conftest.err >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } && {
2923 test -z "$ac_c_werror_flag" ||
2924 test ! -s conftest.err
2925 } && test -s conftest$ac_exeext &&
2926 $as_test_x conftest$ac_exeext; then
2927 ac_cv_lib_dl_dlopen=yes
2929 echo "$as_me: failed program was:" >&5
2930 sed 's/^/| /' conftest.$ac_ext >&5
2932 ac_cv_lib_dl_dlopen=no
2935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2936 conftest$ac_exeext conftest.$ac_ext
2937 LIBS=$ac_check_lib_save_LIBS
2939 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
2940 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
2941 if test $ac_cv_lib_dl_dlopen = yes; then
2942 cat >>confdefs.h <<_ACEOF
2943 #define HAVE_LIBDL 1
2951 ac_cpp='$CPP $CPPFLAGS'
2952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2955 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2956 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2957 # On Suns, sometimes $CPP names a directory.
2958 if test -n "$CPP" && test -d "$CPP"; then
2961 if test -z "$CPP"; then
2962 if test "${ac_cv_prog_CPP+set}" = set; then
2963 echo $ECHO_N "(cached) $ECHO_C" >&6
2965 # Double quotes because CPP needs to be expanded
2966 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2969 for ac_c_preproc_warn_flag in '' yes
2971 # Use a header file that comes with gcc, so configuring glibc
2972 # with a fresh cross-compiler works.
2973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2974 # <limits.h> exists even on freestanding compilers.
2975 # On the NeXT, cc -E runs the code through the compiler's parser,
2976 # not just through cpp. "Syntax error" is here to catch this case.
2977 cat >conftest.$ac_ext <<_ACEOF
2980 cat confdefs.h >>conftest.$ac_ext
2981 cat >>conftest.$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2984 # include <limits.h>
2986 # include <assert.h>
2990 if { (ac_try="$ac_cpp conftest.$ac_ext"
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2996 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2998 grep -v '^ *+' conftest.er1 >conftest.err
3000 cat conftest.err >&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); } >/dev/null && {
3003 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3004 test ! -s conftest.err
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3011 # Broken: fails on valid input.
3015 rm -f conftest.err conftest.$ac_ext
3017 # OK, works on sane cases. Now check whether nonexistent headers
3018 # can be detected and how.
3019 cat >conftest.$ac_ext <<_ACEOF
3022 cat confdefs.h >>conftest.$ac_ext
3023 cat >>conftest.$ac_ext <<_ACEOF
3024 /* end confdefs.h. */
3025 #include <ac_nonexistent.h>
3027 if { (ac_try="$ac_cpp conftest.$ac_ext"
3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3035 grep -v '^ *+' conftest.er1 >conftest.err
3037 cat conftest.err >&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); } >/dev/null && {
3040 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3041 test ! -s conftest.err
3043 # Broken: success on invalid input.
3046 echo "$as_me: failed program was:" >&5
3047 sed 's/^/| /' conftest.$ac_ext >&5
3049 # Passes both tests.
3054 rm -f conftest.err conftest.$ac_ext
3057 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3058 rm -f conftest.err conftest.$ac_ext
3059 if $ac_preproc_ok; then
3071 { echo "$as_me:$LINENO: result: $CPP" >&5
3072 echo "${ECHO_T}$CPP" >&6; }
3074 for ac_c_preproc_warn_flag in '' yes
3076 # Use a header file that comes with gcc, so configuring glibc
3077 # with a fresh cross-compiler works.
3078 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3079 # <limits.h> exists even on freestanding compilers.
3080 # On the NeXT, cc -E runs the code through the compiler's parser,
3081 # not just through cpp. "Syntax error" is here to catch this case.
3082 cat >conftest.$ac_ext <<_ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3089 # include <limits.h>
3091 # include <assert.h>
3095 if { (ac_try="$ac_cpp conftest.$ac_ext"
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3103 grep -v '^ *+' conftest.er1 >conftest.err
3105 cat conftest.err >&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } >/dev/null && {
3108 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3109 test ! -s conftest.err
3113 echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3116 # Broken: fails on valid input.
3120 rm -f conftest.err conftest.$ac_ext
3122 # OK, works on sane cases. Now check whether nonexistent headers
3123 # can be detected and how.
3124 cat >conftest.$ac_ext <<_ACEOF
3127 cat confdefs.h >>conftest.$ac_ext
3128 cat >>conftest.$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3130 #include <ac_nonexistent.h>
3132 if { (ac_try="$ac_cpp conftest.$ac_ext"
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3140 grep -v '^ *+' conftest.er1 >conftest.err
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } >/dev/null && {
3145 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3146 test ! -s conftest.err
3148 # Broken: success on invalid input.
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3154 # Passes both tests.
3159 rm -f conftest.err conftest.$ac_ext
3162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3163 rm -f conftest.err conftest.$ac_ext
3164 if $ac_preproc_ok; then
3167 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3168 See \`config.log' for more details." >&5
3169 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3170 See \`config.log' for more details." >&2;}
3171 { (exit 1); exit 1; }; }
3175 ac_cpp='$CPP $CPPFLAGS'
3176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3181 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3182 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3183 if test "${ac_cv_path_GREP+set}" = set; then
3184 echo $ECHO_N "(cached) $ECHO_C" >&6
3186 # Extract the first word of "grep ggrep" to use in msg output
3187 if test -z "$GREP"; then
3188 set dummy grep ggrep; ac_prog_name=$2
3189 if test "${ac_cv_path_GREP+set}" = set; then
3190 echo $ECHO_N "(cached) $ECHO_C" >&6
3192 ac_path_GREP_found=false
3193 # Loop through the user's path and test for each of PROGNAME-LIST
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3198 test -z "$as_dir" && as_dir=.
3199 for ac_prog in grep ggrep; do
3200 for ac_exec_ext in '' $ac_executable_extensions; do
3201 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3202 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3203 # Check for GNU ac_path_GREP and select it if it is found.
3204 # Check for GNU $ac_path_GREP
3205 case `"$ac_path_GREP" --version 2>&1` in
3207 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3210 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3213 cat "conftest.in" "conftest.in" >"conftest.tmp"
3214 mv "conftest.tmp" "conftest.in"
3215 cp "conftest.in" "conftest.nl"
3216 echo 'GREP' >> "conftest.nl"
3217 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3218 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3219 ac_count=`expr $ac_count + 1`
3220 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3221 # Best one so far, save it but keep looking for a better one
3222 ac_cv_path_GREP="$ac_path_GREP"
3223 ac_path_GREP_max=$ac_count
3225 # 10*(2^10) chars as input seems more than enough
3226 test $ac_count -gt 10 && break
3228 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3232 $ac_path_GREP_found && break 3
3242 GREP="$ac_cv_path_GREP"
3243 if test -z "$GREP"; then
3244 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3245 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3246 { (exit 1); exit 1; }; }
3250 ac_cv_path_GREP=$GREP
3255 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3256 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3257 GREP="$ac_cv_path_GREP"
3260 { echo "$as_me:$LINENO: checking for egrep" >&5
3261 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3262 if test "${ac_cv_path_EGREP+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3265 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3266 then ac_cv_path_EGREP="$GREP -E"
3268 # Extract the first word of "egrep" to use in msg output
3269 if test -z "$EGREP"; then
3270 set dummy egrep; ac_prog_name=$2
3271 if test "${ac_cv_path_EGREP+set}" = set; then
3272 echo $ECHO_N "(cached) $ECHO_C" >&6
3274 ac_path_EGREP_found=false
3275 # Loop through the user's path and test for each of PROGNAME-LIST
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3280 test -z "$as_dir" && as_dir=.
3281 for ac_prog in egrep; do
3282 for ac_exec_ext in '' $ac_executable_extensions; do
3283 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3284 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3285 # Check for GNU ac_path_EGREP and select it if it is found.
3286 # Check for GNU $ac_path_EGREP
3287 case `"$ac_path_EGREP" --version 2>&1` in
3289 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3292 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3295 cat "conftest.in" "conftest.in" >"conftest.tmp"
3296 mv "conftest.tmp" "conftest.in"
3297 cp "conftest.in" "conftest.nl"
3298 echo 'EGREP' >> "conftest.nl"
3299 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3300 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3301 ac_count=`expr $ac_count + 1`
3302 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3303 # Best one so far, save it but keep looking for a better one
3304 ac_cv_path_EGREP="$ac_path_EGREP"
3305 ac_path_EGREP_max=$ac_count
3307 # 10*(2^10) chars as input seems more than enough
3308 test $ac_count -gt 10 && break
3310 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3314 $ac_path_EGREP_found && break 3
3324 EGREP="$ac_cv_path_EGREP"
3325 if test -z "$EGREP"; then
3326 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3327 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3328 { (exit 1); exit 1; }; }
3332 ac_cv_path_EGREP=$EGREP
3338 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3339 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3340 EGREP="$ac_cv_path_EGREP"
3343 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3344 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3345 if test "${ac_cv_header_stdc+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 cat >conftest.$ac_ext <<_ACEOF
3351 cat confdefs.h >>conftest.$ac_ext
3352 cat >>conftest.$ac_ext <<_ACEOF
3353 /* end confdefs.h. */
3367 rm -f conftest.$ac_objext
3368 if { (ac_try="$ac_compile"
3370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3371 *) ac_try_echo=$ac_try;;
3373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3374 (eval "$ac_compile") 2>conftest.er1
3376 grep -v '^ *+' conftest.er1 >conftest.err
3378 cat conftest.err >&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); } && {
3381 test -z "$ac_c_werror_flag" ||
3382 test ! -s conftest.err
3383 } && test -s conftest.$ac_objext; then
3384 ac_cv_header_stdc=yes
3386 echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.$ac_ext >&5
3389 ac_cv_header_stdc=no
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3394 if test $ac_cv_header_stdc = yes; then
3395 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3396 cat >conftest.$ac_ext <<_ACEOF
3399 cat confdefs.h >>conftest.$ac_ext
3400 cat >>conftest.$ac_ext <<_ACEOF
3401 /* end confdefs.h. */
3405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3406 $EGREP "memchr" >/dev/null 2>&1; then
3409 ac_cv_header_stdc=no
3415 if test $ac_cv_header_stdc = yes; then
3416 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3417 cat >conftest.$ac_ext <<_ACEOF
3420 cat confdefs.h >>conftest.$ac_ext
3421 cat >>conftest.$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3427 $EGREP "free" >/dev/null 2>&1; then
3430 ac_cv_header_stdc=no
3436 if test $ac_cv_header_stdc = yes; then
3437 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3438 if test "$cross_compiling" = yes; then
3441 cat >conftest.$ac_ext <<_ACEOF
3444 cat confdefs.h >>conftest.$ac_ext
3445 cat >>conftest.$ac_ext <<_ACEOF
3446 /* end confdefs.h. */
3449 #if ((' ' & 0x0FF) == 0x020)
3450 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3451 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3453 # define ISLOWER(c) \
3454 (('a' <= (c) && (c) <= 'i') \
3455 || ('j' <= (c) && (c) <= 'r') \
3456 || ('s' <= (c) && (c) <= 'z'))
3457 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3460 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3465 for (i = 0; i < 256; i++)
3466 if (XOR (islower (i), ISLOWER (i))
3467 || toupper (i) != TOUPPER (i))
3472 rm -f conftest$ac_exeext
3473 if { (ac_try="$ac_link"
3475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3479 (eval "$ac_link") 2>&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3483 { (case "(($ac_try" in
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3488 (eval "$ac_try") 2>&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); }; }; then
3494 echo "$as_me: program exited with status $ac_status" >&5
3495 echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.$ac_ext >&5
3499 ac_cv_header_stdc=no
3501 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3507 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3508 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3509 if test $ac_cv_header_stdc = yes; then
3511 cat >>confdefs.h <<\_ACEOF
3512 #define STDC_HEADERS 1
3517 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3527 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3528 inttypes.h stdint.h unistd.h
3530 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3531 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3533 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 cat >conftest.$ac_ext <<_ACEOF
3539 cat confdefs.h >>conftest.$ac_ext
3540 cat >>conftest.$ac_ext <<_ACEOF
3541 /* end confdefs.h. */
3542 $ac_includes_default
3544 #include <$ac_header>
3546 rm -f conftest.$ac_objext
3547 if { (ac_try="$ac_compile"
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_compile") 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } && {
3560 test -z "$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3562 } && test -s conftest.$ac_objext; then
3563 eval "$as_ac_Header=yes"
3565 echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 eval "$as_ac_Header=no"
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 ac_res=`eval echo '${'$as_ac_Header'}'`
3574 { echo "$as_me:$LINENO: result: $ac_res" >&5
3575 echo "${ECHO_T}$ac_res" >&6; }
3576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3577 cat >>confdefs.h <<_ACEOF
3578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3586 if test "${ac_cv_header_pcap_h+set}" = set; then
3587 { echo "$as_me:$LINENO: checking for pcap.h" >&5
3588 echo $ECHO_N "checking for pcap.h... $ECHO_C" >&6; }
3589 if test "${ac_cv_header_pcap_h+set}" = set; then
3590 echo $ECHO_N "(cached) $ECHO_C" >&6
3592 { echo "$as_me:$LINENO: result: $ac_cv_header_pcap_h" >&5
3593 echo "${ECHO_T}$ac_cv_header_pcap_h" >&6; }
3595 # Is the header compilable?
3596 { echo "$as_me:$LINENO: checking pcap.h usability" >&5
3597 echo $ECHO_N "checking pcap.h usability... $ECHO_C" >&6; }
3598 cat >conftest.$ac_ext <<_ACEOF
3601 cat confdefs.h >>conftest.$ac_ext
3602 cat >>conftest.$ac_ext <<_ACEOF
3603 /* end confdefs.h. */
3604 $ac_includes_default
3607 rm -f conftest.$ac_objext
3608 if { (ac_try="$ac_compile"
3610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3611 *) ac_try_echo=$ac_try;;
3613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3614 (eval "$ac_compile") 2>conftest.er1
3616 grep -v '^ *+' conftest.er1 >conftest.err
3618 cat conftest.err >&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); } && {
3621 test -z "$ac_c_werror_flag" ||
3622 test ! -s conftest.err
3623 } && test -s conftest.$ac_objext; then
3624 ac_header_compiler=yes
3626 echo "$as_me: failed program was:" >&5
3627 sed 's/^/| /' conftest.$ac_ext >&5
3629 ac_header_compiler=no
3632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3633 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3634 echo "${ECHO_T}$ac_header_compiler" >&6; }
3636 # Is the header present?
3637 { echo "$as_me:$LINENO: checking pcap.h presence" >&5
3638 echo $ECHO_N "checking pcap.h presence... $ECHO_C" >&6; }
3639 cat >conftest.$ac_ext <<_ACEOF
3642 cat confdefs.h >>conftest.$ac_ext
3643 cat >>conftest.$ac_ext <<_ACEOF
3644 /* end confdefs.h. */
3647 if { (ac_try="$ac_cpp conftest.$ac_ext"
3649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650 *) ac_try_echo=$ac_try;;
3652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3655 grep -v '^ *+' conftest.er1 >conftest.err
3657 cat conftest.err >&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } >/dev/null && {
3660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3661 test ! -s conftest.err
3663 ac_header_preproc=yes
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3668 ac_header_preproc=no
3671 rm -f conftest.err conftest.$ac_ext
3672 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3673 echo "${ECHO_T}$ac_header_preproc" >&6; }
3675 # So? What about this header?
3676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3678 { echo "$as_me:$LINENO: WARNING: pcap.h: accepted by the compiler, rejected by the preprocessor!" >&5
3679 echo "$as_me: WARNING: pcap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3680 { echo "$as_me:$LINENO: WARNING: pcap.h: proceeding with the compiler's result" >&5
3681 echo "$as_me: WARNING: pcap.h: proceeding with the compiler's result" >&2;}
3682 ac_header_preproc=yes
3685 { echo "$as_me:$LINENO: WARNING: pcap.h: present but cannot be compiled" >&5
3686 echo "$as_me: WARNING: pcap.h: present but cannot be compiled" >&2;}
3687 { echo "$as_me:$LINENO: WARNING: pcap.h: check for missing prerequisite headers?" >&5
3688 echo "$as_me: WARNING: pcap.h: check for missing prerequisite headers?" >&2;}
3689 { echo "$as_me:$LINENO: WARNING: pcap.h: see the Autoconf documentation" >&5
3690 echo "$as_me: WARNING: pcap.h: see the Autoconf documentation" >&2;}
3691 { echo "$as_me:$LINENO: WARNING: pcap.h: section \"Present But Cannot Be Compiled\"" >&5
3692 echo "$as_me: WARNING: pcap.h: section \"Present But Cannot Be Compiled\"" >&2;}
3693 { echo "$as_me:$LINENO: WARNING: pcap.h: proceeding with the preprocessor's result" >&5
3694 echo "$as_me: WARNING: pcap.h: proceeding with the preprocessor's result" >&2;}
3695 { echo "$as_me:$LINENO: WARNING: pcap.h: in the future, the compiler will take precedence" >&5
3696 echo "$as_me: WARNING: pcap.h: in the future, the compiler will take precedence" >&2;}
3700 { echo "$as_me:$LINENO: checking for pcap.h" >&5
3701 echo $ECHO_N "checking for pcap.h... $ECHO_C" >&6; }
3702 if test "${ac_cv_header_pcap_h+set}" = set; then
3703 echo $ECHO_N "(cached) $ECHO_C" >&6
3705 ac_cv_header_pcap_h=$ac_header_preproc
3707 { echo "$as_me:$LINENO: result: $ac_cv_header_pcap_h" >&5
3708 echo "${ECHO_T}$ac_cv_header_pcap_h" >&6; }
3711 if test $ac_cv_header_pcap_h = yes; then
3723 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3724 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3725 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3726 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
3727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 cat >conftest.$ac_ext <<_ACEOF
3733 cat confdefs.h >>conftest.$ac_ext
3734 cat >>conftest.$ac_ext <<_ACEOF
3735 /* end confdefs.h. */
3736 #include <sys/types.h>
3748 rm -f conftest.$ac_objext
3749 if { (ac_try="$ac_compile"
3751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3752 *) ac_try_echo=$ac_try;;
3754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3755 (eval "$ac_compile") 2>conftest.er1
3757 grep -v '^ *+' conftest.er1 >conftest.err
3759 cat conftest.err >&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); } && {
3762 test -z "$ac_c_werror_flag" ||
3763 test ! -s conftest.err
3764 } && test -s conftest.$ac_objext; then
3765 eval "$as_ac_Header=yes"
3767 echo "$as_me: failed program was:" >&5
3768 sed 's/^/| /' conftest.$ac_ext >&5
3770 eval "$as_ac_Header=no"
3773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3775 ac_res=`eval echo '${'$as_ac_Header'}'`
3776 { echo "$as_me:$LINENO: result: $ac_res" >&5
3777 echo "${ECHO_T}$ac_res" >&6; }
3778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3779 cat >>confdefs.h <<_ACEOF
3780 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3783 ac_header_dirent=$ac_hdr; break
3787 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3788 if test $ac_header_dirent = dirent.h; then
3789 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3790 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3791 if test "${ac_cv_search_opendir+set}" = set; then
3792 echo $ECHO_N "(cached) $ECHO_C" >&6
3794 ac_func_search_save_LIBS=$LIBS
3795 cat >conftest.$ac_ext <<_ACEOF
3798 cat confdefs.h >>conftest.$ac_ext
3799 cat >>conftest.$ac_ext <<_ACEOF
3800 /* end confdefs.h. */
3802 /* Override any GCC internal prototype to avoid an error.
3803 Use char because int might match the return type of a GCC
3804 builtin and then its argument prototype would still apply. */
3817 for ac_lib in '' dir; do
3818 if test -z "$ac_lib"; then
3819 ac_res="none required"
3822 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3824 rm -f conftest.$ac_objext conftest$ac_exeext
3825 if { (ac_try="$ac_link"
3827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3828 *) ac_try_echo=$ac_try;;
3830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3831 (eval "$ac_link") 2>conftest.er1
3833 grep -v '^ *+' conftest.er1 >conftest.err
3835 cat conftest.err >&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); } && {
3838 test -z "$ac_c_werror_flag" ||
3839 test ! -s conftest.err
3840 } && test -s conftest$ac_exeext &&
3841 $as_test_x conftest$ac_exeext; then
3842 ac_cv_search_opendir=$ac_res
3844 echo "$as_me: failed program was:" >&5
3845 sed 's/^/| /' conftest.$ac_ext >&5
3850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3852 if test "${ac_cv_search_opendir+set}" = set; then
3856 if test "${ac_cv_search_opendir+set}" = set; then
3859 ac_cv_search_opendir=no
3862 LIBS=$ac_func_search_save_LIBS
3864 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3865 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
3866 ac_res=$ac_cv_search_opendir
3867 if test "$ac_res" != no; then
3868 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3873 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3874 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3875 if test "${ac_cv_search_opendir+set}" = set; then
3876 echo $ECHO_N "(cached) $ECHO_C" >&6
3878 ac_func_search_save_LIBS=$LIBS
3879 cat >conftest.$ac_ext <<_ACEOF
3882 cat confdefs.h >>conftest.$ac_ext
3883 cat >>conftest.$ac_ext <<_ACEOF
3884 /* end confdefs.h. */
3886 /* Override any GCC internal prototype to avoid an error.
3887 Use char because int might match the return type of a GCC
3888 builtin and then its argument prototype would still apply. */
3901 for ac_lib in '' x; do
3902 if test -z "$ac_lib"; then
3903 ac_res="none required"
3906 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3908 rm -f conftest.$ac_objext conftest$ac_exeext
3909 if { (ac_try="$ac_link"
3911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3912 *) ac_try_echo=$ac_try;;
3914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3915 (eval "$ac_link") 2>conftest.er1
3917 grep -v '^ *+' conftest.er1 >conftest.err
3919 cat conftest.err >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } && {
3922 test -z "$ac_c_werror_flag" ||
3923 test ! -s conftest.err
3924 } && test -s conftest$ac_exeext &&
3925 $as_test_x conftest$ac_exeext; then
3926 ac_cv_search_opendir=$ac_res
3928 echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.$ac_ext >&5
3934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3936 if test "${ac_cv_search_opendir+set}" = set; then
3940 if test "${ac_cv_search_opendir+set}" = set; then
3943 ac_cv_search_opendir=no
3946 LIBS=$ac_func_search_save_LIBS
3948 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3949 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
3950 ac_res=$ac_cv_search_opendir
3951 if test "$ac_res" != no; then
3952 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3958 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3959 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3960 if test "${ac_cv_header_stdc+set}" = set; then
3961 echo $ECHO_N "(cached) $ECHO_C" >&6
3963 cat >conftest.$ac_ext <<_ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3982 rm -f conftest.$ac_objext
3983 if { (ac_try="$ac_compile"
3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3986 *) ac_try_echo=$ac_try;;
3988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3989 (eval "$ac_compile") 2>conftest.er1
3991 grep -v '^ *+' conftest.er1 >conftest.err
3993 cat conftest.err >&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); } && {
3996 test -z "$ac_c_werror_flag" ||
3997 test ! -s conftest.err
3998 } && test -s conftest.$ac_objext; then
3999 ac_cv_header_stdc=yes
4001 echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4004 ac_cv_header_stdc=no
4007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4009 if test $ac_cv_header_stdc = yes; then
4010 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4011 cat >conftest.$ac_ext <<_ACEOF
4014 cat confdefs.h >>conftest.$ac_ext
4015 cat >>conftest.$ac_ext <<_ACEOF
4016 /* end confdefs.h. */
4020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4021 $EGREP "memchr" >/dev/null 2>&1; then
4024 ac_cv_header_stdc=no
4030 if test $ac_cv_header_stdc = yes; then
4031 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4032 cat >conftest.$ac_ext <<_ACEOF
4035 cat confdefs.h >>conftest.$ac_ext
4036 cat >>conftest.$ac_ext <<_ACEOF
4037 /* end confdefs.h. */
4041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4042 $EGREP "free" >/dev/null 2>&1; then
4045 ac_cv_header_stdc=no
4051 if test $ac_cv_header_stdc = yes; then
4052 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4053 if test "$cross_compiling" = yes; then
4056 cat >conftest.$ac_ext <<_ACEOF
4059 cat confdefs.h >>conftest.$ac_ext
4060 cat >>conftest.$ac_ext <<_ACEOF
4061 /* end confdefs.h. */
4064 #if ((' ' & 0x0FF) == 0x020)
4065 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4066 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4068 # define ISLOWER(c) \
4069 (('a' <= (c) && (c) <= 'i') \
4070 || ('j' <= (c) && (c) <= 'r') \
4071 || ('s' <= (c) && (c) <= 'z'))
4072 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4075 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4080 for (i = 0; i < 256; i++)
4081 if (XOR (islower (i), ISLOWER (i))
4082 || toupper (i) != TOUPPER (i))
4087 rm -f conftest$ac_exeext
4088 if { (ac_try="$ac_link"
4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4094 (eval "$ac_link") 2>&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4098 { (case "(($ac_try" in
4099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4103 (eval "$ac_try") 2>&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); }; }; then
4109 echo "$as_me: program exited with status $ac_status" >&5
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4114 ac_cv_header_stdc=no
4116 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4122 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4123 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4124 if test $ac_cv_header_stdc = yes; then
4126 cat >>confdefs.h <<\_ACEOF
4127 #define STDC_HEADERS 1
4134 for ac_header in fcntl.h unistd.h
4136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4138 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4140 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4141 echo $ECHO_N "(cached) $ECHO_C" >&6
4143 ac_res=`eval echo '${'$as_ac_Header'}'`
4144 { echo "$as_me:$LINENO: result: $ac_res" >&5
4145 echo "${ECHO_T}$ac_res" >&6; }
4147 # Is the header compilable?
4148 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4150 cat >conftest.$ac_ext <<_ACEOF
4153 cat confdefs.h >>conftest.$ac_ext
4154 cat >>conftest.$ac_ext <<_ACEOF
4155 /* end confdefs.h. */
4156 $ac_includes_default
4157 #include <$ac_header>
4159 rm -f conftest.$ac_objext
4160 if { (ac_try="$ac_compile"
4162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4163 *) ac_try_echo=$ac_try;;
4165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4166 (eval "$ac_compile") 2>conftest.er1
4168 grep -v '^ *+' conftest.er1 >conftest.err
4170 cat conftest.err >&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); } && {
4173 test -z "$ac_c_werror_flag" ||
4174 test ! -s conftest.err
4175 } && test -s conftest.$ac_objext; then
4176 ac_header_compiler=yes
4178 echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.$ac_ext >&5
4181 ac_header_compiler=no
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4186 echo "${ECHO_T}$ac_header_compiler" >&6; }
4188 # Is the header present?
4189 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4190 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4191 cat >conftest.$ac_ext <<_ACEOF
4194 cat confdefs.h >>conftest.$ac_ext
4195 cat >>conftest.$ac_ext <<_ACEOF
4196 /* end confdefs.h. */
4197 #include <$ac_header>
4199 if { (ac_try="$ac_cpp conftest.$ac_ext"
4201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202 *) ac_try_echo=$ac_try;;
4204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4205 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4207 grep -v '^ *+' conftest.er1 >conftest.err
4209 cat conftest.err >&5
4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); } >/dev/null && {
4212 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4213 test ! -s conftest.err
4215 ac_header_preproc=yes
4217 echo "$as_me: failed program was:" >&5
4218 sed 's/^/| /' conftest.$ac_ext >&5
4220 ac_header_preproc=no
4223 rm -f conftest.err conftest.$ac_ext
4224 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4225 echo "${ECHO_T}$ac_header_preproc" >&6; }
4227 # So? What about this header?
4228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4234 ac_header_preproc=yes
4237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4241 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4243 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4244 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4247 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4255 echo $ECHO_N "(cached) $ECHO_C" >&6
4257 eval "$as_ac_Header=\$ac_header_preproc"
4259 ac_res=`eval echo '${'$as_ac_Header'}'`
4260 { echo "$as_me:$LINENO: result: $ac_res" >&5
4261 echo "${ECHO_T}$ac_res" >&6; }
4264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4265 cat >>confdefs.h <<_ACEOF
4266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4274 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4275 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4276 if test "${ac_cv_c_const+set}" = set; then
4277 echo $ECHO_N "(cached) $ECHO_C" >&6
4279 cat >conftest.$ac_ext <<_ACEOF
4282 cat confdefs.h >>conftest.$ac_ext
4283 cat >>conftest.$ac_ext <<_ACEOF
4284 /* end confdefs.h. */
4289 /* FIXME: Include the comments suggested by Paul. */
4291 /* Ultrix mips cc rejects this. */
4292 typedef int charset[2];
4294 /* SunOS 4.1.1 cc rejects this. */
4295 char const *const *pcpcc;
4297 /* NEC SVR4.0.2 mips cc rejects this. */
4298 struct point {int x, y;};
4299 static struct point const zero = {0,0};
4300 /* AIX XL C 1.02.0.0 rejects this.
4301 It does not let you subtract one const X* pointer from another in
4302 an arm of an if-expression whose if-part is not a constant
4304 const char *g = "string";
4305 pcpcc = &g + (g ? g-g : 0);
4306 /* HPUX 7.0 cc rejects these. */
4308 ppc = (char**) pcpcc;
4309 pcpcc = (char const *const *) ppc;
4310 { /* SCO 3.2v4 cc rejects this. */
4312 char const *s = 0 ? (char *) 0 : (char const *) 0;
4317 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4319 const int *foo = &x[0];
4322 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4323 typedef const int *iptr;
4327 { /* AIX XL C 1.02.0.0 rejects this saying
4328 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4329 struct s { int j; const int *ap[3]; };
4330 struct s *b; b->j = 5;
4332 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4336 return !cs[0] && !zero.x;
4343 rm -f conftest.$ac_objext
4344 if { (ac_try="$ac_compile"
4346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4347 *) ac_try_echo=$ac_try;;
4349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4350 (eval "$ac_compile") 2>conftest.er1
4352 grep -v '^ *+' conftest.er1 >conftest.err
4354 cat conftest.err >&5
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); } && {
4357 test -z "$ac_c_werror_flag" ||
4358 test ! -s conftest.err
4359 } && test -s conftest.$ac_objext; then
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.$ac_ext >&5
4368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4370 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4371 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4372 if test $ac_cv_c_const = no; then
4374 cat >>confdefs.h <<\_ACEOF
4380 { echo "$as_me:$LINENO: checking for size_t" >&5
4381 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
4382 if test "${ac_cv_type_size_t+set}" = set; then
4383 echo $ECHO_N "(cached) $ECHO_C" >&6
4385 cat >conftest.$ac_ext <<_ACEOF
4388 cat confdefs.h >>conftest.$ac_ext
4389 cat >>conftest.$ac_ext <<_ACEOF
4390 /* end confdefs.h. */
4391 $ac_includes_default
4392 typedef size_t ac__type_new_;
4396 if ((ac__type_new_ *) 0)
4398 if (sizeof (ac__type_new_))
4404 rm -f conftest.$ac_objext
4405 if { (ac_try="$ac_compile"
4407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4408 *) ac_try_echo=$ac_try;;
4410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4411 (eval "$ac_compile") 2>conftest.er1
4413 grep -v '^ *+' conftest.er1 >conftest.err
4415 cat conftest.err >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); } && {
4418 test -z "$ac_c_werror_flag" ||
4419 test ! -s conftest.err
4420 } && test -s conftest.$ac_objext; then
4421 ac_cv_type_size_t=yes
4423 echo "$as_me: failed program was:" >&5
4424 sed 's/^/| /' conftest.$ac_ext >&5
4426 ac_cv_type_size_t=no
4429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4431 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4432 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4433 if test $ac_cv_type_size_t = yes; then
4437 cat >>confdefs.h <<_ACEOF
4438 #define size_t unsigned int
4443 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4444 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
4445 if test "${ac_cv_struct_tm+set}" = set; then
4446 echo $ECHO_N "(cached) $ECHO_C" >&6
4448 cat >conftest.$ac_ext <<_ACEOF
4451 cat confdefs.h >>conftest.$ac_ext
4452 cat >>conftest.$ac_ext <<_ACEOF
4453 /* end confdefs.h. */
4454 #include <sys/types.h>
4461 int *p = &tm.tm_sec;
4467 rm -f conftest.$ac_objext
4468 if { (ac_try="$ac_compile"
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4474 (eval "$ac_compile") 2>conftest.er1
4476 grep -v '^ *+' conftest.er1 >conftest.err
4478 cat conftest.err >&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); } && {
4481 test -z "$ac_c_werror_flag" ||
4482 test ! -s conftest.err
4483 } && test -s conftest.$ac_objext; then
4484 ac_cv_struct_tm=time.h
4486 echo "$as_me: failed program was:" >&5
4487 sed 's/^/| /' conftest.$ac_ext >&5
4489 ac_cv_struct_tm=sys/time.h
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4495 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
4496 if test $ac_cv_struct_tm = sys/time.h; then
4498 cat >>confdefs.h <<\_ACEOF
4499 #define TM_IN_SYS_TIME 1
4506 for ac_func in vprintf
4508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4509 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4511 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 cat >conftest.$ac_ext <<_ACEOF
4517 cat confdefs.h >>conftest.$ac_ext
4518 cat >>conftest.$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4522 #define $ac_func innocuous_$ac_func
4524 /* System header to define __stub macros and hopefully few prototypes,
4525 which can conflict with char $ac_func (); below.
4526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4527 <limits.h> exists even on freestanding compilers. */
4530 # include <limits.h>
4532 # include <assert.h>
4537 /* Override any GCC internal prototype to avoid an error.
4538 Use char because int might match the return type of a GCC
4539 builtin and then its argument prototype would still apply. */
4544 /* The GNU C library defines this for functions which it implements
4545 to always fail with ENOSYS. Some functions are actually named
4546 something starting with __ and the normal name is an alias. */
4547 #if defined __stub_$ac_func || defined __stub___$ac_func
4559 rm -f conftest.$ac_objext conftest$ac_exeext
4560 if { (ac_try="$ac_link"
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566 (eval "$ac_link") 2>conftest.er1
4568 grep -v '^ *+' conftest.er1 >conftest.err
4570 cat conftest.err >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } && {
4573 test -z "$ac_c_werror_flag" ||
4574 test ! -s conftest.err
4575 } && test -s conftest$ac_exeext &&
4576 $as_test_x conftest$ac_exeext; then
4577 eval "$as_ac_var=yes"
4579 echo "$as_me: failed program was:" >&5
4580 sed 's/^/| /' conftest.$ac_ext >&5
4582 eval "$as_ac_var=no"
4585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4586 conftest$ac_exeext conftest.$ac_ext
4588 ac_res=`eval echo '${'$as_ac_var'}'`
4589 { echo "$as_me:$LINENO: result: $ac_res" >&5
4590 echo "${ECHO_T}$ac_res" >&6; }
4591 if test `eval echo '${'$as_ac_var'}'` = yes; then
4592 cat >>confdefs.h <<_ACEOF
4593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4596 { echo "$as_me:$LINENO: checking for _doprnt" >&5
4597 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
4598 if test "${ac_cv_func__doprnt+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 cat >conftest.$ac_ext <<_ACEOF
4604 cat confdefs.h >>conftest.$ac_ext
4605 cat >>conftest.$ac_ext <<_ACEOF
4606 /* end confdefs.h. */
4607 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4609 #define _doprnt innocuous__doprnt
4611 /* System header to define __stub macros and hopefully few prototypes,
4612 which can conflict with char _doprnt (); below.
4613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4614 <limits.h> exists even on freestanding compilers. */
4617 # include <limits.h>
4619 # include <assert.h>
4624 /* Override any GCC internal prototype to avoid an error.
4625 Use char because int might match the return type of a GCC
4626 builtin and then its argument prototype would still apply. */
4631 /* The GNU C library defines this for functions which it implements
4632 to always fail with ENOSYS. Some functions are actually named
4633 something starting with __ and the normal name is an alias. */
4634 #if defined __stub__doprnt || defined __stub____doprnt
4646 rm -f conftest.$ac_objext conftest$ac_exeext
4647 if { (ac_try="$ac_link"
4649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4650 *) ac_try_echo=$ac_try;;
4652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4653 (eval "$ac_link") 2>conftest.er1
4655 grep -v '^ *+' conftest.er1 >conftest.err
4657 cat conftest.err >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } && {
4660 test -z "$ac_c_werror_flag" ||
4661 test ! -s conftest.err
4662 } && test -s conftest$ac_exeext &&
4663 $as_test_x conftest$ac_exeext; then
4664 ac_cv_func__doprnt=yes
4666 echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.$ac_ext >&5
4669 ac_cv_func__doprnt=no
4672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4673 conftest$ac_exeext conftest.$ac_ext
4675 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4676 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
4677 if test $ac_cv_func__doprnt = yes; then
4679 cat >>confdefs.h <<\_ACEOF
4680 #define HAVE_DOPRNT 1
4691 for ac_func in socket strerror
4693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4697 echo $ECHO_N "(cached) $ECHO_C" >&6
4699 cat >conftest.$ac_ext <<_ACEOF
4702 cat confdefs.h >>conftest.$ac_ext
4703 cat >>conftest.$ac_ext <<_ACEOF
4704 /* end confdefs.h. */
4705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4707 #define $ac_func innocuous_$ac_func
4709 /* System header to define __stub macros and hopefully few prototypes,
4710 which can conflict with char $ac_func (); below.
4711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4712 <limits.h> exists even on freestanding compilers. */
4715 # include <limits.h>
4717 # include <assert.h>
4722 /* Override any GCC internal prototype to avoid an error.
4723 Use char because int might match the return type of a GCC
4724 builtin and then its argument prototype would still apply. */
4729 /* The GNU C library defines this for functions which it implements
4730 to always fail with ENOSYS. Some functions are actually named
4731 something starting with __ and the normal name is an alias. */
4732 #if defined __stub_$ac_func || defined __stub___$ac_func
4744 rm -f conftest.$ac_objext conftest$ac_exeext
4745 if { (ac_try="$ac_link"
4747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4748 *) ac_try_echo=$ac_try;;
4750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4751 (eval "$ac_link") 2>conftest.er1
4753 grep -v '^ *+' conftest.er1 >conftest.err
4755 cat conftest.err >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); } && {
4758 test -z "$ac_c_werror_flag" ||
4759 test ! -s conftest.err
4760 } && test -s conftest$ac_exeext &&
4761 $as_test_x conftest$ac_exeext; then
4762 eval "$as_ac_var=yes"
4764 echo "$as_me: failed program was:" >&5
4765 sed 's/^/| /' conftest.$ac_ext >&5
4767 eval "$as_ac_var=no"
4770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4771 conftest$ac_exeext conftest.$ac_ext
4773 ac_res=`eval echo '${'$as_ac_var'}'`
4774 { echo "$as_me:$LINENO: result: $ac_res" >&5
4775 echo "${ECHO_T}$ac_res" >&6; }
4776 if test `eval echo '${'$as_ac_var'}'` = yes; then
4777 cat >>confdefs.h <<_ACEOF
4778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4786 # Check whether --with-proper was given.
4787 if test "${with_proper+set}" = set; then
4788 withval=$with_proper; CPPFLAGS="$CPPFLAGS -I$withval/include" ; LDFLAGS="$LDFLAGS -L$withval/.libs"
4791 if test "${ac_cv_header_prop_h+set}" = set; then
4792 { echo "$as_me:$LINENO: checking for prop.h" >&5
4793 echo $ECHO_N "checking for prop.h... $ECHO_C" >&6; }
4794 if test "${ac_cv_header_prop_h+set}" = set; then
4795 echo $ECHO_N "(cached) $ECHO_C" >&6
4797 { echo "$as_me:$LINENO: result: $ac_cv_header_prop_h" >&5
4798 echo "${ECHO_T}$ac_cv_header_prop_h" >&6; }
4800 # Is the header compilable?
4801 { echo "$as_me:$LINENO: checking prop.h usability" >&5
4802 echo $ECHO_N "checking prop.h usability... $ECHO_C" >&6; }
4803 cat >conftest.$ac_ext <<_ACEOF
4806 cat confdefs.h >>conftest.$ac_ext
4807 cat >>conftest.$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4809 $ac_includes_default
4812 rm -f conftest.$ac_objext
4813 if { (ac_try="$ac_compile"
4815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4816 *) ac_try_echo=$ac_try;;
4818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4819 (eval "$ac_compile") 2>conftest.er1
4821 grep -v '^ *+' conftest.er1 >conftest.err
4823 cat conftest.err >&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); } && {
4826 test -z "$ac_c_werror_flag" ||
4827 test ! -s conftest.err
4828 } && test -s conftest.$ac_objext; then
4829 ac_header_compiler=yes
4831 echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.$ac_ext >&5
4834 ac_header_compiler=no
4837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4838 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4839 echo "${ECHO_T}$ac_header_compiler" >&6; }
4841 # Is the header present?
4842 { echo "$as_me:$LINENO: checking prop.h presence" >&5
4843 echo $ECHO_N "checking prop.h presence... $ECHO_C" >&6; }
4844 cat >conftest.$ac_ext <<_ACEOF
4847 cat confdefs.h >>conftest.$ac_ext
4848 cat >>conftest.$ac_ext <<_ACEOF
4849 /* end confdefs.h. */
4852 if { (ac_try="$ac_cpp conftest.$ac_ext"
4854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4855 *) ac_try_echo=$ac_try;;
4857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4858 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4860 grep -v '^ *+' conftest.er1 >conftest.err
4862 cat conftest.err >&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); } >/dev/null && {
4865 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4866 test ! -s conftest.err
4868 ac_header_preproc=yes
4870 echo "$as_me: failed program was:" >&5
4871 sed 's/^/| /' conftest.$ac_ext >&5
4873 ac_header_preproc=no
4876 rm -f conftest.err conftest.$ac_ext
4877 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4878 echo "${ECHO_T}$ac_header_preproc" >&6; }
4880 # So? What about this header?
4881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4883 { echo "$as_me:$LINENO: WARNING: prop.h: accepted by the compiler, rejected by the preprocessor!" >&5
4884 echo "$as_me: WARNING: prop.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4885 { echo "$as_me:$LINENO: WARNING: prop.h: proceeding with the compiler's result" >&5
4886 echo "$as_me: WARNING: prop.h: proceeding with the compiler's result" >&2;}
4887 ac_header_preproc=yes
4890 { echo "$as_me:$LINENO: WARNING: prop.h: present but cannot be compiled" >&5
4891 echo "$as_me: WARNING: prop.h: present but cannot be compiled" >&2;}
4892 { echo "$as_me:$LINENO: WARNING: prop.h: check for missing prerequisite headers?" >&5
4893 echo "$as_me: WARNING: prop.h: check for missing prerequisite headers?" >&2;}
4894 { echo "$as_me:$LINENO: WARNING: prop.h: see the Autoconf documentation" >&5
4895 echo "$as_me: WARNING: prop.h: see the Autoconf documentation" >&2;}
4896 { echo "$as_me:$LINENO: WARNING: prop.h: section \"Present But Cannot Be Compiled\"" >&5
4897 echo "$as_me: WARNING: prop.h: section \"Present But Cannot Be Compiled\"" >&2;}
4898 { echo "$as_me:$LINENO: WARNING: prop.h: proceeding with the preprocessor's result" >&5
4899 echo "$as_me: WARNING: prop.h: proceeding with the preprocessor's result" >&2;}
4900 { echo "$as_me:$LINENO: WARNING: prop.h: in the future, the compiler will take precedence" >&5
4901 echo "$as_me: WARNING: prop.h: in the future, the compiler will take precedence" >&2;}
4905 { echo "$as_me:$LINENO: checking for prop.h" >&5
4906 echo $ECHO_N "checking for prop.h... $ECHO_C" >&6; }
4907 if test "${ac_cv_header_prop_h+set}" = set; then
4908 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 ac_cv_header_prop_h=$ac_header_preproc
4912 { echo "$as_me:$LINENO: result: $ac_cv_header_prop_h" >&5
4913 echo "${ECHO_T}$ac_cv_header_prop_h" >&6; }
4916 if test $ac_cv_header_prop_h = yes; then
4922 { echo "$as_me:$LINENO: checking for prop_create_socket in -lproper" >&5
4923 echo $ECHO_N "checking for prop_create_socket in -lproper... $ECHO_C" >&6; }
4924 if test "${ac_cv_lib_proper_prop_create_socket+set}" = set; then
4925 echo $ECHO_N "(cached) $ECHO_C" >&6
4927 ac_check_lib_save_LIBS=$LIBS
4928 LIBS="-lproper $LIBS"
4929 cat >conftest.$ac_ext <<_ACEOF
4932 cat confdefs.h >>conftest.$ac_ext
4933 cat >>conftest.$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4936 /* Override any GCC internal prototype to avoid an error.
4937 Use char because int might match the return type of a GCC
4938 builtin and then its argument prototype would still apply. */
4942 char prop_create_socket ();
4946 return prop_create_socket ();
4951 rm -f conftest.$ac_objext conftest$ac_exeext
4952 if { (ac_try="$ac_link"
4954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4955 *) ac_try_echo=$ac_try;;
4957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4958 (eval "$ac_link") 2>conftest.er1
4960 grep -v '^ *+' conftest.er1 >conftest.err
4962 cat conftest.err >&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); } && {
4965 test -z "$ac_c_werror_flag" ||
4966 test ! -s conftest.err
4967 } && test -s conftest$ac_exeext &&
4968 $as_test_x conftest$ac_exeext; then
4969 ac_cv_lib_proper_prop_create_socket=yes
4971 echo "$as_me: failed program was:" >&5
4972 sed 's/^/| /' conftest.$ac_ext >&5
4974 ac_cv_lib_proper_prop_create_socket=no
4977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4978 conftest$ac_exeext conftest.$ac_ext
4979 LIBS=$ac_check_lib_save_LIBS
4981 { echo "$as_me:$LINENO: result: $ac_cv_lib_proper_prop_create_socket" >&5
4982 echo "${ECHO_T}$ac_cv_lib_proper_prop_create_socket" >&6; }
4983 if test $ac_cv_lib_proper_prop_create_socket = yes; then
4984 cat >>confdefs.h <<_ACEOF
4985 #define HAVE_LIBPROPER 1
4988 LIBS="-lproper $LIBS"
4992 if test "${ac_cv_header_pthread_h+set}" = set; then
4993 { echo "$as_me:$LINENO: checking for pthread.h" >&5
4994 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
4995 if test "${ac_cv_header_pthread_h+set}" = set; then
4996 echo $ECHO_N "(cached) $ECHO_C" >&6
4998 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
4999 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
5001 # Is the header compilable?
5002 { echo "$as_me:$LINENO: checking pthread.h usability" >&5
5003 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
5004 cat >conftest.$ac_ext <<_ACEOF
5007 cat confdefs.h >>conftest.$ac_ext
5008 cat >>conftest.$ac_ext <<_ACEOF
5009 /* end confdefs.h. */
5010 $ac_includes_default
5011 #include <pthread.h>
5013 rm -f conftest.$ac_objext
5014 if { (ac_try="$ac_compile"
5016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5017 *) ac_try_echo=$ac_try;;
5019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5020 (eval "$ac_compile") 2>conftest.er1
5022 grep -v '^ *+' conftest.er1 >conftest.err
5024 cat conftest.err >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } && {
5027 test -z "$ac_c_werror_flag" ||
5028 test ! -s conftest.err
5029 } && test -s conftest.$ac_objext; then
5030 ac_header_compiler=yes
5032 echo "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.$ac_ext >&5
5035 ac_header_compiler=no
5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5039 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5040 echo "${ECHO_T}$ac_header_compiler" >&6; }
5042 # Is the header present?
5043 { echo "$as_me:$LINENO: checking pthread.h presence" >&5
5044 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
5045 cat >conftest.$ac_ext <<_ACEOF
5048 cat confdefs.h >>conftest.$ac_ext
5049 cat >>conftest.$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5051 #include <pthread.h>
5053 if { (ac_try="$ac_cpp conftest.$ac_ext"
5055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5056 *) ac_try_echo=$ac_try;;
5058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5061 grep -v '^ *+' conftest.er1 >conftest.err
5063 cat conftest.err >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } >/dev/null && {
5066 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5067 test ! -s conftest.err
5069 ac_header_preproc=yes
5071 echo "$as_me: failed program was:" >&5
5072 sed 's/^/| /' conftest.$ac_ext >&5
5074 ac_header_preproc=no
5077 rm -f conftest.err conftest.$ac_ext
5078 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5079 echo "${ECHO_T}$ac_header_preproc" >&6; }
5081 # So? What about this header?
5082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5084 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
5085 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5086 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
5087 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
5088 ac_header_preproc=yes
5091 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
5092 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
5093 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
5094 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
5095 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
5096 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
5097 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
5098 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
5099 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
5100 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
5101 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
5102 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
5106 { echo "$as_me:$LINENO: checking for pthread.h" >&5
5107 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
5108 if test "${ac_cv_header_pthread_h+set}" = set; then
5109 echo $ECHO_N "(cached) $ECHO_C" >&6
5111 ac_cv_header_pthread_h=$ac_header_preproc
5113 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
5114 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
5117 if test $ac_cv_header_pthread_h = yes; then
5120 { { echo "$as_me:$LINENO: error: NetFlow requires pthread" >&5
5121 echo "$as_me: error: NetFlow requires pthread" >&2;}
5122 { (exit 1); exit 1; }; }
5127 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
5128 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
5129 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
5130 echo $ECHO_N "(cached) $ECHO_C" >&6
5132 ac_check_lib_save_LIBS=$LIBS
5133 LIBS="-lpthread $LIBS"
5134 cat >conftest.$ac_ext <<_ACEOF
5137 cat confdefs.h >>conftest.$ac_ext
5138 cat >>conftest.$ac_ext <<_ACEOF
5139 /* end confdefs.h. */
5141 /* Override any GCC internal prototype to avoid an error.
5142 Use char because int might match the return type of a GCC
5143 builtin and then its argument prototype would still apply. */
5147 char pthread_create ();
5151 return pthread_create ();
5156 rm -f conftest.$ac_objext conftest$ac_exeext
5157 if { (ac_try="$ac_link"
5159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5160 *) ac_try_echo=$ac_try;;
5162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5163 (eval "$ac_link") 2>conftest.er1
5165 grep -v '^ *+' conftest.er1 >conftest.err
5167 cat conftest.err >&5
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); } && {
5170 test -z "$ac_c_werror_flag" ||
5171 test ! -s conftest.err
5172 } && test -s conftest$ac_exeext &&
5173 $as_test_x conftest$ac_exeext; then
5174 ac_cv_lib_pthread_pthread_create=yes
5176 echo "$as_me: failed program was:" >&5
5177 sed 's/^/| /' conftest.$ac_ext >&5
5179 ac_cv_lib_pthread_pthread_create=no
5182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5183 conftest$ac_exeext conftest.$ac_ext
5184 LIBS=$ac_check_lib_save_LIBS
5186 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
5187 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
5188 if test $ac_cv_lib_pthread_pthread_create = yes; then
5189 cat >>confdefs.h <<_ACEOF
5190 #define HAVE_LIBPTHREAD 1
5193 LIBS="-lpthread $LIBS"
5196 { { echo "$as_me:$LINENO: error: NetFlow requires pthread" >&5
5197 echo "$as_me: error: NetFlow requires pthread" >&2;}
5198 { (exit 1); exit 1; }; }
5209 # Check whether --with-mysql was given.
5210 if test "${with_mysql+set}" = set; then
5211 withval=$with_mysql;
5212 if test $withval != yes
5219 { echo "$as_me:$LINENO: checking for MySQL files" >&5
5220 echo $ECHO_N "checking for MySQL files... $ECHO_C" >&6; }
5221 for d in $dir/bin /usr/bin /usr/local/bin /usr/local/mysql/bin /opt/mysql/bin /opt/packages/mysql/bin
5223 if test -f $d/mysql_config
5225 { echo "$as_me:$LINENO: result: found mysql_config in $d" >&5
5226 echo "${ECHO_T}found mysql_config in $d" >&6; }
5232 if test x$mysqldir = x
5234 { echo "$as_me:$LINENO: WARNING: MySQL backend not used" >&5
5235 echo "$as_me: WARNING: MySQL backend not used" >&2;}
5237 cat >>confdefs.h <<\_ACEOF
5238 #define HAVE_MYSQL 1
5241 MYSQLINCLUDES=`$d/mysql_config --include`
5242 MYSQLLIBS=`$d/mysql_config --libs`
5244 DATABASE_DIR="${DATABASE_DIR} mysql"
5246 MYSQL_LIB="${DATABASE_LIB} ${MYSQLLIBS} "
5247 # no change to DATABASE_LIB_DIR, since --libs already includes -L
5249 DATABASE_DRIVERS="${DATABASE_DRIVERS} ../mysql/mysql_driver.o "
5251 DB_DEF="${DB_DEF} -DHAVE_MYSQL "
5258 { echo "$as_me:$LINENO: checking for mysql_real_escape_string support" >&5
5259 echo $ECHO_N "checking for mysql_real_escape_string support... $ECHO_C" >&6; }
5261 MYSQL_FUNCTION_TEST=`strings ${MYSQLLIBS}/libmysqlclient.so | grep mysql_real_escape_string`
5263 if test "x$MYSQL_FUNCTION_TEST" = x
5265 EXTRA_MYSQL_DEF="-DOLD_MYSQL=1 "
5266 { echo "$as_me:$LINENO: result: found old MySQL" >&5
5267 echo "${ECHO_T}found old MySQL" >&6; }
5269 { echo "$as_me:$LINENO: result: found new MySQL" >&5
5270 echo "${ECHO_T}found new MySQL" >&6; }
5281 # Check whether --with-mysql-log-ip-as-string was given.
5282 if test "${with_mysql_log_ip_as_string+set}" = set; then
5283 withval=$with_mysql_log_ip_as_string;
5284 EXTRA_MYSQL_DEF="${EXTRA_MYSQL_DEF} -DIP_AS_STRING=1"
5285 { echo "$as_me:$LINENO: WARNING: the use of --with-mysql-log-ip-as-string is discouraged" >&5
5286 echo "$as_me: WARNING: the use of --with-mysql-log-ip-as-string is discouraged" >&2;}
5292 # Check whether --with-libxml2 was given.
5293 if test "${with_libxml2+set}" = set; then
5294 withval=$with_libxml2;
5295 if test $withval != yes
5305 { echo "$as_me:$LINENO: checking for LIBXML2 files" >&5
5306 echo $ECHO_N "checking for LIBXML2 files... $ECHO_C" >&6; }
5307 for d in $dir/bin /usr/bin /usr/local/bin /usr/local/libxml2/bin /opt/libxml2/bin /opt/packages/libxml2/bin
5309 if test -x $d/xml2-config
5311 { echo "$as_me:$LINENO: result: found xml2-config in $d" >&5
5312 echo "${ECHO_T}found xml2-config in $d" >&6; }
5318 if test x$libxmldir = x
5320 { { echo "$as_me:$LINENO: error: xml2-config not found" >&5
5321 echo "$as_me: error: xml2-config not found" >&2;}
5322 { (exit 1); exit 1; }; }
5324 XMLINCLUDES=`$libxmldir/xml2-config --cflags`
5327 XMLLIBS=`$libxmldir/xml2-config --libs`
5331 zkdir="/usr/local/lib"
5334 # Check whether --with-zookeeper was given.
5335 if test "${with_zookeeper+set}" = set; then
5336 withval=$with_zookeeper;
5337 if test $withval = no
5340 { echo "$as_me:$LINENO: WARNING: Building without zookeeper support." >&5
5341 echo "$as_me: WARNING: Building without zookeeper support." >&2;}
5349 if test $zkdir != no
5351 { echo "$as_me:$LINENO: checking for zookeeper libraries" >&5
5352 echo $ECHO_N "checking for zookeeper libraries... $ECHO_C" >&6; }
5353 for d in $zkdir /usr/local/lib /lib /usr/lib
5355 if test -f $d/libzookeeper_mt.so
5357 { echo "$as_me:$LINENO: result: found libzookeeper_mt.so in $d" >&5
5358 echo "${ECHO_T}found libzookeeper_mt.so in $d" >&6; }
5359 zklib=$d/libzookeeper_mt.so
5366 { echo "$as_me:$LINENO: WARNING: Zookeeper libraries not found." >&5
5367 echo "$as_me: WARNING: Zookeeper libraries not found." >&2;}
5377 ZKFLAGS="-DTHREADED -DBUILD_ZOOKEEPER"
5383 # Check whether --with-pgsql was given.
5384 if test "${with_pgsql+set}" = set; then
5385 withval=$with_pgsql;
5386 if test $withval != yes
5393 { echo "$as_me:$LINENO: checking for PGSQL files" >&5
5394 echo $ECHO_N "checking for PGSQL files... $ECHO_C" >&6; }
5395 for d in $dir/bin /usr/bin /usr/local/bin /usr/local/pgsql/bin /opt/pgsql/bin /opt/packages/pgsql/bin
5397 if test -x $d/pg_config
5399 { echo "$as_me:$LINENO: result: found pg_config in $d" >&5
5400 echo "${ECHO_T}found pg_config in $d" >&6; }
5406 if test x$pgsqldir = x
5408 { echo "$as_me:$LINENO: WARNING: PGSQL backend not used" >&5
5409 echo "$as_me: WARNING: PGSQL backend not used" >&2;}
5411 cat >>confdefs.h <<\_ACEOF
5412 #define HAVE_PGSQL 1
5415 PGSQLINCLUDES=`$pgsqldir/pg_config --includedir`
5416 PGSQLLIBS=`$pgsqldir/pg_config --libdir`
5418 DATABASE_DIR="${DATABASE_DIR} pgsql"
5419 PGSQL_LIB="${DATABASE_LIB} -lpq "
5421 DATABASE_LIB_DIR="${DATABASE_LIB_DIR} -L${PGSQLLIBS} "
5422 DB_DEF="${DB_DEF} -DHAVE_PGSQL "
5434 # Check whether --with-pgsql-log-ip-as-string was given.
5435 if test "${with_pgsql_log_ip_as_string+set}" = set; then
5436 withval=$with_pgsql_log_ip_as_string;
5437 EXTRA_PGSQL_DEF="-DIP_AS_STRING=1"
5444 # Check whether --with-sqlite3 was given.
5445 if test "${with_sqlite3+set}" = set; then
5446 withval=$with_sqlite3;
5447 if test $withval != yes
5454 { echo "$as_me:$LINENO: checking for sqlite3 files" >&5
5455 echo $ECHO_N "checking for sqlite3 files... $ECHO_C" >&6; }
5456 for d in $dir /usr /usr/local /usr/local/sqlite3
5458 if test -f $d/lib/sqlite3/libsqlite3.so
5460 { echo "$as_me:$LINENO: result: found sqlite3 in $d" >&5
5461 echo "${ECHO_T}found sqlite3 in $d" >&6; }
5463 sqlite3dir_suffix=/sqlite3
5465 elif test -f $d/lib64/sqlite3/libsqlite3.so
5467 { echo "$as_me:$LINENO: result: found sqlite3 in $d" >&5
5468 echo "${ECHO_T}found sqlite3 in $d" >&6; }
5470 sqlite3dir_suffix=/sqlite3
5472 elif test -f $d/lib/libsqlite3.so
5474 { echo "$as_me:$LINENO: result: found sqlite in $d" >&5
5475 echo "${ECHO_T}found sqlite in $d" >&6; }
5479 elif test -f $d/lib64/libsqlite3.so
5481 { echo "$as_me:$LINENO: result: found sqlite in $d" >&5
5482 echo "${ECHO_T}found sqlite in $d" >&6; }
5489 if test x$sqlite3dir = x
5491 { echo "$as_me:$LINENO: WARNING: sqlite3 backend not used" >&5
5492 echo "$as_me: WARNING: sqlite3 backend not used" >&2;}
5494 cat >>confdefs.h <<\_ACEOF
5495 #define HAVE_SQLITE3 1
5498 SQLITE3INCLUDES=${sqlite3dir}/include${sqlite3dir_suffix}
5499 SQLITE3LIBS=${sqlite3dir}/lib${sqlite3dir_suffix}
5501 DATABASE_DIR="${DATABASE_DIR} sqlite3"
5503 SQLITE3_LIB="${DATABASE_LIB} -lsqlite3 "
5504 DATABASE_LIB_DIR="${DATABASE_LIB_DIR} -L${SQLITE3LIBS} "
5507 DB_DEF="${DB_DEF} -DHAVE_SQLITE3 "
5521 # Check whether --with-sqlite3-log-ip-as-string was given.
5522 if test "${with_sqlite3_log_ip_as_string+set}" = set; then
5523 withval=$with_sqlite3_log_ip_as_string;
5524 EXTRA_SQLITE3_DEF="${EXTRA_SQLITE3_DEF} -DIP_AS_STRING=1"
5525 { echo "$as_me:$LINENO: WARNING: the use of --with-sqlite3-log-ip-as-string is discouraged" >&5
5526 echo "$as_me: WARNING: the use of --with-sqlite3-log-ip-as-string is discouraged" >&2;}
5543 if test x$mysqldir != x; then
5545 HAVE_MYSQL_FALSE='#'
5551 if test x$pgsqldir != x; then
5553 HAVE_PGSQL_FALSE='#'
5559 if test x$sqlite3dir != x; then
5561 HAVE_SQLITE3_FALSE='#'
5563 HAVE_SQLITE3_TRUE='#'
5568 ac_config_files="$ac_config_files extensions/Makefile doc/Makefile conffile/Makefile libipulog/Makefile mysql/Makefile pgsql/Makefile sqlite3/Makefile pcap/Makefile drl/Makefile Makefile Rules.make"
5570 cat >confcache <<\_ACEOF
5571 # This file is a shell script that caches the results of configure
5572 # tests run on this system so they can be shared between configure
5573 # scripts and configure runs, see configure's option --config-cache.
5574 # It is not useful on other systems. If it contains results you don't
5575 # want to keep, you may remove or edit it.
5577 # config.status only pays attention to the cache file if you give it
5578 # the --recheck option to rerun configure.
5580 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5581 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5586 # The following way of writing the cache mishandles newlines in values,
5587 # but we know of no workaround that is simple, portable, and efficient.
5588 # So, we kill variables containing newlines.
5589 # Ultrix sh set writes to stderr and can't be redirected directly,
5590 # and sets the high bit in the cache file unless we assign to the vars.
5592 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5593 eval ac_val=\$$ac_var
5597 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5598 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5601 _ | IFS | as_nl) ;; #(
5602 *) $as_unset $ac_var ;;
5608 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5609 *${as_nl}ac_space=\ *)
5610 # `set' does not quote correctly, so add quotes (double-quote
5611 # substitution turns \\\\ into \\, and sed turns \\ into \).
5614 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5617 # `set' quotes correctly as required by POSIX, so do not add quotes.
5618 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5627 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5629 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5631 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5632 if test -w "$cache_file"; then
5633 test "x$cache_file" != "x/dev/null" &&
5634 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5635 echo "$as_me: updating cache $cache_file" >&6;}
5636 cat confcache >$cache_file
5638 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5639 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5644 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5645 # Let make expand exec_prefix.
5646 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5648 # Transform confdefs.h into DEFS.
5649 # Protect against shell expansion while executing Makefile rules.
5650 # Protect against Makefile macro expansion.
5652 # If the first sed substitution is executed (which looks for macros that
5653 # take arguments), then branch to the quote section. Otherwise,
5654 # look for a macro that doesn't take arguments.
5658 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5660 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5664 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5677 DEFS=`sed -n "$ac_script" confdefs.h`
5682 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5683 # 1. Remove the extension, and $U if already installed.
5684 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5685 ac_i=`echo "$ac_i" | sed "$ac_script"`
5686 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5687 # will be set to the directory where LIBOBJS objects are built.
5688 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5689 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5693 LTLIBOBJS=$ac_ltlibobjs
5696 if test -z "${HAVE_MYSQL_TRUE}" && test -z "${HAVE_MYSQL_FALSE}"; then
5697 { { echo "$as_me:$LINENO: error: conditional \"HAVE_MYSQL\" was never defined.
5698 Usually this means the macro was only invoked conditionally." >&5
5699 echo "$as_me: error: conditional \"HAVE_MYSQL\" was never defined.
5700 Usually this means the macro was only invoked conditionally." >&2;}
5701 { (exit 1); exit 1; }; }
5703 if test -z "${HAVE_PGSQL_TRUE}" && test -z "${HAVE_PGSQL_FALSE}"; then
5704 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PGSQL\" was never defined.
5705 Usually this means the macro was only invoked conditionally." >&5
5706 echo "$as_me: error: conditional \"HAVE_PGSQL\" was never defined.
5707 Usually this means the macro was only invoked conditionally." >&2;}
5708 { (exit 1); exit 1; }; }
5710 if test -z "${HAVE_SQLITE3_TRUE}" && test -z "${HAVE_SQLITE3_FALSE}"; then
5711 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SQLITE3\" was never defined.
5712 Usually this means the macro was only invoked conditionally." >&5
5713 echo "$as_me: error: conditional \"HAVE_SQLITE3\" was never defined.
5714 Usually this means the macro was only invoked conditionally." >&2;}
5715 { (exit 1); exit 1; }; }
5718 : ${CONFIG_STATUS=./config.status}
5719 ac_clean_files_save=$ac_clean_files
5720 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5721 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5722 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5723 cat >$CONFIG_STATUS <<_ACEOF
5725 # Generated by $as_me.
5726 # Run this file to recreate the current configuration.
5727 # Compiler output produced by configure, useful for debugging
5728 # configure, is in config.log if it exists.
5733 SHELL=\${CONFIG_SHELL-$SHELL}
5736 cat >>$CONFIG_STATUS <<\_ACEOF
5737 ## --------------------- ##
5738 ## M4sh Initialization. ##
5739 ## --------------------- ##
5741 # Be more Bourne compatible
5742 DUALCASE=1; export DUALCASE # for MKS sh
5743 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5746 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5747 # is contrary to our usage. Disable this feature.
5748 alias -g '${1+"$@"}'='"$@"'
5749 setopt NO_GLOB_SUBST
5751 case `(set -o) 2>/dev/null` in
5752 *posix*) set -o posix ;;
5761 # Avoid depending upon Character Ranges.
5762 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5763 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5764 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5765 as_cr_digits='0123456789'
5766 as_cr_alnum=$as_cr_Letters$as_cr_digits
5768 # The user is always right.
5769 if test "${PATH_SEPARATOR+set}" != set; then
5770 echo "#! /bin/sh" >conf$$.sh
5771 echo "exit 0" >>conf$$.sh
5773 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5781 # Support unset when possible.
5782 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5790 # We need space, tab and new line, in precisely that order. Quoting is
5791 # there to prevent editors from complaining about space-tab.
5792 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5793 # splitting by setting IFS to empty value.)
5798 # Find who we are. Look in the path if we contain no directory separator.
5800 *[\\/]* ) as_myself=$0 ;;
5801 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 test -z "$as_dir" && as_dir=.
5806 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5812 # We did not find ourselves, most probably we were run as `sh COMMAND'
5813 # in which case we are not to be found in the path.
5814 if test "x$as_myself" = x; then
5817 if test ! -f "$as_myself"; then
5818 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5819 { (exit 1); exit 1; }
5822 # Work around bugs in pre-3.0 UWIN ksh.
5823 for as_var in ENV MAIL MAILPATH
5824 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5832 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5833 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5834 LC_TELEPHONE LC_TIME
5836 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5837 eval $as_var=C; export $as_var
5839 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5843 # Required to use basename.
5844 if expr a : '\(a\)' >/dev/null 2>&1 &&
5845 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5851 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5852 as_basename=basename
5858 # Name of the executable.
5859 as_me=`$as_basename -- "$0" ||
5860 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5861 X"$0" : 'X\(//\)$' \| \
5862 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5864 sed '/^.*\/\([^/][^/]*\)\/*$/{
5885 test "x$as_lineno_1" != "x$as_lineno_2" &&
5886 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5888 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5889 # uniformly replaced by the line number. The first 'sed' inserts a
5890 # line-number line after each line using $LINENO; the second 'sed'
5891 # does the real work. The second script uses 'N' to pair each
5892 # line-number line with the line containing $LINENO, and appends
5893 # trailing '-' during substitution so that $LINENO is not a special
5895 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5896 # scripts with optimization help from Paolo Bonzini. Blame Lee
5897 # E. McMahon (1931-1989) for sed's syntax. :-)
5909 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5913 chmod +x "$as_me.lineno" ||
5914 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5915 { (exit 1); exit 1; }; }
5917 # Don't try to exec as it changes $[0], causing all sort of problems
5918 # (the dirname of $[0] is not the place where we might find the
5919 # original and so on. Autoconf is especially sensitive to this).
5921 # Exit status is that of the last command.
5926 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5932 ECHO_C= ECHO_N= ECHO_T=
5935 case `echo 'x\c'` in
5936 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5943 if expr a : '\(a\)' >/dev/null 2>&1 &&
5944 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5950 rm -f conf$$ conf$$.exe conf$$.file
5951 if test -d conf$$.dir; then
5952 rm -f conf$$.dir/conf$$.file
5958 if ln -s conf$$.file conf$$ 2>/dev/null; then
5960 # ... but there are two gotchas:
5961 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5962 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5963 # In both cases, we have to default to `cp -p'.
5964 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5966 elif ln conf$$.file conf$$ 2>/dev/null; then
5971 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5972 rmdir conf$$.dir 2>/dev/null
5974 if mkdir -p . 2>/dev/null; then
5977 test -d ./-p && rmdir ./-p
5981 if test -x / >/dev/null 2>&1; then
5984 if ls -dL / >/dev/null 2>&1; then
5991 if test -d "$1"; then
5997 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5998 ???[sx]*):;;*)false;;esac;fi
6002 as_executable_p=$as_test_x
6004 # Sed expression to map a string onto a valid CPP name.
6005 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6007 # Sed expression to map a string onto a valid variable name.
6008 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6013 # Save the log message, to keep $[0] and so on meaningful, and to
6014 # report actual input values of CONFIG_FILES etc. instead of their
6015 # values after options handling.
6017 This file was extended by $as_me, which was
6018 generated by GNU Autoconf 2.61. Invocation command line was
6020 CONFIG_FILES = $CONFIG_FILES
6021 CONFIG_HEADERS = $CONFIG_HEADERS
6022 CONFIG_LINKS = $CONFIG_LINKS
6023 CONFIG_COMMANDS = $CONFIG_COMMANDS
6026 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6031 cat >>$CONFIG_STATUS <<_ACEOF
6032 # Files that config.status was made for.
6033 config_files="$ac_config_files"
6037 cat >>$CONFIG_STATUS <<\_ACEOF
6039 \`$as_me' instantiates files from templates according to the
6040 current configuration.
6042 Usage: $0 [OPTIONS] [FILE]...
6044 -h, --help print this help, then exit
6045 -V, --version print version number and configuration settings, then exit
6046 -q, --quiet do not print progress messages
6047 -d, --debug don't remove temporary files
6048 --recheck update $as_me by reconfiguring in the same conditions
6049 --file=FILE[:TEMPLATE]
6050 instantiate the configuration file FILE
6052 Configuration files:
6055 Report bugs to <bug-autoconf@gnu.org>."
6058 cat >>$CONFIG_STATUS <<_ACEOF
6061 configured by $0, generated by GNU Autoconf 2.61,
6062 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6064 Copyright (C) 2006 Free Software Foundation, Inc.
6065 This config.status script is free software; the Free Software Foundation
6066 gives unlimited permission to copy, distribute and modify it."
6073 cat >>$CONFIG_STATUS <<\_ACEOF
6074 # If no file are specified by the user, then we need to provide default
6075 # value. By we need to know if files were specified by the user.
6081 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6082 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6093 # Handling of the options.
6094 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6096 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6097 echo "$ac_cs_version"; exit ;;
6098 --debug | --debu | --deb | --de | --d | -d )
6100 --file | --fil | --fi | --f )
6102 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6103 ac_need_defaults=false;;
6104 --he | --h | --help | --hel | -h )
6105 echo "$ac_cs_usage"; exit ;;
6106 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6107 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6111 -*) { echo "$as_me: error: unrecognized option: $1
6112 Try \`$0 --help' for more information." >&2
6113 { (exit 1); exit 1; }; } ;;
6115 *) ac_config_targets="$ac_config_targets $1"
6116 ac_need_defaults=false ;;
6122 ac_configure_extra_args=
6124 if $ac_cs_silent; then
6126 ac_configure_extra_args="$ac_configure_extra_args --silent"
6130 cat >>$CONFIG_STATUS <<_ACEOF
6131 if \$ac_cs_recheck; then
6132 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6135 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6139 cat >>$CONFIG_STATUS <<\_ACEOF
6143 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6144 ## Running $as_me. ##
6150 cat >>$CONFIG_STATUS <<_ACEOF
6153 cat >>$CONFIG_STATUS <<\_ACEOF
6155 # Handling of arguments.
6156 for ac_config_target in $ac_config_targets
6158 case $ac_config_target in
6159 "extensions/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Makefile" ;;
6160 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
6161 "conffile/Makefile") CONFIG_FILES="$CONFIG_FILES conffile/Makefile" ;;
6162 "libipulog/Makefile") CONFIG_FILES="$CONFIG_FILES libipulog/Makefile" ;;
6163 "mysql/Makefile") CONFIG_FILES="$CONFIG_FILES mysql/Makefile" ;;
6164 "pgsql/Makefile") CONFIG_FILES="$CONFIG_FILES pgsql/Makefile" ;;
6165 "sqlite3/Makefile") CONFIG_FILES="$CONFIG_FILES sqlite3/Makefile" ;;
6166 "pcap/Makefile") CONFIG_FILES="$CONFIG_FILES pcap/Makefile" ;;
6167 "drl/Makefile") CONFIG_FILES="$CONFIG_FILES drl/Makefile" ;;
6168 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6169 "Rules.make") CONFIG_FILES="$CONFIG_FILES Rules.make" ;;
6171 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6172 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6173 { (exit 1); exit 1; }; };;
6178 # If the user did not use the arguments to specify the items to instantiate,
6179 # then the envvar interface is used. Set only those that are not.
6180 # We use the long form for the default assignment because of an extremely
6181 # bizarre bug on SunOS 4.1.3.
6182 if $ac_need_defaults; then
6183 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6186 # Have a temporary directory for convenience. Make it in the build tree
6187 # simply because there is no reason against having it here, and in addition,
6188 # creating and moving files from /tmp can sometimes cause problems.
6189 # Hook for its removal unless debugging.
6190 # Note that there is a small window in which the directory will not be cleaned:
6191 # after its creation but before its name has been assigned to `$tmp'.
6195 trap 'exit_status=$?
6196 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6198 trap '{ (exit 1); exit 1; }' 1 2 13 15
6200 # Create a (secure) tmp directory for tmp files.
6203 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6204 test -n "$tmp" && test -d "$tmp"
6207 tmp=./conf$$-$RANDOM
6208 (umask 077 && mkdir "$tmp")
6211 echo "$me: cannot create a temporary directory in ." >&2
6212 { (exit 1); exit 1; }
6216 # Set up the sed scripts for CONFIG_FILES section.
6219 # No need to generate the scripts if there are no CONFIG_FILES.
6220 # This happens for instance when ./config.status config.h
6221 if test -n "$CONFIG_FILES"; then
6228 for ac_last_try in false false false false false :; do
6229 cat >conf$$subs.sed <<_ACEOF
6230 SHELL!$SHELL$ac_delim
6231 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6232 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6233 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6234 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6235 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6236 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6237 exec_prefix!$exec_prefix$ac_delim
6238 prefix!$prefix$ac_delim
6239 program_transform_name!$program_transform_name$ac_delim
6240 bindir!$bindir$ac_delim
6241 sbindir!$sbindir$ac_delim
6242 libexecdir!$libexecdir$ac_delim
6243 datarootdir!$datarootdir$ac_delim
6244 datadir!$datadir$ac_delim
6245 sysconfdir!$sysconfdir$ac_delim
6246 sharedstatedir!$sharedstatedir$ac_delim
6247 localstatedir!$localstatedir$ac_delim
6248 includedir!$includedir$ac_delim
6249 oldincludedir!$oldincludedir$ac_delim
6250 docdir!$docdir$ac_delim
6251 infodir!$infodir$ac_delim
6252 htmldir!$htmldir$ac_delim
6253 dvidir!$dvidir$ac_delim
6254 pdfdir!$pdfdir$ac_delim
6255 psdir!$psdir$ac_delim
6256 libdir!$libdir$ac_delim
6257 localedir!$localedir$ac_delim
6258 mandir!$mandir$ac_delim
6260 ECHO_C!$ECHO_C$ac_delim
6261 ECHO_N!$ECHO_N$ac_delim
6262 ECHO_T!$ECHO_T$ac_delim
6264 build_alias!$build_alias$ac_delim
6265 host_alias!$host_alias$ac_delim
6266 target_alias!$target_alias$ac_delim
6267 SET_MAKE!$SET_MAKE$ac_delim
6269 CFLAGS!$CFLAGS$ac_delim
6270 LDFLAGS!$LDFLAGS$ac_delim
6271 CPPFLAGS!$CPPFLAGS$ac_delim
6272 ac_ct_CC!$ac_ct_CC$ac_delim
6273 EXEEXT!$EXEEXT$ac_delim
6274 OBJEXT!$OBJEXT$ac_delim
6276 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6277 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6278 INSTALL_DATA!$INSTALL_DATA$ac_delim
6281 EGREP!$EGREP$ac_delim
6282 MYSQLINCLUDES!$MYSQLINCLUDES$ac_delim
6283 MYSQL_LIB!$MYSQL_LIB$ac_delim
6284 XMLINCLUDES!$XMLINCLUDES$ac_delim
6285 XMLLIBS!$XMLLIBS$ac_delim
6286 ZKLIBS!$ZKLIBS$ac_delim
6287 ZKFLAGS!$ZKFLAGS$ac_delim
6288 PGSQLINCLUDES!$PGSQLINCLUDES$ac_delim
6289 PGSQL_LIB!$PGSQL_LIB$ac_delim
6290 SQLITE3INCLUDES!$SQLITE3INCLUDES$ac_delim
6291 SQLITE3_LIB!$SQLITE3_LIB$ac_delim
6292 DATABASE_DIR!$DATABASE_DIR$ac_delim
6293 DATABASE_LIB!$DATABASE_LIB$ac_delim
6294 DATABASE_LIB_DIR!$DATABASE_LIB_DIR$ac_delim
6295 DB_DEF!$DB_DEF$ac_delim
6296 EXTRA_MYSQL_DEF!$EXTRA_MYSQL_DEF$ac_delim
6297 EXTRA_PGSQL_DEF!$EXTRA_PGSQL_DEF$ac_delim
6298 EXTRA_SQLITE3_DEF!$EXTRA_SQLITE3_DEF$ac_delim
6299 DATABASE_DRIVERS!$DATABASE_DRIVERS$ac_delim
6300 HAVE_PCAP_H!$HAVE_PCAP_H$ac_delim
6301 HAVE_MYSQL_TRUE!$HAVE_MYSQL_TRUE$ac_delim
6302 HAVE_MYSQL_FALSE!$HAVE_MYSQL_FALSE$ac_delim
6303 HAVE_PGSQL_TRUE!$HAVE_PGSQL_TRUE$ac_delim
6304 HAVE_PGSQL_FALSE!$HAVE_PGSQL_FALSE$ac_delim
6305 HAVE_SQLITE3_TRUE!$HAVE_SQLITE3_TRUE$ac_delim
6306 HAVE_SQLITE3_FALSE!$HAVE_SQLITE3_FALSE$ac_delim
6307 LIBOBJS!$LIBOBJS$ac_delim
6308 LTLIBOBJS!$LTLIBOBJS$ac_delim
6311 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
6313 elif $ac_last_try; then
6314 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6315 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6316 { (exit 1); exit 1; }; }
6318 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6322 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6323 if test -n "$ac_eof"; then
6324 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6325 ac_eof=`expr $ac_eof + 1`
6328 cat >>$CONFIG_STATUS <<_ACEOF
6329 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6330 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6333 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6334 s/^/s,@/; s/!/@,|#_!!_#|/
6337 s/'"$ac_delim"'$/,g/; t
6339 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6340 ' >>$CONFIG_STATUS <conf$$subs.sed
6341 rm -f conf$$subs.sed
6342 cat >>$CONFIG_STATUS <<_ACEOF
6349 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6350 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6351 # trailing colons and then remove the whole line if VPATH becomes empty
6352 # (actually we leave an empty line to preserve line numbers).
6353 if test "x$srcdir" = x.; then
6354 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6358 s/^\([^=]*=[ ]*\):*/\1/
6364 cat >>$CONFIG_STATUS <<\_ACEOF
6365 fi # test -n "$CONFIG_FILES"
6368 for ac_tag in :F $CONFIG_FILES
6371 :[FHLC]) ac_mode=$ac_tag; continue;;
6373 case $ac_mode$ac_tag in
6375 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6376 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6377 { (exit 1); exit 1; }; };;
6378 :[FH]-) ac_tag=-:-;;
6379 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6396 -) ac_f="$tmp/stdin";;
6397 *) # Look for the file first in the build tree, then in the source tree
6398 # (if the path is not absolute). The absolute path cannot be DOS-style,
6399 # because $ac_f cannot contain `:'.
6403 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6405 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6406 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6407 { (exit 1); exit 1; }; };;
6409 ac_file_inputs="$ac_file_inputs $ac_f"
6412 # Let's still pretend it is `configure' which instantiates (i.e., don't
6413 # use $as_me), people would be surprised to read:
6414 # /* config.h. Generated by config.status. */
6415 configure_input="Generated from "`IFS=:
6416 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6417 if test x"$ac_file" != x-; then
6418 configure_input="$ac_file. $configure_input"
6419 { echo "$as_me:$LINENO: creating $ac_file" >&5
6420 echo "$as_me: creating $ac_file" >&6;}
6424 *:-:* | *:-) cat >"$tmp/stdin";;
6429 ac_dir=`$as_dirname -- "$ac_file" ||
6430 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6431 X"$ac_file" : 'X\(//\)[^/]' \| \
6432 X"$ac_file" : 'X\(//\)$' \| \
6433 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6454 -*) as_dir=./$as_dir;;
6456 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6460 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6461 *) as_qdir=$as_dir;;
6463 as_dirs="'$as_qdir' $as_dirs"
6464 as_dir=`$as_dirname -- "$as_dir" ||
6465 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6466 X"$as_dir" : 'X\(//\)[^/]' \| \
6467 X"$as_dir" : 'X\(//\)$' \| \
6468 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6487 test -d "$as_dir" && break
6489 test -z "$as_dirs" || eval "mkdir $as_dirs"
6490 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6491 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6492 { (exit 1); exit 1; }; }; }
6496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6498 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6499 # A ".." for each directory in $ac_dir_suffix.
6500 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6501 case $ac_top_builddir_sub in
6502 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6503 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6506 ac_abs_top_builddir=$ac_pwd
6507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6508 # for backward compatibility:
6509 ac_top_builddir=$ac_top_build_prefix
6512 .) # We are building in place.
6514 ac_top_srcdir=$ac_top_builddir_sub
6515 ac_abs_top_srcdir=$ac_pwd ;;
6516 [\\/]* | ?:[\\/]* ) # Absolute name.
6517 ac_srcdir=$srcdir$ac_dir_suffix;
6518 ac_top_srcdir=$srcdir
6519 ac_abs_top_srcdir=$srcdir ;;
6521 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6522 ac_top_srcdir=$ac_top_build_prefix$srcdir
6523 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6535 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6536 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6540 cat >>$CONFIG_STATUS <<\_ACEOF
6541 # If the template does not know about datarootdir, expand it.
6542 # FIXME: This hack should be removed a few years after 2.60.
6543 ac_datarootdir_hack=; ac_datarootdir_seen=
6545 case `sed -n '/datarootdir/ {
6554 ' $ac_file_inputs` in
6555 *datarootdir*) ac_datarootdir_seen=yes;;
6556 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6557 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6558 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6560 cat >>$CONFIG_STATUS <<_ACEOF
6561 ac_datarootdir_hack='
6562 s&@datadir@&$datadir&g
6563 s&@docdir@&$docdir&g
6564 s&@infodir@&$infodir&g
6565 s&@localedir@&$localedir&g
6566 s&@mandir@&$mandir&g
6567 s&\\\${datarootdir}&$datarootdir&g' ;;
6571 # Neutralize VPATH when `$srcdir' = `.'.
6572 # Shell code in configure.ac might set extrasub.
6573 # FIXME: do we really want to maintain this feature?
6574 cat >>$CONFIG_STATUS <<_ACEOF
6578 cat >>$CONFIG_STATUS <<\_ACEOF
6580 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6581 s&@configure_input@&$configure_input&;t t
6582 s&@top_builddir@&$ac_top_builddir_sub&;t t
6583 s&@srcdir@&$ac_srcdir&;t t
6584 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6585 s&@top_srcdir@&$ac_top_srcdir&;t t
6586 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6587 s&@builddir@&$ac_builddir&;t t
6588 s&@abs_builddir@&$ac_abs_builddir&;t t
6589 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6590 s&@INSTALL@&$ac_INSTALL&;t t
6591 $ac_datarootdir_hack
6592 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6594 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6595 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6596 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6597 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6598 which seems to be undefined. Please make sure it is defined." >&5
6599 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6600 which seems to be undefined. Please make sure it is defined." >&2;}
6604 -) cat "$tmp/out"; rm -f "$tmp/out";;
6605 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6616 { (exit 0); exit 0; }
6618 chmod +x $CONFIG_STATUS
6619 ac_clean_files=$ac_clean_files_save
6622 # configure is writing to config.log, and then calls config.status.
6623 # config.status does its own redirection, appending to config.log.
6624 # Unfortunately, on DOS this fails, as config.log is still kept open
6625 # by configure, so config.status won't be able to write to it; its
6626 # output is simply discarded. So we exec the FD to /dev/null,
6627 # effectively closing config.log, so it can be properly (re)opened and
6628 # appended to by config.status. When coming back to configure, we
6629 # need to make the FD available again.
6630 if test "$no_create" != yes; then
6632 ac_config_status_args=
6633 test "$silent" = yes &&
6634 ac_config_status_args="$ac_config_status_args --quiet"
6636 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6638 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6639 # would make configure fail if this is the last instruction.
6640 $ac_cs_success || { (exit 1); exit 1; }