2 # From configure.in Id: configure.in 2301 2008-11-07 05:16:20Z rubin .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for X3 1.6.
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.6'
579 PACKAGE_STRING
='X3 1.6'
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
682 INSTALL_STRIP_PROGRAM
691 MAINTAINER_MODE_FALSE
729 ac_precious_vars
='build_alias
740 # Initialize some variables set by options.
742 ac_init_version
=false
743 # The variables have the same names as the options, with
744 # dashes changed to underlines.
752 program_transform_name
=s
,x
,x
,
760 # Installation directory options.
761 # These are left unexpanded so users can "make install exec_prefix=/foo"
762 # and all the variables that are supposed to be based on exec_prefix
763 # by default will actually change.
764 # Use braces instead of parens because sh, perl, etc. also accept them.
765 # (The list follows the same order as the GNU Coding Standards.)
766 bindir
='${exec_prefix}/bin'
767 sbindir
='${exec_prefix}/sbin'
768 libexecdir
='${exec_prefix}/libexec'
769 datarootdir
='${prefix}/share'
770 datadir
='${datarootdir}'
771 sysconfdir
='${prefix}/etc'
772 sharedstatedir
='${prefix}/com'
773 localstatedir
='${prefix}/var'
774 includedir
='${prefix}/include'
775 oldincludedir
='/usr/include'
776 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
777 infodir
='${datarootdir}/info'
782 libdir
='${exec_prefix}/lib'
783 localedir
='${datarootdir}/locale'
784 mandir
='${datarootdir}/man'
790 # If the previous option needs an argument, assign it.
791 if test -n "$ac_prev"; then
792 eval $ac_prev=\
$ac_option
798 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
802 # Accept the important Cygnus configure options, so we can diagnose typos.
804 case $ac_dashdash$ac_option in
808 -bindir | --bindir | --bindi | --bind | --bin | --bi)
810 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
813 -build | --build | --buil | --bui | --bu)
814 ac_prev
=build_alias
;;
815 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
816 build_alias
=$ac_optarg ;;
818 -cache-file | --cache-file | --cache-fil | --cache-fi \
819 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
820 ac_prev
=cache_file
;;
821 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
822 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
823 cache_file
=$ac_optarg ;;
826 cache_file
=config.cache
;;
828 -datadir | --datadir | --datadi | --datad)
830 -datadir=* | --datadir=* | --datadi=* | --datad=*)
831 datadir
=$ac_optarg ;;
833 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
834 | --dataroo | --dataro | --datar)
835 ac_prev
=datarootdir
;;
836 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
837 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
838 datarootdir
=$ac_optarg ;;
840 -disable-* | --disable-*)
841 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
842 # Reject names that are not valid shell variable names.
843 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
844 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
845 { (exit 1); exit 1; }; }
846 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
847 eval enable_
$ac_feature=no
;;
849 -docdir | --docdir | --docdi | --doc | --do)
851 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
854 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
856 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
859 -enable-* | --enable-*)
860 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
861 # Reject names that are not valid shell variable names.
862 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
863 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
864 { (exit 1); exit 1; }; }
865 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
866 eval enable_
$ac_feature=\
$ac_optarg ;;
868 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
869 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
870 | --exec | --exe | --ex)
871 ac_prev
=exec_prefix
;;
872 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
873 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
874 | --exec=* | --exe=* | --ex=*)
875 exec_prefix
=$ac_optarg ;;
877 -gas | --gas | --ga | --g)
878 # Obsolete; use --with-gas.
881 -help | --help | --hel | --he | -h)
883 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
884 ac_init_help
=recursive
;;
885 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
886 ac_init_help
=short
;;
888 -host | --host | --hos | --ho)
889 ac_prev
=host_alias
;;
890 -host=* | --host=* | --hos=* | --ho=*)
891 host_alias
=$ac_optarg ;;
893 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
895 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
897 htmldir
=$ac_optarg ;;
899 -includedir | --includedir | --includedi | --included | --include \
900 | --includ | --inclu | --incl | --inc)
901 ac_prev
=includedir
;;
902 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
903 | --includ=* | --inclu=* | --incl=* | --inc=*)
904 includedir
=$ac_optarg ;;
906 -infodir | --infodir | --infodi | --infod | --info | --inf)
908 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
909 infodir
=$ac_optarg ;;
911 -libdir | --libdir | --libdi | --libd)
913 -libdir=* | --libdir=* | --libdi=* | --libd=*)
916 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
917 | --libexe | --libex | --libe)
918 ac_prev
=libexecdir
;;
919 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
920 | --libexe=* | --libex=* | --libe=*)
921 libexecdir
=$ac_optarg ;;
923 -localedir | --localedir | --localedi | --localed | --locale)
925 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
926 localedir
=$ac_optarg ;;
928 -localstatedir | --localstatedir | --localstatedi | --localstated \
929 | --localstate | --localstat | --localsta | --localst | --locals)
930 ac_prev
=localstatedir
;;
931 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
932 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
933 localstatedir
=$ac_optarg ;;
935 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
937 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
941 # Obsolete; use --without-fp.
944 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
945 | --no-cr | --no-c | -n)
948 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
949 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
952 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
953 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
954 | --oldin | --oldi | --old | --ol | --o)
955 ac_prev
=oldincludedir
;;
956 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
957 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
958 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
959 oldincludedir
=$ac_optarg ;;
961 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
963 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
966 -program-prefix | --program-prefix | --program-prefi | --program-pref \
967 | --program-pre | --program-pr | --program-p)
968 ac_prev
=program_prefix
;;
969 -program-prefix=* | --program-prefix=* | --program-prefi=* \
970 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
971 program_prefix
=$ac_optarg ;;
973 -program-suffix | --program-suffix | --program-suffi | --program-suff \
974 | --program-suf | --program-su | --program-s)
975 ac_prev
=program_suffix
;;
976 -program-suffix=* | --program-suffix=* | --program-suffi=* \
977 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
978 program_suffix
=$ac_optarg ;;
980 -program-transform-name | --program-transform-name \
981 | --program-transform-nam | --program-transform-na \
982 | --program-transform-n | --program-transform- \
983 | --program-transform | --program-transfor \
984 | --program-transfo | --program-transf \
985 | --program-trans | --program-tran \
986 | --progr-tra | --program-tr | --program-t)
987 ac_prev
=program_transform_name
;;
988 -program-transform-name=* | --program-transform-name=* \
989 | --program-transform-nam=* | --program-transform-na=* \
990 | --program-transform-n=* | --program-transform-=* \
991 | --program-transform=* | --program-transfor=* \
992 | --program-transfo=* | --program-transf=* \
993 | --program-trans=* | --program-tran=* \
994 | --progr-tra=* | --program-tr=* | --program-t=*)
995 program_transform_name
=$ac_optarg ;;
997 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
999 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1000 pdfdir
=$ac_optarg ;;
1002 -psdir | --psdir | --psdi | --psd | --ps)
1004 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1008 | -silent | --silent | --silen | --sile | --sil)
1011 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1013 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1015 sbindir
=$ac_optarg ;;
1017 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1018 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1019 | --sharedst | --shareds | --shared | --share | --shar \
1021 ac_prev
=sharedstatedir
;;
1022 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1023 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1024 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1026 sharedstatedir
=$ac_optarg ;;
1028 -site | --site | --sit)
1030 -site=* | --site=* | --sit=*)
1033 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1035 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1036 srcdir
=$ac_optarg ;;
1038 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1039 | --syscon | --sysco | --sysc | --sys | --sy)
1040 ac_prev
=sysconfdir
;;
1041 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1042 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1043 sysconfdir
=$ac_optarg ;;
1045 -target | --target | --targe | --targ | --tar | --ta | --t)
1046 ac_prev
=target_alias
;;
1047 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1048 target_alias
=$ac_optarg ;;
1050 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1053 -version | --version | --versio | --versi | --vers | -V)
1054 ac_init_version
=: ;;
1057 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1060 { echo "$as_me: error: invalid package name: $ac_package" >&2
1061 { (exit 1); exit 1; }; }
1062 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1063 eval with_
$ac_package=\
$ac_optarg ;;
1065 -without-* | --without-*)
1066 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1069 { echo "$as_me: error: invalid package name: $ac_package" >&2
1070 { (exit 1); exit 1; }; }
1071 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1072 eval with_
$ac_package=no
;;
1075 # Obsolete; use --with-x.
1078 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1079 | --x-incl | --x-inc | --x-in | --x-i)
1080 ac_prev
=x_includes
;;
1081 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1082 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1083 x_includes
=$ac_optarg ;;
1085 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1086 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1087 ac_prev
=x_libraries
;;
1088 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1089 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1090 x_libraries
=$ac_optarg ;;
1092 -*) { echo "$as_me: error: unrecognized option: $ac_option
1093 Try \`$0 --help' for more information." >&2
1094 { (exit 1); exit 1; }; }
1098 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1101 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1102 { (exit 1); exit 1; }; }
1103 eval $ac_envvar=\
$ac_optarg
1104 export $ac_envvar ;;
1107 # FIXME: should be removed in autoconf 3.0.
1108 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1109 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1110 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1111 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1117 if test -n "$ac_prev"; then
1118 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1119 { echo "$as_me: error: missing argument to $ac_option" >&2
1120 { (exit 1); exit 1; }; }
1123 # Be sure to have absolute directory names.
1124 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1125 datadir sysconfdir sharedstatedir localstatedir includedir \
1126 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1127 libdir localedir mandir
1129 eval ac_val
=\$
$ac_var
1131 [\\/$
]* | ?
:[\\/]* ) continue;;
1132 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1134 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1135 { (exit 1); exit 1; }; }
1138 # There might be people who depend on the old broken behavior: `$host'
1139 # used to hold the argument of --host etc.
1140 # FIXME: To remove some day.
1143 target
=$target_alias
1145 # FIXME: To remove some day.
1146 if test "x$host_alias" != x
; then
1147 if test "x$build_alias" = x
; then
1148 cross_compiling
=maybe
1149 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1150 If a cross compiler is detected then cross compile mode will be used." >&2
1151 elif test "x$build_alias" != "x$host_alias"; then
1157 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1159 test "$silent" = yes && exec 6>/dev
/null
1162 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1163 ac_ls_di
=`ls -di .` &&
1164 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1165 { echo "$as_me: error: Working directory cannot be determined" >&2
1166 { (exit 1); exit 1; }; }
1167 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1168 { echo "$as_me: error: pwd does not report name of working directory" >&2
1169 { (exit 1); exit 1; }; }
1172 # Find the source files, if location was not specified.
1173 if test -z "$srcdir"; then
1174 ac_srcdir_defaulted
=yes
1175 # Try the directory containing this script, then the parent directory.
1176 ac_confdir
=`$as_dirname -- "$0" ||
1177 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1178 X"$0" : 'X\(//\)[^/]' \| \
1179 X"$0" : 'X\(//\)$' \| \
1180 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1204 ac_srcdir_defaulted
=no
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1207 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1208 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1209 { (exit 1); exit 1; }; }
1211 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1213 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1214 { (exit 1); exit 1; }; }
1216 # When building in place, set srcdir=.
1217 if test "$ac_abs_confdir" = "$ac_pwd"; then
1220 # Remove unnecessary trailing slashes from srcdir.
1221 # Double slashes in file names in object file debugging info
1222 # mess up M-x gdb in Emacs.
1224 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1226 for ac_var
in $ac_precious_vars; do
1227 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1228 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1229 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1230 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1234 # Report the --help message.
1236 if test "$ac_init_help" = "long"; then
1237 # Omit some internal or obsolete options to make the list less imposing.
1238 # This message is too long to be a string in the A/UX 3.1 sh.
1240 \`configure' configures X3 1.6 to adapt to many kinds of systems.
1242 Usage: $0 [OPTION]... [VAR=VALUE]...
1244 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1245 VAR=VALUE. See below for descriptions of some of the useful variables.
1247 Defaults for the options are specified in brackets.
1250 -h, --help display this help and exit
1251 --help=short display options specific to this package
1252 --help=recursive display the short help of all the included packages
1253 -V, --version display version information and exit
1254 -q, --quiet, --silent do not print \`checking...' messages
1255 --cache-file=FILE cache test results in FILE [disabled]
1256 -C, --config-cache alias for \`--cache-file=config.cache'
1257 -n, --no-create do not create output files
1258 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1260 Installation directories:
1261 --prefix=PREFIX install architecture-independent files in PREFIX
1262 [$ac_default_prefix]
1263 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1266 By default, \`make install' will install all the files in
1267 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1268 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1269 for instance \`--prefix=\$HOME'.
1271 For better control, use the options below.
1273 Fine tuning of the installation directories:
1274 --bindir=DIR user executables [EPREFIX/bin]
1275 --sbindir=DIR system admin executables [EPREFIX/sbin]
1276 --libexecdir=DIR program executables [EPREFIX/libexec]
1277 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1278 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1279 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1280 --libdir=DIR object code libraries [EPREFIX/lib]
1281 --includedir=DIR C header files [PREFIX/include]
1282 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1283 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1284 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1285 --infodir=DIR info documentation [DATAROOTDIR/info]
1286 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1287 --mandir=DIR man documentation [DATAROOTDIR/man]
1288 --docdir=DIR documentation root [DATAROOTDIR/doc/x3]
1289 --htmldir=DIR html documentation [DOCDIR]
1290 --dvidir=DIR dvi documentation [DOCDIR]
1291 --pdfdir=DIR pdf documentation [DOCDIR]
1292 --psdir=DIR ps documentation [DOCDIR]
1298 --program-prefix=PREFIX prepend PREFIX to installed program names
1299 --program-suffix=SUFFIX append SUFFIX to installed program names
1300 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1303 --build=BUILD configure
for building on BUILD
[guessed
]
1304 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1305 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1309 if test -n "$ac_init_help"; then
1310 case $ac_init_help in
1311 short
| recursive
) echo "Configuration of X3 1.6:";;
1316 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1317 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1318 --enable-maintainer-mode enable make rules and dependencies not useful
1319 (and sometimes confusing
) to the casual installer
1320 --disable-dependency-tracking speeds up one
-time build
1321 --enable-dependency-tracking do not reject slow dependency extractors
1322 --disable-tokens Disables tokenization of P10 protocol output
1323 (tokens required
if linking to ircu
2.10.11)
1324 --enable-debug Enables debugging behaviors
1325 --enable-modules=list
,of
,modules Enable extra modules
1326 --disable-python don
't build the python plugin
1329 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1330 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1331 --with-malloc=type Enables use of a special malloc library; one of:
1332 system (the default), boehm-gc, dmalloc, mpatrol, x3, slab
1333 --with-protocol=name Choose IRC dialect to support; one of:
1335 --without-getopt Disables building of the GNU getopt library
1336 --with-tre=PATH Base path to where libtre is installed, such that
1337 PATH/lib/libtre.so and PATH/include/tre/regex.h exist.
1338 --with-coredumper=PATH Base path to where core dumper is installed, such
1339 that PATH/lib/libcoredumper.so and
1340 PATH/include/google/coredumper.h exist.
1341 --with-ssl=PATH Base path to where openssl is installed
1342 --with-ldap=PATH Base path to where the ldap library and headers are installed,
1343 such that PATH/include/ldap.h and PATH/lib/libldap.so exist.
1345 Some influential environment variables:
1346 CC C compiler command
1347 CFLAGS C compiler flags
1348 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1349 nonstandard directory <lib dir>
1350 LIBS libraries to pass to the linker, e.g. -l<library>
1351 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1352 you have headers in a nonstandard directory <include dir>
1355 Use these variables to override the choices made by `configure' or to
help
1356 it to
find libraries and programs with nonstandard names
/locations.
1358 Report bugs to
<evilnet
-devel@lists.sourceforge.net
>.
1363 if test "$ac_init_help" = "recursive"; then
1364 # If there are subdirs, report their specific --help.
1365 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1366 test -d "$ac_dir" || continue
1370 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1372 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1373 # A ".." for each directory in $ac_dir_suffix.
1374 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1375 case $ac_top_builddir_sub in
1376 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1377 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1380 ac_abs_top_builddir
=$ac_pwd
1381 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1382 # for backward compatibility:
1383 ac_top_builddir
=$ac_top_build_prefix
1386 .
) # We are building in place.
1388 ac_top_srcdir
=$ac_top_builddir_sub
1389 ac_abs_top_srcdir
=$ac_pwd ;;
1390 [\\/]* | ?
:[\\/]* ) # Absolute name.
1391 ac_srcdir
=$srcdir$ac_dir_suffix;
1392 ac_top_srcdir
=$srcdir
1393 ac_abs_top_srcdir
=$srcdir ;;
1395 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1396 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1397 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1399 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1401 cd "$ac_dir" || { ac_status
=$?
; continue; }
1402 # Check for guested configure.
1403 if test -f "$ac_srcdir/configure.gnu"; then
1405 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1406 elif test -f "$ac_srcdir/configure"; then
1408 $SHELL "$ac_srcdir/configure" --help=recursive
1410 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1412 cd "$ac_pwd" || { ac_status
=$?
; break; }
1416 test -n "$ac_init_help" && exit $ac_status
1417 if $ac_init_version; then
1420 generated by GNU Autoconf
2.61
1422 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1423 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1424 This configure
script is free software
; the Free Software Foundation
1425 gives unlimited permission to copy
, distribute and modify it.
1429 cat >config.log
<<_ACEOF
1430 This file contains any messages produced by compilers while
1431 running configure, to aid debugging if configure makes a mistake.
1433 It was created by X3 $as_me 1.6, which was
1434 generated by GNU Autoconf 2.61. Invocation command line was
1446 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1447 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1448 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1449 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1450 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1452 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1453 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1455 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1456 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1457 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1458 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1459 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1460 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1461 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1469 test -z "$as_dir" && as_dir
=.
1470 echo "PATH: $as_dir"
1486 # Keep a trace of the command line.
1487 # Strip out --no-create and --no-recursion so they do not pile up.
1488 # Strip out --silent because we don't want to record it for future runs.
1489 # Also quote any args containing shell meta-characters.
1490 # Make two passes to allow for proper duplicate-argument suppression.
1494 ac_must_keep_next
=false
1500 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1502 | -silent | --silent | --silen | --sile | --sil)
1505 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1508 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1510 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1511 if test $ac_must_keep_next = true
; then
1512 ac_must_keep_next
=false
# Got value, back to normal.
1515 *=* | --config-cache | -C | -disable-* | --disable-* \
1516 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1517 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1518 | -with-* | --with-* | -without-* | --without-* | --x)
1519 case "$ac_configure_args0 " in
1520 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1523 -* ) ac_must_keep_next
=true
;;
1526 ac_configure_args
="$ac_configure_args '$ac_arg'"
1531 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1532 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1534 # When interrupted or exit'd, cleanup temporary files, and complete
1535 # config.log. We remove comments because anyway the quotes in there
1536 # would cause problems or look ugly.
1537 # WARNING: Use '\'' to represent an apostrophe within the trap.
1538 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1539 trap 'exit_status=$?
1540 # Save into config.log some information that might help in debugging.
1545 ## ---------------- ##
1546 ## Cache variables. ##
1547 ## ---------------- ##
1550 # The following way of writing the cache mishandles newlines in values,
1552 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1553 eval ac_val=\$$ac_var
1557 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1558 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1561 _ | IFS | as_nl) ;; #(
1562 *) $as_unset $ac_var ;;
1567 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1568 *${as_nl}ac_space=\ *)
1570 "s/'\''/'\''\\\\'\'''\''/g;
1571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1574 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1582 ## ----------------- ##
1583 ## Output variables. ##
1584 ## ----------------- ##
1587 for ac_var in $ac_subst_vars
1589 eval ac_val=\$$ac_var
1591 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1593 echo "$ac_var='\''$ac_val'\''"
1597 if test -n "$ac_subst_files"; then
1599 ## ------------------- ##
1600 ## File substitutions. ##
1601 ## ------------------- ##
1604 for ac_var
in $ac_subst_files
1606 eval ac_val
=\$
$ac_var
1608 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1610 echo "$ac_var='\''$ac_val'\''"
1615 if test -s confdefs.h; then
1625 test "$ac_signal" != 0 &&
1626 echo "$as_me: caught signal $ac_signal"
1627 echo "$as_me: exit $exit_status"
1629 rm -f core *.core core.conftest.* &&
1630 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1633 for ac_signal
in 1 2 13 15; do
1634 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1638 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1639 rm -f -r conftest
* confdefs.h
1641 # Predefined preprocessor variables.
1643 cat >>confdefs.h
<<_ACEOF
1644 #define PACKAGE_NAME "$PACKAGE_NAME"
1648 cat >>confdefs.h
<<_ACEOF
1649 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1653 cat >>confdefs.h
<<_ACEOF
1654 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1658 cat >>confdefs.h
<<_ACEOF
1659 #define PACKAGE_STRING "$PACKAGE_STRING"
1663 cat >>confdefs.h
<<_ACEOF
1664 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1668 # Let the site file select an alternate cache file if it wants to.
1669 # Prefer explicitly selected file to automatically selected ones.
1670 if test -n "$CONFIG_SITE"; then
1671 set x
"$CONFIG_SITE"
1672 elif test "x$prefix" != xNONE
; then
1673 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1675 set x
"$ac_default_prefix/share/config.site" \
1676 "$ac_default_prefix/etc/config.site"
1681 if test -r "$ac_site_file"; then
1682 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1683 echo "$as_me: loading site script $ac_site_file" >&6;}
1684 sed 's/^/| /' "$ac_site_file" >&5
1689 if test -r "$cache_file"; then
1690 # Some versions of bash will fail to source /dev/null (special
1691 # files actually), so we avoid doing that.
1692 if test -f "$cache_file"; then
1693 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1694 echo "$as_me: loading cache $cache_file" >&6;}
1696 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1697 *) .
"./$cache_file";;
1701 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1702 echo "$as_me: creating cache $cache_file" >&6;}
1706 # Check that the precious variables saved in the cache have kept the same
1708 ac_cache_corrupted
=false
1709 for ac_var
in $ac_precious_vars; do
1710 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1711 eval ac_new_set
=\
$ac_env_${ac_var}_set
1712 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1713 eval ac_new_val
=\
$ac_env_${ac_var}_value
1714 case $ac_old_set,$ac_new_set in
1716 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1717 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1718 ac_cache_corrupted
=: ;;
1720 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1721 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1722 ac_cache_corrupted
=: ;;
1725 if test "x$ac_old_val" != "x$ac_new_val"; then
1726 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1727 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1728 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1729 echo "$as_me: former value: $ac_old_val" >&2;}
1730 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1731 echo "$as_me: current value: $ac_new_val" >&2;}
1732 ac_cache_corrupted
=:
1735 # Pass precious variables to config.status.
1736 if test "$ac_new_set" = set; then
1738 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1739 *) ac_arg
=$ac_var=$ac_new_val ;;
1741 case " $ac_configure_args " in
1742 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1743 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1747 if $ac_cache_corrupted; then
1748 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1749 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1750 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1751 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1752 { (exit 1); exit 1; }; }
1780 ac_cpp
='$CPP $CPPFLAGS'
1781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1787 ac_config_headers
="$ac_config_headers src/config.h"
1791 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1792 if test -f "$ac_dir/install-sh"; then
1794 ac_install_sh
="$ac_aux_dir/install-sh -c"
1796 elif test -f "$ac_dir/install.sh"; then
1798 ac_install_sh
="$ac_aux_dir/install.sh -c"
1800 elif test -f "$ac_dir/shtool"; then
1802 ac_install_sh
="$ac_aux_dir/shtool install -c"
1806 if test -z "$ac_aux_dir"; then
1807 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1808 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1809 { (exit 1); exit 1; }; }
1812 # These three variables are undocumented and unsupported,
1813 # and are intended to be withdrawn in a future Autoconf release.
1814 # They can cause serious problems if a builder's source tree is in a directory
1815 # whose full name contains unusual characters.
1816 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1817 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1818 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1821 # Make sure we can run config.sub.
1822 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1823 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1824 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1825 { (exit 1); exit 1; }; }
1827 { echo "$as_me:$LINENO: checking build system type" >&5
1828 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1829 if test "${ac_cv_build+set}" = set; then
1830 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 ac_build_alias
=$build_alias
1833 test "x$ac_build_alias" = x
&&
1834 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1835 test "x$ac_build_alias" = x
&&
1836 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1837 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1838 { (exit 1); exit 1; }; }
1839 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1840 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1841 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1842 { (exit 1); exit 1; }; }
1845 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1846 echo "${ECHO_T}$ac_cv_build" >&6; }
1847 case $ac_cv_build in
1849 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1850 echo "$as_me: error: invalid value of canonical build" >&2;}
1851 { (exit 1); exit 1; }; };;
1854 ac_save_IFS
=$IFS; IFS
='-'
1860 # Remember, the first character of IFS is used to create $*,
1861 # except with old shells:
1864 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1867 { echo "$as_me:$LINENO: checking host system type" >&5
1868 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1869 if test "${ac_cv_host+set}" = set; then
1870 echo $ECHO_N "(cached) $ECHO_C" >&6
1872 if test "x$host_alias" = x
; then
1873 ac_cv_host
=$ac_cv_build
1875 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1876 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1877 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1878 { (exit 1); exit 1; }; }
1882 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1883 echo "${ECHO_T}$ac_cv_host" >&6; }
1886 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1887 echo "$as_me: error: invalid value of canonical host" >&2;}
1888 { (exit 1); exit 1; }; };;
1891 ac_save_IFS
=$IFS; IFS
='-'
1897 # Remember, the first character of IFS is used to create $*,
1898 # except with old shells:
1901 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1904 { echo "$as_me:$LINENO: checking target system type" >&5
1905 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1906 if test "${ac_cv_target+set}" = set; then
1907 echo $ECHO_N "(cached) $ECHO_C" >&6
1909 if test "x$target_alias" = x
; then
1910 ac_cv_target
=$ac_cv_host
1912 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1913 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1914 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1915 { (exit 1); exit 1; }; }
1919 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1920 echo "${ECHO_T}$ac_cv_target" >&6; }
1921 case $ac_cv_target in
1923 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1924 echo "$as_me: error: invalid value of canonical target" >&2;}
1925 { (exit 1); exit 1; }; };;
1927 target
=$ac_cv_target
1928 ac_save_IFS
=$IFS; IFS
='-'
1934 # Remember, the first character of IFS is used to create $*,
1935 # except with old shells:
1938 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
1941 # The aliases save the names the user supplied, while $host etc.
1942 # will get canonicalized.
1943 test -n "$target_alias" &&
1944 test "$program_prefix$program_suffix$program_transform_name" = \
1946 program_prefix
=${target_alias}-
1947 am__api_version
='1.10'
1949 # Find a good install program. We prefer a C program (faster),
1950 # so one script is as good as another. But avoid the broken or
1951 # incompatible versions:
1952 # SysV /etc/install, /usr/sbin/install
1953 # SunOS /usr/etc/install
1954 # IRIX /sbin/install
1956 # AmigaOS /C/install, which installs bootblocks on floppy discs
1957 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1958 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1959 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1960 # OS/2's system install, which has a completely different semantic
1961 # ./install, which can be erroneously created by make from ./install.sh.
1962 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1963 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1964 if test -z "$INSTALL"; then
1965 if test "${ac_cv_path_install+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1972 test -z "$as_dir" && as_dir
=.
1973 # Account for people who put trailing slashes in PATH elements.
1975 .
/ | .
// | /cC
/* | \
1976 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
1977 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1980 # OSF1 and SCO ODT 3.0 have their own names for install.
1981 # Don't use installbsd from OSF since it installs stuff as root
1983 for ac_prog
in ginstall scoinst
install; do
1984 for ac_exec_ext
in '' $ac_executable_extensions; do
1985 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1986 if test $ac_prog = install &&
1987 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1988 # AIX install. It has an incompatible calling convention.
1990 elif test $ac_prog = install &&
1991 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1992 # program-specific install script used by HP pwplus--don't use.
1995 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2008 if test "${ac_cv_path_install+set}" = set; then
2009 INSTALL
=$ac_cv_path_install
2011 # As a last resort, use the slow shell script. Don't cache a
2012 # value for INSTALL within a source directory, because that will
2013 # break other packages using the cache if that directory is
2014 # removed, or if the value is a relative name.
2015 INSTALL
=$ac_install_sh
2018 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2019 echo "${ECHO_T}$INSTALL" >&6; }
2021 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2022 # It thinks the first close brace ends the variable substitution.
2023 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2025 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2027 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2029 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2030 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2033 echo timestamp
> conftest.
file
2034 # Do `set' in a subshell so we don't clobber the current shell's
2035 # arguments. Must try -L first in case configure is actually a
2036 # symlink; some systems play weird games with the mod time of symlinks
2037 # (eg FreeBSD returns the mod time of the symlink's containing
2040 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2041 if test "$*" = "X"; then
2043 set X
`ls -t $srcdir/configure conftest.file`
2046 if test "$*" != "X $srcdir/configure conftest.file" \
2047 && test "$*" != "X conftest.file $srcdir/configure"; then
2049 # If neither matched, then we have a broken ls. This can happen
2050 # if, for instance, CONFIG_SHELL is bash and it inherits a
2051 # broken ls alias from the environment. This has actually
2052 # happened. Such a system could not be considered "sane".
2053 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2054 alias in your environment" >&5
2055 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2056 alias in your environment" >&2;}
2057 { (exit 1); exit 1; }; }
2060 test "$2" = conftest.
file
2066 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2067 Check your system clock" >&5
2068 echo "$as_me: error: newly created file is older than distributed files!
2069 Check your system clock" >&2;}
2070 { (exit 1); exit 1; }; }
2072 { echo "$as_me:$LINENO: result: yes" >&5
2073 echo "${ECHO_T}yes" >&6; }
2074 test "$program_prefix" != NONE
&&
2075 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2076 # Use a double $ so make ignores it.
2077 test "$program_suffix" != NONE
&&
2078 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2079 # Double any \ or $. echo might interpret backslashes.
2080 # By default was `s,x,x', remove it if useless.
2081 cat <<\_ACEOF
>conftest.
sed
2082 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2084 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2087 # expand $ac_aux_dir to an absolute path
2088 am_aux_dir
=`cd $ac_aux_dir && pwd`
2090 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
2091 # Use eval to expand $SHELL
2092 if eval "$MISSING --run true"; then
2093 am_missing_run
="$MISSING --run "
2096 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2097 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2100 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2101 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2102 if test -z "$MKDIR_P"; then
2103 if test "${ac_cv_path_mkdir+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2107 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2110 test -z "$as_dir" && as_dir
=.
2111 for ac_prog
in mkdir gmkdir
; do
2112 for ac_exec_ext
in '' $ac_executable_extensions; do
2113 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2114 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2115 'mkdir (GNU coreutils) '* | \
2116 'mkdir (coreutils) '* | \
2117 'mkdir (fileutils) '4.1*)
2118 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2128 if test "${ac_cv_path_mkdir+set}" = set; then
2129 MKDIR_P
="$ac_cv_path_mkdir -p"
2131 # As a last resort, use the slow shell script. Don't cache a
2132 # value for MKDIR_P within a source directory, because that will
2133 # break other packages using the cache if that directory is
2134 # removed, or if the value is a relative name.
2135 test -d .
/--version && rmdir .
/--version
2136 MKDIR_P
="$ac_install_sh -d"
2139 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2140 echo "${ECHO_T}$MKDIR_P" >&6; }
2144 [\\/$
]* | ?
:[\\/]*) ;;
2145 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2148 for ac_prog
in gawk mawk nawk
awk
2150 # Extract the first word of "$ac_prog", so it can be a program name with args.
2151 set dummy
$ac_prog; ac_word
=$2
2152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2154 if test "${ac_cv_prog_AWK+set}" = set; then
2155 echo $ECHO_N "(cached) $ECHO_C" >&6
2157 if test -n "$AWK"; then
2158 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2164 test -z "$as_dir" && as_dir
=.
2165 for ac_exec_ext
in '' $ac_executable_extensions; do
2166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2167 ac_cv_prog_AWK
="$ac_prog"
2168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 if test -n "$AWK"; then
2179 { echo "$as_me:$LINENO: result: $AWK" >&5
2180 echo "${ECHO_T}$AWK" >&6; }
2182 { echo "$as_me:$LINENO: result: no" >&5
2183 echo "${ECHO_T}no" >&6; }
2187 test -n "$AWK" && break
2190 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2191 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2192 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2193 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2196 cat >conftest.
make <<\_ACEOF
2199 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2201 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2202 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2204 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2206 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2210 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2211 { echo "$as_me:$LINENO: result: yes" >&5
2212 echo "${ECHO_T}yes" >&6; }
2215 { echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6; }
2217 SET_MAKE
="MAKE=${MAKE-make}"
2220 rm -rf .tst
2>/dev
/null
2221 mkdir .tst
2>/dev
/null
2222 if test -d .tst
; then
2227 rmdir .tst
2>/dev
/null
2229 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2230 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2231 # is not polluted with repeated "-I."
2232 am__isrc
=' -I$(srcdir)'
2233 # test to see if srcdir already configured
2234 if test -f $srcdir/config.status
; then
2235 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2236 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2237 { (exit 1); exit 1; }; }
2241 # test whether we have cygpath
2242 if test -z "$CYGPATH_W"; then
2243 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2244 CYGPATH_W
='cygpath -w'
2251 # Define the identity of the package.
2256 cat >>confdefs.h
<<_ACEOF
2257 #define PACKAGE "$PACKAGE"
2261 cat >>confdefs.h
<<_ACEOF
2262 #define VERSION "$VERSION"
2265 # Some tools Automake needs.
2267 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2270 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2273 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2276 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2279 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2281 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2283 # Installed binaries are usually stripped using `strip' when the user
2284 # run `make install-strip'. However `strip' might not be the right
2285 # tool to use in cross-compilation environments, therefore Automake
2286 # will honor the `STRIP' environment variable to overrule this program.
2287 if test "$cross_compiling" != no
; then
2288 if test -n "$ac_tool_prefix"; then
2289 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2290 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2293 if test "${ac_cv_prog_STRIP+set}" = set; then
2294 echo $ECHO_N "(cached) $ECHO_C" >&6
2296 if test -n "$STRIP"; then
2297 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2303 test -z "$as_dir" && as_dir
=.
2304 for ac_exec_ext
in '' $ac_executable_extensions; do
2305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2306 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 STRIP
=$ac_cv_prog_STRIP
2317 if test -n "$STRIP"; then
2318 { echo "$as_me:$LINENO: result: $STRIP" >&5
2319 echo "${ECHO_T}$STRIP" >&6; }
2321 { echo "$as_me:$LINENO: result: no" >&5
2322 echo "${ECHO_T}no" >&6; }
2327 if test -z "$ac_cv_prog_STRIP"; then
2329 # Extract the first word of "strip", so it can be a program name with args.
2330 set dummy strip
; ac_word
=$2
2331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2333 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 if test -n "$ac_ct_STRIP"; then
2337 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2343 test -z "$as_dir" && as_dir
=.
2344 for ac_exec_ext
in '' $ac_executable_extensions; do
2345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346 ac_cv_prog_ac_ct_STRIP
="strip"
2347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2356 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2357 if test -n "$ac_ct_STRIP"; then
2358 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2359 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2361 { echo "$as_me:$LINENO: result: no" >&5
2362 echo "${ECHO_T}no" >&6; }
2365 if test "x$ac_ct_STRIP" = x
; then
2368 case $cross_compiling:$ac_tool_warned in
2370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2371 whose name does not start with the host triplet. If you think this
2372 configuration is useful to you, please write to autoconf@gnu.org." >&5
2373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2374 whose name does not start with the host triplet. If you think this
2375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2376 ac_tool_warned
=yes ;;
2381 STRIP
="$ac_cv_prog_STRIP"
2385 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2387 # We need awk for the "check" target. The system "awk" is bad on
2389 # Always define AMTAR for backward compatibility.
2391 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2393 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2399 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2400 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2401 # Check whether --enable-maintainer-mode was given.
2402 if test "${enable_maintainer_mode+set}" = set; then
2403 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2405 USE_MAINTAINER_MODE
=no
2408 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2409 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2410 if test $USE_MAINTAINER_MODE = yes; then
2411 MAINTAINER_MODE_TRUE
=
2412 MAINTAINER_MODE_FALSE
='#'
2414 MAINTAINER_MODE_TRUE
='#'
2415 MAINTAINER_MODE_FALSE
=
2418 MAINT
=$MAINTAINER_MODE_TRUE
2422 DEPDIR
="${am__leading_dot}deps"
2424 ac_config_commands
="$ac_config_commands depfiles"
2427 am_make
=${MAKE-make}
2428 cat > confinc
<< 'END'
2433 # If we don't find an include directive, just comment out the code.
2434 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2435 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2439 # First try GNU make style include.
2440 echo "include confinc" > confmf
2441 # We grep out `Entering directory' and `Leaving directory'
2442 # messages which can occur if `w' ends up in MAKEFLAGS.
2443 # In particular we don't look at `^make:' because GNU make might
2444 # be invoked under some other name (usually "gmake"), in which
2445 # case it prints its new name instead of `make'.
2446 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2451 # Now try BSD make style include.
2452 if test "$am__include" = "#"; then
2453 echo '.include "confinc"' > confmf
2454 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2455 am__include
=.include
2462 { echo "$as_me:$LINENO: result: $_am_result" >&5
2463 echo "${ECHO_T}$_am_result" >&6; }
2464 rm -f confinc confmf
2466 # Check whether --enable-dependency-tracking was given.
2467 if test "${enable_dependency_tracking+set}" = set; then
2468 enableval
=$enable_dependency_tracking;
2471 if test "x$enable_dependency_tracking" != xno
; then
2472 am_depcomp
="$ac_aux_dir/depcomp"
2475 if test "x$enable_dependency_tracking" != xno; then
2485 ac_cpp
='$CPP $CPPFLAGS'
2486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2489 if test -n "$ac_tool_prefix"; then
2490 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2491 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2494 if test "${ac_cv_prog_CC+set}" = set; then
2495 echo $ECHO_N "(cached) $ECHO_C" >&6
2497 if test -n "$CC"; then
2498 ac_cv_prog_CC
="$CC" # Let the user override the test.
2500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2504 test -z "$as_dir" && as_dir
=.
2505 for ac_exec_ext
in '' $ac_executable_extensions; do
2506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2507 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2518 if test -n "$CC"; then
2519 { echo "$as_me:$LINENO: result: $CC" >&5
2520 echo "${ECHO_T}$CC" >&6; }
2522 { echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6; }
2528 if test -z "$ac_cv_prog_CC"; then
2530 # Extract the first word of "gcc", so it can be a program name with args.
2531 set dummy gcc
; ac_word
=$2
2532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2534 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 if test -n "$ac_ct_CC"; then
2538 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2544 test -z "$as_dir" && as_dir
=.
2545 for ac_exec_ext
in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_ac_ct_CC
="gcc"
2548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2558 if test -n "$ac_ct_CC"; then
2559 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2560 echo "${ECHO_T}$ac_ct_CC" >&6; }
2562 { echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6; }
2566 if test "x$ac_ct_CC" = x
; then
2569 case $cross_compiling:$ac_tool_warned in
2571 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2572 whose name does not start with the host triplet. If you think this
2573 configuration is useful to you, please write to autoconf@gnu.org." >&5
2574 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2575 whose name does not start with the host triplet. If you think this
2576 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2577 ac_tool_warned
=yes ;;
2585 if test -z "$CC"; then
2586 if test -n "$ac_tool_prefix"; then
2587 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2588 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2591 if test "${ac_cv_prog_CC+set}" = set; then
2592 echo $ECHO_N "(cached) $ECHO_C" >&6
2594 if test -n "$CC"; then
2595 ac_cv_prog_CC
="$CC" # Let the user override the test.
2597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2601 test -z "$as_dir" && as_dir
=.
2602 for ac_exec_ext
in '' $ac_executable_extensions; do
2603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2615 if test -n "$CC"; then
2616 { echo "$as_me:$LINENO: result: $CC" >&5
2617 echo "${ECHO_T}$CC" >&6; }
2619 { echo "$as_me:$LINENO: result: no" >&5
2620 echo "${ECHO_T}no" >&6; }
2626 if test -z "$CC"; then
2627 # Extract the first word of "cc", so it can be a program name with args.
2628 set dummy cc
; ac_word
=$2
2629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2631 if test "${ac_cv_prog_CC+set}" = set; then
2632 echo $ECHO_N "(cached) $ECHO_C" >&6
2634 if test -n "$CC"; then
2635 ac_cv_prog_CC
="$CC" # Let the user override the test.
2638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2642 test -z "$as_dir" && as_dir
=.
2643 for ac_exec_ext
in '' $ac_executable_extensions; do
2644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2645 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2646 ac_prog_rejected
=yes
2650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 if test $ac_prog_rejected = yes; then
2658 # We found a bogon in the path, so make sure we never use it.
2659 set dummy
$ac_cv_prog_CC
2661 if test $# != 0; then
2662 # We chose a different compiler from the bogus one.
2663 # However, it has the same basename, so the bogon will be chosen
2664 # first if we set CC to just the basename; use the full file name.
2666 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2672 if test -n "$CC"; then
2673 { echo "$as_me:$LINENO: result: $CC" >&5
2674 echo "${ECHO_T}$CC" >&6; }
2676 { echo "$as_me:$LINENO: result: no" >&5
2677 echo "${ECHO_T}no" >&6; }
2682 if test -z "$CC"; then
2683 if test -n "$ac_tool_prefix"; then
2684 for ac_prog
in cl.exe
2686 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2687 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2690 if test "${ac_cv_prog_CC+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2693 if test -n "$CC"; then
2694 ac_cv_prog_CC
="$CC" # Let the user override the test.
2696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir
=.
2701 for ac_exec_ext
in '' $ac_executable_extensions; do
2702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 if test -n "$CC"; then
2715 { echo "$as_me:$LINENO: result: $CC" >&5
2716 echo "${ECHO_T}$CC" >&6; }
2718 { echo "$as_me:$LINENO: result: no" >&5
2719 echo "${ECHO_T}no" >&6; }
2723 test -n "$CC" && break
2726 if test -z "$CC"; then
2728 for ac_prog
in cl.exe
2730 # Extract the first word of "$ac_prog", so it can be a program name with args.
2731 set dummy
$ac_prog; ac_word
=$2
2732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2734 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2735 echo $ECHO_N "(cached) $ECHO_C" >&6
2737 if test -n "$ac_ct_CC"; then
2738 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2744 test -z "$as_dir" && as_dir
=.
2745 for ac_exec_ext
in '' $ac_executable_extensions; do
2746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2747 ac_cv_prog_ac_ct_CC
="$ac_prog"
2748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2758 if test -n "$ac_ct_CC"; then
2759 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2760 echo "${ECHO_T}$ac_ct_CC" >&6; }
2762 { echo "$as_me:$LINENO: result: no" >&5
2763 echo "${ECHO_T}no" >&6; }
2767 test -n "$ac_ct_CC" && break
2770 if test "x$ac_ct_CC" = x
; then
2773 case $cross_compiling:$ac_tool_warned in
2775 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2776 whose name does not start with the host triplet. If you think this
2777 configuration is useful to you, please write to autoconf@gnu.org." >&5
2778 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2779 whose name does not start with the host triplet. If you think this
2780 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2781 ac_tool_warned
=yes ;;
2790 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2791 See \`config.log' for more details." >&5
2792 echo "$as_me: error: no acceptable C compiler found in \$PATH
2793 See \`config.log' for more details." >&2;}
2794 { (exit 1); exit 1; }; }
2796 # Provide some information about the compiler.
2797 echo "$as_me:$LINENO: checking for C compiler version" >&5
2798 ac_compiler
=`set X $ac_compile; echo $2`
2799 { (ac_try
="$ac_compiler --version >&5"
2801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2805 (eval "$ac_compiler --version >&5") 2>&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }
2809 { (ac_try="$ac_compiler -v >&5"
2811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2812 *) ac_try_echo
=$ac_try;;
2814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2815 (eval "$ac_compiler -v >&5") 2>&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }
2819 { (ac_try
="$ac_compiler -V >&5"
2821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2825 (eval "$ac_compiler -V >&5") 2>&5
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }
2830 cat >conftest.$ac_ext <<_ACEOF
2833 cat confdefs.h >>conftest.$ac_ext
2834 cat >>conftest.$ac_ext <<_ACEOF
2835 /* end confdefs.h. */
2845 ac_clean_files_save=$ac_clean_files
2846 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2847 # Try to create an executable without -o first, disregard a.out.
2848 # It will help us diagnose broken compilers, and finding out an intuition
2850 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2851 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2852 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2854 # List of possible output files, starting from the most likely.
2855 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2856 # only as a last resort. b.out is created by i960 compilers.
2857 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2859 # The IRIX 6 linker writes into existing files which may not be
2860 # executable, retaining their permissions. Remove them first so a
2861 # subsequent execution test works.
2863 for ac_file in $ac_files
2866 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2867 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2872 if { (ac_try="$ac_link_default"
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2878 (eval "$ac_link_default") 2>&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; then
2882 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2883 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2884 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2885 # so that the user can short-circuit this test for compilers unknown to
2887 for ac_file
in $ac_files ''
2889 test -f "$ac_file" || continue
2891 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
2894 # We found the default executable, but exeext='' is most
2898 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2900 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2902 # We set ac_cv_exeext here because the later test for it is not
2903 # safe: cross compilers may not add the suffix if given an `-o'
2904 # argument, so we may need to know it at that point already.
2905 # Even if this section looks crufty: it has the advantage of
2912 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2918 { echo "$as_me:$LINENO: result: $ac_file" >&5
2919 echo "${ECHO_T}$ac_file" >&6; }
2920 if test -z "$ac_file"; then
2921 echo "$as_me: failed program was:" >&5
2922 sed 's/^/| /' conftest.
$ac_ext >&5
2924 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2925 See \`config.log' for more details." >&5
2926 echo "$as_me: error: C compiler cannot create executables
2927 See \`config.log' for more details." >&2;}
2928 { (exit 77); exit 77; }; }
2931 ac_exeext
=$ac_cv_exeext
2933 # Check that the compiler produces executables we can run. If not, either
2934 # the compiler is broken, or we cross compile.
2935 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2936 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2937 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2938 # If not cross compiling, check that we can run a simple program.
2939 if test "$cross_compiling" != yes; then
2940 if { ac_try
='./$ac_file'
2941 { (case "(($ac_try" in
2942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2946 (eval "$ac_try") 2>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; }; then
2952 if test "$cross_compiling" = maybe; then
2955 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2956 If you meant to cross compile, use \`--host'.
2957 See \`config.log' for more details.
" >&5
2958 echo "$as_me: error
: cannot run C compiled programs.
2959 If you meant to cross compile
, use \
`--host'.
2960 See \`config.log
' for more details." >&2;}
2961 { (exit 1); exit 1; }; }
2965 { echo "$as_me:$LINENO: result: yes" >&5
2966 echo "${ECHO_T}yes" >&6; }
2968 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2969 ac_clean_files=$ac_clean_files_save
2970 # Check that the compiler produces executables we can run. If not, either
2971 # the compiler is broken, or we cross compile.
2972 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2973 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2974 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2975 echo "${ECHO_T}$cross_compiling" >&6; }
2977 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2978 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2979 if { (ac_try="$ac_link"
2981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2982 *) ac_try_echo=$ac_try;;
2984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2985 (eval "$ac_link") 2>&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); }; then
2989 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2990 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2991 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2993 for ac_file
in conftest.exe conftest conftest.
*; do
2994 test -f "$ac_file" || continue
2996 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
2997 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3003 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3004 See \`config.log' for more details." >&5
3005 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3006 See \`config.log' for more details." >&2;}
3007 { (exit 1); exit 1; }; }
3010 rm -f conftest
$ac_cv_exeext
3011 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3012 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3014 rm -f conftest.
$ac_ext
3015 EXEEXT
=$ac_cv_exeext
3017 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3018 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3019 if test "${ac_cv_objext+set}" = set; then
3020 echo $ECHO_N "(cached) $ECHO_C" >&6
3022 cat >conftest.
$ac_ext <<_ACEOF
3025 cat confdefs.h
>>conftest.
$ac_ext
3026 cat >>conftest.
$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3037 rm -f conftest.o conftest.obj
3038 if { (ac_try
="$ac_compile"
3040 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3044 (eval "$ac_compile") 2>&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); }; then
3048 for ac_file in conftest.o conftest.obj conftest.*; do
3049 test -f "$ac_file" || continue;
3051 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3052 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3057 echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.$ac_ext >&5
3060 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3061 See \`config.log
' for more details." >&5
3062 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3063 See \`config.log' for more details.
" >&2;}
3064 { (exit 1); exit 1; }; }
3067 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3069 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3070 echo "${ECHO_T}$ac_cv_objext" >&6; }
3071 OBJEXT=$ac_cv_objext
3073 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3074 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3075 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3076 echo $ECHO_N "(cached
) $ECHO_C" >&6
3078 cat >conftest.$ac_ext <<_ACEOF
3081 cat confdefs.h >>conftest.$ac_ext
3082 cat >>conftest.$ac_ext <<_ACEOF
3083 /* end confdefs.h. */
3096 rm -f conftest.$ac_objext
3097 if { (ac_try="$ac_compile"
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3103 (eval "$ac_compile") 2>conftest.er1
3105 grep -v '^ *+' conftest.er1 >conftest.err
3107 cat conftest.err >&5
3108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3109 (exit $ac_status); } && {
3110 test -z "$ac_c_werror_flag" ||
3111 test ! -s conftest.err
3112 } && test -s conftest.$ac_objext; then
3115 echo "$as_me: failed program was
:" >&5
3116 sed 's/^/| /' conftest.$ac_ext >&5
3121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3122 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3125 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3126 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3127 GCC=`test $ac_compiler_gnu = yes && echo yes`
3128 ac_test_CFLAGS=${CFLAGS+set}
3129 ac_save_CFLAGS=$CFLAGS
3130 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3131 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3132 if test "${ac_cv_prog_cc_g+set}" = set; then
3133 echo $ECHO_N "(cached
) $ECHO_C" >&6
3135 ac_save_c_werror_flag=$ac_c_werror_flag
3136 ac_c_werror_flag=yes
3139 cat >conftest.$ac_ext <<_ACEOF
3142 cat confdefs.h >>conftest.$ac_ext
3143 cat >>conftest.$ac_ext <<_ACEOF
3144 /* end confdefs.h. */
3154 rm -f conftest.$ac_objext
3155 if { (ac_try="$ac_compile"
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3161 (eval "$ac_compile") 2>conftest.er1
3163 grep -v '^ *+' conftest.er1 >conftest.err
3165 cat conftest.err >&5
3166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3167 (exit $ac_status); } && {
3168 test -z "$ac_c_werror_flag" ||
3169 test ! -s conftest.err
3170 } && test -s conftest.$ac_objext; then
3173 echo "$as_me: failed program was
:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3177 cat >conftest.$ac_ext <<_ACEOF
3180 cat confdefs.h >>conftest.$ac_ext
3181 cat >>conftest.$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3192 rm -f conftest.$ac_objext
3193 if { (ac_try="$ac_compile"
3195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196 *) ac_try_echo=$ac_try;;
3198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3199 (eval "$ac_compile") 2>conftest.er1
3201 grep -v '^ *+' conftest.er1 >conftest.err
3203 cat conftest.err >&5
3204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3205 (exit $ac_status); } && {
3206 test -z "$ac_c_werror_flag" ||
3207 test ! -s conftest.err
3208 } && test -s conftest.$ac_objext; then
3211 echo "$as_me: failed program was
:" >&5
3212 sed 's/^/| /' conftest.$ac_ext >&5
3214 ac_c_werror_flag=$ac_save_c_werror_flag
3216 cat >conftest.$ac_ext <<_ACEOF
3219 cat confdefs.h >>conftest.$ac_ext
3220 cat >>conftest.$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3231 rm -f conftest.$ac_objext
3232 if { (ac_try="$ac_compile"
3234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3235 *) ac_try_echo=$ac_try;;
3237 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3238 (eval "$ac_compile") 2>conftest.er1
3240 grep -v '^ *+' conftest.er1 >conftest.err
3242 cat conftest.err >&5
3243 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3244 (exit $ac_status); } && {
3245 test -z "$ac_c_werror_flag" ||
3246 test ! -s conftest.err
3247 } && test -s conftest.$ac_objext; then
3250 echo "$as_me: failed program was
:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3263 ac_c_werror_flag=$ac_save_c_werror_flag
3265 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3266 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3267 if test "$ac_test_CFLAGS" = set; then
3268 CFLAGS=$ac_save_CFLAGS
3269 elif test $ac_cv_prog_cc_g = yes; then
3270 if test "$GCC" = yes; then
3276 if test "$GCC" = yes; then
3282 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3283 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3284 if test "${ac_cv_prog_cc_c89+set}" = set; then
3285 echo $ECHO_N "(cached
) $ECHO_C" >&6
3287 ac_cv_prog_cc_c89=no
3289 cat >conftest.$ac_ext <<_ACEOF
3292 cat confdefs.h >>conftest.$ac_ext
3293 cat >>conftest.$ac_ext <<_ACEOF
3294 /* end confdefs.h. */
3297 #include <sys/types.h>
3298 #include <sys/stat.h>
3299 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3300 struct buf { int x; };
3301 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3302 static char *e (p, i)
3308 static char *f (char * (*g) (char **, int), char **p, ...)
3313 s = g (p, va_arg (v,int));
3318 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3319 function prototypes and stuff, but not '\xHH' hex character constants.
3320 These don't provoke an error unfortunately, instead are silently treated
3321 as 'x'. The following induces an error, until -std is added to get
3322 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3323 array size at least. It's necessary to write '\x00'==0 to get something
3324 that's true only with -std. */
3325 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3327 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3328 inside strings and character constants. */
3330 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3332 int test (int i, double x);
3333 struct s1 {int (*f) (int a);};
3334 struct s2 {int (*f) (double a);};
3335 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3341 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3346 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3347 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3349 CC="$ac_save_CC $ac_arg"
3350 rm -f conftest.$ac_objext
3351 if { (ac_try="$ac_compile"
3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354 *) ac_try_echo=$ac_try;;
3356 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3357 (eval "$ac_compile") 2>conftest.er1
3359 grep -v '^ *+' conftest.er1 >conftest.err
3361 cat conftest.err >&5
3362 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3363 (exit $ac_status); } && {
3364 test -z "$ac_c_werror_flag" ||
3365 test ! -s conftest.err
3366 } && test -s conftest.$ac_objext; then
3367 ac_cv_prog_cc_c89=$ac_arg
3369 echo "$as_me: failed program was
:" >&5
3370 sed 's/^/| /' conftest.$ac_ext >&5
3375 rm -f core conftest.err conftest.$ac_objext
3376 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3378 rm -f conftest.$ac_ext
3383 case "x
$ac_cv_prog_cc_c89" in
3385 { echo "$as_me:$LINENO: result
: none needed
" >&5
3386 echo "${ECHO_T}none needed
" >&6; } ;;
3388 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3389 echo "${ECHO_T}unsupported
" >&6; } ;;
3391 CC="$CC $ac_cv_prog_cc_c89"
3392 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3393 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3398 ac_cpp='$CPP $CPPFLAGS'
3399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3403 depcc="$CC" am_compiler_list=
3405 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3406 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3407 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3408 echo $ECHO_N "(cached
) $ECHO_C" >&6
3410 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3411 # We make a subdir and do the tests there. Otherwise we can end up
3412 # making bogus files that we don't know about and never remove. For
3413 # instance it was reported that on HP-UX the gcc test will end up
3414 # making a dummy file named `D' -- because `-MD' means `put the output
3417 # Copy depcomp to subdir because otherwise we won't find it if we're
3418 # using a relative directory.
3419 cp "$am_depcomp" conftest.dir
3421 # We will build objects and dependencies in a subdirectory because
3422 # it helps to detect inapplicable dependency modes. For instance
3423 # both Tru64's cc and ICC support -MD to output dependencies as a
3424 # side effect of compilation, but ICC will put the dependencies in
3425 # the current directory while Tru64 will put them in the object
3429 am_cv_CC_dependencies_compiler_type=none
3430 if test "$am_compiler_list" = ""; then
3431 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3433 for depmode in $am_compiler_list; do
3434 # Setup a source with many dependencies, because some compilers
3435 # like to wrap large dependency lists on column 80 (with \), and
3436 # we should not choose a depcomp mode which is confused by this.
3438 # We need to recreate these files for each test, as the compiler may
3439 # overwrite some of them when testing with obscure command lines.
3440 # This happens at least with the AIX C compiler.
3442 for i in 1 2 3 4 5 6; do
3443 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3444 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3445 # Solaris 8's {/usr,}/bin/sh.
3446 touch sub/conftst$i.h
3448 echo "${am__include} ${am__quote}sub
/conftest.Po
${am__quote}" > confmf
3452 # after this tag, mechanisms are not by side-effect, so they'll
3453 # only be used when explicitly requested
3454 if test "x
$enable_dependency_tracking" = xyes; then
3462 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3463 # mode. It turns out that the SunPro C++ compiler does not properly
3464 # handle `-M -o', and we need to detect this.
3465 if depmode=$depmode \
3466 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3467 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3468 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3469 >/dev/null 2>conftest.err &&
3470 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3471 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3472 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3473 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3474 # icc doesn't choke on unknown options, it will just issue warnings
3475 # or remarks (even with -Werror). So we grep stderr for any message
3476 # that says an option was ignored or not supported.
3477 # When given -MP, icc 7.0 and 7.1 complain thusly:
3478 # icc: Command line warning: ignoring option '-M'; no argument required
3479 # The diagnosis changed in icc 8.0:
3480 # icc: Command line remark: option '-MP' not supported
3481 if (grep 'ignoring option' conftest.err ||
3482 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3483 am_cv_CC_dependencies_compiler_type=$depmode
3492 am_cv_CC_dependencies_compiler_type=none
3496 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3497 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3498 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3501 test "x
$enable_dependency_tracking" != xno \
3502 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3504 am__fastdepCC_FALSE='#'
3506 am__fastdepCC_TRUE='#'
3507 am__fastdepCC_FALSE=
3512 { echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
3513 echo $ECHO_N "checking
return type of signal handlers...
$ECHO_C" >&6; }
3514 if test "${ac_cv_type_signal+set}" = set; then
3515 echo $ECHO_N "(cached
) $ECHO_C" >&6
3517 cat >conftest.$ac_ext <<_ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3523 #include <sys/types.h>
3529 return *(signal (0, 0)) (0) == 1;
3534 rm -f conftest.$ac_objext
3535 if { (ac_try="$ac_compile"
3537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3538 *) ac_try_echo=$ac_try;;
3540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3541 (eval "$ac_compile") 2>conftest.er1
3543 grep -v '^ *+' conftest.er1 >conftest.err
3545 cat conftest.err >&5
3546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3547 (exit $ac_status); } && {
3548 test -z "$ac_c_werror_flag" ||
3549 test ! -s conftest.err
3550 } && test -s conftest.$ac_objext; then
3551 ac_cv_type_signal=int
3553 echo "$as_me: failed program was
:" >&5
3554 sed 's/^/| /' conftest.$ac_ext >&5
3556 ac_cv_type_signal=void
3559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 { echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
3562 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
3564 cat >>confdefs.h <<_ACEOF
3565 #define RETSIGTYPE $ac_cv_type_signal
3569 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
3570 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
3571 if test "${ac_cv_c_const+set}" = set; then
3572 echo $ECHO_N "(cached
) $ECHO_C" >&6
3574 cat >conftest.$ac_ext <<_ACEOF
3577 cat confdefs.h >>conftest.$ac_ext
3578 cat >>conftest.$ac_ext <<_ACEOF
3579 /* end confdefs.h. */
3584 /* FIXME: Include the comments suggested by Paul. */
3586 /* Ultrix mips cc rejects this. */
3587 typedef int charset[2];
3589 /* SunOS 4.1.1 cc rejects this. */
3590 char const *const *pcpcc;
3592 /* NEC SVR4.0.2 mips cc rejects this. */
3593 struct point {int x, y;};
3594 static struct point const zero = {0,0};
3595 /* AIX XL C 1.02.0.0 rejects this.
3596 It does not let you subtract one const X* pointer from another in
3597 an arm of an if-expression whose if-part is not a constant
3599 const char *g = "string
";
3600 pcpcc = &g + (g ? g-g : 0);
3601 /* HPUX 7.0 cc rejects these. */
3603 ppc = (char**) pcpcc;
3604 pcpcc = (char const *const *) ppc;
3605 { /* SCO 3.2v4 cc rejects this. */
3607 char const *s = 0 ? (char *) 0 : (char const *) 0;
3612 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3614 const int *foo = &x[0];
3617 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3618 typedef const int *iptr;
3622 { /* AIX XL C 1.02.0.0 rejects this saying
3623 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3624 struct s { int j; const int *ap[3]; };
3625 struct s *b; b->j = 5;
3627 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3631 return !cs[0] && !zero.x;
3638 rm -f conftest.$ac_objext
3639 if { (ac_try="$ac_compile"
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3644 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3645 (eval "$ac_compile") 2>conftest.er1
3647 grep -v '^ *+' conftest.er1 >conftest.err
3649 cat conftest.err >&5
3650 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3651 (exit $ac_status); } && {
3652 test -z "$ac_c_werror_flag" ||
3653 test ! -s conftest.err
3654 } && test -s conftest.$ac_objext; then
3657 echo "$as_me: failed program was
:" >&5
3658 sed 's/^/| /' conftest.$ac_ext >&5
3663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
3666 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3667 if test $ac_cv_c_const = no; then
3669 cat >>confdefs.h <<\_ACEOF
3675 { echo "$as_me:$LINENO: checking
for inline
" >&5
3676 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
3677 if test "${ac_cv_c_inline+set}" = set; then
3678 echo $ECHO_N "(cached
) $ECHO_C" >&6
3681 for ac_kw in inline __inline__ __inline; do
3682 cat >conftest.$ac_ext <<_ACEOF
3685 cat confdefs.h >>conftest.$ac_ext
3686 cat >>conftest.$ac_ext <<_ACEOF
3687 /* end confdefs.h. */
3690 static $ac_kw foo_t static_foo () {return 0; }
3691 $ac_kw foo_t foo () {return 0; }
3695 rm -f conftest.$ac_objext
3696 if { (ac_try="$ac_compile"
3698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3699 *) ac_try_echo=$ac_try;;
3701 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3702 (eval "$ac_compile") 2>conftest.er1
3704 grep -v '^ *+' conftest.er1 >conftest.err
3706 cat conftest.err >&5
3707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3708 (exit $ac_status); } && {
3709 test -z "$ac_c_werror_flag" ||
3710 test ! -s conftest.err
3711 } && test -s conftest.$ac_objext; then
3712 ac_cv_c_inline=$ac_kw
3714 echo "$as_me: failed program was
:" >&5
3715 sed 's/^/| /' conftest.$ac_ext >&5
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721 test "$ac_cv_c_inline" != no && break
3725 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
3726 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3729 case $ac_cv_c_inline in
3732 case $ac_cv_c_inline in
3734 *) ac_val=$ac_cv_c_inline;;
3736 cat >>confdefs.h <<_ACEOF
3738 #define inline $ac_val
3745 for ac_prog in gawk mawk nawk awk
3747 # Extract the first word of "$ac_prog", so it can be a program name with args.
3748 set dummy $ac_prog; ac_word=$2
3749 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3750 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3751 if test "${ac_cv_prog_AWK+set}" = set; then
3752 echo $ECHO_N "(cached
) $ECHO_C" >&6
3754 if test -n "$AWK"; then
3755 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 test -z "$as_dir" && as_dir=.
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3764 ac_cv_prog_AWK="$ac_prog"
3765 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3775 if test -n "$AWK"; then
3776 { echo "$as_me:$LINENO: result
: $AWK" >&5
3777 echo "${ECHO_T}$AWK" >&6; }
3779 { echo "$as_me:$LINENO: result
: no
" >&5
3780 echo "${ECHO_T}no
" >&6; }
3784 test -n "$AWK" && break
3788 ac_cpp='$CPP $CPPFLAGS'
3789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3792 if test -n "$ac_tool_prefix"; then
3793 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3794 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3795 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3796 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3797 if test "${ac_cv_prog_CC+set}" = set; then
3798 echo $ECHO_N "(cached
) $ECHO_C" >&6
3800 if test -n "$CC"; then
3801 ac_cv_prog_CC="$CC" # Let the user override the test.
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3811 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3821 if test -n "$CC"; then
3822 { echo "$as_me:$LINENO: result
: $CC" >&5
3823 echo "${ECHO_T}$CC" >&6; }
3825 { echo "$as_me:$LINENO: result
: no
" >&5
3826 echo "${ECHO_T}no
" >&6; }
3831 if test -z "$ac_cv_prog_CC"; then
3833 # Extract the first word of "gcc
", so it can be a program name with args.
3834 set dummy gcc; ac_word=$2
3835 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3836 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3838 echo $ECHO_N "(cached
) $ECHO_C" >&6
3840 if test -n "$ac_ct_CC"; then
3841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 test -z "$as_dir" && as_dir=.
3848 for ac_exec_ext in '' $ac_executable_extensions; do
3849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3850 ac_cv_prog_ac_ct_CC="gcc
"
3851 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3860 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3861 if test -n "$ac_ct_CC"; then
3862 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3863 echo "${ECHO_T}$ac_ct_CC" >&6; }
3865 { echo "$as_me:$LINENO: result
: no
" >&5
3866 echo "${ECHO_T}no
" >&6; }
3869 if test "x
$ac_ct_CC" = x; then
3872 case $cross_compiling:$ac_tool_warned in
3874 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
3875 whose name does not start with the
host triplet. If you think this
3876 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3877 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
3878 whose name does not start with the
host triplet. If you think this
3879 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3880 ac_tool_warned=yes ;;
3888 if test -z "$CC"; then
3889 if test -n "$ac_tool_prefix"; then
3890 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3891 set dummy ${ac_tool_prefix}cc; ac_word=$2
3892 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3893 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3894 if test "${ac_cv_prog_CC+set}" = set; then
3895 echo $ECHO_N "(cached
) $ECHO_C" >&6
3897 if test -n "$CC"; then
3898 ac_cv_prog_CC="$CC" # Let the user override the test.
3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904 test -z "$as_dir" && as_dir=.
3905 for ac_exec_ext in '' $ac_executable_extensions; do
3906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3907 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3908 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3918 if test -n "$CC"; then
3919 { echo "$as_me:$LINENO: result
: $CC" >&5
3920 echo "${ECHO_T}$CC" >&6; }
3922 { echo "$as_me:$LINENO: result
: no
" >&5
3923 echo "${ECHO_T}no
" >&6; }
3929 if test -z "$CC"; then
3930 # Extract the first word of "cc
", so it can be a program name with args.
3931 set dummy cc; ac_word=$2
3932 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3933 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3934 if test "${ac_cv_prog_CC+set}" = set; then
3935 echo $ECHO_N "(cached
) $ECHO_C" >&6
3937 if test -n "$CC"; then
3938 ac_cv_prog_CC="$CC" # Let the user override the test.
3941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 test -z "$as_dir" && as_dir=.
3946 for ac_exec_ext in '' $ac_executable_extensions; do
3947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3948 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3949 ac_prog_rejected=yes
3953 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3960 if test $ac_prog_rejected = yes; then
3961 # We found a bogon in the path, so make sure we never use it.
3962 set dummy $ac_cv_prog_CC
3964 if test $# != 0; then
3965 # We chose a different compiler from the bogus one.
3966 # However, it has the same basename, so the bogon will be chosen
3967 # first if we set CC to just the basename; use the full file name.
3969 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
3975 if test -n "$CC"; then
3976 { echo "$as_me:$LINENO: result
: $CC" >&5
3977 echo "${ECHO_T}$CC" >&6; }
3979 { echo "$as_me:$LINENO: result
: no
" >&5
3980 echo "${ECHO_T}no
" >&6; }
3985 if test -z "$CC"; then
3986 if test -n "$ac_tool_prefix"; then
3987 for ac_prog in cl.exe
3989 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3990 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3991 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3992 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3993 if test "${ac_cv_prog_CC+set}" = set; then
3994 echo $ECHO_N "(cached
) $ECHO_C" >&6
3996 if test -n "$CC"; then
3997 ac_cv_prog_CC="$CC" # Let the user override the test.
3999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 test -z "$as_dir" && as_dir=.
4004 for ac_exec_ext in '' $ac_executable_extensions; do
4005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4006 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4007 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4017 if test -n "$CC"; then
4018 { echo "$as_me:$LINENO: result
: $CC" >&5
4019 echo "${ECHO_T}$CC" >&6; }
4021 { echo "$as_me:$LINENO: result
: no
" >&5
4022 echo "${ECHO_T}no
" >&6; }
4026 test -n "$CC" && break
4029 if test -z "$CC"; then
4031 for ac_prog in cl.exe
4033 # Extract the first word of "$ac_prog", so it can be a program name with args.
4034 set dummy $ac_prog; ac_word=$2
4035 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4036 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4037 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4038 echo $ECHO_N "(cached
) $ECHO_C" >&6
4040 if test -n "$ac_ct_CC"; then
4041 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047 test -z "$as_dir" && as_dir=.
4048 for ac_exec_ext in '' $ac_executable_extensions; do
4049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4050 ac_cv_prog_ac_ct_CC="$ac_prog"
4051 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4060 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4061 if test -n "$ac_ct_CC"; then
4062 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
4063 echo "${ECHO_T}$ac_ct_CC" >&6; }
4065 { echo "$as_me:$LINENO: result
: no
" >&5
4066 echo "${ECHO_T}no
" >&6; }
4070 test -n "$ac_ct_CC" && break
4073 if test "x
$ac_ct_CC" = x; then
4076 case $cross_compiling:$ac_tool_warned in
4078 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
4079 whose name does not start with the
host triplet. If you think this
4080 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4081 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
4082 whose name does not start with the
host triplet. If you think this
4083 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4084 ac_tool_warned=yes ;;
4093 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4094 See \
`config.log' for more details." >&5
4095 echo "$as_me: error: no acceptable C compiler found in \$PATH
4096 See \`config.log
' for more details." >&2;}
4097 { (exit 1); exit 1; }; }
4099 # Provide some information about the compiler.
4100 echo "$as_me:$LINENO: checking for C compiler version" >&5
4101 ac_compiler=`set X $ac_compile; echo $2`
4102 { (ac_try="$ac_compiler --version >&5"
4104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4108 (eval "$ac_compiler --version >&5") 2>&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }
4112 { (ac_try="$ac_compiler -v >&5"
4114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115 *) ac_try_echo=$ac_try;;
4117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4118 (eval "$ac_compiler -v >&5") 2>&5
4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); }
4122 { (ac_try="$ac_compiler -V >&5"
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_compiler -V >&5") 2>&5
4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131 (exit $ac_status); }
4133 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4134 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4135 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 cat >conftest.$ac_ext <<_ACEOF
4141 cat confdefs.h >>conftest.$ac_ext
4142 cat >>conftest.$ac_ext <<_ACEOF
4143 /* end confdefs.h. */
4156 rm -f conftest.$ac_objext
4157 if { (ac_try="$ac_compile"
4159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4163 (eval "$ac_compile") 2>conftest.er1
4165 grep -v '^
*+' conftest.er1 >conftest.err
4167 cat conftest.err >&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); } && {
4170 test -z "$ac_c_werror_flag" ||
4171 test ! -s conftest.err
4172 } && test -s conftest.$ac_objext; then
4175 echo "$as_me: failed program was:" >&5
4176 sed 's
/^
/| /' conftest.$ac_ext >&5
4181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4182 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4185 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4186 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4187 GCC=`test $ac_compiler_gnu = yes && echo yes`
4188 ac_test_CFLAGS=${CFLAGS+set}
4189 ac_save_CFLAGS=$CFLAGS
4190 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4191 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4192 if test "${ac_cv_prog_cc_g+set}" = set; then
4193 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 ac_save_c_werror_flag=$ac_c_werror_flag
4196 ac_c_werror_flag=yes
4199 cat >conftest.$ac_ext <<_ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4214 rm -f conftest.$ac_objext
4215 if { (ac_try="$ac_compile"
4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4218 *) ac_try_echo=$ac_try;;
4220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4221 (eval "$ac_compile") 2>conftest.er1
4223 grep -v '^
*+' conftest.er1 >conftest.err
4225 cat conftest.err >&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); } && {
4228 test -z "$ac_c_werror_flag" ||
4229 test ! -s conftest.err
4230 } && test -s conftest.$ac_objext; then
4233 echo "$as_me: failed program was:" >&5
4234 sed 's
/^
/| /' conftest.$ac_ext >&5
4237 cat >conftest.$ac_ext <<_ACEOF
4240 cat confdefs.h >>conftest.$ac_ext
4241 cat >>conftest.$ac_ext <<_ACEOF
4242 /* end confdefs.h. */
4252 rm -f conftest.$ac_objext
4253 if { (ac_try="$ac_compile"
4255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4256 *) ac_try_echo=$ac_try;;
4258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4259 (eval "$ac_compile") 2>conftest.er1
4261 grep -v '^
*+' conftest.er1 >conftest.err
4263 cat conftest.err >&5
4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); } && {
4266 test -z "$ac_c_werror_flag" ||
4267 test ! -s conftest.err
4268 } && test -s conftest.$ac_objext; then
4271 echo "$as_me: failed program was:" >&5
4272 sed 's
/^
/| /' conftest.$ac_ext >&5
4274 ac_c_werror_flag=$ac_save_c_werror_flag
4276 cat >conftest.$ac_ext <<_ACEOF
4279 cat confdefs.h >>conftest.$ac_ext
4280 cat >>conftest.$ac_ext <<_ACEOF
4281 /* end confdefs.h. */
4291 rm -f conftest.$ac_objext
4292 if { (ac_try="$ac_compile"
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_compile") 2>conftest.er1
4300 grep -v '^
*+' conftest.er1 >conftest.err
4302 cat conftest.err >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } && {
4305 test -z "$ac_c_werror_flag" ||
4306 test ! -s conftest.err
4307 } && test -s conftest.$ac_objext; then
4310 echo "$as_me: failed program was:" >&5
4311 sed 's
/^
/| /' conftest.$ac_ext >&5
4316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4323 ac_c_werror_flag=$ac_save_c_werror_flag
4325 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4326 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4327 if test "$ac_test_CFLAGS" = set; then
4328 CFLAGS=$ac_save_CFLAGS
4329 elif test $ac_cv_prog_cc_g = yes; then
4330 if test "$GCC" = yes; then
4336 if test "$GCC" = yes; then
4342 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4343 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4344 if test "${ac_cv_prog_cc_c89+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 ac_cv_prog_cc_c89=no
4349 cat >conftest.$ac_ext <<_ACEOF
4352 cat confdefs.h >>conftest.$ac_ext
4353 cat >>conftest.$ac_ext <<_ACEOF
4354 /* end confdefs.h. */
4357 #include <sys/types.h>
4358 #include <sys/stat.h>
4359 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4360 struct buf
{ int x
; };
4361 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4362 static char
*e
(p
, i
)
4368 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4373 s
= g
(p
, va_arg
(v
,int
));
4378 /* OSF
4.0 Compaq cc is some
sort of almost
-ANSI by default. It has
4379 function prototypes and stuff
, but not
'\xHH' hex character constants.
4380 These don
't provoke an error unfortunately, instead are silently treated
4381 as 'x
'. The following induces an error, until -std is added to get
4382 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4383 array size at least. It's necessary to
write '\x00'==0 to get something
4384 that
's true only with -std. */
4385 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4387 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4388 inside strings and character constants. */
4390 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4392 int test (int i, double x);
4393 struct s1 {int (*f) (int a);};
4394 struct s2 {int (*f) (double a);};
4395 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4401 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4406 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4407 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4409 CC="$ac_save_CC $ac_arg"
4410 rm -f conftest.$ac_objext
4411 if { (ac_try="$ac_compile"
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4417 (eval "$ac_compile") 2>conftest.er1
4419 grep -v '^
*+' conftest.er1 >conftest.err
4421 cat conftest.err >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } && {
4424 test -z "$ac_c_werror_flag" ||
4425 test ! -s conftest.err
4426 } && test -s conftest.$ac_objext; then
4427 ac_cv_prog_cc_c89=$ac_arg
4429 echo "$as_me: failed program was:" >&5
4430 sed 's
/^
/| /' conftest.$ac_ext >&5
4435 rm -f core conftest.err conftest.$ac_objext
4436 test "x$ac_cv_prog_cc_c89" != "xno" && break
4438 rm -f conftest.$ac_ext
4443 case "x$ac_cv_prog_cc_c89" in
4445 { echo "$as_me:$LINENO: result: none needed" >&5
4446 echo "${ECHO_T}none needed" >&6; } ;;
4448 { echo "$as_me:$LINENO: result: unsupported" >&5
4449 echo "${ECHO_T}unsupported" >&6; } ;;
4451 CC="$CC $ac_cv_prog_cc_c89"
4452 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4453 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4458 ac_cpp='$CPP $CPPFLAGS'
4459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4460 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4463 depcc="$CC" am_compiler_list=
4465 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4466 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4467 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4471 # We make a subdir and do the tests there. Otherwise we can end up
4472 # making bogus files that we don't know about and never remove. For
4473 # instance it was reported that on HP-UX the gcc test will end up
4474 # making a dummy file named `D' -- because `-MD' means `put the output
4477 # Copy depcomp to subdir because otherwise we won't find it if we're
4478 # using a relative directory.
4479 cp "$am_depcomp" conftest.dir
4481 # We will build objects and dependencies in a subdirectory because
4482 # it helps to detect inapplicable dependency modes. For instance
4483 # both Tru64's cc and ICC support -MD to output dependencies as a
4484 # side effect of compilation, but ICC will put the dependencies in
4485 # the current directory while Tru64 will put them in the object
4489 am_cv_CC_dependencies_compiler_type
=none
4490 if test "$am_compiler_list" = ""; then
4491 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4493 for depmode
in $am_compiler_list; do
4494 # Setup a source with many dependencies, because some compilers
4495 # like to wrap large dependency lists on column 80 (with \), and
4496 # we should not choose a depcomp mode which is confused by this.
4498 # We need to recreate these files for each test, as the compiler may
4499 # overwrite some of them when testing with obscure command lines.
4500 # This happens at least with the AIX C compiler.
4502 for i
in 1 2 3 4 5 6; do
4503 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4504 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4505 # Solaris 8's {/usr,}/bin/sh.
4506 touch sub
/conftst
$i.h
4508 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4512 # after this tag, mechanisms are not by side-effect, so they'll
4513 # only be used when explicitly requested
4514 if test "x$enable_dependency_tracking" = xyes
; then
4522 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4523 # mode. It turns out that the SunPro C++ compiler does not properly
4524 # handle `-M -o', and we need to detect this.
4525 if depmode
=$depmode \
4526 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4527 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4528 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4529 >/dev
/null
2>conftest.err
&&
4530 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4531 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4532 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4533 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4534 # icc doesn't choke on unknown options, it will just issue warnings
4535 # or remarks (even with -Werror). So we grep stderr for any message
4536 # that says an option was ignored or not supported.
4537 # When given -MP, icc 7.0 and 7.1 complain thusly:
4538 # icc: Command line warning: ignoring option '-M'; no argument required
4539 # The diagnosis changed in icc 8.0:
4540 # icc: Command line remark: option '-MP' not supported
4541 if (grep 'ignoring option' conftest.err
||
4542 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4543 am_cv_CC_dependencies_compiler_type
=$depmode
4552 am_cv_CC_dependencies_compiler_type
=none
4556 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4557 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4558 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4561 test "x$enable_dependency_tracking" != xno \
4562 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4564 am__fastdepCC_FALSE
='#'
4566 am__fastdepCC_TRUE
='#'
4567 am__fastdepCC_FALSE
=
4571 # Find a good install program. We prefer a C program (faster),
4572 # so one script is as good as another. But avoid the broken or
4573 # incompatible versions:
4574 # SysV /etc/install, /usr/sbin/install
4575 # SunOS /usr/etc/install
4576 # IRIX /sbin/install
4578 # AmigaOS /C/install, which installs bootblocks on floppy discs
4579 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4580 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4581 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4582 # OS/2's system install, which has a completely different semantic
4583 # ./install, which can be erroneously created by make from ./install.sh.
4584 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4585 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4586 if test -z "$INSTALL"; then
4587 if test "${ac_cv_path_install+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 # Account for people who put trailing slashes in PATH elements.
4597 .
/ | .
// | /cC
/* | \
4598 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4599 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4602 # OSF1 and SCO ODT 3.0 have their own names for install.
4603 # Don't use installbsd from OSF since it installs stuff as root
4605 for ac_prog
in ginstall scoinst
install; do
4606 for ac_exec_ext
in '' $ac_executable_extensions; do
4607 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4608 if test $ac_prog = install &&
4609 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4610 # AIX install. It has an incompatible calling convention.
4612 elif test $ac_prog = install &&
4613 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4614 # program-specific install script used by HP pwplus--don't use.
4617 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4630 if test "${ac_cv_path_install+set}" = set; then
4631 INSTALL
=$ac_cv_path_install
4633 # As a last resort, use the slow shell script. Don't cache a
4634 # value for INSTALL within a source directory, because that will
4635 # break other packages using the cache if that directory is
4636 # removed, or if the value is a relative name.
4637 INSTALL
=$ac_install_sh
4640 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4641 echo "${ECHO_T}$INSTALL" >&6; }
4643 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4644 # It thinks the first close brace ends the variable substitution.
4645 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4647 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4649 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4652 if test -n "$ac_tool_prefix"; then
4653 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4654 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4657 if test "${ac_cv_prog_RANLIB+set}" = set; then
4658 echo $ECHO_N "(cached) $ECHO_C" >&6
4660 if test -n "$RANLIB"; then
4661 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4667 test -z "$as_dir" && as_dir
=.
4668 for ac_exec_ext
in '' $ac_executable_extensions; do
4669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4670 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 RANLIB
=$ac_cv_prog_RANLIB
4681 if test -n "$RANLIB"; then
4682 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4683 echo "${ECHO_T}$RANLIB" >&6; }
4685 { echo "$as_me:$LINENO: result: no" >&5
4686 echo "${ECHO_T}no" >&6; }
4691 if test -z "$ac_cv_prog_RANLIB"; then
4692 ac_ct_RANLIB
=$RANLIB
4693 # Extract the first word of "ranlib", so it can be a program name with args.
4694 set dummy ranlib
; ac_word
=$2
4695 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4697 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4698 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 if test -n "$ac_ct_RANLIB"; then
4701 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4707 test -z "$as_dir" && as_dir
=.
4708 for ac_exec_ext
in '' $ac_executable_extensions; do
4709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4710 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4720 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4721 if test -n "$ac_ct_RANLIB"; then
4722 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4723 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4725 { echo "$as_me:$LINENO: result: no" >&5
4726 echo "${ECHO_T}no" >&6; }
4729 if test "x$ac_ct_RANLIB" = x
; then
4732 case $cross_compiling:$ac_tool_warned in
4734 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4735 whose name does not start with the host triplet. If you think this
4736 configuration is useful to you, please write to autoconf@gnu.org." >&5
4737 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4738 whose name does not start with the host triplet. If you think this
4739 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4740 ac_tool_warned
=yes ;;
4742 RANLIB
=$ac_ct_RANLIB
4745 RANLIB
="$ac_cv_prog_RANLIB"
4749 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4750 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4752 if test "$LN_S" = "ln -s"; then
4753 { echo "$as_me:$LINENO: result: yes" >&5
4754 echo "${ECHO_T}yes" >&6; }
4756 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4757 echo "${ECHO_T}no, using $LN_S" >&6; }
4760 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4761 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4762 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4763 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 cat >conftest.
make <<\_ACEOF
4769 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4771 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4772 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4774 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4776 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4780 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4781 { echo "$as_me:$LINENO: result: yes" >&5
4782 echo "${ECHO_T}yes" >&6; }
4785 { echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6; }
4787 SET_MAKE
="MAKE=${MAKE-make}"
4791 ac_cpp
='$CPP $CPPFLAGS'
4792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4795 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4796 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4797 # On Suns, sometimes $CPP names a directory.
4798 if test -n "$CPP" && test -d "$CPP"; then
4801 if test -z "$CPP"; then
4802 if test "${ac_cv_prog_CPP+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 # Double quotes because CPP needs to be expanded
4806 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4809 for ac_c_preproc_warn_flag
in '' yes
4811 # Use a header file that comes with gcc, so configuring glibc
4812 # with a fresh cross-compiler works.
4813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4814 # <limits.h> exists even on freestanding compilers.
4815 # On the NeXT, cc -E runs the code through the compiler's parser,
4816 # not just through cpp. "Syntax error" is here to catch this case.
4817 cat >conftest.
$ac_ext <<_ACEOF
4820 cat confdefs.h
>>conftest.
$ac_ext
4821 cat >>conftest.
$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4824 # include <limits.h>
4826 # include <assert.h>
4830 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4833 *) ac_try_echo=$ac_try;;
4835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4838 grep -v '^ *+' conftest.er1 >conftest.err
4840 cat conftest.err >&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } >/dev/null && {
4843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4844 test ! -s conftest.err
4848 echo "$as_me: failed program was:" >&5
4849 sed 's/^/| /' conftest.$ac_ext >&5
4851 # Broken: fails on valid input.
4855 rm -f conftest.err conftest.$ac_ext
4857 # OK, works on sane cases. Now check whether nonexistent headers
4858 # can be detected and how.
4859 cat >conftest.$ac_ext <<_ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4865 #include <ac_nonexistent.h>
4867 if { (ac_try="$ac_cpp conftest.$ac_ext"
4869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4870 *) ac_try_echo
=$ac_try;;
4872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4875 grep -v '^ *+' conftest.er1
>conftest.err
4877 cat conftest.err
>&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); } >/dev
/null
&& {
4880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4881 test ! -s conftest.err
4883 # Broken: success on invalid input.
4886 echo "$as_me: failed program was:" >&5
4887 sed 's/^/| /' conftest.
$ac_ext >&5
4889 # Passes both tests.
4894 rm -f conftest.err conftest.
$ac_ext
4897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4898 rm -f conftest.err conftest.
$ac_ext
4899 if $ac_preproc_ok; then
4911 { echo "$as_me:$LINENO: result: $CPP" >&5
4912 echo "${ECHO_T}$CPP" >&6; }
4914 for ac_c_preproc_warn_flag
in '' yes
4916 # Use a header file that comes with gcc, so configuring glibc
4917 # with a fresh cross-compiler works.
4918 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4919 # <limits.h> exists even on freestanding compilers.
4920 # On the NeXT, cc -E runs the code through the compiler's parser,
4921 # not just through cpp. "Syntax error" is here to catch this case.
4922 cat >conftest.
$ac_ext <<_ACEOF
4925 cat confdefs.h
>>conftest.
$ac_ext
4926 cat >>conftest.
$ac_ext <<_ACEOF
4927 /* end confdefs.h. */
4929 # include <limits.h>
4931 # include <assert.h>
4935 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4938 *) ac_try_echo=$ac_try;;
4940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4943 grep -v '^ *+' conftest.er1 >conftest.err
4945 cat conftest.err >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); } >/dev/null && {
4948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4949 test ! -s conftest.err
4953 echo "$as_me: failed program was:" >&5
4954 sed 's/^/| /' conftest.$ac_ext >&5
4956 # Broken: fails on valid input.
4960 rm -f conftest.err conftest.$ac_ext
4962 # OK, works on sane cases. Now check whether nonexistent headers
4963 # can be detected and how.
4964 cat >conftest.$ac_ext <<_ACEOF
4967 cat confdefs.h >>conftest.$ac_ext
4968 cat >>conftest.$ac_ext <<_ACEOF
4969 /* end confdefs.h. */
4970 #include <ac_nonexistent.h>
4972 if { (ac_try="$ac_cpp conftest.$ac_ext"
4974 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4975 *) ac_try_echo
=$ac_try;;
4977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4980 grep -v '^ *+' conftest.er1
>conftest.err
4982 cat conftest.err
>&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); } >/dev
/null
&& {
4985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4986 test ! -s conftest.err
4988 # Broken: success on invalid input.
4991 echo "$as_me: failed program was:" >&5
4992 sed 's/^/| /' conftest.
$ac_ext >&5
4994 # Passes both tests.
4999 rm -f conftest.err conftest.
$ac_ext
5002 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5003 rm -f conftest.err conftest.
$ac_ext
5004 if $ac_preproc_ok; then
5007 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5008 See \`config.log' for more details." >&5
5009 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5010 See \`config.log' for more details." >&2;}
5011 { (exit 1); exit 1; }; }
5015 ac_cpp
='$CPP $CPPFLAGS'
5016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5021 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5022 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5023 if test "${ac_cv_path_GREP+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5026 # Extract the first word of "grep ggrep" to use in msg output
5027 if test -z "$GREP"; then
5028 set dummy
grep ggrep
; ac_prog_name
=$2
5029 if test "${ac_cv_path_GREP+set}" = set; then
5030 echo $ECHO_N "(cached) $ECHO_C" >&6
5032 ac_path_GREP_found
=false
5033 # Loop through the user's path and test for each of PROGNAME-LIST
5034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5035 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5038 test -z "$as_dir" && as_dir
=.
5039 for ac_prog
in grep ggrep
; do
5040 for ac_exec_ext
in '' $ac_executable_extensions; do
5041 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5042 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5043 # Check for GNU ac_path_GREP and select it if it is found.
5044 # Check for GNU $ac_path_GREP
5045 case `"$ac_path_GREP" --version 2>&1` in
5047 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5050 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5053 cat "conftest.in" "conftest.in" >"conftest.tmp"
5054 mv "conftest.tmp" "conftest.in"
5055 cp "conftest.in" "conftest.nl"
5056 echo 'GREP' >> "conftest.nl"
5057 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5058 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5059 ac_count
=`expr $ac_count + 1`
5060 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5061 # Best one so far, save it but keep looking for a better one
5062 ac_cv_path_GREP
="$ac_path_GREP"
5063 ac_path_GREP_max
=$ac_count
5065 # 10*(2^10) chars as input seems more than enough
5066 test $ac_count -gt 10 && break
5068 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5072 $ac_path_GREP_found && break 3
5082 GREP
="$ac_cv_path_GREP"
5083 if test -z "$GREP"; then
5084 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5085 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5086 { (exit 1); exit 1; }; }
5090 ac_cv_path_GREP
=$GREP
5095 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5096 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5097 GREP
="$ac_cv_path_GREP"
5100 { echo "$as_me:$LINENO: checking for egrep" >&5
5101 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5102 if test "${ac_cv_path_EGREP+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
5106 then ac_cv_path_EGREP
="$GREP -E"
5108 # Extract the first word of "egrep" to use in msg output
5109 if test -z "$EGREP"; then
5110 set dummy
egrep; ac_prog_name
=$2
5111 if test "${ac_cv_path_EGREP+set}" = set; then
5112 echo $ECHO_N "(cached) $ECHO_C" >&6
5114 ac_path_EGREP_found
=false
5115 # Loop through the user's path and test for each of PROGNAME-LIST
5116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5117 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5120 test -z "$as_dir" && as_dir
=.
5121 for ac_prog
in egrep; do
5122 for ac_exec_ext
in '' $ac_executable_extensions; do
5123 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5124 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5125 # Check for GNU ac_path_EGREP and select it if it is found.
5126 # Check for GNU $ac_path_EGREP
5127 case `"$ac_path_EGREP" --version 2>&1` in
5129 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5132 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5135 cat "conftest.in" "conftest.in" >"conftest.tmp"
5136 mv "conftest.tmp" "conftest.in"
5137 cp "conftest.in" "conftest.nl"
5138 echo 'EGREP' >> "conftest.nl"
5139 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5140 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5141 ac_count
=`expr $ac_count + 1`
5142 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5143 # Best one so far, save it but keep looking for a better one
5144 ac_cv_path_EGREP
="$ac_path_EGREP"
5145 ac_path_EGREP_max
=$ac_count
5147 # 10*(2^10) chars as input seems more than enough
5148 test $ac_count -gt 10 && break
5150 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5154 $ac_path_EGREP_found && break 3
5164 EGREP
="$ac_cv_path_EGREP"
5165 if test -z "$EGREP"; then
5166 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5167 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5168 { (exit 1); exit 1; }; }
5172 ac_cv_path_EGREP
=$EGREP
5178 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5179 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5180 EGREP
="$ac_cv_path_EGREP"
5183 if test $ac_cv_c_compiler_gnu = yes; then
5184 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
5185 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
5186 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5187 echo $ECHO_N "(cached) $ECHO_C" >&6
5189 ac_pattern
="Autoconf.*'x'"
5190 cat >conftest.
$ac_ext <<_ACEOF
5193 cat confdefs.h
>>conftest.
$ac_ext
5194 cat >>conftest.
$ac_ext <<_ACEOF
5195 /* end confdefs.h. */
5199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5200 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5201 ac_cv_prog_gcc_traditional
=yes
5203 ac_cv_prog_gcc_traditional
=no
5208 if test $ac_cv_prog_gcc_traditional = no
; then
5209 cat >conftest.
$ac_ext <<_ACEOF
5212 cat confdefs.h
>>conftest.
$ac_ext
5213 cat >>conftest.
$ac_ext <<_ACEOF
5214 /* end confdefs.h. */
5218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5219 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5220 ac_cv_prog_gcc_traditional
=yes
5226 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
5227 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
5228 if test $ac_cv_prog_gcc_traditional = yes; then
5229 CC
="$CC -traditional"
5233 # Extract the first word of "gmake", so it can be a program name with args.
5234 set dummy gmake
; ac_word
=$2
5235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5237 if test "${ac_cv_prog_MAKER+set}" = set; then
5238 echo $ECHO_N "(cached) $ECHO_C" >&6
5240 if test -n "$MAKER"; then
5241 ac_cv_prog_MAKER
="$MAKER" # Let the user override the test.
5243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir
=.
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5250 ac_cv_prog_MAKER
="gmake"
5251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 test -z "$ac_cv_prog_MAKER" && ac_cv_prog_MAKER
="make"
5261 MAKER
=$ac_cv_prog_MAKER
5262 if test -n "$MAKER"; then
5263 { echo "$as_me:$LINENO: result: $MAKER" >&5
5264 echo "${ECHO_T}$MAKER" >&6; }
5266 { echo "$as_me:$LINENO: result: no" >&5
5267 echo "${ECHO_T}no" >&6; }
5273 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
5276 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
5280 EXTRA_DEFINE
="-D__SOLARIS__"
5281 ANSI_SRC
="-fno-builtin"
5284 ANSI_SRC
="-fno-builtin"
5287 EXTRA_DEFINE
="-D_GNU_SOURCE"
5294 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
5297 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
5298 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
5299 if test "${ac_cv_lib_socket_socket+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 ac_check_lib_save_LIBS
=$LIBS
5303 LIBS
="-lsocket $LIBS"
5304 cat >conftest.
$ac_ext <<_ACEOF
5307 cat confdefs.h
>>conftest.
$ac_ext
5308 cat >>conftest.
$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5311 /* Override any GCC internal prototype to avoid an error.
5312 Use char because int might match the return type of a GCC
5313 builtin and then its argument prototype would still apply. */
5326 rm -f conftest.
$ac_objext conftest
$ac_exeext
5327 if { (ac_try
="$ac_link"
5329 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5330 *) ac_try_echo=$ac_try;;
5332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5333 (eval "$ac_link") 2>conftest.er1
5335 grep -v '^ *+' conftest.er1 >conftest.err
5337 cat conftest.err >&5
5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 (exit $ac_status); } && {
5340 test -z "$ac_c_werror_flag" ||
5341 test ! -s conftest.err
5342 } && test -s conftest$ac_exeext &&
5343 $as_test_x conftest$ac_exeext; then
5344 ac_cv_lib_socket_socket=yes
5346 echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.$ac_ext >&5
5349 ac_cv_lib_socket_socket=no
5352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5353 conftest$ac_exeext conftest.$ac_ext
5354 LIBS=$ac_check_lib_save_LIBS
5356 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
5357 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
5358 if test $ac_cv_lib_socket_socket = yes; then
5359 cat >>confdefs.h <<_ACEOF
5360 #define HAVE_LIBSOCKET 1
5363 LIBS="-lsocket $LIBS"
5368 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5369 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
5370 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5371 echo $ECHO_N "(cached) $ECHO_C" >&6
5373 ac_check_lib_save_LIBS=$LIBS
5375 cat >conftest.$ac_ext <<_ACEOF
5378 cat confdefs.h >>conftest.$ac_ext
5379 cat >>conftest.$ac_ext <<_ACEOF
5380 /* end confdefs.h. */
5382 /* Override any GCC internal prototype to avoid an error.
5383 Use char because int might match the return type of a GCC
5384 builtin and then its argument prototype would still apply. */
5388 char gethostbyname ();
5392 return gethostbyname ();
5397 rm -f conftest.$ac_objext conftest$ac_exeext
5398 if { (ac_try="$ac_link"
5400 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5401 *) ac_try_echo
=$ac_try;;
5403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5404 (eval "$ac_link") 2>conftest.er1
5406 grep -v '^ *+' conftest.er1
>conftest.err
5408 cat conftest.err
>&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); } && {
5411 test -z "$ac_c_werror_flag" ||
5412 test ! -s conftest.err
5413 } && test -s conftest
$ac_exeext &&
5414 $as_test_x conftest
$ac_exeext; then
5415 ac_cv_lib_nsl_gethostbyname
=yes
5417 echo "$as_me: failed program was:" >&5
5418 sed 's/^/| /' conftest.
$ac_ext >&5
5420 ac_cv_lib_nsl_gethostbyname
=no
5423 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5424 conftest
$ac_exeext conftest.
$ac_ext
5425 LIBS
=$ac_check_lib_save_LIBS
5427 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5428 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
5429 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5430 cat >>confdefs.h
<<_ACEOF
5431 #define HAVE_LIBNSL 1
5439 { echo "$as_me:$LINENO: checking for main in -lm" >&5
5440 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
5441 if test "${ac_cv_lib_m_main+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5444 ac_check_lib_save_LIBS
=$LIBS
5446 cat >conftest.
$ac_ext <<_ACEOF
5449 cat confdefs.h
>>conftest.
$ac_ext
5450 cat >>conftest.
$ac_ext <<_ACEOF
5451 /* end confdefs.h. */
5462 rm -f conftest.
$ac_objext conftest
$ac_exeext
5463 if { (ac_try
="$ac_link"
5465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5466 *) ac_try_echo=$ac_try;;
5468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5469 (eval "$ac_link") 2>conftest.er1
5471 grep -v '^ *+' conftest.er1 >conftest.err
5473 cat conftest.err >&5
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); } && {
5476 test -z "$ac_c_werror_flag" ||
5477 test ! -s conftest.err
5478 } && test -s conftest$ac_exeext &&
5479 $as_test_x conftest$ac_exeext; then
5480 ac_cv_lib_m_main=yes
5482 echo "$as_me: failed program was:" >&5
5483 sed 's/^/| /' conftest.$ac_ext >&5
5488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5489 conftest$ac_exeext conftest.$ac_ext
5490 LIBS=$ac_check_lib_save_LIBS
5492 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
5493 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
5494 if test $ac_cv_lib_m_main = yes; then
5495 cat >>confdefs.h <<_ACEOF
5504 { echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
5505 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6; }
5506 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
5507 echo $ECHO_N "(cached) $ECHO_C" >&6
5509 ac_check_lib_save_LIBS=$LIBS
5510 LIBS="-lGeoIP $LIBS"
5511 cat >conftest.$ac_ext <<_ACEOF
5514 cat confdefs.h >>conftest.$ac_ext
5515 cat >>conftest.$ac_ext <<_ACEOF
5516 /* end confdefs.h. */
5518 /* Override any GCC internal prototype to avoid an error.
5519 Use char because int might match the return type of a GCC
5520 builtin and then its argument prototype would still apply. */
5528 return GeoIP_open ();
5533 rm -f conftest.$ac_objext conftest$ac_exeext
5534 if { (ac_try="$ac_link"
5536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5537 *) ac_try_echo
=$ac_try;;
5539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5540 (eval "$ac_link") 2>conftest.er1
5542 grep -v '^ *+' conftest.er1
>conftest.err
5544 cat conftest.err
>&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } && {
5547 test -z "$ac_c_werror_flag" ||
5548 test ! -s conftest.err
5549 } && test -s conftest
$ac_exeext &&
5550 $as_test_x conftest
$ac_exeext; then
5551 ac_cv_lib_GeoIP_GeoIP_open
=yes
5553 echo "$as_me: failed program was:" >&5
5554 sed 's/^/| /' conftest.
$ac_ext >&5
5556 ac_cv_lib_GeoIP_GeoIP_open
=no
5559 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5560 conftest
$ac_exeext conftest.
$ac_ext
5561 LIBS
=$ac_check_lib_save_LIBS
5563 { echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
5564 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
5565 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
5566 cat >>confdefs.h
<<_ACEOF
5567 #define HAVE_LIBGEOIP 1
5570 LIBS
="-lGeoIP $LIBS"
5575 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5576 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5577 if test "${ac_cv_header_stdc+set}" = set; then
5578 echo $ECHO_N "(cached) $ECHO_C" >&6
5580 cat >conftest.
$ac_ext <<_ACEOF
5583 cat confdefs.h
>>conftest.
$ac_ext
5584 cat >>conftest.
$ac_ext <<_ACEOF
5585 /* end confdefs.h. */
5599 rm -f conftest.
$ac_objext
5600 if { (ac_try
="$ac_compile"
5602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5603 *) ac_try_echo=$ac_try;;
5605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5606 (eval "$ac_compile") 2>conftest.er1
5608 grep -v '^ *+' conftest.er1 >conftest.err
5610 cat conftest.err >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } && {
5613 test -z "$ac_c_werror_flag" ||
5614 test ! -s conftest.err
5615 } && test -s conftest.$ac_objext; then
5616 ac_cv_header_stdc=yes
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.$ac_ext >&5
5621 ac_cv_header_stdc=no
5624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5626 if test $ac_cv_header_stdc = yes; then
5627 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5628 cat >conftest.$ac_ext <<_ACEOF
5631 cat confdefs.h >>conftest.$ac_ext
5632 cat >>conftest.$ac_ext <<_ACEOF
5633 /* end confdefs.h. */
5637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5638 $EGREP "memchr" >/dev/null 2>&1; then
5641 ac_cv_header_stdc=no
5647 if test $ac_cv_header_stdc = yes; then
5648 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5649 cat >conftest.$ac_ext <<_ACEOF
5652 cat confdefs.h >>conftest.$ac_ext
5653 cat >>conftest.$ac_ext <<_ACEOF
5654 /* end confdefs.h. */
5658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5659 $EGREP "free" >/dev/null 2>&1; then
5662 ac_cv_header_stdc=no
5668 if test $ac_cv_header_stdc = yes; then
5669 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5670 if test "$cross_compiling" = yes; then
5673 cat >conftest.$ac_ext <<_ACEOF
5676 cat confdefs.h >>conftest.$ac_ext
5677 cat >>conftest.$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5681 #if ((' ' & 0x0FF) == 0x020)
5682 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5683 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5685 # define ISLOWER(c) \
5686 (('a' <= (c) && (c) <= 'i') \
5687 || ('j' <= (c) && (c) <= 'r') \
5688 || ('s' <= (c) && (c) <= 'z'))
5689 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5692 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5697 for (i = 0; i < 256; i++)
5698 if (XOR (islower (i), ISLOWER (i))
5699 || toupper (i) != TOUPPER (i))
5704 rm -f conftest$ac_exeext
5705 if { (ac_try="$ac_link"
5707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5708 *) ac_try_echo
=$ac_try;;
5710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5711 (eval "$ac_link") 2>&5
5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5715 { (case "(($ac_try" in
5716 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5717 *) ac_try_echo=$ac_try;;
5719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5720 (eval "$ac_try") 2>&5
5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); }; }; then
5726 echo "$as_me: program exited with status $ac_status" >&5
5727 echo "$as_me: failed program was:" >&5
5728 sed 's/^/| /' conftest.$ac_ext >&5
5731 ac_cv_header_stdc=no
5733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5739 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5740 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5741 if test $ac_cv_header_stdc = yes; then
5743 cat >>confdefs.h <<\_ACEOF
5744 #define STDC_HEADERS 1
5750 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5751 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5752 if test "${ac_cv_header_time+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 cat >conftest.$ac_ext <<_ACEOF
5758 cat confdefs.h >>conftest.$ac_ext
5759 cat >>conftest.$ac_ext <<_ACEOF
5760 /* end confdefs.h. */
5761 #include <sys/types.h>
5762 #include <sys/time.h>
5768 if ((struct tm *) 0)
5774 rm -f conftest.$ac_objext
5775 if { (ac_try="$ac_compile"
5777 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5778 *) ac_try_echo
=$ac_try;;
5780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5781 (eval "$ac_compile") 2>conftest.er1
5783 grep -v '^ *+' conftest.er1
>conftest.err
5785 cat conftest.err
>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } && {
5788 test -z "$ac_c_werror_flag" ||
5789 test ! -s conftest.err
5790 } && test -s conftest.
$ac_objext; then
5791 ac_cv_header_time
=yes
5793 echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.
$ac_ext >&5
5796 ac_cv_header_time
=no
5799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5801 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5802 echo "${ECHO_T}$ac_cv_header_time" >&6; }
5803 if test $ac_cv_header_time = yes; then
5805 cat >>confdefs.h
<<\_ACEOF
5806 #define TIME_WITH_SYS_TIME 1
5811 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5812 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5813 if test "${ac_cv_struct_tm+set}" = set; then
5814 echo $ECHO_N "(cached) $ECHO_C" >&6
5816 cat >conftest.
$ac_ext <<_ACEOF
5819 cat confdefs.h
>>conftest.
$ac_ext
5820 cat >>conftest.
$ac_ext <<_ACEOF
5821 /* end confdefs.h. */
5822 #include <sys/types.h>
5829 int *p = &tm.tm_sec;
5835 rm -f conftest.
$ac_objext
5836 if { (ac_try
="$ac_compile"
5838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5839 *) ac_try_echo=$ac_try;;
5841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5842 (eval "$ac_compile") 2>conftest.er1
5844 grep -v '^ *+' conftest.er1 >conftest.err
5846 cat conftest.err >&5
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); } && {
5849 test -z "$ac_c_werror_flag" ||
5850 test ! -s conftest.err
5851 } && test -s conftest.$ac_objext; then
5852 ac_cv_struct_tm=time.h
5854 echo "$as_me: failed program was:" >&5
5855 sed 's/^/| /' conftest.$ac_ext >&5
5857 ac_cv_struct_tm=sys/time.h
5860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5862 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5863 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5864 if test $ac_cv_struct_tm = sys/time.h; then
5866 cat >>confdefs.h <<\_ACEOF
5867 #define TM_IN_SYS_TIME 1
5873 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5883 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5884 inttypes.h stdint.h unistd.h
5886 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5887 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5892 cat >conftest.$ac_ext <<_ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5898 $ac_includes_default
5900 #include <$ac_header>
5902 rm -f conftest.$ac_objext
5903 if { (ac_try="$ac_compile"
5905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5906 *) ac_try_echo
=$ac_try;;
5908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5909 (eval "$ac_compile") 2>conftest.er1
5911 grep -v '^ *+' conftest.er1
>conftest.err
5913 cat conftest.err
>&5
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); } && {
5916 test -z "$ac_c_werror_flag" ||
5917 test ! -s conftest.err
5918 } && test -s conftest.
$ac_objext; then
5919 eval "$as_ac_Header=yes"
5921 echo "$as_me: failed program was:" >&5
5922 sed 's/^/| /' conftest.
$ac_ext >&5
5924 eval "$as_ac_Header=no"
5927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5929 ac_res
=`eval echo '${'$as_ac_Header'}'`
5930 { echo "$as_me:$LINENO: result: $ac_res" >&5
5931 echo "${ECHO_T}$ac_res" >&6; }
5932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5933 cat >>confdefs.h
<<_ACEOF
5934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5965 for ac_header
in GeoIP.h GeoIPCity.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
5967 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5968 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5969 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5971 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 ac_res
=`eval echo '${'$as_ac_Header'}'`
5975 { echo "$as_me:$LINENO: result: $ac_res" >&5
5976 echo "${ECHO_T}$ac_res" >&6; }
5978 # Is the header compilable?
5979 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5980 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5981 cat >conftest.
$ac_ext <<_ACEOF
5984 cat confdefs.h
>>conftest.
$ac_ext
5985 cat >>conftest.
$ac_ext <<_ACEOF
5986 /* end confdefs.h. */
5987 $ac_includes_default
5988 #include <$ac_header>
5990 rm -f conftest.
$ac_objext
5991 if { (ac_try
="$ac_compile"
5993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5994 *) ac_try_echo=$ac_try;;
5996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5997 (eval "$ac_compile") 2>conftest.er1
5999 grep -v '^ *+' conftest.er1 >conftest.err
6001 cat conftest.err >&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); } && {
6004 test -z "$ac_c_werror_flag" ||
6005 test ! -s conftest.err
6006 } && test -s conftest.$ac_objext; then
6007 ac_header_compiler=yes
6009 echo "$as_me: failed program was:" >&5
6010 sed 's/^/| /' conftest.$ac_ext >&5
6012 ac_header_compiler=no
6015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6016 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6017 echo "${ECHO_T}$ac_header_compiler" >&6; }
6019 # Is the header present?
6020 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6021 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6022 cat >conftest.$ac_ext <<_ACEOF
6025 cat confdefs.h >>conftest.$ac_ext
6026 cat >>conftest.$ac_ext <<_ACEOF
6027 /* end confdefs.h. */
6028 #include <$ac_header>
6030 if { (ac_try="$ac_cpp conftest.$ac_ext"
6032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6033 *) ac_try_echo
=$ac_try;;
6035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6038 grep -v '^ *+' conftest.er1
>conftest.err
6040 cat conftest.err
>&5
6041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6042 (exit $ac_status); } >/dev
/null
&& {
6043 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6044 test ! -s conftest.err
6046 ac_header_preproc
=yes
6048 echo "$as_me: failed program was:" >&5
6049 sed 's/^/| /' conftest.
$ac_ext >&5
6051 ac_header_preproc
=no
6054 rm -f conftest.err conftest.
$ac_ext
6055 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6056 echo "${ECHO_T}$ac_header_preproc" >&6; }
6058 # So? What about this header?
6059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6065 ac_header_preproc
=yes
6068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6081 ## -------------------------------------------------- ##
6082 ## Report this to evilnet-devel@lists.sourceforge.net ##
6083 ## -------------------------------------------------- ##
6085 ) | sed "s/^/$as_me: WARNING: /" >&2
6088 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6090 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6091 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 eval "$as_ac_Header=\$ac_header_preproc"
6095 ac_res
=`eval echo '${'$as_ac_Header'}'`
6096 { echo "$as_me:$LINENO: result: $ac_res" >&5
6097 echo "${ECHO_T}$ac_res" >&6; }
6100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6101 cat >>confdefs.h
<<_ACEOF
6102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6110 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
6111 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
6112 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
6113 echo $ECHO_N "(cached) $ECHO_C" >&6
6115 cat >conftest.
$ac_ext <<_ACEOF
6118 cat confdefs.h
>>conftest.
$ac_ext
6119 cat >>conftest.
$ac_ext <<_ACEOF
6120 /* end confdefs.h. */
6121 #include <sys/types.h>
6122 #include <sys/socket.h>
6127 static struct sockaddr ac_aggr;
6134 rm -f conftest.
$ac_objext
6135 if { (ac_try
="$ac_compile"
6137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6138 *) ac_try_echo=$ac_try;;
6140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6141 (eval "$ac_compile") 2>conftest.er1
6143 grep -v '^ *+' conftest.er1 >conftest.err
6145 cat conftest.err >&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); } && {
6148 test -z "$ac_c_werror_flag" ||
6149 test ! -s conftest.err
6150 } && test -s conftest.$ac_objext; then
6151 ac_cv_member_struct_sockaddr_sa_len=yes
6153 echo "$as_me: failed program was:" >&5
6154 sed 's/^/| /' conftest.$ac_ext >&5
6156 cat >conftest.$ac_ext <<_ACEOF
6159 cat confdefs.h >>conftest.$ac_ext
6160 cat >>conftest.$ac_ext <<_ACEOF
6161 /* end confdefs.h. */
6162 #include <sys/types.h>
6163 #include <sys/socket.h>
6168 static struct sockaddr ac_aggr;
6169 if (sizeof ac_aggr.sa_len)
6175 rm -f conftest.$ac_objext
6176 if { (ac_try="$ac_compile"
6178 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6179 *) ac_try_echo
=$ac_try;;
6181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6182 (eval "$ac_compile") 2>conftest.er1
6184 grep -v '^ *+' conftest.er1
>conftest.err
6186 cat conftest.err
>&5
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); } && {
6189 test -z "$ac_c_werror_flag" ||
6190 test ! -s conftest.err
6191 } && test -s conftest.
$ac_objext; then
6192 ac_cv_member_struct_sockaddr_sa_len
=yes
6194 echo "$as_me: failed program was:" >&5
6195 sed 's/^/| /' conftest.
$ac_ext >&5
6197 ac_cv_member_struct_sockaddr_sa_len
=no
6200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6205 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
6206 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
6207 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
6209 cat >>confdefs.h
<<\_ACEOF
6210 #define HAVE_SOCKADDR_SA_LEN
6215 { echo "$as_me:$LINENO: checking for struct addrinfo.ai_flags" >&5
6216 echo $ECHO_N "checking for struct addrinfo.ai_flags... $ECHO_C" >&6; }
6217 if test "${ac_cv_member_struct_addrinfo_ai_flags+set}" = set; then
6218 echo $ECHO_N "(cached) $ECHO_C" >&6
6220 cat >conftest.
$ac_ext <<_ACEOF
6223 cat confdefs.h
>>conftest.
$ac_ext
6224 cat >>conftest.
$ac_ext <<_ACEOF
6225 /* end confdefs.h. */
6226 #include <sys/types.h>
6227 #include <sys/socket.h>
6233 static struct addrinfo ac_aggr;
6234 if (ac_aggr.ai_flags)
6240 rm -f conftest.
$ac_objext
6241 if { (ac_try
="$ac_compile"
6243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6244 *) ac_try_echo=$ac_try;;
6246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6247 (eval "$ac_compile") 2>conftest.er1
6249 grep -v '^ *+' conftest.er1 >conftest.err
6251 cat conftest.err >&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } && {
6254 test -z "$ac_c_werror_flag" ||
6255 test ! -s conftest.err
6256 } && test -s conftest.$ac_objext; then
6257 ac_cv_member_struct_addrinfo_ai_flags=yes
6259 echo "$as_me: failed program was:" >&5
6260 sed 's/^/| /' conftest.$ac_ext >&5
6262 cat >conftest.$ac_ext <<_ACEOF
6265 cat confdefs.h >>conftest.$ac_ext
6266 cat >>conftest.$ac_ext <<_ACEOF
6267 /* end confdefs.h. */
6268 #include <sys/types.h>
6269 #include <sys/socket.h>
6275 static struct addrinfo ac_aggr;
6276 if (sizeof ac_aggr.ai_flags)
6282 rm -f conftest.$ac_objext
6283 if { (ac_try="$ac_compile"
6285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6286 *) ac_try_echo
=$ac_try;;
6288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6289 (eval "$ac_compile") 2>conftest.er1
6291 grep -v '^ *+' conftest.er1
>conftest.err
6293 cat conftest.err
>&5
6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295 (exit $ac_status); } && {
6296 test -z "$ac_c_werror_flag" ||
6297 test ! -s conftest.err
6298 } && test -s conftest.
$ac_objext; then
6299 ac_cv_member_struct_addrinfo_ai_flags
=yes
6301 echo "$as_me: failed program was:" >&5
6302 sed 's/^/| /' conftest.
$ac_ext >&5
6304 ac_cv_member_struct_addrinfo_ai_flags
=no
6307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6312 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_addrinfo_ai_flags" >&5
6313 echo "${ECHO_T}$ac_cv_member_struct_addrinfo_ai_flags" >&6; }
6314 if test $ac_cv_member_struct_addrinfo_ai_flags = yes; then
6316 cat >>confdefs.h
<<\_ACEOF
6317 #define HAVE_STRUCT_ADDRINFO
6324 for ac_func
in gettimeofday
6326 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6327 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6329 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6330 echo $ECHO_N "(cached) $ECHO_C" >&6
6332 cat >conftest.
$ac_ext <<_ACEOF
6335 cat confdefs.h
>>conftest.
$ac_ext
6336 cat >>conftest.
$ac_ext <<_ACEOF
6337 /* end confdefs.h. */
6338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6340 #define $ac_func innocuous_$ac_func
6342 /* System header to define __stub macros and hopefully few prototypes,
6343 which can conflict with char $ac_func (); below.
6344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6345 <limits.h> exists even on freestanding compilers. */
6348 # include <limits.h>
6350 # include <assert.h>
6355 /* Override any GCC internal prototype to avoid an error.
6356 Use char because int might match the return type of a GCC
6357 builtin and then its argument prototype would still apply. */
6362 /* The GNU C library defines this for functions which it implements
6363 to always fail with ENOSYS. Some functions are actually named
6364 something starting with __ and the normal name is an alias. */
6365 #if defined __stub_$ac_func || defined __stub___$ac_func
6377 rm -f conftest.
$ac_objext conftest
$ac_exeext
6378 if { (ac_try
="$ac_link"
6380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6381 *) ac_try_echo=$ac_try;;
6383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6384 (eval "$ac_link") 2>conftest.er1
6386 grep -v '^ *+' conftest.er1 >conftest.err
6388 cat conftest.err >&5
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); } && {
6391 test -z "$ac_c_werror_flag" ||
6392 test ! -s conftest.err
6393 } && test -s conftest$ac_exeext &&
6394 $as_test_x conftest$ac_exeext; then
6395 eval "$as_ac_var=yes"
6397 echo "$as_me: failed program was:" >&5
6398 sed 's/^/| /' conftest.$ac_ext >&5
6400 eval "$as_ac_var=no"
6403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6404 conftest$ac_exeext conftest.$ac_ext
6406 ac_res=`eval echo '${'$as_ac_var'}'`
6407 { echo "$as_me:$LINENO: result: $ac_res" >&5
6408 echo "${ECHO_T}$ac_res" >&6; }
6409 if test `eval echo '${'$as_ac_var'}'` = yes; then
6410 cat >>confdefs.h <<_ACEOF
6411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6417 if test $ac_cv_func_gettimeofday = no; then
6419 for ac_func in ftime
6421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6422 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6424 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6425 echo $ECHO_N "(cached) $ECHO_C" >&6
6427 cat >conftest.$ac_ext <<_ACEOF
6430 cat confdefs.h >>conftest.$ac_ext
6431 cat >>conftest.$ac_ext <<_ACEOF
6432 /* end confdefs.h. */
6433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6435 #define $ac_func innocuous_$ac_func
6437 /* System header to define __stub macros and hopefully few prototypes,
6438 which can conflict with char $ac_func (); below.
6439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6440 <limits.h> exists even on freestanding compilers. */
6443 # include <limits.h>
6445 # include <assert.h>
6450 /* Override any GCC internal prototype to avoid an error.
6451 Use char because int might match the return type of a GCC
6452 builtin and then its argument prototype would still apply. */
6457 /* The GNU C library defines this for functions which it implements
6458 to always fail with ENOSYS. Some functions are actually named
6459 something starting with __ and the normal name is an alias. */
6460 #if defined __stub_$ac_func || defined __stub___$ac_func
6472 rm -f conftest.$ac_objext conftest$ac_exeext
6473 if { (ac_try="$ac_link"
6475 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6476 *) ac_try_echo
=$ac_try;;
6478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6479 (eval "$ac_link") 2>conftest.er1
6481 grep -v '^ *+' conftest.er1
>conftest.err
6483 cat conftest.err
>&5
6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485 (exit $ac_status); } && {
6486 test -z "$ac_c_werror_flag" ||
6487 test ! -s conftest.err
6488 } && test -s conftest
$ac_exeext &&
6489 $as_test_x conftest
$ac_exeext; then
6490 eval "$as_ac_var=yes"
6492 echo "$as_me: failed program was:" >&5
6493 sed 's/^/| /' conftest.
$ac_ext >&5
6495 eval "$as_ac_var=no"
6498 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6499 conftest
$ac_exeext conftest.
$ac_ext
6501 ac_res
=`eval echo '${'$as_ac_var'}'`
6502 { echo "$as_me:$LINENO: result: $ac_res" >&5
6503 echo "${ECHO_T}$ac_res" >&6; }
6504 if test `eval echo '${'$as_ac_var'}'` = yes; then
6505 cat >>confdefs.h
<<_ACEOF
6506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6510 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. X3 build will fail." >&5
6511 echo "$as_me: error: ftime or gettimeofday required. X3 build will fail." >&2;}
6512 { (exit 1); exit 1; }; }
6532 for ac_func
in freeaddrinfo getaddrinfo getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long sysconf
6534 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6537 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 cat >conftest.
$ac_ext <<_ACEOF
6543 cat confdefs.h
>>conftest.
$ac_ext
6544 cat >>conftest.
$ac_ext <<_ACEOF
6545 /* end confdefs.h. */
6546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6548 #define $ac_func innocuous_$ac_func
6550 /* System header to define __stub macros and hopefully few prototypes,
6551 which can conflict with char $ac_func (); below.
6552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6553 <limits.h> exists even on freestanding compilers. */
6556 # include <limits.h>
6558 # include <assert.h>
6563 /* Override any GCC internal prototype to avoid an error.
6564 Use char because int might match the return type of a GCC
6565 builtin and then its argument prototype would still apply. */
6570 /* The GNU C library defines this for functions which it implements
6571 to always fail with ENOSYS. Some functions are actually named
6572 something starting with __ and the normal name is an alias. */
6573 #if defined __stub_$ac_func || defined __stub___$ac_func
6585 rm -f conftest.
$ac_objext conftest
$ac_exeext
6586 if { (ac_try
="$ac_link"
6588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6589 *) ac_try_echo=$ac_try;;
6591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6592 (eval "$ac_link") 2>conftest.er1
6594 grep -v '^ *+' conftest.er1 >conftest.err
6596 cat conftest.err >&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); } && {
6599 test -z "$ac_c_werror_flag" ||
6600 test ! -s conftest.err
6601 } && test -s conftest$ac_exeext &&
6602 $as_test_x conftest$ac_exeext; then
6603 eval "$as_ac_var=yes"
6605 echo "$as_me: failed program was:" >&5
6606 sed 's/^/| /' conftest.$ac_ext >&5
6608 eval "$as_ac_var=no"
6611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6612 conftest$ac_exeext conftest.$ac_ext
6614 ac_res=`eval echo '${'$as_ac_var'}'`
6615 { echo "$as_me:$LINENO: result: $ac_res" >&5
6616 echo "${ECHO_T}$ac_res" >&6; }
6617 if test `eval echo '${'$as_ac_var'}'` = yes; then
6618 cat >>confdefs.h <<_ACEOF
6619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6632 for ac_func in select socket strcspn strspn strtod strtoul
6634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6638 echo $ECHO_N "(cached) $ECHO_C" >&6
6640 cat >conftest.$ac_ext <<_ACEOF
6643 cat confdefs.h >>conftest.$ac_ext
6644 cat >>conftest.$ac_ext <<_ACEOF
6645 /* end confdefs.h. */
6646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6648 #define $ac_func innocuous_$ac_func
6650 /* System header to define __stub macros and hopefully few prototypes,
6651 which can conflict with char $ac_func (); below.
6652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6653 <limits.h> exists even on freestanding compilers. */
6656 # include <limits.h>
6658 # include <assert.h>
6663 /* Override any GCC internal prototype to avoid an error.
6664 Use char because int might match the return type of a GCC
6665 builtin and then its argument prototype would still apply. */
6670 /* The GNU C library defines this for functions which it implements
6671 to always fail with ENOSYS. Some functions are actually named
6672 something starting with __ and the normal name is an alias. */
6673 #if defined __stub_$ac_func || defined __stub___$ac_func
6685 rm -f conftest.$ac_objext conftest$ac_exeext
6686 if { (ac_try="$ac_link"
6688 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6689 *) ac_try_echo
=$ac_try;;
6691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6692 (eval "$ac_link") 2>conftest.er1
6694 grep -v '^ *+' conftest.er1
>conftest.err
6696 cat conftest.err
>&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); } && {
6699 test -z "$ac_c_werror_flag" ||
6700 test ! -s conftest.err
6701 } && test -s conftest
$ac_exeext &&
6702 $as_test_x conftest
$ac_exeext; then
6703 eval "$as_ac_var=yes"
6705 echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.
$ac_ext >&5
6708 eval "$as_ac_var=no"
6711 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6712 conftest
$ac_exeext conftest.
$ac_ext
6714 ac_res
=`eval echo '${'$as_ac_var'}'`
6715 { echo "$as_me:$LINENO: result: $ac_res" >&5
6716 echo "${ECHO_T}$ac_res" >&6; }
6717 if test `eval echo '${'$as_ac_var'}'` = yes; then
6718 cat >>confdefs.h
<<_ACEOF
6719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6723 { { echo "$as_me:$LINENO: error: a required function was not found. X3 build will fail." >&5
6724 echo "$as_me: error: a required function was not found. X3 build will fail." >&2;}
6725 { (exit 1); exit 1; }; }
6730 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6731 # for constant arguments. Useless!
6732 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
6733 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6734 if test "${ac_cv_working_alloca_h+set}" = set; then
6735 echo $ECHO_N "(cached) $ECHO_C" >&6
6737 cat >conftest.
$ac_ext <<_ACEOF
6740 cat confdefs.h
>>conftest.
$ac_ext
6741 cat >>conftest.
$ac_ext <<_ACEOF
6742 /* end confdefs.h. */
6747 char *p = (char *) alloca (2 * sizeof (int));
6753 rm -f conftest.
$ac_objext conftest
$ac_exeext
6754 if { (ac_try
="$ac_link"
6756 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6757 *) ac_try_echo=$ac_try;;
6759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6760 (eval "$ac_link") 2>conftest.er1
6762 grep -v '^ *+' conftest.er1 >conftest.err
6764 cat conftest.err >&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); } && {
6767 test -z "$ac_c_werror_flag" ||
6768 test ! -s conftest.err
6769 } && test -s conftest$ac_exeext &&
6770 $as_test_x conftest$ac_exeext; then
6771 ac_cv_working_alloca_h=yes
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5
6776 ac_cv_working_alloca_h=no
6779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6780 conftest$ac_exeext conftest.$ac_ext
6782 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6783 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6784 if test $ac_cv_working_alloca_h = yes; then
6786 cat >>confdefs.h <<\_ACEOF
6787 #define HAVE_ALLOCA_H 1
6792 { echo "$as_me:$LINENO: checking for alloca" >&5
6793 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6794 if test "${ac_cv_func_alloca_works+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 cat >conftest.$ac_ext <<_ACEOF
6800 cat confdefs.h >>conftest.$ac_ext
6801 cat >>conftest.$ac_ext <<_ACEOF
6802 /* end confdefs.h. */
6804 # define alloca __builtin_alloca
6807 # include <malloc.h>
6808 # define alloca _alloca
6810 # ifdef HAVE_ALLOCA_H
6811 # include <alloca.h>
6816 # ifndef alloca /* predefined by HP cc +Olibcalls */
6827 char *p = (char *) alloca (1);
6833 rm -f conftest.$ac_objext conftest$ac_exeext
6834 if { (ac_try="$ac_link"
6836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6837 *) ac_try_echo
=$ac_try;;
6839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6840 (eval "$ac_link") 2>conftest.er1
6842 grep -v '^ *+' conftest.er1
>conftest.err
6844 cat conftest.err
>&5
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); } && {
6847 test -z "$ac_c_werror_flag" ||
6848 test ! -s conftest.err
6849 } && test -s conftest
$ac_exeext &&
6850 $as_test_x conftest
$ac_exeext; then
6851 ac_cv_func_alloca_works
=yes
6853 echo "$as_me: failed program was:" >&5
6854 sed 's/^/| /' conftest.
$ac_ext >&5
6856 ac_cv_func_alloca_works
=no
6859 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6860 conftest
$ac_exeext conftest.
$ac_ext
6862 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6863 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
6865 if test $ac_cv_func_alloca_works = yes; then
6867 cat >>confdefs.h
<<\_ACEOF
6868 #define HAVE_ALLOCA 1
6872 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6873 # that cause trouble. Some versions do not even contain alloca or
6874 # contain a buggy version. If you still want to use their alloca,
6875 # use ar to extract alloca.o from them instead of compiling alloca.c.
6877 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6879 cat >>confdefs.h
<<\_ACEOF
6884 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6885 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
6886 if test "${ac_cv_os_cray+set}" = set; then
6887 echo $ECHO_N "(cached) $ECHO_C" >&6
6889 cat >conftest.
$ac_ext <<_ACEOF
6892 cat confdefs.h
>>conftest.
$ac_ext
6893 cat >>conftest.
$ac_ext <<_ACEOF
6894 /* end confdefs.h. */
6895 #if defined CRAY && ! defined CRAY2
6902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6903 $EGREP "webecray" >/dev
/null
2>&1; then
6911 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6912 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6913 if test $ac_cv_os_cray = yes; then
6914 for ac_func
in _getb67 GETB67 getb67
; do
6915 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6918 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6919 echo $ECHO_N "(cached) $ECHO_C" >&6
6921 cat >conftest.
$ac_ext <<_ACEOF
6924 cat confdefs.h
>>conftest.
$ac_ext
6925 cat >>conftest.
$ac_ext <<_ACEOF
6926 /* end confdefs.h. */
6927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6929 #define $ac_func innocuous_$ac_func
6931 /* System header to define __stub macros and hopefully few prototypes,
6932 which can conflict with char $ac_func (); below.
6933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6934 <limits.h> exists even on freestanding compilers. */
6937 # include <limits.h>
6939 # include <assert.h>
6944 /* Override any GCC internal prototype to avoid an error.
6945 Use char because int might match the return type of a GCC
6946 builtin and then its argument prototype would still apply. */
6951 /* The GNU C library defines this for functions which it implements
6952 to always fail with ENOSYS. Some functions are actually named
6953 something starting with __ and the normal name is an alias. */
6954 #if defined __stub_$ac_func || defined __stub___$ac_func
6966 rm -f conftest.
$ac_objext conftest
$ac_exeext
6967 if { (ac_try
="$ac_link"
6969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6970 *) ac_try_echo=$ac_try;;
6972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6973 (eval "$ac_link") 2>conftest.er1
6975 grep -v '^ *+' conftest.er1 >conftest.err
6977 cat conftest.err >&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); } && {
6980 test -z "$ac_c_werror_flag" ||
6981 test ! -s conftest.err
6982 } && test -s conftest$ac_exeext &&
6983 $as_test_x conftest$ac_exeext; then
6984 eval "$as_ac_var=yes"
6986 echo "$as_me: failed program was:" >&5
6987 sed 's/^/| /' conftest.$ac_ext >&5
6989 eval "$as_ac_var=no"
6992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6993 conftest$ac_exeext conftest.$ac_ext
6995 ac_res=`eval echo '${'$as_ac_var'}'`
6996 { echo "$as_me:$LINENO: result: $ac_res" >&5
6997 echo "${ECHO_T}$ac_res" >&6; }
6998 if test `eval echo '${'$as_ac_var'}'` = yes; then
7000 cat >>confdefs.h <<_ACEOF
7001 #define CRAY_STACKSEG_END $ac_func
7010 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7011 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
7012 if test "${ac_cv_c_stack_direction+set}" = set; then
7013 echo $ECHO_N "(cached) $ECHO_C" >&6
7015 if test "$cross_compiling" = yes; then
7016 ac_cv_c_stack_direction=0
7018 cat >conftest.$ac_ext <<_ACEOF
7021 cat confdefs.h >>conftest.$ac_ext
7022 cat >>conftest.$ac_ext <<_ACEOF
7023 /* end confdefs.h. */
7024 $ac_includes_default
7026 find_stack_direction ()
7028 static char *addr = 0;
7033 return find_stack_direction ();
7036 return (&dummy > addr) ? 1 : -1;
7042 return find_stack_direction () < 0;
7045 rm -f conftest$ac_exeext
7046 if { (ac_try="$ac_link"
7048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7049 *) ac_try_echo
=$ac_try;;
7051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7052 (eval "$ac_link") 2>&5
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7056 { (case "(($ac_try" in
7057 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7058 *) ac_try_echo=$ac_try;;
7060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7061 (eval "$ac_try") 2>&5
7063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7064 (exit $ac_status); }; }; then
7065 ac_cv_c_stack_direction=1
7067 echo "$as_me: program exited with status $ac_status" >&5
7068 echo "$as_me: failed program was:" >&5
7069 sed 's/^/| /' conftest.$ac_ext >&5
7072 ac_cv_c_stack_direction=-1
7074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7079 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7080 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
7082 cat >>confdefs.h <<_ACEOF
7083 #define STACK_DIRECTION $ac_cv_c_stack_direction
7091 for ac_header in stdlib.h unistd.h
7093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7095 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7097 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7098 echo $ECHO_N "(cached) $ECHO_C" >&6
7100 ac_res=`eval echo '${'$as_ac_Header'}'`
7101 { echo "$as_me:$LINENO: result: $ac_res" >&5
7102 echo "${ECHO_T}$ac_res" >&6; }
7104 # Is the header compilable?
7105 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7106 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7107 cat >conftest.$ac_ext <<_ACEOF
7110 cat confdefs.h >>conftest.$ac_ext
7111 cat >>conftest.$ac_ext <<_ACEOF
7112 /* end confdefs.h. */
7113 $ac_includes_default
7114 #include <$ac_header>
7116 rm -f conftest.$ac_objext
7117 if { (ac_try="$ac_compile"
7119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7120 *) ac_try_echo
=$ac_try;;
7122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7123 (eval "$ac_compile") 2>conftest.er1
7125 grep -v '^ *+' conftest.er1
>conftest.err
7127 cat conftest.err
>&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); } && {
7130 test -z "$ac_c_werror_flag" ||
7131 test ! -s conftest.err
7132 } && test -s conftest.
$ac_objext; then
7133 ac_header_compiler
=yes
7135 echo "$as_me: failed program was:" >&5
7136 sed 's/^/| /' conftest.
$ac_ext >&5
7138 ac_header_compiler
=no
7141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7142 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7143 echo "${ECHO_T}$ac_header_compiler" >&6; }
7145 # Is the header present?
7146 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7147 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7148 cat >conftest.
$ac_ext <<_ACEOF
7151 cat confdefs.h
>>conftest.
$ac_ext
7152 cat >>conftest.
$ac_ext <<_ACEOF
7153 /* end confdefs.h. */
7154 #include <$ac_header>
7156 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7159 *) ac_try_echo=$ac_try;;
7161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7162 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7164 grep -v '^ *+' conftest.er1 >conftest.err
7166 cat conftest.err >&5
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); } >/dev/null && {
7169 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7170 test ! -s conftest.err
7172 ac_header_preproc=yes
7174 echo "$as_me: failed program was:" >&5
7175 sed 's/^/| /' conftest.$ac_ext >&5
7177 ac_header_preproc=no
7180 rm -f conftest.err conftest.$ac_ext
7181 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7182 echo "${ECHO_T}$ac_header_preproc" >&6; }
7184 # So? What about this header?
7185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7190 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7191 ac_header_preproc=yes
7194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7198 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7199 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7200 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7201 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7204 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7205 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7207 ## -------------------------------------------------- ##
7208 ## Report this to evilnet-devel@lists.sourceforge.net ##
7209 ## -------------------------------------------------- ##
7211 ) | sed "s/^/$as_me: WARNING: /" >&2
7214 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7216 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7217 echo $ECHO_N "(cached) $ECHO_C" >&6
7219 eval "$as_ac_Header=\$ac_header_preproc"
7221 ac_res=`eval echo '${'$as_ac_Header'}'`
7222 { echo "$as_me:$LINENO: result: $ac_res" >&5
7223 echo "${ECHO_T}$ac_res" >&6; }
7226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7227 cat >>confdefs.h <<_ACEOF
7228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7236 for ac_func in getpagesize
7238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7239 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7241 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 cat >conftest.$ac_ext <<_ACEOF
7247 cat confdefs.h >>conftest.$ac_ext
7248 cat >>conftest.$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7252 #define $ac_func innocuous_$ac_func
7254 /* System header to define __stub macros and hopefully few prototypes,
7255 which can conflict with char $ac_func (); below.
7256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7257 <limits.h> exists even on freestanding compilers. */
7260 # include <limits.h>
7262 # include <assert.h>
7267 /* Override any GCC internal prototype to avoid an error.
7268 Use char because int might match the return type of a GCC
7269 builtin and then its argument prototype would still apply. */
7274 /* The GNU C library defines this for functions which it implements
7275 to always fail with ENOSYS. Some functions are actually named
7276 something starting with __ and the normal name is an alias. */
7277 #if defined __stub_$ac_func || defined __stub___$ac_func
7289 rm -f conftest.$ac_objext conftest$ac_exeext
7290 if { (ac_try="$ac_link"
7292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7293 *) ac_try_echo
=$ac_try;;
7295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7296 (eval "$ac_link") 2>conftest.er1
7298 grep -v '^ *+' conftest.er1
>conftest.err
7300 cat conftest.err
>&5
7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); } && {
7303 test -z "$ac_c_werror_flag" ||
7304 test ! -s conftest.err
7305 } && test -s conftest
$ac_exeext &&
7306 $as_test_x conftest
$ac_exeext; then
7307 eval "$as_ac_var=yes"
7309 echo "$as_me: failed program was:" >&5
7310 sed 's/^/| /' conftest.
$ac_ext >&5
7312 eval "$as_ac_var=no"
7315 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7316 conftest
$ac_exeext conftest.
$ac_ext
7318 ac_res
=`eval echo '${'$as_ac_var'}'`
7319 { echo "$as_me:$LINENO: result: $ac_res" >&5
7320 echo "${ECHO_T}$ac_res" >&6; }
7321 if test `eval echo '${'$as_ac_var'}'` = yes; then
7322 cat >>confdefs.h
<<_ACEOF
7323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7329 { echo "$as_me:$LINENO: checking for working mmap" >&5
7330 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7331 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7334 if test "$cross_compiling" = yes; then
7335 ac_cv_func_mmap_fixed_mapped
=no
7337 cat >conftest.
$ac_ext <<_ACEOF
7340 cat confdefs.h
>>conftest.
$ac_ext
7341 cat >>conftest.
$ac_ext <<_ACEOF
7342 /* end confdefs.h. */
7343 $ac_includes_default
7344 /* malloc might have been renamed as rpl_malloc. */
7347 /* Thanks to Mike Haertel and Jim Avera for this test.
7348 Here is a matrix of mmap possibilities:
7349 mmap private not fixed
7350 mmap private fixed at somewhere currently unmapped
7351 mmap private fixed at somewhere already mapped
7352 mmap shared not fixed
7353 mmap shared fixed at somewhere currently unmapped
7354 mmap shared fixed at somewhere already mapped
7355 For private mappings, we should verify that changes cannot be read()
7356 back from the file, nor mmap's back from the file at a different
7357 address. (There have been systems where private was not correctly
7358 implemented like the infamous i386 svr4.0, and systems where the
7359 VM page cache was not coherent with the file system buffer cache
7360 like early versions of FreeBSD and possibly contemporary NetBSD.)
7361 For shared mappings, we should conversely verify that changes get
7362 propagated back to all the places they're supposed to be.
7364 Grep wants private fixed already mapped.
7365 The main things grep needs to know about mmap are:
7366 * does it exist and is it safe to write into the mmap'd area
7367 * how to use it (BSD variants) */
7370 #include <sys/mman.h>
7372 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7376 /* This mess was copied from the GNU getpagesize.h. */
7377 #ifndef HAVE_GETPAGESIZE
7378 /* Assume that all systems that can run configure have sys/param.h. */
7379 # ifndef HAVE_SYS_PARAM_H
7380 # define HAVE_SYS_PARAM_H 1
7383 # ifdef _SC_PAGESIZE
7384 # define getpagesize() sysconf(_SC_PAGESIZE)
7385 # else /* no _SC_PAGESIZE */
7386 # ifdef HAVE_SYS_PARAM_H
7387 # include <sys/param.h>
7388 # ifdef EXEC_PAGESIZE
7389 # define getpagesize() EXEC_PAGESIZE
7390 # else /* no EXEC_PAGESIZE */
7392 # define getpagesize() NBPG * CLSIZE
7395 # endif /* no CLSIZE */
7396 # else /* no NBPG */
7398 # define getpagesize() NBPC
7399 # else /* no NBPC */
7401 # define getpagesize() PAGESIZE
7402 # endif /* PAGESIZE */
7403 # endif /* no NBPC */
7404 # endif /* no NBPG */
7405 # endif /* no EXEC_PAGESIZE */
7406 # else /* no HAVE_SYS_PARAM_H */
7407 # define getpagesize() 8192 /* punt totally */
7408 # endif /* no HAVE_SYS_PARAM_H */
7409 # endif /* no _SC_PAGESIZE */
7411 #endif /* no HAVE_GETPAGESIZE */
7416 char *data, *data2, *data3;
7420 pagesize = getpagesize ();
7422 /* First, make a file with some known garbage in it. */
7423 data = (char *) malloc (pagesize);
7426 for (i = 0; i < pagesize; ++i)
7427 *(data + i) = rand ();
7429 fd = creat ("conftest.mmap", 0600);
7432 if (write (fd, data, pagesize) != pagesize)
7436 /* Next, try to mmap the file at a fixed address which already has
7437 something else allocated at it. If we can, also make sure that
7438 we see the same garbage. */
7439 fd = open ("conftest.mmap", O_RDWR);
7442 data2 = (char *) malloc (2 * pagesize);
7445 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7446 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7447 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7449 for (i = 0; i < pagesize; ++i)
7450 if (*(data + i) != *(data2 + i))
7453 /* Finally, make sure that changes to the mapped area do not
7454 percolate back to the file as seen by read(). (This is a bug on
7455 some variants of i386 svr4.0.) */
7456 for (i = 0; i < pagesize; ++i)
7457 *(data2 + i) = *(data2 + i) + 1;
7458 data3 = (char *) malloc (pagesize);
7461 if (read (fd, data3, pagesize) != pagesize)
7463 for (i = 0; i < pagesize; ++i)
7464 if (*(data + i) != *(data3 + i))
7470 rm -f conftest
$ac_exeext
7471 if { (ac_try
="$ac_link"
7473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7474 *) ac_try_echo=$ac_try;;
7476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7477 (eval "$ac_link") 2>&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7481 { (case "(($ac_try" in
7482 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7483 *) ac_try_echo
=$ac_try;;
7485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7486 (eval "$ac_try") 2>&5
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; }; then
7490 ac_cv_func_mmap_fixed_mapped
=yes
7492 echo "$as_me: program exited with status $ac_status" >&5
7493 echo "$as_me: failed program was:" >&5
7494 sed 's/^/| /' conftest.
$ac_ext >&5
7497 ac_cv_func_mmap_fixed_mapped
=no
7499 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7504 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7505 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7506 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7508 cat >>confdefs.h
<<\_ACEOF
7516 { echo "$as_me:$LINENO: checking for sin_len" >&5
7517 echo $ECHO_N "checking for sin_len... $ECHO_C" >&6; }
7518 if test "${ac_cv_sin_len+set}" = set; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 cat >conftest.
$ac_ext <<_ACEOF
7524 cat confdefs.h
>>conftest.
$ac_ext
7525 cat >>conftest.
$ac_ext <<_ACEOF
7526 /* end confdefs.h. */
7527 #include <sys/types.h>
7528 #include <netinet/in.h>
7532 struct sockaddr_in *sin; sin->sin_len = 0;
7537 rm -f conftest.
$ac_objext
7538 if { (ac_try
="$ac_compile"
7540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7541 *) ac_try_echo=$ac_try;;
7543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7544 (eval "$ac_compile") 2>conftest.er1
7546 grep -v '^ *+' conftest.er1 >conftest.err
7548 cat conftest.err >&5
7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550 (exit $ac_status); } && {
7551 test -z "$ac_c_werror_flag" ||
7552 test ! -s conftest.err
7553 } && test -s conftest.$ac_objext; then
7556 echo "$as_me: failed program was:" >&5
7557 sed 's/^/| /' conftest.$ac_ext >&5
7562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7564 { echo "$as_me:$LINENO: result: $ac_cv_sin_len" >&5
7565 echo "${ECHO_T}$ac_cv_sin_len" >&6; }
7566 if test $ac_cv_sin_len = yes ; then
7568 cat >>confdefs.h <<\_ACEOF
7569 #define HAVE_SIN_LEN 1
7574 { echo "$as_me:$LINENO: checking for socklen_t" >&5
7575 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
7576 if test "${ac_cv_type_socklen_t+set}" = set; then
7577 echo $ECHO_N "(cached) $ECHO_C" >&6
7579 cat >conftest.$ac_ext <<_ACEOF
7582 cat confdefs.h >>conftest.$ac_ext
7583 cat >>conftest.$ac_ext <<_ACEOF
7584 /* end confdefs.h. */
7585 #include <sys/types.h>
7586 #include<sys/socket.h>
7588 typedef socklen_t ac__type_new_;
7592 if ((ac__type_new_ *) 0)
7594 if (sizeof (ac__type_new_))
7600 rm -f conftest.$ac_objext
7601 if { (ac_try="$ac_compile"
7603 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7604 *) ac_try_echo
=$ac_try;;
7606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7607 (eval "$ac_compile") 2>conftest.er1
7609 grep -v '^ *+' conftest.er1
>conftest.err
7611 cat conftest.err
>&5
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); } && {
7614 test -z "$ac_c_werror_flag" ||
7615 test ! -s conftest.err
7616 } && test -s conftest.
$ac_objext; then
7617 ac_cv_type_socklen_t
=yes
7619 echo "$as_me: failed program was:" >&5
7620 sed 's/^/| /' conftest.
$ac_ext >&5
7622 ac_cv_type_socklen_t
=no
7625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7627 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7628 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
7629 if test $ac_cv_type_socklen_t = yes; then
7633 { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
7634 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; }
7635 if test "${curl_cv_socklen_t_equiv+set}" = set; then
7636 echo $ECHO_N "(cached) $ECHO_C" >&6
7639 curl_cv_socklen_t_equiv
=
7640 for arg2
in "struct sockaddr" void
; do
7641 for t
in int size_t unsigned long
"unsigned long" ; do
7642 cat >conftest.
$ac_ext <<_ACEOF
7645 cat confdefs.h
>>conftest.
$ac_ext
7646 cat >>conftest.
$ac_ext <<_ACEOF
7647 /* end confdefs.h. */
7648 #include <sys/types.h>
7649 #include <sys/socket.h>
7650 int getpeername (int $arg2 *, $t *);
7655 getpeername(0, 0, &len);
7660 rm -f conftest.
$ac_objext
7661 if { (ac_try
="$ac_compile"
7663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7664 *) ac_try_echo=$ac_try;;
7666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7667 (eval "$ac_compile") 2>conftest.er1
7669 grep -v '^ *+' conftest.er1 >conftest.err
7671 cat conftest.err >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); } && {
7674 test -z "$ac_c_werror_flag" ||
7675 test ! -s conftest.err
7676 } && test -s conftest.$ac_objext; then
7677 curl_cv_socklen_t_equiv="$t"
7680 echo "$as_me: failed program was:" >&5
7681 sed 's/^/| /' conftest.$ac_ext >&5
7686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7692 { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
7693 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; }
7695 cat >>confdefs.h <<_ACEOF
7696 #define socklen_t $curl_cv_socklen_t_equiv
7703 CFLAGS="$CFLAGS -W -Wall -Werror"
7705 { echo "$as_me:$LINENO: checking for time_t format" >&5
7706 echo $ECHO_N "checking for time_t format... $ECHO_C" >&6; }
7707 if test "${ac_cv_fmt_time_t+set}" = set; then
7708 echo $ECHO_N "(cached) $ECHO_C" >&6
7712 cat >conftest.$ac_ext <<_ACEOF
7713 #include <sys/types.h>
7717 printf("%li", test);
7720 rm -f conftest.$ac_objext
7721 if { (ac_try="$ac_compile"
7723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7724 *) ac_try_echo
=$ac_try;;
7726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7727 (eval "$ac_compile") 2>conftest.er1
7729 grep -v '^ *+' conftest.er1
>conftest.err
7731 cat conftest.err
>&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } && {
7734 test -z "$ac_c_werror_flag" ||
7735 test ! -s conftest.err
7736 } && test -s conftest.
$ac_objext; then
7737 ac_cv_fmt_time_t
="\"%li\""
7739 echo "$as_me: failed program was:" >&5
7740 sed 's/^/| /' conftest.
$ac_ext >&5
7745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7746 if test $ac_cv_fmt_time_t = no
; then
7747 cat >conftest.
$ac_ext <<_ACEOF
7748 #include <sys/types.h>
7755 rm -f conftest.
$ac_objext
7756 if { (ac_try
="$ac_compile"
7758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7759 *) ac_try_echo=$ac_try;;
7761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7762 (eval "$ac_compile") 2>conftest.er1
7764 grep -v '^ *+' conftest.er1 >conftest.err
7766 cat conftest.err >&5
7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768 (exit $ac_status); } && {
7769 test -z "$ac_c_werror_flag" ||
7770 test ! -s conftest.err
7771 } && test -s conftest.$ac_objext; then
7772 ac_cv_fmt_time_t="\"%i\""
7774 echo "$as_me: failed program was:" >&5
7775 sed 's/^/| /' conftest.$ac_ext >&5
7780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7782 if test $ac_cv_fmt_time_t = no; then
7783 { { echo "$as_me:$LINENO: error: Cannot detect format string for time_t
7784 Please check sys/types.h for the typedef of time_t and submit to a developer" >&5
7785 echo "$as_me: error: Cannot detect format string for time_t
7786 Please check sys/types.h for the typedef of time_t and submit to a developer" >&2;}
7787 { (exit 1); exit 1; }; }
7793 cat >>confdefs.h <<_ACEOF
7794 #define FMT_TIME_T $ac_cv_fmt_time_t
7797 { echo "$as_me:$LINENO: result: $ac_cv_fmt_time_t" >&5
7798 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6; }
7800 { echo "$as_me:$LINENO: checking for va_copy" >&5
7801 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
7802 if test "${ac_cv_c_va_copy+set}" = set; then
7803 echo $ECHO_N "(cached) $ECHO_C" >&6
7805 cat >conftest.$ac_ext <<_ACEOF
7808 cat confdefs.h >>conftest.$ac_ext
7809 cat >>conftest.$ac_ext <<_ACEOF
7810 /* end confdefs.h. */
7815 va_list ap1, ap2; va_copy(ap1, ap2);
7820 rm -f conftest.$ac_objext conftest$ac_exeext
7821 if { (ac_try="$ac_link"
7823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7824 *) ac_try_echo
=$ac_try;;
7826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7827 (eval "$ac_link") 2>conftest.er1
7829 grep -v '^ *+' conftest.er1
>conftest.err
7831 cat conftest.err
>&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); } && {
7834 test -z "$ac_c_werror_flag" ||
7835 test ! -s conftest.err
7836 } && test -s conftest
$ac_exeext &&
7837 $as_test_x conftest
$ac_exeext; then
7838 ac_cv_c_va_copy
="yes"
7840 echo "$as_me: failed program was:" >&5
7841 sed 's/^/| /' conftest.
$ac_ext >&5
7843 ac_cv_c_va_copy
="no"
7847 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7848 conftest
$ac_exeext conftest.
$ac_ext
7850 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
7851 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
7852 if test "$ac_cv_c_va_copy" = "yes" ; then
7854 cat >>confdefs.h
<<\_ACEOF
7855 #define HAVE_VA_COPY 1
7860 { echo "$as_me:$LINENO: checking for __va_copy" >&5
7861 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
7862 if test "${ac_cv_c___va_copy+set}" = set; then
7863 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 cat >conftest.
$ac_ext <<_ACEOF
7868 cat confdefs.h
>>conftest.
$ac_ext
7869 cat >>conftest.
$ac_ext <<_ACEOF
7870 /* end confdefs.h. */
7875 va_list ap1, ap2; __va_copy(ap1, ap2);
7880 rm -f conftest.
$ac_objext conftest
$ac_exeext
7881 if { (ac_try
="$ac_link"
7883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7884 *) ac_try_echo=$ac_try;;
7886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7887 (eval "$ac_link") 2>conftest.er1
7889 grep -v '^ *+' conftest.er1 >conftest.err
7891 cat conftest.err >&5
7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); } && {
7894 test -z "$ac_c_werror_flag" ||
7895 test ! -s conftest.err
7896 } && test -s conftest$ac_exeext &&
7897 $as_test_x conftest$ac_exeext; then
7898 ac_cv_c___va_copy="yes"
7900 echo "$as_me: failed program was:" >&5
7901 sed 's/^/| /' conftest.$ac_ext >&5
7903 ac_cv_c___va_copy="no"
7907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7908 conftest$ac_exeext conftest.$ac_ext
7910 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
7911 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
7912 if test "$ac_cv_c___va_copy" = "yes" ; then
7914 cat >>confdefs.h <<\_ACEOF
7915 #define HAVE___VA_COPY 1
7922 { echo "$as_me:$LINENO: checking which malloc to use" >&5
7923 echo $ECHO_N "checking which malloc to use... $ECHO_C" >&6; }
7925 # Check whether --with-malloc was given.
7926 if test "${with_malloc+set}" = set; then
7927 withval=$with_malloc;
7932 if test "x$withval" = "xsystem" ; then
7933 { echo "$as_me:$LINENO: result: system" >&5
7934 echo "${ECHO_T}system" >&6; }
7936 cat >>confdefs.h <<\_ACEOF
7937 #define WITH_MALLOC_SYSTEM 1
7941 elif test "x$withval" = "xdmalloc" ; then
7942 { echo "$as_me:$LINENO: result: dmalloc" >&5
7943 echo "${ECHO_T}dmalloc" >&6; }
7945 for ac_header in dmalloc.h
7947 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7948 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7949 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7951 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7952 echo $ECHO_N "(cached) $ECHO_C" >&6
7954 ac_res=`eval echo '${'$as_ac_Header'}'`
7955 { echo "$as_me:$LINENO: result: $ac_res" >&5
7956 echo "${ECHO_T}$ac_res" >&6; }
7958 # Is the header compilable?
7959 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7961 cat >conftest.$ac_ext <<_ACEOF
7964 cat confdefs.h >>conftest.$ac_ext
7965 cat >>conftest.$ac_ext <<_ACEOF
7966 /* end confdefs.h. */
7967 $ac_includes_default
7968 #include <$ac_header>
7970 rm -f conftest.$ac_objext
7971 if { (ac_try="$ac_compile"
7973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7974 *) ac_try_echo
=$ac_try;;
7976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7977 (eval "$ac_compile") 2>conftest.er1
7979 grep -v '^ *+' conftest.er1
>conftest.err
7981 cat conftest.err
>&5
7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983 (exit $ac_status); } && {
7984 test -z "$ac_c_werror_flag" ||
7985 test ! -s conftest.err
7986 } && test -s conftest.
$ac_objext; then
7987 ac_header_compiler
=yes
7989 echo "$as_me: failed program was:" >&5
7990 sed 's/^/| /' conftest.
$ac_ext >&5
7992 ac_header_compiler
=no
7995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7996 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7997 echo "${ECHO_T}$ac_header_compiler" >&6; }
7999 # Is the header present?
8000 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8002 cat >conftest.
$ac_ext <<_ACEOF
8005 cat confdefs.h
>>conftest.
$ac_ext
8006 cat >>conftest.
$ac_ext <<_ACEOF
8007 /* end confdefs.h. */
8008 #include <$ac_header>
8010 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8013 *) ac_try_echo=$ac_try;;
8015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8016 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8018 grep -v '^ *+' conftest.er1 >conftest.err
8020 cat conftest.err >&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); } >/dev/null && {
8023 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8024 test ! -s conftest.err
8026 ac_header_preproc=yes
8028 echo "$as_me: failed program was:" >&5
8029 sed 's/^/| /' conftest.$ac_ext >&5
8031 ac_header_preproc=no
8034 rm -f conftest.err conftest.$ac_ext
8035 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8036 echo "${ECHO_T}$ac_header_preproc" >&6; }
8038 # So? What about this header?
8039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8041 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8042 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8044 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8045 ac_header_preproc=yes
8048 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8049 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8050 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8051 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8052 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8053 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8054 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8055 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8058 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8059 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8061 ## -------------------------------------------------- ##
8062 ## Report this to evilnet-devel@lists.sourceforge.net ##
8063 ## -------------------------------------------------- ##
8065 ) | sed "s/^/$as_me: WARNING: /" >&2
8068 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8071 echo $ECHO_N "(cached) $ECHO_C" >&6
8073 eval "$as_ac_Header=\$ac_header_preproc"
8075 ac_res=`eval echo '${'$as_ac_Header'}'`
8076 { echo "$as_me:$LINENO: result: $ac_res" >&5
8077 echo "${ECHO_T}$ac_res" >&6; }
8080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8081 cat >>confdefs.h <<_ACEOF
8082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8086 { { echo "$as_me:$LINENO: error: dmalloc header file missing. dmalloc build will fail." >&5
8087 echo "$as_me: error: dmalloc header file missing. dmalloc build will fail." >&2;}
8088 { (exit 1); exit 1; }; }
8094 { echo "$as_me:$LINENO: checking for malloc in -ldmalloc" >&5
8095 echo $ECHO_N "checking for malloc in -ldmalloc... $ECHO_C" >&6; }
8096 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
8097 echo $ECHO_N "(cached) $ECHO_C" >&6
8099 ac_check_lib_save_LIBS=$LIBS
8100 LIBS="-ldmalloc $LIBS"
8101 cat >conftest.$ac_ext <<_ACEOF
8104 cat confdefs.h >>conftest.$ac_ext
8105 cat >>conftest.$ac_ext <<_ACEOF
8106 /* end confdefs.h. */
8108 /* Override any GCC internal prototype to avoid an error.
8109 Use char because int might match the return type of a GCC
8110 builtin and then its argument prototype would still apply. */
8123 rm -f conftest.$ac_objext conftest$ac_exeext
8124 if { (ac_try="$ac_link"
8126 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8127 *) ac_try_echo
=$ac_try;;
8129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8130 (eval "$ac_link") 2>conftest.er1
8132 grep -v '^ *+' conftest.er1
>conftest.err
8134 cat conftest.err
>&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } && {
8137 test -z "$ac_c_werror_flag" ||
8138 test ! -s conftest.err
8139 } && test -s conftest
$ac_exeext &&
8140 $as_test_x conftest
$ac_exeext; then
8141 ac_cv_lib_dmalloc_malloc
=yes
8143 echo "$as_me: failed program was:" >&5
8144 sed 's/^/| /' conftest.
$ac_ext >&5
8146 ac_cv_lib_dmalloc_malloc
=no
8149 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8150 conftest
$ac_exeext conftest.
$ac_ext
8151 LIBS
=$ac_check_lib_save_LIBS
8153 { echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_malloc" >&5
8154 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6; }
8155 if test $ac_cv_lib_dmalloc_malloc = yes; then
8156 cat >>confdefs.h
<<_ACEOF
8157 #define HAVE_LIBDMALLOC 1
8160 LIBS
="-ldmalloc $LIBS"
8163 { { echo "$as_me:$LINENO: error: dmalloc library is missing. dmalloc build will fail." >&5
8164 echo "$as_me: error: dmalloc library is missing. dmalloc build will fail." >&2;}
8165 { (exit 1); exit 1; }; }
8169 cat >>confdefs.h
<<\_ACEOF
8170 #define WITH_MALLOC_DMALLOC 1
8174 elif test "x$withval" = "xmpatrol" ; then
8175 { echo "$as_me:$LINENO: result: mpatrol" >&5
8176 echo "${ECHO_T}mpatrol" >&6; }
8178 for ac_header
in mpatrol.h
8180 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8181 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8182 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8184 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8185 echo $ECHO_N "(cached) $ECHO_C" >&6
8187 ac_res
=`eval echo '${'$as_ac_Header'}'`
8188 { echo "$as_me:$LINENO: result: $ac_res" >&5
8189 echo "${ECHO_T}$ac_res" >&6; }
8191 # Is the header compilable?
8192 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8194 cat >conftest.
$ac_ext <<_ACEOF
8197 cat confdefs.h
>>conftest.
$ac_ext
8198 cat >>conftest.
$ac_ext <<_ACEOF
8199 /* end confdefs.h. */
8200 $ac_includes_default
8201 #include <$ac_header>
8203 rm -f conftest.
$ac_objext
8204 if { (ac_try
="$ac_compile"
8206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8207 *) ac_try_echo=$ac_try;;
8209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8210 (eval "$ac_compile") 2>conftest.er1
8212 grep -v '^ *+' conftest.er1 >conftest.err
8214 cat conftest.err >&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); } && {
8217 test -z "$ac_c_werror_flag" ||
8218 test ! -s conftest.err
8219 } && test -s conftest.$ac_objext; then
8220 ac_header_compiler=yes
8222 echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8225 ac_header_compiler=no
8228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8229 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8230 echo "${ECHO_T}$ac_header_compiler" >&6; }
8232 # Is the header present?
8233 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8234 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8235 cat >conftest.$ac_ext <<_ACEOF
8238 cat confdefs.h >>conftest.$ac_ext
8239 cat >>conftest.$ac_ext <<_ACEOF
8240 /* end confdefs.h. */
8241 #include <$ac_header>
8243 if { (ac_try="$ac_cpp conftest.$ac_ext"
8245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8246 *) ac_try_echo
=$ac_try;;
8248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8251 grep -v '^ *+' conftest.er1
>conftest.err
8253 cat conftest.err
>&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } >/dev
/null
&& {
8256 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8257 test ! -s conftest.err
8259 ac_header_preproc
=yes
8261 echo "$as_me: failed program was:" >&5
8262 sed 's/^/| /' conftest.
$ac_ext >&5
8264 ac_header_preproc
=no
8267 rm -f conftest.err conftest.
$ac_ext
8268 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8269 echo "${ECHO_T}$ac_header_preproc" >&6; }
8271 # So? What about this header?
8272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8277 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8278 ac_header_preproc
=yes
8281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8285 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8286 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8287 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8288 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8291 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8292 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8294 ## -------------------------------------------------- ##
8295 ## Report this to evilnet-devel@lists.sourceforge.net ##
8296 ## -------------------------------------------------- ##
8298 ) | sed "s/^/$as_me: WARNING: /" >&2
8301 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8303 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8304 echo $ECHO_N "(cached) $ECHO_C" >&6
8306 eval "$as_ac_Header=\$ac_header_preproc"
8308 ac_res
=`eval echo '${'$as_ac_Header'}'`
8309 { echo "$as_me:$LINENO: result: $ac_res" >&5
8310 echo "${ECHO_T}$ac_res" >&6; }
8313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8314 cat >>confdefs.h
<<_ACEOF
8315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8319 { { echo "$as_me:$LINENO: error: mpatrol header file missing. mpatrol build will fail." >&5
8320 echo "$as_me: error: mpatrol header file missing. mpatrol build will fail." >&2;}
8321 { (exit 1); exit 1; }; }
8327 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
8328 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
8329 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8332 ac_check_lib_save_LIBS
=$LIBS
8334 cat >conftest.
$ac_ext <<_ACEOF
8337 cat confdefs.h
>>conftest.
$ac_ext
8338 cat >>conftest.
$ac_ext <<_ACEOF
8339 /* end confdefs.h. */
8341 /* Override any GCC internal prototype to avoid an error.
8342 Use char because int might match the return type of a GCC
8343 builtin and then its argument prototype would still apply. */
8351 return elf_begin ();
8356 rm -f conftest.
$ac_objext conftest
$ac_exeext
8357 if { (ac_try
="$ac_link"
8359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8360 *) ac_try_echo=$ac_try;;
8362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8363 (eval "$ac_link") 2>conftest.er1
8365 grep -v '^ *+' conftest.er1 >conftest.err
8367 cat conftest.err >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); } && {
8370 test -z "$ac_c_werror_flag" ||
8371 test ! -s conftest.err
8372 } && test -s conftest$ac_exeext &&
8373 $as_test_x conftest$ac_exeext; then
8374 ac_cv_lib_elf_elf_begin=yes
8376 echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.$ac_ext >&5
8379 ac_cv_lib_elf_elf_begin=no
8382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8383 conftest$ac_exeext conftest.$ac_ext
8384 LIBS=$ac_check_lib_save_LIBS
8386 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
8387 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
8388 if test $ac_cv_lib_elf_elf_begin = yes; then
8389 cat >>confdefs.h <<_ACEOF
8390 #define HAVE_LIBELF 1
8398 { echo "$as_me:$LINENO: checking for __mp_atexit in -lmpatrol" >&5
8399 echo $ECHO_N "checking for __mp_atexit in -lmpatrol... $ECHO_C" >&6; }
8400 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
8401 echo $ECHO_N "(cached) $ECHO_C" >&6
8403 ac_check_lib_save_LIBS=$LIBS
8404 LIBS="-lmpatrol $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. */
8418 char __mp_atexit ();
8422 return __mp_atexit ();
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_mpatrol___mp_atexit
=yes
8447 echo "$as_me: failed program was:" >&5
8448 sed 's/^/| /' conftest.
$ac_ext >&5
8450 ac_cv_lib_mpatrol___mp_atexit
=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_mpatrol___mp_atexit" >&5
8458 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6; }
8459 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
8460 cat >>confdefs.h
<<_ACEOF
8461 #define HAVE_LIBMPATROL 1
8464 LIBS
="-lmpatrol $LIBS"
8467 { { echo "$as_me:$LINENO: error: mpatrol library is missing completely. mpatrol build will fail." >&5
8468 echo "$as_me: error: mpatrol library is missing completely. mpatrol build will fail." >&2;}
8469 { (exit 1); exit 1; }; }
8473 cat >>confdefs.h
<<\_ACEOF
8474 #define WITH_MALLOC_MPATROL 1
8478 elif test "x$withval" = "xboehm-gc" ; then
8479 { echo "$as_me:$LINENO: result: boehm-gc" >&5
8480 echo "${ECHO_T}boehm-gc" >&6; }
8482 for ac_header
in gc
/gc.h
8484 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8485 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8486 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8488 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8491 ac_res
=`eval echo '${'$as_ac_Header'}'`
8492 { echo "$as_me:$LINENO: result: $ac_res" >&5
8493 echo "${ECHO_T}$ac_res" >&6; }
8495 # Is the header compilable?
8496 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8498 cat >conftest.
$ac_ext <<_ACEOF
8501 cat confdefs.h
>>conftest.
$ac_ext
8502 cat >>conftest.
$ac_ext <<_ACEOF
8503 /* end confdefs.h. */
8504 $ac_includes_default
8505 #include <$ac_header>
8507 rm -f conftest.
$ac_objext
8508 if { (ac_try
="$ac_compile"
8510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8511 *) ac_try_echo=$ac_try;;
8513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8514 (eval "$ac_compile") 2>conftest.er1
8516 grep -v '^ *+' conftest.er1 >conftest.err
8518 cat conftest.err >&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); } && {
8521 test -z "$ac_c_werror_flag" ||
8522 test ! -s conftest.err
8523 } && test -s conftest.$ac_objext; then
8524 ac_header_compiler=yes
8526 echo "$as_me: failed program was:" >&5
8527 sed 's/^/| /' conftest.$ac_ext >&5
8529 ac_header_compiler=no
8532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8533 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8534 echo "${ECHO_T}$ac_header_compiler" >&6; }
8536 # Is the header present?
8537 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8538 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8539 cat >conftest.$ac_ext <<_ACEOF
8542 cat confdefs.h >>conftest.$ac_ext
8543 cat >>conftest.$ac_ext <<_ACEOF
8544 /* end confdefs.h. */
8545 #include <$ac_header>
8547 if { (ac_try="$ac_cpp conftest.$ac_ext"
8549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8550 *) ac_try_echo
=$ac_try;;
8552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8555 grep -v '^ *+' conftest.er1
>conftest.err
8557 cat conftest.err
>&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); } >/dev
/null
&& {
8560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8561 test ! -s conftest.err
8563 ac_header_preproc
=yes
8565 echo "$as_me: failed program was:" >&5
8566 sed 's/^/| /' conftest.
$ac_ext >&5
8568 ac_header_preproc
=no
8571 rm -f conftest.err conftest.
$ac_ext
8572 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8573 echo "${ECHO_T}$ac_header_preproc" >&6; }
8575 # So? What about this header?
8576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8578 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8579 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8581 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8582 ac_header_preproc
=yes
8585 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8586 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8587 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8588 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8590 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8592 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8594 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8595 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8596 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8598 ## -------------------------------------------------- ##
8599 ## Report this to evilnet-devel@lists.sourceforge.net ##
8600 ## -------------------------------------------------- ##
8602 ) | sed "s/^/$as_me: WARNING: /" >&2
8605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8607 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8608 echo $ECHO_N "(cached) $ECHO_C" >&6
8610 eval "$as_ac_Header=\$ac_header_preproc"
8612 ac_res
=`eval echo '${'$as_ac_Header'}'`
8613 { echo "$as_me:$LINENO: result: $ac_res" >&5
8614 echo "${ECHO_T}$ac_res" >&6; }
8617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8618 cat >>confdefs.h
<<_ACEOF
8619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8623 { { echo "$as_me:$LINENO: error: Boehm GC header file missing. boehm-gc build will fail." >&5
8624 echo "$as_me: error: Boehm GC header file missing. boehm-gc build will fail." >&2;}
8625 { (exit 1); exit 1; }; }
8631 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8632 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8633 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8634 echo $ECHO_N "(cached) $ECHO_C" >&6
8636 ac_check_lib_save_LIBS
=$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. */
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_dl_dlopen=yes
8680 echo "$as_me: failed program was:" >&5
8681 sed 's/^/| /' conftest.$ac_ext >&5
8683 ac_cv_lib_dl_dlopen=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_dl_dlopen" >&5
8691 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8692 if test $ac_cv_lib_dl_dlopen = yes; then
8693 cat >>confdefs.h <<_ACEOF
8694 #define HAVE_LIBDL 1
8700 { { echo "$as_me:$LINENO: error: libdl library is missing. boehm-gc build will fail." >&5
8701 echo "$as_me: error: libdl library is missing. boehm-gc build will fail." >&2;}
8702 { (exit 1); exit 1; }; }
8706 { echo "$as_me:$LINENO: checking for GC_gcollect in -lgc" >&5
8707 echo $ECHO_N "checking for GC_gcollect in -lgc... $ECHO_C" >&6; }
8708 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
8709 echo $ECHO_N "(cached) $ECHO_C" >&6
8711 ac_check_lib_save_LIBS=$LIBS
8713 cat >conftest.$ac_ext <<_ACEOF
8716 cat confdefs.h >>conftest.$ac_ext
8717 cat >>conftest.$ac_ext <<_ACEOF
8718 /* end confdefs.h. */
8720 /* Override any GCC internal prototype to avoid an error.
8721 Use char because int might match the return type of a GCC
8722 builtin and then its argument prototype would still apply. */
8726 char GC_gcollect ();
8730 return GC_gcollect ();
8735 rm -f conftest.$ac_objext conftest$ac_exeext
8736 if { (ac_try="$ac_link"
8738 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8739 *) ac_try_echo
=$ac_try;;
8741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8742 (eval "$ac_link") 2>conftest.er1
8744 grep -v '^ *+' conftest.er1
>conftest.err
8746 cat conftest.err
>&5
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); } && {
8749 test -z "$ac_c_werror_flag" ||
8750 test ! -s conftest.err
8751 } && test -s conftest
$ac_exeext &&
8752 $as_test_x conftest
$ac_exeext; then
8753 ac_cv_lib_gc_GC_gcollect
=yes
8755 echo "$as_me: failed program was:" >&5
8756 sed 's/^/| /' conftest.
$ac_ext >&5
8758 ac_cv_lib_gc_GC_gcollect
=no
8761 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8762 conftest
$ac_exeext conftest.
$ac_ext
8763 LIBS
=$ac_check_lib_save_LIBS
8765 { echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_gcollect" >&5
8766 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6; }
8767 if test $ac_cv_lib_gc_GC_gcollect = yes; then
8768 cat >>confdefs.h
<<_ACEOF
8769 #define HAVE_LIBGC 1
8775 { { echo "$as_me:$LINENO: error: Boehm GC library is missing. boehm-gc build will fail." >&5
8776 echo "$as_me: error: Boehm GC library is missing. boehm-gc build will fail." >&2;}
8777 { (exit 1); exit 1; }; }
8781 cat >>confdefs.h
<<\_ACEOF
8782 #define WITH_MALLOC_BOEHM_GC 1
8786 elif test "x$withval" = "xx3" ; then
8787 { echo "$as_me:$LINENO: result: x3" >&5
8788 echo "${ECHO_T}x3" >&6; }
8790 cat >>confdefs.h
<<\_ACEOF
8791 #define WITH_MALLOC_X3 1
8794 MODULE_OBJS
="$MODULE_OBJS alloc-x3.\$(OBJEXT)"
8796 elif test "x$withval" = "xslab" ; then
8797 { echo "$as_me:$LINENO: result: slab" >&5
8798 echo "${ECHO_T}slab" >&6; }
8800 cat >>confdefs.h
<<\_ACEOF
8801 #define WITH_MALLOC_SLAB 1
8804 MODULE_OBJS
="$MODULE_OBJS alloc-slab.\$(OBJEXT)"
8807 { { echo "$as_me:$LINENO: error: Unknown malloc type $withval" >&5
8808 echo "$as_me: error: Unknown malloc type $withval" >&2;}
8809 { (exit 1); exit 1; }; }
8812 { echo "$as_me:$LINENO: checking which protocol to use" >&5
8813 echo $ECHO_N "checking which protocol to use... $ECHO_C" >&6; }
8815 # Check whether --with-protocol was given.
8816 if test "${with_protocol+set}" = set; then
8817 withval
=$with_protocol;
8822 if test "x$withval" = "xp10" ; then
8823 { echo "$as_me:$LINENO: result: P10" >&5
8824 echo "${ECHO_T}P10" >&6; }
8826 cat >>confdefs.h
<<\_ACEOF
8827 #define WITH_PROTOCOL_P10 1
8830 MODULE_OBJS
="$MODULE_OBJS proto-p10.\$(OBJEXT)"
8831 PROTO_FILES
=proto
-p10.c
8834 { { echo "$as_me:$LINENO: error: Unknown IRC dialect $withval" >&5
8835 echo "$as_me: error: Unknown IRC dialect $withval" >&2;}
8836 { (exit 1); exit 1; }; }
8840 # Check whether --with-getopt was given.
8841 if test "${with_getopt+set}" = set; then
8842 withval
=$with_getopt; if test "$withval" = no
; then
8844 cat >>confdefs.h
<<\_ACEOF
8845 #define IGNORE_GETOPT 1
8852 { echo "$as_me:$LINENO: checking whether to enable tokenization" >&5
8853 echo $ECHO_N "checking whether to enable tokenization... $ECHO_C" >&6; }
8854 # Check whether --enable-tokens was given.
8855 if test "${enable_tokens+set}" = set; then
8856 enableval
=$enable_tokens;
8861 if test "z$enableval" = zno
; then
8862 { echo "$as_me:$LINENO: result: no" >&5
8863 echo "${ECHO_T}no" >&6; }
8866 cat >>confdefs.h
<<\_ACEOF
8867 #define ENABLE_TOKENS 1
8870 { echo "$as_me:$LINENO: result: yes" >&5
8871 echo "${ECHO_T}yes" >&6; }
8874 { echo "$as_me:$LINENO: checking whether to enable debug behaviors" >&5
8875 echo $ECHO_N "checking whether to enable debug behaviors... $ECHO_C" >&6; }
8876 # Check whether --enable-debug was given.
8877 if test "${enable_debug+set}" = set; then
8878 enableval
=$enable_debug;
8879 CPPFLAGS
="$CPPFLAGS"
8880 { echo "$as_me:$LINENO: result: yes" >&5
8881 echo "${ECHO_T}yes" >&6; }
8886 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
8887 { echo "$as_me:$LINENO: result: no" >&5
8888 echo "${ECHO_T}no" >&6; }
8894 if test -e src
; then
8895 if test ! -d src
; then
8896 { { echo "$as_me:$LINENO: error: src exists but is not a directory; please move it out of the way." >&5
8897 echo "$as_me: error: src exists but is not a directory; please move it out of the way." >&2;}
8898 { (exit 1); exit 1; }; }
8903 { echo "$as_me:$LINENO: checking for extra module files" >&5
8904 echo $ECHO_N "checking for extra module files... $ECHO_C" >&6; }
8905 MODULE_DEFINES
="src/modules-list.h"
8906 echo > $MODULE_DEFINES
8907 touch $MODULE_DEFINES
8908 # Check whether --enable-modules was given.
8909 if test "${enable_modules+set}" = set; then
8910 enableval
=$enable_modules;
8913 EXTRA_MODULE_OBJS
=""
8915 for module
in $enableval ; do
8916 module
=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
8917 EXTRA_MODULE_OBJS
="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
8918 module_list
="$module_list $module"
8919 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
8920 if test "x$module" = "xtrack" ; then
8921 TRACK
="-D HAVE_TRACK"
8923 cat >>confdefs.h
<<\_ACEOF
8924 #define HAVE_TRACK 1
8928 if test "x$module" = "xhelpserv" ; then
8929 TRACK
="-D HAVE_HELPSERV"
8931 cat >>confdefs.h
<<\_ACEOF
8932 #define HAVE_HELPSERV 1
8938 MODULE_OBJS
="$MODULE_OBJS $EXTRA_MODULE_OBJS"
8939 { echo "$as_me:$LINENO: result: $module_list" >&5
8940 echo "${ECHO_T}$module_list" >&6; }
8944 { echo "$as_me:$LINENO: result: none" >&5
8945 echo "${ECHO_T}none" >&6; }
8950 # Check whether --enable-python was given.
8951 if test "${enable_python+set}" = set; then
8952 enableval
=$enable_python; python
=$enableval
8962 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no
; then
8963 MY_SUBDIRS
="rx $MY_SUBDIRS"
8964 RX_INCLUDES
="-I../rx"
8965 RX_LIBS
="../rx/librx.a"
8967 MY_SUBDIRS
="$MY_SUBDIRS src"
8968 CFLAGS
="$CFLAGS $ANSI_SRC -W -Wall"
8969 if test "z$USE_MAINTAINER_MODE" = zyes
; then
8970 CFLAGS
="$CFLAGS -Werror"
8977 # Check whether --with-tre was given.
8978 if test "${with_tre+set}" = set; then
8982 if test "x$withval" != "x"; then
8983 { echo "$as_me:$LINENO: result: Using include dir $withval to find libtre" >&5
8984 echo "${ECHO_T}Using include dir $withval to find libtre" >&6; }
8985 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
8986 LIBS
="$LIBS -L$withval/lib"
8988 { echo "$as_me:$LINENO: result: Looking for tre in system and home dirs (${HOME})..." >&5
8989 echo "${ECHO_T}Looking for tre in system and home dirs (${HOME})..." >&6; }
8990 CPPFLAGS
="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
8991 LIBS
="$LIBS -L${HOME}/lib"
8993 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8994 { echo "$as_me:$LINENO: checking for tre/regex.h" >&5
8995 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6; }
8996 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8997 echo $ECHO_N "(cached) $ECHO_C" >&6
8999 { echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
9000 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
9002 # Is the header compilable?
9003 { echo "$as_me:$LINENO: checking tre/regex.h usability" >&5
9004 echo $ECHO_N "checking tre/regex.h usability... $ECHO_C" >&6; }
9005 cat >conftest.
$ac_ext <<_ACEOF
9008 cat confdefs.h
>>conftest.
$ac_ext
9009 cat >>conftest.
$ac_ext <<_ACEOF
9010 /* end confdefs.h. */
9011 $ac_includes_default
9012 #include <tre/regex.h>
9014 rm -f conftest.
$ac_objext
9015 if { (ac_try
="$ac_compile"
9017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9018 *) ac_try_echo=$ac_try;;
9020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9021 (eval "$ac_compile") 2>conftest.er1
9023 grep -v '^ *+' conftest.er1 >conftest.err
9025 cat conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); } && {
9028 test -z "$ac_c_werror_flag" ||
9029 test ! -s conftest.err
9030 } && test -s conftest.$ac_objext; then
9031 ac_header_compiler=yes
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9036 ac_header_compiler=no
9039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9040 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9041 echo "${ECHO_T}$ac_header_compiler" >&6; }
9043 # Is the header present?
9044 { echo "$as_me:$LINENO: checking tre/regex.h presence" >&5
9045 echo $ECHO_N "checking tre/regex.h presence... $ECHO_C" >&6; }
9046 cat >conftest.$ac_ext <<_ACEOF
9049 cat confdefs.h >>conftest.$ac_ext
9050 cat >>conftest.$ac_ext <<_ACEOF
9051 /* end confdefs.h. */
9052 #include <tre/regex.h>
9054 if { (ac_try="$ac_cpp conftest.$ac_ext"
9056 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9057 *) ac_try_echo
=$ac_try;;
9059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9062 grep -v '^ *+' conftest.er1
>conftest.err
9064 cat conftest.err
>&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); } >/dev
/null
&& {
9067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9068 test ! -s conftest.err
9070 ac_header_preproc
=yes
9072 echo "$as_me: failed program was:" >&5
9073 sed 's/^/| /' conftest.
$ac_ext >&5
9075 ac_header_preproc
=no
9078 rm -f conftest.err conftest.
$ac_ext
9079 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9080 echo "${ECHO_T}$ac_header_preproc" >&6; }
9082 # So? What about this header?
9083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9085 { echo "$as_me:$LINENO: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
9086 echo "$as_me: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9087 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the compiler's result" >&5
9088 echo "$as_me: WARNING: tre/regex.h: proceeding with the compiler's result" >&2;}
9089 ac_header_preproc
=yes
9092 { echo "$as_me:$LINENO: WARNING: tre/regex.h: present but cannot be compiled" >&5
9093 echo "$as_me: WARNING: tre/regex.h: present but cannot be compiled" >&2;}
9094 { echo "$as_me:$LINENO: WARNING: tre/regex.h: check for missing prerequisite headers?" >&5
9095 echo "$as_me: WARNING: tre/regex.h: check for missing prerequisite headers?" >&2;}
9096 { echo "$as_me:$LINENO: WARNING: tre/regex.h: see the Autoconf documentation" >&5
9097 echo "$as_me: WARNING: tre/regex.h: see the Autoconf documentation" >&2;}
9098 { echo "$as_me:$LINENO: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&5
9099 echo "$as_me: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
9100 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&5
9101 echo "$as_me: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&2;}
9102 { echo "$as_me:$LINENO: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&5
9103 echo "$as_me: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&2;}
9105 ## -------------------------------------------------- ##
9106 ## Report this to evilnet-devel@lists.sourceforge.net ##
9107 ## -------------------------------------------------- ##
9109 ) | sed "s/^/$as_me: WARNING: /" >&2
9112 { echo "$as_me:$LINENO: checking for tre/regex.h" >&5
9113 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6; }
9114 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 ac_cv_header_tre_regex_h
=$ac_header_preproc
9119 { echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
9120 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
9123 if test $ac_cv_header_tre_regex_h = yes; then
9126 { { 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
9127 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;}
9128 { (exit 1); exit 1; }; }
9133 { echo "$as_me:$LINENO: checking for regexec in -ltre" >&5
9134 echo $ECHO_N "checking for regexec in -ltre... $ECHO_C" >&6; }
9135 if test "${ac_cv_lib_tre_regexec+set}" = set; then
9136 echo $ECHO_N "(cached) $ECHO_C" >&6
9138 ac_check_lib_save_LIBS
=$LIBS
9140 cat >conftest.
$ac_ext <<_ACEOF
9143 cat confdefs.h
>>conftest.
$ac_ext
9144 cat >>conftest.
$ac_ext <<_ACEOF
9145 /* end confdefs.h. */
9147 /* Override any GCC internal prototype to avoid an error.
9148 Use char because int might match the return type of a GCC
9149 builtin and then its argument prototype would still apply. */
9162 rm -f conftest.
$ac_objext conftest
$ac_exeext
9163 if { (ac_try
="$ac_link"
9165 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9166 *) ac_try_echo=$ac_try;;
9168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9169 (eval "$ac_link") 2>conftest.er1
9171 grep -v '^ *+' conftest.er1 >conftest.err
9173 cat conftest.err >&5
9174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175 (exit $ac_status); } && {
9176 test -z "$ac_c_werror_flag" ||
9177 test ! -s conftest.err
9178 } && test -s conftest$ac_exeext &&
9179 $as_test_x conftest$ac_exeext; then
9180 ac_cv_lib_tre_regexec=yes
9182 echo "$as_me: failed program was:" >&5
9183 sed 's/^/| /' conftest.$ac_ext >&5
9185 ac_cv_lib_tre_regexec=no
9188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9189 conftest$ac_exeext conftest.$ac_ext
9190 LIBS=$ac_check_lib_save_LIBS
9192 { echo "$as_me:$LINENO: result: $ac_cv_lib_tre_regexec" >&5
9193 echo "${ECHO_T}$ac_cv_lib_tre_regexec" >&6; }
9194 if test $ac_cv_lib_tre_regexec = yes; then
9195 cat >>confdefs.h <<_ACEOF
9196 #define HAVE_LIBTRE 1
9202 { { 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
9203 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;}
9204 { (exit 1); exit 1; }; }
9211 # Check whether --with-coredumper was given.
9212 if test "${with_coredumper+set}" = set; then
9213 withval=$with_coredumper;
9216 if test "x$withval" != "x"; then
9217 { echo "$as_me:$LINENO: result: Using include dir $withval to find coredumper" >&5
9218 echo "${ECHO_T}Using include dir $withval to find coredumper" >&6; }
9219 CPPFLAGS="$CPPFLAGS -I$withval/include -L$withval/lib"
9220 LIBS="$LIBS -L$withval/lib"
9222 { echo "$as_me:$LINENO: result: Looking for coredumper in system and home dirs (${HOME})..." >&5
9223 echo "${ECHO_T}Looking for coredumper in system and home dirs (${HOME})..." >&6; }
9224 CPPFLAGS="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
9225 LIBS="$LIBS -Wl,--rpath -Wl,${HOME}/lib"
9227 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
9228 { echo "$as_me:$LINENO: checking for google/coredumper.h" >&5
9229 echo $ECHO_N "checking for google/coredumper.h... $ECHO_C" >&6; }
9230 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9233 { echo "$as_me:$LINENO: result: $ac_cv_header_google_coredumper_h" >&5
9234 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
9236 # Is the header compilable?
9237 { echo "$as_me:$LINENO: checking google/coredumper.h usability" >&5
9238 echo $ECHO_N "checking google/coredumper.h usability... $ECHO_C" >&6; }
9239 cat >conftest.$ac_ext <<_ACEOF
9242 cat confdefs.h >>conftest.$ac_ext
9243 cat >>conftest.$ac_ext <<_ACEOF
9244 /* end confdefs.h. */
9245 $ac_includes_default
9246 #include <google/coredumper.h>
9248 rm -f conftest.$ac_objext
9249 if { (ac_try="$ac_compile"
9251 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9252 *) ac_try_echo
=$ac_try;;
9254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9255 (eval "$ac_compile") 2>conftest.er1
9257 grep -v '^ *+' conftest.er1
>conftest.err
9259 cat conftest.err
>&5
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); } && {
9262 test -z "$ac_c_werror_flag" ||
9263 test ! -s conftest.err
9264 } && test -s conftest.
$ac_objext; then
9265 ac_header_compiler
=yes
9267 echo "$as_me: failed program was:" >&5
9268 sed 's/^/| /' conftest.
$ac_ext >&5
9270 ac_header_compiler
=no
9273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9274 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9275 echo "${ECHO_T}$ac_header_compiler" >&6; }
9277 # Is the header present?
9278 { echo "$as_me:$LINENO: checking google/coredumper.h presence" >&5
9279 echo $ECHO_N "checking google/coredumper.h presence... $ECHO_C" >&6; }
9280 cat >conftest.
$ac_ext <<_ACEOF
9283 cat confdefs.h
>>conftest.
$ac_ext
9284 cat >>conftest.
$ac_ext <<_ACEOF
9285 /* end confdefs.h. */
9286 #include <google/coredumper.h>
9288 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9291 *) ac_try_echo=$ac_try;;
9293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9294 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9296 grep -v '^ *+' conftest.er1 >conftest.err
9298 cat conftest.err >&5
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); } >/dev/null && {
9301 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9302 test ! -s conftest.err
9304 ac_header_preproc=yes
9306 echo "$as_me: failed program was:" >&5
9307 sed 's/^/| /' conftest.$ac_ext >&5
9309 ac_header_preproc=no
9312 rm -f conftest.err conftest.$ac_ext
9313 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9314 echo "${ECHO_T}$ac_header_preproc" >&6; }
9316 # So? What about this header?
9317 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9319 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: accepted by the compiler, rejected by the preprocessor!" >&5
9320 echo "$as_me: WARNING: google/coredumper.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9321 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: proceeding with the compiler's result" >&5
9322 echo "$as_me: WARNING: google/coredumper.h: proceeding with the compiler's result" >&2;}
9323 ac_header_preproc=yes
9326 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: present but cannot be compiled" >&5
9327 echo "$as_me: WARNING: google/coredumper.h: present but cannot be compiled" >&2;}
9328 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: check for missing prerequisite headers?" >&5
9329 echo "$as_me: WARNING: google/coredumper.h: check for missing prerequisite headers?" >&2;}
9330 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: see the Autoconf documentation" >&5
9331 echo "$as_me: WARNING: google/coredumper.h: see the Autoconf documentation" >&2;}
9332 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: section \"Present But Cannot Be Compiled\"" >&5
9333 echo "$as_me: WARNING: google/coredumper.h: section \"Present But Cannot Be Compiled\"" >&2;}
9334 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: proceeding with the preprocessor's result" >&5
9335 echo "$as_me: WARNING: google/coredumper.h: proceeding with the preprocessor's result" >&2;}
9336 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: in the future, the compiler will take precedence" >&5
9337 echo "$as_me: WARNING: google/coredumper.h: in the future, the compiler will take precedence" >&2;}
9339 ## -------------------------------------------------- ##
9340 ## Report this to evilnet-devel@lists.sourceforge.net ##
9341 ## -------------------------------------------------- ##
9343 ) | sed "s/^/$as_me: WARNING: /" >&2
9346 { echo "$as_me:$LINENO: checking for google/coredumper.h" >&5
9347 echo $ECHO_N "checking for google/coredumper.h... $ECHO_C" >&6; }
9348 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 ac_cv_header_google_coredumper_h=$ac_header_preproc
9353 { echo "$as_me:$LINENO: result: $ac_cv_header_google_coredumper_h" >&5
9354 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
9357 if test $ac_cv_header_google_coredumper_h = yes; then
9360 { 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
9361 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; }
9366 { echo "$as_me:$LINENO: checking for WriteCoreDump in -lcoredumper" >&5
9367 echo $ECHO_N "checking for WriteCoreDump in -lcoredumper... $ECHO_C" >&6; }
9368 if test "${ac_cv_lib_coredumper_WriteCoreDump+set}" = set; then
9369 echo $ECHO_N "(cached) $ECHO_C" >&6
9371 ac_check_lib_save_LIBS=$LIBS
9372 LIBS="-lcoredumper $LIBS"
9373 cat >conftest.$ac_ext <<_ACEOF
9376 cat confdefs.h >>conftest.$ac_ext
9377 cat >>conftest.$ac_ext <<_ACEOF
9378 /* end confdefs.h. */
9380 /* Override any GCC internal prototype to avoid an error.
9381 Use char because int might match the return type of a GCC
9382 builtin and then its argument prototype would still apply. */
9386 char WriteCoreDump ();
9390 return WriteCoreDump ();
9395 rm -f conftest.$ac_objext conftest$ac_exeext
9396 if { (ac_try="$ac_link"
9398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9399 *) ac_try_echo
=$ac_try;;
9401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9402 (eval "$ac_link") 2>conftest.er1
9404 grep -v '^ *+' conftest.er1
>conftest.err
9406 cat conftest.err
>&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); } && {
9409 test -z "$ac_c_werror_flag" ||
9410 test ! -s conftest.err
9411 } && test -s conftest
$ac_exeext &&
9412 $as_test_x conftest
$ac_exeext; then
9413 ac_cv_lib_coredumper_WriteCoreDump
=yes
9415 echo "$as_me: failed program was:" >&5
9416 sed 's/^/| /' conftest.
$ac_ext >&5
9418 ac_cv_lib_coredumper_WriteCoreDump
=no
9421 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9422 conftest
$ac_exeext conftest.
$ac_ext
9423 LIBS
=$ac_check_lib_save_LIBS
9425 { echo "$as_me:$LINENO: result: $ac_cv_lib_coredumper_WriteCoreDump" >&5
9426 echo "${ECHO_T}$ac_cv_lib_coredumper_WriteCoreDump" >&6; }
9427 if test $ac_cv_lib_coredumper_WriteCoreDump = yes; then
9428 cat >>confdefs.h
<<_ACEOF
9429 #define HAVE_LIBCOREDUMPER 1
9432 LIBS
="-lcoredumper $LIBS"
9435 { 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
9436 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; }
9442 # Check whether --with-ssl was given.
9443 if test "${with_ssl+set}" = set; then
9447 if test "x$withval" != "x"; then
9448 { echo "$as_me:$LINENO: result: Using include dir $withval to find openssl" >&5
9449 echo "${ECHO_T}Using include dir $withval to find openssl" >&6; }
9450 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
9451 LIBS
="$LIBS -L$withval/lib"
9453 { echo "$as_me:$LINENO: result: Looking for openssl in system " >&5
9454 echo "${ECHO_T}Looking for openssl in system " >&6; }
9457 { echo "$as_me:$LINENO: checking for BIO_new in -lssl" >&5
9458 echo $ECHO_N "checking for BIO_new in -lssl... $ECHO_C" >&6; }
9459 if test "${ac_cv_lib_ssl_BIO_new+set}" = set; then
9460 echo $ECHO_N "(cached) $ECHO_C" >&6
9462 ac_check_lib_save_LIBS
=$LIBS
9464 cat >conftest.
$ac_ext <<_ACEOF
9467 cat confdefs.h
>>conftest.
$ac_ext
9468 cat >>conftest.
$ac_ext <<_ACEOF
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9486 rm -f conftest.
$ac_objext conftest
$ac_exeext
9487 if { (ac_try
="$ac_link"
9489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9490 *) ac_try_echo=$ac_try;;
9492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9493 (eval "$ac_link") 2>conftest.er1
9495 grep -v '^ *+' conftest.er1 >conftest.err
9497 cat conftest.err >&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); } && {
9500 test -z "$ac_c_werror_flag" ||
9501 test ! -s conftest.err
9502 } && test -s conftest$ac_exeext &&
9503 $as_test_x conftest$ac_exeext; then
9504 ac_cv_lib_ssl_BIO_new=yes
9506 echo "$as_me: failed program was:" >&5
9507 sed 's/^/| /' conftest.$ac_ext >&5
9509 ac_cv_lib_ssl_BIO_new=no
9512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9513 conftest$ac_exeext conftest.$ac_ext
9514 LIBS=$ac_check_lib_save_LIBS
9516 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_BIO_new" >&5
9517 echo "${ECHO_T}$ac_cv_lib_ssl_BIO_new" >&6; }
9518 if test $ac_cv_lib_ssl_BIO_new = yes; then
9522 for ac_header in openssl/bio.h
9524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9526 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9529 echo $ECHO_N "(cached) $ECHO_C" >&6
9531 ac_res=`eval echo '${'$as_ac_Header'}'`
9532 { echo "$as_me:$LINENO: result: $ac_res" >&5
9533 echo "${ECHO_T}$ac_res" >&6; }
9535 # Is the header compilable?
9536 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9538 cat >conftest.$ac_ext <<_ACEOF
9541 cat confdefs.h >>conftest.$ac_ext
9542 cat >>conftest.$ac_ext <<_ACEOF
9543 /* end confdefs.h. */
9544 $ac_includes_default
9545 #include <$ac_header>
9547 rm -f conftest.$ac_objext
9548 if { (ac_try="$ac_compile"
9550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9551 *) ac_try_echo
=$ac_try;;
9553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9554 (eval "$ac_compile") 2>conftest.er1
9556 grep -v '^ *+' conftest.er1
>conftest.err
9558 cat conftest.err
>&5
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 (exit $ac_status); } && {
9561 test -z "$ac_c_werror_flag" ||
9562 test ! -s conftest.err
9563 } && test -s conftest.
$ac_objext; then
9564 ac_header_compiler
=yes
9566 echo "$as_me: failed program was:" >&5
9567 sed 's/^/| /' conftest.
$ac_ext >&5
9569 ac_header_compiler
=no
9572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9573 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9574 echo "${ECHO_T}$ac_header_compiler" >&6; }
9576 # Is the header present?
9577 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9579 cat >conftest.
$ac_ext <<_ACEOF
9582 cat confdefs.h
>>conftest.
$ac_ext
9583 cat >>conftest.
$ac_ext <<_ACEOF
9584 /* end confdefs.h. */
9585 #include <$ac_header>
9587 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9590 *) ac_try_echo=$ac_try;;
9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9595 grep -v '^ *+' conftest.er1 >conftest.err
9597 cat conftest.err >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); } >/dev/null && {
9600 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9601 test ! -s conftest.err
9603 ac_header_preproc=yes
9605 echo "$as_me: failed program was:" >&5
9606 sed 's/^/| /' conftest.$ac_ext >&5
9608 ac_header_preproc=no
9611 rm -f conftest.err conftest.$ac_ext
9612 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9613 echo "${ECHO_T}$ac_header_preproc" >&6; }
9615 # So? What about this header?
9616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9622 ac_header_preproc=yes
9625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9638 ## -------------------------------------------------- ##
9639 ## Report this to evilnet-devel@lists.sourceforge.net ##
9640 ## -------------------------------------------------- ##
9642 ) | sed "s/^/$as_me: WARNING: /" >&2
9645 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 eval "$as_ac_Header=\$ac_header_preproc"
9652 ac_res=`eval echo '${'$as_ac_Header'}'`
9653 { echo "$as_me:$LINENO: result: $ac_res" >&5
9654 echo "${ECHO_T}$ac_res" >&6; }
9657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9658 cat >>confdefs.h <<_ACEOF
9659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9663 cat >>confdefs.h <<\_ACEOF
9667 ssl_message="LDAP library: enabled"
9671 if test "x$withval" != "x"; then
9672 { { echo "$as_me:$LINENO: error: ssl headers not found" >&5
9673 echo "$as_me: error: ssl headers not found" >&2;}
9674 { (exit 1); exit 1; }; }
9684 if test "x$withval" != "x"; then
9685 { { echo "$as_me:$LINENO: error: libldap not found or not valid" >&5
9686 echo "$as_me: error: libldap not found or not valid" >&2;}
9687 { (exit 1); exit 1; }; }
9693 { echo "$as_me:$LINENO: result: $LIBS" >&5
9694 echo "${ECHO_T}$LIBS" >&6; }
9699 # Check whether --with-ldap was given.
9700 if test "${with_ldap+set}" = set; then
9704 if test "x$withval" != "x"; then
9705 { echo "$as_me:$LINENO: result: Using include dir $withval to find libldap" >&5
9706 echo "${ECHO_T}Using include dir $withval to find libldap" >&6; }
9707 CPPFLAGS="$CPPFLAGS -I$withval/include -L$withval/lib"
9708 LIBS="$LIBS -L$withval/lib"
9710 { echo "$as_me:$LINENO: result: Looking for ldap in system " >&5
9711 echo "${ECHO_T}Looking for ldap in system " >&6; }
9714 { echo "$as_me:$LINENO: checking for ldap_simple_bind_s in -lldap" >&5
9715 echo $ECHO_N "checking for ldap_simple_bind_s in -lldap... $ECHO_C" >&6; }
9716 if test "${ac_cv_lib_ldap_ldap_simple_bind_s+set}" = set; then
9717 echo $ECHO_N "(cached) $ECHO_C" >&6
9719 ac_check_lib_save_LIBS=$LIBS
9721 cat >conftest.$ac_ext <<_ACEOF
9724 cat confdefs.h >>conftest.$ac_ext
9725 cat >>conftest.$ac_ext <<_ACEOF
9726 /* end confdefs.h. */
9728 /* Override any GCC internal prototype to avoid an error.
9729 Use char because int might match the return type of a GCC
9730 builtin and then its argument prototype would still apply. */
9734 char ldap_simple_bind_s ();
9738 return ldap_simple_bind_s ();
9743 rm -f conftest.$ac_objext conftest$ac_exeext
9744 if { (ac_try="$ac_link"
9746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9747 *) ac_try_echo
=$ac_try;;
9749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9750 (eval "$ac_link") 2>conftest.er1
9752 grep -v '^ *+' conftest.er1
>conftest.err
9754 cat conftest.err
>&5
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); } && {
9757 test -z "$ac_c_werror_flag" ||
9758 test ! -s conftest.err
9759 } && test -s conftest
$ac_exeext &&
9760 $as_test_x conftest
$ac_exeext; then
9761 ac_cv_lib_ldap_ldap_simple_bind_s
=yes
9763 echo "$as_me: failed program was:" >&5
9764 sed 's/^/| /' conftest.
$ac_ext >&5
9766 ac_cv_lib_ldap_ldap_simple_bind_s
=no
9769 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9770 conftest
$ac_exeext conftest.
$ac_ext
9771 LIBS
=$ac_check_lib_save_LIBS
9773 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_simple_bind_s" >&5
9774 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_simple_bind_s" >&6; }
9775 if test $ac_cv_lib_ldap_ldap_simple_bind_s = yes; then
9779 for ac_header
in ldap.h
9781 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9782 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9785 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9786 echo $ECHO_N "(cached) $ECHO_C" >&6
9788 ac_res
=`eval echo '${'$as_ac_Header'}'`
9789 { echo "$as_me:$LINENO: result: $ac_res" >&5
9790 echo "${ECHO_T}$ac_res" >&6; }
9792 # Is the header compilable?
9793 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9795 cat >conftest.
$ac_ext <<_ACEOF
9798 cat confdefs.h
>>conftest.
$ac_ext
9799 cat >>conftest.
$ac_ext <<_ACEOF
9800 /* end confdefs.h. */
9801 $ac_includes_default
9802 #include <$ac_header>
9804 rm -f conftest.
$ac_objext
9805 if { (ac_try
="$ac_compile"
9807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9808 *) ac_try_echo=$ac_try;;
9810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9811 (eval "$ac_compile") 2>conftest.er1
9813 grep -v '^ *+' conftest.er1 >conftest.err
9815 cat conftest.err >&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); } && {
9818 test -z "$ac_c_werror_flag" ||
9819 test ! -s conftest.err
9820 } && test -s conftest.$ac_objext; then
9821 ac_header_compiler=yes
9823 echo "$as_me: failed program was:" >&5
9824 sed 's/^/| /' conftest.$ac_ext >&5
9826 ac_header_compiler=no
9829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9830 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9831 echo "${ECHO_T}$ac_header_compiler" >&6; }
9833 # Is the header present?
9834 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9836 cat >conftest.$ac_ext <<_ACEOF
9839 cat confdefs.h >>conftest.$ac_ext
9840 cat >>conftest.$ac_ext <<_ACEOF
9841 /* end confdefs.h. */
9842 #include <$ac_header>
9844 if { (ac_try="$ac_cpp conftest.$ac_ext"
9846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9847 *) ac_try_echo
=$ac_try;;
9849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9850 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9852 grep -v '^ *+' conftest.er1
>conftest.err
9854 cat conftest.err
>&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); } >/dev
/null
&& {
9857 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9858 test ! -s conftest.err
9860 ac_header_preproc
=yes
9862 echo "$as_me: failed program was:" >&5
9863 sed 's/^/| /' conftest.
$ac_ext >&5
9865 ac_header_preproc
=no
9868 rm -f conftest.err conftest.
$ac_ext
9869 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9870 echo "${ECHO_T}$ac_header_preproc" >&6; }
9872 # So? What about this header?
9873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9879 ac_header_preproc
=yes
9882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9895 ## -------------------------------------------------- ##
9896 ## Report this to evilnet-devel@lists.sourceforge.net ##
9897 ## -------------------------------------------------- ##
9899 ) | sed "s/^/$as_me: WARNING: /" >&2
9902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9904 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9905 echo $ECHO_N "(cached) $ECHO_C" >&6
9907 eval "$as_ac_Header=\$ac_header_preproc"
9909 ac_res
=`eval echo '${'$as_ac_Header'}'`
9910 { echo "$as_me:$LINENO: result: $ac_res" >&5
9911 echo "${ECHO_T}$ac_res" >&6; }
9914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9915 cat >>confdefs.h
<<_ACEOF
9916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9920 cat >>confdefs.h
<<\_ACEOF
9924 ldap_message
="LDAP library: enabled"
9928 if test "x$withval" != "x"; then
9929 { { echo "$as_me:$LINENO: error: ldap.h not found" >&5
9930 echo "$as_me: error: ldap.h not found" >&2;}
9931 { (exit 1); exit 1; }; }
9941 if test "x$withval" != "x"; then
9942 { { echo "$as_me:$LINENO: error: libldap not found or not valid" >&5
9943 echo "$as_me: error: libldap not found or not valid" >&2;}
9944 { (exit 1); exit 1; }; }
9952 if test "$python" = yes; then
9953 # Extract the first word of "python2", so it can be a program name with args.
9954 set dummy python2
; ac_word
=$2
9955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9957 if test "${ac_cv_path_pythonpath+set}" = set; then
9958 echo $ECHO_N "(cached) $ECHO_C" >&6
9962 ac_cv_path_pythonpath
="$pythonpath" # Let the user override the test with a path.
9965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9969 test -z "$as_dir" && as_dir
=.
9970 for ac_exec_ext
in '' $ac_executable_extensions; do
9971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9972 ac_cv_path_pythonpath
="$as_dir/$ac_word$ac_exec_ext"
9973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9983 pythonpath
=$ac_cv_path_pythonpath
9984 if test -n "$pythonpath"; then
9985 { echo "$as_me:$LINENO: result: $pythonpath" >&5
9986 echo "${ECHO_T}$pythonpath" >&6; }
9988 { echo "$as_me:$LINENO: result: no" >&5
9989 echo "${ECHO_T}no" >&6; }
9993 if test "_$pythonpath" = _
; then
9994 # Extract the first word of "python", so it can be a program name with args.
9995 set dummy python
; ac_word
=$2
9996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9998 if test "${ac_cv_path_pythonpath+set}" = set; then
9999 echo $ECHO_N "(cached) $ECHO_C" >&6
10001 case $pythonpath in
10003 ac_cv_path_pythonpath
="$pythonpath" # Let the user override the test with a path.
10006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10007 for as_dir
in $PATH
10010 test -z "$as_dir" && as_dir
=.
10011 for ac_exec_ext
in '' $ac_executable_extensions; do
10012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10013 ac_cv_path_pythonpath
="$as_dir/$ac_word$ac_exec_ext"
10014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10024 pythonpath
=$ac_cv_path_pythonpath
10025 if test -n "$pythonpath"; then
10026 { echo "$as_me:$LINENO: result: $pythonpath" >&5
10027 echo "${ECHO_T}$pythonpath" >&6; }
10029 { echo "$as_me:$LINENO: result: no" >&5
10030 echo "${ECHO_T}no" >&6; }
10035 if test "_$pythonpath" = _
; then
10038 { echo "$as_me:$LINENO: checking Python version" >&5
10039 echo $ECHO_N "checking Python version... $ECHO_C" >&6; }
10040 PY_VER
=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("VERSION")[0];'`
10041 PY_LIB
=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(standard_lib=1);'`
10042 PY_INC
=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("INCLUDEPY")[0];'`
10043 $pythonpath -c "import sys; map(int,sys.version[:3].split('.')) >= [2,2] or sys.exit(1)"
10044 { echo "$as_me:$LINENO: result: $PY_VER" >&5
10045 echo "${ECHO_T}$PY_VER" >&6; }
10046 if test "$?" != "1"; then
10047 { echo "$as_me:$LINENO: checking Python compile flags" >&5
10048 echo $ECHO_N "checking Python compile flags... $ECHO_C" >&6; }
10049 PY_PREFIX
=`$pythonpath -c 'import sys; print sys.prefix'`
10050 PY_EXEC_PREFIX
=`$pythonpath -c 'import sys; print sys.exec_prefix'`
10051 if test -f $PY_INC/Python.h
; then
10053 cat >>confdefs.h
<<\_ACEOF
10054 #define WITH_PYTHON 1
10057 PY_LIBS
="-L$PY_LIB/config -lpython$PY_VER -lpthread -lutil"
10058 PY_CFLAGS
="-I$PY_INC"
10059 { echo "$as_me:$LINENO: result: ok" >&5
10060 echo "${ECHO_T}ok" >&6; }
10063 { echo "$as_me:$LINENO: result: Can't find Python.h" >&5
10064 echo "${ECHO_T}Can't find Python.h" >&6; }
10067 echo "Python too old. Only 2.2 or above is supported."
10073 if test "x$python" = "xyes"; then
10075 DO_PYTHON_FALSE
='#'
10082 { echo "$as_me:$LINENO: result: $LIBS" >&5
10083 echo "${ECHO_T}$LIBS" >&6; }
10086 cat >>confdefs.h
<<_ACEOF
10087 #define CODENAME "${CODENAME}"
10098 ac_config_files
="$ac_config_files Makefile rx/Makefile src/Makefile"
10100 cat >confcache
<<\_ACEOF
10101 # This file is a shell script that caches the results of configure
10102 # tests run on this system so they can be shared between configure
10103 # scripts and configure runs, see configure's option --config-cache.
10104 # It is not useful on other systems. If it contains results you don't
10105 # want to keep, you may remove or edit it.
10107 # config.status only pays attention to the cache file if you give it
10108 # the --recheck option to rerun configure.
10110 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10111 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10112 # following values.
10116 # The following way of writing the cache mishandles newlines in values,
10117 # but we know of no workaround that is simple, portable, and efficient.
10118 # So, we kill variables containing newlines.
10119 # Ultrix sh set writes to stderr and can't be redirected directly,
10120 # and sets the high bit in the cache file unless we assign to the vars.
10122 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10123 eval ac_val
=\$
$ac_var
10127 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10128 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10131 _
| IFS
| as_nl
) ;; #(
10132 *) $as_unset $ac_var ;;
10138 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10139 *${as_nl}ac_space
=\
*)
10140 # `set' does not quote correctly, so add quotes (double-quote
10141 # substitution turns \\\\ into \\, and sed turns \\ into \).
10144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10147 # `set' quotes correctly as required by POSIX, so do not add quotes.
10148 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10159 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10161 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10162 if test -w "$cache_file"; then
10163 test "x$cache_file" != "x/dev/null" &&
10164 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10165 echo "$as_me: updating cache $cache_file" >&6;}
10166 cat confcache
>$cache_file
10168 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10169 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10174 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10175 # Let make expand exec_prefix.
10176 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10178 DEFS
=-DHAVE_CONFIG_H
10182 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10183 # 1. Remove the extension, and $U if already installed.
10184 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10185 ac_i
=`echo "$ac_i" | sed "$ac_script"`
10186 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10187 # will be set to the directory where LIBOBJS objects are built.
10188 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10189 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10191 LIBOBJS
=$ac_libobjs
10193 LTLIBOBJS
=$ac_ltlibobjs
10196 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10197 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10198 Usually this means the macro was only invoked conditionally." >&5
10199 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10200 Usually this means the macro was only invoked conditionally." >&2;}
10201 { (exit 1); exit 1; }; }
10203 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10204 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10205 Usually this means the macro was only invoked conditionally." >&5
10206 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10207 Usually this means the macro was only invoked conditionally." >&2;}
10208 { (exit 1); exit 1; }; }
10210 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10211 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10212 Usually this means the macro was only invoked conditionally." >&5
10213 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10214 Usually this means the macro was only invoked conditionally." >&2;}
10215 { (exit 1); exit 1; }; }
10217 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10218 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10219 Usually this means the macro was only invoked conditionally." >&5
10220 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10221 Usually this means the macro was only invoked conditionally." >&2;}
10222 { (exit 1); exit 1; }; }
10224 if test -z "${DO_PYTHON_TRUE}" && test -z "${DO_PYTHON_FALSE}"; then
10225 { { echo "$as_me:$LINENO: error: conditional \"DO_PYTHON\" was never defined.
10226 Usually this means the macro was only invoked conditionally." >&5
10227 echo "$as_me: error: conditional \"DO_PYTHON\" was never defined.
10228 Usually this means the macro was only invoked conditionally." >&2;}
10229 { (exit 1); exit 1; }; }
10232 : ${CONFIG_STATUS=./config.status}
10233 ac_clean_files_save
=$ac_clean_files
10234 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10235 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10236 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10237 cat >$CONFIG_STATUS <<_ACEOF
10239 # Generated by $as_me.
10240 # Run this file to recreate the current configuration.
10241 # Compiler output produced by configure, useful for debugging
10242 # configure, is in config.log if it exists.
10245 ac_cs_recheck=false
10247 SHELL=\${CONFIG_SHELL-$SHELL}
10250 cat >>$CONFIG_STATUS <<\_ACEOF
10251 ## --------------------- ##
10252 ## M4sh Initialization. ##
10253 ## --------------------- ##
10255 # Be more Bourne compatible
10256 DUALCASE
=1; export DUALCASE
# for MKS sh
10257 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10261 # is contrary to our usage. Disable this feature.
10262 alias -g '${1+"$@"}'='"$@"'
10263 setopt NO_GLOB_SUBST
10265 case `(set -o) 2>/dev/null` in
10266 *posix
*) set -o posix
;;
10275 # Avoid depending upon Character Ranges.
10276 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10277 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10278 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10279 as_cr_digits
='0123456789'
10280 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10282 # The user is always right.
10283 if test "${PATH_SEPARATOR+set}" != set; then
10284 echo "#! /bin/sh" >conf$$.sh
10285 echo "exit 0" >>conf$$.sh
10287 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10295 # Support unset when possible.
10296 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
10304 # We need space, tab and new line, in precisely that order. Quoting is
10305 # there to prevent editors from complaining about space-tab.
10306 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10307 # splitting by setting IFS to empty value.)
10312 # Find who we are. Look in the path if we contain no directory separator.
10314 *[\\/]* ) as_myself
=$0 ;;
10315 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10316 for as_dir
in $PATH
10319 test -z "$as_dir" && as_dir
=.
10320 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10326 # We did not find ourselves, most probably we were run as `sh COMMAND'
10327 # in which case we are not to be found in the path.
10328 if test "x$as_myself" = x
; then
10331 if test ! -f "$as_myself"; then
10332 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10333 { (exit 1); exit 1; }
10336 # Work around bugs in pre-3.0 UWIN ksh.
10337 for as_var
in ENV MAIL MAILPATH
10338 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10346 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10347 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10348 LC_TELEPHONE LC_TIME
10350 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10351 eval $as_var=C
; export $as_var
10353 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10357 # Required to use basename.
10358 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10359 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10365 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10366 as_basename
=basename
10372 # Name of the executable.
10373 as_me
=`$as_basename -- "$0" ||
10374 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10375 X"$0" : 'X\(//\)$' \| \
10376 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10378 sed '/^.*\/\([^/][^/]*\)\/*$/{
10397 as_lineno_1
=$LINENO
10398 as_lineno_2
=$LINENO
10399 test "x$as_lineno_1" != "x$as_lineno_2" &&
10400 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10402 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10403 # uniformly replaced by the line number. The first 'sed' inserts a
10404 # line-number line after each line using $LINENO; the second 'sed'
10405 # does the real work. The second script uses 'N' to pair each
10406 # line-number line with the line containing $LINENO, and appends
10407 # trailing '-' during substitution so that $LINENO is not a special
10408 # case at line end.
10409 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10410 # scripts with optimization help from Paolo Bonzini. Blame Lee
10411 # E. McMahon (1931-1989) for sed's syntax. :-)
10423 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10426 ' >$as_me.lineno
&&
10427 chmod +x
"$as_me.lineno" ||
10428 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10429 { (exit 1); exit 1; }; }
10431 # Don't try to exec as it changes $[0], causing all sort of problems
10432 # (the dirname of $[0] is not the place where we might find the
10433 # original and so on. Autoconf is especially sensitive to this).
10434 .
"./$as_me.lineno"
10435 # Exit status is that of the last command.
10440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10446 ECHO_C
= ECHO_N
= ECHO_T
=
10447 case `echo -n x` in
10449 case `echo 'x\c'` in
10450 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10457 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10458 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10464 rm -f conf$$ conf$$.exe conf$$.
file
10465 if test -d conf$$.dir
; then
10466 rm -f conf$$.dir
/conf$$.
file
10472 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10474 # ... but there are two gotchas:
10475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10477 # In both cases, we have to default to `cp -p'.
10478 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
10480 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10485 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10486 rmdir conf$$.dir
2>/dev
/null
10488 if mkdir -p .
2>/dev
/null
; then
10491 test -d .
/-p && rmdir .
/-p
10495 if test -x / >/dev
/null
2>&1; then
10496 as_test_x
='test -x'
10498 if ls -dL / >/dev
/null
2>&1; then
10505 if test -d "$1"; then
10511 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10512 ???[sx]*):;;*)false;;esac;fi
10516 as_executable_p
=$as_test_x
10518 # Sed expression to map a string onto a valid CPP name.
10519 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10521 # Sed expression to map a string onto a valid variable name.
10522 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10527 # Save the log message, to keep $[0] and so on meaningful, and to
10528 # report actual input values of CONFIG_FILES etc. instead of their
10529 # values after options handling.
10531 This file was extended by X3 $as_me 1.6, which was
10532 generated by GNU Autoconf 2.61. Invocation command line was
10534 CONFIG_FILES = $CONFIG_FILES
10535 CONFIG_HEADERS = $CONFIG_HEADERS
10536 CONFIG_LINKS = $CONFIG_LINKS
10537 CONFIG_COMMANDS = $CONFIG_COMMANDS
10540 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10545 cat >>$CONFIG_STATUS <<_ACEOF
10546 # Files that config.status was made for.
10547 config_files="$ac_config_files"
10548 config_headers="$ac_config_headers"
10549 config_commands="$ac_config_commands"
10553 cat >>$CONFIG_STATUS <<\_ACEOF
10555 \`$as_me' instantiates files from templates according to the
10556 current configuration.
10558 Usage: $0 [OPTIONS] [FILE]...
10560 -h, --help print this help, then exit
10561 -V, --version print version number and configuration settings, then exit
10562 -q, --quiet do not print progress messages
10563 -d, --debug don't remove temporary files
10564 --recheck update $as_me by reconfiguring in the same conditions
10565 --file=FILE[:TEMPLATE]
10566 instantiate the configuration file FILE
10567 --header=FILE[:TEMPLATE]
10568 instantiate the configuration header FILE
10570 Configuration files:
10573 Configuration headers:
10576 Configuration commands:
10579 Report bugs to <bug-autoconf@gnu.org>."
10582 cat >>$CONFIG_STATUS <<_ACEOF
10584 X3 config.status 1.6
10585 configured by $0, generated by GNU Autoconf 2.61,
10586 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10588 Copyright (C) 2006 Free Software Foundation, Inc.
10589 This config.status script is free software; the Free Software Foundation
10590 gives unlimited permission to copy, distribute and modify it."
10598 cat >>$CONFIG_STATUS <<\_ACEOF
10599 # If no file are specified by the user, then we need to provide default
10600 # value. By we need to know if files were specified by the user.
10606 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10607 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10618 # Handling of the options.
10619 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10621 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10622 echo "$ac_cs_version"; exit ;;
10623 --debug | --debu | --deb | --de | --d | -d )
10625 --file | --fil | --fi | --f )
10627 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10628 ac_need_defaults
=false
;;
10629 --header | --heade | --head | --hea )
10631 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10632 ac_need_defaults
=false
;;
10634 # Conflict between --help and --header
10635 { echo "$as_me: error: ambiguous option: $1
10636 Try \`$0 --help' for more information." >&2
10637 { (exit 1); exit 1; }; };;
10638 --help | --hel | -h )
10639 echo "$ac_cs_usage"; exit ;;
10640 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10641 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10644 # This is an error.
10645 -*) { echo "$as_me: error: unrecognized option: $1
10646 Try \`$0 --help' for more information." >&2
10647 { (exit 1); exit 1; }; } ;;
10649 *) ac_config_targets
="$ac_config_targets $1"
10650 ac_need_defaults
=false
;;
10656 ac_configure_extra_args
=
10658 if $ac_cs_silent; then
10660 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10664 cat >>$CONFIG_STATUS <<_ACEOF
10665 if \$ac_cs_recheck; then
10666 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10667 CONFIG_SHELL=$SHELL
10668 export CONFIG_SHELL
10669 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10673 cat >>$CONFIG_STATUS <<\_ACEOF
10677 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10678 ## Running $as_me. ##
10684 cat >>$CONFIG_STATUS <<_ACEOF
10688 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10692 cat >>$CONFIG_STATUS <<\_ACEOF
10694 # Handling of arguments.
10695 for ac_config_target
in $ac_config_targets
10697 case $ac_config_target in
10698 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
10699 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10700 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10701 "rx/Makefile") CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
10702 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
10704 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10705 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10706 { (exit 1); exit 1; }; };;
10711 # If the user did not use the arguments to specify the items to instantiate,
10712 # then the envvar interface is used. Set only those that are not.
10713 # We use the long form for the default assignment because of an extremely
10714 # bizarre bug on SunOS 4.1.3.
10715 if $ac_need_defaults; then
10716 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10717 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10718 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10721 # Have a temporary directory for convenience. Make it in the build tree
10722 # simply because there is no reason against having it here, and in addition,
10723 # creating and moving files from /tmp can sometimes cause problems.
10724 # Hook for its removal unless debugging.
10725 # Note that there is a small window in which the directory will not be cleaned:
10726 # after its creation but before its name has been assigned to `$tmp'.
10730 trap 'exit_status=$?
10731 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10733 trap '{ (exit 1); exit 1; }' 1 2 13 15
10735 # Create a (secure) tmp directory for tmp files.
10738 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10739 test -n "$tmp" && test -d "$tmp"
10742 tmp
=.
/conf$$
-$RANDOM
10743 (umask 077 && mkdir "$tmp")
10746 echo "$me: cannot create a temporary directory in ." >&2
10747 { (exit 1); exit 1; }
10751 # Set up the sed scripts for CONFIG_FILES section.
10754 # No need to generate the scripts if there are no CONFIG_FILES.
10755 # This happens for instance when ./config.status config.h
10756 if test -n "$CONFIG_FILES"; then
10763 for ac_last_try
in false false false false false
:; do
10764 cat >conf$
$subs.
sed <<_ACEOF
10765 SHELL!$SHELL$ac_delim
10766 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10767 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10768 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10769 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10770 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10771 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10772 exec_prefix!$exec_prefix$ac_delim
10773 prefix!$prefix$ac_delim
10774 program_transform_name!$program_transform_name$ac_delim
10775 bindir!$bindir$ac_delim
10776 sbindir!$sbindir$ac_delim
10777 libexecdir!$libexecdir$ac_delim
10778 datarootdir!$datarootdir$ac_delim
10779 datadir!$datadir$ac_delim
10780 sysconfdir!$sysconfdir$ac_delim
10781 sharedstatedir!$sharedstatedir$ac_delim
10782 localstatedir!$localstatedir$ac_delim
10783 includedir!$includedir$ac_delim
10784 oldincludedir!$oldincludedir$ac_delim
10785 docdir!$docdir$ac_delim
10786 infodir!$infodir$ac_delim
10787 htmldir!$htmldir$ac_delim
10788 dvidir!$dvidir$ac_delim
10789 pdfdir!$pdfdir$ac_delim
10790 psdir!$psdir$ac_delim
10791 libdir!$libdir$ac_delim
10792 localedir!$localedir$ac_delim
10793 mandir!$mandir$ac_delim
10794 DEFS!$DEFS$ac_delim
10795 ECHO_C!$ECHO_C$ac_delim
10796 ECHO_N!$ECHO_N$ac_delim
10797 ECHO_T!$ECHO_T$ac_delim
10798 LIBS!$LIBS$ac_delim
10799 build_alias!$build_alias$ac_delim
10800 host_alias!$host_alias$ac_delim
10801 target_alias!$target_alias$ac_delim
10802 build!$build$ac_delim
10803 build_cpu!$build_cpu$ac_delim
10804 build_vendor!$build_vendor$ac_delim
10805 build_os!$build_os$ac_delim
10806 host!$host$ac_delim
10807 host_cpu!$host_cpu$ac_delim
10808 host_vendor!$host_vendor$ac_delim
10809 host_os!$host_os$ac_delim
10810 target!$target$ac_delim
10811 target_cpu!$target_cpu$ac_delim
10812 target_vendor!$target_vendor$ac_delim
10813 target_os!$target_os$ac_delim
10814 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10815 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10816 INSTALL_DATA!$INSTALL_DATA$ac_delim
10817 am__isrc!$am__isrc$ac_delim
10818 CYGPATH_W!$CYGPATH_W$ac_delim
10819 PACKAGE!$PACKAGE$ac_delim
10820 VERSION!$VERSION$ac_delim
10821 ACLOCAL!$ACLOCAL$ac_delim
10822 AUTOCONF!$AUTOCONF$ac_delim
10823 AUTOMAKE!$AUTOMAKE$ac_delim
10824 AUTOHEADER!$AUTOHEADER$ac_delim
10825 MAKEINFO!$MAKEINFO$ac_delim
10826 install_sh!$install_sh$ac_delim
10827 STRIP!$STRIP$ac_delim
10828 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10829 mkdir_p!$mkdir_p$ac_delim
10831 SET_MAKE!$SET_MAKE$ac_delim
10832 am__leading_dot!$am__leading_dot$ac_delim
10833 AMTAR!$AMTAR$ac_delim
10834 am__tar!$am__tar$ac_delim
10835 am__untar!$am__untar$ac_delim
10836 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
10837 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
10838 MAINT!$MAINT$ac_delim
10840 CFLAGS!$CFLAGS$ac_delim
10841 LDFLAGS!$LDFLAGS$ac_delim
10842 CPPFLAGS!$CPPFLAGS$ac_delim
10843 ac_ct_CC!$ac_ct_CC$ac_delim
10844 EXEEXT!$EXEEXT$ac_delim
10845 OBJEXT!$OBJEXT$ac_delim
10846 DEPDIR!$DEPDIR$ac_delim
10847 am__include!$am__include$ac_delim
10848 am__quote!$am__quote$ac_delim
10849 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10850 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10851 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10852 CCDEPMODE!$CCDEPMODE$ac_delim
10853 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
10854 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
10855 RANLIB!$RANLIB$ac_delim
10856 LN_S!$LN_S$ac_delim
10858 GREP!$GREP$ac_delim
10859 EGREP!$EGREP$ac_delim
10860 MAKER!$MAKER$ac_delim
10861 ALLOCA!$ALLOCA$ac_delim
10864 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10866 elif $ac_last_try; then
10867 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10868 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10869 { (exit 1); exit 1; }; }
10871 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10875 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10876 if test -n "$ac_eof"; then
10877 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10878 ac_eof
=`expr $ac_eof + 1`
10881 cat >>$CONFIG_STATUS <<_ACEOF
10882 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10883 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10886 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10887 s/^/s,@/; s/!/@,|#_!!_#|/
10890 s/'"$ac_delim"'$/,g/; t
10892 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10893 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10894 rm -f conf$
$subs.
sed
10895 cat >>$CONFIG_STATUS <<_ACEOF
10901 for ac_last_try
in false false false false false
:; do
10902 cat >conf$
$subs.
sed <<_ACEOF
10903 pythonpath!$pythonpath$ac_delim
10904 DO_PYTHON_TRUE!$DO_PYTHON_TRUE$ac_delim
10905 DO_PYTHON_FALSE!$DO_PYTHON_FALSE$ac_delim
10906 MODULE_OBJS!$MODULE_OBJS$ac_delim
10907 MY_SUBDIRS!$MY_SUBDIRS$ac_delim
10908 RX_INCLUDES!$RX_INCLUDES$ac_delim
10909 RX_LIBS!$RX_LIBS$ac_delim
10910 TRACK!$TRACK$ac_delim
10911 PY_CFLAGS!$PY_CFLAGS$ac_delim
10912 PY_LIBS!$PY_LIBS$ac_delim
10913 LIBOBJS!$LIBOBJS$ac_delim
10914 LTLIBOBJS!$LTLIBOBJS$ac_delim
10917 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
10919 elif $ac_last_try; then
10920 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10921 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10922 { (exit 1); exit 1; }; }
10924 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10928 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10929 if test -n "$ac_eof"; then
10930 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10931 ac_eof
=`expr $ac_eof + 1`
10934 cat >>$CONFIG_STATUS <<_ACEOF
10935 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10936 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10939 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10940 s/^/s,@/; s/!/@,|#_!!_#|/
10943 s/'"$ac_delim"'$/,g/; t
10945 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10946 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10947 rm -f conf$
$subs.
sed
10948 cat >>$CONFIG_STATUS <<_ACEOF
10955 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10956 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10957 # trailing colons and then remove the whole line if VPATH becomes empty
10958 # (actually we leave an empty line to preserve line numbers).
10959 if test "x$srcdir" = x.
; then
10960 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10961 s/:*\$(srcdir):*/:/
10962 s/:*\${srcdir}:*/:/
10964 s/^\([^=]*=[ ]*\):*/\1/
10970 cat >>$CONFIG_STATUS <<\_ACEOF
10971 fi # test -n "$CONFIG_FILES"
10974 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
10977 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10979 case $ac_mode$ac_tag in
10981 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10982 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10983 { (exit 1); exit 1; }; };;
10984 :[FH
]-) ac_tag
=-:-;;
10985 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11002 -) ac_f
="$tmp/stdin";;
11003 *) # Look for the file first in the build tree, then in the source tree
11004 # (if the path is not absolute). The absolute path cannot be DOS-style,
11005 # because $ac_f cannot contain `:'.
11009 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11011 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11012 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11013 { (exit 1); exit 1; }; };;
11015 ac_file_inputs
="$ac_file_inputs $ac_f"
11018 # Let's still pretend it is `configure' which instantiates (i.e., don't
11019 # use $as_me), people would be surprised to read:
11020 # /* config.h. Generated by config.status. */
11021 configure_input
="Generated from "`IFS=:
11022 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11023 if test x
"$ac_file" != x
-; then
11024 configure_input
="$ac_file. $configure_input"
11025 { echo "$as_me:$LINENO: creating $ac_file" >&5
11026 echo "$as_me: creating $ac_file" >&6;}
11030 *:-:* | *:-) cat >"$tmp/stdin";;
11035 ac_dir
=`$as_dirname -- "$ac_file" ||
11036 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11037 X"$ac_file" : 'X\(//\)[^/]' \| \
11038 X"$ac_file" : 'X\(//\)$' \| \
11039 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11045 /^X\(\/\/\)[^/].*/{
11060 -*) as_dir
=.
/$as_dir;;
11062 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11066 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11067 *) as_qdir
=$as_dir;;
11069 as_dirs
="'$as_qdir' $as_dirs"
11070 as_dir
=`$as_dirname -- "$as_dir" ||
11071 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11072 X"$as_dir" : 'X\(//\)[^/]' \| \
11073 X"$as_dir" : 'X\(//\)$' \| \
11074 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11080 /^X\(\/\/\)[^/].*/{
11093 test -d "$as_dir" && break
11095 test -z "$as_dirs" || eval "mkdir $as_dirs"
11096 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11097 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11098 { (exit 1); exit 1; }; }; }
11102 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11104 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11105 # A ".." for each directory in $ac_dir_suffix.
11106 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11107 case $ac_top_builddir_sub in
11108 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11109 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11112 ac_abs_top_builddir
=$ac_pwd
11113 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11114 # for backward compatibility:
11115 ac_top_builddir
=$ac_top_build_prefix
11118 .
) # We are building in place.
11120 ac_top_srcdir
=$ac_top_builddir_sub
11121 ac_abs_top_srcdir
=$ac_pwd ;;
11122 [\\/]* | ?
:[\\/]* ) # Absolute name.
11123 ac_srcdir
=$srcdir$ac_dir_suffix;
11124 ac_top_srcdir
=$srcdir
11125 ac_abs_top_srcdir
=$srcdir ;;
11126 *) # Relative name.
11127 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11128 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11129 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11131 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11141 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11142 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
11144 ac_MKDIR_P
=$MKDIR_P
11146 [\\/$
]* | ?
:[\\/]* ) ;;
11147 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
11151 cat >>$CONFIG_STATUS <<\_ACEOF
11152 # If the template does not know about datarootdir, expand it.
11153 # FIXME: This hack should be removed a few years after 2.60.
11154 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11156 case `sed -n '/datarootdir/ {
11165 ' $ac_file_inputs` in
11166 *datarootdir
*) ac_datarootdir_seen
=yes;;
11167 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
11168 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11169 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11171 cat >>$CONFIG_STATUS <<_ACEOF
11172 ac_datarootdir_hack='
11173 s&@datadir@&$datadir&g
11174 s&@docdir@&$docdir&g
11175 s&@infodir@&$infodir&g
11176 s&@localedir@&$localedir&g
11177 s&@mandir@&$mandir&g
11178 s&\\\${datarootdir}&$datarootdir&g' ;;
11182 # Neutralize VPATH when `$srcdir' = `.'.
11183 # Shell code in configure.ac might set extrasub.
11184 # FIXME: do we really want to maintain this feature?
11185 cat >>$CONFIG_STATUS <<_ACEOF
11189 cat >>$CONFIG_STATUS <<\_ACEOF
11191 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
11192 s
&@configure_input@
&$configure_input&;t t
11193 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11194 s
&@srcdir@
&$ac_srcdir&;t t
11195 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11196 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11197 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11198 s
&@builddir@
&$ac_builddir&;t t
11199 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11200 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11201 s
&@INSTALL@
&$ac_INSTALL&;t t
11202 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
11203 $ac_datarootdir_hack
11204 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out
11206 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11207 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11208 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11209 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11210 which seems to be undefined. Please make sure it is defined." >&5
11211 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11212 which seems to be undefined. Please make sure it is defined." >&2;}
11216 -) cat "$tmp/out"; rm -f "$tmp/out";;
11217 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11226 # Transform confdefs.h into a sed script `conftest.defines', that
11227 # substitutes the proper values into config.h.in to produce config.h.
11228 rm -f conftest.defines conftest.
tail
11229 # First, append a space to every undef/define line, to ease matching.
11230 echo 's/$/ /' >conftest.defines
11231 # Then, protect against being on the right side of a sed subst, or in
11232 # an unquoted here document, in config.status. If some macros were
11233 # called several times there might be several #defines for the same
11234 # symbol, which is useless. But do not sort them, since the last
11235 # AC_DEFINE must be honored.
11236 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
11237 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11238 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11239 # PARAMS is the parameter list in the macro definition--in most cases, it's
11240 # just an empty string.
11241 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11242 ac_dB
='\\)[ (].*,\\1define\\2'
11250 s/^[ ]*#[ ]*define[ ][ ]*//
11255 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11256 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11257 ' >>conftest.defines
11259 # Remove the space that was appended to ease matching.
11260 # Then replace #undef with comments. This is necessary, for
11261 # example, in the case of _POSIX_SOURCE, which is predefined and required
11262 # on some systems where configure will not decide to define it.
11263 # (The regexp can be short, since the line contains either #define or #undef.)
11265 s,^[ #]*u.*,/* & */,' >>conftest.defines
11267 # Break up conftest.defines:
11268 ac_max_sed_lines
=50
11270 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11271 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11272 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11274 ac_in
='$ac_file_inputs'
11275 ac_out
='"$tmp/out1"'
11276 ac_nxt
='"$tmp/out2"'
11280 # Write a here document:
11281 cat >>$CONFIG_STATUS <<_ACEOF
11282 # First, check the format of the line:
11283 cat >"\$tmp/defines.sed" <<\\CEOF
11284 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11285 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11289 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
11291 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11292 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
11293 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
11294 grep . conftest.
tail >/dev
/null
|| break
11295 rm -f conftest.defines
11296 mv conftest.
tail conftest.defines
11298 rm -f conftest.defines conftest.
tail
11300 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11301 cat >>$CONFIG_STATUS <<\_ACEOF
11302 if test x
"$ac_file" != x
-; then
11303 echo "/* $configure_input */" >"$tmp/config.h"
11304 cat "$ac_result" >>"$tmp/config.h"
11305 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
11306 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11307 echo "$as_me: $ac_file is unchanged" >&6;}
11310 mv "$tmp/config.h" $ac_file
11313 echo "/* $configure_input */"
11317 # Compute $ac_file's index in $config_headers.
11319 for _am_header
in $config_headers :; do
11320 case $_am_header in
11321 $ac_file | $ac_file:* )
11324 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
11327 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
11328 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11329 X$ac_file : 'X\(//\)[^/]' \| \
11330 X$ac_file : 'X\(//\)$' \| \
11331 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
11333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11337 /^X\(\/\/\)[^/].*/{
11349 s/.*/./; q'`/stamp
-h$_am_stamp_count
11352 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11353 echo "$as_me: executing $ac_file commands" >&6;}
11358 case $ac_file$ac_mode in
11359 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
11360 # Strip MF so we end up with the name of the file.
11361 mf
=`echo "$mf" | sed -e 's/:.*$//'`
11362 # Check whether this is an Automake generated Makefile or not.
11363 # We used to match only the files named `Makefile.in', but
11364 # some people rename them; so instead we look at the file content.
11365 # Grep'ing the first line is not enough: some people post-process
11366 # each Makefile.in and add a new line on top of each file to say so.
11367 # Grep'ing the whole file is not good either: AIX grep has a line
11368 # limit of 2048, but all sed's we know have understand at least 4000.
11369 if sed 10q
"$mf" | grep '^#.*generated by automake' > /dev
/null
2>&1; then
11370 dirpart
=`$as_dirname -- "$mf" ||
11371 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11372 X"$mf" : 'X\(//\)[^/]' \| \
11373 X"$mf" : 'X\(//\)$' \| \
11374 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11380 /^X\(\/\/\)[^/].*/{
11396 # Extract the definition of DEPDIR, am__include, and am__quote
11397 # from the Makefile without running `make'.
11398 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
11399 test -z "$DEPDIR" && continue
11400 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
11401 test -z "am__include" && continue
11402 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
11403 # When using ansi2knr, U may be empty or an underscore; expand it
11404 U
=`sed -n 's/^U = //p' < "$mf"`
11405 # Find all dependency output files, they are included files with
11406 # $(DEPDIR) in their names. We invoke sed twice because it is the
11407 # simplest approach to changing $(DEPDIR) to its actual value in the
11409 for file in `sed -n "
11410 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11411 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11412 # Make sure the directory exists.
11413 test -f "$dirpart/$file" && continue
11414 fdir
=`$as_dirname -- "$file" ||
11415 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11416 X"$file" : 'X\(//\)[^/]' \| \
11417 X"$file" : 'X\(//\)$' \| \
11418 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11424 /^X\(\/\/\)[^/].*/{
11437 { as_dir
=$dirpart/$fdir
11439 -*) as_dir
=.
/$as_dir;;
11441 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11445 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11446 *) as_qdir
=$as_dir;;
11448 as_dirs
="'$as_qdir' $as_dirs"
11449 as_dir
=`$as_dirname -- "$as_dir" ||
11450 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11451 X"$as_dir" : 'X\(//\)[^/]' \| \
11452 X"$as_dir" : 'X\(//\)$' \| \
11453 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11459 /^X\(\/\/\)[^/].*/{
11472 test -d "$as_dir" && break
11474 test -z "$as_dirs" || eval "mkdir $as_dirs"
11475 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11476 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11477 { (exit 1); exit 1; }; }; }
11478 # echo "creating $dirpart/$file"
11479 echo '# dummy' > "$dirpart/$file"
11488 { (exit 0); exit 0; }
11490 chmod +x
$CONFIG_STATUS
11491 ac_clean_files
=$ac_clean_files_save
11494 # configure is writing to config.log, and then calls config.status.
11495 # config.status does its own redirection, appending to config.log.
11496 # Unfortunately, on DOS this fails, as config.log is still kept open
11497 # by configure, so config.status won't be able to write to it; its
11498 # output is simply discarded. So we exec the FD to /dev/null,
11499 # effectively closing config.log, so it can be properly (re)opened and
11500 # appended to by config.status. When coming back to configure, we
11501 # need to make the FD available again.
11502 if test "$no_create" != yes; then
11504 ac_config_status_args
=
11505 test "$silent" = yes &&
11506 ac_config_status_args
="$ac_config_status_args --quiet"
11508 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11510 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11511 # would make configure fail if this is the last instruction.
11512 $ac_cs_success || { (exit 1); exit 1; }
11520 Configuration summary
11521 =====================
11523 X3 is now configured as follows:
11525 * Compilation environment
11530 CPPFLAGS = $CPPFLAGS
11538 Extra Modules: $module_list
11541 Regexp Library TRE $tre_version
11542 Coredumper Library Coredumper $core_version
11546 Install to: $prefix
11548 Now you can proceed with compiling X3