2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for X3 1.8.
6 # Report bugs to <evilnet-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
578 PACKAGE_VERSION
='1.8'
579 PACKAGE_STRING
='X3 1.8'
580 PACKAGE_BUGREPORT
='evilnet-devel@lists.sourceforge.net'
582 ac_unique_file
="src/opserv.c"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
699 ac_precious_vars
='build_alias
710 # Initialize some variables set by options.
712 ac_init_version
=false
713 # The variables have the same names as the options, with
714 # dashes changed to underlines.
722 program_transform_name
=s
,x
,x
,
730 # Installation directory options.
731 # These are left unexpanded so users can "make install exec_prefix=/foo"
732 # and all the variables that are supposed to be based on exec_prefix
733 # by default will actually change.
734 # Use braces instead of parens because sh, perl, etc. also accept them.
735 # (The list follows the same order as the GNU Coding Standards.)
736 bindir
='${exec_prefix}/bin'
737 sbindir
='${exec_prefix}/sbin'
738 libexecdir
='${exec_prefix}/libexec'
739 datarootdir
='${prefix}/share'
740 datadir
='${datarootdir}'
741 sysconfdir
='${prefix}/etc'
742 sharedstatedir
='${prefix}/com'
743 localstatedir
='${prefix}/var'
744 includedir
='${prefix}/include'
745 oldincludedir
='/usr/include'
746 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
747 infodir
='${datarootdir}/info'
752 libdir
='${exec_prefix}/lib'
753 localedir
='${datarootdir}/locale'
754 mandir
='${datarootdir}/man'
760 # If the previous option needs an argument, assign it.
761 if test -n "$ac_prev"; then
762 eval $ac_prev=\
$ac_option
768 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
772 # Accept the important Cygnus configure options, so we can diagnose typos.
774 case $ac_dashdash$ac_option in
778 -bindir | --bindir | --bindi | --bind | --bin | --bi)
780 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
783 -build | --build | --buil | --bui | --bu)
784 ac_prev
=build_alias
;;
785 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
786 build_alias
=$ac_optarg ;;
788 -cache-file | --cache-file | --cache-fil | --cache-fi \
789 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
790 ac_prev
=cache_file
;;
791 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
792 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
793 cache_file
=$ac_optarg ;;
796 cache_file
=config.cache
;;
798 -datadir | --datadir | --datadi | --datad)
800 -datadir=* | --datadir=* | --datadi=* | --datad=*)
801 datadir
=$ac_optarg ;;
803 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
804 | --dataroo | --dataro | --datar)
805 ac_prev
=datarootdir
;;
806 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
807 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
808 datarootdir
=$ac_optarg ;;
810 -disable-* | --disable-*)
811 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
814 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
815 { (exit 1); exit 1; }; }
816 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
817 eval enable_
$ac_feature=no
;;
819 -docdir | --docdir | --docdi | --doc | --do)
821 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
824 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
829 -enable-* | --enable-*)
830 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
831 # Reject names that are not valid shell variable names.
832 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
833 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
834 { (exit 1); exit 1; }; }
835 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
836 eval enable_
$ac_feature=\
$ac_optarg ;;
838 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
839 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
840 | --exec | --exe | --ex)
841 ac_prev
=exec_prefix
;;
842 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
843 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
844 | --exec=* | --exe=* | --ex=*)
845 exec_prefix
=$ac_optarg ;;
847 -gas | --gas | --ga | --g)
848 # Obsolete; use --with-gas.
851 -help | --help | --hel | --he | -h)
853 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
854 ac_init_help
=recursive
;;
855 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
856 ac_init_help
=short
;;
858 -host | --host | --hos | --ho)
859 ac_prev
=host_alias
;;
860 -host=* | --host=* | --hos=* | --ho=*)
861 host_alias
=$ac_optarg ;;
863 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
865 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
867 htmldir
=$ac_optarg ;;
869 -includedir | --includedir | --includedi | --included | --include \
870 | --includ | --inclu | --incl | --inc)
871 ac_prev
=includedir
;;
872 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
873 | --includ=* | --inclu=* | --incl=* | --inc=*)
874 includedir
=$ac_optarg ;;
876 -infodir | --infodir | --infodi | --infod | --info | --inf)
878 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
879 infodir
=$ac_optarg ;;
881 -libdir | --libdir | --libdi | --libd)
883 -libdir=* | --libdir=* | --libdi=* | --libd=*)
886 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
887 | --libexe | --libex | --libe)
888 ac_prev
=libexecdir
;;
889 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
890 | --libexe=* | --libex=* | --libe=*)
891 libexecdir
=$ac_optarg ;;
893 -localedir | --localedir | --localedi | --localed | --locale)
895 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
896 localedir
=$ac_optarg ;;
898 -localstatedir | --localstatedir | --localstatedi | --localstated \
899 | --localstate | --localstat | --localsta | --localst | --locals)
900 ac_prev
=localstatedir
;;
901 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
902 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
903 localstatedir
=$ac_optarg ;;
905 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
907 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
911 # Obsolete; use --without-fp.
914 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
915 | --no-cr | --no-c | -n)
918 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
919 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
922 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
923 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
924 | --oldin | --oldi | --old | --ol | --o)
925 ac_prev
=oldincludedir
;;
926 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
927 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
928 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
929 oldincludedir
=$ac_optarg ;;
931 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
933 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
936 -program-prefix | --program-prefix | --program-prefi | --program-pref \
937 | --program-pre | --program-pr | --program-p)
938 ac_prev
=program_prefix
;;
939 -program-prefix=* | --program-prefix=* | --program-prefi=* \
940 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
941 program_prefix
=$ac_optarg ;;
943 -program-suffix | --program-suffix | --program-suffi | --program-suff \
944 | --program-suf | --program-su | --program-s)
945 ac_prev
=program_suffix
;;
946 -program-suffix=* | --program-suffix=* | --program-suffi=* \
947 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
948 program_suffix
=$ac_optarg ;;
950 -program-transform-name | --program-transform-name \
951 | --program-transform-nam | --program-transform-na \
952 | --program-transform-n | --program-transform- \
953 | --program-transform | --program-transfor \
954 | --program-transfo | --program-transf \
955 | --program-trans | --program-tran \
956 | --progr-tra | --program-tr | --program-t)
957 ac_prev
=program_transform_name
;;
958 -program-transform-name=* | --program-transform-name=* \
959 | --program-transform-nam=* | --program-transform-na=* \
960 | --program-transform-n=* | --program-transform-=* \
961 | --program-transform=* | --program-transfor=* \
962 | --program-transfo=* | --program-transf=* \
963 | --program-trans=* | --program-tran=* \
964 | --progr-tra=* | --program-tr=* | --program-t=*)
965 program_transform_name
=$ac_optarg ;;
967 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
969 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
972 -psdir | --psdir | --psdi | --psd | --ps)
974 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
978 | -silent | --silent | --silen | --sile | --sil)
981 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
983 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
985 sbindir
=$ac_optarg ;;
987 -sharedstatedir | --sharedstatedir | --sharedstatedi \
988 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
989 | --sharedst | --shareds | --shared | --share | --shar \
991 ac_prev
=sharedstatedir
;;
992 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
993 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
994 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
996 sharedstatedir
=$ac_optarg ;;
998 -site | --site | --sit)
1000 -site=* | --site=* | --sit=*)
1003 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1005 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1006 srcdir
=$ac_optarg ;;
1008 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1009 | --syscon | --sysco | --sysc | --sys | --sy)
1010 ac_prev
=sysconfdir
;;
1011 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1012 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1013 sysconfdir
=$ac_optarg ;;
1015 -target | --target | --targe | --targ | --tar | --ta | --t)
1016 ac_prev
=target_alias
;;
1017 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1018 target_alias
=$ac_optarg ;;
1020 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1023 -version | --version | --versio | --versi | --vers | -V)
1024 ac_init_version
=: ;;
1027 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1030 { echo "$as_me: error: invalid package name: $ac_package" >&2
1031 { (exit 1); exit 1; }; }
1032 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1033 eval with_
$ac_package=\
$ac_optarg ;;
1035 -without-* | --without-*)
1036 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1039 { echo "$as_me: error: invalid package name: $ac_package" >&2
1040 { (exit 1); exit 1; }; }
1041 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1042 eval with_
$ac_package=no
;;
1045 # Obsolete; use --with-x.
1048 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1049 | --x-incl | --x-inc | --x-in | --x-i)
1050 ac_prev
=x_includes
;;
1051 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1052 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1053 x_includes
=$ac_optarg ;;
1055 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1056 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1057 ac_prev
=x_libraries
;;
1058 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1059 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1060 x_libraries
=$ac_optarg ;;
1062 -*) { echo "$as_me: error: unrecognized option: $ac_option
1063 Try \`$0 --help' for more information." >&2
1064 { (exit 1); exit 1; }; }
1068 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1071 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1072 { (exit 1); exit 1; }; }
1073 eval $ac_envvar=\
$ac_optarg
1074 export $ac_envvar ;;
1077 # FIXME: should be removed in autoconf 3.0.
1078 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1079 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1080 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1081 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1087 if test -n "$ac_prev"; then
1088 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1089 { echo "$as_me: error: missing argument to $ac_option" >&2
1090 { (exit 1); exit 1; }; }
1093 # Be sure to have absolute directory names.
1094 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1095 datadir sysconfdir sharedstatedir localstatedir includedir \
1096 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1097 libdir localedir mandir
1099 eval ac_val
=\$
$ac_var
1101 [\\/$
]* | ?
:[\\/]* ) continue;;
1102 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1104 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1105 { (exit 1); exit 1; }; }
1108 # There might be people who depend on the old broken behavior: `$host'
1109 # used to hold the argument of --host etc.
1110 # FIXME: To remove some day.
1113 target
=$target_alias
1115 # FIXME: To remove some day.
1116 if test "x$host_alias" != x
; then
1117 if test "x$build_alias" = x
; then
1118 cross_compiling
=maybe
1119 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1120 If a cross compiler is detected then cross compile mode will be used." >&2
1121 elif test "x$build_alias" != "x$host_alias"; then
1127 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1129 test "$silent" = yes && exec 6>/dev
/null
1132 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1133 ac_ls_di
=`ls -di .` &&
1134 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1135 { echo "$as_me: error: Working directory cannot be determined" >&2
1136 { (exit 1); exit 1; }; }
1137 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1138 { echo "$as_me: error: pwd does not report name of working directory" >&2
1139 { (exit 1); exit 1; }; }
1142 # Find the source files, if location was not specified.
1143 if test -z "$srcdir"; then
1144 ac_srcdir_defaulted
=yes
1145 # Try the directory containing this script, then the parent directory.
1146 ac_confdir
=`$as_dirname -- "$0" ||
1147 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1148 X"$0" : 'X\(//\)[^/]' \| \
1149 X"$0" : 'X\(//\)$' \| \
1150 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1170 if test ! -r "$srcdir/$ac_unique_file"; then
1174 ac_srcdir_defaulted
=no
1176 if test ! -r "$srcdir/$ac_unique_file"; then
1177 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1178 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1179 { (exit 1); exit 1; }; }
1181 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1183 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1184 { (exit 1); exit 1; }; }
1186 # When building in place, set srcdir=.
1187 if test "$ac_abs_confdir" = "$ac_pwd"; then
1190 # Remove unnecessary trailing slashes from srcdir.
1191 # Double slashes in file names in object file debugging info
1192 # mess up M-x gdb in Emacs.
1194 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1196 for ac_var
in $ac_precious_vars; do
1197 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1198 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1199 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1200 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1204 # Report the --help message.
1206 if test "$ac_init_help" = "long"; then
1207 # Omit some internal or obsolete options to make the list less imposing.
1208 # This message is too long to be a string in the A/UX 3.1 sh.
1210 \`configure' configures X3 1.8 to adapt to many kinds of systems.
1212 Usage: $0 [OPTION]... [VAR=VALUE]...
1214 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1215 VAR=VALUE. See below for descriptions of some of the useful variables.
1217 Defaults for the options are specified in brackets.
1220 -h, --help display this help and exit
1221 --help=short display options specific to this package
1222 --help=recursive display the short help of all the included packages
1223 -V, --version display version information and exit
1224 -q, --quiet, --silent do not print \`checking...' messages
1225 --cache-file=FILE cache test results in FILE [disabled]
1226 -C, --config-cache alias for \`--cache-file=config.cache'
1227 -n, --no-create do not create output files
1228 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1230 Installation directories:
1231 --prefix=PREFIX install architecture-independent files in PREFIX
1232 [$ac_default_prefix]
1233 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1236 By default, \`make install' will install all the files in
1237 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1238 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1239 for instance \`--prefix=\$HOME'.
1241 For better control, use the options below.
1243 Fine tuning of the installation directories:
1244 --bindir=DIR user executables [EPREFIX/bin]
1245 --sbindir=DIR system admin executables [EPREFIX/sbin]
1246 --libexecdir=DIR program executables [EPREFIX/libexec]
1247 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1248 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1249 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1250 --libdir=DIR object code libraries [EPREFIX/lib]
1251 --includedir=DIR C header files [PREFIX/include]
1252 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1253 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1254 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1255 --infodir=DIR info documentation [DATAROOTDIR/info]
1256 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1257 --mandir=DIR man documentation [DATAROOTDIR/man]
1258 --docdir=DIR documentation root [DATAROOTDIR/doc/x3]
1259 --htmldir=DIR html documentation [DOCDIR]
1260 --dvidir=DIR dvi documentation [DOCDIR]
1261 --pdfdir=DIR pdf documentation [DOCDIR]
1262 --psdir=DIR ps documentation [DOCDIR]
1268 --build=BUILD configure
for building on BUILD
[guessed
]
1269 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1270 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1274 if test -n "$ac_init_help"; then
1275 case $ac_init_help in
1276 short
| recursive
) echo "Configuration of X3 1.8:";;
1281 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1282 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1283 --disable-tokens Disables tokenization of P10 protocol output
1284 (tokens required
if linking to ircu
2.10.11)
1285 --enable-debug Enables debugging behaviors
1286 --enable-modules=list
,of
,modules Enable extra modules
1287 --disable-python don
't build the python plugin
1290 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1291 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1292 --with-malloc=type Enables use of a special malloc library; one of:
1293 system (the default), boehm-gc, dmalloc, mpatrol, x3, slab
1294 --with-protocol=name Choose IRC dialect to support; one of:
1296 --with-mail=name How to send mail; one of:
1297 sendmail (the default), smtp
1298 --without-epoll Disables the epoll_*() I/O backend
1299 --without-kevent Disables the kevent() I/O backend
1300 --without-getopt Disables building of the GNU getopt library
1301 --with-tre=PATH Base path to where libtre is installed, such that
1302 PATH/lib/libtre.so and PATH/include/tre/regex.h exist.
1303 --with-coredumper=PATH Base path to where core dumper is installed, such
1304 that PATH/lib/libcoredumper.so and
1305 PATH/include/google/coredumper.h exist.
1306 --with-ssl=PATH Base path to where openssl is installed
1307 --with-ldap=PATH Base path to where the ldap library and headers are installed,
1308 such that PATH/include/ldap.h and PATH/lib/libldap.so exist.
1310 Some influential environment variables:
1311 CC C compiler command
1312 CFLAGS C compiler flags
1313 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1314 nonstandard directory <lib dir>
1315 LIBS libraries to pass to the linker, e.g. -l<library>
1316 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1317 you have headers in a nonstandard directory <include dir>
1320 Use these variables to override the choices made by `configure' or to
help
1321 it to
find libraries and programs with nonstandard names
/locations.
1323 Report bugs to
<evilnet
-devel@lists.sourceforge.net
>.
1328 if test "$ac_init_help" = "recursive"; then
1329 # If there are subdirs, report their specific --help.
1330 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1331 test -d "$ac_dir" || continue
1335 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1337 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1338 # A ".." for each directory in $ac_dir_suffix.
1339 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1340 case $ac_top_builddir_sub in
1341 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1342 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1345 ac_abs_top_builddir
=$ac_pwd
1346 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1347 # for backward compatibility:
1348 ac_top_builddir
=$ac_top_build_prefix
1351 .
) # We are building in place.
1353 ac_top_srcdir
=$ac_top_builddir_sub
1354 ac_abs_top_srcdir
=$ac_pwd ;;
1355 [\\/]* | ?
:[\\/]* ) # Absolute name.
1356 ac_srcdir
=$srcdir$ac_dir_suffix;
1357 ac_top_srcdir
=$srcdir
1358 ac_abs_top_srcdir
=$srcdir ;;
1360 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1361 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1362 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1364 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1366 cd "$ac_dir" || { ac_status
=$?
; continue; }
1367 # Check for guested configure.
1368 if test -f "$ac_srcdir/configure.gnu"; then
1370 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1371 elif test -f "$ac_srcdir/configure"; then
1373 $SHELL "$ac_srcdir/configure" --help=recursive
1375 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 cd "$ac_pwd" || { ac_status
=$?
; break; }
1381 test -n "$ac_init_help" && exit $ac_status
1382 if $ac_init_version; then
1385 generated by GNU Autoconf
2.61
1387 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1388 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1389 This configure
script is free software
; the Free Software Foundation
1390 gives unlimited permission to copy
, distribute and modify it.
1394 cat >config.log
<<_ACEOF
1395 This file contains any messages produced by compilers while
1396 running configure, to aid debugging if configure makes a mistake.
1398 It was created by X3 $as_me 1.8, which was
1399 generated by GNU Autoconf 2.61. Invocation command line was
1411 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1412 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1413 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1414 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1415 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1417 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1418 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1420 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1421 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1422 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1423 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1424 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1425 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1426 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1434 test -z "$as_dir" && as_dir
=.
1435 echo "PATH: $as_dir"
1451 # Keep a trace of the command line.
1452 # Strip out --no-create and --no-recursion so they do not pile up.
1453 # Strip out --silent because we don't want to record it for future runs.
1454 # Also quote any args containing shell meta-characters.
1455 # Make two passes to allow for proper duplicate-argument suppression.
1459 ac_must_keep_next
=false
1465 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1466 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1467 | -silent | --silent | --silen | --sile | --sil)
1470 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1473 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1475 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1476 if test $ac_must_keep_next = true
; then
1477 ac_must_keep_next
=false
# Got value, back to normal.
1480 *=* | --config-cache | -C | -disable-* | --disable-* \
1481 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1482 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1483 | -with-* | --with-* | -without-* | --without-* | --x)
1484 case "$ac_configure_args0 " in
1485 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1488 -* ) ac_must_keep_next
=true
;;
1491 ac_configure_args
="$ac_configure_args '$ac_arg'"
1496 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1497 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1499 # When interrupted or exit'd, cleanup temporary files, and complete
1500 # config.log. We remove comments because anyway the quotes in there
1501 # would cause problems or look ugly.
1502 # WARNING: Use '\'' to represent an apostrophe within the trap.
1503 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1504 trap 'exit_status=$?
1505 # Save into config.log some information that might help in debugging.
1510 ## ---------------- ##
1511 ## Cache variables. ##
1512 ## ---------------- ##
1515 # The following way of writing the cache mishandles newlines in values,
1517 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1518 eval ac_val=\$$ac_var
1522 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1523 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1526 _ | IFS | as_nl) ;; #(
1527 *) $as_unset $ac_var ;;
1532 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1533 *${as_nl}ac_space=\ *)
1535 "s/'\''/'\''\\\\'\'''\''/g;
1536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1539 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1547 ## ----------------- ##
1548 ## Output variables. ##
1549 ## ----------------- ##
1552 for ac_var in $ac_subst_vars
1554 eval ac_val=\$$ac_var
1556 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1558 echo "$ac_var='\''$ac_val'\''"
1562 if test -n "$ac_subst_files"; then
1564 ## ------------------- ##
1565 ## File substitutions. ##
1566 ## ------------------- ##
1569 for ac_var
in $ac_subst_files
1571 eval ac_val
=\$
$ac_var
1573 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575 echo "$ac_var='\''$ac_val'\''"
1580 if test -s confdefs.h; then
1590 test "$ac_signal" != 0 &&
1591 echo "$as_me: caught signal $ac_signal"
1592 echo "$as_me: exit $exit_status"
1594 rm -f core *.core core.conftest.* &&
1595 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1598 for ac_signal
in 1 2 13 15; do
1599 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1603 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1604 rm -f -r conftest
* confdefs.h
1606 # Predefined preprocessor variables.
1608 cat >>confdefs.h
<<_ACEOF
1609 #define PACKAGE_NAME "$PACKAGE_NAME"
1613 cat >>confdefs.h
<<_ACEOF
1614 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1618 cat >>confdefs.h
<<_ACEOF
1619 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1623 cat >>confdefs.h
<<_ACEOF
1624 #define PACKAGE_STRING "$PACKAGE_STRING"
1628 cat >>confdefs.h
<<_ACEOF
1629 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1633 # Let the site file select an alternate cache file if it wants to.
1634 # Prefer explicitly selected file to automatically selected ones.
1635 if test -n "$CONFIG_SITE"; then
1636 set x
"$CONFIG_SITE"
1637 elif test "x$prefix" != xNONE
; then
1638 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1640 set x
"$ac_default_prefix/share/config.site" \
1641 "$ac_default_prefix/etc/config.site"
1646 if test -r "$ac_site_file"; then
1647 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1648 echo "$as_me: loading site script $ac_site_file" >&6;}
1649 sed 's/^/| /' "$ac_site_file" >&5
1654 if test -r "$cache_file"; then
1655 # Some versions of bash will fail to source /dev/null (special
1656 # files actually), so we avoid doing that.
1657 if test -f "$cache_file"; then
1658 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1659 echo "$as_me: loading cache $cache_file" >&6;}
1661 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1662 *) .
"./$cache_file";;
1666 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1667 echo "$as_me: creating cache $cache_file" >&6;}
1671 # Check that the precious variables saved in the cache have kept the same
1673 ac_cache_corrupted
=false
1674 for ac_var
in $ac_precious_vars; do
1675 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1676 eval ac_new_set
=\
$ac_env_${ac_var}_set
1677 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1678 eval ac_new_val
=\
$ac_env_${ac_var}_value
1679 case $ac_old_set,$ac_new_set in
1681 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1682 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1683 ac_cache_corrupted
=: ;;
1685 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1686 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1687 ac_cache_corrupted
=: ;;
1690 if test "x$ac_old_val" != "x$ac_new_val"; then
1691 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1692 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1693 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1694 echo "$as_me: former value: $ac_old_val" >&2;}
1695 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1696 echo "$as_me: current value: $ac_new_val" >&2;}
1697 ac_cache_corrupted
=:
1700 # Pass precious variables to config.status.
1701 if test "$ac_new_set" = set; then
1703 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1704 *) ac_arg
=$ac_var=$ac_new_val ;;
1706 case " $ac_configure_args " in
1707 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1708 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1712 if $ac_cache_corrupted; then
1713 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1714 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1715 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1716 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1717 { (exit 1); exit 1; }; }
1745 ac_cpp
='$CPP $CPPFLAGS'
1746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1752 ac_config_headers
="$ac_config_headers src/config.h"
1756 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1757 if test -f "$ac_dir/install-sh"; then
1759 ac_install_sh
="$ac_aux_dir/install-sh -c"
1761 elif test -f "$ac_dir/install.sh"; then
1763 ac_install_sh
="$ac_aux_dir/install.sh -c"
1765 elif test -f "$ac_dir/shtool"; then
1767 ac_install_sh
="$ac_aux_dir/shtool install -c"
1771 if test -z "$ac_aux_dir"; then
1772 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1773 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1774 { (exit 1); exit 1; }; }
1777 # These three variables are undocumented and unsupported,
1778 # and are intended to be withdrawn in a future Autoconf release.
1779 # They can cause serious problems if a builder's source tree is in a directory
1780 # whose full name contains unusual characters.
1781 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1782 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1783 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1786 # Make sure we can run config.sub.
1787 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1788 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1789 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1790 { (exit 1); exit 1; }; }
1792 { echo "$as_me:$LINENO: checking build system type" >&5
1793 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1794 if test "${ac_cv_build+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 ac_build_alias
=$build_alias
1798 test "x$ac_build_alias" = x
&&
1799 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1800 test "x$ac_build_alias" = x
&&
1801 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1802 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1803 { (exit 1); exit 1; }; }
1804 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1805 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1806 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1807 { (exit 1); exit 1; }; }
1810 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1811 echo "${ECHO_T}$ac_cv_build" >&6; }
1812 case $ac_cv_build in
1814 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1815 echo "$as_me: error: invalid value of canonical build" >&2;}
1816 { (exit 1); exit 1; }; };;
1819 ac_save_IFS
=$IFS; IFS
='-'
1825 # Remember, the first character of IFS is used to create $*,
1826 # except with old shells:
1829 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1832 { echo "$as_me:$LINENO: checking host system type" >&5
1833 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1834 if test "${ac_cv_host+set}" = set; then
1835 echo $ECHO_N "(cached) $ECHO_C" >&6
1837 if test "x$host_alias" = x
; then
1838 ac_cv_host
=$ac_cv_build
1840 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1841 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1842 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1843 { (exit 1); exit 1; }; }
1847 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1848 echo "${ECHO_T}$ac_cv_host" >&6; }
1851 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1852 echo "$as_me: error: invalid value of canonical host" >&2;}
1853 { (exit 1); exit 1; }; };;
1856 ac_save_IFS
=$IFS; IFS
='-'
1862 # Remember, the first character of IFS is used to create $*,
1863 # except with old shells:
1866 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1869 { echo "$as_me:$LINENO: checking target system type" >&5
1870 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1871 if test "${ac_cv_target+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 if test "x$target_alias" = x
; then
1875 ac_cv_target
=$ac_cv_host
1877 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1878 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1879 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1880 { (exit 1); exit 1; }; }
1884 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1885 echo "${ECHO_T}$ac_cv_target" >&6; }
1886 case $ac_cv_target in
1888 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1889 echo "$as_me: error: invalid value of canonical target" >&2;}
1890 { (exit 1); exit 1; }; };;
1892 target
=$ac_cv_target
1893 ac_save_IFS
=$IFS; IFS
='-'
1899 # Remember, the first character of IFS is used to create $*,
1900 # except with old shells:
1903 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
1906 # The aliases save the names the user supplied, while $host etc.
1907 # will get canonicalized.
1908 test -n "$target_alias" &&
1909 test "$program_prefix$program_suffix$program_transform_name" = \
1911 program_prefix
=${target_alias}-
1912 AM_INIT_AUTOMAKE
(gnu
1.6)
1916 ac_cpp
='$CPP $CPPFLAGS'
1917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1920 if test -n "$ac_tool_prefix"; then
1921 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1922 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1925 if test "${ac_cv_prog_CC+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 if test -n "$CC"; then
1929 ac_cv_prog_CC
="$CC" # Let the user override the test.
1931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1935 test -z "$as_dir" && as_dir
=.
1936 for ac_exec_ext
in '' $ac_executable_extensions; do
1937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1938 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 if test -n "$CC"; then
1950 { echo "$as_me:$LINENO: result: $CC" >&5
1951 echo "${ECHO_T}$CC" >&6; }
1953 { echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6; }
1959 if test -z "$ac_cv_prog_CC"; then
1961 # Extract the first word of "gcc", so it can be a program name with args.
1962 set dummy gcc
; ac_word
=$2
1963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1965 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 if test -n "$ac_ct_CC"; then
1969 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1975 test -z "$as_dir" && as_dir
=.
1976 for ac_exec_ext
in '' $ac_executable_extensions; do
1977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1978 ac_cv_prog_ac_ct_CC
="gcc"
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1989 if test -n "$ac_ct_CC"; then
1990 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1991 echo "${ECHO_T}$ac_ct_CC" >&6; }
1993 { echo "$as_me:$LINENO: result: no" >&5
1994 echo "${ECHO_T}no" >&6; }
1997 if test "x$ac_ct_CC" = x
; then
2000 case $cross_compiling:$ac_tool_warned in
2002 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2003 whose name does not start with the host triplet. If you think this
2004 configuration is useful to you, please write to autoconf@gnu.org." >&5
2005 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2006 whose name does not start with the host triplet. If you think this
2007 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2008 ac_tool_warned
=yes ;;
2016 if test -z "$CC"; then
2017 if test -n "$ac_tool_prefix"; then
2018 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2019 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2022 if test "${ac_cv_prog_CC+set}" = set; then
2023 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 if test -n "$CC"; then
2026 ac_cv_prog_CC
="$CC" # Let the user override the test.
2028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2032 test -z "$as_dir" && as_dir
=.
2033 for ac_exec_ext
in '' $ac_executable_extensions; do
2034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2035 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2046 if test -n "$CC"; then
2047 { echo "$as_me:$LINENO: result: $CC" >&5
2048 echo "${ECHO_T}$CC" >&6; }
2050 { echo "$as_me:$LINENO: result: no" >&5
2051 echo "${ECHO_T}no" >&6; }
2057 if test -z "$CC"; then
2058 # Extract the first word of "cc", so it can be a program name with args.
2059 set dummy cc
; ac_word
=$2
2060 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2062 if test "${ac_cv_prog_CC+set}" = set; then
2063 echo $ECHO_N "(cached) $ECHO_C" >&6
2065 if test -n "$CC"; then
2066 ac_cv_prog_CC
="$CC" # Let the user override the test.
2069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2073 test -z "$as_dir" && as_dir
=.
2074 for ac_exec_ext
in '' $ac_executable_extensions; do
2075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2076 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2077 ac_prog_rejected
=yes
2081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 if test $ac_prog_rejected = yes; then
2089 # We found a bogon in the path, so make sure we never use it.
2090 set dummy
$ac_cv_prog_CC
2092 if test $# != 0; then
2093 # We chose a different compiler from the bogus one.
2094 # However, it has the same basename, so the bogon will be chosen
2095 # first if we set CC to just the basename; use the full file name.
2097 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2103 if test -n "$CC"; then
2104 { echo "$as_me:$LINENO: result: $CC" >&5
2105 echo "${ECHO_T}$CC" >&6; }
2107 { echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6; }
2113 if test -z "$CC"; then
2114 if test -n "$ac_tool_prefix"; then
2115 for ac_prog
in cl.exe
2117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2118 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2121 if test "${ac_cv_prog_CC+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 if test -n "$CC"; then
2125 ac_cv_prog_CC
="$CC" # Let the user override the test.
2127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir
=.
2132 for ac_exec_ext
in '' $ac_executable_extensions; do
2133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2134 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 if test -n "$CC"; then
2146 { echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6; }
2149 { echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6; }
2154 test -n "$CC" && break
2157 if test -z "$CC"; then
2159 for ac_prog
in cl.exe
2161 # Extract the first word of "$ac_prog", so it can be a program name with args.
2162 set dummy
$ac_prog; ac_word
=$2
2163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2165 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 if test -n "$ac_ct_CC"; then
2169 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir
=.
2176 for ac_exec_ext
in '' $ac_executable_extensions; do
2177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2178 ac_cv_prog_ac_ct_CC
="$ac_prog"
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2189 if test -n "$ac_ct_CC"; then
2190 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2191 echo "${ECHO_T}$ac_ct_CC" >&6; }
2193 { echo "$as_me:$LINENO: result: no" >&5
2194 echo "${ECHO_T}no" >&6; }
2198 test -n "$ac_ct_CC" && break
2201 if test "x$ac_ct_CC" = x
; then
2204 case $cross_compiling:$ac_tool_warned in
2206 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2207 whose name does not start with the host triplet. If you think this
2208 configuration is useful to you, please write to autoconf@gnu.org." >&5
2209 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2210 whose name does not start with the host triplet. If you think this
2211 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2212 ac_tool_warned
=yes ;;
2221 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2222 See \`config.log' for more details." >&5
2223 echo "$as_me: error: no acceptable C compiler found in \$PATH
2224 See \`config.log' for more details." >&2;}
2225 { (exit 1); exit 1; }; }
2227 # Provide some information about the compiler.
2228 echo "$as_me:$LINENO: checking for C compiler version" >&5
2229 ac_compiler
=`set X $ac_compile; echo $2`
2230 { (ac_try
="$ac_compiler --version >&5"
2232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2233 *) ac_try_echo=$ac_try;;
2235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2236 (eval "$ac_compiler --version >&5") 2>&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }
2240 { (ac_try="$ac_compiler -v >&5"
2242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2243 *) ac_try_echo
=$ac_try;;
2245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2246 (eval "$ac_compiler -v >&5") 2>&5
2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249 (exit $ac_status); }
2250 { (ac_try
="$ac_compiler -V >&5"
2252 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2253 *) ac_try_echo=$ac_try;;
2255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2256 (eval "$ac_compiler -V >&5") 2>&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }
2261 cat >conftest.$ac_ext <<_ACEOF
2264 cat confdefs.h >>conftest.$ac_ext
2265 cat >>conftest.$ac_ext <<_ACEOF
2266 /* end confdefs.h. */
2276 ac_clean_files_save=$ac_clean_files
2277 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2278 # Try to create an executable without -o first, disregard a.out.
2279 # It will help us diagnose broken compilers, and finding out an intuition
2281 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2282 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2283 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2285 # List of possible output files, starting from the most likely.
2286 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2287 # only as a last resort. b.out is created by i960 compilers.
2288 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2290 # The IRIX 6 linker writes into existing files which may not be
2291 # executable, retaining their permissions. Remove them first so a
2292 # subsequent execution test works.
2294 for ac_file in $ac_files
2297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2298 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2303 if { (ac_try="$ac_link_default"
2305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2306 *) ac_try_echo=$ac_try;;
2308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2309 (eval "$ac_link_default") 2>&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }; then
2313 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2314 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2315 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2316 # so that the user can short-circuit this test for compilers unknown to
2318 for ac_file
in $ac_files ''
2320 test -f "$ac_file" || continue
2322 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
2325 # We found the default executable, but exeext='' is most
2329 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2331 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2333 # We set ac_cv_exeext here because the later test for it is not
2334 # safe: cross compilers may not add the suffix if given an `-o'
2335 # argument, so we may need to know it at that point already.
2336 # Even if this section looks crufty: it has the advantage of
2343 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2349 { echo "$as_me:$LINENO: result: $ac_file" >&5
2350 echo "${ECHO_T}$ac_file" >&6; }
2351 if test -z "$ac_file"; then
2352 echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.
$ac_ext >&5
2355 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2356 See \`config.log' for more details." >&5
2357 echo "$as_me: error: C compiler cannot create executables
2358 See \`config.log' for more details." >&2;}
2359 { (exit 77); exit 77; }; }
2362 ac_exeext
=$ac_cv_exeext
2364 # Check that the compiler produces executables we can run. If not, either
2365 # the compiler is broken, or we cross compile.
2366 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2367 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2368 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2369 # If not cross compiling, check that we can run a simple program.
2370 if test "$cross_compiling" != yes; then
2371 if { ac_try
='./$ac_file'
2372 { (case "(($ac_try" in
2373 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2374 *) ac_try_echo=$ac_try;;
2376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2377 (eval "$ac_try") 2>&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); }; }; then
2383 if test "$cross_compiling" = maybe; then
2386 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2387 If you meant to cross compile, use \`--host'.
2388 See \`config.log' for more details.
" >&5
2389 echo "$as_me: error
: cannot run C compiled programs.
2390 If you meant to cross compile
, use \
`--host'.
2391 See \`config.log
' for more details." >&2;}
2392 { (exit 1); exit 1; }; }
2396 { echo "$as_me:$LINENO: result: yes" >&5
2397 echo "${ECHO_T}yes" >&6; }
2399 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2400 ac_clean_files=$ac_clean_files_save
2401 # Check that the compiler produces executables we can run. If not, either
2402 # the compiler is broken, or we cross compile.
2403 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2404 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2405 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2406 echo "${ECHO_T}$cross_compiling" >&6; }
2408 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2409 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2410 if { (ac_try="$ac_link"
2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2416 (eval "$ac_link") 2>&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; then
2420 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2421 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2422 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2424 for ac_file
in conftest.exe conftest conftest.
*; do
2425 test -f "$ac_file" || continue
2427 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
2428 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2434 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2435 See \`config.log' for more details." >&5
2436 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2437 See \`config.log' for more details." >&2;}
2438 { (exit 1); exit 1; }; }
2441 rm -f conftest
$ac_cv_exeext
2442 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2443 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2445 rm -f conftest.
$ac_ext
2446 EXEEXT
=$ac_cv_exeext
2448 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2449 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2450 if test "${ac_cv_objext+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 cat >conftest.
$ac_ext <<_ACEOF
2456 cat confdefs.h
>>conftest.
$ac_ext
2457 cat >>conftest.
$ac_ext <<_ACEOF
2458 /* end confdefs.h. */
2468 rm -f conftest.o conftest.obj
2469 if { (ac_try
="$ac_compile"
2471 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2475 (eval "$ac_compile") 2>&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; then
2479 for ac_file in conftest.o conftest.obj conftest.*; do
2480 test -f "$ac_file" || continue;
2482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2483 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2488 echo "$as_me: failed program was:" >&5
2489 sed 's/^/| /' conftest.$ac_ext >&5
2491 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2492 See \`config.log
' for more details." >&5
2493 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2494 See \`config.log' for more details.
" >&2;}
2495 { (exit 1); exit 1; }; }
2498 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2500 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2501 echo "${ECHO_T}$ac_cv_objext" >&6; }
2502 OBJEXT=$ac_cv_objext
2504 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2505 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2506 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2507 echo $ECHO_N "(cached
) $ECHO_C" >&6
2509 cat >conftest.$ac_ext <<_ACEOF
2512 cat confdefs.h >>conftest.$ac_ext
2513 cat >>conftest.$ac_ext <<_ACEOF
2514 /* end confdefs.h. */
2527 rm -f conftest.$ac_objext
2528 if { (ac_try="$ac_compile"
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2534 (eval "$ac_compile") 2>conftest.er1
2536 grep -v '^ *+' conftest.er1 >conftest.err
2538 cat conftest.err >&5
2539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2540 (exit $ac_status); } && {
2541 test -z "$ac_c_werror_flag" ||
2542 test ! -s conftest.err
2543 } && test -s conftest.$ac_objext; then
2546 echo "$as_me: failed program was
:" >&5
2547 sed 's/^/| /' conftest.$ac_ext >&5
2552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2553 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2556 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2557 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2558 GCC=`test $ac_compiler_gnu = yes && echo yes`
2559 ac_test_CFLAGS=${CFLAGS+set}
2560 ac_save_CFLAGS=$CFLAGS
2561 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2562 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2563 if test "${ac_cv_prog_cc_g+set}" = set; then
2564 echo $ECHO_N "(cached
) $ECHO_C" >&6
2566 ac_save_c_werror_flag=$ac_c_werror_flag
2567 ac_c_werror_flag=yes
2570 cat >conftest.$ac_ext <<_ACEOF
2573 cat confdefs.h >>conftest.$ac_ext
2574 cat >>conftest.$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2585 rm -f conftest.$ac_objext
2586 if { (ac_try="$ac_compile"
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2592 (eval "$ac_compile") 2>conftest.er1
2594 grep -v '^ *+' conftest.er1 >conftest.err
2596 cat conftest.err >&5
2597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2598 (exit $ac_status); } && {
2599 test -z "$ac_c_werror_flag" ||
2600 test ! -s conftest.err
2601 } && test -s conftest.$ac_objext; then
2604 echo "$as_me: failed program was
:" >&5
2605 sed 's/^/| /' conftest.$ac_ext >&5
2608 cat >conftest.$ac_ext <<_ACEOF
2611 cat confdefs.h >>conftest.$ac_ext
2612 cat >>conftest.$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2623 rm -f conftest.$ac_objext
2624 if { (ac_try="$ac_compile"
2626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2627 *) ac_try_echo=$ac_try;;
2629 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2630 (eval "$ac_compile") 2>conftest.er1
2632 grep -v '^ *+' conftest.er1 >conftest.err
2634 cat conftest.err >&5
2635 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2636 (exit $ac_status); } && {
2637 test -z "$ac_c_werror_flag" ||
2638 test ! -s conftest.err
2639 } && test -s conftest.$ac_objext; then
2642 echo "$as_me: failed program was
:" >&5
2643 sed 's/^/| /' conftest.$ac_ext >&5
2645 ac_c_werror_flag=$ac_save_c_werror_flag
2647 cat >conftest.$ac_ext <<_ACEOF
2650 cat confdefs.h >>conftest.$ac_ext
2651 cat >>conftest.$ac_ext <<_ACEOF
2652 /* end confdefs.h. */
2662 rm -f conftest.$ac_objext
2663 if { (ac_try="$ac_compile"
2665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2666 *) ac_try_echo=$ac_try;;
2668 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2669 (eval "$ac_compile") 2>conftest.er1
2671 grep -v '^ *+' conftest.er1 >conftest.err
2673 cat conftest.err >&5
2674 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2675 (exit $ac_status); } && {
2676 test -z "$ac_c_werror_flag" ||
2677 test ! -s conftest.err
2678 } && test -s conftest.$ac_objext; then
2681 echo "$as_me: failed program was
:" >&5
2682 sed 's/^/| /' conftest.$ac_ext >&5
2687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694 ac_c_werror_flag=$ac_save_c_werror_flag
2696 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2697 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2698 if test "$ac_test_CFLAGS" = set; then
2699 CFLAGS=$ac_save_CFLAGS
2700 elif test $ac_cv_prog_cc_g = yes; then
2701 if test "$GCC" = yes; then
2707 if test "$GCC" = yes; then
2713 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2714 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2715 if test "${ac_cv_prog_cc_c89+set}" = set; then
2716 echo $ECHO_N "(cached
) $ECHO_C" >&6
2718 ac_cv_prog_cc_c89=no
2720 cat >conftest.$ac_ext <<_ACEOF
2723 cat confdefs.h >>conftest.$ac_ext
2724 cat >>conftest.$ac_ext <<_ACEOF
2725 /* end confdefs.h. */
2728 #include <sys/types.h>
2729 #include <sys/stat.h>
2730 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2731 struct buf { int x; };
2732 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2733 static char *e (p, i)
2739 static char *f (char * (*g) (char **, int), char **p, ...)
2744 s = g (p, va_arg (v,int));
2749 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2750 function prototypes and stuff, but not '\xHH' hex character constants.
2751 These don't provoke an error unfortunately, instead are silently treated
2752 as 'x'. The following induces an error, until -std is added to get
2753 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2754 array size at least. It's necessary to write '\x00'==0 to get something
2755 that's true only with -std. */
2756 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2758 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2759 inside strings and character constants. */
2761 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2763 int test (int i, double x);
2764 struct s1 {int (*f) (int a);};
2765 struct s2 {int (*f) (double a);};
2766 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2772 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2777 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2778 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2780 CC="$ac_save_CC $ac_arg"
2781 rm -f conftest.$ac_objext
2782 if { (ac_try="$ac_compile"
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2787 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2788 (eval "$ac_compile") 2>conftest.er1
2790 grep -v '^ *+' conftest.er1 >conftest.err
2792 cat conftest.err >&5
2793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2794 (exit $ac_status); } && {
2795 test -z "$ac_c_werror_flag" ||
2796 test ! -s conftest.err
2797 } && test -s conftest.$ac_objext; then
2798 ac_cv_prog_cc_c89=$ac_arg
2800 echo "$as_me: failed program was
:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2806 rm -f core conftest.err conftest.$ac_objext
2807 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2809 rm -f conftest.$ac_ext
2814 case "x
$ac_cv_prog_cc_c89" in
2816 { echo "$as_me:$LINENO: result
: none needed
" >&5
2817 echo "${ECHO_T}none needed
" >&6; } ;;
2819 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2820 echo "${ECHO_T}unsupported
" >&6; } ;;
2822 CC="$CC $ac_cv_prog_cc_c89"
2823 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2824 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2829 ac_cpp='$CPP $CPPFLAGS'
2830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2835 { echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
2836 echo $ECHO_N "checking
return type of signal handlers...
$ECHO_C" >&6; }
2837 if test "${ac_cv_type_signal+set}" = set; then
2838 echo $ECHO_N "(cached
) $ECHO_C" >&6
2840 cat >conftest.$ac_ext <<_ACEOF
2843 cat confdefs.h >>conftest.$ac_ext
2844 cat >>conftest.$ac_ext <<_ACEOF
2845 /* end confdefs.h. */
2846 #include <sys/types.h>
2852 return *(signal (0, 0)) (0) == 1;
2857 rm -f conftest.$ac_objext
2858 if { (ac_try="$ac_compile"
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2863 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2864 (eval "$ac_compile") 2>conftest.er1
2866 grep -v '^ *+' conftest.er1 >conftest.err
2868 cat conftest.err >&5
2869 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2870 (exit $ac_status); } && {
2871 test -z "$ac_c_werror_flag" ||
2872 test ! -s conftest.err
2873 } && test -s conftest.$ac_objext; then
2874 ac_cv_type_signal=int
2876 echo "$as_me: failed program was
:" >&5
2877 sed 's/^/| /' conftest.$ac_ext >&5
2879 ac_cv_type_signal=void
2882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 { echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
2885 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
2887 cat >>confdefs.h <<_ACEOF
2888 #define RETSIGTYPE $ac_cv_type_signal
2892 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
2893 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
2894 if test "${ac_cv_c_const+set}" = set; then
2895 echo $ECHO_N "(cached
) $ECHO_C" >&6
2897 cat >conftest.$ac_ext <<_ACEOF
2900 cat confdefs.h >>conftest.$ac_ext
2901 cat >>conftest.$ac_ext <<_ACEOF
2902 /* end confdefs.h. */
2907 /* FIXME: Include the comments suggested by Paul. */
2909 /* Ultrix mips cc rejects this. */
2910 typedef int charset[2];
2912 /* SunOS 4.1.1 cc rejects this. */
2913 char const *const *pcpcc;
2915 /* NEC SVR4.0.2 mips cc rejects this. */
2916 struct point {int x, y;};
2917 static struct point const zero = {0,0};
2918 /* AIX XL C 1.02.0.0 rejects this.
2919 It does not let you subtract one const X* pointer from another in
2920 an arm of an if-expression whose if-part is not a constant
2922 const char *g = "string
";
2923 pcpcc = &g + (g ? g-g : 0);
2924 /* HPUX 7.0 cc rejects these. */
2926 ppc = (char**) pcpcc;
2927 pcpcc = (char const *const *) ppc;
2928 { /* SCO 3.2v4 cc rejects this. */
2930 char const *s = 0 ? (char *) 0 : (char const *) 0;
2935 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2937 const int *foo = &x[0];
2940 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2941 typedef const int *iptr;
2945 { /* AIX XL C 1.02.0.0 rejects this saying
2946 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2947 struct s { int j; const int *ap[3]; };
2948 struct s *b; b->j = 5;
2950 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2954 return !cs[0] && !zero.x;
2961 rm -f conftest.$ac_objext
2962 if { (ac_try="$ac_compile"
2964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965 *) ac_try_echo=$ac_try;;
2967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2968 (eval "$ac_compile") 2>conftest.er1
2970 grep -v '^ *+' conftest.er1 >conftest.err
2972 cat conftest.err >&5
2973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2974 (exit $ac_status); } && {
2975 test -z "$ac_c_werror_flag" ||
2976 test ! -s conftest.err
2977 } && test -s conftest.$ac_objext; then
2980 echo "$as_me: failed program was
:" >&5
2981 sed 's/^/| /' conftest.$ac_ext >&5
2986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
2989 echo "${ECHO_T}$ac_cv_c_const" >&6; }
2990 if test $ac_cv_c_const = no; then
2992 cat >>confdefs.h <<\_ACEOF
2999 for ac_prog in gawk mawk nawk awk
3001 # Extract the first word of "$ac_prog", so it can be a program name with args.
3002 set dummy $ac_prog; ac_word=$2
3003 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3004 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3005 if test "${ac_cv_prog_AWK+set}" = set; then
3006 echo $ECHO_N "(cached
) $ECHO_C" >&6
3008 if test -n "$AWK"; then
3009 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir=.
3016 for ac_exec_ext in '' $ac_executable_extensions; do
3017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3018 ac_cv_prog_AWK="$ac_prog"
3019 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3029 if test -n "$AWK"; then
3030 { echo "$as_me:$LINENO: result
: $AWK" >&5
3031 echo "${ECHO_T}$AWK" >&6; }
3033 { echo "$as_me:$LINENO: result
: no
" >&5
3034 echo "${ECHO_T}no
" >&6; }
3038 test -n "$AWK" && break
3042 ac_cpp='$CPP $CPPFLAGS'
3043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3046 if test -n "$ac_tool_prefix"; then
3047 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3048 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3049 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3050 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3051 if test "${ac_cv_prog_CC+set}" = set; then
3052 echo $ECHO_N "(cached
) $ECHO_C" >&6
3054 if test -n "$CC"; then
3055 ac_cv_prog_CC="$CC" # Let the user override the test.
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3065 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3075 if test -n "$CC"; then
3076 { echo "$as_me:$LINENO: result
: $CC" >&5
3077 echo "${ECHO_T}$CC" >&6; }
3079 { echo "$as_me:$LINENO: result
: no
" >&5
3080 echo "${ECHO_T}no
" >&6; }
3085 if test -z "$ac_cv_prog_CC"; then
3087 # Extract the first word of "gcc
", so it can be a program name with args.
3088 set dummy gcc; ac_word=$2
3089 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3090 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3091 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3092 echo $ECHO_N "(cached
) $ECHO_C" >&6
3094 if test -n "$ac_ct_CC"; then
3095 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3101 test -z "$as_dir" && as_dir=.
3102 for ac_exec_ext in '' $ac_executable_extensions; do
3103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3104 ac_cv_prog_ac_ct_CC="gcc
"
3105 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3115 if test -n "$ac_ct_CC"; then
3116 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3117 echo "${ECHO_T}$ac_ct_CC" >&6; }
3119 { echo "$as_me:$LINENO: result
: no
" >&5
3120 echo "${ECHO_T}no
" >&6; }
3123 if test "x
$ac_ct_CC" = x; then
3126 case $cross_compiling:$ac_tool_warned in
3128 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
3129 whose name does not start with the
host triplet. If you think this
3130 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3131 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
3132 whose name does not start with the
host triplet. If you think this
3133 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3134 ac_tool_warned=yes ;;
3142 if test -z "$CC"; then
3143 if test -n "$ac_tool_prefix"; then
3144 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3145 set dummy ${ac_tool_prefix}cc; ac_word=$2
3146 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3147 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3148 if test "${ac_cv_prog_CC+set}" = set; then
3149 echo $ECHO_N "(cached
) $ECHO_C" >&6
3151 if test -n "$CC"; then
3152 ac_cv_prog_CC="$CC" # Let the user override the test.
3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158 test -z "$as_dir" && as_dir=.
3159 for ac_exec_ext in '' $ac_executable_extensions; do
3160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3161 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3162 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3172 if test -n "$CC"; then
3173 { echo "$as_me:$LINENO: result
: $CC" >&5
3174 echo "${ECHO_T}$CC" >&6; }
3176 { echo "$as_me:$LINENO: result
: no
" >&5
3177 echo "${ECHO_T}no
" >&6; }
3183 if test -z "$CC"; then
3184 # Extract the first word of "cc
", so it can be a program name with args.
3185 set dummy cc; ac_word=$2
3186 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3187 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3188 if test "${ac_cv_prog_CC+set}" = set; then
3189 echo $ECHO_N "(cached
) $ECHO_C" >&6
3191 if test -n "$CC"; then
3192 ac_cv_prog_CC="$CC" # Let the user override the test.
3195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3199 test -z "$as_dir" && as_dir=.
3200 for ac_exec_ext in '' $ac_executable_extensions; do
3201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3202 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3203 ac_prog_rejected=yes
3207 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3214 if test $ac_prog_rejected = yes; then
3215 # We found a bogon in the path, so make sure we never use it.
3216 set dummy $ac_cv_prog_CC
3218 if test $# != 0; then
3219 # We chose a different compiler from the bogus one.
3220 # However, it has the same basename, so the bogon will be chosen
3221 # first if we set CC to just the basename; use the full file name.
3223 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
3229 if test -n "$CC"; then
3230 { echo "$as_me:$LINENO: result
: $CC" >&5
3231 echo "${ECHO_T}$CC" >&6; }
3233 { echo "$as_me:$LINENO: result
: no
" >&5
3234 echo "${ECHO_T}no
" >&6; }
3239 if test -z "$CC"; then
3240 if test -n "$ac_tool_prefix"; then
3241 for ac_prog in cl.exe
3243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3245 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3246 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3247 if test "${ac_cv_prog_CC+set}" = set; then
3248 echo $ECHO_N "(cached
) $ECHO_C" >&6
3250 if test -n "$CC"; then
3251 ac_cv_prog_CC="$CC" # Let the user override the test.
3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 test -z "$as_dir" && as_dir=.
3258 for ac_exec_ext in '' $ac_executable_extensions; do
3259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3260 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3261 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3271 if test -n "$CC"; then
3272 { echo "$as_me:$LINENO: result
: $CC" >&5
3273 echo "${ECHO_T}$CC" >&6; }
3275 { echo "$as_me:$LINENO: result
: no
" >&5
3276 echo "${ECHO_T}no
" >&6; }
3280 test -n "$CC" && break
3283 if test -z "$CC"; then
3285 for ac_prog in cl.exe
3287 # Extract the first word of "$ac_prog", so it can be a program name with args.
3288 set dummy $ac_prog; ac_word=$2
3289 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3290 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3291 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3292 echo $ECHO_N "(cached
) $ECHO_C" >&6
3294 if test -n "$ac_ct_CC"; then
3295 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 test -z "$as_dir" && as_dir=.
3302 for ac_exec_ext in '' $ac_executable_extensions; do
3303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3304 ac_cv_prog_ac_ct_CC="$ac_prog"
3305 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3314 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3315 if test -n "$ac_ct_CC"; then
3316 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3317 echo "${ECHO_T}$ac_ct_CC" >&6; }
3319 { echo "$as_me:$LINENO: result
: no
" >&5
3320 echo "${ECHO_T}no
" >&6; }
3324 test -n "$ac_ct_CC" && break
3327 if test "x
$ac_ct_CC" = x; then
3330 case $cross_compiling:$ac_tool_warned in
3332 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
3333 whose name does not start with the
host triplet. If you think this
3334 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3335 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
3336 whose name does not start with the
host triplet. If you think this
3337 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3338 ac_tool_warned=yes ;;
3347 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
3348 See \
`config.log' for more details." >&5
3349 echo "$as_me: error: no acceptable C compiler found in \$PATH
3350 See \`config.log
' for more details." >&2;}
3351 { (exit 1); exit 1; }; }
3353 # Provide some information about the compiler.
3354 echo "$as_me:$LINENO: checking for C compiler version" >&5
3355 ac_compiler=`set X $ac_compile; echo $2`
3356 { (ac_try="$ac_compiler --version >&5"
3358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359 *) ac_try_echo=$ac_try;;
3361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3362 (eval "$ac_compiler --version >&5") 2>&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }
3366 { (ac_try="$ac_compiler -v >&5"
3368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369 *) ac_try_echo=$ac_try;;
3371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3372 (eval "$ac_compiler -v >&5") 2>&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); }
3376 { (ac_try="$ac_compiler -V >&5"
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_compiler -V >&5") 2>&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); }
3387 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3388 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3389 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3390 echo $ECHO_N "(cached) $ECHO_C" >&6
3392 cat >conftest.$ac_ext <<_ACEOF
3395 cat confdefs.h >>conftest.$ac_ext
3396 cat >>conftest.$ac_ext <<_ACEOF
3397 /* end confdefs.h. */
3410 rm -f conftest.$ac_objext
3411 if { (ac_try="$ac_compile"
3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_compile") 2>conftest.er1
3419 grep -v '^
*+' conftest.er1 >conftest.err
3421 cat conftest.err >&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } && {
3424 test -z "$ac_c_werror_flag" ||
3425 test ! -s conftest.err
3426 } && test -s conftest.$ac_objext; then
3429 echo "$as_me: failed program was:" >&5
3430 sed 's
/^
/| /' conftest.$ac_ext >&5
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3439 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3440 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3441 GCC=`test $ac_compiler_gnu = yes && echo yes`
3442 ac_test_CFLAGS=${CFLAGS+set}
3443 ac_save_CFLAGS=$CFLAGS
3444 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3445 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3446 if test "${ac_cv_prog_cc_g+set}" = set; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 ac_save_c_werror_flag=$ac_c_werror_flag
3450 ac_c_werror_flag=yes
3453 cat >conftest.$ac_ext <<_ACEOF
3456 cat confdefs.h >>conftest.$ac_ext
3457 cat >>conftest.$ac_ext <<_ACEOF
3458 /* end confdefs.h. */
3468 rm -f conftest.$ac_objext
3469 if { (ac_try="$ac_compile"
3471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3472 *) ac_try_echo=$ac_try;;
3474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3475 (eval "$ac_compile") 2>conftest.er1
3477 grep -v '^
*+' conftest.er1 >conftest.err
3479 cat conftest.err >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); } && {
3482 test -z "$ac_c_werror_flag" ||
3483 test ! -s conftest.err
3484 } && test -s conftest.$ac_objext; then
3487 echo "$as_me: failed program was:" >&5
3488 sed 's
/^
/| /' conftest.$ac_ext >&5
3491 cat >conftest.$ac_ext <<_ACEOF
3494 cat confdefs.h >>conftest.$ac_ext
3495 cat >>conftest.$ac_ext <<_ACEOF
3496 /* end confdefs.h. */
3506 rm -f conftest.$ac_objext
3507 if { (ac_try="$ac_compile"
3509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3510 *) ac_try_echo=$ac_try;;
3512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3513 (eval "$ac_compile") 2>conftest.er1
3515 grep -v '^
*+' conftest.er1 >conftest.err
3517 cat conftest.err >&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); } && {
3520 test -z "$ac_c_werror_flag" ||
3521 test ! -s conftest.err
3522 } && test -s conftest.$ac_objext; then
3525 echo "$as_me: failed program was:" >&5
3526 sed 's
/^
/| /' conftest.$ac_ext >&5
3528 ac_c_werror_flag=$ac_save_c_werror_flag
3530 cat >conftest.$ac_ext <<_ACEOF
3533 cat confdefs.h >>conftest.$ac_ext
3534 cat >>conftest.$ac_ext <<_ACEOF
3535 /* end confdefs.h. */
3545 rm -f conftest.$ac_objext
3546 if { (ac_try="$ac_compile"
3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3549 *) ac_try_echo=$ac_try;;
3551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3552 (eval "$ac_compile") 2>conftest.er1
3554 grep -v '^
*+' conftest.er1 >conftest.err
3556 cat conftest.err >&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } && {
3559 test -z "$ac_c_werror_flag" ||
3560 test ! -s conftest.err
3561 } && test -s conftest.$ac_objext; then
3564 echo "$as_me: failed program was:" >&5
3565 sed 's
/^
/| /' conftest.$ac_ext >&5
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3577 ac_c_werror_flag=$ac_save_c_werror_flag
3579 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3580 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3581 if test "$ac_test_CFLAGS" = set; then
3582 CFLAGS=$ac_save_CFLAGS
3583 elif test $ac_cv_prog_cc_g = yes; then
3584 if test "$GCC" = yes; then
3590 if test "$GCC" = yes; then
3596 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3597 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3598 if test "${ac_cv_prog_cc_c89+set}" = set; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3601 ac_cv_prog_cc_c89=no
3603 cat >conftest.$ac_ext <<_ACEOF
3606 cat confdefs.h >>conftest.$ac_ext
3607 cat >>conftest.$ac_ext <<_ACEOF
3608 /* end confdefs.h. */
3611 #include <sys/types.h>
3612 #include <sys/stat.h>
3613 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3614 struct buf
{ int x
; };
3615 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3616 static char
*e
(p
, i
)
3622 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3627 s
= g
(p
, va_arg
(v
,int
));
3632 /* OSF
4.0 Compaq cc is some
sort of almost
-ANSI by default. It has
3633 function prototypes and stuff
, but not
'\xHH' hex character constants.
3634 These don
't provoke an error unfortunately, instead are silently treated
3635 as 'x
'. The following induces an error, until -std is added to get
3636 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3637 array size at least. It's necessary to
write '\x00'==0 to get something
3638 that
's true only with -std. */
3639 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3641 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3642 inside strings and character constants. */
3644 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3646 int test (int i, double x);
3647 struct s1 {int (*f) (int a);};
3648 struct s2 {int (*f) (double a);};
3649 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3655 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3660 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3661 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3663 CC="$ac_save_CC $ac_arg"
3664 rm -f conftest.$ac_objext
3665 if { (ac_try="$ac_compile"
3667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668 *) ac_try_echo=$ac_try;;
3670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3671 (eval "$ac_compile") 2>conftest.er1
3673 grep -v '^
*+' conftest.er1 >conftest.err
3675 cat conftest.err >&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); } && {
3678 test -z "$ac_c_werror_flag" ||
3679 test ! -s conftest.err
3680 } && test -s conftest.$ac_objext; then
3681 ac_cv_prog_cc_c89=$ac_arg
3683 echo "$as_me: failed program was:" >&5
3684 sed 's
/^
/| /' conftest.$ac_ext >&5
3689 rm -f core conftest.err conftest.$ac_objext
3690 test "x$ac_cv_prog_cc_c89" != "xno" && break
3692 rm -f conftest.$ac_ext
3697 case "x$ac_cv_prog_cc_c89" in
3699 { echo "$as_me:$LINENO: result: none needed" >&5
3700 echo "${ECHO_T}none needed" >&6; } ;;
3702 { echo "$as_me:$LINENO: result: unsupported" >&5
3703 echo "${ECHO_T}unsupported" >&6; } ;;
3705 CC="$CC $ac_cv_prog_cc_c89"
3706 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3707 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3712 ac_cpp='$CPP $CPPFLAGS'
3713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3714 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3717 # Find a good install program. We prefer a C program (faster),
3718 # so one script is as good as another. But avoid the broken or
3719 # incompatible versions:
3720 # SysV /etc/install, /usr/sbin/install
3721 # SunOS /usr/etc/install
3722 # IRIX /sbin/install
3724 # AmigaOS /C/install, which installs bootblocks on floppy discs
3725 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
3726 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3727 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3728 # OS/2's system install, which has a completely different semantic
3729 # ./install, which can be erroneously created by make from ./install.sh.
3730 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3731 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3732 if test -z "$INSTALL"; then
3733 if test "${ac_cv_path_install+set}" = set; then
3734 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3740 test -z "$as_dir" && as_dir
=.
3741 # Account for people who put trailing slashes in PATH elements.
3743 .
/ | .
// | /cC
/* | \
3744 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
3745 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3748 # OSF1 and SCO ODT 3.0 have their own names for install.
3749 # Don't use installbsd from OSF since it installs stuff as root
3751 for ac_prog
in ginstall scoinst
install; do
3752 for ac_exec_ext
in '' $ac_executable_extensions; do
3753 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3754 if test $ac_prog = install &&
3755 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3756 # AIX install. It has an incompatible calling convention.
3758 elif test $ac_prog = install &&
3759 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3760 # program-specific install script used by HP pwplus--don't use.
3763 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3776 if test "${ac_cv_path_install+set}" = set; then
3777 INSTALL
=$ac_cv_path_install
3779 # As a last resort, use the slow shell script. Don't cache a
3780 # value for INSTALL within a source directory, because that will
3781 # break other packages using the cache if that directory is
3782 # removed, or if the value is a relative name.
3783 INSTALL
=$ac_install_sh
3786 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3787 echo "${ECHO_T}$INSTALL" >&6; }
3789 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3790 # It thinks the first close brace ends the variable substitution.
3791 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3793 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3795 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3798 # Extract the first word of "cp", so it can be a program name with args.
3799 set dummy
cp; ac_word
=$2
3800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3802 if test "${ac_cv_path_CP+set}" = set; then
3803 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
3810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3814 test -z "$as_dir" && as_dir
=.
3815 for ac_exec_ext
in '' $ac_executable_extensions; do
3816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3817 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
3818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3829 if test -n "$CP"; then
3830 { echo "$as_me:$LINENO: result: $CP" >&5
3831 echo "${ECHO_T}$CP" >&6; }
3833 { echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6; }
3839 if test -n "$ac_tool_prefix"; then
3840 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3841 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3844 if test "${ac_cv_prog_RANLIB+set}" = set; then
3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3847 if test -n "$RANLIB"; then
3848 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3854 test -z "$as_dir" && as_dir
=.
3855 for ac_exec_ext
in '' $ac_executable_extensions; do
3856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3857 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 RANLIB
=$ac_cv_prog_RANLIB
3868 if test -n "$RANLIB"; then
3869 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3870 echo "${ECHO_T}$RANLIB" >&6; }
3872 { echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6; }
3878 if test -z "$ac_cv_prog_RANLIB"; then
3879 ac_ct_RANLIB
=$RANLIB
3880 # Extract the first word of "ranlib", so it can be a program name with args.
3881 set dummy ranlib
; ac_word
=$2
3882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3884 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3885 echo $ECHO_N "(cached) $ECHO_C" >&6
3887 if test -n "$ac_ct_RANLIB"; then
3888 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3894 test -z "$as_dir" && as_dir
=.
3895 for ac_exec_ext
in '' $ac_executable_extensions; do
3896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3897 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3908 if test -n "$ac_ct_RANLIB"; then
3909 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3910 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3912 { echo "$as_me:$LINENO: result: no" >&5
3913 echo "${ECHO_T}no" >&6; }
3916 if test "x$ac_ct_RANLIB" = x
; then
3919 case $cross_compiling:$ac_tool_warned in
3921 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3922 whose name does not start with the host triplet. If you think this
3923 configuration is useful to you, please write to autoconf@gnu.org." >&5
3924 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3925 whose name does not start with the host triplet. If you think this
3926 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3927 ac_tool_warned
=yes ;;
3929 RANLIB
=$ac_ct_RANLIB
3932 RANLIB
="$ac_cv_prog_RANLIB"
3936 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3937 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3939 if test "$LN_S" = "ln -s"; then
3940 { echo "$as_me:$LINENO: result: yes" >&5
3941 echo "${ECHO_T}yes" >&6; }
3943 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3944 echo "${ECHO_T}no, using $LN_S" >&6; }
3947 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3948 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3949 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3950 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
3951 echo $ECHO_N "(cached) $ECHO_C" >&6
3953 cat >conftest.
make <<\_ACEOF
3956 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3958 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3959 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3961 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3963 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3967 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3968 { echo "$as_me:$LINENO: result: yes" >&5
3969 echo "${ECHO_T}yes" >&6; }
3972 { echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6; }
3974 SET_MAKE
="MAKE=${MAKE-make}"
3978 ac_cpp
='$CPP $CPPFLAGS'
3979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3982 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3983 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3984 # On Suns, sometimes $CPP names a directory.
3985 if test -n "$CPP" && test -d "$CPP"; then
3988 if test -z "$CPP"; then
3989 if test "${ac_cv_prog_CPP+set}" = set; then
3990 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 # Double quotes because CPP needs to be expanded
3993 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3996 for ac_c_preproc_warn_flag
in '' yes
3998 # Use a header file that comes with gcc, so configuring glibc
3999 # with a fresh cross-compiler works.
4000 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4001 # <limits.h> exists even on freestanding compilers.
4002 # On the NeXT, cc -E runs the code through the compiler's parser,
4003 # not just through cpp. "Syntax error" is here to catch this case.
4004 cat >conftest.
$ac_ext <<_ACEOF
4007 cat confdefs.h
>>conftest.
$ac_ext
4008 cat >>conftest.
$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4011 # include <limits.h>
4013 # include <assert.h>
4017 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4019 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4025 grep -v '^ *+' conftest.er1 >conftest.err
4027 cat conftest.err >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } >/dev/null && {
4030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4031 test ! -s conftest.err
4035 echo "$as_me: failed program was:" >&5
4036 sed 's/^/| /' conftest.$ac_ext >&5
4038 # Broken: fails on valid input.
4042 rm -f conftest.err conftest.$ac_ext
4044 # OK, works on sane cases. Now check whether nonexistent headers
4045 # can be detected and how.
4046 cat >conftest.$ac_ext <<_ACEOF
4049 cat confdefs.h >>conftest.$ac_ext
4050 cat >>conftest.$ac_ext <<_ACEOF
4051 /* end confdefs.h. */
4052 #include <ac_nonexistent.h>
4054 if { (ac_try="$ac_cpp conftest.$ac_ext"
4056 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4057 *) ac_try_echo
=$ac_try;;
4059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4062 grep -v '^ *+' conftest.er1
>conftest.err
4064 cat conftest.err
>&5
4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } >/dev
/null
&& {
4067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4068 test ! -s conftest.err
4070 # Broken: success on invalid input.
4073 echo "$as_me: failed program was:" >&5
4074 sed 's/^/| /' conftest.
$ac_ext >&5
4076 # Passes both tests.
4081 rm -f conftest.err conftest.
$ac_ext
4084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4085 rm -f conftest.err conftest.
$ac_ext
4086 if $ac_preproc_ok; then
4098 { echo "$as_me:$LINENO: result: $CPP" >&5
4099 echo "${ECHO_T}$CPP" >&6; }
4101 for ac_c_preproc_warn_flag
in '' yes
4103 # Use a header file that comes with gcc, so configuring glibc
4104 # with a fresh cross-compiler works.
4105 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4106 # <limits.h> exists even on freestanding compilers.
4107 # On the NeXT, cc -E runs the code through the compiler's parser,
4108 # not just through cpp. "Syntax error" is here to catch this case.
4109 cat >conftest.
$ac_ext <<_ACEOF
4112 cat confdefs.h
>>conftest.
$ac_ext
4113 cat >>conftest.
$ac_ext <<_ACEOF
4114 /* end confdefs.h. */
4116 # include <limits.h>
4118 # include <assert.h>
4122 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4124 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4130 grep -v '^ *+' conftest.er1 >conftest.err
4132 cat conftest.err >&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } >/dev/null && {
4135 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4136 test ! -s conftest.err
4140 echo "$as_me: failed program was:" >&5
4141 sed 's/^/| /' conftest.$ac_ext >&5
4143 # Broken: fails on valid input.
4147 rm -f conftest.err conftest.$ac_ext
4149 # OK, works on sane cases. Now check whether nonexistent headers
4150 # can be detected and how.
4151 cat >conftest.$ac_ext <<_ACEOF
4154 cat confdefs.h >>conftest.$ac_ext
4155 cat >>conftest.$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4157 #include <ac_nonexistent.h>
4159 if { (ac_try="$ac_cpp conftest.$ac_ext"
4161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4162 *) ac_try_echo
=$ac_try;;
4164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4167 grep -v '^ *+' conftest.er1
>conftest.err
4169 cat conftest.err
>&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); } >/dev
/null
&& {
4172 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4173 test ! -s conftest.err
4175 # Broken: success on invalid input.
4178 echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.
$ac_ext >&5
4181 # Passes both tests.
4186 rm -f conftest.err conftest.
$ac_ext
4189 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4190 rm -f conftest.err conftest.
$ac_ext
4191 if $ac_preproc_ok; then
4194 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4195 See \`config.log' for more details." >&5
4196 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4197 See \`config.log' for more details." >&2;}
4198 { (exit 1); exit 1; }; }
4202 ac_cpp
='$CPP $CPPFLAGS'
4203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4208 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4209 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4210 if test "${ac_cv_path_GREP+set}" = set; then
4211 echo $ECHO_N "(cached) $ECHO_C" >&6
4213 # Extract the first word of "grep ggrep" to use in msg output
4214 if test -z "$GREP"; then
4215 set dummy
grep ggrep
; ac_prog_name
=$2
4216 if test "${ac_cv_path_GREP+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 ac_path_GREP_found
=false
4220 # Loop through the user's path and test for each of PROGNAME-LIST
4221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4222 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4225 test -z "$as_dir" && as_dir
=.
4226 for ac_prog
in grep ggrep
; do
4227 for ac_exec_ext
in '' $ac_executable_extensions; do
4228 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4229 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4230 # Check for GNU ac_path_GREP and select it if it is found.
4231 # Check for GNU $ac_path_GREP
4232 case `"$ac_path_GREP" --version 2>&1` in
4234 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4237 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4240 cat "conftest.in" "conftest.in" >"conftest.tmp"
4241 mv "conftest.tmp" "conftest.in"
4242 cp "conftest.in" "conftest.nl"
4243 echo 'GREP' >> "conftest.nl"
4244 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4245 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4246 ac_count
=`expr $ac_count + 1`
4247 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4248 # Best one so far, save it but keep looking for a better one
4249 ac_cv_path_GREP
="$ac_path_GREP"
4250 ac_path_GREP_max
=$ac_count
4252 # 10*(2^10) chars as input seems more than enough
4253 test $ac_count -gt 10 && break
4255 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4259 $ac_path_GREP_found && break 3
4269 GREP
="$ac_cv_path_GREP"
4270 if test -z "$GREP"; then
4271 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4272 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4273 { (exit 1); exit 1; }; }
4277 ac_cv_path_GREP
=$GREP
4282 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4283 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4284 GREP
="$ac_cv_path_GREP"
4287 { echo "$as_me:$LINENO: checking for egrep" >&5
4288 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4289 if test "${ac_cv_path_EGREP+set}" = set; then
4290 echo $ECHO_N "(cached) $ECHO_C" >&6
4292 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4293 then ac_cv_path_EGREP
="$GREP -E"
4295 # Extract the first word of "egrep" to use in msg output
4296 if test -z "$EGREP"; then
4297 set dummy
egrep; ac_prog_name
=$2
4298 if test "${ac_cv_path_EGREP+set}" = set; then
4299 echo $ECHO_N "(cached) $ECHO_C" >&6
4301 ac_path_EGREP_found
=false
4302 # Loop through the user's path and test for each of PROGNAME-LIST
4303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4304 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4307 test -z "$as_dir" && as_dir
=.
4308 for ac_prog
in egrep; do
4309 for ac_exec_ext
in '' $ac_executable_extensions; do
4310 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4311 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4312 # Check for GNU ac_path_EGREP and select it if it is found.
4313 # Check for GNU $ac_path_EGREP
4314 case `"$ac_path_EGREP" --version 2>&1` in
4316 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4319 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4322 cat "conftest.in" "conftest.in" >"conftest.tmp"
4323 mv "conftest.tmp" "conftest.in"
4324 cp "conftest.in" "conftest.nl"
4325 echo 'EGREP' >> "conftest.nl"
4326 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4327 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4328 ac_count
=`expr $ac_count + 1`
4329 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4330 # Best one so far, save it but keep looking for a better one
4331 ac_cv_path_EGREP
="$ac_path_EGREP"
4332 ac_path_EGREP_max
=$ac_count
4334 # 10*(2^10) chars as input seems more than enough
4335 test $ac_count -gt 10 && break
4337 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4341 $ac_path_EGREP_found && break 3
4351 EGREP
="$ac_cv_path_EGREP"
4352 if test -z "$EGREP"; then
4353 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4354 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4355 { (exit 1); exit 1; }; }
4359 ac_cv_path_EGREP
=$EGREP
4365 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4366 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4367 EGREP
="$ac_cv_path_EGREP"
4370 if test $ac_cv_c_compiler_gnu = yes; then
4371 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4372 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
4373 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4374 echo $ECHO_N "(cached) $ECHO_C" >&6
4376 ac_pattern
="Autoconf.*'x'"
4377 cat >conftest.
$ac_ext <<_ACEOF
4380 cat confdefs.h
>>conftest.
$ac_ext
4381 cat >>conftest.
$ac_ext <<_ACEOF
4382 /* end confdefs.h. */
4386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4387 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
4388 ac_cv_prog_gcc_traditional
=yes
4390 ac_cv_prog_gcc_traditional
=no
4395 if test $ac_cv_prog_gcc_traditional = no
; then
4396 cat >conftest.
$ac_ext <<_ACEOF
4399 cat confdefs.h
>>conftest.
$ac_ext
4400 cat >>conftest.
$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4406 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
4407 ac_cv_prog_gcc_traditional
=yes
4413 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4414 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
4415 if test $ac_cv_prog_gcc_traditional = yes; then
4416 CC
="$CC -traditional"
4420 # Extract the first word of "gmake", so it can be a program name with args.
4421 set dummy gmake
; ac_word
=$2
4422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4424 if test "${ac_cv_prog_MAKER+set}" = set; then
4425 echo $ECHO_N "(cached) $ECHO_C" >&6
4427 if test -n "$MAKER"; then
4428 ac_cv_prog_MAKER
="$MAKER" # Let the user override the test.
4430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4434 test -z "$as_dir" && as_dir
=.
4435 for ac_exec_ext
in '' $ac_executable_extensions; do
4436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4437 ac_cv_prog_MAKER
="gmake"
4438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4445 test -z "$ac_cv_prog_MAKER" && ac_cv_prog_MAKER
="make"
4448 MAKER
=$ac_cv_prog_MAKER
4449 if test -n "$MAKER"; then
4450 { echo "$as_me:$LINENO: result: $MAKER" >&5
4451 echo "${ECHO_T}$MAKER" >&6; }
4453 { echo "$as_me:$LINENO: result: no" >&5
4454 echo "${ECHO_T}no" >&6; }
4460 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
4463 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
4467 EXTRA_DEFINE
="-D__SOLARIS__"
4468 ANSI_SRC
="-fno-builtin"
4471 ANSI_SRC
="-fno-builtin"
4474 EXTRA_DEFINE
="-D_GNU_SOURCE"
4481 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
4484 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4485 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
4486 if test "${ac_cv_lib_socket_socket+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 ac_check_lib_save_LIBS
=$LIBS
4490 LIBS
="-lsocket $LIBS"
4491 cat >conftest.
$ac_ext <<_ACEOF
4494 cat confdefs.h
>>conftest.
$ac_ext
4495 cat >>conftest.
$ac_ext <<_ACEOF
4496 /* end confdefs.h. */
4498 /* Override any GCC internal prototype to avoid an error.
4499 Use char because int might match the return type of a GCC
4500 builtin and then its argument prototype would still apply. */
4513 rm -f conftest.
$ac_objext conftest
$ac_exeext
4514 if { (ac_try
="$ac_link"
4516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 (eval "$ac_link") 2>conftest.er1
4522 grep -v '^ *+' conftest.er1 >conftest.err
4524 cat conftest.err >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && {
4527 test -z "$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 } && test -s conftest$ac_exeext &&
4530 $as_test_x conftest$ac_exeext; then
4531 ac_cv_lib_socket_socket=yes
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 ac_cv_lib_socket_socket=no
4539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4540 conftest$ac_exeext conftest.$ac_ext
4541 LIBS=$ac_check_lib_save_LIBS
4543 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4544 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
4545 if test $ac_cv_lib_socket_socket = yes; then
4546 cat >>confdefs.h <<_ACEOF
4547 #define HAVE_LIBSOCKET 1
4550 LIBS="-lsocket $LIBS"
4555 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4556 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4557 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 ac_check_lib_save_LIBS=$LIBS
4562 cat >conftest.$ac_ext <<_ACEOF
4565 cat confdefs.h >>conftest.$ac_ext
4566 cat >>conftest.$ac_ext <<_ACEOF
4567 /* end confdefs.h. */
4569 /* Override any GCC internal prototype to avoid an error.
4570 Use char because int might match the return type of a GCC
4571 builtin and then its argument prototype would still apply. */
4575 char gethostbyname ();
4579 return gethostbyname ();
4584 rm -f conftest.$ac_objext conftest$ac_exeext
4585 if { (ac_try="$ac_link"
4587 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4588 *) ac_try_echo
=$ac_try;;
4590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4591 (eval "$ac_link") 2>conftest.er1
4593 grep -v '^ *+' conftest.er1
>conftest.err
4595 cat conftest.err
>&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } && {
4598 test -z "$ac_c_werror_flag" ||
4599 test ! -s conftest.err
4600 } && test -s conftest
$ac_exeext &&
4601 $as_test_x conftest
$ac_exeext; then
4602 ac_cv_lib_nsl_gethostbyname
=yes
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.
$ac_ext >&5
4607 ac_cv_lib_nsl_gethostbyname
=no
4610 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4611 conftest
$ac_exeext conftest.
$ac_ext
4612 LIBS
=$ac_check_lib_save_LIBS
4614 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4615 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4616 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4617 cat >>confdefs.h
<<_ACEOF
4618 #define HAVE_LIBNSL 1
4626 { echo "$as_me:$LINENO: checking for main in -lm" >&5
4627 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
4628 if test "${ac_cv_lib_m_main+set}" = set; then
4629 echo $ECHO_N "(cached) $ECHO_C" >&6
4631 ac_check_lib_save_LIBS
=$LIBS
4633 cat >conftest.
$ac_ext <<_ACEOF
4636 cat confdefs.h
>>conftest.
$ac_ext
4637 cat >>conftest.
$ac_ext <<_ACEOF
4638 /* end confdefs.h. */
4649 rm -f conftest.
$ac_objext conftest
$ac_exeext
4650 if { (ac_try
="$ac_link"
4652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4656 (eval "$ac_link") 2>conftest.er1
4658 grep -v '^ *+' conftest.er1 >conftest.err
4660 cat conftest.err >&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); } && {
4663 test -z "$ac_c_werror_flag" ||
4664 test ! -s conftest.err
4665 } && test -s conftest$ac_exeext &&
4666 $as_test_x conftest$ac_exeext; then
4667 ac_cv_lib_m_main=yes
4669 echo "$as_me: failed program was:" >&5
4670 sed 's/^/| /' conftest.$ac_ext >&5
4675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4676 conftest$ac_exeext conftest.$ac_ext
4677 LIBS=$ac_check_lib_save_LIBS
4679 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4680 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
4681 if test $ac_cv_lib_m_main = yes; then
4682 cat >>confdefs.h <<_ACEOF
4691 { echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
4692 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6; }
4693 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
4694 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 ac_check_lib_save_LIBS=$LIBS
4697 LIBS="-lGeoIP $LIBS"
4698 cat >conftest.$ac_ext <<_ACEOF
4701 cat confdefs.h >>conftest.$ac_ext
4702 cat >>conftest.$ac_ext <<_ACEOF
4703 /* end confdefs.h. */
4705 /* Override any GCC internal prototype to avoid an error.
4706 Use char because int might match the return type of a GCC
4707 builtin and then its argument prototype would still apply. */
4715 return GeoIP_open ();
4720 rm -f conftest.$ac_objext conftest$ac_exeext
4721 if { (ac_try="$ac_link"
4723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4724 *) ac_try_echo
=$ac_try;;
4726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4727 (eval "$ac_link") 2>conftest.er1
4729 grep -v '^ *+' conftest.er1
>conftest.err
4731 cat conftest.err
>&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } && {
4734 test -z "$ac_c_werror_flag" ||
4735 test ! -s conftest.err
4736 } && test -s conftest
$ac_exeext &&
4737 $as_test_x conftest
$ac_exeext; then
4738 ac_cv_lib_GeoIP_GeoIP_open
=yes
4740 echo "$as_me: failed program was:" >&5
4741 sed 's/^/| /' conftest.
$ac_ext >&5
4743 ac_cv_lib_GeoIP_GeoIP_open
=no
4746 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4747 conftest
$ac_exeext conftest.
$ac_ext
4748 LIBS
=$ac_check_lib_save_LIBS
4750 { echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
4751 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
4752 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
4753 cat >>confdefs.h
<<_ACEOF
4754 #define HAVE_LIBGEOIP 1
4757 LIBS
="-lGeoIP $LIBS"
4762 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4763 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4764 if test "${ac_cv_header_stdc+set}" = set; then
4765 echo $ECHO_N "(cached) $ECHO_C" >&6
4767 cat >conftest.
$ac_ext <<_ACEOF
4770 cat confdefs.h
>>conftest.
$ac_ext
4771 cat >>conftest.
$ac_ext <<_ACEOF
4772 /* end confdefs.h. */
4786 rm -f conftest.
$ac_objext
4787 if { (ac_try
="$ac_compile"
4789 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4790 *) ac_try_echo=$ac_try;;
4792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4793 (eval "$ac_compile") 2>conftest.er1
4795 grep -v '^ *+' conftest.er1 >conftest.err
4797 cat conftest.err >&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); } && {
4800 test -z "$ac_c_werror_flag" ||
4801 test ! -s conftest.err
4802 } && test -s conftest.$ac_objext; then
4803 ac_cv_header_stdc=yes
4805 echo "$as_me: failed program was:" >&5
4806 sed 's/^/| /' conftest.$ac_ext >&5
4808 ac_cv_header_stdc=no
4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4813 if test $ac_cv_header_stdc = yes; then
4814 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4815 cat >conftest.$ac_ext <<_ACEOF
4818 cat confdefs.h >>conftest.$ac_ext
4819 cat >>conftest.$ac_ext <<_ACEOF
4820 /* end confdefs.h. */
4824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4825 $EGREP "memchr" >/dev/null 2>&1; then
4828 ac_cv_header_stdc=no
4834 if test $ac_cv_header_stdc = yes; then
4835 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4836 cat >conftest.$ac_ext <<_ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4846 $EGREP "free" >/dev/null 2>&1; then
4849 ac_cv_header_stdc=no
4855 if test $ac_cv_header_stdc = yes; then
4856 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4857 if test "$cross_compiling" = yes; then
4860 cat >conftest.$ac_ext <<_ACEOF
4863 cat confdefs.h >>conftest.$ac_ext
4864 cat >>conftest.$ac_ext <<_ACEOF
4865 /* end confdefs.h. */
4868 #if ((' ' & 0x0FF) == 0x020)
4869 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4870 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4872 # define ISLOWER(c) \
4873 (('a' <= (c) && (c) <= 'i') \
4874 || ('j' <= (c) && (c) <= 'r') \
4875 || ('s' <= (c) && (c) <= 'z'))
4876 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4879 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4884 for (i = 0; i < 256; i++)
4885 if (XOR (islower (i), ISLOWER (i))
4886 || toupper (i) != TOUPPER (i))
4891 rm -f conftest$ac_exeext
4892 if { (ac_try="$ac_link"
4894 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4895 *) ac_try_echo
=$ac_try;;
4897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4898 (eval "$ac_link") 2>&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4902 { (case "(($ac_try" in
4903 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4904 *) ac_try_echo=$ac_try;;
4906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4907 (eval "$ac_try") 2>&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); }; }; then
4913 echo "$as_me: program exited with status $ac_status" >&5
4914 echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.$ac_ext >&5
4918 ac_cv_header_stdc=no
4920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4926 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4927 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4928 if test $ac_cv_header_stdc = yes; then
4930 cat >>confdefs.h <<\_ACEOF
4931 #define STDC_HEADERS 1
4937 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4938 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4939 if test "${ac_cv_header_time+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4942 cat >conftest.$ac_ext <<_ACEOF
4945 cat confdefs.h >>conftest.$ac_ext
4946 cat >>conftest.$ac_ext <<_ACEOF
4947 /* end confdefs.h. */
4948 #include <sys/types.h>
4949 #include <sys/time.h>
4955 if ((struct tm *) 0)
4961 rm -f conftest.$ac_objext
4962 if { (ac_try="$ac_compile"
4964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4965 *) ac_try_echo
=$ac_try;;
4967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4968 (eval "$ac_compile") 2>conftest.er1
4970 grep -v '^ *+' conftest.er1
>conftest.err
4972 cat conftest.err
>&5
4973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974 (exit $ac_status); } && {
4975 test -z "$ac_c_werror_flag" ||
4976 test ! -s conftest.err
4977 } && test -s conftest.
$ac_objext; then
4978 ac_cv_header_time
=yes
4980 echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.
$ac_ext >&5
4983 ac_cv_header_time
=no
4986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4988 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4989 echo "${ECHO_T}$ac_cv_header_time" >&6; }
4990 if test $ac_cv_header_time = yes; then
4992 cat >>confdefs.h
<<\_ACEOF
4993 #define TIME_WITH_SYS_TIME 1
4998 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4999 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5000 if test "${ac_cv_struct_tm+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 cat >conftest.
$ac_ext <<_ACEOF
5006 cat confdefs.h
>>conftest.
$ac_ext
5007 cat >>conftest.
$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5009 #include <sys/types.h>
5016 int *p = &tm.tm_sec;
5022 rm -f conftest.
$ac_objext
5023 if { (ac_try
="$ac_compile"
5025 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5026 *) ac_try_echo=$ac_try;;
5028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5029 (eval "$ac_compile") 2>conftest.er1
5031 grep -v '^ *+' conftest.er1 >conftest.err
5033 cat conftest.err >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } && {
5036 test -z "$ac_c_werror_flag" ||
5037 test ! -s conftest.err
5038 } && test -s conftest.$ac_objext; then
5039 ac_cv_struct_tm=time.h
5041 echo "$as_me: failed program was:" >&5
5042 sed 's/^/| /' conftest.$ac_ext >&5
5044 ac_cv_struct_tm=sys/time.h
5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5049 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5050 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5051 if test $ac_cv_struct_tm = sys/time.h; then
5053 cat >>confdefs.h <<\_ACEOF
5054 #define TM_IN_SYS_TIME 1
5060 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5070 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5071 inttypes.h stdint.h unistd.h
5073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5074 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5076 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 cat >conftest.$ac_ext <<_ACEOF
5082 cat confdefs.h >>conftest.$ac_ext
5083 cat >>conftest.$ac_ext <<_ACEOF
5084 /* end confdefs.h. */
5085 $ac_includes_default
5087 #include <$ac_header>
5089 rm -f conftest.$ac_objext
5090 if { (ac_try="$ac_compile"
5092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5093 *) ac_try_echo
=$ac_try;;
5095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5096 (eval "$ac_compile") 2>conftest.er1
5098 grep -v '^ *+' conftest.er1
>conftest.err
5100 cat conftest.err
>&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } && {
5103 test -z "$ac_c_werror_flag" ||
5104 test ! -s conftest.err
5105 } && test -s conftest.
$ac_objext; then
5106 eval "$as_ac_Header=yes"
5108 echo "$as_me: failed program was:" >&5
5109 sed 's/^/| /' conftest.
$ac_ext >&5
5111 eval "$as_ac_Header=no"
5114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5116 ac_res
=`eval echo '${'$as_ac_Header'}'`
5117 { echo "$as_me:$LINENO: result: $ac_res" >&5
5118 echo "${ECHO_T}$ac_res" >&6; }
5119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5120 cat >>confdefs.h
<<_ACEOF
5121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5155 for ac_header
in GeoIP.h GeoIPCity.h arpa
/inet.h fcntl.h math.h tgmath.h malloc.h netdb.h netinet
/in.h sys
/resource.h sys
/timeb.h sys
/times.h sys
/param.h sys
/socket.h sys
/time.h sys
/types.h sys
/wait.h unistd.h getopt.h memory.h arpa
/inet.h sys
/mman.h sys
/stat.h dirent.h sys
/epoll.h sys
/event.h
5157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5158 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5159 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5161 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 ac_res
=`eval echo '${'$as_ac_Header'}'`
5165 { echo "$as_me:$LINENO: result: $ac_res" >&5
5166 echo "${ECHO_T}$ac_res" >&6; }
5168 # Is the header compilable?
5169 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5171 cat >conftest.
$ac_ext <<_ACEOF
5174 cat confdefs.h
>>conftest.
$ac_ext
5175 cat >>conftest.
$ac_ext <<_ACEOF
5176 /* end confdefs.h. */
5177 $ac_includes_default
5178 #include <$ac_header>
5180 rm -f conftest.
$ac_objext
5181 if { (ac_try
="$ac_compile"
5183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5184 *) ac_try_echo=$ac_try;;
5186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5187 (eval "$ac_compile") 2>conftest.er1
5189 grep -v '^ *+' conftest.er1 >conftest.err
5191 cat conftest.err >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); } && {
5194 test -z "$ac_c_werror_flag" ||
5195 test ! -s conftest.err
5196 } && test -s conftest.$ac_objext; then
5197 ac_header_compiler=yes
5199 echo "$as_me: failed program was:" >&5
5200 sed 's/^/| /' conftest.$ac_ext >&5
5202 ac_header_compiler=no
5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5206 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5207 echo "${ECHO_T}$ac_header_compiler" >&6; }
5209 # Is the header present?
5210 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5212 cat >conftest.$ac_ext <<_ACEOF
5215 cat confdefs.h >>conftest.$ac_ext
5216 cat >>conftest.$ac_ext <<_ACEOF
5217 /* end confdefs.h. */
5218 #include <$ac_header>
5220 if { (ac_try="$ac_cpp conftest.$ac_ext"
5222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5223 *) ac_try_echo
=$ac_try;;
5225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5226 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5228 grep -v '^ *+' conftest.er1
>conftest.err
5230 cat conftest.err
>&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } >/dev
/null
&& {
5233 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5234 test ! -s conftest.err
5236 ac_header_preproc
=yes
5238 echo "$as_me: failed program was:" >&5
5239 sed 's/^/| /' conftest.
$ac_ext >&5
5241 ac_header_preproc
=no
5244 rm -f conftest.err conftest.
$ac_ext
5245 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5246 echo "${ECHO_T}$ac_header_preproc" >&6; }
5248 # So? What about this header?
5249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5251 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5252 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5254 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5255 ac_header_preproc
=yes
5258 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5259 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5260 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5261 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5262 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5263 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5264 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5265 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5268 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5269 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5271 ## -------------------------------------------------- ##
5272 ## Report this to evilnet-devel@lists.sourceforge.net ##
5273 ## -------------------------------------------------- ##
5275 ) | sed "s/^/$as_me: WARNING: /" >&2
5278 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5280 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5281 echo $ECHO_N "(cached) $ECHO_C" >&6
5283 eval "$as_ac_Header=\$ac_header_preproc"
5285 ac_res
=`eval echo '${'$as_ac_Header'}'`
5286 { echo "$as_me:$LINENO: result: $ac_res" >&5
5287 echo "${ECHO_T}$ac_res" >&6; }
5290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5291 cat >>confdefs.h
<<_ACEOF
5292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5300 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
5301 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
5302 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 cat >conftest.
$ac_ext <<_ACEOF
5308 cat confdefs.h
>>conftest.
$ac_ext
5309 cat >>conftest.
$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5311 #include <sys/types.h>
5312 #include <sys/socket.h>
5317 static struct sockaddr ac_aggr;
5324 rm -f conftest.
$ac_objext
5325 if { (ac_try
="$ac_compile"
5327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5328 *) ac_try_echo=$ac_try;;
5330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5331 (eval "$ac_compile") 2>conftest.er1
5333 grep -v '^ *+' conftest.er1 >conftest.err
5335 cat conftest.err >&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); } && {
5338 test -z "$ac_c_werror_flag" ||
5339 test ! -s conftest.err
5340 } && test -s conftest.$ac_objext; then
5341 ac_cv_member_struct_sockaddr_sa_len=yes
5343 echo "$as_me: failed program was:" >&5
5344 sed 's/^/| /' conftest.$ac_ext >&5
5346 cat >conftest.$ac_ext <<_ACEOF
5349 cat confdefs.h >>conftest.$ac_ext
5350 cat >>conftest.$ac_ext <<_ACEOF
5351 /* end confdefs.h. */
5352 #include <sys/types.h>
5353 #include <sys/socket.h>
5358 static struct sockaddr ac_aggr;
5359 if (sizeof ac_aggr.sa_len)
5365 rm -f conftest.$ac_objext
5366 if { (ac_try="$ac_compile"
5368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5369 *) ac_try_echo
=$ac_try;;
5371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5372 (eval "$ac_compile") 2>conftest.er1
5374 grep -v '^ *+' conftest.er1
>conftest.err
5376 cat conftest.err
>&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } && {
5379 test -z "$ac_c_werror_flag" ||
5380 test ! -s conftest.err
5381 } && test -s conftest.
$ac_objext; then
5382 ac_cv_member_struct_sockaddr_sa_len
=yes
5384 echo "$as_me: failed program was:" >&5
5385 sed 's/^/| /' conftest.
$ac_ext >&5
5387 ac_cv_member_struct_sockaddr_sa_len
=no
5390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5395 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
5396 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
5397 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
5399 cat >>confdefs.h
<<\_ACEOF
5400 #define HAVE_SOCKADDR_SA_LEN 1
5405 { echo "$as_me:$LINENO: checking for struct addrinfo.ai_flags" >&5
5406 echo $ECHO_N "checking for struct addrinfo.ai_flags... $ECHO_C" >&6; }
5407 if test "${ac_cv_member_struct_addrinfo_ai_flags+set}" = set; then
5408 echo $ECHO_N "(cached) $ECHO_C" >&6
5410 cat >conftest.
$ac_ext <<_ACEOF
5413 cat confdefs.h
>>conftest.
$ac_ext
5414 cat >>conftest.
$ac_ext <<_ACEOF
5415 /* end confdefs.h. */
5416 #include <sys/types.h>
5417 #include <sys/socket.h>
5423 static struct addrinfo ac_aggr;
5424 if (ac_aggr.ai_flags)
5430 rm -f conftest.
$ac_objext
5431 if { (ac_try
="$ac_compile"
5433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5434 *) ac_try_echo=$ac_try;;
5436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5437 (eval "$ac_compile") 2>conftest.er1
5439 grep -v '^ *+' conftest.er1 >conftest.err
5441 cat conftest.err >&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); } && {
5444 test -z "$ac_c_werror_flag" ||
5445 test ! -s conftest.err
5446 } && test -s conftest.$ac_objext; then
5447 ac_cv_member_struct_addrinfo_ai_flags=yes
5449 echo "$as_me: failed program was:" >&5
5450 sed 's/^/| /' conftest.$ac_ext >&5
5452 cat >conftest.$ac_ext <<_ACEOF
5455 cat confdefs.h >>conftest.$ac_ext
5456 cat >>conftest.$ac_ext <<_ACEOF
5457 /* end confdefs.h. */
5458 #include <sys/types.h>
5459 #include <sys/socket.h>
5465 static struct addrinfo ac_aggr;
5466 if (sizeof ac_aggr.ai_flags)
5472 rm -f conftest.$ac_objext
5473 if { (ac_try="$ac_compile"
5475 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5476 *) ac_try_echo
=$ac_try;;
5478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5479 (eval "$ac_compile") 2>conftest.er1
5481 grep -v '^ *+' conftest.er1
>conftest.err
5483 cat conftest.err
>&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); } && {
5486 test -z "$ac_c_werror_flag" ||
5487 test ! -s conftest.err
5488 } && test -s conftest.
$ac_objext; then
5489 ac_cv_member_struct_addrinfo_ai_flags
=yes
5491 echo "$as_me: failed program was:" >&5
5492 sed 's/^/| /' conftest.
$ac_ext >&5
5494 ac_cv_member_struct_addrinfo_ai_flags
=no
5497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5502 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_addrinfo_ai_flags" >&5
5503 echo "${ECHO_T}$ac_cv_member_struct_addrinfo_ai_flags" >&6; }
5504 if test $ac_cv_member_struct_addrinfo_ai_flags = yes; then
5506 cat >>confdefs.h
<<\_ACEOF
5507 #define HAVE_STRUCT_ADDRINFO 1
5540 for ac_func
in freeaddrinfo getaddrinfo gai_strerror getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long regcomp regexec regfree sysconf inet_aton epoll_create kqueue kevent
select gettimeofday
times GetProcessTimes mprotect
5542 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5543 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5545 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5546 echo $ECHO_N "(cached) $ECHO_C" >&6
5548 cat >conftest.
$ac_ext <<_ACEOF
5551 cat confdefs.h
>>conftest.
$ac_ext
5552 cat >>conftest.
$ac_ext <<_ACEOF
5553 /* end confdefs.h. */
5554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5556 #define $ac_func innocuous_$ac_func
5558 /* System header to define __stub macros and hopefully few prototypes,
5559 which can conflict with char $ac_func (); below.
5560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5561 <limits.h> exists even on freestanding compilers. */
5564 # include <limits.h>
5566 # include <assert.h>
5571 /* Override any GCC internal prototype to avoid an error.
5572 Use char because int might match the return type of a GCC
5573 builtin and then its argument prototype would still apply. */
5578 /* The GNU C library defines this for functions which it implements
5579 to always fail with ENOSYS. Some functions are actually named
5580 something starting with __ and the normal name is an alias. */
5581 #if defined __stub_$ac_func || defined __stub___$ac_func
5593 rm -f conftest.
$ac_objext conftest
$ac_exeext
5594 if { (ac_try
="$ac_link"
5596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5597 *) ac_try_echo=$ac_try;;
5599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5600 (eval "$ac_link") 2>conftest.er1
5602 grep -v '^ *+' conftest.er1 >conftest.err
5604 cat conftest.err >&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); } && {
5607 test -z "$ac_c_werror_flag" ||
5608 test ! -s conftest.err
5609 } && test -s conftest$ac_exeext &&
5610 $as_test_x conftest$ac_exeext; then
5611 eval "$as_ac_var=yes"
5613 echo "$as_me: failed program was:" >&5
5614 sed 's/^/| /' conftest.$ac_ext >&5
5616 eval "$as_ac_var=no"
5619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5620 conftest$ac_exeext conftest.$ac_ext
5622 ac_res=`eval echo '${'$as_ac_var'}'`
5623 { echo "$as_me:$LINENO: result: $ac_res" >&5
5624 echo "${ECHO_T}$ac_res" >&6; }
5625 if test `eval echo '${'$as_ac_var'}'` = yes; then
5626 cat >>confdefs.h <<_ACEOF
5627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5635 if test $ac_cv_func_gettimeofday = no; then
5637 for ac_func in ftime
5639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5640 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5642 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5643 echo $ECHO_N "(cached) $ECHO_C" >&6
5645 cat >conftest.$ac_ext <<_ACEOF
5648 cat confdefs.h >>conftest.$ac_ext
5649 cat >>conftest.$ac_ext <<_ACEOF
5650 /* end confdefs.h. */
5651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5653 #define $ac_func innocuous_$ac_func
5655 /* System header to define __stub macros and hopefully few prototypes,
5656 which can conflict with char $ac_func (); below.
5657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5658 <limits.h> exists even on freestanding compilers. */
5661 # include <limits.h>
5663 # include <assert.h>
5668 /* Override any GCC internal prototype to avoid an error.
5669 Use char because int might match the return type of a GCC
5670 builtin and then its argument prototype would still apply. */
5675 /* The GNU C library defines this for functions which it implements
5676 to always fail with ENOSYS. Some functions are actually named
5677 something starting with __ and the normal name is an alias. */
5678 #if defined __stub_$ac_func || defined __stub___$ac_func
5690 rm -f conftest.$ac_objext conftest$ac_exeext
5691 if { (ac_try="$ac_link"
5693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5694 *) ac_try_echo
=$ac_try;;
5696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5697 (eval "$ac_link") 2>conftest.er1
5699 grep -v '^ *+' conftest.er1
>conftest.err
5701 cat conftest.err
>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } && {
5704 test -z "$ac_c_werror_flag" ||
5705 test ! -s conftest.err
5706 } && test -s conftest
$ac_exeext &&
5707 $as_test_x conftest
$ac_exeext; then
5708 eval "$as_ac_var=yes"
5710 echo "$as_me: failed program was:" >&5
5711 sed 's/^/| /' conftest.
$ac_ext >&5
5713 eval "$as_ac_var=no"
5716 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5717 conftest
$ac_exeext conftest.
$ac_ext
5719 ac_res
=`eval echo '${'$as_ac_var'}'`
5720 { echo "$as_me:$LINENO: result: $ac_res" >&5
5721 echo "${ECHO_T}$ac_res" >&6; }
5722 if test `eval echo '${'$as_ac_var'}'` = yes; then
5723 cat >>confdefs.h
<<_ACEOF
5724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5728 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. X3 build will fail." >&5
5729 echo "$as_me: error: ftime or gettimeofday required. X3 build will fail." >&2;}
5730 { (exit 1); exit 1; }; }
5741 for ac_func
in socket strcspn strspn strtod strtoul
5743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5746 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5747 echo $ECHO_N "(cached) $ECHO_C" >&6
5749 cat >conftest.
$ac_ext <<_ACEOF
5752 cat confdefs.h
>>conftest.
$ac_ext
5753 cat >>conftest.
$ac_ext <<_ACEOF
5754 /* end confdefs.h. */
5755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5757 #define $ac_func innocuous_$ac_func
5759 /* System header to define __stub macros and hopefully few prototypes,
5760 which can conflict with char $ac_func (); below.
5761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5762 <limits.h> exists even on freestanding compilers. */
5765 # include <limits.h>
5767 # include <assert.h>
5772 /* Override any GCC internal prototype to avoid an error.
5773 Use char because int might match the return type of a GCC
5774 builtin and then its argument prototype would still apply. */
5779 /* The GNU C library defines this for functions which it implements
5780 to always fail with ENOSYS. Some functions are actually named
5781 something starting with __ and the normal name is an alias. */
5782 #if defined __stub_$ac_func || defined __stub___$ac_func
5794 rm -f conftest.
$ac_objext conftest
$ac_exeext
5795 if { (ac_try
="$ac_link"
5797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5798 *) ac_try_echo=$ac_try;;
5800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5801 (eval "$ac_link") 2>conftest.er1
5803 grep -v '^ *+' conftest.er1 >conftest.err
5805 cat conftest.err >&5
5806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5807 (exit $ac_status); } && {
5808 test -z "$ac_c_werror_flag" ||
5809 test ! -s conftest.err
5810 } && test -s conftest$ac_exeext &&
5811 $as_test_x conftest$ac_exeext; then
5812 eval "$as_ac_var=yes"
5814 echo "$as_me: failed program was:" >&5
5815 sed 's/^/| /' conftest.$ac_ext >&5
5817 eval "$as_ac_var=no"
5820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5821 conftest$ac_exeext conftest.$ac_ext
5823 ac_res=`eval echo '${'$as_ac_var'}'`
5824 { echo "$as_me:$LINENO: result: $ac_res" >&5
5825 echo "${ECHO_T}$ac_res" >&6; }
5826 if test `eval echo '${'$as_ac_var'}'` = yes; then
5827 cat >>confdefs.h <<_ACEOF
5828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5832 { { echo "$as_me:$LINENO: error: a required function was not found. X3 build will fail." >&5
5833 echo "$as_me: error: a required function was not found. X3 build will fail." >&2;}
5834 { (exit 1); exit 1; }; }
5839 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5840 # for constant arguments. Useless!
5841 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
5842 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
5843 if test "${ac_cv_working_alloca_h+set}" = set; then
5844 echo $ECHO_N "(cached) $ECHO_C" >&6
5846 cat >conftest.$ac_ext <<_ACEOF
5849 cat confdefs.h >>conftest.$ac_ext
5850 cat >>conftest.$ac_ext <<_ACEOF
5851 /* end confdefs.h. */
5856 char *p = (char *) alloca (2 * sizeof (int));
5862 rm -f conftest.$ac_objext conftest$ac_exeext
5863 if { (ac_try="$ac_link"
5865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5866 *) ac_try_echo
=$ac_try;;
5868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5869 (eval "$ac_link") 2>conftest.er1
5871 grep -v '^ *+' conftest.er1
>conftest.err
5873 cat conftest.err
>&5
5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); } && {
5876 test -z "$ac_c_werror_flag" ||
5877 test ! -s conftest.err
5878 } && test -s conftest
$ac_exeext &&
5879 $as_test_x conftest
$ac_exeext; then
5880 ac_cv_working_alloca_h
=yes
5882 echo "$as_me: failed program was:" >&5
5883 sed 's/^/| /' conftest.
$ac_ext >&5
5885 ac_cv_working_alloca_h
=no
5888 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5889 conftest
$ac_exeext conftest.
$ac_ext
5891 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5892 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
5893 if test $ac_cv_working_alloca_h = yes; then
5895 cat >>confdefs.h
<<\_ACEOF
5896 #define HAVE_ALLOCA_H 1
5901 { echo "$as_me:$LINENO: checking for alloca" >&5
5902 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
5903 if test "${ac_cv_func_alloca_works+set}" = set; then
5904 echo $ECHO_N "(cached) $ECHO_C" >&6
5906 cat >conftest.
$ac_ext <<_ACEOF
5909 cat confdefs.h
>>conftest.
$ac_ext
5910 cat >>conftest.
$ac_ext <<_ACEOF
5911 /* end confdefs.h. */
5913 # define alloca __builtin_alloca
5916 # include <malloc.h>
5917 # define alloca _alloca
5919 # ifdef HAVE_ALLOCA_H
5920 # include <alloca.h>
5925 # ifndef alloca /* predefined by HP cc +Olibcalls */
5936 char *p = (char *) alloca (1);
5942 rm -f conftest.
$ac_objext conftest
$ac_exeext
5943 if { (ac_try
="$ac_link"
5945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5946 *) ac_try_echo=$ac_try;;
5948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5949 (eval "$ac_link") 2>conftest.er1
5951 grep -v '^ *+' conftest.er1 >conftest.err
5953 cat conftest.err >&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); } && {
5956 test -z "$ac_c_werror_flag" ||
5957 test ! -s conftest.err
5958 } && test -s conftest$ac_exeext &&
5959 $as_test_x conftest$ac_exeext; then
5960 ac_cv_func_alloca_works=yes
5962 echo "$as_me: failed program was:" >&5
5963 sed 's/^/| /' conftest.$ac_ext >&5
5965 ac_cv_func_alloca_works=no
5968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5969 conftest$ac_exeext conftest.$ac_ext
5971 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5972 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
5974 if test $ac_cv_func_alloca_works = yes; then
5976 cat >>confdefs.h <<\_ACEOF
5977 #define HAVE_ALLOCA 1
5981 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5982 # that cause trouble. Some versions do not even contain alloca or
5983 # contain a buggy version. If you still want to use their alloca,
5984 # use ar to extract alloca.o from them instead of compiling alloca.c.
5986 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5988 cat >>confdefs.h <<\_ACEOF
5993 { echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
5994 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks...
$ECHO_C" >&6; }
5995 if test "${ac_cv_os_cray+set}" = set; then
5996 echo $ECHO_N "(cached
) $ECHO_C" >&6
5998 cat >conftest.$ac_ext <<_ACEOF
6001 cat confdefs.h >>conftest.$ac_ext
6002 cat >>conftest.$ac_ext <<_ACEOF
6003 /* end confdefs.h. */
6004 #if defined CRAY && ! defined CRAY2
6011 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6012 $EGREP "webecray
" >/dev/null 2>&1; then
6020 { echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
6021 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6022 if test $ac_cv_os_cray = yes; then
6023 for ac_func in _getb67 GETB67 getb67; do
6024 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6025 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
6026 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
6027 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6028 echo $ECHO_N "(cached
) $ECHO_C" >&6
6030 cat >conftest.$ac_ext <<_ACEOF
6033 cat confdefs.h >>conftest.$ac_ext
6034 cat >>conftest.$ac_ext <<_ACEOF
6035 /* end confdefs.h. */
6036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6038 #define $ac_func innocuous_$ac_func
6040 /* System header to define __stub macros and hopefully few prototypes,
6041 which can conflict with char $ac_func (); below.
6042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6043 <limits.h> exists even on freestanding compilers. */
6046 # include <limits.h>
6048 # include <assert.h>
6053 /* Override any GCC internal prototype to avoid an error.
6054 Use char because int might match the return type of a GCC
6055 builtin and then its argument prototype would still apply. */
6060 /* The GNU C library defines this for functions which it implements
6061 to always fail with ENOSYS. Some functions are actually named
6062 something starting with __ and the normal name is an alias. */
6063 #if defined __stub_$ac_func || defined __stub___$ac_func
6075 rm -f conftest.$ac_objext conftest$ac_exeext
6076 if { (ac_try="$ac_link"
6078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6079 *) ac_try_echo=$ac_try;;
6081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6082 (eval "$ac_link") 2>conftest.er1
6084 grep -v '^ *+' conftest.er1 >conftest.err
6086 cat conftest.err >&5
6087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6088 (exit $ac_status); } && {
6089 test -z "$ac_c_werror_flag" ||
6090 test ! -s conftest.err
6091 } && test -s conftest$ac_exeext &&
6092 $as_test_x conftest$ac_exeext; then
6093 eval "$as_ac_var=yes"
6095 echo "$as_me: failed program was
:" >&5
6096 sed 's/^/| /' conftest.$ac_ext >&5
6098 eval "$as_ac_var=no
"
6101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6102 conftest$ac_exeext conftest.$ac_ext
6104 ac_res=`eval echo '${'$as_ac_var'}'`
6105 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6106 echo "${ECHO_T}$ac_res" >&6; }
6107 if test `eval echo '${'$as_ac_var'}'` = yes; then
6109 cat >>confdefs.h <<_ACEOF
6110 #define CRAY_STACKSEG_END $ac_func
6119 { echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
6120 echo $ECHO_N "checking stack direction
for C alloca...
$ECHO_C" >&6; }
6121 if test "${ac_cv_c_stack_direction+set}" = set; then
6122 echo $ECHO_N "(cached
) $ECHO_C" >&6
6124 if test "$cross_compiling" = yes; then
6125 ac_cv_c_stack_direction=0
6127 cat >conftest.$ac_ext <<_ACEOF
6130 cat confdefs.h >>conftest.$ac_ext
6131 cat >>conftest.$ac_ext <<_ACEOF
6132 /* end confdefs.h. */
6133 $ac_includes_default
6135 find_stack_direction ()
6137 static char *addr = 0;
6142 return find_stack_direction ();
6145 return (&dummy > addr) ? 1 : -1;
6151 return find_stack_direction () < 0;
6154 rm -f conftest$ac_exeext
6155 if { (ac_try="$ac_link"
6157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6158 *) ac_try_echo=$ac_try;;
6160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6161 (eval "$ac_link") 2>&5
6163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6165 { (case "(($ac_try" in
6166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6167 *) ac_try_echo=$ac_try;;
6169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6170 (eval "$ac_try") 2>&5
6172 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6173 (exit $ac_status); }; }; then
6174 ac_cv_c_stack_direction=1
6176 echo "$as_me: program exited with status
$ac_status" >&5
6177 echo "$as_me: failed program was
:" >&5
6178 sed 's/^/| /' conftest.$ac_ext >&5
6181 ac_cv_c_stack_direction=-1
6183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6188 { echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
6189 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
6191 cat >>confdefs.h <<_ACEOF
6192 #define STACK_DIRECTION $ac_cv_c_stack_direction
6200 for ac_header in stdlib.h unistd.h
6202 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6203 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6204 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6205 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6206 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6207 echo $ECHO_N "(cached
) $ECHO_C" >&6
6209 ac_res=`eval echo '${'$as_ac_Header'}'`
6210 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6211 echo "${ECHO_T}$ac_res" >&6; }
6213 # Is the header compilable?
6214 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
6215 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
6216 cat >conftest.$ac_ext <<_ACEOF
6219 cat confdefs.h >>conftest.$ac_ext
6220 cat >>conftest.$ac_ext <<_ACEOF
6221 /* end confdefs.h. */
6222 $ac_includes_default
6223 #include <$ac_header>
6225 rm -f conftest.$ac_objext
6226 if { (ac_try="$ac_compile"
6228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6229 *) ac_try_echo=$ac_try;;
6231 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6232 (eval "$ac_compile") 2>conftest.er1
6234 grep -v '^ *+' conftest.er1 >conftest.err
6236 cat conftest.err >&5
6237 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6238 (exit $ac_status); } && {
6239 test -z "$ac_c_werror_flag" ||
6240 test ! -s conftest.err
6241 } && test -s conftest.$ac_objext; then
6242 ac_header_compiler=yes
6244 echo "$as_me: failed program was
:" >&5
6245 sed 's/^/| /' conftest.$ac_ext >&5
6247 ac_header_compiler=no
6250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6251 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
6252 echo "${ECHO_T}$ac_header_compiler" >&6; }
6254 # Is the header present?
6255 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
6256 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
6257 cat >conftest.$ac_ext <<_ACEOF
6260 cat confdefs.h >>conftest.$ac_ext
6261 cat >>conftest.$ac_ext <<_ACEOF
6262 /* end confdefs.h. */
6263 #include <$ac_header>
6265 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6268 *) ac_try_echo=$ac_try;;
6270 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6271 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6273 grep -v '^ *+' conftest.er1 >conftest.err
6275 cat conftest.err >&5
6276 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6277 (exit $ac_status); } >/dev/null && {
6278 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6279 test ! -s conftest.err
6281 ac_header_preproc=yes
6283 echo "$as_me: failed program was
:" >&5
6284 sed 's/^/| /' conftest.$ac_ext >&5
6286 ac_header_preproc=no
6289 rm -f conftest.err conftest.$ac_ext
6290 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
6291 echo "${ECHO_T}$ac_header_preproc" >&6; }
6293 # So? What about this header?
6294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6296 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
6297 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
6298 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
6299 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
6300 ac_header_preproc=yes
6303 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
6304 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
6305 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
6306 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
6307 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
6308 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
6309 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
6310 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
6311 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
6312 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
6313 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
6314 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
6316 ## -------------------------------------------------- ##
6317 ## Report this to evilnet-devel@lists.sourceforge.net ##
6318 ## -------------------------------------------------- ##
6320 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
6323 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6324 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6325 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6326 echo $ECHO_N "(cached
) $ECHO_C" >&6
6328 eval "$as_ac_Header=\
$ac_header_preproc"
6330 ac_res=`eval echo '${'$as_ac_Header'}'`
6331 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6332 echo "${ECHO_T}$ac_res" >&6; }
6335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6336 cat >>confdefs.h <<_ACEOF
6337 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6345 for ac_func in getpagesize
6347 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6348 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
6349 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
6350 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6351 echo $ECHO_N "(cached
) $ECHO_C" >&6
6353 cat >conftest.$ac_ext <<_ACEOF
6356 cat confdefs.h >>conftest.$ac_ext
6357 cat >>conftest.$ac_ext <<_ACEOF
6358 /* end confdefs.h. */
6359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6361 #define $ac_func innocuous_$ac_func
6363 /* System header to define __stub macros and hopefully few prototypes,
6364 which can conflict with char $ac_func (); below.
6365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6366 <limits.h> exists even on freestanding compilers. */
6369 # include <limits.h>
6371 # include <assert.h>
6376 /* Override any GCC internal prototype to avoid an error.
6377 Use char because int might match the return type of a GCC
6378 builtin and then its argument prototype would still apply. */
6383 /* The GNU C library defines this for functions which it implements
6384 to always fail with ENOSYS. Some functions are actually named
6385 something starting with __ and the normal name is an alias. */
6386 #if defined __stub_$ac_func || defined __stub___$ac_func
6398 rm -f conftest.$ac_objext conftest$ac_exeext
6399 if { (ac_try="$ac_link"
6401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6402 *) ac_try_echo=$ac_try;;
6404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6405 (eval "$ac_link") 2>conftest.er1
6407 grep -v '^ *+' conftest.er1 >conftest.err
6409 cat conftest.err >&5
6410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6411 (exit $ac_status); } && {
6412 test -z "$ac_c_werror_flag" ||
6413 test ! -s conftest.err
6414 } && test -s conftest$ac_exeext &&
6415 $as_test_x conftest$ac_exeext; then
6416 eval "$as_ac_var=yes"
6418 echo "$as_me: failed program was
:" >&5
6419 sed 's/^/| /' conftest.$ac_ext >&5
6421 eval "$as_ac_var=no
"
6424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6425 conftest$ac_exeext conftest.$ac_ext
6427 ac_res=`eval echo '${'$as_ac_var'}'`
6428 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6429 echo "${ECHO_T}$ac_res" >&6; }
6430 if test `eval echo '${'$as_ac_var'}'` = yes; then
6431 cat >>confdefs.h <<_ACEOF
6432 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
6438 { echo "$as_me:$LINENO: checking
for working mmap
" >&5
6439 echo $ECHO_N "checking
for working mmap...
$ECHO_C" >&6; }
6440 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6441 echo $ECHO_N "(cached
) $ECHO_C" >&6
6443 if test "$cross_compiling" = yes; then
6444 ac_cv_func_mmap_fixed_mapped=no
6446 cat >conftest.$ac_ext <<_ACEOF
6449 cat confdefs.h >>conftest.$ac_ext
6450 cat >>conftest.$ac_ext <<_ACEOF
6451 /* end confdefs.h. */
6452 $ac_includes_default
6453 /* malloc might have been renamed as rpl_malloc. */
6456 /* Thanks to Mike Haertel and Jim Avera for this test.
6457 Here is a matrix of mmap possibilities:
6458 mmap private not fixed
6459 mmap private fixed at somewhere currently unmapped
6460 mmap private fixed at somewhere already mapped
6461 mmap shared not fixed
6462 mmap shared fixed at somewhere currently unmapped
6463 mmap shared fixed at somewhere already mapped
6464 For private mappings, we should verify that changes cannot be read()
6465 back from the file, nor mmap's back from the file at a different
6466 address. (There have been systems where private was not correctly
6467 implemented like the infamous i386 svr4.0, and systems where the
6468 VM page cache was not coherent with the file system buffer cache
6469 like early versions of FreeBSD and possibly contemporary NetBSD.)
6470 For shared mappings, we should conversely verify that changes get
6471 propagated back to all the places they're supposed to be.
6473 Grep wants private fixed already mapped.
6474 The main things grep needs to know about mmap are:
6475 * does it exist and is it safe to write into the mmap'd area
6476 * how to use it (BSD variants) */
6479 #include <sys/mman.h>
6481 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6485 /* This mess was copied from the GNU getpagesize.h. */
6486 #ifndef HAVE_GETPAGESIZE
6487 /* Assume that all systems that can run configure have sys/param.h. */
6488 # ifndef HAVE_SYS_PARAM_H
6489 # define HAVE_SYS_PARAM_H 1
6492 # ifdef _SC_PAGESIZE
6493 # define getpagesize() sysconf(_SC_PAGESIZE)
6494 # else /* no _SC_PAGESIZE */
6495 # ifdef HAVE_SYS_PARAM_H
6496 # include <sys/param.h>
6497 # ifdef EXEC_PAGESIZE
6498 # define getpagesize() EXEC_PAGESIZE
6499 # else /* no EXEC_PAGESIZE */
6501 # define getpagesize() NBPG * CLSIZE
6504 # endif /* no CLSIZE */
6505 # else /* no NBPG */
6507 # define getpagesize() NBPC
6508 # else /* no NBPC */
6510 # define getpagesize() PAGESIZE
6511 # endif /* PAGESIZE */
6512 # endif /* no NBPC */
6513 # endif /* no NBPG */
6514 # endif /* no EXEC_PAGESIZE */
6515 # else /* no HAVE_SYS_PARAM_H */
6516 # define getpagesize() 8192 /* punt totally */
6517 # endif /* no HAVE_SYS_PARAM_H */
6518 # endif /* no _SC_PAGESIZE */
6520 #endif /* no HAVE_GETPAGESIZE */
6525 char *data, *data2, *data3;
6529 pagesize = getpagesize ();
6531 /* First, make a file with some known garbage in it. */
6532 data = (char *) malloc (pagesize);
6535 for (i = 0; i < pagesize; ++i)
6536 *(data + i) = rand ();
6538 fd = creat ("conftest.mmap
", 0600);
6541 if (write (fd, data, pagesize) != pagesize)
6545 /* Next, try to mmap the file at a fixed address which already has
6546 something else allocated at it. If we can, also make sure that
6547 we see the same garbage. */
6548 fd = open ("conftest.mmap
", O_RDWR);
6551 data2 = (char *) malloc (2 * pagesize);
6554 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
6555 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6556 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6558 for (i = 0; i < pagesize; ++i)
6559 if (*(data + i) != *(data2 + i))
6562 /* Finally, make sure that changes to the mapped area do not
6563 percolate back to the file as seen by read(). (This is a bug on
6564 some variants of i386 svr4.0.) */
6565 for (i = 0; i < pagesize; ++i)
6566 *(data2 + i) = *(data2 + i) + 1;
6567 data3 = (char *) malloc (pagesize);
6570 if (read (fd, data3, pagesize) != pagesize)
6572 for (i = 0; i < pagesize; ++i)
6573 if (*(data + i) != *(data3 + i))
6579 rm -f conftest$ac_exeext
6580 if { (ac_try="$ac_link"
6582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6583 *) ac_try_echo=$ac_try;;
6585 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6586 (eval "$ac_link") 2>&5
6588 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6590 { (case "(($ac_try" in
6591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6592 *) ac_try_echo=$ac_try;;
6594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6595 (eval "$ac_try") 2>&5
6597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6598 (exit $ac_status); }; }; then
6599 ac_cv_func_mmap_fixed_mapped=yes
6601 echo "$as_me: program exited with status
$ac_status" >&5
6602 echo "$as_me: failed program was
:" >&5
6603 sed 's/^/| /' conftest.$ac_ext >&5
6606 ac_cv_func_mmap_fixed_mapped=no
6608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6613 { echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
6614 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
6615 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6617 cat >>confdefs.h <<\_ACEOF
6625 { echo "$as_me:$LINENO: checking
for sin_len
" >&5
6626 echo $ECHO_N "checking
for sin_len...
$ECHO_C" >&6; }
6627 if test "${ac_cv_sin_len+set}" = set; then
6628 echo $ECHO_N "(cached
) $ECHO_C" >&6
6630 cat >conftest.$ac_ext <<_ACEOF
6633 cat confdefs.h >>conftest.$ac_ext
6634 cat >>conftest.$ac_ext <<_ACEOF
6635 /* end confdefs.h. */
6636 #include <sys/types.h>
6637 #include <netinet/in.h>
6641 struct sockaddr_in *sin; sin->sin_len = 0;
6646 rm -f conftest.$ac_objext
6647 if { (ac_try="$ac_compile"
6649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6650 *) ac_try_echo=$ac_try;;
6652 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6653 (eval "$ac_compile") 2>conftest.er1
6655 grep -v '^ *+' conftest.er1 >conftest.err
6657 cat conftest.err >&5
6658 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6659 (exit $ac_status); } && {
6660 test -z "$ac_c_werror_flag" ||
6661 test ! -s conftest.err
6662 } && test -s conftest.$ac_objext; then
6665 echo "$as_me: failed program was
:" >&5
6666 sed 's/^/| /' conftest.$ac_ext >&5
6671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6673 { echo "$as_me:$LINENO: result
: $ac_cv_sin_len" >&5
6674 echo "${ECHO_T}$ac_cv_sin_len" >&6; }
6675 if test $ac_cv_sin_len = yes ; then
6677 cat >>confdefs.h <<\_ACEOF
6678 #define HAVE_SIN_LEN 1
6683 { echo "$as_me:$LINENO: checking
for socklen_t
" >&5
6684 echo $ECHO_N "checking
for socklen_t...
$ECHO_C" >&6; }
6685 if test "${ac_cv_type_socklen_t+set}" = set; then
6686 echo $ECHO_N "(cached
) $ECHO_C" >&6
6688 cat >conftest.$ac_ext <<_ACEOF
6691 cat confdefs.h >>conftest.$ac_ext
6692 cat >>conftest.$ac_ext <<_ACEOF
6693 /* end confdefs.h. */
6694 #include <sys/types.h>
6695 #include<sys/socket.h>
6697 typedef socklen_t ac__type_new_;
6701 if ((ac__type_new_ *) 0)
6703 if (sizeof (ac__type_new_))
6709 rm -f conftest.$ac_objext
6710 if { (ac_try="$ac_compile"
6712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6713 *) ac_try_echo=$ac_try;;
6715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6716 (eval "$ac_compile") 2>conftest.er1
6718 grep -v '^ *+' conftest.er1 >conftest.err
6720 cat conftest.err >&5
6721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6722 (exit $ac_status); } && {
6723 test -z "$ac_c_werror_flag" ||
6724 test ! -s conftest.err
6725 } && test -s conftest.$ac_objext; then
6726 ac_cv_type_socklen_t=yes
6728 echo "$as_me: failed program was
:" >&5
6729 sed 's/^/| /' conftest.$ac_ext >&5
6731 ac_cv_type_socklen_t=no
6734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6736 { echo "$as_me:$LINENO: result
: $ac_cv_type_socklen_t" >&5
6737 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
6738 if test $ac_cv_type_socklen_t = yes; then
6742 { echo "$as_me:$LINENO: checking
for socklen_t equivalent
" >&5
6743 echo $ECHO_N "checking
for socklen_t equivalent...
$ECHO_C" >&6; }
6744 if test "${curl_cv_socklen_t_equiv+set}" = set; then
6745 echo $ECHO_N "(cached
) $ECHO_C" >&6
6748 curl_cv_socklen_t_equiv=
6749 for arg2 in "struct sockaddr
" void ; do
6750 for t in int size_t unsigned long "unsigned long
" ; do
6751 cat >conftest.$ac_ext <<_ACEOF
6754 cat confdefs.h >>conftest.$ac_ext
6755 cat >>conftest.$ac_ext <<_ACEOF
6756 /* end confdefs.h. */
6757 #include <sys/types.h>
6758 #include <sys/socket.h>
6759 int getpeername (int $arg2 *, $t *);
6764 getpeername(0, 0, &len);
6769 rm -f conftest.$ac_objext
6770 if { (ac_try="$ac_compile"
6772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6773 *) ac_try_echo=$ac_try;;
6775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6776 (eval "$ac_compile") 2>conftest.er1
6778 grep -v '^ *+' conftest.er1 >conftest.err
6780 cat conftest.err >&5
6781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6782 (exit $ac_status); } && {
6783 test -z "$ac_c_werror_flag" ||
6784 test ! -s conftest.err
6785 } && test -s conftest.$ac_objext; then
6786 curl_cv_socklen_t_equiv="$t"
6789 echo "$as_me: failed program was
:" >&5
6790 sed 's/^/| /' conftest.$ac_ext >&5
6795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6801 { echo "$as_me:$LINENO: result
: $curl_cv_socklen_t_equiv" >&5
6802 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; }
6804 cat >>confdefs.h <<_ACEOF
6805 #define socklen_t $curl_cv_socklen_t_equiv
6812 CFLAGS="$CFLAGS -W -Wall -Werror"
6814 if test "z
$USE_MAINTAINER_MODE" = zyes ; then
6815 CFLAGS="$CFLAGS -ansi"
6818 { echo "$as_me:$LINENO: checking
for inline
" >&5
6819 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
6820 if test "${ac_cv_c_inline+set}" = set; then
6821 echo $ECHO_N "(cached
) $ECHO_C" >&6
6824 for ac_kw in inline __inline__ __inline; do
6825 cat >conftest.$ac_ext <<_ACEOF
6828 cat confdefs.h >>conftest.$ac_ext
6829 cat >>conftest.$ac_ext <<_ACEOF
6830 /* end confdefs.h. */
6833 static $ac_kw foo_t static_foo () {return 0; }
6834 $ac_kw foo_t foo () {return 0; }
6838 rm -f conftest.$ac_objext
6839 if { (ac_try="$ac_compile"
6841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6842 *) ac_try_echo=$ac_try;;
6844 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6845 (eval "$ac_compile") 2>conftest.er1
6847 grep -v '^ *+' conftest.er1 >conftest.err
6849 cat conftest.err >&5
6850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6851 (exit $ac_status); } && {
6852 test -z "$ac_c_werror_flag" ||
6853 test ! -s conftest.err
6854 } && test -s conftest.$ac_objext; then
6855 ac_cv_c_inline=$ac_kw
6857 echo "$as_me: failed program was
:" >&5
6858 sed 's/^/| /' conftest.$ac_ext >&5
6863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6864 test "$ac_cv_c_inline" != no && break
6868 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
6869 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
6872 case $ac_cv_c_inline in
6875 case $ac_cv_c_inline in
6877 *) ac_val=$ac_cv_c_inline;;
6879 cat >>confdefs.h <<_ACEOF
6881 #define inline $ac_val
6888 { echo "$as_me:$LINENO: checking
for time_t format
" >&5
6889 echo $ECHO_N "checking
for time_t format...
$ECHO_C" >&6; }
6890 if test "${ac_cv_fmt_time_t+set}" = set; then
6891 echo $ECHO_N "(cached
) $ECHO_C" >&6
6895 cat >conftest.$ac_ext <<_ACEOF
6896 #include <sys/types.h>
6900 printf("%li
", test);
6903 rm -f conftest.$ac_objext
6904 if { (ac_try="$ac_compile"
6906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6907 *) ac_try_echo=$ac_try;;
6909 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6910 (eval "$ac_compile") 2>conftest.er1
6912 grep -v '^ *+' conftest.er1 >conftest.err
6914 cat conftest.err >&5
6915 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6916 (exit $ac_status); } && {
6917 test -z "$ac_c_werror_flag" ||
6918 test ! -s conftest.err
6919 } && test -s conftest.$ac_objext; then
6920 ac_cv_fmt_time_t="\"%li
\""
6922 echo "$as_me: failed program was
:" >&5
6923 sed 's/^/| /' conftest.$ac_ext >&5
6928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6929 if test $ac_cv_fmt_time_t = no; then
6930 cat >conftest.$ac_ext <<_ACEOF
6931 #include <sys/types.h>
6938 rm -f conftest.$ac_objext
6939 if { (ac_try="$ac_compile"
6941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6942 *) ac_try_echo=$ac_try;;
6944 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6945 (eval "$ac_compile") 2>conftest.er1
6947 grep -v '^ *+' conftest.er1 >conftest.err
6949 cat conftest.err >&5
6950 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6951 (exit $ac_status); } && {
6952 test -z "$ac_c_werror_flag" ||
6953 test ! -s conftest.err
6954 } && test -s conftest.$ac_objext; then
6955 ac_cv_fmt_time_t="\"%i
\""
6957 echo "$as_me: failed program was
:" >&5
6958 sed 's/^/| /' conftest.$ac_ext >&5
6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6965 if test $ac_cv_fmt_time_t = no; then
6966 { { echo "$as_me:$LINENO: error
: Cannot detect format string
for time_t
6967 Please check sys
/types.h
for the typedef of time_t and submit to a developer
" >&5
6968 echo "$as_me: error
: Cannot detect format string
for time_t
6969 Please check sys
/types.h
for the typedef of time_t and submit to a developer
" >&2;}
6970 { (exit 1); exit 1; }; }
6976 cat >>confdefs.h <<_ACEOF
6977 #define FMT_TIME_T $ac_cv_fmt_time_t
6980 { echo "$as_me:$LINENO: result
: $ac_cv_fmt_time_t" >&5
6981 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6; }
6983 { echo "$as_me:$LINENO: checking
for va_copy
" >&5
6984 echo $ECHO_N "checking
for va_copy...
$ECHO_C" >&6; }
6985 if test "${ac_cv_c_va_copy+set}" = set; then
6986 echo $ECHO_N "(cached
) $ECHO_C" >&6
6988 cat >conftest.$ac_ext <<_ACEOF
6991 cat confdefs.h >>conftest.$ac_ext
6992 cat >>conftest.$ac_ext <<_ACEOF
6993 /* end confdefs.h. */
6998 va_list ap1, ap2; va_copy(ap1, ap2);
7003 rm -f conftest.$ac_objext conftest$ac_exeext
7004 if { (ac_try="$ac_link"
7006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7007 *) ac_try_echo=$ac_try;;
7009 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7010 (eval "$ac_link") 2>conftest.er1
7012 grep -v '^ *+' conftest.er1 >conftest.err
7014 cat conftest.err >&5
7015 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7016 (exit $ac_status); } && {
7017 test -z "$ac_c_werror_flag" ||
7018 test ! -s conftest.err
7019 } && test -s conftest$ac_exeext &&
7020 $as_test_x conftest$ac_exeext; then
7021 ac_cv_c_va_copy="yes"
7023 echo "$as_me: failed program was
:" >&5
7024 sed 's/^/| /' conftest.$ac_ext >&5
7026 ac_cv_c_va_copy="no
"
7030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7031 conftest$ac_exeext conftest.$ac_ext
7033 { echo "$as_me:$LINENO: result
: $ac_cv_c_va_copy" >&5
7034 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
7035 if test "$ac_cv_c_va_copy" = "yes" ; then
7037 cat >>confdefs.h <<\_ACEOF
7038 #define HAVE_VA_COPY 1
7043 { echo "$as_me:$LINENO: checking
for __va_copy
" >&5
7044 echo $ECHO_N "checking
for __va_copy...
$ECHO_C" >&6; }
7045 if test "${ac_cv_c___va_copy+set}" = set; then
7046 echo $ECHO_N "(cached
) $ECHO_C" >&6
7048 cat >conftest.$ac_ext <<_ACEOF
7051 cat confdefs.h >>conftest.$ac_ext
7052 cat >>conftest.$ac_ext <<_ACEOF
7053 /* end confdefs.h. */
7058 va_list ap1, ap2; __va_copy(ap1, ap2);
7063 rm -f conftest.$ac_objext conftest$ac_exeext
7064 if { (ac_try="$ac_link"
7066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7067 *) ac_try_echo=$ac_try;;
7069 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7070 (eval "$ac_link") 2>conftest.er1
7072 grep -v '^ *+' conftest.er1 >conftest.err
7074 cat conftest.err >&5
7075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7076 (exit $ac_status); } && {
7077 test -z "$ac_c_werror_flag" ||
7078 test ! -s conftest.err
7079 } && test -s conftest$ac_exeext &&
7080 $as_test_x conftest$ac_exeext; then
7081 ac_cv_c___va_copy="yes"
7083 echo "$as_me: failed program was
:" >&5
7084 sed 's/^/| /' conftest.$ac_ext >&5
7086 ac_cv_c___va_copy="no
"
7090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7091 conftest$ac_exeext conftest.$ac_ext
7093 { echo "$as_me:$LINENO: result
: $ac_cv_c___va_copy" >&5
7094 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
7095 if test "$ac_cv_c___va_copy" = "yes" ; then
7097 cat >>confdefs.h <<\_ACEOF
7098 #define HAVE___VA_COPY 1
7105 { echo "$as_me:$LINENO: checking
which malloc to use
" >&5
7106 echo $ECHO_N "checking
which malloc to use...
$ECHO_C" >&6; }
7108 # Check whether --with-malloc was given.
7109 if test "${with_malloc+set}" = set; then
7110 withval=$with_malloc;
7115 if test "x
$withval" = "xsystem
" ; then
7116 { echo "$as_me:$LINENO: result
: system
" >&5
7117 echo "${ECHO_T}system
" >&6; }
7119 cat >>confdefs.h <<\_ACEOF
7120 #define WITH_MALLOC_SYSTEM 1
7124 elif test "x
$withval" = "xdmalloc
" ; then
7125 { echo "$as_me:$LINENO: result
: dmalloc
" >&5
7126 echo "${ECHO_T}dmalloc
" >&6; }
7128 for ac_header in dmalloc.h
7130 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7131 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7132 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
7133 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
7134 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7135 echo $ECHO_N "(cached
) $ECHO_C" >&6
7137 ac_res=`eval echo '${'$as_ac_Header'}'`
7138 { echo "$as_me:$LINENO: result
: $ac_res" >&5
7139 echo "${ECHO_T}$ac_res" >&6; }
7141 # Is the header compilable?
7142 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7143 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
7144 cat >conftest.$ac_ext <<_ACEOF
7147 cat confdefs.h >>conftest.$ac_ext
7148 cat >>conftest.$ac_ext <<_ACEOF
7149 /* end confdefs.h. */
7150 $ac_includes_default
7151 #include <$ac_header>
7153 rm -f conftest.$ac_objext
7154 if { (ac_try="$ac_compile"
7156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7157 *) ac_try_echo=$ac_try;;
7159 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7160 (eval "$ac_compile") 2>conftest.er1
7162 grep -v '^ *+' conftest.er1 >conftest.err
7164 cat conftest.err >&5
7165 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7166 (exit $ac_status); } && {
7167 test -z "$ac_c_werror_flag" ||
7168 test ! -s conftest.err
7169 } && test -s conftest.$ac_objext; then
7170 ac_header_compiler=yes
7172 echo "$as_me: failed program was
:" >&5
7173 sed 's/^/| /' conftest.$ac_ext >&5
7175 ac_header_compiler=no
7178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7179 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7180 echo "${ECHO_T}$ac_header_compiler" >&6; }
7182 # Is the header present?
7183 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7184 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
7185 cat >conftest.$ac_ext <<_ACEOF
7188 cat confdefs.h >>conftest.$ac_ext
7189 cat >>conftest.$ac_ext <<_ACEOF
7190 /* end confdefs.h. */
7191 #include <$ac_header>
7193 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7196 *) ac_try_echo=$ac_try;;
7198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7199 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7201 grep -v '^ *+' conftest.er1 >conftest.err
7203 cat conftest.err >&5
7204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7205 (exit $ac_status); } >/dev/null && {
7206 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7207 test ! -s conftest.err
7209 ac_header_preproc=yes
7211 echo "$as_me: failed program was
:" >&5
7212 sed 's/^/| /' conftest.$ac_ext >&5
7214 ac_header_preproc=no
7217 rm -f conftest.err conftest.$ac_ext
7218 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7219 echo "${ECHO_T}$ac_header_preproc" >&6; }
7221 # So? What about this header?
7222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7224 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7225 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7226 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7228 ac_header_preproc=yes
7231 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7232 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7233 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7234 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7235 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7236 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7237 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7238 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7239 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7241 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7242 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7244 ## -------------------------------------------------- ##
7245 ## Report this to evilnet-devel@lists.sourceforge.net ##
7246 ## -------------------------------------------------- ##
7248 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
7251 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
7252 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
7253 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7254 echo $ECHO_N "(cached
) $ECHO_C" >&6
7256 eval "$as_ac_Header=\
$ac_header_preproc"
7258 ac_res=`eval echo '${'$as_ac_Header'}'`
7259 { echo "$as_me:$LINENO: result
: $ac_res" >&5
7260 echo "${ECHO_T}$ac_res" >&6; }
7263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7264 cat >>confdefs.h <<_ACEOF
7265 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7269 { { echo "$as_me:$LINENO: error
: dmalloc header
file missing. dmalloc build will fail.
" >&5
7270 echo "$as_me: error
: dmalloc header
file missing. dmalloc build will fail.
" >&2;}
7271 { (exit 1); exit 1; }; }
7277 { echo "$as_me:$LINENO: checking
for malloc
in -ldmalloc" >&5
7278 echo $ECHO_N "checking
for malloc
in -ldmalloc...
$ECHO_C" >&6; }
7279 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
7280 echo $ECHO_N "(cached
) $ECHO_C" >&6
7282 ac_check_lib_save_LIBS=$LIBS
7283 LIBS="-ldmalloc $LIBS"
7284 cat >conftest.$ac_ext <<_ACEOF
7287 cat confdefs.h >>conftest.$ac_ext
7288 cat >>conftest.$ac_ext <<_ACEOF
7289 /* end confdefs.h. */
7291 /* Override any GCC internal prototype to avoid an error.
7292 Use char because int might match the return type of a GCC
7293 builtin and then its argument prototype would still apply. */
7306 rm -f conftest.$ac_objext conftest$ac_exeext
7307 if { (ac_try="$ac_link"
7309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7310 *) ac_try_echo=$ac_try;;
7312 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7313 (eval "$ac_link") 2>conftest.er1
7315 grep -v '^ *+' conftest.er1 >conftest.err
7317 cat conftest.err >&5
7318 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7319 (exit $ac_status); } && {
7320 test -z "$ac_c_werror_flag" ||
7321 test ! -s conftest.err
7322 } && test -s conftest$ac_exeext &&
7323 $as_test_x conftest$ac_exeext; then
7324 ac_cv_lib_dmalloc_malloc=yes
7326 echo "$as_me: failed program was
:" >&5
7327 sed 's/^/| /' conftest.$ac_ext >&5
7329 ac_cv_lib_dmalloc_malloc=no
7332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7333 conftest$ac_exeext conftest.$ac_ext
7334 LIBS=$ac_check_lib_save_LIBS
7336 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dmalloc_malloc" >&5
7337 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6; }
7338 if test $ac_cv_lib_dmalloc_malloc = yes; then
7339 cat >>confdefs.h <<_ACEOF
7340 #define HAVE_LIBDMALLOC 1
7343 LIBS="-ldmalloc $LIBS"
7346 { { echo "$as_me:$LINENO: error
: dmalloc library is missing. dmalloc build will fail.
" >&5
7347 echo "$as_me: error
: dmalloc library is missing. dmalloc build will fail.
" >&2;}
7348 { (exit 1); exit 1; }; }
7352 cat >>confdefs.h <<\_ACEOF
7353 #define WITH_MALLOC_DMALLOC 1
7357 elif test "x
$withval" = "xmpatrol
" ; then
7358 { echo "$as_me:$LINENO: result
: mpatrol
" >&5
7359 echo "${ECHO_T}mpatrol
" >&6; }
7361 for ac_header in mpatrol.h
7363 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7364 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7365 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
7366 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
7367 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7368 echo $ECHO_N "(cached
) $ECHO_C" >&6
7370 ac_res=`eval echo '${'$as_ac_Header'}'`
7371 { echo "$as_me:$LINENO: result
: $ac_res" >&5
7372 echo "${ECHO_T}$ac_res" >&6; }
7374 # Is the header compilable?
7375 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7376 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
7377 cat >conftest.$ac_ext <<_ACEOF
7380 cat confdefs.h >>conftest.$ac_ext
7381 cat >>conftest.$ac_ext <<_ACEOF
7382 /* end confdefs.h. */
7383 $ac_includes_default
7384 #include <$ac_header>
7386 rm -f conftest.$ac_objext
7387 if { (ac_try="$ac_compile"
7389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7390 *) ac_try_echo=$ac_try;;
7392 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7393 (eval "$ac_compile") 2>conftest.er1
7395 grep -v '^ *+' conftest.er1 >conftest.err
7397 cat conftest.err >&5
7398 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7399 (exit $ac_status); } && {
7400 test -z "$ac_c_werror_flag" ||
7401 test ! -s conftest.err
7402 } && test -s conftest.$ac_objext; then
7403 ac_header_compiler=yes
7405 echo "$as_me: failed program was
:" >&5
7406 sed 's/^/| /' conftest.$ac_ext >&5
7408 ac_header_compiler=no
7411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7412 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7413 echo "${ECHO_T}$ac_header_compiler" >&6; }
7415 # Is the header present?
7416 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7417 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
7418 cat >conftest.$ac_ext <<_ACEOF
7421 cat confdefs.h >>conftest.$ac_ext
7422 cat >>conftest.$ac_ext <<_ACEOF
7423 /* end confdefs.h. */
7424 #include <$ac_header>
7426 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7429 *) ac_try_echo=$ac_try;;
7431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7432 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7434 grep -v '^ *+' conftest.er1 >conftest.err
7436 cat conftest.err >&5
7437 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7438 (exit $ac_status); } >/dev/null && {
7439 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7440 test ! -s conftest.err
7442 ac_header_preproc=yes
7444 echo "$as_me: failed program was
:" >&5
7445 sed 's/^/| /' conftest.$ac_ext >&5
7447 ac_header_preproc=no
7450 rm -f conftest.err conftest.$ac_ext
7451 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7452 echo "${ECHO_T}$ac_header_preproc" >&6; }
7454 # So? What about this header?
7455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7457 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7458 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7459 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7461 ac_header_preproc=yes
7464 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7465 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7466 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7467 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7468 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7469 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7470 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7471 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7472 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7474 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7475 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7477 ## -------------------------------------------------- ##
7478 ## Report this to evilnet-devel@lists.sourceforge.net ##
7479 ## -------------------------------------------------- ##
7481 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
7484 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
7485 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
7486 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7487 echo $ECHO_N "(cached
) $ECHO_C" >&6
7489 eval "$as_ac_Header=\
$ac_header_preproc"
7491 ac_res=`eval echo '${'$as_ac_Header'}'`
7492 { echo "$as_me:$LINENO: result
: $ac_res" >&5
7493 echo "${ECHO_T}$ac_res" >&6; }
7496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7497 cat >>confdefs.h <<_ACEOF
7498 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7502 { { echo "$as_me:$LINENO: error
: mpatrol header
file missing. mpatrol build will fail.
" >&5
7503 echo "$as_me: error
: mpatrol header
file missing. mpatrol build will fail.
" >&2;}
7504 { (exit 1); exit 1; }; }
7510 { echo "$as_me:$LINENO: checking
for elf_begin
in -lelf" >&5
7511 echo $ECHO_N "checking
for elf_begin
in -lelf...
$ECHO_C" >&6; }
7512 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
7513 echo $ECHO_N "(cached
) $ECHO_C" >&6
7515 ac_check_lib_save_LIBS=$LIBS
7517 cat >conftest.$ac_ext <<_ACEOF
7520 cat confdefs.h >>conftest.$ac_ext
7521 cat >>conftest.$ac_ext <<_ACEOF
7522 /* end confdefs.h. */
7524 /* Override any GCC internal prototype to avoid an error.
7525 Use char because int might match the return type of a GCC
7526 builtin and then its argument prototype would still apply. */
7534 return elf_begin ();
7539 rm -f conftest.$ac_objext conftest$ac_exeext
7540 if { (ac_try="$ac_link"
7542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7543 *) ac_try_echo=$ac_try;;
7545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7546 (eval "$ac_link") 2>conftest.er1
7548 grep -v '^ *+' conftest.er1 >conftest.err
7550 cat conftest.err >&5
7551 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7552 (exit $ac_status); } && {
7553 test -z "$ac_c_werror_flag" ||
7554 test ! -s conftest.err
7555 } && test -s conftest$ac_exeext &&
7556 $as_test_x conftest$ac_exeext; then
7557 ac_cv_lib_elf_elf_begin=yes
7559 echo "$as_me: failed program was
:" >&5
7560 sed 's/^/| /' conftest.$ac_ext >&5
7562 ac_cv_lib_elf_elf_begin=no
7565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7566 conftest$ac_exeext conftest.$ac_ext
7567 LIBS=$ac_check_lib_save_LIBS
7569 { echo "$as_me:$LINENO: result
: $ac_cv_lib_elf_elf_begin" >&5
7570 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
7571 if test $ac_cv_lib_elf_elf_begin = yes; then
7572 cat >>confdefs.h <<_ACEOF
7573 #define HAVE_LIBELF 1
7581 { echo "$as_me:$LINENO: checking
for __mp_atexit
in -lmpatrol" >&5
7582 echo $ECHO_N "checking
for __mp_atexit
in -lmpatrol...
$ECHO_C" >&6; }
7583 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
7584 echo $ECHO_N "(cached
) $ECHO_C" >&6
7586 ac_check_lib_save_LIBS=$LIBS
7587 LIBS="-lmpatrol $LIBS"
7588 cat >conftest.$ac_ext <<_ACEOF
7591 cat confdefs.h >>conftest.$ac_ext
7592 cat >>conftest.$ac_ext <<_ACEOF
7593 /* end confdefs.h. */
7595 /* Override any GCC internal prototype to avoid an error.
7596 Use char because int might match the return type of a GCC
7597 builtin and then its argument prototype would still apply. */
7601 char __mp_atexit ();
7605 return __mp_atexit ();
7610 rm -f conftest.$ac_objext conftest$ac_exeext
7611 if { (ac_try="$ac_link"
7613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7614 *) ac_try_echo=$ac_try;;
7616 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7617 (eval "$ac_link") 2>conftest.er1
7619 grep -v '^ *+' conftest.er1 >conftest.err
7621 cat conftest.err >&5
7622 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7623 (exit $ac_status); } && {
7624 test -z "$ac_c_werror_flag" ||
7625 test ! -s conftest.err
7626 } && test -s conftest$ac_exeext &&
7627 $as_test_x conftest$ac_exeext; then
7628 ac_cv_lib_mpatrol___mp_atexit=yes
7630 echo "$as_me: failed program was
:" >&5
7631 sed 's/^/| /' conftest.$ac_ext >&5
7633 ac_cv_lib_mpatrol___mp_atexit=no
7636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7637 conftest$ac_exeext conftest.$ac_ext
7638 LIBS=$ac_check_lib_save_LIBS
7640 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mpatrol___mp_atexit" >&5
7641 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6; }
7642 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
7643 cat >>confdefs.h <<_ACEOF
7644 #define HAVE_LIBMPATROL 1
7647 LIBS="-lmpatrol $LIBS"
7650 { { echo "$as_me:$LINENO: error
: mpatrol library is missing completely. mpatrol build will fail.
" >&5
7651 echo "$as_me: error
: mpatrol library is missing completely. mpatrol build will fail.
" >&2;}
7652 { (exit 1); exit 1; }; }
7656 cat >>confdefs.h <<\_ACEOF
7657 #define WITH_MALLOC_MPATROL 1
7661 elif test "x
$withval" = "xboehm
-gc" ; then
7662 { echo "$as_me:$LINENO: result
: boehm
-gc" >&5
7663 echo "${ECHO_T}boehm
-gc" >&6; }
7665 for ac_header in gc/gc.h
7667 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7668 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7669 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
7670 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
7671 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7672 echo $ECHO_N "(cached
) $ECHO_C" >&6
7674 ac_res=`eval echo '${'$as_ac_Header'}'`
7675 { echo "$as_me:$LINENO: result
: $ac_res" >&5
7676 echo "${ECHO_T}$ac_res" >&6; }
7678 # Is the header compilable?
7679 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7680 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
7681 cat >conftest.$ac_ext <<_ACEOF
7684 cat confdefs.h >>conftest.$ac_ext
7685 cat >>conftest.$ac_ext <<_ACEOF
7686 /* end confdefs.h. */
7687 $ac_includes_default
7688 #include <$ac_header>
7690 rm -f conftest.$ac_objext
7691 if { (ac_try="$ac_compile"
7693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7694 *) ac_try_echo=$ac_try;;
7696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7697 (eval "$ac_compile") 2>conftest.er1
7699 grep -v '^ *+' conftest.er1 >conftest.err
7701 cat conftest.err >&5
7702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7703 (exit $ac_status); } && {
7704 test -z "$ac_c_werror_flag" ||
7705 test ! -s conftest.err
7706 } && test -s conftest.$ac_objext; then
7707 ac_header_compiler=yes
7709 echo "$as_me: failed program was
:" >&5
7710 sed 's/^/| /' conftest.$ac_ext >&5
7712 ac_header_compiler=no
7715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7716 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7717 echo "${ECHO_T}$ac_header_compiler" >&6; }
7719 # Is the header present?
7720 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7721 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
7722 cat >conftest.$ac_ext <<_ACEOF
7725 cat confdefs.h >>conftest.$ac_ext
7726 cat >>conftest.$ac_ext <<_ACEOF
7727 /* end confdefs.h. */
7728 #include <$ac_header>
7730 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7733 *) ac_try_echo=$ac_try;;
7735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7736 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7738 grep -v '^ *+' conftest.er1 >conftest.err
7740 cat conftest.err >&5
7741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7742 (exit $ac_status); } >/dev/null && {
7743 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7744 test ! -s conftest.err
7746 ac_header_preproc=yes
7748 echo "$as_me: failed program was
:" >&5
7749 sed 's/^/| /' conftest.$ac_ext >&5
7751 ac_header_preproc=no
7754 rm -f conftest.err conftest.$ac_ext
7755 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7756 echo "${ECHO_T}$ac_header_preproc" >&6; }
7758 # So? What about this header?
7759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7761 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7762 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7763 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7764 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7765 ac_header_preproc=yes
7768 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7769 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7770 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7771 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7772 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7773 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7774 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7775 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7776 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7778 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7779 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7781 ## -------------------------------------------------- ##
7782 ## Report this to evilnet-devel@lists.sourceforge.net ##
7783 ## -------------------------------------------------- ##
7785 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
7788 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
7789 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
7790 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7791 echo $ECHO_N "(cached
) $ECHO_C" >&6
7793 eval "$as_ac_Header=\
$ac_header_preproc"
7795 ac_res=`eval echo '${'$as_ac_Header'}'`
7796 { echo "$as_me:$LINENO: result
: $ac_res" >&5
7797 echo "${ECHO_T}$ac_res" >&6; }
7800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7801 cat >>confdefs.h <<_ACEOF
7802 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7806 { { echo "$as_me:$LINENO: error
: Boehm GC header
file missing. boehm
-gc build will fail.
" >&5
7807 echo "$as_me: error
: Boehm GC header
file missing. boehm
-gc build will fail.
" >&2;}
7808 { (exit 1); exit 1; }; }
7814 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
7815 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
7816 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7817 echo $ECHO_N "(cached
) $ECHO_C" >&6
7819 ac_check_lib_save_LIBS=$LIBS
7821 cat >conftest.$ac_ext <<_ACEOF
7824 cat confdefs.h >>conftest.$ac_ext
7825 cat >>conftest.$ac_ext <<_ACEOF
7826 /* end confdefs.h. */
7828 /* Override any GCC internal prototype to avoid an error.
7829 Use char because int might match the return type of a GCC
7830 builtin and then its argument prototype would still apply. */
7843 rm -f conftest.$ac_objext conftest$ac_exeext
7844 if { (ac_try="$ac_link"
7846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7847 *) ac_try_echo=$ac_try;;
7849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7850 (eval "$ac_link") 2>conftest.er1
7852 grep -v '^ *+' conftest.er1 >conftest.err
7854 cat conftest.err >&5
7855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7856 (exit $ac_status); } && {
7857 test -z "$ac_c_werror_flag" ||
7858 test ! -s conftest.err
7859 } && test -s conftest$ac_exeext &&
7860 $as_test_x conftest$ac_exeext; then
7861 ac_cv_lib_dl_dlopen=yes
7863 echo "$as_me: failed program was
:" >&5
7864 sed 's/^/| /' conftest.$ac_ext >&5
7866 ac_cv_lib_dl_dlopen=no
7869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7870 conftest$ac_exeext conftest.$ac_ext
7871 LIBS=$ac_check_lib_save_LIBS
7873 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
7874 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
7875 if test $ac_cv_lib_dl_dlopen = yes; then
7876 cat >>confdefs.h <<_ACEOF
7877 #define HAVE_LIBDL 1
7883 { { echo "$as_me:$LINENO: error
: libdl library is missing. boehm
-gc build will fail.
" >&5
7884 echo "$as_me: error
: libdl library is missing. boehm
-gc build will fail.
" >&2;}
7885 { (exit 1); exit 1; }; }
7889 { echo "$as_me:$LINENO: checking
for GC_gcollect
in -lgc" >&5
7890 echo $ECHO_N "checking
for GC_gcollect
in -lgc...
$ECHO_C" >&6; }
7891 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
7892 echo $ECHO_N "(cached
) $ECHO_C" >&6
7894 ac_check_lib_save_LIBS=$LIBS
7896 cat >conftest.$ac_ext <<_ACEOF
7899 cat confdefs.h >>conftest.$ac_ext
7900 cat >>conftest.$ac_ext <<_ACEOF
7901 /* end confdefs.h. */
7903 /* Override any GCC internal prototype to avoid an error.
7904 Use char because int might match the return type of a GCC
7905 builtin and then its argument prototype would still apply. */
7909 char GC_gcollect ();
7913 return GC_gcollect ();
7918 rm -f conftest.$ac_objext conftest$ac_exeext
7919 if { (ac_try="$ac_link"
7921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7922 *) ac_try_echo=$ac_try;;
7924 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7925 (eval "$ac_link") 2>conftest.er1
7927 grep -v '^ *+' conftest.er1 >conftest.err
7929 cat conftest.err >&5
7930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7931 (exit $ac_status); } && {
7932 test -z "$ac_c_werror_flag" ||
7933 test ! -s conftest.err
7934 } && test -s conftest$ac_exeext &&
7935 $as_test_x conftest$ac_exeext; then
7936 ac_cv_lib_gc_GC_gcollect=yes
7938 echo "$as_me: failed program was
:" >&5
7939 sed 's/^/| /' conftest.$ac_ext >&5
7941 ac_cv_lib_gc_GC_gcollect=no
7944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7945 conftest$ac_exeext conftest.$ac_ext
7946 LIBS=$ac_check_lib_save_LIBS
7948 { echo "$as_me:$LINENO: result
: $ac_cv_lib_gc_GC_gcollect" >&5
7949 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6; }
7950 if test $ac_cv_lib_gc_GC_gcollect = yes; then
7951 cat >>confdefs.h <<_ACEOF
7952 #define HAVE_LIBGC 1
7958 { { echo "$as_me:$LINENO: error
: Boehm GC library is missing. boehm
-gc build will fail.
" >&5
7959 echo "$as_me: error
: Boehm GC library is missing. boehm
-gc build will fail.
" >&2;}
7960 { (exit 1); exit 1; }; }
7964 cat >>confdefs.h <<\_ACEOF
7965 #define WITH_MALLOC_BOEHM_GC 1
7969 elif test "x
$withval" = "xx3
" ; then
7970 { echo "$as_me:$LINENO: result
: x3
" >&5
7971 echo "${ECHO_T}x3
" >&6; }
7973 cat >>confdefs.h <<\_ACEOF
7974 #define WITH_MALLOC_X3 1
7977 MODULE_OBJS="$MODULE_OBJS alloc
-x3.\
$(OBJEXT)"
7979 elif test "x
$withval" = "xslab
" ; then
7980 { echo "$as_me:$LINENO: result
: slab
" >&5
7981 echo "${ECHO_T}slab
" >&6; }
7983 cat >>confdefs.h <<\_ACEOF
7984 #define WITH_MALLOC_SLAB 1
7987 MODULE_OBJS="$MODULE_OBJS alloc
-slab.\
$(OBJEXT)"
7990 { { echo "$as_me:$LINENO: error
: Unknown malloc
type $withval" >&5
7991 echo "$as_me: error
: Unknown malloc
type $withval" >&2;}
7992 { (exit 1); exit 1; }; }
7995 { echo "$as_me:$LINENO: checking
which protocol to use
" >&5
7996 echo $ECHO_N "checking
which protocol to use...
$ECHO_C" >&6; }
7998 # Check whether --with-protocol was given.
7999 if test "${with_protocol+set}" = set; then
8000 withval=$with_protocol;
8005 if test "x
$withval" = "xp10
" ; then
8006 { echo "$as_me:$LINENO: result
: P10
" >&5
8007 echo "${ECHO_T}P10
" >&6; }
8009 cat >>confdefs.h <<\_ACEOF
8010 #define WITH_PROTOCOL_P10 1
8013 MODULE_OBJS="$MODULE_OBJS proto
-p10.\
$(OBJEXT)"
8014 PROTO_FILES=proto-p10.c
8017 { { echo "$as_me:$LINENO: error
: Unknown IRC dialect
$withval" >&5
8018 echo "$as_me: error
: Unknown IRC dialect
$withval" >&2;}
8019 { (exit 1); exit 1; }; }
8022 { echo "$as_me:$LINENO: checking how to send
mail" >&5
8023 echo $ECHO_N "checking how to send
mail...
$ECHO_C" >&6; }
8025 # Check whether --with-mail was given.
8026 if test "${with_mail+set}" = set; then
8032 if test -r "${srcdir}/src
/mail-${withval}.c
" ; then
8033 { echo "$as_me:$LINENO: result
: $withval" >&5
8034 echo "${ECHO_T}$withval" >&6; }
8035 MODULE_OBJS="$MODULE_OBJS mail-${withval}.\
$(OBJEXT)"
8037 { { echo "$as_me:$LINENO: error
: Unknown
mail method
$withval" >&5
8038 echo "$as_me: error
: Unknown
mail method
$withval" >&2;}
8039 { (exit 1); exit 1; }; }
8042 { echo "$as_me:$LINENO: checking I
/O multiplexing backends
" >&5
8043 echo $ECHO_N "checking I
/O multiplexing backends...
$ECHO_C" >&6; }
8046 if test "x
$ac_cv_func_select" = xyes ; then
8048 cat >>confdefs.h <<\_ACEOF
8049 #define WITH_IOSET_SELECT 1
8052 MODULE_OBJS="$MODULE_OBJS ioset
-select.\
$(OBJEXT)"
8053 IOMUXES="$IOMUXES select"
8057 # Check whether --with-epoll was given.
8058 if test "${with_epoll+set}" = set; then
8059 withval=$with_epoll;
8061 withval="$ac_cv_func_epoll_create"
8064 if test "x
$withval" = xyes ; then
8066 cat >>confdefs.h <<\_ACEOF
8067 #define WITH_IOSET_EPOLL 1
8070 MODULE_OBJS="$MODULE_OBJS ioset
-epoll.\
$(OBJEXT)"
8071 IOMUXES="$IOMUXES epoll
"
8075 # Check whether --with-kevent was given.
8076 if test "${with_kevent+set}" = set; then
8077 withval=$with_kevent;
8079 withval="$ac_cv_func_kevent"
8082 if test "x
$withval" = xyes ; then
8084 cat >>confdefs.h <<\_ACEOF
8085 #define WITH_IOSET_KEVENT 1
8088 MODULE_OBJS="$MODULE_OBJS ioset
-kevent.\
$(OBJEXT)"
8089 IOMUXES="$IOMUXES kevent
"
8092 IOMUXES=`echo $IOMUXES | sed 's/^ +//'`
8093 { echo "$as_me:$LINENO: result
: $IOMUXES" >&5
8094 echo "${ECHO_T}$IOMUXES" >&6; }
8095 if test "x
$IOMUXES" = "x
" ; then
8096 { { echo "$as_me:$LINENO: error
: No supported I
/O multiplexing backend found
" >&5
8097 echo "$as_me: error
: No supported I
/O multiplexing backend found
" >&2;}
8098 { (exit 1); exit 1; }; }
8100 { echo "$as_me:$LINENO: result
: $IOMUXES" >&5
8101 echo "${ECHO_T}$IOMUXES" >&6; }
8105 # Check whether --with-getopt was given.
8106 if test "${with_getopt+set}" = set; then
8107 withval=$with_getopt; if test "$withval" = no; then
8109 cat >>confdefs.h <<\_ACEOF
8110 #define IGNORE_GETOPT 1
8117 { echo "$as_me:$LINENO: checking whether to
enable tokenization
" >&5
8118 echo $ECHO_N "checking whether to
enable tokenization...
$ECHO_C" >&6; }
8119 # Check whether --enable-tokens was given.
8120 if test "${enable_tokens+set}" = set; then
8121 enableval=$enable_tokens;
8126 if test "z
$enableval" = zno ; then
8127 { echo "$as_me:$LINENO: result
: no
" >&5
8128 echo "${ECHO_T}no
" >&6; }
8131 cat >>confdefs.h <<\_ACEOF
8132 #define ENABLE_TOKENS 1
8135 { echo "$as_me:$LINENO: result
: yes" >&5
8136 echo "${ECHO_T}yes" >&6; }
8139 { echo "$as_me:$LINENO: checking whether to
enable debug behaviors
" >&5
8140 echo $ECHO_N "checking whether to
enable debug behaviors...
$ECHO_C" >&6; }
8141 # Check whether --enable-debug was given.
8142 if test "${enable_debug+set}" = set; then
8143 enableval=$enable_debug;
8144 CPPFLAGS="$CPPFLAGS"
8145 { echo "$as_me:$LINENO: result
: yes" >&5
8146 echo "${ECHO_T}yes" >&6; }
8151 CPPFLAGS="$CPPFLAGS -DNDEBUG"
8152 { echo "$as_me:$LINENO: result
: no
" >&5
8153 echo "${ECHO_T}no
" >&6; }
8159 if test -e src ; then
8160 if test ! -d src ; then
8161 { { echo "$as_me:$LINENO: error
: src exists but is not a directory
; please move it out of the way.
" >&5
8162 echo "$as_me: error
: src exists but is not a directory
; please move it out of the way.
" >&2;}
8163 { (exit 1); exit 1; }; }
8168 { echo "$as_me:$LINENO: checking
for extra module files
" >&5
8169 echo $ECHO_N "checking
for extra module files...
$ECHO_C" >&6; }
8170 MODULE_DEFINES="src
/modules
-list.h
"
8171 echo > $MODULE_DEFINES
8172 touch $MODULE_DEFINES
8173 # Check whether --enable-modules was given.
8174 if test "${enable_modules+set}" = set; then
8175 enableval=$enable_modules;
8178 EXTRA_MODULE_OBJS=""
8180 for module in $enableval ; do
8181 module=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
8182 EXTRA_MODULE_OBJS="$EXTRA_MODULE_OBJS mod
-$module.\
$(OBJEXT)"
8183 module_list="$module_list $module"
8184 echo "WITH_MODULE
($module)" >> $MODULE_DEFINES
8185 if test "x
$module" = "xtrack
" ; then
8186 TRACK="-D HAVE_TRACK
"
8188 cat >>confdefs.h <<\_ACEOF
8189 #define HAVE_TRACK 1
8193 if test "x
$module" = "xhelpserv
" ; then
8194 TRACK="-D HAVE_HELPSERV
"
8196 cat >>confdefs.h <<\_ACEOF
8197 #define HAVE_HELPSERV 1
8203 MODULE_OBJS="$MODULE_OBJS $EXTRA_MODULE_OBJS"
8204 { echo "$as_me:$LINENO: result
: $module_list" >&5
8205 echo "${ECHO_T}$module_list" >&6; }
8209 { echo "$as_me:$LINENO: result
: none
" >&5
8210 echo "${ECHO_T}none
" >&6; }
8215 # Check whether --enable-python was given.
8216 if test "${enable_python+set}" = set; then
8217 enableval=$enable_python; python=$enableval
8227 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no; then
8228 MY_SUBDIRS="rx
$MY_SUBDIRS"
8229 RX_INCLUDES="-I..
/rx
"
8230 RX_LIBS="..
/rx
/librx.a
"
8232 MY_SUBDIRS="$MY_SUBDIRS src
"
8233 CFLAGS="$CFLAGS $ANSI_SRC -W -Wall"
8234 if test "z
$USE_MAINTAINER_MODE" = zyes ; then
8235 CFLAGS="$CFLAGS -Werror"
8242 # Check whether --with-tre was given.
8243 if test "${with_tre+set}" = set; then
8247 if test "x
$withval" != "x
"; then
8248 { echo "$as_me:$LINENO: result
: Using include dir
$withval to
find libtre
" >&5
8249 echo "${ECHO_T}Using include dir
$withval to
find libtre
" >&6; }
8250 CPPFLAGS="$CPPFLAGS -I$withval/include
-L$withval/lib
"
8251 LIBS="$LIBS -L$withval/lib
"
8253 { echo "$as_me:$LINENO: result
: Looking
for tre
in system and home
dirs (${HOME})...
" >&5
8254 echo "${ECHO_T}Looking
for tre
in system and home
dirs (${HOME})...
" >&6; }
8255 CPPFLAGS="$CPPFLAGS -I${HOME}/include
-L${HOME}/lib
"
8256 LIBS="$LIBS -L${HOME}/lib
"
8258 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8259 { echo "$as_me:$LINENO: checking
for tre
/regex.h
" >&5
8260 echo $ECHO_N "checking
for tre
/regex.h...
$ECHO_C" >&6; }
8261 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8262 echo $ECHO_N "(cached
) $ECHO_C" >&6
8264 { echo "$as_me:$LINENO: result
: $ac_cv_header_tre_regex_h" >&5
8265 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
8267 # Is the header compilable?
8268 { echo "$as_me:$LINENO: checking tre
/regex.h usability
" >&5
8269 echo $ECHO_N "checking tre
/regex.h usability...
$ECHO_C" >&6; }
8270 cat >conftest.$ac_ext <<_ACEOF
8273 cat confdefs.h >>conftest.$ac_ext
8274 cat >>conftest.$ac_ext <<_ACEOF
8275 /* end confdefs.h. */
8276 $ac_includes_default
8277 #include <tre/regex.h>
8279 rm -f conftest.$ac_objext
8280 if { (ac_try="$ac_compile"
8282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8283 *) ac_try_echo=$ac_try;;
8285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8286 (eval "$ac_compile") 2>conftest.er1
8288 grep -v '^ *+' conftest.er1 >conftest.err
8290 cat conftest.err >&5
8291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8292 (exit $ac_status); } && {
8293 test -z "$ac_c_werror_flag" ||
8294 test ! -s conftest.err
8295 } && test -s conftest.$ac_objext; then
8296 ac_header_compiler=yes
8298 echo "$as_me: failed program was
:" >&5
8299 sed 's/^/| /' conftest.$ac_ext >&5
8301 ac_header_compiler=no
8304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8305 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8306 echo "${ECHO_T}$ac_header_compiler" >&6; }
8308 # Is the header present?
8309 { echo "$as_me:$LINENO: checking tre
/regex.h presence
" >&5
8310 echo $ECHO_N "checking tre
/regex.h presence...
$ECHO_C" >&6; }
8311 cat >conftest.$ac_ext <<_ACEOF
8314 cat confdefs.h >>conftest.$ac_ext
8315 cat >>conftest.$ac_ext <<_ACEOF
8316 /* end confdefs.h. */
8317 #include <tre/regex.h>
8319 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8322 *) ac_try_echo=$ac_try;;
8324 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8325 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8327 grep -v '^ *+' conftest.er1 >conftest.err
8329 cat conftest.err >&5
8330 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8331 (exit $ac_status); } >/dev/null && {
8332 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8333 test ! -s conftest.err
8335 ac_header_preproc=yes
8337 echo "$as_me: failed program was
:" >&5
8338 sed 's/^/| /' conftest.$ac_ext >&5
8340 ac_header_preproc=no
8343 rm -f conftest.err conftest.$ac_ext
8344 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8345 echo "${ECHO_T}$ac_header_preproc" >&6; }
8347 # So? What about this header?
8348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8350 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
8351 echo "$as_me: WARNING
: tre
/regex.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8352 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: proceeding with the compiler
's result" >&5
8353 echo "$as_me: WARNING: tre/regex.h: proceeding with the compiler's result
" >&2;}
8354 ac_header_preproc=yes
8357 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: present but cannot be compiled
" >&5
8358 echo "$as_me: WARNING
: tre
/regex.h
: present but cannot be compiled
" >&2;}
8359 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: check
for missing prerequisite headers?
" >&5
8360 echo "$as_me: WARNING
: tre
/regex.h
: check
for missing prerequisite headers?
" >&2;}
8361 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: see the Autoconf documentation
" >&5
8362 echo "$as_me: WARNING
: tre
/regex.h
: see the Autoconf documentation
" >&2;}
8363 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: section
\"Present But Cannot Be Compiled
\"" >&5
8364 echo "$as_me: WARNING
: tre
/regex.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
8365 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: proceeding with the preprocessor
's result" >&5
8366 echo "$as_me: WARNING: tre/regex.h: proceeding with the preprocessor's result
" >&2;}
8367 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: in the future
, the compiler will take precedence
" >&5
8368 echo "$as_me: WARNING
: tre
/regex.h
: in the future
, the compiler will take precedence
" >&2;}
8370 ## -------------------------------------------------- ##
8371 ## Report this to evilnet-devel@lists.sourceforge.net ##
8372 ## -------------------------------------------------- ##
8374 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8377 { echo "$as_me:$LINENO: checking
for tre
/regex.h
" >&5
8378 echo $ECHO_N "checking
for tre
/regex.h...
$ECHO_C" >&6; }
8379 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8380 echo $ECHO_N "(cached
) $ECHO_C" >&6
8382 ac_cv_header_tre_regex_h=$ac_header_preproc
8384 { echo "$as_me:$LINENO: result
: $ac_cv_header_tre_regex_h" >&5
8385 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
8388 if test $ac_cv_header_tre_regex_h = yes; then
8391 { { echo "$as_me:$LINENO: error
: tre
/regex.h
, the TRE regex headers
, were not found. Install tre or use
--with-tre=PATH to tell me how to
find it
, where PATH
/include
/tre
/regex.h exists. For convenience
, just
type 'tools/tre_install.sh' now
, to
install tre
in your home directory.
" >&5
8392 echo "$as_me: error
: tre
/regex.h
, the TRE regex headers
, were not found. Install tre or use
--with-tre=PATH to tell me how to
find it
, where PATH
/include
/tre
/regex.h exists. For convenience
, just
type 'tools/tre_install.sh' now
, to
install tre
in your home directory.
" >&2;}
8393 { (exit 1); exit 1; }; }
8398 { echo "$as_me:$LINENO: checking
for regexec
in -ltre" >&5
8399 echo $ECHO_N "checking
for regexec
in -ltre...
$ECHO_C" >&6; }
8400 if test "${ac_cv_lib_tre_regexec+set}" = set; then
8401 echo $ECHO_N "(cached
) $ECHO_C" >&6
8403 ac_check_lib_save_LIBS=$LIBS
8405 cat >conftest.$ac_ext <<_ACEOF
8408 cat confdefs.h >>conftest.$ac_ext
8409 cat >>conftest.$ac_ext <<_ACEOF
8410 /* end confdefs.h. */
8412 /* Override any GCC internal prototype to avoid an error.
8413 Use char because int might match the return type of a GCC
8414 builtin and then its argument prototype would still apply. */
8427 rm -f conftest.$ac_objext conftest$ac_exeext
8428 if { (ac_try="$ac_link"
8430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8431 *) ac_try_echo=$ac_try;;
8433 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8434 (eval "$ac_link") 2>conftest.er1
8436 grep -v '^ *+' conftest.er1 >conftest.err
8438 cat conftest.err >&5
8439 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8440 (exit $ac_status); } && {
8441 test -z "$ac_c_werror_flag" ||
8442 test ! -s conftest.err
8443 } && test -s conftest$ac_exeext &&
8444 $as_test_x conftest$ac_exeext; then
8445 ac_cv_lib_tre_regexec=yes
8447 echo "$as_me: failed program was
:" >&5
8448 sed 's/^/| /' conftest.$ac_ext >&5
8450 ac_cv_lib_tre_regexec=no
8453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8454 conftest$ac_exeext conftest.$ac_ext
8455 LIBS=$ac_check_lib_save_LIBS
8457 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tre_regexec" >&5
8458 echo "${ECHO_T}$ac_cv_lib_tre_regexec" >&6; }
8459 if test $ac_cv_lib_tre_regexec = yes; then
8460 cat >>confdefs.h <<_ACEOF
8461 #define HAVE_LIBTRE 1
8467 { { echo "$as_me:$LINENO: error
: TRE regex library not found. Install tre
, or use
--with-tre=PATH to tell me how to
find it
, where PATH
/lib
/libtre.so exists. For convenience
, just
type 'tools/tre_install.sh' now
, to
install tre
in your home directory.
" >&5
8468 echo "$as_me: error
: TRE regex library not found. Install tre
, or use
--with-tre=PATH to tell me how to
find it
, where PATH
/lib
/libtre.so exists. For convenience
, just
type 'tools/tre_install.sh' now
, to
install tre
in your home directory.
" >&2;}
8469 { (exit 1); exit 1; }; }
8476 # Check whether --with-coredumper was given.
8477 if test "${with_coredumper+set}" = set; then
8478 withval=$with_coredumper;
8481 if test "x
$withval" != "x
"; then
8482 { echo "$as_me:$LINENO: result
: Using include dir
$withval to
find coredumper
" >&5
8483 echo "${ECHO_T}Using include dir
$withval to
find coredumper
" >&6; }
8484 CPPFLAGS="$CPPFLAGS -I$withval/include
-L$withval/lib
"
8485 LIBS="$LIBS -L$withval/lib
"
8487 { echo "$as_me:$LINENO: result
: Looking
for coredumper
in system and home
dirs (${HOME})...
" >&5
8488 echo "${ECHO_T}Looking
for coredumper
in system and home
dirs (${HOME})...
" >&6; }
8489 CPPFLAGS="$CPPFLAGS -I${HOME}/include
-L${HOME}/lib
"
8490 LIBS="$LIBS -Wl,--rpath -Wl,${HOME}/lib
"
8492 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
8493 { echo "$as_me:$LINENO: checking
for google
/coredumper.h
" >&5
8494 echo $ECHO_N "checking
for google
/coredumper.h...
$ECHO_C" >&6; }
8495 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
8496 echo $ECHO_N "(cached
) $ECHO_C" >&6
8498 { echo "$as_me:$LINENO: result
: $ac_cv_header_google_coredumper_h" >&5
8499 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
8501 # Is the header compilable?
8502 { echo "$as_me:$LINENO: checking google
/coredumper.h usability
" >&5
8503 echo $ECHO_N "checking google
/coredumper.h usability...
$ECHO_C" >&6; }
8504 cat >conftest.$ac_ext <<_ACEOF
8507 cat confdefs.h >>conftest.$ac_ext
8508 cat >>conftest.$ac_ext <<_ACEOF
8509 /* end confdefs.h. */
8510 $ac_includes_default
8511 #include <google/coredumper.h>
8513 rm -f conftest.$ac_objext
8514 if { (ac_try="$ac_compile"
8516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8517 *) ac_try_echo=$ac_try;;
8519 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8520 (eval "$ac_compile") 2>conftest.er1
8522 grep -v '^ *+' conftest.er1 >conftest.err
8524 cat conftest.err >&5
8525 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8526 (exit $ac_status); } && {
8527 test -z "$ac_c_werror_flag" ||
8528 test ! -s conftest.err
8529 } && test -s conftest.$ac_objext; then
8530 ac_header_compiler=yes
8532 echo "$as_me: failed program was
:" >&5
8533 sed 's/^/| /' conftest.$ac_ext >&5
8535 ac_header_compiler=no
8538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8539 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8540 echo "${ECHO_T}$ac_header_compiler" >&6; }
8542 # Is the header present?
8543 { echo "$as_me:$LINENO: checking google
/coredumper.h presence
" >&5
8544 echo $ECHO_N "checking google
/coredumper.h presence...
$ECHO_C" >&6; }
8545 cat >conftest.$ac_ext <<_ACEOF
8548 cat confdefs.h >>conftest.$ac_ext
8549 cat >>conftest.$ac_ext <<_ACEOF
8550 /* end confdefs.h. */
8551 #include <google/coredumper.h>
8553 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8556 *) ac_try_echo=$ac_try;;
8558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8559 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8561 grep -v '^ *+' conftest.er1 >conftest.err
8563 cat conftest.err >&5
8564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8565 (exit $ac_status); } >/dev/null && {
8566 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8567 test ! -s conftest.err
8569 ac_header_preproc=yes
8571 echo "$as_me: failed program was
:" >&5
8572 sed 's/^/| /' conftest.$ac_ext >&5
8574 ac_header_preproc=no
8577 rm -f conftest.err conftest.$ac_ext
8578 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8579 echo "${ECHO_T}$ac_header_preproc" >&6; }
8581 # So? What about this header?
8582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8584 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
8585 echo "$as_me: WARNING
: google
/coredumper.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8586 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: proceeding with the compiler
's result" >&5
8587 echo "$as_me: WARNING: google/coredumper.h: proceeding with the compiler's result
" >&2;}
8588 ac_header_preproc=yes
8591 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: present but cannot be compiled
" >&5
8592 echo "$as_me: WARNING
: google
/coredumper.h
: present but cannot be compiled
" >&2;}
8593 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: check
for missing prerequisite headers?
" >&5
8594 echo "$as_me: WARNING
: google
/coredumper.h
: check
for missing prerequisite headers?
" >&2;}
8595 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: see the Autoconf documentation
" >&5
8596 echo "$as_me: WARNING
: google
/coredumper.h
: see the Autoconf documentation
" >&2;}
8597 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: section
\"Present But Cannot Be Compiled
\"" >&5
8598 echo "$as_me: WARNING
: google
/coredumper.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
8599 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: proceeding with the preprocessor
's result" >&5
8600 echo "$as_me: WARNING: google/coredumper.h: proceeding with the preprocessor's result
" >&2;}
8601 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: in the future
, the compiler will take precedence
" >&5
8602 echo "$as_me: WARNING
: google
/coredumper.h
: in the future
, the compiler will take precedence
" >&2;}
8604 ## -------------------------------------------------- ##
8605 ## Report this to evilnet-devel@lists.sourceforge.net ##
8606 ## -------------------------------------------------- ##
8608 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8611 { echo "$as_me:$LINENO: checking
for google
/coredumper.h
" >&5
8612 echo $ECHO_N "checking
for google
/coredumper.h...
$ECHO_C" >&6; }
8613 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
8614 echo $ECHO_N "(cached
) $ECHO_C" >&6
8616 ac_cv_header_google_coredumper_h=$ac_header_preproc
8618 { echo "$as_me:$LINENO: result
: $ac_cv_header_google_coredumper_h" >&5
8619 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
8622 if test $ac_cv_header_google_coredumper_h = yes; then
8625 { echo "$as_me:$LINENO: result
: google
/coredumper.h
, the coredumper headers
, were not found. Install coredumper or use
--with-coredumper=PATH to tell me how to
find it
, where PATH
/include
/google
/coredumper.h exists. For convenience
, just
type 'tools/core_install.sh' now
, to
install coredumper
in your home directory.
" >&5
8626 echo "${ECHO_T}google
/coredumper.h
, the coredumper headers
, were not found. Install coredumper or use
--with-coredumper=PATH to tell me how to
find it
, where PATH
/include
/google
/coredumper.h exists. For convenience
, just
type 'tools/core_install.sh' now
, to
install coredumper
in your home directory.
" >&6; }
8631 { echo "$as_me:$LINENO: checking
for WriteCoreDump
in -lcoredumper" >&5
8632 echo $ECHO_N "checking
for WriteCoreDump
in -lcoredumper...
$ECHO_C" >&6; }
8633 if test "${ac_cv_lib_coredumper_WriteCoreDump+set}" = set; then
8634 echo $ECHO_N "(cached
) $ECHO_C" >&6
8636 ac_check_lib_save_LIBS=$LIBS
8637 LIBS="-lcoredumper $LIBS"
8638 cat >conftest.$ac_ext <<_ACEOF
8641 cat confdefs.h >>conftest.$ac_ext
8642 cat >>conftest.$ac_ext <<_ACEOF
8643 /* end confdefs.h. */
8645 /* Override any GCC internal prototype to avoid an error.
8646 Use char because int might match the return type of a GCC
8647 builtin and then its argument prototype would still apply. */
8651 char WriteCoreDump ();
8655 return WriteCoreDump ();
8660 rm -f conftest.$ac_objext conftest$ac_exeext
8661 if { (ac_try="$ac_link"
8663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8664 *) ac_try_echo=$ac_try;;
8666 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8667 (eval "$ac_link") 2>conftest.er1
8669 grep -v '^ *+' conftest.er1 >conftest.err
8671 cat conftest.err >&5
8672 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8673 (exit $ac_status); } && {
8674 test -z "$ac_c_werror_flag" ||
8675 test ! -s conftest.err
8676 } && test -s conftest$ac_exeext &&
8677 $as_test_x conftest$ac_exeext; then
8678 ac_cv_lib_coredumper_WriteCoreDump=yes
8680 echo "$as_me: failed program was
:" >&5
8681 sed 's/^/| /' conftest.$ac_ext >&5
8683 ac_cv_lib_coredumper_WriteCoreDump=no
8686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8687 conftest$ac_exeext conftest.$ac_ext
8688 LIBS=$ac_check_lib_save_LIBS
8690 { echo "$as_me:$LINENO: result
: $ac_cv_lib_coredumper_WriteCoreDump" >&5
8691 echo "${ECHO_T}$ac_cv_lib_coredumper_WriteCoreDump" >&6; }
8692 if test $ac_cv_lib_coredumper_WriteCoreDump = yes; then
8693 cat >>confdefs.h <<_ACEOF
8694 #define HAVE_LIBCOREDUMPER 1
8697 LIBS="-lcoredumper $LIBS"
8700 { echo "$as_me:$LINENO: result
: Coredumper library not found. Install coredumper
, or use
--with-coredumper=PATH to tell me how to
find it
, where PATH
/lib
/libcoredumper.so exists. For convenience
, just
type 'tools/core_install.sh' now
, to
install coredumper
in your home directory.
" >&5
8701 echo "${ECHO_T}Coredumper library not found. Install coredumper
, or use
--with-coredumper=PATH to tell me how to
find it
, where PATH
/lib
/libcoredumper.so exists. For convenience
, just
type 'tools/core_install.sh' now
, to
install coredumper
in your home directory.
" >&6; }
8707 # Check whether --with-ssl was given.
8708 if test "${with_ssl+set}" = set; then
8712 if test "x
$withval" != "x
"; then
8713 { echo "$as_me:$LINENO: result
: Using include dir
$withval to
find openssl
" >&5
8714 echo "${ECHO_T}Using include dir
$withval to
find openssl
" >&6; }
8715 CPPFLAGS="$CPPFLAGS -I$withval/include
-L$withval/lib
"
8716 LIBS="$LIBS -L$withval/lib
"
8718 { echo "$as_me:$LINENO: result
: Looking
for openssl
in system
" >&5
8719 echo "${ECHO_T}Looking
for openssl
in system
" >&6; }
8722 { echo "$as_me:$LINENO: checking
for BIO_new
in -lssl" >&5
8723 echo $ECHO_N "checking
for BIO_new
in -lssl...
$ECHO_C" >&6; }
8724 if test "${ac_cv_lib_ssl_BIO_new+set}" = set; then
8725 echo $ECHO_N "(cached
) $ECHO_C" >&6
8727 ac_check_lib_save_LIBS=$LIBS
8729 cat >conftest.$ac_ext <<_ACEOF
8732 cat confdefs.h >>conftest.$ac_ext
8733 cat >>conftest.$ac_ext <<_ACEOF
8734 /* end confdefs.h. */
8736 /* Override any GCC internal prototype to avoid an error.
8737 Use char because int might match the return type of a GCC
8738 builtin and then its argument prototype would still apply. */
8751 rm -f conftest.$ac_objext conftest$ac_exeext
8752 if { (ac_try="$ac_link"
8754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8755 *) ac_try_echo=$ac_try;;
8757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8758 (eval "$ac_link") 2>conftest.er1
8760 grep -v '^ *+' conftest.er1 >conftest.err
8762 cat conftest.err >&5
8763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8764 (exit $ac_status); } && {
8765 test -z "$ac_c_werror_flag" ||
8766 test ! -s conftest.err
8767 } && test -s conftest$ac_exeext &&
8768 $as_test_x conftest$ac_exeext; then
8769 ac_cv_lib_ssl_BIO_new=yes
8771 echo "$as_me: failed program was
:" >&5
8772 sed 's/^/| /' conftest.$ac_ext >&5
8774 ac_cv_lib_ssl_BIO_new=no
8777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8778 conftest$ac_exeext conftest.$ac_ext
8779 LIBS=$ac_check_lib_save_LIBS
8781 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ssl_BIO_new" >&5
8782 echo "${ECHO_T}$ac_cv_lib_ssl_BIO_new" >&6; }
8783 if test $ac_cv_lib_ssl_BIO_new = yes; then
8787 for ac_header in openssl/bio.h
8789 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8790 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8791 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8792 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8793 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8794 echo $ECHO_N "(cached
) $ECHO_C" >&6
8796 ac_res=`eval echo '${'$as_ac_Header'}'`
8797 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8798 echo "${ECHO_T}$ac_res" >&6; }
8800 # Is the header compilable?
8801 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8802 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8803 cat >conftest.$ac_ext <<_ACEOF
8806 cat confdefs.h >>conftest.$ac_ext
8807 cat >>conftest.$ac_ext <<_ACEOF
8808 /* end confdefs.h. */
8809 $ac_includes_default
8810 #include <$ac_header>
8812 rm -f conftest.$ac_objext
8813 if { (ac_try="$ac_compile"
8815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8816 *) ac_try_echo=$ac_try;;
8818 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8819 (eval "$ac_compile") 2>conftest.er1
8821 grep -v '^ *+' conftest.er1 >conftest.err
8823 cat conftest.err >&5
8824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8825 (exit $ac_status); } && {
8826 test -z "$ac_c_werror_flag" ||
8827 test ! -s conftest.err
8828 } && test -s conftest.$ac_objext; then
8829 ac_header_compiler=yes
8831 echo "$as_me: failed program was
:" >&5
8832 sed 's/^/| /' conftest.$ac_ext >&5
8834 ac_header_compiler=no
8837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8838 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8839 echo "${ECHO_T}$ac_header_compiler" >&6; }
8841 # Is the header present?
8842 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8843 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8844 cat >conftest.$ac_ext <<_ACEOF
8847 cat confdefs.h >>conftest.$ac_ext
8848 cat >>conftest.$ac_ext <<_ACEOF
8849 /* end confdefs.h. */
8850 #include <$ac_header>
8852 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8855 *) ac_try_echo=$ac_try;;
8857 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8858 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8860 grep -v '^ *+' conftest.er1 >conftest.err
8862 cat conftest.err >&5
8863 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8864 (exit $ac_status); } >/dev/null && {
8865 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8866 test ! -s conftest.err
8868 ac_header_preproc=yes
8870 echo "$as_me: failed program was
:" >&5
8871 sed 's/^/| /' conftest.$ac_ext >&5
8873 ac_header_preproc=no
8876 rm -f conftest.err conftest.$ac_ext
8877 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8878 echo "${ECHO_T}$ac_header_preproc" >&6; }
8880 # So? What about this header?
8881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8883 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8884 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8885 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8886 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8887 ac_header_preproc=yes
8890 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8891 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8892 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8893 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8894 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8895 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8896 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8897 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8898 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8900 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8901 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8903 ## -------------------------------------------------- ##
8904 ## Report this to evilnet-devel@lists.sourceforge.net ##
8905 ## -------------------------------------------------- ##
8907 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8910 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8911 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8912 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8913 echo $ECHO_N "(cached
) $ECHO_C" >&6
8915 eval "$as_ac_Header=\
$ac_header_preproc"
8917 ac_res=`eval echo '${'$as_ac_Header'}'`
8918 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8919 echo "${ECHO_T}$ac_res" >&6; }
8922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8923 cat >>confdefs.h <<_ACEOF
8924 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8928 cat >>confdefs.h <<\_ACEOF
8932 ssl_message="LDAP library
: enabled
"
8936 if test "x
$withval" != "x
"; then
8937 { { echo "$as_me:$LINENO: error
: ssl headers not found
" >&5
8938 echo "$as_me: error
: ssl headers not found
" >&2;}
8939 { (exit 1); exit 1; }; }
8949 if test "x
$withval" != "x
"; then
8950 { { echo "$as_me:$LINENO: error
: libldap not found or not valid
" >&5
8951 echo "$as_me: error
: libldap not found or not valid
" >&2;}
8952 { (exit 1); exit 1; }; }
8958 { echo "$as_me:$LINENO: result
: $LIBS" >&5
8959 echo "${ECHO_T}$LIBS" >&6; }
8964 # Check whether --with-ldap was given.
8965 if test "${with_ldap+set}" = set; then
8969 if test "x
$withval" != "x
"; then
8970 { echo "$as_me:$LINENO: result
: Using include dir
$withval to
find libldap
" >&5
8971 echo "${ECHO_T}Using include dir
$withval to
find libldap
" >&6; }
8972 CPPFLAGS="$CPPFLAGS -I$withval/include
-L$withval/lib
"
8973 LIBS="$LIBS -L$withval/lib
"
8975 { echo "$as_me:$LINENO: result
: Looking
for ldap
in system
" >&5
8976 echo "${ECHO_T}Looking
for ldap
in system
" >&6; }
8979 { echo "$as_me:$LINENO: checking
for ldap_simple_bind_s
in -lldap" >&5
8980 echo $ECHO_N "checking
for ldap_simple_bind_s
in -lldap...
$ECHO_C" >&6; }
8981 if test "${ac_cv_lib_ldap_ldap_simple_bind_s+set}" = set; then
8982 echo $ECHO_N "(cached
) $ECHO_C" >&6
8984 ac_check_lib_save_LIBS=$LIBS
8986 cat >conftest.$ac_ext <<_ACEOF
8989 cat confdefs.h >>conftest.$ac_ext
8990 cat >>conftest.$ac_ext <<_ACEOF
8991 /* end confdefs.h. */
8993 /* Override any GCC internal prototype to avoid an error.
8994 Use char because int might match the return type of a GCC
8995 builtin and then its argument prototype would still apply. */
8999 char ldap_simple_bind_s ();
9003 return ldap_simple_bind_s ();
9008 rm -f conftest.$ac_objext conftest$ac_exeext
9009 if { (ac_try="$ac_link"
9011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9012 *) ac_try_echo=$ac_try;;
9014 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9015 (eval "$ac_link") 2>conftest.er1
9017 grep -v '^ *+' conftest.er1 >conftest.err
9019 cat conftest.err >&5
9020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9021 (exit $ac_status); } && {
9022 test -z "$ac_c_werror_flag" ||
9023 test ! -s conftest.err
9024 } && test -s conftest$ac_exeext &&
9025 $as_test_x conftest$ac_exeext; then
9026 ac_cv_lib_ldap_ldap_simple_bind_s=yes
9028 echo "$as_me: failed program was
:" >&5
9029 sed 's/^/| /' conftest.$ac_ext >&5
9031 ac_cv_lib_ldap_ldap_simple_bind_s=no
9034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9035 conftest$ac_exeext conftest.$ac_ext
9036 LIBS=$ac_check_lib_save_LIBS
9038 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ldap_ldap_simple_bind_s" >&5
9039 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_simple_bind_s" >&6; }
9040 if test $ac_cv_lib_ldap_ldap_simple_bind_s = yes; then
9044 for ac_header in ldap.h
9046 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9047 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9048 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9049 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9050 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9051 echo $ECHO_N "(cached
) $ECHO_C" >&6
9053 ac_res=`eval echo '${'$as_ac_Header'}'`
9054 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9055 echo "${ECHO_T}$ac_res" >&6; }
9057 # Is the header compilable?
9058 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9059 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
9060 cat >conftest.$ac_ext <<_ACEOF
9063 cat confdefs.h >>conftest.$ac_ext
9064 cat >>conftest.$ac_ext <<_ACEOF
9065 /* end confdefs.h. */
9066 $ac_includes_default
9067 #include <$ac_header>
9069 rm -f conftest.$ac_objext
9070 if { (ac_try="$ac_compile"
9072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9073 *) ac_try_echo=$ac_try;;
9075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9076 (eval "$ac_compile") 2>conftest.er1
9078 grep -v '^ *+' conftest.er1 >conftest.err
9080 cat conftest.err >&5
9081 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9082 (exit $ac_status); } && {
9083 test -z "$ac_c_werror_flag" ||
9084 test ! -s conftest.err
9085 } && test -s conftest.$ac_objext; then
9086 ac_header_compiler=yes
9088 echo "$as_me: failed program was
:" >&5
9089 sed 's/^/| /' conftest.$ac_ext >&5
9091 ac_header_compiler=no
9094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9095 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9096 echo "${ECHO_T}$ac_header_compiler" >&6; }
9098 # Is the header present?
9099 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9100 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
9101 cat >conftest.$ac_ext <<_ACEOF
9104 cat confdefs.h >>conftest.$ac_ext
9105 cat >>conftest.$ac_ext <<_ACEOF
9106 /* end confdefs.h. */
9107 #include <$ac_header>
9109 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9112 *) ac_try_echo=$ac_try;;
9114 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9115 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9117 grep -v '^ *+' conftest.er1 >conftest.err
9119 cat conftest.err >&5
9120 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9121 (exit $ac_status); } >/dev/null && {
9122 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9123 test ! -s conftest.err
9125 ac_header_preproc=yes
9127 echo "$as_me: failed program was
:" >&5
9128 sed 's/^/| /' conftest.$ac_ext >&5
9130 ac_header_preproc=no
9133 rm -f conftest.err conftest.$ac_ext
9134 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9135 echo "${ECHO_T}$ac_header_preproc" >&6; }
9137 # So? What about this header?
9138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9140 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9141 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9142 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9144 ac_header_preproc=yes
9147 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9148 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9149 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9150 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9151 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9152 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9153 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9154 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9155 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9157 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9158 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9160 ## -------------------------------------------------- ##
9161 ## Report this to evilnet-devel@lists.sourceforge.net ##
9162 ## -------------------------------------------------- ##
9164 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
9167 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9168 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9169 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9170 echo $ECHO_N "(cached
) $ECHO_C" >&6
9172 eval "$as_ac_Header=\
$ac_header_preproc"
9174 ac_res=`eval echo '${'$as_ac_Header'}'`
9175 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9176 echo "${ECHO_T}$ac_res" >&6; }
9179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9180 cat >>confdefs.h <<_ACEOF
9181 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9185 cat >>confdefs.h <<\_ACEOF
9189 ldap_message="LDAP library
: enabled
"
9193 if test "x
$withval" != "x
"; then
9194 { { echo "$as_me:$LINENO: error
: ldap.h not found
" >&5
9195 echo "$as_me: error
: ldap.h not found
" >&2;}
9196 { (exit 1); exit 1; }; }
9206 if test "x
$withval" != "x
"; then
9207 { { echo "$as_me:$LINENO: error
: libldap not found or not valid
" >&5
9208 echo "$as_me: error
: libldap not found or not valid
" >&2;}
9209 { (exit 1); exit 1; }; }
9217 if test "$python" = yes; then
9218 # Extract the first word of "python2
", so it can be a program name with args.
9219 set dummy python2; ac_word=$2
9220 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9221 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9222 if test "${ac_cv_path_pythonpath+set}" = set; then
9223 echo $ECHO_N "(cached
) $ECHO_C" >&6
9227 ac_cv_path_pythonpath="$pythonpath" # Let the user override the test with a path.
9230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9234 test -z "$as_dir" && as_dir=.
9235 for ac_exec_ext in '' $ac_executable_extensions; do
9236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9237 ac_cv_path_pythonpath="$as_dir/$ac_word$ac_exec_ext"
9238 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9248 pythonpath=$ac_cv_path_pythonpath
9249 if test -n "$pythonpath"; then
9250 { echo "$as_me:$LINENO: result
: $pythonpath" >&5
9251 echo "${ECHO_T}$pythonpath" >&6; }
9253 { echo "$as_me:$LINENO: result
: no
" >&5
9254 echo "${ECHO_T}no
" >&6; }
9258 if test "_
$pythonpath" = _ ; then
9259 # Extract the first word of "python
", so it can be a program name with args.
9260 set dummy python; ac_word=$2
9261 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9262 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9263 if test "${ac_cv_path_pythonpath+set}" = set; then
9264 echo $ECHO_N "(cached
) $ECHO_C" >&6
9268 ac_cv_path_pythonpath="$pythonpath" # Let the user override the test with a path.
9271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9275 test -z "$as_dir" && as_dir=.
9276 for ac_exec_ext in '' $ac_executable_extensions; do
9277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9278 ac_cv_path_pythonpath="$as_dir/$ac_word$ac_exec_ext"
9279 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9289 pythonpath=$ac_cv_path_pythonpath
9290 if test -n "$pythonpath"; then
9291 { echo "$as_me:$LINENO: result
: $pythonpath" >&5
9292 echo "${ECHO_T}$pythonpath" >&6; }
9294 { echo "$as_me:$LINENO: result
: no
" >&5
9295 echo "${ECHO_T}no
" >&6; }
9300 if test "_
$pythonpath" = _ ; then
9303 { echo "$as_me:$LINENO: checking Python version
" >&5
9304 echo $ECHO_N "checking Python version...
$ECHO_C" >&6; }
9305 PY_VER=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("VERSION
")[0];'`
9306 PY_LIB=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(standard_lib=1);'`
9307 PY_INC=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("INCLUDEPY
")[0];'`
9308 $pythonpath -c "import sys
; map
(int
,sys.version
[:3].
split('.')) >= [2,2] or sys.
exit(1)"
9309 { echo "$as_me:$LINENO: result
: $PY_VER" >&5
9310 echo "${ECHO_T}$PY_VER" >&6; }
9311 if test "$?
" != "1"; then
9312 { echo "$as_me:$LINENO: checking Python compile flags
" >&5
9313 echo $ECHO_N "checking Python compile flags...
$ECHO_C" >&6; }
9314 PY_PREFIX=`$pythonpath -c 'import sys; print sys.prefix'`
9315 PY_EXEC_PREFIX=`$pythonpath -c 'import sys; print sys.exec_prefix'`
9316 if test -f $PY_INC/Python.h; then
9318 cat >>confdefs.h <<\_ACEOF
9319 #define WITH_PYTHON 1
9322 PY_LIBS="-L$PY_LIB/config
-lpython$PY_VER -lpthread -lutil"
9323 PY_CFLAGS="-I$PY_INC"
9324 { echo "$as_me:$LINENO: result
: ok
" >&5
9325 echo "${ECHO_T}ok
" >&6; }
9326 CFLAGS="$CFLAGS $PY_CFLAGS"
9327 LIBS="$LIBS $PY_LIBS"
9330 { echo "$as_me:$LINENO: result
: Can
't find Python.h" >&5
9331 echo "${ECHO_T}Can't
find Python.h
" >&6; }
9334 echo "Python too old. Only
2.2 or above is supported.
"
9340 AM_CONDITIONAL(DO_PYTHON, test "x
$python" = "xyes
")
9342 { echo "$as_me:$LINENO: result
: $LIBS" >&5
9343 echo "${ECHO_T}$LIBS" >&6; }
9346 cat >>confdefs.h <<_ACEOF
9347 #define CODENAME "${CODENAME}"
9358 ac_config_files="$ac_config_files Makefile rx
/Makefile src
/Makefile
"
9360 cat >confcache <<\_ACEOF
9361 # This file is a shell script that caches the results of configure
9362 # tests run on this system so they can be shared between configure
9363 # scripts and configure runs, see configure's option --config-cache.
9364 # It is not useful on other systems. If it contains results you don't
9365 # want to keep, you may remove or edit it.
9367 # config.status only pays attention to the cache file if you give it
9368 # the --recheck option to rerun configure.
9370 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9371 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9376 # The following way of writing the cache mishandles newlines in values,
9377 # but we know of no workaround that is simple, portable, and efficient.
9378 # So, we kill variables containing newlines.
9379 # Ultrix sh set writes to stderr and can't be redirected directly,
9380 # and sets the high bit in the cache file unless we assign to the vars.
9382 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9383 eval ac_val=\$$ac_var
9387 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
9388 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
9391 _ | IFS | as_nl) ;; #(
9392 *) $as_unset $ac_var ;;
9398 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9399 *${as_nl}ac_space=\ *)
9400 # `set' does not quote correctly, so add quotes (double-quote
9401 # substitution turns \\\\ into \\, and sed turns \\ into \).
9404 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
9407 # `set' quotes correctly as required by POSIX, so do not add quotes.
9408 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
9417 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9419 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9421 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9422 if test -w "$cache_file"; then
9423 test "x
$cache_file" != "x
/dev
/null
" &&
9424 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
9425 echo "$as_me: updating cache
$cache_file" >&6;}
9426 cat confcache >$cache_file
9428 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
9429 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
9434 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
9435 # Let make expand exec_prefix.
9436 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
9438 DEFS=-DHAVE_CONFIG_H
9442 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
9443 # 1. Remove the extension, and $U if already installed.
9444 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9445 ac_i=`echo "$ac_i" | sed "$ac_script"`
9446 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9447 # will be set to the directory where LIBOBJS objects are built.
9448 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
9449 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
9453 LTLIBOBJS=$ac_ltlibobjs
9457 : ${CONFIG_STATUS=./config.status}
9458 ac_clean_files_save=$ac_clean_files
9459 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9460 { echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
9461 echo "$as_me: creating
$CONFIG_STATUS" >&6;}
9462 cat >$CONFIG_STATUS <<_ACEOF
9464 # Generated by $as_me.
9465 # Run this file to recreate the current configuration.
9466 # Compiler output produced by configure, useful for debugging
9467 # configure, is in config.log if it exists.
9472 SHELL=\${CONFIG_SHELL-$SHELL}
9475 cat >>$CONFIG_STATUS <<\_ACEOF
9476 ## --------------------- ##
9477 ## M4sh Initialization. ##
9478 ## --------------------- ##
9480 # Be more Bourne compatible
9481 DUALCASE=1; export DUALCASE # for MKS sh
9482 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9485 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9486 # is contrary to our usage. Disable this feature.
9487 alias -g '${1+"$@"}'='"$@
"'
9488 setopt NO_GLOB_SUBST
9490 case `(set -o) 2>/dev/null` in
9491 *posix*) set -o posix ;;
9500 # Avoid depending upon Character Ranges.
9501 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9502 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9503 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9504 as_cr_digits='0123456789'
9505 as_cr_alnum=$as_cr_Letters$as_cr_digits
9507 # The user is always right.
9508 if test "${PATH_SEPARATOR+set}" != set; then
9509 echo "#! /bin/sh" >conf$$.sh
9510 echo "exit 0" >>conf$$.sh
9512 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9520 # Support unset when possible.
9521 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
9529 # We need space, tab and new line, in precisely that order. Quoting is
9530 # there to prevent editors from complaining about space-tab.
9531 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9532 # splitting by setting IFS to empty value.)
9537 # Find who we are. Look in the path if we contain no directory separator.
9539 *[\\/]* ) as_myself
=$0 ;;
9540 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9544 test -z "$as_dir" && as_dir
=.
9545 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9551 # We did not find ourselves, most probably we were run as `sh COMMAND'
9552 # in which case we are not to be found in the path.
9553 if test "x$as_myself" = x
; then
9556 if test ! -f "$as_myself"; then
9557 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9558 { (exit 1); exit 1; }
9561 # Work around bugs in pre-3.0 UWIN ksh.
9562 for as_var
in ENV MAIL MAILPATH
9563 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9571 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9572 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9573 LC_TELEPHONE LC_TIME
9575 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9576 eval $as_var=C
; export $as_var
9578 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9582 # Required to use basename.
9583 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9584 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9590 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9591 as_basename
=basename
9597 # Name of the executable.
9598 as_me
=`$as_basename -- "$0" ||
9599 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9600 X"$0" : 'X\(//\)$' \| \
9601 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9603 sed '/^.*\/\([^/][^/]*\)\/*$/{
9624 test "x$as_lineno_1" != "x$as_lineno_2" &&
9625 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9627 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9628 # uniformly replaced by the line number. The first 'sed' inserts a
9629 # line-number line after each line using $LINENO; the second 'sed'
9630 # does the real work. The second script uses 'N' to pair each
9631 # line-number line with the line containing $LINENO, and appends
9632 # trailing '-' during substitution so that $LINENO is not a special
9634 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9635 # scripts with optimization help from Paolo Bonzini. Blame Lee
9636 # E. McMahon (1931-1989) for sed's syntax. :-)
9648 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9652 chmod +x
"$as_me.lineno" ||
9653 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9654 { (exit 1); exit 1; }; }
9656 # Don't try to exec as it changes $[0], causing all sort of problems
9657 # (the dirname of $[0] is not the place where we might find the
9658 # original and so on. Autoconf is especially sensitive to this).
9660 # Exit status is that of the last command.
9665 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9671 ECHO_C
= ECHO_N
= ECHO_T
=
9674 case `echo 'x\c'` in
9675 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9682 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9683 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9689 rm -f conf$$ conf$$.exe conf$$.
file
9690 if test -d conf$$.dir
; then
9691 rm -f conf$$.dir
/conf$$.
file
9697 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9699 # ... but there are two gotchas:
9700 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9701 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9702 # In both cases, we have to default to `cp -p'.
9703 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
9705 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9710 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9711 rmdir conf$$.dir
2>/dev
/null
9713 if mkdir -p .
2>/dev
/null
; then
9716 test -d .
/-p && rmdir .
/-p
9720 if test -x / >/dev
/null
2>&1; then
9723 if ls -dL / >/dev
/null
2>&1; then
9730 if test -d "$1"; then
9736 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9737 ???[sx]*):;;*)false;;esac;fi
9741 as_executable_p
=$as_test_x
9743 # Sed expression to map a string onto a valid CPP name.
9744 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9746 # Sed expression to map a string onto a valid variable name.
9747 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9752 # Save the log message, to keep $[0] and so on meaningful, and to
9753 # report actual input values of CONFIG_FILES etc. instead of their
9754 # values after options handling.
9756 This file was extended by X3 $as_me 1.8, which was
9757 generated by GNU Autoconf 2.61. Invocation command line was
9759 CONFIG_FILES = $CONFIG_FILES
9760 CONFIG_HEADERS = $CONFIG_HEADERS
9761 CONFIG_LINKS = $CONFIG_LINKS
9762 CONFIG_COMMANDS = $CONFIG_COMMANDS
9765 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9770 cat >>$CONFIG_STATUS <<_ACEOF
9771 # Files that config.status was made for.
9772 config_files="$ac_config_files"
9773 config_headers="$ac_config_headers"
9777 cat >>$CONFIG_STATUS <<\_ACEOF
9779 \`$as_me' instantiates files from templates according to the
9780 current configuration.
9782 Usage: $0 [OPTIONS] [FILE]...
9784 -h, --help print this help, then exit
9785 -V, --version print version number and configuration settings, then exit
9786 -q, --quiet do not print progress messages
9787 -d, --debug don't remove temporary files
9788 --recheck update $as_me by reconfiguring in the same conditions
9789 --file=FILE[:TEMPLATE]
9790 instantiate the configuration file FILE
9791 --header=FILE[:TEMPLATE]
9792 instantiate the configuration header FILE
9794 Configuration files:
9797 Configuration headers:
9800 Report bugs to <bug-autoconf@gnu.org>."
9803 cat >>$CONFIG_STATUS <<_ACEOF
9805 X3 config.status 1.8
9806 configured by $0, generated by GNU Autoconf 2.61,
9807 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9809 Copyright (C) 2006 Free Software Foundation, Inc.
9810 This config.status script is free software; the Free Software Foundation
9811 gives unlimited permission to copy, distribute and modify it."
9818 cat >>$CONFIG_STATUS <<\_ACEOF
9819 # If no file are specified by the user, then we need to provide default
9820 # value. By we need to know if files were specified by the user.
9826 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9827 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9838 # Handling of the options.
9839 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9841 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9842 echo "$ac_cs_version"; exit ;;
9843 --debug | --debu | --deb | --de | --d | -d )
9845 --file | --fil | --fi | --f )
9847 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9848 ac_need_defaults
=false
;;
9849 --header | --heade | --head | --hea )
9851 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9852 ac_need_defaults
=false
;;
9854 # Conflict between --help and --header
9855 { echo "$as_me: error: ambiguous option: $1
9856 Try \`$0 --help' for more information." >&2
9857 { (exit 1); exit 1; }; };;
9858 --help | --hel | -h )
9859 echo "$ac_cs_usage"; exit ;;
9860 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9861 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9865 -*) { echo "$as_me: error: unrecognized option: $1
9866 Try \`$0 --help' for more information." >&2
9867 { (exit 1); exit 1; }; } ;;
9869 *) ac_config_targets
="$ac_config_targets $1"
9870 ac_need_defaults
=false
;;
9876 ac_configure_extra_args
=
9878 if $ac_cs_silent; then
9880 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9884 cat >>$CONFIG_STATUS <<_ACEOF
9885 if \$ac_cs_recheck; then
9886 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9889 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9893 cat >>$CONFIG_STATUS <<\_ACEOF
9897 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9898 ## Running $as_me. ##
9904 cat >>$CONFIG_STATUS <<_ACEOF
9907 cat >>$CONFIG_STATUS <<\_ACEOF
9909 # Handling of arguments.
9910 for ac_config_target
in $ac_config_targets
9912 case $ac_config_target in
9913 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
9914 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9915 "rx/Makefile") CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
9916 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9918 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9919 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9920 { (exit 1); exit 1; }; };;
9925 # If the user did not use the arguments to specify the items to instantiate,
9926 # then the envvar interface is used. Set only those that are not.
9927 # We use the long form for the default assignment because of an extremely
9928 # bizarre bug on SunOS 4.1.3.
9929 if $ac_need_defaults; then
9930 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9931 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9934 # Have a temporary directory for convenience. Make it in the build tree
9935 # simply because there is no reason against having it here, and in addition,
9936 # creating and moving files from /tmp can sometimes cause problems.
9937 # Hook for its removal unless debugging.
9938 # Note that there is a small window in which the directory will not be cleaned:
9939 # after its creation but before its name has been assigned to `$tmp'.
9943 trap 'exit_status=$?
9944 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9946 trap '{ (exit 1); exit 1; }' 1 2 13 15
9948 # Create a (secure) tmp directory for tmp files.
9951 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9952 test -n "$tmp" && test -d "$tmp"
9955 tmp
=.
/conf$$
-$RANDOM
9956 (umask 077 && mkdir "$tmp")
9959 echo "$me: cannot create a temporary directory in ." >&2
9960 { (exit 1); exit 1; }
9964 # Set up the sed scripts for CONFIG_FILES section.
9967 # No need to generate the scripts if there are no CONFIG_FILES.
9968 # This happens for instance when ./config.status config.h
9969 if test -n "$CONFIG_FILES"; then
9976 for ac_last_try
in false false false false false
:; do
9977 cat >conf$
$subs.
sed <<_ACEOF
9978 SHELL!$SHELL$ac_delim
9979 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9980 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9981 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9982 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9983 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9984 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9985 exec_prefix!$exec_prefix$ac_delim
9986 prefix!$prefix$ac_delim
9987 program_transform_name!$program_transform_name$ac_delim
9988 bindir!$bindir$ac_delim
9989 sbindir!$sbindir$ac_delim
9990 libexecdir!$libexecdir$ac_delim
9991 datarootdir!$datarootdir$ac_delim
9992 datadir!$datadir$ac_delim
9993 sysconfdir!$sysconfdir$ac_delim
9994 sharedstatedir!$sharedstatedir$ac_delim
9995 localstatedir!$localstatedir$ac_delim
9996 includedir!$includedir$ac_delim
9997 oldincludedir!$oldincludedir$ac_delim
9998 docdir!$docdir$ac_delim
9999 infodir!$infodir$ac_delim
10000 htmldir!$htmldir$ac_delim
10001 dvidir!$dvidir$ac_delim
10002 pdfdir!$pdfdir$ac_delim
10003 psdir!$psdir$ac_delim
10004 libdir!$libdir$ac_delim
10005 localedir!$localedir$ac_delim
10006 mandir!$mandir$ac_delim
10007 DEFS!$DEFS$ac_delim
10008 ECHO_C!$ECHO_C$ac_delim
10009 ECHO_N!$ECHO_N$ac_delim
10010 ECHO_T!$ECHO_T$ac_delim
10011 LIBS!$LIBS$ac_delim
10012 build_alias!$build_alias$ac_delim
10013 host_alias!$host_alias$ac_delim
10014 target_alias!$target_alias$ac_delim
10015 build!$build$ac_delim
10016 build_cpu!$build_cpu$ac_delim
10017 build_vendor!$build_vendor$ac_delim
10018 build_os!$build_os$ac_delim
10019 host!$host$ac_delim
10020 host_cpu!$host_cpu$ac_delim
10021 host_vendor!$host_vendor$ac_delim
10022 host_os!$host_os$ac_delim
10023 target!$target$ac_delim
10024 target_cpu!$target_cpu$ac_delim
10025 target_vendor!$target_vendor$ac_delim
10026 target_os!$target_os$ac_delim
10028 CFLAGS!$CFLAGS$ac_delim
10029 LDFLAGS!$LDFLAGS$ac_delim
10030 CPPFLAGS!$CPPFLAGS$ac_delim
10031 ac_ct_CC!$ac_ct_CC$ac_delim
10032 EXEEXT!$EXEEXT$ac_delim
10033 OBJEXT!$OBJEXT$ac_delim
10035 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10036 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10037 INSTALL_DATA!$INSTALL_DATA$ac_delim
10039 RANLIB!$RANLIB$ac_delim
10040 LN_S!$LN_S$ac_delim
10041 SET_MAKE!$SET_MAKE$ac_delim
10043 GREP!$GREP$ac_delim
10044 EGREP!$EGREP$ac_delim
10045 MAKER!$MAKER$ac_delim
10046 ALLOCA!$ALLOCA$ac_delim
10047 pythonpath!$pythonpath$ac_delim
10048 MODULE_OBJS!$MODULE_OBJS$ac_delim
10049 MY_SUBDIRS!$MY_SUBDIRS$ac_delim
10050 RX_INCLUDES!$RX_INCLUDES$ac_delim
10051 RX_LIBS!$RX_LIBS$ac_delim
10052 TRACK!$TRACK$ac_delim
10053 PY_CFLAGS!$PY_CFLAGS$ac_delim
10054 PY_LIBS!$PY_LIBS$ac_delim
10055 LIBOBJS!$LIBOBJS$ac_delim
10056 LTLIBOBJS!$LTLIBOBJS$ac_delim
10059 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
10061 elif $ac_last_try; then
10062 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10063 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10064 { (exit 1); exit 1; }; }
10066 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10070 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10071 if test -n "$ac_eof"; then
10072 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10073 ac_eof
=`expr $ac_eof + 1`
10076 cat >>$CONFIG_STATUS <<_ACEOF
10077 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10078 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10081 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10082 s/^/s,@/; s/!/@,|#_!!_#|/
10085 s/'"$ac_delim"'$/,g/; t
10087 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10088 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10089 rm -f conf$
$subs.
sed
10090 cat >>$CONFIG_STATUS <<_ACEOF
10097 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10098 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10099 # trailing colons and then remove the whole line if VPATH becomes empty
10100 # (actually we leave an empty line to preserve line numbers).
10101 if test "x$srcdir" = x.
; then
10102 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10103 s/:*\$(srcdir):*/:/
10104 s/:*\${srcdir}:*/:/
10106 s/^\([^=]*=[ ]*\):*/\1/
10112 cat >>$CONFIG_STATUS <<\_ACEOF
10113 fi # test -n "$CONFIG_FILES"
10116 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
10119 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10121 case $ac_mode$ac_tag in
10123 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10124 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10125 { (exit 1); exit 1; }; };;
10126 :[FH
]-) ac_tag
=-:-;;
10127 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10144 -) ac_f
="$tmp/stdin";;
10145 *) # Look for the file first in the build tree, then in the source tree
10146 # (if the path is not absolute). The absolute path cannot be DOS-style,
10147 # because $ac_f cannot contain `:'.
10151 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10153 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10154 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10155 { (exit 1); exit 1; }; };;
10157 ac_file_inputs
="$ac_file_inputs $ac_f"
10160 # Let's still pretend it is `configure' which instantiates (i.e., don't
10161 # use $as_me), people would be surprised to read:
10162 # /* config.h. Generated by config.status. */
10163 configure_input
="Generated from "`IFS=:
10164 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10165 if test x
"$ac_file" != x
-; then
10166 configure_input
="$ac_file. $configure_input"
10167 { echo "$as_me:$LINENO: creating $ac_file" >&5
10168 echo "$as_me: creating $ac_file" >&6;}
10172 *:-:* | *:-) cat >"$tmp/stdin";;
10177 ac_dir
=`$as_dirname -- "$ac_file" ||
10178 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10179 X"$ac_file" : 'X\(//\)[^/]' \| \
10180 X"$ac_file" : 'X\(//\)$' \| \
10181 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10187 /^X\(\/\/\)[^/].*/{
10202 -*) as_dir
=.
/$as_dir;;
10204 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10208 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10209 *) as_qdir
=$as_dir;;
10211 as_dirs
="'$as_qdir' $as_dirs"
10212 as_dir
=`$as_dirname -- "$as_dir" ||
10213 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10214 X"$as_dir" : 'X\(//\)[^/]' \| \
10215 X"$as_dir" : 'X\(//\)$' \| \
10216 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10222 /^X\(\/\/\)[^/].*/{
10235 test -d "$as_dir" && break
10237 test -z "$as_dirs" || eval "mkdir $as_dirs"
10238 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10239 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10240 { (exit 1); exit 1; }; }; }
10244 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10246 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10247 # A ".." for each directory in $ac_dir_suffix.
10248 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10249 case $ac_top_builddir_sub in
10250 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10251 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10254 ac_abs_top_builddir
=$ac_pwd
10255 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10256 # for backward compatibility:
10257 ac_top_builddir
=$ac_top_build_prefix
10260 .
) # We are building in place.
10262 ac_top_srcdir
=$ac_top_builddir_sub
10263 ac_abs_top_srcdir
=$ac_pwd ;;
10264 [\\/]* | ?
:[\\/]* ) # Absolute name.
10265 ac_srcdir
=$srcdir$ac_dir_suffix;
10266 ac_top_srcdir
=$srcdir
10267 ac_abs_top_srcdir
=$srcdir ;;
10268 *) # Relative name.
10269 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10270 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10271 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10273 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10283 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10284 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10288 cat >>$CONFIG_STATUS <<\_ACEOF
10289 # If the template does not know about datarootdir, expand it.
10290 # FIXME: This hack should be removed a few years after 2.60.
10291 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10293 case `sed -n '/datarootdir/ {
10302 ' $ac_file_inputs` in
10303 *datarootdir
*) ac_datarootdir_seen
=yes;;
10304 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
10305 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10306 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10308 cat >>$CONFIG_STATUS <<_ACEOF
10309 ac_datarootdir_hack='
10310 s&@datadir@&$datadir&g
10311 s&@docdir@&$docdir&g
10312 s&@infodir@&$infodir&g
10313 s&@localedir@&$localedir&g
10314 s&@mandir@&$mandir&g
10315 s&\\\${datarootdir}&$datarootdir&g' ;;
10319 # Neutralize VPATH when `$srcdir' = `.'.
10320 # Shell code in configure.ac might set extrasub.
10321 # FIXME: do we really want to maintain this feature?
10322 cat >>$CONFIG_STATUS <<_ACEOF
10326 cat >>$CONFIG_STATUS <<\_ACEOF
10328 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
10329 s
&@configure_input@
&$configure_input&;t t
10330 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10331 s
&@srcdir@
&$ac_srcdir&;t t
10332 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10333 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10334 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10335 s
&@builddir@
&$ac_builddir&;t t
10336 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10337 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10338 s
&@INSTALL@
&$ac_INSTALL&;t t
10339 $ac_datarootdir_hack
10340 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" >$tmp/out
10342 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10343 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10344 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10345 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10346 which seems to be undefined. Please make sure it is defined." >&5
10347 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10348 which seems to be undefined. Please make sure it is defined." >&2;}
10352 -) cat "$tmp/out"; rm -f "$tmp/out";;
10353 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10362 # Transform confdefs.h into a sed script `conftest.defines', that
10363 # substitutes the proper values into config.h.in to produce config.h.
10364 rm -f conftest.defines conftest.
tail
10365 # First, append a space to every undef/define line, to ease matching.
10366 echo 's/$/ /' >conftest.defines
10367 # Then, protect against being on the right side of a sed subst, or in
10368 # an unquoted here document, in config.status. If some macros were
10369 # called several times there might be several #defines for the same
10370 # symbol, which is useless. But do not sort them, since the last
10371 # AC_DEFINE must be honored.
10372 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
10373 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
10374 # NAME is the cpp macro being defined, VALUE is the value it is being given.
10375 # PARAMS is the parameter list in the macro definition--in most cases, it's
10376 # just an empty string.
10377 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
10378 ac_dB
='\\)[ (].*,\\1define\\2'
10386 s/^[ ]*#[ ]*define[ ][ ]*//
10391 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
10392 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
10393 ' >>conftest.defines
10395 # Remove the space that was appended to ease matching.
10396 # Then replace #undef with comments. This is necessary, for
10397 # example, in the case of _POSIX_SOURCE, which is predefined and required
10398 # on some systems where configure will not decide to define it.
10399 # (The regexp can be short, since the line contains either #define or #undef.)
10401 s,^[ #]*u.*,/* & */,' >>conftest.defines
10403 # Break up conftest.defines:
10404 ac_max_sed_lines
=50
10406 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
10407 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
10408 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
10410 ac_in
='$ac_file_inputs'
10411 ac_out
='"$tmp/out1"'
10412 ac_nxt
='"$tmp/out2"'
10416 # Write a here document:
10417 cat >>$CONFIG_STATUS <<_ACEOF
10418 # First, check the format of the line:
10419 cat >"\$tmp/defines.sed" <<\\CEOF
10420 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
10421 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
10425 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
10427 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
10428 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
10429 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
10430 grep . conftest.
tail >/dev
/null
|| break
10431 rm -f conftest.defines
10432 mv conftest.
tail conftest.defines
10434 rm -f conftest.defines conftest.
tail
10436 echo "ac_result=$ac_in" >>$CONFIG_STATUS
10437 cat >>$CONFIG_STATUS <<\_ACEOF
10438 if test x
"$ac_file" != x
-; then
10439 echo "/* $configure_input */" >"$tmp/config.h"
10440 cat "$ac_result" >>"$tmp/config.h"
10441 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
10442 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10443 echo "$as_me: $ac_file is unchanged" >&6;}
10446 mv "$tmp/config.h" $ac_file
10449 echo "/* $configure_input */"
10461 { (exit 0); exit 0; }
10463 chmod +x
$CONFIG_STATUS
10464 ac_clean_files
=$ac_clean_files_save
10467 # configure is writing to config.log, and then calls config.status.
10468 # config.status does its own redirection, appending to config.log.
10469 # Unfortunately, on DOS this fails, as config.log is still kept open
10470 # by configure, so config.status won't be able to write to it; its
10471 # output is simply discarded. So we exec the FD to /dev/null,
10472 # effectively closing config.log, so it can be properly (re)opened and
10473 # appended to by config.status. When coming back to configure, we
10474 # need to make the FD available again.
10475 if test "$no_create" != yes; then
10477 ac_config_status_args
=
10478 test "$silent" = yes &&
10479 ac_config_status_args
="$ac_config_status_args --quiet"
10481 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10483 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10484 # would make configure fail if this is the last instruction.
10485 $ac_cs_success || { (exit 1); exit 1; }
10493 Configuration summary
10494 =====================
10496 X3 is now configured as follows:
10498 * Compilation environment
10503 CPPFLAGS = $CPPFLAGS
10511 Extra Modules: $module_list
10514 Regexp Library TRE $tre_version
10515 Coredumper Library Coredumper $core_version
10519 Install to: $prefix
10521 Now you can proceed with compiling X3