2 # From configure.in Id: configure.in 2430 2009-01-26 06:02:53Z rubin .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for X3 1.7.
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.7'
579 PACKAGE_STRING
='X3 1.7'
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
730 ac_precious_vars
='build_alias
741 # Initialize some variables set by options.
743 ac_init_version
=false
744 # The variables have the same names as the options, with
745 # dashes changed to underlines.
753 program_transform_name
=s
,x
,x
,
761 # Installation directory options.
762 # These are left unexpanded so users can "make install exec_prefix=/foo"
763 # and all the variables that are supposed to be based on exec_prefix
764 # by default will actually change.
765 # Use braces instead of parens because sh, perl, etc. also accept them.
766 # (The list follows the same order as the GNU Coding Standards.)
767 bindir
='${exec_prefix}/bin'
768 sbindir
='${exec_prefix}/sbin'
769 libexecdir
='${exec_prefix}/libexec'
770 datarootdir
='${prefix}/share'
771 datadir
='${datarootdir}'
772 sysconfdir
='${prefix}/etc'
773 sharedstatedir
='${prefix}/com'
774 localstatedir
='${prefix}/var'
775 includedir
='${prefix}/include'
776 oldincludedir
='/usr/include'
777 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
778 infodir
='${datarootdir}/info'
783 libdir
='${exec_prefix}/lib'
784 localedir
='${datarootdir}/locale'
785 mandir
='${datarootdir}/man'
791 # If the previous option needs an argument, assign it.
792 if test -n "$ac_prev"; then
793 eval $ac_prev=\
$ac_option
799 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
803 # Accept the important Cygnus configure options, so we can diagnose typos.
805 case $ac_dashdash$ac_option in
809 -bindir | --bindir | --bindi | --bind | --bin | --bi)
811 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
814 -build | --build | --buil | --bui | --bu)
815 ac_prev
=build_alias
;;
816 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
817 build_alias
=$ac_optarg ;;
819 -cache-file | --cache-file | --cache-fil | --cache-fi \
820 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
821 ac_prev
=cache_file
;;
822 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
823 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
824 cache_file
=$ac_optarg ;;
827 cache_file
=config.cache
;;
829 -datadir | --datadir | --datadi | --datad)
831 -datadir=* | --datadir=* | --datadi=* | --datad=*)
832 datadir
=$ac_optarg ;;
834 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
835 | --dataroo | --dataro | --datar)
836 ac_prev
=datarootdir
;;
837 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
838 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
839 datarootdir
=$ac_optarg ;;
841 -disable-* | --disable-*)
842 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
843 # Reject names that are not valid shell variable names.
844 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
845 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
846 { (exit 1); exit 1; }; }
847 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
848 eval enable_
$ac_feature=no
;;
850 -docdir | --docdir | --docdi | --doc | --do)
852 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
855 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
857 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
860 -enable-* | --enable-*)
861 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
862 # Reject names that are not valid shell variable names.
863 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
864 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
865 { (exit 1); exit 1; }; }
866 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
867 eval enable_
$ac_feature=\
$ac_optarg ;;
869 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
870 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
871 | --exec | --exe | --ex)
872 ac_prev
=exec_prefix
;;
873 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
874 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
875 | --exec=* | --exe=* | --ex=*)
876 exec_prefix
=$ac_optarg ;;
878 -gas | --gas | --ga | --g)
879 # Obsolete; use --with-gas.
882 -help | --help | --hel | --he | -h)
884 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
885 ac_init_help
=recursive
;;
886 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
887 ac_init_help
=short
;;
889 -host | --host | --hos | --ho)
890 ac_prev
=host_alias
;;
891 -host=* | --host=* | --hos=* | --ho=*)
892 host_alias
=$ac_optarg ;;
894 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
896 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
898 htmldir
=$ac_optarg ;;
900 -includedir | --includedir | --includedi | --included | --include \
901 | --includ | --inclu | --incl | --inc)
902 ac_prev
=includedir
;;
903 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
904 | --includ=* | --inclu=* | --incl=* | --inc=*)
905 includedir
=$ac_optarg ;;
907 -infodir | --infodir | --infodi | --infod | --info | --inf)
909 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
910 infodir
=$ac_optarg ;;
912 -libdir | --libdir | --libdi | --libd)
914 -libdir=* | --libdir=* | --libdi=* | --libd=*)
917 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
918 | --libexe | --libex | --libe)
919 ac_prev
=libexecdir
;;
920 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
921 | --libexe=* | --libex=* | --libe=*)
922 libexecdir
=$ac_optarg ;;
924 -localedir | --localedir | --localedi | --localed | --locale)
926 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
927 localedir
=$ac_optarg ;;
929 -localstatedir | --localstatedir | --localstatedi | --localstated \
930 | --localstate | --localstat | --localsta | --localst | --locals)
931 ac_prev
=localstatedir
;;
932 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
933 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
934 localstatedir
=$ac_optarg ;;
936 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
938 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
942 # Obsolete; use --without-fp.
945 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
946 | --no-cr | --no-c | -n)
949 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
950 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
953 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
954 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
955 | --oldin | --oldi | --old | --ol | --o)
956 ac_prev
=oldincludedir
;;
957 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
958 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
959 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
960 oldincludedir
=$ac_optarg ;;
962 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
964 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
967 -program-prefix | --program-prefix | --program-prefi | --program-pref \
968 | --program-pre | --program-pr | --program-p)
969 ac_prev
=program_prefix
;;
970 -program-prefix=* | --program-prefix=* | --program-prefi=* \
971 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
972 program_prefix
=$ac_optarg ;;
974 -program-suffix | --program-suffix | --program-suffi | --program-suff \
975 | --program-suf | --program-su | --program-s)
976 ac_prev
=program_suffix
;;
977 -program-suffix=* | --program-suffix=* | --program-suffi=* \
978 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
979 program_suffix
=$ac_optarg ;;
981 -program-transform-name | --program-transform-name \
982 | --program-transform-nam | --program-transform-na \
983 | --program-transform-n | --program-transform- \
984 | --program-transform | --program-transfor \
985 | --program-transfo | --program-transf \
986 | --program-trans | --program-tran \
987 | --progr-tra | --program-tr | --program-t)
988 ac_prev
=program_transform_name
;;
989 -program-transform-name=* | --program-transform-name=* \
990 | --program-transform-nam=* | --program-transform-na=* \
991 | --program-transform-n=* | --program-transform-=* \
992 | --program-transform=* | --program-transfor=* \
993 | --program-transfo=* | --program-transf=* \
994 | --program-trans=* | --program-tran=* \
995 | --progr-tra=* | --program-tr=* | --program-t=*)
996 program_transform_name
=$ac_optarg ;;
998 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1000 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1001 pdfdir
=$ac_optarg ;;
1003 -psdir | --psdir | --psdi | --psd | --ps)
1005 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1009 | -silent | --silent | --silen | --sile | --sil)
1012 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1014 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1016 sbindir
=$ac_optarg ;;
1018 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1019 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1020 | --sharedst | --shareds | --shared | --share | --shar \
1022 ac_prev
=sharedstatedir
;;
1023 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1024 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1025 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1027 sharedstatedir
=$ac_optarg ;;
1029 -site | --site | --sit)
1031 -site=* | --site=* | --sit=*)
1034 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1036 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1037 srcdir
=$ac_optarg ;;
1039 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1040 | --syscon | --sysco | --sysc | --sys | --sy)
1041 ac_prev
=sysconfdir
;;
1042 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1043 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1044 sysconfdir
=$ac_optarg ;;
1046 -target | --target | --targe | --targ | --tar | --ta | --t)
1047 ac_prev
=target_alias
;;
1048 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1049 target_alias
=$ac_optarg ;;
1051 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1054 -version | --version | --versio | --versi | --vers | -V)
1055 ac_init_version
=: ;;
1058 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1061 { echo "$as_me: error: invalid package name: $ac_package" >&2
1062 { (exit 1); exit 1; }; }
1063 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1064 eval with_
$ac_package=\
$ac_optarg ;;
1066 -without-* | --without-*)
1067 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1068 # Reject names that are not valid shell variable names.
1069 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1070 { echo "$as_me: error: invalid package name: $ac_package" >&2
1071 { (exit 1); exit 1; }; }
1072 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1073 eval with_
$ac_package=no
;;
1076 # Obsolete; use --with-x.
1079 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1080 | --x-incl | --x-inc | --x-in | --x-i)
1081 ac_prev
=x_includes
;;
1082 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1083 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1084 x_includes
=$ac_optarg ;;
1086 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1087 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1088 ac_prev
=x_libraries
;;
1089 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1090 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1091 x_libraries
=$ac_optarg ;;
1093 -*) { echo "$as_me: error: unrecognized option: $ac_option
1094 Try \`$0 --help' for more information." >&2
1095 { (exit 1); exit 1; }; }
1099 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1102 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1103 { (exit 1); exit 1; }; }
1104 eval $ac_envvar=\
$ac_optarg
1105 export $ac_envvar ;;
1108 # FIXME: should be removed in autoconf 3.0.
1109 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1110 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1111 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1112 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1118 if test -n "$ac_prev"; then
1119 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1120 { echo "$as_me: error: missing argument to $ac_option" >&2
1121 { (exit 1); exit 1; }; }
1124 # Be sure to have absolute directory names.
1125 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1126 datadir sysconfdir sharedstatedir localstatedir includedir \
1127 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1128 libdir localedir mandir
1130 eval ac_val
=\$
$ac_var
1132 [\\/$
]* | ?
:[\\/]* ) continue;;
1133 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1135 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1136 { (exit 1); exit 1; }; }
1139 # There might be people who depend on the old broken behavior: `$host'
1140 # used to hold the argument of --host etc.
1141 # FIXME: To remove some day.
1144 target
=$target_alias
1146 # FIXME: To remove some day.
1147 if test "x$host_alias" != x
; then
1148 if test "x$build_alias" = x
; then
1149 cross_compiling
=maybe
1150 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1151 If a cross compiler is detected then cross compile mode will be used." >&2
1152 elif test "x$build_alias" != "x$host_alias"; then
1158 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1160 test "$silent" = yes && exec 6>/dev
/null
1163 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1164 ac_ls_di
=`ls -di .` &&
1165 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1166 { echo "$as_me: error: Working directory cannot be determined" >&2
1167 { (exit 1); exit 1; }; }
1168 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1169 { echo "$as_me: error: pwd does not report name of working directory" >&2
1170 { (exit 1); exit 1; }; }
1173 # Find the source files, if location was not specified.
1174 if test -z "$srcdir"; then
1175 ac_srcdir_defaulted
=yes
1176 # Try the directory containing this script, then the parent directory.
1177 ac_confdir
=`$as_dirname -- "$0" ||
1178 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179 X"$0" : 'X\(//\)[^/]' \| \
1180 X"$0" : 'X\(//\)$' \| \
1181 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1205 ac_srcdir_defaulted
=no
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1209 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1210 { (exit 1); exit 1; }; }
1212 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1215 { (exit 1); exit 1; }; }
1217 # When building in place, set srcdir=.
1218 if test "$ac_abs_confdir" = "$ac_pwd"; then
1221 # Remove unnecessary trailing slashes from srcdir.
1222 # Double slashes in file names in object file debugging info
1223 # mess up M-x gdb in Emacs.
1225 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1227 for ac_var
in $ac_precious_vars; do
1228 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1229 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1230 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1231 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1235 # Report the --help message.
1237 if test "$ac_init_help" = "long"; then
1238 # Omit some internal or obsolete options to make the list less imposing.
1239 # This message is too long to be a string in the A/UX 3.1 sh.
1241 \`configure' configures X3 1.7 to adapt to many kinds of systems.
1243 Usage: $0 [OPTION]... [VAR=VALUE]...
1245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1246 VAR=VALUE. See below for descriptions of some of the useful variables.
1248 Defaults for the options are specified in brackets.
1251 -h, --help display this help and exit
1252 --help=short display options specific to this package
1253 --help=recursive display the short help of all the included packages
1254 -V, --version display version information and exit
1255 -q, --quiet, --silent do not print \`checking...' messages
1256 --cache-file=FILE cache test results in FILE [disabled]
1257 -C, --config-cache alias for \`--cache-file=config.cache'
1258 -n, --no-create do not create output files
1259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1261 Installation directories:
1262 --prefix=PREFIX install architecture-independent files in PREFIX
1263 [$ac_default_prefix]
1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1267 By default, \`make install' will install all the files in
1268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1270 for instance \`--prefix=\$HOME'.
1272 For better control, use the options below.
1274 Fine tuning of the installation directories:
1275 --bindir=DIR user executables [EPREFIX/bin]
1276 --sbindir=DIR system admin executables [EPREFIX/sbin]
1277 --libexecdir=DIR program executables [EPREFIX/libexec]
1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1281 --libdir=DIR object code libraries [EPREFIX/lib]
1282 --includedir=DIR C header files [PREFIX/include]
1283 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1286 --infodir=DIR info documentation [DATAROOTDIR/info]
1287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1288 --mandir=DIR man documentation [DATAROOTDIR/man]
1289 --docdir=DIR documentation root [DATAROOTDIR/doc/x3]
1290 --htmldir=DIR html documentation [DOCDIR]
1291 --dvidir=DIR dvi documentation [DOCDIR]
1292 --pdfdir=DIR pdf documentation [DOCDIR]
1293 --psdir=DIR ps documentation [DOCDIR]
1299 --program-prefix=PREFIX prepend PREFIX to installed program names
1300 --program-suffix=SUFFIX append SUFFIX to installed program names
1301 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1304 --build=BUILD configure
for building on BUILD
[guessed
]
1305 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1306 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1310 if test -n "$ac_init_help"; then
1311 case $ac_init_help in
1312 short
| recursive
) echo "Configuration of X3 1.7:";;
1317 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1318 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1319 --enable-maintainer-mode enable make rules and dependencies not useful
1320 (and sometimes confusing
) to the casual installer
1321 --disable-dependency-tracking speeds up one
-time build
1322 --enable-dependency-tracking do not reject slow dependency extractors
1323 --disable-tokens Disables tokenization of P10 protocol output
1324 (tokens required
if linking to ircu
2.10.11)
1325 --enable-debug Enables debugging behaviors
1326 --enable-modules=list
,of
,modules Enable extra modules
1327 --disable-python don
't build the python plugin
1330 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1331 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1332 --with-malloc=type Enables use of a special malloc library; one of:
1333 system (the default), boehm-gc, dmalloc, mpatrol, x3, slab
1334 --with-protocol=name Choose IRC dialect to support; one of:
1336 --with-mail=name How to send mail; one of:
1337 sendmail (the default), smtp
1338 --without-epoll Disables the epoll_*() I/O backend
1339 --without-kevent Disables the kevent() I/O backend
1340 --without-getopt Disables building of the GNU getopt library
1341 --with-tre=PATH Base path to where libtre is installed, such that
1342 PATH/lib/libtre.so and PATH/include/tre/regex.h exist.
1343 --with-coredumper=PATH Base path to where core dumper is installed, such
1344 that PATH/lib/libcoredumper.so and
1345 PATH/include/google/coredumper.h exist.
1346 --with-ssl=PATH Base path to where openssl is installed
1347 --with-ldap=PATH Base path to where the ldap library and headers are installed,
1348 such that PATH/include/ldap.h and PATH/lib/libldap.so exist.
1350 Some influential environment variables:
1351 CC C compiler command
1352 CFLAGS C compiler flags
1353 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1354 nonstandard directory <lib dir>
1355 LIBS libraries to pass to the linker, e.g. -l<library>
1356 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1357 you have headers in a nonstandard directory <include dir>
1360 Use these variables to override the choices made by `configure' or to
help
1361 it to
find libraries and programs with nonstandard names
/locations.
1363 Report bugs to
<evilnet
-devel@lists.sourceforge.net
>.
1368 if test "$ac_init_help" = "recursive"; then
1369 # If there are subdirs, report their specific --help.
1370 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1371 test -d "$ac_dir" || continue
1375 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1377 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1378 # A ".." for each directory in $ac_dir_suffix.
1379 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1380 case $ac_top_builddir_sub in
1381 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1382 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1385 ac_abs_top_builddir
=$ac_pwd
1386 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1387 # for backward compatibility:
1388 ac_top_builddir
=$ac_top_build_prefix
1391 .
) # We are building in place.
1393 ac_top_srcdir
=$ac_top_builddir_sub
1394 ac_abs_top_srcdir
=$ac_pwd ;;
1395 [\\/]* | ?
:[\\/]* ) # Absolute name.
1396 ac_srcdir
=$srcdir$ac_dir_suffix;
1397 ac_top_srcdir
=$srcdir
1398 ac_abs_top_srcdir
=$srcdir ;;
1400 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1401 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1402 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1404 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1406 cd "$ac_dir" || { ac_status
=$?
; continue; }
1407 # Check for guested configure.
1408 if test -f "$ac_srcdir/configure.gnu"; then
1410 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1411 elif test -f "$ac_srcdir/configure"; then
1413 $SHELL "$ac_srcdir/configure" --help=recursive
1415 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1417 cd "$ac_pwd" || { ac_status
=$?
; break; }
1421 test -n "$ac_init_help" && exit $ac_status
1422 if $ac_init_version; then
1425 generated by GNU Autoconf
2.61
1427 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1428 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1429 This configure
script is free software
; the Free Software Foundation
1430 gives unlimited permission to copy
, distribute and modify it.
1434 cat >config.log
<<_ACEOF
1435 This file contains any messages produced by compilers while
1436 running configure, to aid debugging if configure makes a mistake.
1438 It was created by X3 $as_me 1.7, which was
1439 generated by GNU Autoconf 2.61. Invocation command line was
1451 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1452 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1453 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1454 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1455 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1457 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1458 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1460 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1461 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1462 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1463 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1464 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1465 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1466 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1474 test -z "$as_dir" && as_dir
=.
1475 echo "PATH: $as_dir"
1491 # Keep a trace of the command line.
1492 # Strip out --no-create and --no-recursion so they do not pile up.
1493 # Strip out --silent because we don't want to record it for future runs.
1494 # Also quote any args containing shell meta-characters.
1495 # Make two passes to allow for proper duplicate-argument suppression.
1499 ac_must_keep_next
=false
1505 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1506 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1507 | -silent | --silent | --silen | --sile | --sil)
1510 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1513 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1515 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1516 if test $ac_must_keep_next = true
; then
1517 ac_must_keep_next
=false
# Got value, back to normal.
1520 *=* | --config-cache | -C | -disable-* | --disable-* \
1521 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1522 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1523 | -with-* | --with-* | -without-* | --without-* | --x)
1524 case "$ac_configure_args0 " in
1525 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1528 -* ) ac_must_keep_next
=true
;;
1531 ac_configure_args
="$ac_configure_args '$ac_arg'"
1536 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1537 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1539 # When interrupted or exit'd, cleanup temporary files, and complete
1540 # config.log. We remove comments because anyway the quotes in there
1541 # would cause problems or look ugly.
1542 # WARNING: Use '\'' to represent an apostrophe within the trap.
1543 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1544 trap 'exit_status=$?
1545 # Save into config.log some information that might help in debugging.
1550 ## ---------------- ##
1551 ## Cache variables. ##
1552 ## ---------------- ##
1555 # The following way of writing the cache mishandles newlines in values,
1557 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1558 eval ac_val=\$$ac_var
1562 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1563 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1566 _ | IFS | as_nl) ;; #(
1567 *) $as_unset $ac_var ;;
1572 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1573 *${as_nl}ac_space=\ *)
1575 "s/'\''/'\''\\\\'\'''\''/g;
1576 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1579 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1587 ## ----------------- ##
1588 ## Output variables. ##
1589 ## ----------------- ##
1592 for ac_var in $ac_subst_vars
1594 eval ac_val=\$$ac_var
1596 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1598 echo "$ac_var='\''$ac_val'\''"
1602 if test -n "$ac_subst_files"; then
1604 ## ------------------- ##
1605 ## File substitutions. ##
1606 ## ------------------- ##
1609 for ac_var
in $ac_subst_files
1611 eval ac_val
=\$
$ac_var
1613 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1615 echo "$ac_var='\''$ac_val'\''"
1620 if test -s confdefs.h; then
1630 test "$ac_signal" != 0 &&
1631 echo "$as_me: caught signal $ac_signal"
1632 echo "$as_me: exit $exit_status"
1634 rm -f core *.core core.conftest.* &&
1635 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1638 for ac_signal
in 1 2 13 15; do
1639 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1643 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1644 rm -f -r conftest
* confdefs.h
1646 # Predefined preprocessor variables.
1648 cat >>confdefs.h
<<_ACEOF
1649 #define PACKAGE_NAME "$PACKAGE_NAME"
1653 cat >>confdefs.h
<<_ACEOF
1654 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1658 cat >>confdefs.h
<<_ACEOF
1659 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1663 cat >>confdefs.h
<<_ACEOF
1664 #define PACKAGE_STRING "$PACKAGE_STRING"
1668 cat >>confdefs.h
<<_ACEOF
1669 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1673 # Let the site file select an alternate cache file if it wants to.
1674 # Prefer explicitly selected file to automatically selected ones.
1675 if test -n "$CONFIG_SITE"; then
1676 set x
"$CONFIG_SITE"
1677 elif test "x$prefix" != xNONE
; then
1678 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1680 set x
"$ac_default_prefix/share/config.site" \
1681 "$ac_default_prefix/etc/config.site"
1686 if test -r "$ac_site_file"; then
1687 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1688 echo "$as_me: loading site script $ac_site_file" >&6;}
1689 sed 's/^/| /' "$ac_site_file" >&5
1694 if test -r "$cache_file"; then
1695 # Some versions of bash will fail to source /dev/null (special
1696 # files actually), so we avoid doing that.
1697 if test -f "$cache_file"; then
1698 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1699 echo "$as_me: loading cache $cache_file" >&6;}
1701 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1702 *) .
"./$cache_file";;
1706 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1707 echo "$as_me: creating cache $cache_file" >&6;}
1711 # Check that the precious variables saved in the cache have kept the same
1713 ac_cache_corrupted
=false
1714 for ac_var
in $ac_precious_vars; do
1715 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1716 eval ac_new_set
=\
$ac_env_${ac_var}_set
1717 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1718 eval ac_new_val
=\
$ac_env_${ac_var}_value
1719 case $ac_old_set,$ac_new_set in
1721 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1722 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1723 ac_cache_corrupted
=: ;;
1725 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1726 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1727 ac_cache_corrupted
=: ;;
1730 if test "x$ac_old_val" != "x$ac_new_val"; then
1731 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1732 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1733 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1734 echo "$as_me: former value: $ac_old_val" >&2;}
1735 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1736 echo "$as_me: current value: $ac_new_val" >&2;}
1737 ac_cache_corrupted
=:
1740 # Pass precious variables to config.status.
1741 if test "$ac_new_set" = set; then
1743 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1744 *) ac_arg
=$ac_var=$ac_new_val ;;
1746 case " $ac_configure_args " in
1747 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1748 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1752 if $ac_cache_corrupted; then
1753 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1754 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1755 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1756 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1757 { (exit 1); exit 1; }; }
1785 ac_cpp
='$CPP $CPPFLAGS'
1786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1792 ac_config_headers
="$ac_config_headers src/config.h"
1796 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1797 if test -f "$ac_dir/install-sh"; then
1799 ac_install_sh
="$ac_aux_dir/install-sh -c"
1801 elif test -f "$ac_dir/install.sh"; then
1803 ac_install_sh
="$ac_aux_dir/install.sh -c"
1805 elif test -f "$ac_dir/shtool"; then
1807 ac_install_sh
="$ac_aux_dir/shtool install -c"
1811 if test -z "$ac_aux_dir"; then
1812 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1813 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1814 { (exit 1); exit 1; }; }
1817 # These three variables are undocumented and unsupported,
1818 # and are intended to be withdrawn in a future Autoconf release.
1819 # They can cause serious problems if a builder's source tree is in a directory
1820 # whose full name contains unusual characters.
1821 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1822 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1823 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1826 # Make sure we can run config.sub.
1827 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1828 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1829 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1830 { (exit 1); exit 1; }; }
1832 { echo "$as_me:$LINENO: checking build system type" >&5
1833 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1834 if test "${ac_cv_build+set}" = set; then
1835 echo $ECHO_N "(cached) $ECHO_C" >&6
1837 ac_build_alias
=$build_alias
1838 test "x$ac_build_alias" = x
&&
1839 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1840 test "x$ac_build_alias" = x
&&
1841 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1842 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1843 { (exit 1); exit 1; }; }
1844 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1845 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1846 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1847 { (exit 1); exit 1; }; }
1850 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1851 echo "${ECHO_T}$ac_cv_build" >&6; }
1852 case $ac_cv_build in
1854 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1855 echo "$as_me: error: invalid value of canonical build" >&2;}
1856 { (exit 1); exit 1; }; };;
1859 ac_save_IFS
=$IFS; IFS
='-'
1865 # Remember, the first character of IFS is used to create $*,
1866 # except with old shells:
1869 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1872 { echo "$as_me:$LINENO: checking host system type" >&5
1873 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1874 if test "${ac_cv_host+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1877 if test "x$host_alias" = x
; then
1878 ac_cv_host
=$ac_cv_build
1880 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1881 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1882 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1883 { (exit 1); exit 1; }; }
1887 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1888 echo "${ECHO_T}$ac_cv_host" >&6; }
1891 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1892 echo "$as_me: error: invalid value of canonical host" >&2;}
1893 { (exit 1); exit 1; }; };;
1896 ac_save_IFS
=$IFS; IFS
='-'
1902 # Remember, the first character of IFS is used to create $*,
1903 # except with old shells:
1906 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1909 { echo "$as_me:$LINENO: checking target system type" >&5
1910 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1911 if test "${ac_cv_target+set}" = set; then
1912 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 if test "x$target_alias" = x
; then
1915 ac_cv_target
=$ac_cv_host
1917 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1918 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1919 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1920 { (exit 1); exit 1; }; }
1924 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1925 echo "${ECHO_T}$ac_cv_target" >&6; }
1926 case $ac_cv_target in
1928 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1929 echo "$as_me: error: invalid value of canonical target" >&2;}
1930 { (exit 1); exit 1; }; };;
1932 target
=$ac_cv_target
1933 ac_save_IFS
=$IFS; IFS
='-'
1939 # Remember, the first character of IFS is used to create $*,
1940 # except with old shells:
1943 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
1946 # The aliases save the names the user supplied, while $host etc.
1947 # will get canonicalized.
1948 test -n "$target_alias" &&
1949 test "$program_prefix$program_suffix$program_transform_name" = \
1951 program_prefix
=${target_alias}-
1952 am__api_version
='1.10'
1954 # Find a good install program. We prefer a C program (faster),
1955 # so one script is as good as another. But avoid the broken or
1956 # incompatible versions:
1957 # SysV /etc/install, /usr/sbin/install
1958 # SunOS /usr/etc/install
1959 # IRIX /sbin/install
1961 # AmigaOS /C/install, which installs bootblocks on floppy discs
1962 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1963 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1964 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1965 # OS/2's system install, which has a completely different semantic
1966 # ./install, which can be erroneously created by make from ./install.sh.
1967 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1968 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1969 if test -z "$INSTALL"; then
1970 if test "${ac_cv_path_install+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir
=.
1978 # Account for people who put trailing slashes in PATH elements.
1980 .
/ | .
// | /cC
/* | \
1981 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
1982 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1985 # OSF1 and SCO ODT 3.0 have their own names for install.
1986 # Don't use installbsd from OSF since it installs stuff as root
1988 for ac_prog
in ginstall scoinst
install; do
1989 for ac_exec_ext
in '' $ac_executable_extensions; do
1990 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1991 if test $ac_prog = install &&
1992 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1993 # AIX install. It has an incompatible calling convention.
1995 elif test $ac_prog = install &&
1996 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1997 # program-specific install script used by HP pwplus--don't use.
2000 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2013 if test "${ac_cv_path_install+set}" = set; then
2014 INSTALL
=$ac_cv_path_install
2016 # As a last resort, use the slow shell script. Don't cache a
2017 # value for INSTALL within a source directory, because that will
2018 # break other packages using the cache if that directory is
2019 # removed, or if the value is a relative name.
2020 INSTALL
=$ac_install_sh
2023 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2024 echo "${ECHO_T}$INSTALL" >&6; }
2026 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2027 # It thinks the first close brace ends the variable substitution.
2028 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2030 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2032 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2034 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2035 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2038 echo timestamp
> conftest.
file
2039 # Do `set' in a subshell so we don't clobber the current shell's
2040 # arguments. Must try -L first in case configure is actually a
2041 # symlink; some systems play weird games with the mod time of symlinks
2042 # (eg FreeBSD returns the mod time of the symlink's containing
2045 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2046 if test "$*" = "X"; then
2048 set X
`ls -t $srcdir/configure conftest.file`
2051 if test "$*" != "X $srcdir/configure conftest.file" \
2052 && test "$*" != "X conftest.file $srcdir/configure"; then
2054 # If neither matched, then we have a broken ls. This can happen
2055 # if, for instance, CONFIG_SHELL is bash and it inherits a
2056 # broken ls alias from the environment. This has actually
2057 # happened. Such a system could not be considered "sane".
2058 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2059 alias in your environment" >&5
2060 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2061 alias in your environment" >&2;}
2062 { (exit 1); exit 1; }; }
2065 test "$2" = conftest.
file
2071 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2072 Check your system clock" >&5
2073 echo "$as_me: error: newly created file is older than distributed files!
2074 Check your system clock" >&2;}
2075 { (exit 1); exit 1; }; }
2077 { echo "$as_me:$LINENO: result: yes" >&5
2078 echo "${ECHO_T}yes" >&6; }
2079 test "$program_prefix" != NONE
&&
2080 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2081 # Use a double $ so make ignores it.
2082 test "$program_suffix" != NONE
&&
2083 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2084 # Double any \ or $. echo might interpret backslashes.
2085 # By default was `s,x,x', remove it if useless.
2086 cat <<\_ACEOF
>conftest.
sed
2087 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2089 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2092 # expand $ac_aux_dir to an absolute path
2093 am_aux_dir
=`cd $ac_aux_dir && pwd`
2095 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
2096 # Use eval to expand $SHELL
2097 if eval "$MISSING --run true"; then
2098 am_missing_run
="$MISSING --run "
2101 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2102 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2105 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2106 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2107 if test -z "$MKDIR_P"; then
2108 if test "${ac_cv_path_mkdir+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2112 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2115 test -z "$as_dir" && as_dir
=.
2116 for ac_prog
in mkdir gmkdir
; do
2117 for ac_exec_ext
in '' $ac_executable_extensions; do
2118 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2119 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2120 'mkdir (GNU coreutils) '* | \
2121 'mkdir (coreutils) '* | \
2122 'mkdir (fileutils) '4.1*)
2123 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2133 if test "${ac_cv_path_mkdir+set}" = set; then
2134 MKDIR_P
="$ac_cv_path_mkdir -p"
2136 # As a last resort, use the slow shell script. Don't cache a
2137 # value for MKDIR_P within a source directory, because that will
2138 # break other packages using the cache if that directory is
2139 # removed, or if the value is a relative name.
2140 test -d .
/--version && rmdir .
/--version
2141 MKDIR_P
="$ac_install_sh -d"
2144 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2145 echo "${ECHO_T}$MKDIR_P" >&6; }
2149 [\\/$
]* | ?
:[\\/]*) ;;
2150 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2153 for ac_prog
in gawk mawk nawk
awk
2155 # Extract the first word of "$ac_prog", so it can be a program name with args.
2156 set dummy
$ac_prog; ac_word
=$2
2157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2159 if test "${ac_cv_prog_AWK+set}" = set; then
2160 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 if test -n "$AWK"; then
2163 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir
=.
2170 for ac_exec_ext
in '' $ac_executable_extensions; do
2171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2172 ac_cv_prog_AWK
="$ac_prog"
2173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 if test -n "$AWK"; then
2184 { echo "$as_me:$LINENO: result: $AWK" >&5
2185 echo "${ECHO_T}$AWK" >&6; }
2187 { echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6; }
2192 test -n "$AWK" && break
2195 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2196 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2197 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2198 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
2199 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 cat >conftest.
make <<\_ACEOF
2204 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2206 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2207 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2209 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2211 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2215 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2216 { echo "$as_me:$LINENO: result: yes" >&5
2217 echo "${ECHO_T}yes" >&6; }
2220 { echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6; }
2222 SET_MAKE
="MAKE=${MAKE-make}"
2225 rm -rf .tst
2>/dev
/null
2226 mkdir .tst
2>/dev
/null
2227 if test -d .tst
; then
2232 rmdir .tst
2>/dev
/null
2234 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2235 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2236 # is not polluted with repeated "-I."
2237 am__isrc
=' -I$(srcdir)'
2238 # test to see if srcdir already configured
2239 if test -f $srcdir/config.status
; then
2240 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2241 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2242 { (exit 1); exit 1; }; }
2246 # test whether we have cygpath
2247 if test -z "$CYGPATH_W"; then
2248 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2249 CYGPATH_W
='cygpath -w'
2256 # Define the identity of the package.
2261 cat >>confdefs.h
<<_ACEOF
2262 #define PACKAGE "$PACKAGE"
2266 cat >>confdefs.h
<<_ACEOF
2267 #define VERSION "$VERSION"
2270 # Some tools Automake needs.
2272 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2275 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2278 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2281 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2284 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2286 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2288 # Installed binaries are usually stripped using `strip' when the user
2289 # run `make install-strip'. However `strip' might not be the right
2290 # tool to use in cross-compilation environments, therefore Automake
2291 # will honor the `STRIP' environment variable to overrule this program.
2292 if test "$cross_compiling" != no
; then
2293 if test -n "$ac_tool_prefix"; then
2294 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2295 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2298 if test "${ac_cv_prog_STRIP+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 if test -n "$STRIP"; then
2302 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir
=.
2309 for ac_exec_ext
in '' $ac_executable_extensions; do
2310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2311 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 STRIP
=$ac_cv_prog_STRIP
2322 if test -n "$STRIP"; then
2323 { echo "$as_me:$LINENO: result: $STRIP" >&5
2324 echo "${ECHO_T}$STRIP" >&6; }
2326 { echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6; }
2332 if test -z "$ac_cv_prog_STRIP"; then
2334 # Extract the first word of "strip", so it can be a program name with args.
2335 set dummy strip
; ac_word
=$2
2336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2338 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 if test -n "$ac_ct_STRIP"; then
2342 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2348 test -z "$as_dir" && as_dir
=.
2349 for ac_exec_ext
in '' $ac_executable_extensions; do
2350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2351 ac_cv_prog_ac_ct_STRIP
="strip"
2352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2361 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2362 if test -n "$ac_ct_STRIP"; then
2363 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2364 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2366 { echo "$as_me:$LINENO: result: no" >&5
2367 echo "${ECHO_T}no" >&6; }
2370 if test "x$ac_ct_STRIP" = x
; then
2373 case $cross_compiling:$ac_tool_warned in
2375 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2376 whose name does not start with the host triplet. If you think this
2377 configuration is useful to you, please write to autoconf@gnu.org." >&5
2378 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2379 whose name does not start with the host triplet. If you think this
2380 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2381 ac_tool_warned
=yes ;;
2386 STRIP
="$ac_cv_prog_STRIP"
2390 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2392 # We need awk for the "check" target. The system "awk" is bad on
2394 # Always define AMTAR for backward compatibility.
2396 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2398 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2404 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2405 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2406 # Check whether --enable-maintainer-mode was given.
2407 if test "${enable_maintainer_mode+set}" = set; then
2408 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2410 USE_MAINTAINER_MODE
=no
2413 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2414 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2415 if test $USE_MAINTAINER_MODE = yes; then
2416 MAINTAINER_MODE_TRUE
=
2417 MAINTAINER_MODE_FALSE
='#'
2419 MAINTAINER_MODE_TRUE
='#'
2420 MAINTAINER_MODE_FALSE
=
2423 MAINT
=$MAINTAINER_MODE_TRUE
2427 DEPDIR
="${am__leading_dot}deps"
2429 ac_config_commands
="$ac_config_commands depfiles"
2432 am_make
=${MAKE-make}
2433 cat > confinc
<< 'END'
2438 # If we don't find an include directive, just comment out the code.
2439 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2440 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2444 # First try GNU make style include.
2445 echo "include confinc" > confmf
2446 # We grep out `Entering directory' and `Leaving directory'
2447 # messages which can occur if `w' ends up in MAKEFLAGS.
2448 # In particular we don't look at `^make:' because GNU make might
2449 # be invoked under some other name (usually "gmake"), in which
2450 # case it prints its new name instead of `make'.
2451 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2456 # Now try BSD make style include.
2457 if test "$am__include" = "#"; then
2458 echo '.include "confinc"' > confmf
2459 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2460 am__include
=.include
2467 { echo "$as_me:$LINENO: result: $_am_result" >&5
2468 echo "${ECHO_T}$_am_result" >&6; }
2469 rm -f confinc confmf
2471 # Check whether --enable-dependency-tracking was given.
2472 if test "${enable_dependency_tracking+set}" = set; then
2473 enableval
=$enable_dependency_tracking;
2476 if test "x$enable_dependency_tracking" != xno
; then
2477 am_depcomp
="$ac_aux_dir/depcomp"
2480 if test "x$enable_dependency_tracking" != xno; then
2490 ac_cpp
='$CPP $CPPFLAGS'
2491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2494 if test -n "$ac_tool_prefix"; then
2495 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2496 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2499 if test "${ac_cv_prog_CC+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 if test -n "$CC"; then
2503 ac_cv_prog_CC
="$CC" # Let the user override the test.
2505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir
=.
2510 for ac_exec_ext
in '' $ac_executable_extensions; do
2511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 if test -n "$CC"; then
2524 { echo "$as_me:$LINENO: result: $CC" >&5
2525 echo "${ECHO_T}$CC" >&6; }
2527 { echo "$as_me:$LINENO: result: no" >&5
2528 echo "${ECHO_T}no" >&6; }
2533 if test -z "$ac_cv_prog_CC"; then
2535 # Extract the first word of "gcc", so it can be a program name with args.
2536 set dummy gcc
; ac_word
=$2
2537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2539 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 if test -n "$ac_ct_CC"; then
2543 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2549 test -z "$as_dir" && as_dir
=.
2550 for ac_exec_ext
in '' $ac_executable_extensions; do
2551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2552 ac_cv_prog_ac_ct_CC
="gcc"
2553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2562 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2563 if test -n "$ac_ct_CC"; then
2564 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2565 echo "${ECHO_T}$ac_ct_CC" >&6; }
2567 { echo "$as_me:$LINENO: result: no" >&5
2568 echo "${ECHO_T}no" >&6; }
2571 if test "x$ac_ct_CC" = x
; then
2574 case $cross_compiling:$ac_tool_warned in
2576 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2577 whose name does not start with the host triplet. If you think this
2578 configuration is useful to you, please write to autoconf@gnu.org." >&5
2579 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2580 whose name does not start with the host triplet. If you think this
2581 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2582 ac_tool_warned
=yes ;;
2590 if test -z "$CC"; then
2591 if test -n "$ac_tool_prefix"; then
2592 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2593 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2596 if test "${ac_cv_prog_CC+set}" = set; then
2597 echo $ECHO_N "(cached) $ECHO_C" >&6
2599 if test -n "$CC"; then
2600 ac_cv_prog_CC
="$CC" # Let the user override the test.
2602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir
=.
2607 for ac_exec_ext
in '' $ac_executable_extensions; do
2608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2609 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 if test -n "$CC"; then
2621 { echo "$as_me:$LINENO: result: $CC" >&5
2622 echo "${ECHO_T}$CC" >&6; }
2624 { echo "$as_me:$LINENO: result: no" >&5
2625 echo "${ECHO_T}no" >&6; }
2631 if test -z "$CC"; then
2632 # Extract the first word of "cc", so it can be a program name with args.
2633 set dummy cc
; ac_word
=$2
2634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2636 if test "${ac_cv_prog_CC+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 if test -n "$CC"; then
2640 ac_cv_prog_CC
="$CC" # Let the user override the test.
2643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir
=.
2648 for ac_exec_ext
in '' $ac_executable_extensions; do
2649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2650 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2651 ac_prog_rejected
=yes
2655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 if test $ac_prog_rejected = yes; then
2663 # We found a bogon in the path, so make sure we never use it.
2664 set dummy
$ac_cv_prog_CC
2666 if test $# != 0; then
2667 # We chose a different compiler from the bogus one.
2668 # However, it has the same basename, so the bogon will be chosen
2669 # first if we set CC to just the basename; use the full file name.
2671 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2677 if test -n "$CC"; then
2678 { echo "$as_me:$LINENO: result: $CC" >&5
2679 echo "${ECHO_T}$CC" >&6; }
2681 { echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6; }
2687 if test -z "$CC"; then
2688 if test -n "$ac_tool_prefix"; then
2689 for ac_prog
in cl.exe
2691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2692 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2695 if test "${ac_cv_prog_CC+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 if test -n "$CC"; then
2699 ac_cv_prog_CC
="$CC" # Let the user override the test.
2701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir
=.
2706 for ac_exec_ext
in '' $ac_executable_extensions; do
2707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 if test -n "$CC"; then
2720 { echo "$as_me:$LINENO: result: $CC" >&5
2721 echo "${ECHO_T}$CC" >&6; }
2723 { echo "$as_me:$LINENO: result: no" >&5
2724 echo "${ECHO_T}no" >&6; }
2728 test -n "$CC" && break
2731 if test -z "$CC"; then
2733 for ac_prog
in cl.exe
2735 # Extract the first word of "$ac_prog", so it can be a program name with args.
2736 set dummy
$ac_prog; ac_word
=$2
2737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2739 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2740 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 if test -n "$ac_ct_CC"; then
2743 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir
=.
2750 for ac_exec_ext
in '' $ac_executable_extensions; do
2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2752 ac_cv_prog_ac_ct_CC
="$ac_prog"
2753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2763 if test -n "$ac_ct_CC"; then
2764 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2765 echo "${ECHO_T}$ac_ct_CC" >&6; }
2767 { echo "$as_me:$LINENO: result: no" >&5
2768 echo "${ECHO_T}no" >&6; }
2772 test -n "$ac_ct_CC" && break
2775 if test "x$ac_ct_CC" = x
; then
2778 case $cross_compiling:$ac_tool_warned in
2780 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2781 whose name does not start with the host triplet. If you think this
2782 configuration is useful to you, please write to autoconf@gnu.org." >&5
2783 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2784 whose name does not start with the host triplet. If you think this
2785 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2786 ac_tool_warned
=yes ;;
2795 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2796 See \`config.log' for more details." >&5
2797 echo "$as_me: error: no acceptable C compiler found in \$PATH
2798 See \`config.log' for more details." >&2;}
2799 { (exit 1); exit 1; }; }
2801 # Provide some information about the compiler.
2802 echo "$as_me:$LINENO: checking for C compiler version" >&5
2803 ac_compiler
=`set X $ac_compile; echo $2`
2804 { (ac_try
="$ac_compiler --version >&5"
2806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2810 (eval "$ac_compiler --version >&5") 2>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }
2814 { (ac_try="$ac_compiler -v >&5"
2816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2817 *) ac_try_echo
=$ac_try;;
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2820 (eval "$ac_compiler -v >&5") 2>&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }
2824 { (ac_try
="$ac_compiler -V >&5"
2826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2830 (eval "$ac_compiler -V >&5") 2>&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }
2835 cat >conftest.$ac_ext <<_ACEOF
2838 cat confdefs.h >>conftest.$ac_ext
2839 cat >>conftest.$ac_ext <<_ACEOF
2840 /* end confdefs.h. */
2850 ac_clean_files_save=$ac_clean_files
2851 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2852 # Try to create an executable without -o first, disregard a.out.
2853 # It will help us diagnose broken compilers, and finding out an intuition
2855 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2856 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2857 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2859 # List of possible output files, starting from the most likely.
2860 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2861 # only as a last resort. b.out is created by i960 compilers.
2862 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2864 # The IRIX 6 linker writes into existing files which may not be
2865 # executable, retaining their permissions. Remove them first so a
2866 # subsequent execution test works.
2868 for ac_file in $ac_files
2871 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2872 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2877 if { (ac_try="$ac_link_default"
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2883 (eval "$ac_link_default") 2>&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; then
2887 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2888 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2889 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2890 # so that the user can short-circuit this test for compilers unknown to
2892 for ac_file
in $ac_files ''
2894 test -f "$ac_file" || continue
2896 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
2899 # We found the default executable, but exeext='' is most
2903 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2905 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2907 # We set ac_cv_exeext here because the later test for it is not
2908 # safe: cross compilers may not add the suffix if given an `-o'
2909 # argument, so we may need to know it at that point already.
2910 # Even if this section looks crufty: it has the advantage of
2917 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2923 { echo "$as_me:$LINENO: result: $ac_file" >&5
2924 echo "${ECHO_T}$ac_file" >&6; }
2925 if test -z "$ac_file"; then
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.
$ac_ext >&5
2929 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2930 See \`config.log' for more details." >&5
2931 echo "$as_me: error: C compiler cannot create executables
2932 See \`config.log' for more details." >&2;}
2933 { (exit 77); exit 77; }; }
2936 ac_exeext
=$ac_cv_exeext
2938 # Check that the compiler produces executables we can run. If not, either
2939 # the compiler is broken, or we cross compile.
2940 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2941 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2942 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2943 # If not cross compiling, check that we can run a simple program.
2944 if test "$cross_compiling" != yes; then
2945 if { ac_try
='./$ac_file'
2946 { (case "(($ac_try" in
2947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2951 (eval "$ac_try") 2>&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; }; then
2957 if test "$cross_compiling" = maybe; then
2960 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2961 If you meant to cross compile, use \`--host'.
2962 See \`config.log' for more details.
" >&5
2963 echo "$as_me: error
: cannot run C compiled programs.
2964 If you meant to cross compile
, use \
`--host'.
2965 See \`config.log
' for more details." >&2;}
2966 { (exit 1); exit 1; }; }
2970 { echo "$as_me:$LINENO: result: yes" >&5
2971 echo "${ECHO_T}yes" >&6; }
2973 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2974 ac_clean_files=$ac_clean_files_save
2975 # Check that the compiler produces executables we can run. If not, either
2976 # the compiler is broken, or we cross compile.
2977 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2978 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2979 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2980 echo "${ECHO_T}$cross_compiling" >&6; }
2982 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2983 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2984 if { (ac_try="$ac_link"
2986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2990 (eval "$ac_link") 2>&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); }; then
2994 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2995 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2996 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2998 for ac_file
in conftest.exe conftest conftest.
*; do
2999 test -f "$ac_file" || continue
3001 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
3002 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3008 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3009 See \`config.log' for more details." >&5
3010 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3011 See \`config.log' for more details." >&2;}
3012 { (exit 1); exit 1; }; }
3015 rm -f conftest
$ac_cv_exeext
3016 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3017 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3019 rm -f conftest.
$ac_ext
3020 EXEEXT
=$ac_cv_exeext
3022 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3023 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3024 if test "${ac_cv_objext+set}" = set; then
3025 echo $ECHO_N "(cached) $ECHO_C" >&6
3027 cat >conftest.
$ac_ext <<_ACEOF
3030 cat confdefs.h
>>conftest.
$ac_ext
3031 cat >>conftest.
$ac_ext <<_ACEOF
3032 /* end confdefs.h. */
3042 rm -f conftest.o conftest.obj
3043 if { (ac_try
="$ac_compile"
3045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3046 *) ac_try_echo=$ac_try;;
3048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3049 (eval "$ac_compile") 2>&5
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); }; then
3053 for ac_file in conftest.o conftest.obj conftest.*; do
3054 test -f "$ac_file" || continue;
3056 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3057 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3062 echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3065 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3066 See \`config.log
' for more details." >&5
3067 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3068 See \`config.log' for more details.
" >&2;}
3069 { (exit 1); exit 1; }; }
3072 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3074 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3075 echo "${ECHO_T}$ac_cv_objext" >&6; }
3076 OBJEXT=$ac_cv_objext
3078 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3079 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3080 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3081 echo $ECHO_N "(cached
) $ECHO_C" >&6
3083 cat >conftest.$ac_ext <<_ACEOF
3086 cat confdefs.h >>conftest.$ac_ext
3087 cat >>conftest.$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3101 rm -f conftest.$ac_objext
3102 if { (ac_try="$ac_compile"
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3107 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3108 (eval "$ac_compile") 2>conftest.er1
3110 grep -v '^ *+' conftest.er1 >conftest.err
3112 cat conftest.err >&5
3113 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3114 (exit $ac_status); } && {
3115 test -z "$ac_c_werror_flag" ||
3116 test ! -s conftest.err
3117 } && test -s conftest.$ac_objext; then
3120 echo "$as_me: failed program was
:" >&5
3121 sed 's/^/| /' conftest.$ac_ext >&5
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3127 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3130 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3131 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3132 GCC=`test $ac_compiler_gnu = yes && echo yes`
3133 ac_test_CFLAGS=${CFLAGS+set}
3134 ac_save_CFLAGS=$CFLAGS
3135 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3136 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3137 if test "${ac_cv_prog_cc_g+set}" = set; then
3138 echo $ECHO_N "(cached
) $ECHO_C" >&6
3140 ac_save_c_werror_flag=$ac_c_werror_flag
3141 ac_c_werror_flag=yes
3144 cat >conftest.$ac_ext <<_ACEOF
3147 cat confdefs.h >>conftest.$ac_ext
3148 cat >>conftest.$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3159 rm -f conftest.$ac_objext
3160 if { (ac_try="$ac_compile"
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3165 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3166 (eval "$ac_compile") 2>conftest.er1
3168 grep -v '^ *+' conftest.er1 >conftest.err
3170 cat conftest.err >&5
3171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3172 (exit $ac_status); } && {
3173 test -z "$ac_c_werror_flag" ||
3174 test ! -s conftest.err
3175 } && test -s conftest.$ac_objext; then
3178 echo "$as_me: failed program was
:" >&5
3179 sed 's/^/| /' conftest.$ac_ext >&5
3182 cat >conftest.$ac_ext <<_ACEOF
3185 cat confdefs.h >>conftest.$ac_ext
3186 cat >>conftest.$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3197 rm -f conftest.$ac_objext
3198 if { (ac_try="$ac_compile"
3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3203 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3204 (eval "$ac_compile") 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3210 (exit $ac_status); } && {
3211 test -z "$ac_c_werror_flag" ||
3212 test ! -s conftest.err
3213 } && test -s conftest.$ac_objext; then
3216 echo "$as_me: failed program was
:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3219 ac_c_werror_flag=$ac_save_c_werror_flag
3221 cat >conftest.$ac_ext <<_ACEOF
3224 cat confdefs.h >>conftest.$ac_ext
3225 cat >>conftest.$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3236 rm -f conftest.$ac_objext
3237 if { (ac_try="$ac_compile"
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3243 (eval "$ac_compile") 2>conftest.er1
3245 grep -v '^ *+' conftest.er1 >conftest.err
3247 cat conftest.err >&5
3248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3249 (exit $ac_status); } && {
3250 test -z "$ac_c_werror_flag" ||
3251 test ! -s conftest.err
3252 } && test -s conftest.$ac_objext; then
3255 echo "$as_me: failed program was
:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3268 ac_c_werror_flag=$ac_save_c_werror_flag
3270 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3271 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3272 if test "$ac_test_CFLAGS" = set; then
3273 CFLAGS=$ac_save_CFLAGS
3274 elif test $ac_cv_prog_cc_g = yes; then
3275 if test "$GCC" = yes; then
3281 if test "$GCC" = yes; then
3287 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3288 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3289 if test "${ac_cv_prog_cc_c89+set}" = set; then
3290 echo $ECHO_N "(cached
) $ECHO_C" >&6
3292 ac_cv_prog_cc_c89=no
3294 cat >conftest.$ac_ext <<_ACEOF
3297 cat confdefs.h >>conftest.$ac_ext
3298 cat >>conftest.$ac_ext <<_ACEOF
3299 /* end confdefs.h. */
3302 #include <sys/types.h>
3303 #include <sys/stat.h>
3304 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3305 struct buf { int x; };
3306 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3307 static char *e (p, i)
3313 static char *f (char * (*g) (char **, int), char **p, ...)
3318 s = g (p, va_arg (v,int));
3323 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3324 function prototypes and stuff, but not '\xHH' hex character constants.
3325 These don't provoke an error unfortunately, instead are silently treated
3326 as 'x'. The following induces an error, until -std is added to get
3327 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3328 array size at least. It's necessary to write '\x00'==0 to get something
3329 that's true only with -std. */
3330 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3332 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3333 inside strings and character constants. */
3335 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3337 int test (int i, double x);
3338 struct s1 {int (*f) (int a);};
3339 struct s2 {int (*f) (double a);};
3340 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3346 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3351 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3352 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3354 CC="$ac_save_CC $ac_arg"
3355 rm -f conftest.$ac_objext
3356 if { (ac_try="$ac_compile"
3358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359 *) ac_try_echo=$ac_try;;
3361 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3362 (eval "$ac_compile") 2>conftest.er1
3364 grep -v '^ *+' conftest.er1 >conftest.err
3366 cat conftest.err >&5
3367 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3368 (exit $ac_status); } && {
3369 test -z "$ac_c_werror_flag" ||
3370 test ! -s conftest.err
3371 } && test -s conftest.$ac_objext; then
3372 ac_cv_prog_cc_c89=$ac_arg
3374 echo "$as_me: failed program was
:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3380 rm -f core conftest.err conftest.$ac_objext
3381 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3383 rm -f conftest.$ac_ext
3388 case "x
$ac_cv_prog_cc_c89" in
3390 { echo "$as_me:$LINENO: result
: none needed
" >&5
3391 echo "${ECHO_T}none needed
" >&6; } ;;
3393 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3394 echo "${ECHO_T}unsupported
" >&6; } ;;
3396 CC="$CC $ac_cv_prog_cc_c89"
3397 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3398 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3403 ac_cpp='$CPP $CPPFLAGS'
3404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3408 depcc="$CC" am_compiler_list=
3410 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3411 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3412 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3413 echo $ECHO_N "(cached
) $ECHO_C" >&6
3415 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3416 # We make a subdir and do the tests there. Otherwise we can end up
3417 # making bogus files that we don't know about and never remove. For
3418 # instance it was reported that on HP-UX the gcc test will end up
3419 # making a dummy file named `D' -- because `-MD' means `put the output
3422 # Copy depcomp to subdir because otherwise we won't find it if we're
3423 # using a relative directory.
3424 cp "$am_depcomp" conftest.dir
3426 # We will build objects and dependencies in a subdirectory because
3427 # it helps to detect inapplicable dependency modes. For instance
3428 # both Tru64's cc and ICC support -MD to output dependencies as a
3429 # side effect of compilation, but ICC will put the dependencies in
3430 # the current directory while Tru64 will put them in the object
3434 am_cv_CC_dependencies_compiler_type=none
3435 if test "$am_compiler_list" = ""; then
3436 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3438 for depmode in $am_compiler_list; do
3439 # Setup a source with many dependencies, because some compilers
3440 # like to wrap large dependency lists on column 80 (with \), and
3441 # we should not choose a depcomp mode which is confused by this.
3443 # We need to recreate these files for each test, as the compiler may
3444 # overwrite some of them when testing with obscure command lines.
3445 # This happens at least with the AIX C compiler.
3447 for i in 1 2 3 4 5 6; do
3448 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3449 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3450 # Solaris 8's {/usr,}/bin/sh.
3451 touch sub/conftst$i.h
3453 echo "${am__include} ${am__quote}sub
/conftest.Po
${am__quote}" > confmf
3457 # after this tag, mechanisms are not by side-effect, so they'll
3458 # only be used when explicitly requested
3459 if test "x
$enable_dependency_tracking" = xyes; then
3467 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3468 # mode. It turns out that the SunPro C++ compiler does not properly
3469 # handle `-M -o', and we need to detect this.
3470 if depmode=$depmode \
3471 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3472 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3473 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3474 >/dev/null 2>conftest.err &&
3475 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3476 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3477 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3478 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3479 # icc doesn't choke on unknown options, it will just issue warnings
3480 # or remarks (even with -Werror). So we grep stderr for any message
3481 # that says an option was ignored or not supported.
3482 # When given -MP, icc 7.0 and 7.1 complain thusly:
3483 # icc: Command line warning: ignoring option '-M'; no argument required
3484 # The diagnosis changed in icc 8.0:
3485 # icc: Command line remark: option '-MP' not supported
3486 if (grep 'ignoring option' conftest.err ||
3487 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3488 am_cv_CC_dependencies_compiler_type=$depmode
3497 am_cv_CC_dependencies_compiler_type=none
3501 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3502 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3503 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3506 test "x
$enable_dependency_tracking" != xno \
3507 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3509 am__fastdepCC_FALSE='#'
3511 am__fastdepCC_TRUE='#'
3512 am__fastdepCC_FALSE=
3517 { echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
3518 echo $ECHO_N "checking
return type of signal handlers...
$ECHO_C" >&6; }
3519 if test "${ac_cv_type_signal+set}" = set; then
3520 echo $ECHO_N "(cached
) $ECHO_C" >&6
3522 cat >conftest.$ac_ext <<_ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3528 #include <sys/types.h>
3534 return *(signal (0, 0)) (0) == 1;
3539 rm -f conftest.$ac_objext
3540 if { (ac_try="$ac_compile"
3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543 *) ac_try_echo=$ac_try;;
3545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3546 (eval "$ac_compile") 2>conftest.er1
3548 grep -v '^ *+' conftest.er1 >conftest.err
3550 cat conftest.err >&5
3551 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3552 (exit $ac_status); } && {
3553 test -z "$ac_c_werror_flag" ||
3554 test ! -s conftest.err
3555 } && test -s conftest.$ac_objext; then
3556 ac_cv_type_signal=int
3558 echo "$as_me: failed program was
:" >&5
3559 sed 's/^/| /' conftest.$ac_ext >&5
3561 ac_cv_type_signal=void
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566 { echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
3567 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
3569 cat >>confdefs.h <<_ACEOF
3570 #define RETSIGTYPE $ac_cv_type_signal
3574 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
3575 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
3576 if test "${ac_cv_c_const+set}" = set; then
3577 echo $ECHO_N "(cached
) $ECHO_C" >&6
3579 cat >conftest.$ac_ext <<_ACEOF
3582 cat confdefs.h >>conftest.$ac_ext
3583 cat >>conftest.$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3589 /* FIXME: Include the comments suggested by Paul. */
3591 /* Ultrix mips cc rejects this. */
3592 typedef int charset[2];
3594 /* SunOS 4.1.1 cc rejects this. */
3595 char const *const *pcpcc;
3597 /* NEC SVR4.0.2 mips cc rejects this. */
3598 struct point {int x, y;};
3599 static struct point const zero = {0,0};
3600 /* AIX XL C 1.02.0.0 rejects this.
3601 It does not let you subtract one const X* pointer from another in
3602 an arm of an if-expression whose if-part is not a constant
3604 const char *g = "string
";
3605 pcpcc = &g + (g ? g-g : 0);
3606 /* HPUX 7.0 cc rejects these. */
3608 ppc = (char**) pcpcc;
3609 pcpcc = (char const *const *) ppc;
3610 { /* SCO 3.2v4 cc rejects this. */
3612 char const *s = 0 ? (char *) 0 : (char const *) 0;
3617 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3619 const int *foo = &x[0];
3622 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3623 typedef const int *iptr;
3627 { /* AIX XL C 1.02.0.0 rejects this saying
3628 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3629 struct s { int j; const int *ap[3]; };
3630 struct s *b; b->j = 5;
3632 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3636 return !cs[0] && !zero.x;
3643 rm -f conftest.$ac_objext
3644 if { (ac_try="$ac_compile"
3646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647 *) ac_try_echo=$ac_try;;
3649 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3650 (eval "$ac_compile") 2>conftest.er1
3652 grep -v '^ *+' conftest.er1 >conftest.err
3654 cat conftest.err >&5
3655 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3656 (exit $ac_status); } && {
3657 test -z "$ac_c_werror_flag" ||
3658 test ! -s conftest.err
3659 } && test -s conftest.$ac_objext; then
3662 echo "$as_me: failed program was
:" >&5
3663 sed 's/^/| /' conftest.$ac_ext >&5
3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3670 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
3671 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3672 if test $ac_cv_c_const = no; then
3674 cat >>confdefs.h <<\_ACEOF
3681 for ac_prog in gawk mawk nawk awk
3683 # Extract the first word of "$ac_prog", so it can be a program name with args.
3684 set dummy $ac_prog; ac_word=$2
3685 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3686 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3687 if test "${ac_cv_prog_AWK+set}" = set; then
3688 echo $ECHO_N "(cached
) $ECHO_C" >&6
3690 if test -n "$AWK"; then
3691 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 test -z "$as_dir" && as_dir=.
3698 for ac_exec_ext in '' $ac_executable_extensions; do
3699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3700 ac_cv_prog_AWK="$ac_prog"
3701 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3711 if test -n "$AWK"; then
3712 { echo "$as_me:$LINENO: result
: $AWK" >&5
3713 echo "${ECHO_T}$AWK" >&6; }
3715 { echo "$as_me:$LINENO: result
: no
" >&5
3716 echo "${ECHO_T}no
" >&6; }
3720 test -n "$AWK" && break
3724 ac_cpp='$CPP $CPPFLAGS'
3725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3728 if test -n "$ac_tool_prefix"; then
3729 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3730 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3731 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3732 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3733 if test "${ac_cv_prog_CC+set}" = set; then
3734 echo $ECHO_N "(cached
) $ECHO_C" >&6
3736 if test -n "$CC"; then
3737 ac_cv_prog_CC="$CC" # Let the user override the test.
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 test -z "$as_dir" && as_dir=.
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3746 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3747 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3757 if test -n "$CC"; then
3758 { echo "$as_me:$LINENO: result
: $CC" >&5
3759 echo "${ECHO_T}$CC" >&6; }
3761 { echo "$as_me:$LINENO: result
: no
" >&5
3762 echo "${ECHO_T}no
" >&6; }
3767 if test -z "$ac_cv_prog_CC"; then
3769 # Extract the first word of "gcc
", so it can be a program name with args.
3770 set dummy gcc; ac_word=$2
3771 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3772 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3773 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3774 echo $ECHO_N "(cached
) $ECHO_C" >&6
3776 if test -n "$ac_ct_CC"; then
3777 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786 ac_cv_prog_ac_ct_CC="gcc
"
3787 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3797 if test -n "$ac_ct_CC"; then
3798 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3799 echo "${ECHO_T}$ac_ct_CC" >&6; }
3801 { echo "$as_me:$LINENO: result
: no
" >&5
3802 echo "${ECHO_T}no
" >&6; }
3805 if test "x
$ac_ct_CC" = x; then
3808 case $cross_compiling:$ac_tool_warned in
3810 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
3811 whose name does not start with the
host triplet. If you think this
3812 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3813 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
3814 whose name does not start with the
host triplet. If you think this
3815 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3816 ac_tool_warned=yes ;;
3824 if test -z "$CC"; then
3825 if test -n "$ac_tool_prefix"; then
3826 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3827 set dummy ${ac_tool_prefix}cc; ac_word=$2
3828 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3829 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3830 if test "${ac_cv_prog_CC+set}" = set; then
3831 echo $ECHO_N "(cached
) $ECHO_C" >&6
3833 if test -n "$CC"; then
3834 ac_cv_prog_CC="$CC" # Let the user override the test.
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3840 test -z "$as_dir" && as_dir=.
3841 for ac_exec_ext in '' $ac_executable_extensions; do
3842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3843 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3844 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3854 if test -n "$CC"; then
3855 { echo "$as_me:$LINENO: result
: $CC" >&5
3856 echo "${ECHO_T}$CC" >&6; }
3858 { echo "$as_me:$LINENO: result
: no
" >&5
3859 echo "${ECHO_T}no
" >&6; }
3865 if test -z "$CC"; then
3866 # Extract the first word of "cc
", so it can be a program name with args.
3867 set dummy cc; ac_word=$2
3868 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3869 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3870 if test "${ac_cv_prog_CC+set}" = set; then
3871 echo $ECHO_N "(cached
) $ECHO_C" >&6
3873 if test -n "$CC"; then
3874 ac_cv_prog_CC="$CC" # Let the user override the test.
3877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 test -z "$as_dir" && as_dir=.
3882 for ac_exec_ext in '' $ac_executable_extensions; do
3883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3884 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3885 ac_prog_rejected=yes
3889 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3896 if test $ac_prog_rejected = yes; then
3897 # We found a bogon in the path, so make sure we never use it.
3898 set dummy $ac_cv_prog_CC
3900 if test $# != 0; then
3901 # We chose a different compiler from the bogus one.
3902 # However, it has the same basename, so the bogon will be chosen
3903 # first if we set CC to just the basename; use the full file name.
3905 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
3911 if test -n "$CC"; then
3912 { echo "$as_me:$LINENO: result
: $CC" >&5
3913 echo "${ECHO_T}$CC" >&6; }
3915 { echo "$as_me:$LINENO: result
: no
" >&5
3916 echo "${ECHO_T}no
" >&6; }
3921 if test -z "$CC"; then
3922 if test -n "$ac_tool_prefix"; then
3923 for ac_prog in cl.exe
3925 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3926 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3927 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3928 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3929 if test "${ac_cv_prog_CC+set}" = set; then
3930 echo $ECHO_N "(cached
) $ECHO_C" >&6
3932 if test -n "$CC"; then
3933 ac_cv_prog_CC="$CC" # Let the user override the test.
3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 test -z "$as_dir" && as_dir=.
3940 for ac_exec_ext in '' $ac_executable_extensions; do
3941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3942 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3943 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3953 if test -n "$CC"; then
3954 { echo "$as_me:$LINENO: result
: $CC" >&5
3955 echo "${ECHO_T}$CC" >&6; }
3957 { echo "$as_me:$LINENO: result
: no
" >&5
3958 echo "${ECHO_T}no
" >&6; }
3962 test -n "$CC" && break
3965 if test -z "$CC"; then
3967 for ac_prog in cl.exe
3969 # Extract the first word of "$ac_prog", so it can be a program name with args.
3970 set dummy $ac_prog; ac_word=$2
3971 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3972 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3973 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3974 echo $ECHO_N "(cached
) $ECHO_C" >&6
3976 if test -n "$ac_ct_CC"; then
3977 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3983 test -z "$as_dir" && as_dir=.
3984 for ac_exec_ext in '' $ac_executable_extensions; do
3985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3986 ac_cv_prog_ac_ct_CC="$ac_prog"
3987 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3996 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3997 if test -n "$ac_ct_CC"; then
3998 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3999 echo "${ECHO_T}$ac_ct_CC" >&6; }
4001 { echo "$as_me:$LINENO: result
: no
" >&5
4002 echo "${ECHO_T}no
" >&6; }
4006 test -n "$ac_ct_CC" && break
4009 if test "x
$ac_ct_CC" = x; then
4012 case $cross_compiling:$ac_tool_warned in
4014 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
4015 whose name does not start with the
host triplet. If you think this
4016 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4017 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
4018 whose name does not start with the
host triplet. If you think this
4019 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4020 ac_tool_warned=yes ;;
4029 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4030 See \
`config.log' for more details." >&5
4031 echo "$as_me: error: no acceptable C compiler found in \$PATH
4032 See \`config.log
' for more details." >&2;}
4033 { (exit 1); exit 1; }; }
4035 # Provide some information about the compiler.
4036 echo "$as_me:$LINENO: checking for C compiler version" >&5
4037 ac_compiler=`set X $ac_compile; echo $2`
4038 { (ac_try="$ac_compiler --version >&5"
4040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4044 (eval "$ac_compiler --version >&5") 2>&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); }
4048 { (ac_try="$ac_compiler -v >&5"
4050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4054 (eval "$ac_compiler -v >&5") 2>&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); }
4058 { (ac_try="$ac_compiler -V >&5"
4060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4064 (eval "$ac_compiler -V >&5") 2>&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); }
4069 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4070 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4071 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 cat >conftest.$ac_ext <<_ACEOF
4077 cat confdefs.h >>conftest.$ac_ext
4078 cat >>conftest.$ac_ext <<_ACEOF
4079 /* end confdefs.h. */
4092 rm -f conftest.$ac_objext
4093 if { (ac_try="$ac_compile"
4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4099 (eval "$ac_compile") 2>conftest.er1
4101 grep -v '^
*+' conftest.er1 >conftest.err
4103 cat conftest.err >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); } && {
4106 test -z "$ac_c_werror_flag" ||
4107 test ! -s conftest.err
4108 } && test -s conftest.$ac_objext; then
4111 echo "$as_me: failed program was:" >&5
4112 sed 's
/^
/| /' conftest.$ac_ext >&5
4117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4118 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4121 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4122 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4123 GCC=`test $ac_compiler_gnu = yes && echo yes`
4124 ac_test_CFLAGS=${CFLAGS+set}
4125 ac_save_CFLAGS=$CFLAGS
4126 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4127 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4128 if test "${ac_cv_prog_cc_g+set}" = set; then
4129 echo $ECHO_N "(cached) $ECHO_C" >&6
4131 ac_save_c_werror_flag=$ac_c_werror_flag
4132 ac_c_werror_flag=yes
4135 cat >conftest.$ac_ext <<_ACEOF
4138 cat confdefs.h >>conftest.$ac_ext
4139 cat >>conftest.$ac_ext <<_ACEOF
4140 /* end confdefs.h. */
4150 rm -f conftest.$ac_objext
4151 if { (ac_try="$ac_compile"
4153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4157 (eval "$ac_compile") 2>conftest.er1
4159 grep -v '^
*+' conftest.er1 >conftest.err
4161 cat conftest.err >&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); } && {
4164 test -z "$ac_c_werror_flag" ||
4165 test ! -s conftest.err
4166 } && test -s conftest.$ac_objext; then
4169 echo "$as_me: failed program was:" >&5
4170 sed 's
/^
/| /' conftest.$ac_ext >&5
4173 cat >conftest.$ac_ext <<_ACEOF
4176 cat confdefs.h >>conftest.$ac_ext
4177 cat >>conftest.$ac_ext <<_ACEOF
4178 /* end confdefs.h. */
4188 rm -f conftest.$ac_objext
4189 if { (ac_try="$ac_compile"
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195 (eval "$ac_compile") 2>conftest.er1
4197 grep -v '^
*+' conftest.er1 >conftest.err
4199 cat conftest.err >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } && {
4202 test -z "$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4204 } && test -s conftest.$ac_objext; then
4207 echo "$as_me: failed program was:" >&5
4208 sed 's
/^
/| /' conftest.$ac_ext >&5
4210 ac_c_werror_flag=$ac_save_c_werror_flag
4212 cat >conftest.$ac_ext <<_ACEOF
4215 cat confdefs.h >>conftest.$ac_ext
4216 cat >>conftest.$ac_ext <<_ACEOF
4217 /* end confdefs.h. */
4227 rm -f conftest.$ac_objext
4228 if { (ac_try="$ac_compile"
4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4234 (eval "$ac_compile") 2>conftest.er1
4236 grep -v '^
*+' conftest.er1 >conftest.err
4238 cat conftest.err >&5
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); } && {
4241 test -z "$ac_c_werror_flag" ||
4242 test ! -s conftest.err
4243 } && test -s conftest.$ac_objext; then
4246 echo "$as_me: failed program was:" >&5
4247 sed 's
/^
/| /' conftest.$ac_ext >&5
4252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4259 ac_c_werror_flag=$ac_save_c_werror_flag
4261 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4262 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4263 if test "$ac_test_CFLAGS" = set; then
4264 CFLAGS=$ac_save_CFLAGS
4265 elif test $ac_cv_prog_cc_g = yes; then
4266 if test "$GCC" = yes; then
4272 if test "$GCC" = yes; then
4278 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4279 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4280 if test "${ac_cv_prog_cc_c89+set}" = set; then
4281 echo $ECHO_N "(cached) $ECHO_C" >&6
4283 ac_cv_prog_cc_c89=no
4285 cat >conftest.$ac_ext <<_ACEOF
4288 cat confdefs.h >>conftest.$ac_ext
4289 cat >>conftest.$ac_ext <<_ACEOF
4290 /* end confdefs.h. */
4293 #include <sys/types.h>
4294 #include <sys/stat.h>
4295 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4296 struct buf
{ int x
; };
4297 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4298 static char
*e
(p
, i
)
4304 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4309 s
= g
(p
, va_arg
(v
,int
));
4314 /* OSF
4.0 Compaq cc is some
sort of almost
-ANSI by default. It has
4315 function prototypes and stuff
, but not
'\xHH' hex character constants.
4316 These don
't provoke an error unfortunately, instead are silently treated
4317 as 'x
'. The following induces an error, until -std is added to get
4318 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4319 array size at least. It's necessary to
write '\x00'==0 to get something
4320 that
's true only with -std. */
4321 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4323 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4324 inside strings and character constants. */
4326 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4328 int test (int i, double x);
4329 struct s1 {int (*f) (int a);};
4330 struct s2 {int (*f) (double a);};
4331 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4337 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4342 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4343 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4345 CC="$ac_save_CC $ac_arg"
4346 rm -f conftest.$ac_objext
4347 if { (ac_try="$ac_compile"
4349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4353 (eval "$ac_compile") 2>conftest.er1
4355 grep -v '^
*+' conftest.er1 >conftest.err
4357 cat conftest.err >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); } && {
4360 test -z "$ac_c_werror_flag" ||
4361 test ! -s conftest.err
4362 } && test -s conftest.$ac_objext; then
4363 ac_cv_prog_cc_c89=$ac_arg
4365 echo "$as_me: failed program was:" >&5
4366 sed 's
/^
/| /' conftest.$ac_ext >&5
4371 rm -f core conftest.err conftest.$ac_objext
4372 test "x$ac_cv_prog_cc_c89" != "xno" && break
4374 rm -f conftest.$ac_ext
4379 case "x$ac_cv_prog_cc_c89" in
4381 { echo "$as_me:$LINENO: result: none needed" >&5
4382 echo "${ECHO_T}none needed" >&6; } ;;
4384 { echo "$as_me:$LINENO: result: unsupported" >&5
4385 echo "${ECHO_T}unsupported" >&6; } ;;
4387 CC="$CC $ac_cv_prog_cc_c89"
4388 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4389 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4394 ac_cpp='$CPP $CPPFLAGS'
4395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4396 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4399 depcc="$CC" am_compiler_list=
4401 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4402 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4403 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4404 echo $ECHO_N "(cached) $ECHO_C" >&6
4406 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4407 # We make a subdir and do the tests there. Otherwise we can end up
4408 # making bogus files that we don't know about and never remove. For
4409 # instance it was reported that on HP-UX the gcc test will end up
4410 # making a dummy file named `D' -- because `-MD' means `put the output
4413 # Copy depcomp to subdir because otherwise we won't find it if we're
4414 # using a relative directory.
4415 cp "$am_depcomp" conftest.dir
4417 # We will build objects and dependencies in a subdirectory because
4418 # it helps to detect inapplicable dependency modes. For instance
4419 # both Tru64's cc and ICC support -MD to output dependencies as a
4420 # side effect of compilation, but ICC will put the dependencies in
4421 # the current directory while Tru64 will put them in the object
4425 am_cv_CC_dependencies_compiler_type
=none
4426 if test "$am_compiler_list" = ""; then
4427 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4429 for depmode
in $am_compiler_list; do
4430 # Setup a source with many dependencies, because some compilers
4431 # like to wrap large dependency lists on column 80 (with \), and
4432 # we should not choose a depcomp mode which is confused by this.
4434 # We need to recreate these files for each test, as the compiler may
4435 # overwrite some of them when testing with obscure command lines.
4436 # This happens at least with the AIX C compiler.
4438 for i
in 1 2 3 4 5 6; do
4439 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4440 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4441 # Solaris 8's {/usr,}/bin/sh.
4442 touch sub
/conftst
$i.h
4444 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4448 # after this tag, mechanisms are not by side-effect, so they'll
4449 # only be used when explicitly requested
4450 if test "x$enable_dependency_tracking" = xyes
; then
4458 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4459 # mode. It turns out that the SunPro C++ compiler does not properly
4460 # handle `-M -o', and we need to detect this.
4461 if depmode
=$depmode \
4462 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4463 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4464 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4465 >/dev
/null
2>conftest.err
&&
4466 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4467 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4468 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4469 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4470 # icc doesn't choke on unknown options, it will just issue warnings
4471 # or remarks (even with -Werror). So we grep stderr for any message
4472 # that says an option was ignored or not supported.
4473 # When given -MP, icc 7.0 and 7.1 complain thusly:
4474 # icc: Command line warning: ignoring option '-M'; no argument required
4475 # The diagnosis changed in icc 8.0:
4476 # icc: Command line remark: option '-MP' not supported
4477 if (grep 'ignoring option' conftest.err
||
4478 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4479 am_cv_CC_dependencies_compiler_type
=$depmode
4488 am_cv_CC_dependencies_compiler_type
=none
4492 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4493 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4494 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4497 test "x$enable_dependency_tracking" != xno \
4498 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4500 am__fastdepCC_FALSE
='#'
4502 am__fastdepCC_TRUE
='#'
4503 am__fastdepCC_FALSE
=
4507 # Find a good install program. We prefer a C program (faster),
4508 # so one script is as good as another. But avoid the broken or
4509 # incompatible versions:
4510 # SysV /etc/install, /usr/sbin/install
4511 # SunOS /usr/etc/install
4512 # IRIX /sbin/install
4514 # AmigaOS /C/install, which installs bootblocks on floppy discs
4515 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4516 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4517 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4518 # OS/2's system install, which has a completely different semantic
4519 # ./install, which can be erroneously created by make from ./install.sh.
4520 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4521 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4522 if test -z "$INSTALL"; then
4523 if test "${ac_cv_path_install+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4530 test -z "$as_dir" && as_dir
=.
4531 # Account for people who put trailing slashes in PATH elements.
4533 .
/ | .
// | /cC
/* | \
4534 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4535 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4538 # OSF1 and SCO ODT 3.0 have their own names for install.
4539 # Don't use installbsd from OSF since it installs stuff as root
4541 for ac_prog
in ginstall scoinst
install; do
4542 for ac_exec_ext
in '' $ac_executable_extensions; do
4543 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4544 if test $ac_prog = install &&
4545 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4546 # AIX install. It has an incompatible calling convention.
4548 elif test $ac_prog = install &&
4549 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4550 # program-specific install script used by HP pwplus--don't use.
4553 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4566 if test "${ac_cv_path_install+set}" = set; then
4567 INSTALL
=$ac_cv_path_install
4569 # As a last resort, use the slow shell script. Don't cache a
4570 # value for INSTALL within a source directory, because that will
4571 # break other packages using the cache if that directory is
4572 # removed, or if the value is a relative name.
4573 INSTALL
=$ac_install_sh
4576 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4577 echo "${ECHO_T}$INSTALL" >&6; }
4579 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4580 # It thinks the first close brace ends the variable substitution.
4581 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4583 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4585 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4588 # Extract the first word of "cp", so it can be a program name with args.
4589 set dummy
cp; ac_word
=$2
4590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4592 if test "${ac_cv_path_CP+set}" = set; then
4593 echo $ECHO_N "(cached) $ECHO_C" >&6
4597 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
4600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir
=.
4605 for ac_exec_ext
in '' $ac_executable_extensions; do
4606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4607 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
4608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4619 if test -n "$CP"; then
4620 { echo "$as_me:$LINENO: result: $CP" >&5
4621 echo "${ECHO_T}$CP" >&6; }
4623 { echo "$as_me:$LINENO: result: no" >&5
4624 echo "${ECHO_T}no" >&6; }
4629 if test -n "$ac_tool_prefix"; then
4630 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4631 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4634 if test "${ac_cv_prog_RANLIB+set}" = set; then
4635 echo $ECHO_N "(cached) $ECHO_C" >&6
4637 if test -n "$RANLIB"; then
4638 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4644 test -z "$as_dir" && as_dir
=.
4645 for ac_exec_ext
in '' $ac_executable_extensions; do
4646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4647 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 RANLIB
=$ac_cv_prog_RANLIB
4658 if test -n "$RANLIB"; then
4659 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4660 echo "${ECHO_T}$RANLIB" >&6; }
4662 { echo "$as_me:$LINENO: result: no" >&5
4663 echo "${ECHO_T}no" >&6; }
4668 if test -z "$ac_cv_prog_RANLIB"; then
4669 ac_ct_RANLIB
=$RANLIB
4670 # Extract the first word of "ranlib", so it can be a program name with args.
4671 set dummy ranlib
; ac_word
=$2
4672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4674 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4677 if test -n "$ac_ct_RANLIB"; then
4678 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4684 test -z "$as_dir" && as_dir
=.
4685 for ac_exec_ext
in '' $ac_executable_extensions; do
4686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4687 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4697 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4698 if test -n "$ac_ct_RANLIB"; then
4699 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4700 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4702 { echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6; }
4706 if test "x$ac_ct_RANLIB" = x
; then
4709 case $cross_compiling:$ac_tool_warned in
4711 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4712 whose name does not start with the host triplet. If you think this
4713 configuration is useful to you, please write to autoconf@gnu.org." >&5
4714 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4715 whose name does not start with the host triplet. If you think this
4716 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4717 ac_tool_warned
=yes ;;
4719 RANLIB
=$ac_ct_RANLIB
4722 RANLIB
="$ac_cv_prog_RANLIB"
4726 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4727 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4729 if test "$LN_S" = "ln -s"; then
4730 { echo "$as_me:$LINENO: result: yes" >&5
4731 echo "${ECHO_T}yes" >&6; }
4733 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4734 echo "${ECHO_T}no, using $LN_S" >&6; }
4737 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4738 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4739 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4740 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4743 cat >conftest.
make <<\_ACEOF
4746 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4748 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4749 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4751 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4753 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4757 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4758 { echo "$as_me:$LINENO: result: yes" >&5
4759 echo "${ECHO_T}yes" >&6; }
4762 { echo "$as_me:$LINENO: result: no" >&5
4763 echo "${ECHO_T}no" >&6; }
4764 SET_MAKE
="MAKE=${MAKE-make}"
4768 ac_cpp
='$CPP $CPPFLAGS'
4769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4772 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4773 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4774 # On Suns, sometimes $CPP names a directory.
4775 if test -n "$CPP" && test -d "$CPP"; then
4778 if test -z "$CPP"; then
4779 if test "${ac_cv_prog_CPP+set}" = set; then
4780 echo $ECHO_N "(cached) $ECHO_C" >&6
4782 # Double quotes because CPP needs to be expanded
4783 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4786 for ac_c_preproc_warn_flag
in '' yes
4788 # Use a header file that comes with gcc, so configuring glibc
4789 # with a fresh cross-compiler works.
4790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4791 # <limits.h> exists even on freestanding compilers.
4792 # On the NeXT, cc -E runs the code through the compiler's parser,
4793 # not just through cpp. "Syntax error" is here to catch this case.
4794 cat >conftest.
$ac_ext <<_ACEOF
4797 cat confdefs.h
>>conftest.
$ac_ext
4798 cat >>conftest.
$ac_ext <<_ACEOF
4799 /* end confdefs.h. */
4801 # include <limits.h>
4803 # include <assert.h>
4807 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4810 *) ac_try_echo=$ac_try;;
4812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4815 grep -v '^ *+' conftest.er1 >conftest.err
4817 cat conftest.err >&5
4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819 (exit $ac_status); } >/dev/null && {
4820 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4821 test ! -s conftest.err
4825 echo "$as_me: failed program was:" >&5
4826 sed 's/^/| /' conftest.$ac_ext >&5
4828 # Broken: fails on valid input.
4832 rm -f conftest.err conftest.$ac_ext
4834 # OK, works on sane cases. Now check whether nonexistent headers
4835 # can be detected and how.
4836 cat >conftest.$ac_ext <<_ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4842 #include <ac_nonexistent.h>
4844 if { (ac_try="$ac_cpp conftest.$ac_ext"
4846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4847 *) ac_try_echo
=$ac_try;;
4849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4850 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4852 grep -v '^ *+' conftest.er1
>conftest.err
4854 cat conftest.err
>&5
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); } >/dev
/null
&& {
4857 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4858 test ! -s conftest.err
4860 # Broken: success on invalid input.
4863 echo "$as_me: failed program was:" >&5
4864 sed 's/^/| /' conftest.
$ac_ext >&5
4866 # Passes both tests.
4871 rm -f conftest.err conftest.
$ac_ext
4874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4875 rm -f conftest.err conftest.
$ac_ext
4876 if $ac_preproc_ok; then
4888 { echo "$as_me:$LINENO: result: $CPP" >&5
4889 echo "${ECHO_T}$CPP" >&6; }
4891 for ac_c_preproc_warn_flag
in '' yes
4893 # Use a header file that comes with gcc, so configuring glibc
4894 # with a fresh cross-compiler works.
4895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4896 # <limits.h> exists even on freestanding compilers.
4897 # On the NeXT, cc -E runs the code through the compiler's parser,
4898 # not just through cpp. "Syntax error" is here to catch this case.
4899 cat >conftest.
$ac_ext <<_ACEOF
4902 cat confdefs.h
>>conftest.
$ac_ext
4903 cat >>conftest.
$ac_ext <<_ACEOF
4904 /* end confdefs.h. */
4906 # include <limits.h>
4908 # include <assert.h>
4912 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4920 grep -v '^ *+' conftest.er1 >conftest.err
4922 cat conftest.err >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); } >/dev/null && {
4925 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4926 test ! -s conftest.err
4930 echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.$ac_ext >&5
4933 # Broken: fails on valid input.
4937 rm -f conftest.err conftest.$ac_ext
4939 # OK, works on sane cases. Now check whether nonexistent headers
4940 # can be detected and how.
4941 cat >conftest.$ac_ext <<_ACEOF
4944 cat confdefs.h >>conftest.$ac_ext
4945 cat >>conftest.$ac_ext <<_ACEOF
4946 /* end confdefs.h. */
4947 #include <ac_nonexistent.h>
4949 if { (ac_try="$ac_cpp conftest.$ac_ext"
4951 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4952 *) ac_try_echo
=$ac_try;;
4954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4957 grep -v '^ *+' conftest.er1
>conftest.err
4959 cat conftest.err
>&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); } >/dev
/null
&& {
4962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4963 test ! -s conftest.err
4965 # Broken: success on invalid input.
4968 echo "$as_me: failed program was:" >&5
4969 sed 's/^/| /' conftest.
$ac_ext >&5
4971 # Passes both tests.
4976 rm -f conftest.err conftest.
$ac_ext
4979 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4980 rm -f conftest.err conftest.
$ac_ext
4981 if $ac_preproc_ok; then
4984 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4985 See \`config.log' for more details." >&5
4986 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4987 See \`config.log' for more details." >&2;}
4988 { (exit 1); exit 1; }; }
4992 ac_cpp
='$CPP $CPPFLAGS'
4993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4998 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4999 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5000 if test "${ac_cv_path_GREP+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 # Extract the first word of "grep ggrep" to use in msg output
5004 if test -z "$GREP"; then
5005 set dummy
grep ggrep
; ac_prog_name
=$2
5006 if test "${ac_cv_path_GREP+set}" = set; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 ac_path_GREP_found
=false
5010 # Loop through the user's path and test for each of PROGNAME-LIST
5011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5012 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5015 test -z "$as_dir" && as_dir
=.
5016 for ac_prog
in grep ggrep
; do
5017 for ac_exec_ext
in '' $ac_executable_extensions; do
5018 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5019 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5020 # Check for GNU ac_path_GREP and select it if it is found.
5021 # Check for GNU $ac_path_GREP
5022 case `"$ac_path_GREP" --version 2>&1` in
5024 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5027 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5030 cat "conftest.in" "conftest.in" >"conftest.tmp"
5031 mv "conftest.tmp" "conftest.in"
5032 cp "conftest.in" "conftest.nl"
5033 echo 'GREP' >> "conftest.nl"
5034 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5035 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5036 ac_count
=`expr $ac_count + 1`
5037 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5038 # Best one so far, save it but keep looking for a better one
5039 ac_cv_path_GREP
="$ac_path_GREP"
5040 ac_path_GREP_max
=$ac_count
5042 # 10*(2^10) chars as input seems more than enough
5043 test $ac_count -gt 10 && break
5045 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5049 $ac_path_GREP_found && break 3
5059 GREP
="$ac_cv_path_GREP"
5060 if test -z "$GREP"; then
5061 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5062 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5063 { (exit 1); exit 1; }; }
5067 ac_cv_path_GREP
=$GREP
5072 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5073 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5074 GREP
="$ac_cv_path_GREP"
5077 { echo "$as_me:$LINENO: checking for egrep" >&5
5078 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5079 if test "${ac_cv_path_EGREP+set}" = set; then
5080 echo $ECHO_N "(cached) $ECHO_C" >&6
5082 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
5083 then ac_cv_path_EGREP
="$GREP -E"
5085 # Extract the first word of "egrep" to use in msg output
5086 if test -z "$EGREP"; then
5087 set dummy
egrep; ac_prog_name
=$2
5088 if test "${ac_cv_path_EGREP+set}" = set; then
5089 echo $ECHO_N "(cached) $ECHO_C" >&6
5091 ac_path_EGREP_found
=false
5092 # Loop through the user's path and test for each of PROGNAME-LIST
5093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5094 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5097 test -z "$as_dir" && as_dir
=.
5098 for ac_prog
in egrep; do
5099 for ac_exec_ext
in '' $ac_executable_extensions; do
5100 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5101 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5102 # Check for GNU ac_path_EGREP and select it if it is found.
5103 # Check for GNU $ac_path_EGREP
5104 case `"$ac_path_EGREP" --version 2>&1` in
5106 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5109 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5112 cat "conftest.in" "conftest.in" >"conftest.tmp"
5113 mv "conftest.tmp" "conftest.in"
5114 cp "conftest.in" "conftest.nl"
5115 echo 'EGREP' >> "conftest.nl"
5116 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5117 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5118 ac_count
=`expr $ac_count + 1`
5119 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5120 # Best one so far, save it but keep looking for a better one
5121 ac_cv_path_EGREP
="$ac_path_EGREP"
5122 ac_path_EGREP_max
=$ac_count
5124 # 10*(2^10) chars as input seems more than enough
5125 test $ac_count -gt 10 && break
5127 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5131 $ac_path_EGREP_found && break 3
5141 EGREP
="$ac_cv_path_EGREP"
5142 if test -z "$EGREP"; then
5143 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5144 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5145 { (exit 1); exit 1; }; }
5149 ac_cv_path_EGREP
=$EGREP
5155 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5156 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5157 EGREP
="$ac_cv_path_EGREP"
5160 if test $ac_cv_c_compiler_gnu = yes; then
5161 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
5162 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
5163 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5164 echo $ECHO_N "(cached) $ECHO_C" >&6
5166 ac_pattern
="Autoconf.*'x'"
5167 cat >conftest.
$ac_ext <<_ACEOF
5170 cat confdefs.h
>>conftest.
$ac_ext
5171 cat >>conftest.
$ac_ext <<_ACEOF
5172 /* end confdefs.h. */
5176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5177 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5178 ac_cv_prog_gcc_traditional
=yes
5180 ac_cv_prog_gcc_traditional
=no
5185 if test $ac_cv_prog_gcc_traditional = no
; then
5186 cat >conftest.
$ac_ext <<_ACEOF
5189 cat confdefs.h
>>conftest.
$ac_ext
5190 cat >>conftest.
$ac_ext <<_ACEOF
5191 /* end confdefs.h. */
5195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5196 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5197 ac_cv_prog_gcc_traditional
=yes
5203 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
5204 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
5205 if test $ac_cv_prog_gcc_traditional = yes; then
5206 CC
="$CC -traditional"
5210 # Extract the first word of "gmake", so it can be a program name with args.
5211 set dummy gmake
; ac_word
=$2
5212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5214 if test "${ac_cv_prog_MAKER+set}" = set; then
5215 echo $ECHO_N "(cached) $ECHO_C" >&6
5217 if test -n "$MAKER"; then
5218 ac_cv_prog_MAKER
="$MAKER" # Let the user override the test.
5220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5224 test -z "$as_dir" && as_dir
=.
5225 for ac_exec_ext
in '' $ac_executable_extensions; do
5226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5227 ac_cv_prog_MAKER
="gmake"
5228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 test -z "$ac_cv_prog_MAKER" && ac_cv_prog_MAKER
="make"
5238 MAKER
=$ac_cv_prog_MAKER
5239 if test -n "$MAKER"; then
5240 { echo "$as_me:$LINENO: result: $MAKER" >&5
5241 echo "${ECHO_T}$MAKER" >&6; }
5243 { echo "$as_me:$LINENO: result: no" >&5
5244 echo "${ECHO_T}no" >&6; }
5250 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
5253 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
5257 EXTRA_DEFINE
="-D__SOLARIS__"
5258 ANSI_SRC
="-fno-builtin"
5261 ANSI_SRC
="-fno-builtin"
5264 EXTRA_DEFINE
="-D_GNU_SOURCE"
5271 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
5274 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
5275 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
5276 if test "${ac_cv_lib_socket_socket+set}" = set; then
5277 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 ac_check_lib_save_LIBS
=$LIBS
5280 LIBS
="-lsocket $LIBS"
5281 cat >conftest.
$ac_ext <<_ACEOF
5284 cat confdefs.h
>>conftest.
$ac_ext
5285 cat >>conftest.
$ac_ext <<_ACEOF
5286 /* end confdefs.h. */
5288 /* Override any GCC internal prototype to avoid an error.
5289 Use char because int might match the return type of a GCC
5290 builtin and then its argument prototype would still apply. */
5303 rm -f conftest.
$ac_objext conftest
$ac_exeext
5304 if { (ac_try
="$ac_link"
5306 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5307 *) ac_try_echo=$ac_try;;
5309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5310 (eval "$ac_link") 2>conftest.er1
5312 grep -v '^ *+' conftest.er1 >conftest.err
5314 cat conftest.err >&5
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); } && {
5317 test -z "$ac_c_werror_flag" ||
5318 test ! -s conftest.err
5319 } && test -s conftest$ac_exeext &&
5320 $as_test_x conftest$ac_exeext; then
5321 ac_cv_lib_socket_socket=yes
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.$ac_ext >&5
5326 ac_cv_lib_socket_socket=no
5329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5330 conftest$ac_exeext conftest.$ac_ext
5331 LIBS=$ac_check_lib_save_LIBS
5333 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
5334 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
5335 if test $ac_cv_lib_socket_socket = yes; then
5336 cat >>confdefs.h <<_ACEOF
5337 #define HAVE_LIBSOCKET 1
5340 LIBS="-lsocket $LIBS"
5345 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5346 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
5347 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5350 ac_check_lib_save_LIBS=$LIBS
5352 cat >conftest.$ac_ext <<_ACEOF
5355 cat confdefs.h >>conftest.$ac_ext
5356 cat >>conftest.$ac_ext <<_ACEOF
5357 /* end confdefs.h. */
5359 /* Override any GCC internal prototype to avoid an error.
5360 Use char because int might match the return type of a GCC
5361 builtin and then its argument prototype would still apply. */
5365 char gethostbyname ();
5369 return gethostbyname ();
5374 rm -f conftest.$ac_objext conftest$ac_exeext
5375 if { (ac_try="$ac_link"
5377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5378 *) ac_try_echo
=$ac_try;;
5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5381 (eval "$ac_link") 2>conftest.er1
5383 grep -v '^ *+' conftest.er1
>conftest.err
5385 cat conftest.err
>&5
5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 (exit $ac_status); } && {
5388 test -z "$ac_c_werror_flag" ||
5389 test ! -s conftest.err
5390 } && test -s conftest
$ac_exeext &&
5391 $as_test_x conftest
$ac_exeext; then
5392 ac_cv_lib_nsl_gethostbyname
=yes
5394 echo "$as_me: failed program was:" >&5
5395 sed 's/^/| /' conftest.
$ac_ext >&5
5397 ac_cv_lib_nsl_gethostbyname
=no
5400 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5401 conftest
$ac_exeext conftest.
$ac_ext
5402 LIBS
=$ac_check_lib_save_LIBS
5404 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5405 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
5406 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5407 cat >>confdefs.h
<<_ACEOF
5408 #define HAVE_LIBNSL 1
5416 { echo "$as_me:$LINENO: checking for main in -lm" >&5
5417 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
5418 if test "${ac_cv_lib_m_main+set}" = set; then
5419 echo $ECHO_N "(cached) $ECHO_C" >&6
5421 ac_check_lib_save_LIBS
=$LIBS
5423 cat >conftest.
$ac_ext <<_ACEOF
5426 cat confdefs.h
>>conftest.
$ac_ext
5427 cat >>conftest.
$ac_ext <<_ACEOF
5428 /* end confdefs.h. */
5439 rm -f conftest.
$ac_objext conftest
$ac_exeext
5440 if { (ac_try
="$ac_link"
5442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5443 *) ac_try_echo=$ac_try;;
5445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5446 (eval "$ac_link") 2>conftest.er1
5448 grep -v '^ *+' conftest.er1 >conftest.err
5450 cat conftest.err >&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); } && {
5453 test -z "$ac_c_werror_flag" ||
5454 test ! -s conftest.err
5455 } && test -s conftest$ac_exeext &&
5456 $as_test_x conftest$ac_exeext; then
5457 ac_cv_lib_m_main=yes
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5466 conftest$ac_exeext conftest.$ac_ext
5467 LIBS=$ac_check_lib_save_LIBS
5469 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
5470 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
5471 if test $ac_cv_lib_m_main = yes; then
5472 cat >>confdefs.h <<_ACEOF
5481 { echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
5482 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6; }
5483 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
5484 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 ac_check_lib_save_LIBS=$LIBS
5487 LIBS="-lGeoIP $LIBS"
5488 cat >conftest.$ac_ext <<_ACEOF
5491 cat confdefs.h >>conftest.$ac_ext
5492 cat >>conftest.$ac_ext <<_ACEOF
5493 /* end confdefs.h. */
5495 /* Override any GCC internal prototype to avoid an error.
5496 Use char because int might match the return type of a GCC
5497 builtin and then its argument prototype would still apply. */
5505 return GeoIP_open ();
5510 rm -f conftest.$ac_objext conftest$ac_exeext
5511 if { (ac_try="$ac_link"
5513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5514 *) ac_try_echo
=$ac_try;;
5516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5517 (eval "$ac_link") 2>conftest.er1
5519 grep -v '^ *+' conftest.er1
>conftest.err
5521 cat conftest.err
>&5
5522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523 (exit $ac_status); } && {
5524 test -z "$ac_c_werror_flag" ||
5525 test ! -s conftest.err
5526 } && test -s conftest
$ac_exeext &&
5527 $as_test_x conftest
$ac_exeext; then
5528 ac_cv_lib_GeoIP_GeoIP_open
=yes
5530 echo "$as_me: failed program was:" >&5
5531 sed 's/^/| /' conftest.
$ac_ext >&5
5533 ac_cv_lib_GeoIP_GeoIP_open
=no
5536 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5537 conftest
$ac_exeext conftest.
$ac_ext
5538 LIBS
=$ac_check_lib_save_LIBS
5540 { echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
5541 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
5542 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
5543 cat >>confdefs.h
<<_ACEOF
5544 #define HAVE_LIBGEOIP 1
5547 LIBS
="-lGeoIP $LIBS"
5552 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5553 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5554 if test "${ac_cv_header_stdc+set}" = set; then
5555 echo $ECHO_N "(cached) $ECHO_C" >&6
5557 cat >conftest.
$ac_ext <<_ACEOF
5560 cat confdefs.h
>>conftest.
$ac_ext
5561 cat >>conftest.
$ac_ext <<_ACEOF
5562 /* end confdefs.h. */
5576 rm -f conftest.
$ac_objext
5577 if { (ac_try
="$ac_compile"
5579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5580 *) ac_try_echo=$ac_try;;
5582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5583 (eval "$ac_compile") 2>conftest.er1
5585 grep -v '^ *+' conftest.er1 >conftest.err
5587 cat conftest.err >&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } && {
5590 test -z "$ac_c_werror_flag" ||
5591 test ! -s conftest.err
5592 } && test -s conftest.$ac_objext; then
5593 ac_cv_header_stdc=yes
5595 echo "$as_me: failed program was:" >&5
5596 sed 's/^/| /' conftest.$ac_ext >&5
5598 ac_cv_header_stdc=no
5601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5603 if test $ac_cv_header_stdc = yes; then
5604 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5605 cat >conftest.$ac_ext <<_ACEOF
5608 cat confdefs.h >>conftest.$ac_ext
5609 cat >>conftest.$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5615 $EGREP "memchr" >/dev/null 2>&1; then
5618 ac_cv_header_stdc=no
5624 if test $ac_cv_header_stdc = yes; then
5625 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5626 cat >conftest.$ac_ext <<_ACEOF
5629 cat confdefs.h >>conftest.$ac_ext
5630 cat >>conftest.$ac_ext <<_ACEOF
5631 /* end confdefs.h. */
5635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5636 $EGREP "free" >/dev/null 2>&1; then
5639 ac_cv_header_stdc=no
5645 if test $ac_cv_header_stdc = yes; then
5646 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5647 if test "$cross_compiling" = yes; then
5650 cat >conftest.$ac_ext <<_ACEOF
5653 cat confdefs.h >>conftest.$ac_ext
5654 cat >>conftest.$ac_ext <<_ACEOF
5655 /* end confdefs.h. */
5658 #if ((' ' & 0x0FF) == 0x020)
5659 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5660 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5662 # define ISLOWER(c) \
5663 (('a' <= (c) && (c) <= 'i') \
5664 || ('j' <= (c) && (c) <= 'r') \
5665 || ('s' <= (c) && (c) <= 'z'))
5666 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5669 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5674 for (i = 0; i < 256; i++)
5675 if (XOR (islower (i), ISLOWER (i))
5676 || toupper (i) != TOUPPER (i))
5681 rm -f conftest$ac_exeext
5682 if { (ac_try="$ac_link"
5684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5685 *) ac_try_echo
=$ac_try;;
5687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5688 (eval "$ac_link") 2>&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5692 { (case "(($ac_try" in
5693 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5694 *) ac_try_echo=$ac_try;;
5696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5697 (eval "$ac_try") 2>&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); }; }; then
5703 echo "$as_me: program exited with status $ac_status" >&5
5704 echo "$as_me: failed program was:" >&5
5705 sed 's/^/| /' conftest.$ac_ext >&5
5708 ac_cv_header_stdc=no
5710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5716 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5717 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5718 if test $ac_cv_header_stdc = yes; then
5720 cat >>confdefs.h <<\_ACEOF
5721 #define STDC_HEADERS 1
5727 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5728 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5729 if test "${ac_cv_header_time+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5732 cat >conftest.$ac_ext <<_ACEOF
5735 cat confdefs.h >>conftest.$ac_ext
5736 cat >>conftest.$ac_ext <<_ACEOF
5737 /* end confdefs.h. */
5738 #include <sys/types.h>
5739 #include <sys/time.h>
5745 if ((struct tm *) 0)
5751 rm -f conftest.$ac_objext
5752 if { (ac_try="$ac_compile"
5754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5755 *) ac_try_echo
=$ac_try;;
5757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5758 (eval "$ac_compile") 2>conftest.er1
5760 grep -v '^ *+' conftest.er1
>conftest.err
5762 cat conftest.err
>&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } && {
5765 test -z "$ac_c_werror_flag" ||
5766 test ! -s conftest.err
5767 } && test -s conftest.
$ac_objext; then
5768 ac_cv_header_time
=yes
5770 echo "$as_me: failed program was:" >&5
5771 sed 's/^/| /' conftest.
$ac_ext >&5
5773 ac_cv_header_time
=no
5776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5778 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5779 echo "${ECHO_T}$ac_cv_header_time" >&6; }
5780 if test $ac_cv_header_time = yes; then
5782 cat >>confdefs.h
<<\_ACEOF
5783 #define TIME_WITH_SYS_TIME 1
5788 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5789 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5790 if test "${ac_cv_struct_tm+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5793 cat >conftest.
$ac_ext <<_ACEOF
5796 cat confdefs.h
>>conftest.
$ac_ext
5797 cat >>conftest.
$ac_ext <<_ACEOF
5798 /* end confdefs.h. */
5799 #include <sys/types.h>
5806 int *p = &tm.tm_sec;
5812 rm -f conftest.
$ac_objext
5813 if { (ac_try
="$ac_compile"
5815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5816 *) ac_try_echo=$ac_try;;
5818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5819 (eval "$ac_compile") 2>conftest.er1
5821 grep -v '^ *+' conftest.er1 >conftest.err
5823 cat conftest.err >&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); } && {
5826 test -z "$ac_c_werror_flag" ||
5827 test ! -s conftest.err
5828 } && test -s conftest.$ac_objext; then
5829 ac_cv_struct_tm=time.h
5831 echo "$as_me: failed program was:" >&5
5832 sed 's/^/| /' conftest.$ac_ext >&5
5834 ac_cv_struct_tm=sys/time.h
5837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5839 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5840 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5841 if test $ac_cv_struct_tm = sys/time.h; then
5843 cat >>confdefs.h <<\_ACEOF
5844 #define TM_IN_SYS_TIME 1
5850 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5860 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5861 inttypes.h stdint.h unistd.h
5863 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5864 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5866 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
5869 cat >conftest.$ac_ext <<_ACEOF
5872 cat confdefs.h >>conftest.$ac_ext
5873 cat >>conftest.$ac_ext <<_ACEOF
5874 /* end confdefs.h. */
5875 $ac_includes_default
5877 #include <$ac_header>
5879 rm -f conftest.$ac_objext
5880 if { (ac_try="$ac_compile"
5882 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5883 *) ac_try_echo
=$ac_try;;
5885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5886 (eval "$ac_compile") 2>conftest.er1
5888 grep -v '^ *+' conftest.er1
>conftest.err
5890 cat conftest.err
>&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } && {
5893 test -z "$ac_c_werror_flag" ||
5894 test ! -s conftest.err
5895 } && test -s conftest.
$ac_objext; then
5896 eval "$as_ac_Header=yes"
5898 echo "$as_me: failed program was:" >&5
5899 sed 's/^/| /' conftest.
$ac_ext >&5
5901 eval "$as_ac_Header=no"
5904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5906 ac_res
=`eval echo '${'$as_ac_Header'}'`
5907 { echo "$as_me:$LINENO: result: $ac_res" >&5
5908 echo "${ECHO_T}$ac_res" >&6; }
5909 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5910 cat >>confdefs.h
<<_ACEOF
5911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5945 for ac_header
in GeoIP.h GeoIPCity.h arpa
/inet.h fcntl.h math.h tgmath.h malloc.h netdb.h netinet
/in.h sys
/resource.h sys
/timeb.h sys
/times.h sys
/param.h sys
/socket.h sys
/time.h sys
/types.h sys
/wait.h unistd.h getopt.h memory.h arpa
/inet.h sys
/mman.h sys
/stat.h dirent.h sys
/epoll.h sys
/event.h
5947 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5948 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5949 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5951 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5952 echo $ECHO_N "(cached) $ECHO_C" >&6
5954 ac_res
=`eval echo '${'$as_ac_Header'}'`
5955 { echo "$as_me:$LINENO: result: $ac_res" >&5
5956 echo "${ECHO_T}$ac_res" >&6; }
5958 # Is the header compilable?
5959 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5961 cat >conftest.
$ac_ext <<_ACEOF
5964 cat confdefs.h
>>conftest.
$ac_ext
5965 cat >>conftest.
$ac_ext <<_ACEOF
5966 /* end confdefs.h. */
5967 $ac_includes_default
5968 #include <$ac_header>
5970 rm -f conftest.
$ac_objext
5971 if { (ac_try
="$ac_compile"
5973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5974 *) ac_try_echo=$ac_try;;
5976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5977 (eval "$ac_compile") 2>conftest.er1
5979 grep -v '^ *+' conftest.er1 >conftest.err
5981 cat conftest.err >&5
5982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983 (exit $ac_status); } && {
5984 test -z "$ac_c_werror_flag" ||
5985 test ! -s conftest.err
5986 } && test -s conftest.$ac_objext; then
5987 ac_header_compiler=yes
5989 echo "$as_me: failed program was:" >&5
5990 sed 's/^/| /' conftest.$ac_ext >&5
5992 ac_header_compiler=no
5995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5996 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5997 echo "${ECHO_T}$ac_header_compiler" >&6; }
5999 # Is the header present?
6000 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6002 cat >conftest.$ac_ext <<_ACEOF
6005 cat confdefs.h >>conftest.$ac_ext
6006 cat >>conftest.$ac_ext <<_ACEOF
6007 /* end confdefs.h. */
6008 #include <$ac_header>
6010 if { (ac_try="$ac_cpp conftest.$ac_ext"
6012 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6013 *) ac_try_echo
=$ac_try;;
6015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6016 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6018 grep -v '^ *+' conftest.er1
>conftest.err
6020 cat conftest.err
>&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); } >/dev
/null
&& {
6023 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6024 test ! -s conftest.err
6026 ac_header_preproc
=yes
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.
$ac_ext >&5
6031 ac_header_preproc
=no
6034 rm -f conftest.err conftest.
$ac_ext
6035 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6036 echo "${ECHO_T}$ac_header_preproc" >&6; }
6038 # So? What about this header?
6039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6041 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6042 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6044 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6045 ac_header_preproc
=yes
6048 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6049 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6050 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6051 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6052 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6053 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6054 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6055 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6058 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6059 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6061 ## -------------------------------------------------- ##
6062 ## Report this to evilnet-devel@lists.sourceforge.net ##
6063 ## -------------------------------------------------- ##
6065 ) | sed "s/^/$as_me: WARNING: /" >&2
6068 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6070 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 eval "$as_ac_Header=\$ac_header_preproc"
6075 ac_res
=`eval echo '${'$as_ac_Header'}'`
6076 { echo "$as_me:$LINENO: result: $ac_res" >&5
6077 echo "${ECHO_T}$ac_res" >&6; }
6080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6081 cat >>confdefs.h
<<_ACEOF
6082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6090 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
6091 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
6092 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 cat >conftest.
$ac_ext <<_ACEOF
6098 cat confdefs.h
>>conftest.
$ac_ext
6099 cat >>conftest.
$ac_ext <<_ACEOF
6100 /* end confdefs.h. */
6101 #include <sys/types.h>
6102 #include <sys/socket.h>
6107 static struct sockaddr ac_aggr;
6114 rm -f conftest.
$ac_objext
6115 if { (ac_try
="$ac_compile"
6117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6118 *) ac_try_echo=$ac_try;;
6120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6121 (eval "$ac_compile") 2>conftest.er1
6123 grep -v '^ *+' conftest.er1 >conftest.err
6125 cat conftest.err >&5
6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); } && {
6128 test -z "$ac_c_werror_flag" ||
6129 test ! -s conftest.err
6130 } && test -s conftest.$ac_objext; then
6131 ac_cv_member_struct_sockaddr_sa_len=yes
6133 echo "$as_me: failed program was:" >&5
6134 sed 's/^/| /' conftest.$ac_ext >&5
6136 cat >conftest.$ac_ext <<_ACEOF
6139 cat confdefs.h >>conftest.$ac_ext
6140 cat >>conftest.$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6142 #include <sys/types.h>
6143 #include <sys/socket.h>
6148 static struct sockaddr ac_aggr;
6149 if (sizeof ac_aggr.sa_len)
6155 rm -f conftest.$ac_objext
6156 if { (ac_try="$ac_compile"
6158 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6159 *) ac_try_echo
=$ac_try;;
6161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6162 (eval "$ac_compile") 2>conftest.er1
6164 grep -v '^ *+' conftest.er1
>conftest.err
6166 cat conftest.err
>&5
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); } && {
6169 test -z "$ac_c_werror_flag" ||
6170 test ! -s conftest.err
6171 } && test -s conftest.
$ac_objext; then
6172 ac_cv_member_struct_sockaddr_sa_len
=yes
6174 echo "$as_me: failed program was:" >&5
6175 sed 's/^/| /' conftest.
$ac_ext >&5
6177 ac_cv_member_struct_sockaddr_sa_len
=no
6180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6185 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
6186 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
6187 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
6189 cat >>confdefs.h
<<\_ACEOF
6190 #define HAVE_SOCKADDR_SA_LEN
6195 { echo "$as_me:$LINENO: checking for struct addrinfo.ai_flags" >&5
6196 echo $ECHO_N "checking for struct addrinfo.ai_flags... $ECHO_C" >&6; }
6197 if test "${ac_cv_member_struct_addrinfo_ai_flags+set}" = set; then
6198 echo $ECHO_N "(cached) $ECHO_C" >&6
6200 cat >conftest.
$ac_ext <<_ACEOF
6203 cat confdefs.h
>>conftest.
$ac_ext
6204 cat >>conftest.
$ac_ext <<_ACEOF
6205 /* end confdefs.h. */
6206 #include <sys/types.h>
6207 #include <sys/socket.h>
6213 static struct addrinfo ac_aggr;
6214 if (ac_aggr.ai_flags)
6220 rm -f conftest.
$ac_objext
6221 if { (ac_try
="$ac_compile"
6223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6224 *) ac_try_echo=$ac_try;;
6226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6227 (eval "$ac_compile") 2>conftest.er1
6229 grep -v '^ *+' conftest.er1 >conftest.err
6231 cat conftest.err >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); } && {
6234 test -z "$ac_c_werror_flag" ||
6235 test ! -s conftest.err
6236 } && test -s conftest.$ac_objext; then
6237 ac_cv_member_struct_addrinfo_ai_flags=yes
6239 echo "$as_me: failed program was:" >&5
6240 sed 's/^/| /' conftest.$ac_ext >&5
6242 cat >conftest.$ac_ext <<_ACEOF
6245 cat confdefs.h >>conftest.$ac_ext
6246 cat >>conftest.$ac_ext <<_ACEOF
6247 /* end confdefs.h. */
6248 #include <sys/types.h>
6249 #include <sys/socket.h>
6255 static struct addrinfo ac_aggr;
6256 if (sizeof ac_aggr.ai_flags)
6262 rm -f conftest.$ac_objext
6263 if { (ac_try="$ac_compile"
6265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6266 *) ac_try_echo
=$ac_try;;
6268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6269 (eval "$ac_compile") 2>conftest.er1
6271 grep -v '^ *+' conftest.er1
>conftest.err
6273 cat conftest.err
>&5
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); } && {
6276 test -z "$ac_c_werror_flag" ||
6277 test ! -s conftest.err
6278 } && test -s conftest.
$ac_objext; then
6279 ac_cv_member_struct_addrinfo_ai_flags
=yes
6281 echo "$as_me: failed program was:" >&5
6282 sed 's/^/| /' conftest.
$ac_ext >&5
6284 ac_cv_member_struct_addrinfo_ai_flags
=no
6287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6292 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_addrinfo_ai_flags" >&5
6293 echo "${ECHO_T}$ac_cv_member_struct_addrinfo_ai_flags" >&6; }
6294 if test $ac_cv_member_struct_addrinfo_ai_flags = yes; then
6296 cat >>confdefs.h
<<\_ACEOF
6297 #define HAVE_STRUCT_ADDRINFO
6330 for ac_func
in freeaddrinfo getaddrinfo gai_strerror getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long regcomp regexec regfree sysconf inet_aton epoll_create kqueue kevent
select gettimeofday
times GetProcessTimes mprotect
6332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6333 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6335 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6336 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 cat >conftest.
$ac_ext <<_ACEOF
6341 cat confdefs.h
>>conftest.
$ac_ext
6342 cat >>conftest.
$ac_ext <<_ACEOF
6343 /* end confdefs.h. */
6344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6346 #define $ac_func innocuous_$ac_func
6348 /* System header to define __stub macros and hopefully few prototypes,
6349 which can conflict with char $ac_func (); below.
6350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6351 <limits.h> exists even on freestanding compilers. */
6354 # include <limits.h>
6356 # include <assert.h>
6361 /* Override any GCC internal prototype to avoid an error.
6362 Use char because int might match the return type of a GCC
6363 builtin and then its argument prototype would still apply. */
6368 /* The GNU C library defines this for functions which it implements
6369 to always fail with ENOSYS. Some functions are actually named
6370 something starting with __ and the normal name is an alias. */
6371 #if defined __stub_$ac_func || defined __stub___$ac_func
6383 rm -f conftest.
$ac_objext conftest
$ac_exeext
6384 if { (ac_try
="$ac_link"
6386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6387 *) ac_try_echo=$ac_try;;
6389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6390 (eval "$ac_link") 2>conftest.er1
6392 grep -v '^ *+' conftest.er1 >conftest.err
6394 cat conftest.err >&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); } && {
6397 test -z "$ac_c_werror_flag" ||
6398 test ! -s conftest.err
6399 } && test -s conftest$ac_exeext &&
6400 $as_test_x conftest$ac_exeext; then
6401 eval "$as_ac_var=yes"
6403 echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.$ac_ext >&5
6406 eval "$as_ac_var=no"
6409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6410 conftest$ac_exeext conftest.$ac_ext
6412 ac_res=`eval echo '${'$as_ac_var'}'`
6413 { echo "$as_me:$LINENO: result: $ac_res" >&5
6414 echo "${ECHO_T}$ac_res" >&6; }
6415 if test `eval echo '${'$as_ac_var'}'` = yes; then
6416 cat >>confdefs.h <<_ACEOF
6417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6425 if test $ac_cv_func_gettimeofday = no; then
6427 for ac_func in ftime
6429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6430 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6432 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6433 echo $ECHO_N "(cached) $ECHO_C" >&6
6435 cat >conftest.$ac_ext <<_ACEOF
6438 cat confdefs.h >>conftest.$ac_ext
6439 cat >>conftest.$ac_ext <<_ACEOF
6440 /* end confdefs.h. */
6441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6443 #define $ac_func innocuous_$ac_func
6445 /* System header to define __stub macros and hopefully few prototypes,
6446 which can conflict with char $ac_func (); below.
6447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6448 <limits.h> exists even on freestanding compilers. */
6451 # include <limits.h>
6453 # include <assert.h>
6458 /* Override any GCC internal prototype to avoid an error.
6459 Use char because int might match the return type of a GCC
6460 builtin and then its argument prototype would still apply. */
6465 /* The GNU C library defines this for functions which it implements
6466 to always fail with ENOSYS. Some functions are actually named
6467 something starting with __ and the normal name is an alias. */
6468 #if defined __stub_$ac_func || defined __stub___$ac_func
6480 rm -f conftest.$ac_objext conftest$ac_exeext
6481 if { (ac_try="$ac_link"
6483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6484 *) ac_try_echo
=$ac_try;;
6486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6487 (eval "$ac_link") 2>conftest.er1
6489 grep -v '^ *+' conftest.er1
>conftest.err
6491 cat conftest.err
>&5
6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); } && {
6494 test -z "$ac_c_werror_flag" ||
6495 test ! -s conftest.err
6496 } && test -s conftest
$ac_exeext &&
6497 $as_test_x conftest
$ac_exeext; then
6498 eval "$as_ac_var=yes"
6500 echo "$as_me: failed program was:" >&5
6501 sed 's/^/| /' conftest.
$ac_ext >&5
6503 eval "$as_ac_var=no"
6506 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6507 conftest
$ac_exeext conftest.
$ac_ext
6509 ac_res
=`eval echo '${'$as_ac_var'}'`
6510 { echo "$as_me:$LINENO: result: $ac_res" >&5
6511 echo "${ECHO_T}$ac_res" >&6; }
6512 if test `eval echo '${'$as_ac_var'}'` = yes; then
6513 cat >>confdefs.h
<<_ACEOF
6514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6518 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. X3 build will fail." >&5
6519 echo "$as_me: error: ftime or gettimeofday required. X3 build will fail." >&2;}
6520 { (exit 1); exit 1; }; }
6531 for ac_func
in socket strcspn strspn strtod strtoul
6533 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6534 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6536 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 cat >conftest.
$ac_ext <<_ACEOF
6542 cat confdefs.h
>>conftest.
$ac_ext
6543 cat >>conftest.
$ac_ext <<_ACEOF
6544 /* end confdefs.h. */
6545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6547 #define $ac_func innocuous_$ac_func
6549 /* System header to define __stub macros and hopefully few prototypes,
6550 which can conflict with char $ac_func (); below.
6551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6552 <limits.h> exists even on freestanding compilers. */
6555 # include <limits.h>
6557 # include <assert.h>
6562 /* Override any GCC internal prototype to avoid an error.
6563 Use char because int might match the return type of a GCC
6564 builtin and then its argument prototype would still apply. */
6569 /* The GNU C library defines this for functions which it implements
6570 to always fail with ENOSYS. Some functions are actually named
6571 something starting with __ and the normal name is an alias. */
6572 #if defined __stub_$ac_func || defined __stub___$ac_func
6584 rm -f conftest.
$ac_objext conftest
$ac_exeext
6585 if { (ac_try
="$ac_link"
6587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6588 *) ac_try_echo=$ac_try;;
6590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6591 (eval "$ac_link") 2>conftest.er1
6593 grep -v '^ *+' conftest.er1 >conftest.err
6595 cat conftest.err >&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); } && {
6598 test -z "$ac_c_werror_flag" ||
6599 test ! -s conftest.err
6600 } && test -s conftest$ac_exeext &&
6601 $as_test_x conftest$ac_exeext; then
6602 eval "$as_ac_var=yes"
6604 echo "$as_me: failed program was:" >&5
6605 sed 's/^/| /' conftest.$ac_ext >&5
6607 eval "$as_ac_var=no"
6610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6611 conftest$ac_exeext conftest.$ac_ext
6613 ac_res=`eval echo '${'$as_ac_var'}'`
6614 { echo "$as_me:$LINENO: result: $ac_res" >&5
6615 echo "${ECHO_T}$ac_res" >&6; }
6616 if test `eval echo '${'$as_ac_var'}'` = yes; then
6617 cat >>confdefs.h <<_ACEOF
6618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6622 { { echo "$as_me:$LINENO: error: a required function was not found. X3 build will fail." >&5
6623 echo "$as_me: error: a required function was not found. X3 build will fail." >&2;}
6624 { (exit 1); exit 1; }; }
6629 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6630 # for constant arguments. Useless!
6631 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
6632 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6633 if test "${ac_cv_working_alloca_h+set}" = set; then
6634 echo $ECHO_N "(cached) $ECHO_C" >&6
6636 cat >conftest.$ac_ext <<_ACEOF
6639 cat confdefs.h >>conftest.$ac_ext
6640 cat >>conftest.$ac_ext <<_ACEOF
6641 /* end confdefs.h. */
6646 char *p = (char *) alloca (2 * sizeof (int));
6652 rm -f conftest.$ac_objext conftest$ac_exeext
6653 if { (ac_try="$ac_link"
6655 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6656 *) ac_try_echo
=$ac_try;;
6658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6659 (eval "$ac_link") 2>conftest.er1
6661 grep -v '^ *+' conftest.er1
>conftest.err
6663 cat conftest.err
>&5
6664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 (exit $ac_status); } && {
6666 test -z "$ac_c_werror_flag" ||
6667 test ! -s conftest.err
6668 } && test -s conftest
$ac_exeext &&
6669 $as_test_x conftest
$ac_exeext; then
6670 ac_cv_working_alloca_h
=yes
6672 echo "$as_me: failed program was:" >&5
6673 sed 's/^/| /' conftest.
$ac_ext >&5
6675 ac_cv_working_alloca_h
=no
6678 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6679 conftest
$ac_exeext conftest.
$ac_ext
6681 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6682 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6683 if test $ac_cv_working_alloca_h = yes; then
6685 cat >>confdefs.h
<<\_ACEOF
6686 #define HAVE_ALLOCA_H 1
6691 { echo "$as_me:$LINENO: checking for alloca" >&5
6692 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6693 if test "${ac_cv_func_alloca_works+set}" = set; then
6694 echo $ECHO_N "(cached) $ECHO_C" >&6
6696 cat >conftest.
$ac_ext <<_ACEOF
6699 cat confdefs.h
>>conftest.
$ac_ext
6700 cat >>conftest.
$ac_ext <<_ACEOF
6701 /* end confdefs.h. */
6703 # define alloca __builtin_alloca
6706 # include <malloc.h>
6707 # define alloca _alloca
6709 # ifdef HAVE_ALLOCA_H
6710 # include <alloca.h>
6715 # ifndef alloca /* predefined by HP cc +Olibcalls */
6726 char *p = (char *) alloca (1);
6732 rm -f conftest.
$ac_objext conftest
$ac_exeext
6733 if { (ac_try
="$ac_link"
6735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6736 *) ac_try_echo=$ac_try;;
6738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6739 (eval "$ac_link") 2>conftest.er1
6741 grep -v '^ *+' conftest.er1 >conftest.err
6743 cat conftest.err >&5
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); } && {
6746 test -z "$ac_c_werror_flag" ||
6747 test ! -s conftest.err
6748 } && test -s conftest$ac_exeext &&
6749 $as_test_x conftest$ac_exeext; then
6750 ac_cv_func_alloca_works=yes
6752 echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.$ac_ext >&5
6755 ac_cv_func_alloca_works=no
6758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6759 conftest$ac_exeext conftest.$ac_ext
6761 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6762 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
6764 if test $ac_cv_func_alloca_works = yes; then
6766 cat >>confdefs.h <<\_ACEOF
6767 #define HAVE_ALLOCA 1
6771 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6772 # that cause trouble. Some versions do not even contain alloca or
6773 # contain a buggy version. If you still want to use their alloca,
6774 # use ar to extract alloca.o from them instead of compiling alloca.c.
6776 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6778 cat >>confdefs.h <<\_ACEOF
6783 { echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
6784 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks...
$ECHO_C" >&6; }
6785 if test "${ac_cv_os_cray+set}" = set; then
6786 echo $ECHO_N "(cached
) $ECHO_C" >&6
6788 cat >conftest.$ac_ext <<_ACEOF
6791 cat confdefs.h >>conftest.$ac_ext
6792 cat >>conftest.$ac_ext <<_ACEOF
6793 /* end confdefs.h. */
6794 #if defined CRAY && ! defined CRAY2
6801 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6802 $EGREP "webecray
" >/dev/null 2>&1; then
6810 { echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
6811 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6812 if test $ac_cv_os_cray = yes; then
6813 for ac_func in _getb67 GETB67 getb67; do
6814 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6815 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
6816 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
6817 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6818 echo $ECHO_N "(cached
) $ECHO_C" >&6
6820 cat >conftest.$ac_ext <<_ACEOF
6823 cat confdefs.h >>conftest.$ac_ext
6824 cat >>conftest.$ac_ext <<_ACEOF
6825 /* end confdefs.h. */
6826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6828 #define $ac_func innocuous_$ac_func
6830 /* System header to define __stub macros and hopefully few prototypes,
6831 which can conflict with char $ac_func (); below.
6832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6833 <limits.h> exists even on freestanding compilers. */
6836 # include <limits.h>
6838 # include <assert.h>
6843 /* Override any GCC internal prototype to avoid an error.
6844 Use char because int might match the return type of a GCC
6845 builtin and then its argument prototype would still apply. */
6850 /* The GNU C library defines this for functions which it implements
6851 to always fail with ENOSYS. Some functions are actually named
6852 something starting with __ and the normal name is an alias. */
6853 #if defined __stub_$ac_func || defined __stub___$ac_func
6865 rm -f conftest.$ac_objext conftest$ac_exeext
6866 if { (ac_try="$ac_link"
6868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6869 *) ac_try_echo=$ac_try;;
6871 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6872 (eval "$ac_link") 2>conftest.er1
6874 grep -v '^ *+' conftest.er1 >conftest.err
6876 cat conftest.err >&5
6877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6878 (exit $ac_status); } && {
6879 test -z "$ac_c_werror_flag" ||
6880 test ! -s conftest.err
6881 } && test -s conftest$ac_exeext &&
6882 $as_test_x conftest$ac_exeext; then
6883 eval "$as_ac_var=yes"
6885 echo "$as_me: failed program was
:" >&5
6886 sed 's/^/| /' conftest.$ac_ext >&5
6888 eval "$as_ac_var=no
"
6891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6892 conftest$ac_exeext conftest.$ac_ext
6894 ac_res=`eval echo '${'$as_ac_var'}'`
6895 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6896 echo "${ECHO_T}$ac_res" >&6; }
6897 if test `eval echo '${'$as_ac_var'}'` = yes; then
6899 cat >>confdefs.h <<_ACEOF
6900 #define CRAY_STACKSEG_END $ac_func
6909 { echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
6910 echo $ECHO_N "checking stack direction
for C alloca...
$ECHO_C" >&6; }
6911 if test "${ac_cv_c_stack_direction+set}" = set; then
6912 echo $ECHO_N "(cached
) $ECHO_C" >&6
6914 if test "$cross_compiling" = yes; then
6915 ac_cv_c_stack_direction=0
6917 cat >conftest.$ac_ext <<_ACEOF
6920 cat confdefs.h >>conftest.$ac_ext
6921 cat >>conftest.$ac_ext <<_ACEOF
6922 /* end confdefs.h. */
6923 $ac_includes_default
6925 find_stack_direction ()
6927 static char *addr = 0;
6932 return find_stack_direction ();
6935 return (&dummy > addr) ? 1 : -1;
6941 return find_stack_direction () < 0;
6944 rm -f conftest$ac_exeext
6945 if { (ac_try="$ac_link"
6947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6948 *) ac_try_echo=$ac_try;;
6950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6951 (eval "$ac_link") 2>&5
6953 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6954 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6955 { (case "(($ac_try" in
6956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6957 *) ac_try_echo=$ac_try;;
6959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6960 (eval "$ac_try") 2>&5
6962 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6963 (exit $ac_status); }; }; then
6964 ac_cv_c_stack_direction=1
6966 echo "$as_me: program exited with status
$ac_status" >&5
6967 echo "$as_me: failed program was
:" >&5
6968 sed 's/^/| /' conftest.$ac_ext >&5
6971 ac_cv_c_stack_direction=-1
6973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6978 { echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
6979 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
6981 cat >>confdefs.h <<_ACEOF
6982 #define STACK_DIRECTION $ac_cv_c_stack_direction
6990 for ac_header in stdlib.h unistd.h
6992 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6993 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6994 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6995 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6996 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6997 echo $ECHO_N "(cached
) $ECHO_C" >&6
6999 ac_res=`eval echo '${'$as_ac_Header'}'`
7000 { echo "$as_me:$LINENO: result
: $ac_res" >&5
7001 echo "${ECHO_T}$ac_res" >&6; }
7003 # Is the header compilable?
7004 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7005 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
7006 cat >conftest.$ac_ext <<_ACEOF
7009 cat confdefs.h >>conftest.$ac_ext
7010 cat >>conftest.$ac_ext <<_ACEOF
7011 /* end confdefs.h. */
7012 $ac_includes_default
7013 #include <$ac_header>
7015 rm -f conftest.$ac_objext
7016 if { (ac_try="$ac_compile"
7018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7019 *) ac_try_echo=$ac_try;;
7021 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7022 (eval "$ac_compile") 2>conftest.er1
7024 grep -v '^ *+' conftest.er1 >conftest.err
7026 cat conftest.err >&5
7027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7028 (exit $ac_status); } && {
7029 test -z "$ac_c_werror_flag" ||
7030 test ! -s conftest.err
7031 } && test -s conftest.$ac_objext; then
7032 ac_header_compiler=yes
7034 echo "$as_me: failed program was
:" >&5
7035 sed 's/^/| /' conftest.$ac_ext >&5
7037 ac_header_compiler=no
7040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7041 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7042 echo "${ECHO_T}$ac_header_compiler" >&6; }
7044 # Is the header present?
7045 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7046 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
7047 cat >conftest.$ac_ext <<_ACEOF
7050 cat confdefs.h >>conftest.$ac_ext
7051 cat >>conftest.$ac_ext <<_ACEOF
7052 /* end confdefs.h. */
7053 #include <$ac_header>
7055 if { (ac_try="$ac_cpp conftest.
$ac_ext"
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_cpp conftest.
$ac_ext") 2>conftest.er1
7063 grep -v '^ *+' conftest.er1 >conftest.err
7065 cat conftest.err >&5
7066 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7067 (exit $ac_status); } >/dev/null && {
7068 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7069 test ! -s conftest.err
7071 ac_header_preproc=yes
7073 echo "$as_me: failed program was
:" >&5
7074 sed 's/^/| /' conftest.$ac_ext >&5
7076 ac_header_preproc=no
7079 rm -f conftest.err conftest.$ac_ext
7080 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7081 echo "${ECHO_T}$ac_header_preproc" >&6; }
7083 # So? What about this header?
7084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7086 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7087 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7088 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7089 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7090 ac_header_preproc=yes
7093 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7094 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7095 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7096 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7097 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7098 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7099 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7100 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7101 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7103 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7104 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7106 ## -------------------------------------------------- ##
7107 ## Report this to evilnet-devel@lists.sourceforge.net ##
7108 ## -------------------------------------------------- ##
7110 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
7113 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
7114 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
7115 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7116 echo $ECHO_N "(cached
) $ECHO_C" >&6
7118 eval "$as_ac_Header=\
$ac_header_preproc"
7120 ac_res=`eval echo '${'$as_ac_Header'}'`
7121 { echo "$as_me:$LINENO: result
: $ac_res" >&5
7122 echo "${ECHO_T}$ac_res" >&6; }
7125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7126 cat >>confdefs.h <<_ACEOF
7127 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7135 for ac_func in getpagesize
7137 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7138 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
7139 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
7140 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7141 echo $ECHO_N "(cached
) $ECHO_C" >&6
7143 cat >conftest.$ac_ext <<_ACEOF
7146 cat confdefs.h >>conftest.$ac_ext
7147 cat >>conftest.$ac_ext <<_ACEOF
7148 /* end confdefs.h. */
7149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7151 #define $ac_func innocuous_$ac_func
7153 /* System header to define __stub macros and hopefully few prototypes,
7154 which can conflict with char $ac_func (); below.
7155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7156 <limits.h> exists even on freestanding compilers. */
7159 # include <limits.h>
7161 # include <assert.h>
7166 /* Override any GCC internal prototype to avoid an error.
7167 Use char because int might match the return type of a GCC
7168 builtin and then its argument prototype would still apply. */
7173 /* The GNU C library defines this for functions which it implements
7174 to always fail with ENOSYS. Some functions are actually named
7175 something starting with __ and the normal name is an alias. */
7176 #if defined __stub_$ac_func || defined __stub___$ac_func
7188 rm -f conftest.$ac_objext conftest$ac_exeext
7189 if { (ac_try="$ac_link"
7191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7192 *) ac_try_echo=$ac_try;;
7194 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7195 (eval "$ac_link") 2>conftest.er1
7197 grep -v '^ *+' conftest.er1 >conftest.err
7199 cat conftest.err >&5
7200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7201 (exit $ac_status); } && {
7202 test -z "$ac_c_werror_flag" ||
7203 test ! -s conftest.err
7204 } && test -s conftest$ac_exeext &&
7205 $as_test_x conftest$ac_exeext; then
7206 eval "$as_ac_var=yes"
7208 echo "$as_me: failed program was
:" >&5
7209 sed 's/^/| /' conftest.$ac_ext >&5
7211 eval "$as_ac_var=no
"
7214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7215 conftest$ac_exeext conftest.$ac_ext
7217 ac_res=`eval echo '${'$as_ac_var'}'`
7218 { echo "$as_me:$LINENO: result
: $ac_res" >&5
7219 echo "${ECHO_T}$ac_res" >&6; }
7220 if test `eval echo '${'$as_ac_var'}'` = yes; then
7221 cat >>confdefs.h <<_ACEOF
7222 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7228 { echo "$as_me:$LINENO: checking
for working mmap
" >&5
7229 echo $ECHO_N "checking
for working mmap...
$ECHO_C" >&6; }
7230 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7231 echo $ECHO_N "(cached
) $ECHO_C" >&6
7233 if test "$cross_compiling" = yes; then
7234 ac_cv_func_mmap_fixed_mapped=no
7236 cat >conftest.$ac_ext <<_ACEOF
7239 cat confdefs.h >>conftest.$ac_ext
7240 cat >>conftest.$ac_ext <<_ACEOF
7241 /* end confdefs.h. */
7242 $ac_includes_default
7243 /* malloc might have been renamed as rpl_malloc. */
7246 /* Thanks to Mike Haertel and Jim Avera for this test.
7247 Here is a matrix of mmap possibilities:
7248 mmap private not fixed
7249 mmap private fixed at somewhere currently unmapped
7250 mmap private fixed at somewhere already mapped
7251 mmap shared not fixed
7252 mmap shared fixed at somewhere currently unmapped
7253 mmap shared fixed at somewhere already mapped
7254 For private mappings, we should verify that changes cannot be read()
7255 back from the file, nor mmap's back from the file at a different
7256 address. (There have been systems where private was not correctly
7257 implemented like the infamous i386 svr4.0, and systems where the
7258 VM page cache was not coherent with the file system buffer cache
7259 like early versions of FreeBSD and possibly contemporary NetBSD.)
7260 For shared mappings, we should conversely verify that changes get
7261 propagated back to all the places they're supposed to be.
7263 Grep wants private fixed already mapped.
7264 The main things grep needs to know about mmap are:
7265 * does it exist and is it safe to write into the mmap'd area
7266 * how to use it (BSD variants) */
7269 #include <sys/mman.h>
7271 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7275 /* This mess was copied from the GNU getpagesize.h. */
7276 #ifndef HAVE_GETPAGESIZE
7277 /* Assume that all systems that can run configure have sys/param.h. */
7278 # ifndef HAVE_SYS_PARAM_H
7279 # define HAVE_SYS_PARAM_H 1
7282 # ifdef _SC_PAGESIZE
7283 # define getpagesize() sysconf(_SC_PAGESIZE)
7284 # else /* no _SC_PAGESIZE */
7285 # ifdef HAVE_SYS_PARAM_H
7286 # include <sys/param.h>
7287 # ifdef EXEC_PAGESIZE
7288 # define getpagesize() EXEC_PAGESIZE
7289 # else /* no EXEC_PAGESIZE */
7291 # define getpagesize() NBPG * CLSIZE
7294 # endif /* no CLSIZE */
7295 # else /* no NBPG */
7297 # define getpagesize() NBPC
7298 # else /* no NBPC */
7300 # define getpagesize() PAGESIZE
7301 # endif /* PAGESIZE */
7302 # endif /* no NBPC */
7303 # endif /* no NBPG */
7304 # endif /* no EXEC_PAGESIZE */
7305 # else /* no HAVE_SYS_PARAM_H */
7306 # define getpagesize() 8192 /* punt totally */
7307 # endif /* no HAVE_SYS_PARAM_H */
7308 # endif /* no _SC_PAGESIZE */
7310 #endif /* no HAVE_GETPAGESIZE */
7315 char *data, *data2, *data3;
7319 pagesize = getpagesize ();
7321 /* First, make a file with some known garbage in it. */
7322 data = (char *) malloc (pagesize);
7325 for (i = 0; i < pagesize; ++i)
7326 *(data + i) = rand ();
7328 fd = creat ("conftest.mmap
", 0600);
7331 if (write (fd, data, pagesize) != pagesize)
7335 /* Next, try to mmap the file at a fixed address which already has
7336 something else allocated at it. If we can, also make sure that
7337 we see the same garbage. */
7338 fd = open ("conftest.mmap
", O_RDWR);
7341 data2 = (char *) malloc (2 * pagesize);
7344 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7345 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7346 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7348 for (i = 0; i < pagesize; ++i)
7349 if (*(data + i) != *(data2 + i))
7352 /* Finally, make sure that changes to the mapped area do not
7353 percolate back to the file as seen by read(). (This is a bug on
7354 some variants of i386 svr4.0.) */
7355 for (i = 0; i < pagesize; ++i)
7356 *(data2 + i) = *(data2 + i) + 1;
7357 data3 = (char *) malloc (pagesize);
7360 if (read (fd, data3, pagesize) != pagesize)
7362 for (i = 0; i < pagesize; ++i)
7363 if (*(data + i) != *(data3 + i))
7369 rm -f conftest$ac_exeext
7370 if { (ac_try="$ac_link"
7372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7373 *) ac_try_echo=$ac_try;;
7375 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7376 (eval "$ac_link") 2>&5
7378 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7380 { (case "(($ac_try" in
7381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7382 *) ac_try_echo=$ac_try;;
7384 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7385 (eval "$ac_try") 2>&5
7387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7388 (exit $ac_status); }; }; then
7389 ac_cv_func_mmap_fixed_mapped=yes
7391 echo "$as_me: program exited with status
$ac_status" >&5
7392 echo "$as_me: failed program was
:" >&5
7393 sed 's/^/| /' conftest.$ac_ext >&5
7396 ac_cv_func_mmap_fixed_mapped=no
7398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7403 { echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
7404 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7405 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7407 cat >>confdefs.h <<\_ACEOF
7415 { echo "$as_me:$LINENO: checking
for sin_len
" >&5
7416 echo $ECHO_N "checking
for sin_len...
$ECHO_C" >&6; }
7417 if test "${ac_cv_sin_len+set}" = set; then
7418 echo $ECHO_N "(cached
) $ECHO_C" >&6
7420 cat >conftest.$ac_ext <<_ACEOF
7423 cat confdefs.h >>conftest.$ac_ext
7424 cat >>conftest.$ac_ext <<_ACEOF
7425 /* end confdefs.h. */
7426 #include <sys/types.h>
7427 #include <netinet/in.h>
7431 struct sockaddr_in *sin; sin->sin_len = 0;
7436 rm -f conftest.$ac_objext
7437 if { (ac_try="$ac_compile"
7439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7440 *) ac_try_echo=$ac_try;;
7442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7443 (eval "$ac_compile") 2>conftest.er1
7445 grep -v '^ *+' conftest.er1 >conftest.err
7447 cat conftest.err >&5
7448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7449 (exit $ac_status); } && {
7450 test -z "$ac_c_werror_flag" ||
7451 test ! -s conftest.err
7452 } && test -s conftest.$ac_objext; then
7455 echo "$as_me: failed program was
:" >&5
7456 sed 's/^/| /' conftest.$ac_ext >&5
7461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7463 { echo "$as_me:$LINENO: result
: $ac_cv_sin_len" >&5
7464 echo "${ECHO_T}$ac_cv_sin_len" >&6; }
7465 if test $ac_cv_sin_len = yes ; then
7467 cat >>confdefs.h <<\_ACEOF
7468 #define HAVE_SIN_LEN 1
7473 { echo "$as_me:$LINENO: checking
for socklen_t
" >&5
7474 echo $ECHO_N "checking
for socklen_t...
$ECHO_C" >&6; }
7475 if test "${ac_cv_type_socklen_t+set}" = set; then
7476 echo $ECHO_N "(cached
) $ECHO_C" >&6
7478 cat >conftest.$ac_ext <<_ACEOF
7481 cat confdefs.h >>conftest.$ac_ext
7482 cat >>conftest.$ac_ext <<_ACEOF
7483 /* end confdefs.h. */
7484 #include <sys/types.h>
7485 #include<sys/socket.h>
7487 typedef socklen_t ac__type_new_;
7491 if ((ac__type_new_ *) 0)
7493 if (sizeof (ac__type_new_))
7499 rm -f conftest.$ac_objext
7500 if { (ac_try="$ac_compile"
7502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7503 *) ac_try_echo=$ac_try;;
7505 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7506 (eval "$ac_compile") 2>conftest.er1
7508 grep -v '^ *+' conftest.er1 >conftest.err
7510 cat conftest.err >&5
7511 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7512 (exit $ac_status); } && {
7513 test -z "$ac_c_werror_flag" ||
7514 test ! -s conftest.err
7515 } && test -s conftest.$ac_objext; then
7516 ac_cv_type_socklen_t=yes
7518 echo "$as_me: failed program was
:" >&5
7519 sed 's/^/| /' conftest.$ac_ext >&5
7521 ac_cv_type_socklen_t=no
7524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7526 { echo "$as_me:$LINENO: result
: $ac_cv_type_socklen_t" >&5
7527 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
7528 if test $ac_cv_type_socklen_t = yes; then
7532 { echo "$as_me:$LINENO: checking
for socklen_t equivalent
" >&5
7533 echo $ECHO_N "checking
for socklen_t equivalent...
$ECHO_C" >&6; }
7534 if test "${curl_cv_socklen_t_equiv+set}" = set; then
7535 echo $ECHO_N "(cached
) $ECHO_C" >&6
7538 curl_cv_socklen_t_equiv=
7539 for arg2 in "struct sockaddr
" void ; do
7540 for t in int size_t unsigned long "unsigned long
" ; do
7541 cat >conftest.$ac_ext <<_ACEOF
7544 cat confdefs.h >>conftest.$ac_ext
7545 cat >>conftest.$ac_ext <<_ACEOF
7546 /* end confdefs.h. */
7547 #include <sys/types.h>
7548 #include <sys/socket.h>
7549 int getpeername (int $arg2 *, $t *);
7554 getpeername(0, 0, &len);
7559 rm -f conftest.$ac_objext
7560 if { (ac_try="$ac_compile"
7562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7563 *) ac_try_echo=$ac_try;;
7565 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7566 (eval "$ac_compile") 2>conftest.er1
7568 grep -v '^ *+' conftest.er1 >conftest.err
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7572 (exit $ac_status); } && {
7573 test -z "$ac_c_werror_flag" ||
7574 test ! -s conftest.err
7575 } && test -s conftest.$ac_objext; then
7576 curl_cv_socklen_t_equiv="$t"
7579 echo "$as_me: failed program was
:" >&5
7580 sed 's/^/| /' conftest.$ac_ext >&5
7585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7591 { echo "$as_me:$LINENO: result
: $curl_cv_socklen_t_equiv" >&5
7592 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; }
7594 cat >>confdefs.h <<_ACEOF
7595 #define socklen_t $curl_cv_socklen_t_equiv
7602 CFLAGS="$CFLAGS -W -Wall -Werror"
7604 if test "z
$USE_MAINTAINER_MODE" = zyes ; then
7605 CFLAGS="$CFLAGS -ansi"
7608 { echo "$as_me:$LINENO: checking
for inline
" >&5
7609 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
7610 if test "${ac_cv_c_inline+set}" = set; then
7611 echo $ECHO_N "(cached
) $ECHO_C" >&6
7614 for ac_kw in inline __inline__ __inline; do
7615 cat >conftest.$ac_ext <<_ACEOF
7618 cat confdefs.h >>conftest.$ac_ext
7619 cat >>conftest.$ac_ext <<_ACEOF
7620 /* end confdefs.h. */
7623 static $ac_kw foo_t static_foo () {return 0; }
7624 $ac_kw foo_t foo () {return 0; }
7628 rm -f conftest.$ac_objext
7629 if { (ac_try="$ac_compile"
7631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7632 *) ac_try_echo=$ac_try;;
7634 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7635 (eval "$ac_compile") 2>conftest.er1
7637 grep -v '^ *+' conftest.er1 >conftest.err
7639 cat conftest.err >&5
7640 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7641 (exit $ac_status); } && {
7642 test -z "$ac_c_werror_flag" ||
7643 test ! -s conftest.err
7644 } && test -s conftest.$ac_objext; then
7645 ac_cv_c_inline=$ac_kw
7647 echo "$as_me: failed program was
:" >&5
7648 sed 's/^/| /' conftest.$ac_ext >&5
7653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7654 test "$ac_cv_c_inline" != no && break
7658 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
7659 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
7662 case $ac_cv_c_inline in
7665 case $ac_cv_c_inline in
7667 *) ac_val=$ac_cv_c_inline;;
7669 cat >>confdefs.h <<_ACEOF
7671 #define inline $ac_val
7678 { echo "$as_me:$LINENO: checking
for time_t format
" >&5
7679 echo $ECHO_N "checking
for time_t format...
$ECHO_C" >&6; }
7680 if test "${ac_cv_fmt_time_t+set}" = set; then
7681 echo $ECHO_N "(cached
) $ECHO_C" >&6
7685 cat >conftest.$ac_ext <<_ACEOF
7686 #include <sys/types.h>
7690 printf("%li
", test);
7693 rm -f conftest.$ac_objext
7694 if { (ac_try="$ac_compile"
7696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7697 *) ac_try_echo=$ac_try;;
7699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7700 (eval "$ac_compile") 2>conftest.er1
7702 grep -v '^ *+' conftest.er1 >conftest.err
7704 cat conftest.err >&5
7705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7706 (exit $ac_status); } && {
7707 test -z "$ac_c_werror_flag" ||
7708 test ! -s conftest.err
7709 } && test -s conftest.$ac_objext; then
7710 ac_cv_fmt_time_t="\"%li
\""
7712 echo "$as_me: failed program was
:" >&5
7713 sed 's/^/| /' conftest.$ac_ext >&5
7718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7719 if test $ac_cv_fmt_time_t = no; then
7720 cat >conftest.$ac_ext <<_ACEOF
7721 #include <sys/types.h>
7728 rm -f conftest.$ac_objext
7729 if { (ac_try="$ac_compile"
7731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7732 *) ac_try_echo=$ac_try;;
7734 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7735 (eval "$ac_compile") 2>conftest.er1
7737 grep -v '^ *+' conftest.er1 >conftest.err
7739 cat conftest.err >&5
7740 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7741 (exit $ac_status); } && {
7742 test -z "$ac_c_werror_flag" ||
7743 test ! -s conftest.err
7744 } && test -s conftest.$ac_objext; then
7745 ac_cv_fmt_time_t="\"%i
\""
7747 echo "$as_me: failed program was
:" >&5
7748 sed 's/^/| /' conftest.$ac_ext >&5
7753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7755 if test $ac_cv_fmt_time_t = no; then
7756 { { echo "$as_me:$LINENO: error
: Cannot detect format string
for time_t
7757 Please check sys
/types.h
for the typedef of time_t and submit to a developer
" >&5
7758 echo "$as_me: error
: Cannot detect format string
for time_t
7759 Please check sys
/types.h
for the typedef of time_t and submit to a developer
" >&2;}
7760 { (exit 1); exit 1; }; }
7766 cat >>confdefs.h <<_ACEOF
7767 #define FMT_TIME_T $ac_cv_fmt_time_t
7770 { echo "$as_me:$LINENO: result
: $ac_cv_fmt_time_t" >&5
7771 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6; }
7773 { echo "$as_me:$LINENO: checking
for va_copy
" >&5
7774 echo $ECHO_N "checking
for va_copy...
$ECHO_C" >&6; }
7775 if test "${ac_cv_c_va_copy+set}" = set; then
7776 echo $ECHO_N "(cached
) $ECHO_C" >&6
7778 cat >conftest.$ac_ext <<_ACEOF
7781 cat confdefs.h >>conftest.$ac_ext
7782 cat >>conftest.$ac_ext <<_ACEOF
7783 /* end confdefs.h. */
7788 va_list ap1, ap2; va_copy(ap1, ap2);
7793 rm -f conftest.$ac_objext conftest$ac_exeext
7794 if { (ac_try="$ac_link"
7796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7797 *) ac_try_echo=$ac_try;;
7799 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7800 (eval "$ac_link") 2>conftest.er1
7802 grep -v '^ *+' conftest.er1 >conftest.err
7804 cat conftest.err >&5
7805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7806 (exit $ac_status); } && {
7807 test -z "$ac_c_werror_flag" ||
7808 test ! -s conftest.err
7809 } && test -s conftest$ac_exeext &&
7810 $as_test_x conftest$ac_exeext; then
7811 ac_cv_c_va_copy="yes"
7813 echo "$as_me: failed program was
:" >&5
7814 sed 's/^/| /' conftest.$ac_ext >&5
7816 ac_cv_c_va_copy="no
"
7820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7821 conftest$ac_exeext conftest.$ac_ext
7823 { echo "$as_me:$LINENO: result
: $ac_cv_c_va_copy" >&5
7824 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
7825 if test "$ac_cv_c_va_copy" = "yes" ; then
7827 cat >>confdefs.h <<\_ACEOF
7828 #define HAVE_VA_COPY 1
7833 { echo "$as_me:$LINENO: checking
for __va_copy
" >&5
7834 echo $ECHO_N "checking
for __va_copy...
$ECHO_C" >&6; }
7835 if test "${ac_cv_c___va_copy+set}" = set; then
7836 echo $ECHO_N "(cached
) $ECHO_C" >&6
7838 cat >conftest.$ac_ext <<_ACEOF
7841 cat confdefs.h >>conftest.$ac_ext
7842 cat >>conftest.$ac_ext <<_ACEOF
7843 /* end confdefs.h. */
7848 va_list ap1, ap2; __va_copy(ap1, ap2);
7853 rm -f conftest.$ac_objext conftest$ac_exeext
7854 if { (ac_try="$ac_link"
7856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7857 *) ac_try_echo=$ac_try;;
7859 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7860 (eval "$ac_link") 2>conftest.er1
7862 grep -v '^ *+' conftest.er1 >conftest.err
7864 cat conftest.err >&5
7865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7866 (exit $ac_status); } && {
7867 test -z "$ac_c_werror_flag" ||
7868 test ! -s conftest.err
7869 } && test -s conftest$ac_exeext &&
7870 $as_test_x conftest$ac_exeext; then
7871 ac_cv_c___va_copy="yes"
7873 echo "$as_me: failed program was
:" >&5
7874 sed 's/^/| /' conftest.$ac_ext >&5
7876 ac_cv_c___va_copy="no
"
7880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7881 conftest$ac_exeext conftest.$ac_ext
7883 { echo "$as_me:$LINENO: result
: $ac_cv_c___va_copy" >&5
7884 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
7885 if test "$ac_cv_c___va_copy" = "yes" ; then
7887 cat >>confdefs.h <<\_ACEOF
7888 #define HAVE___VA_COPY 1
7895 { echo "$as_me:$LINENO: checking
which malloc to use
" >&5
7896 echo $ECHO_N "checking
which malloc to use...
$ECHO_C" >&6; }
7898 # Check whether --with-malloc was given.
7899 if test "${with_malloc+set}" = set; then
7900 withval=$with_malloc;
7905 if test "x
$withval" = "xsystem
" ; then
7906 { echo "$as_me:$LINENO: result
: system
" >&5
7907 echo "${ECHO_T}system
" >&6; }
7909 cat >>confdefs.h <<\_ACEOF
7910 #define WITH_MALLOC_SYSTEM 1
7914 elif test "x
$withval" = "xdmalloc
" ; then
7915 { echo "$as_me:$LINENO: result
: dmalloc
" >&5
7916 echo "${ECHO_T}dmalloc
" >&6; }
7918 for ac_header in dmalloc.h
7920 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7921 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7922 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
7923 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
7924 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7925 echo $ECHO_N "(cached
) $ECHO_C" >&6
7927 ac_res=`eval echo '${'$as_ac_Header'}'`
7928 { echo "$as_me:$LINENO: result
: $ac_res" >&5
7929 echo "${ECHO_T}$ac_res" >&6; }
7931 # Is the header compilable?
7932 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7933 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
7934 cat >conftest.$ac_ext <<_ACEOF
7937 cat confdefs.h >>conftest.$ac_ext
7938 cat >>conftest.$ac_ext <<_ACEOF
7939 /* end confdefs.h. */
7940 $ac_includes_default
7941 #include <$ac_header>
7943 rm -f conftest.$ac_objext
7944 if { (ac_try="$ac_compile"
7946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7947 *) ac_try_echo=$ac_try;;
7949 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7950 (eval "$ac_compile") 2>conftest.er1
7952 grep -v '^ *+' conftest.er1 >conftest.err
7954 cat conftest.err >&5
7955 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7956 (exit $ac_status); } && {
7957 test -z "$ac_c_werror_flag" ||
7958 test ! -s conftest.err
7959 } && test -s conftest.$ac_objext; then
7960 ac_header_compiler=yes
7962 echo "$as_me: failed program was
:" >&5
7963 sed 's/^/| /' conftest.$ac_ext >&5
7965 ac_header_compiler=no
7968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7969 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7970 echo "${ECHO_T}$ac_header_compiler" >&6; }
7972 # Is the header present?
7973 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7974 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
7975 cat >conftest.$ac_ext <<_ACEOF
7978 cat confdefs.h >>conftest.$ac_ext
7979 cat >>conftest.$ac_ext <<_ACEOF
7980 /* end confdefs.h. */
7981 #include <$ac_header>
7983 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7986 *) ac_try_echo=$ac_try;;
7988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7989 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7991 grep -v '^ *+' conftest.er1 >conftest.err
7993 cat conftest.err >&5
7994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7995 (exit $ac_status); } >/dev/null && {
7996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7997 test ! -s conftest.err
7999 ac_header_preproc=yes
8001 echo "$as_me: failed program was
:" >&5
8002 sed 's/^/| /' conftest.$ac_ext >&5
8004 ac_header_preproc=no
8007 rm -f conftest.err conftest.$ac_ext
8008 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8009 echo "${ECHO_T}$ac_header_preproc" >&6; }
8011 # So? What about this header?
8012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8014 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8015 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8016 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8018 ac_header_preproc=yes
8021 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8022 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8023 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8024 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8025 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8026 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8027 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8028 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8029 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8031 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8032 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8034 ## -------------------------------------------------- ##
8035 ## Report this to evilnet-devel@lists.sourceforge.net ##
8036 ## -------------------------------------------------- ##
8038 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8041 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8042 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8043 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8044 echo $ECHO_N "(cached
) $ECHO_C" >&6
8046 eval "$as_ac_Header=\
$ac_header_preproc"
8048 ac_res=`eval echo '${'$as_ac_Header'}'`
8049 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8050 echo "${ECHO_T}$ac_res" >&6; }
8053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8054 cat >>confdefs.h <<_ACEOF
8055 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8059 { { echo "$as_me:$LINENO: error
: dmalloc header
file missing. dmalloc build will fail.
" >&5
8060 echo "$as_me: error
: dmalloc header
file missing. dmalloc build will fail.
" >&2;}
8061 { (exit 1); exit 1; }; }
8067 { echo "$as_me:$LINENO: checking
for malloc
in -ldmalloc" >&5
8068 echo $ECHO_N "checking
for malloc
in -ldmalloc...
$ECHO_C" >&6; }
8069 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
8070 echo $ECHO_N "(cached
) $ECHO_C" >&6
8072 ac_check_lib_save_LIBS=$LIBS
8073 LIBS="-ldmalloc $LIBS"
8074 cat >conftest.$ac_ext <<_ACEOF
8077 cat confdefs.h >>conftest.$ac_ext
8078 cat >>conftest.$ac_ext <<_ACEOF
8079 /* end confdefs.h. */
8081 /* Override any GCC internal prototype to avoid an error.
8082 Use char because int might match the return type of a GCC
8083 builtin and then its argument prototype would still apply. */
8096 rm -f conftest.$ac_objext conftest$ac_exeext
8097 if { (ac_try="$ac_link"
8099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8100 *) ac_try_echo=$ac_try;;
8102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8103 (eval "$ac_link") 2>conftest.er1
8105 grep -v '^ *+' conftest.er1 >conftest.err
8107 cat conftest.err >&5
8108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8109 (exit $ac_status); } && {
8110 test -z "$ac_c_werror_flag" ||
8111 test ! -s conftest.err
8112 } && test -s conftest$ac_exeext &&
8113 $as_test_x conftest$ac_exeext; then
8114 ac_cv_lib_dmalloc_malloc=yes
8116 echo "$as_me: failed program was
:" >&5
8117 sed 's/^/| /' conftest.$ac_ext >&5
8119 ac_cv_lib_dmalloc_malloc=no
8122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8123 conftest$ac_exeext conftest.$ac_ext
8124 LIBS=$ac_check_lib_save_LIBS
8126 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dmalloc_malloc" >&5
8127 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6; }
8128 if test $ac_cv_lib_dmalloc_malloc = yes; then
8129 cat >>confdefs.h <<_ACEOF
8130 #define HAVE_LIBDMALLOC 1
8133 LIBS="-ldmalloc $LIBS"
8136 { { echo "$as_me:$LINENO: error
: dmalloc library is missing. dmalloc build will fail.
" >&5
8137 echo "$as_me: error
: dmalloc library is missing. dmalloc build will fail.
" >&2;}
8138 { (exit 1); exit 1; }; }
8142 cat >>confdefs.h <<\_ACEOF
8143 #define WITH_MALLOC_DMALLOC 1
8147 elif test "x
$withval" = "xmpatrol
" ; then
8148 { echo "$as_me:$LINENO: result
: mpatrol
" >&5
8149 echo "${ECHO_T}mpatrol
" >&6; }
8151 for ac_header in mpatrol.h
8153 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8154 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8155 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8156 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8157 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8158 echo $ECHO_N "(cached
) $ECHO_C" >&6
8160 ac_res=`eval echo '${'$as_ac_Header'}'`
8161 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8162 echo "${ECHO_T}$ac_res" >&6; }
8164 # Is the header compilable?
8165 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8166 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8167 cat >conftest.$ac_ext <<_ACEOF
8170 cat confdefs.h >>conftest.$ac_ext
8171 cat >>conftest.$ac_ext <<_ACEOF
8172 /* end confdefs.h. */
8173 $ac_includes_default
8174 #include <$ac_header>
8176 rm -f conftest.$ac_objext
8177 if { (ac_try="$ac_compile"
8179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8180 *) ac_try_echo=$ac_try;;
8182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8183 (eval "$ac_compile") 2>conftest.er1
8185 grep -v '^ *+' conftest.er1 >conftest.err
8187 cat conftest.err >&5
8188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8189 (exit $ac_status); } && {
8190 test -z "$ac_c_werror_flag" ||
8191 test ! -s conftest.err
8192 } && test -s conftest.$ac_objext; then
8193 ac_header_compiler=yes
8195 echo "$as_me: failed program was
:" >&5
8196 sed 's/^/| /' conftest.$ac_ext >&5
8198 ac_header_compiler=no
8201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8202 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8203 echo "${ECHO_T}$ac_header_compiler" >&6; }
8205 # Is the header present?
8206 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8207 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8208 cat >conftest.$ac_ext <<_ACEOF
8211 cat confdefs.h >>conftest.$ac_ext
8212 cat >>conftest.$ac_ext <<_ACEOF
8213 /* end confdefs.h. */
8214 #include <$ac_header>
8216 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8219 *) ac_try_echo=$ac_try;;
8221 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8222 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8224 grep -v '^ *+' conftest.er1 >conftest.err
8226 cat conftest.err >&5
8227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8228 (exit $ac_status); } >/dev/null && {
8229 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8230 test ! -s conftest.err
8232 ac_header_preproc=yes
8234 echo "$as_me: failed program was
:" >&5
8235 sed 's/^/| /' conftest.$ac_ext >&5
8237 ac_header_preproc=no
8240 rm -f conftest.err conftest.$ac_ext
8241 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8242 echo "${ECHO_T}$ac_header_preproc" >&6; }
8244 # So? What about this header?
8245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8247 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8248 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8249 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8250 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8251 ac_header_preproc=yes
8254 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8255 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8256 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8257 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8258 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8259 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8260 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8261 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8262 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8264 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8265 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8267 ## -------------------------------------------------- ##
8268 ## Report this to evilnet-devel@lists.sourceforge.net ##
8269 ## -------------------------------------------------- ##
8271 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8274 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8275 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8276 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8277 echo $ECHO_N "(cached
) $ECHO_C" >&6
8279 eval "$as_ac_Header=\
$ac_header_preproc"
8281 ac_res=`eval echo '${'$as_ac_Header'}'`
8282 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8283 echo "${ECHO_T}$ac_res" >&6; }
8286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8287 cat >>confdefs.h <<_ACEOF
8288 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8292 { { echo "$as_me:$LINENO: error
: mpatrol header
file missing. mpatrol build will fail.
" >&5
8293 echo "$as_me: error
: mpatrol header
file missing. mpatrol build will fail.
" >&2;}
8294 { (exit 1); exit 1; }; }
8300 { echo "$as_me:$LINENO: checking
for elf_begin
in -lelf" >&5
8301 echo $ECHO_N "checking
for elf_begin
in -lelf...
$ECHO_C" >&6; }
8302 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8303 echo $ECHO_N "(cached
) $ECHO_C" >&6
8305 ac_check_lib_save_LIBS=$LIBS
8307 cat >conftest.$ac_ext <<_ACEOF
8310 cat confdefs.h >>conftest.$ac_ext
8311 cat >>conftest.$ac_ext <<_ACEOF
8312 /* end confdefs.h. */
8314 /* Override any GCC internal prototype to avoid an error.
8315 Use char because int might match the return type of a GCC
8316 builtin and then its argument prototype would still apply. */
8324 return elf_begin ();
8329 rm -f conftest.$ac_objext conftest$ac_exeext
8330 if { (ac_try="$ac_link"
8332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8333 *) ac_try_echo=$ac_try;;
8335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8336 (eval "$ac_link") 2>conftest.er1
8338 grep -v '^ *+' conftest.er1 >conftest.err
8340 cat conftest.err >&5
8341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8342 (exit $ac_status); } && {
8343 test -z "$ac_c_werror_flag" ||
8344 test ! -s conftest.err
8345 } && test -s conftest$ac_exeext &&
8346 $as_test_x conftest$ac_exeext; then
8347 ac_cv_lib_elf_elf_begin=yes
8349 echo "$as_me: failed program was
:" >&5
8350 sed 's/^/| /' conftest.$ac_ext >&5
8352 ac_cv_lib_elf_elf_begin=no
8355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8356 conftest$ac_exeext conftest.$ac_ext
8357 LIBS=$ac_check_lib_save_LIBS
8359 { echo "$as_me:$LINENO: result
: $ac_cv_lib_elf_elf_begin" >&5
8360 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
8361 if test $ac_cv_lib_elf_elf_begin = yes; then
8362 cat >>confdefs.h <<_ACEOF
8363 #define HAVE_LIBELF 1
8371 { echo "$as_me:$LINENO: checking
for __mp_atexit
in -lmpatrol" >&5
8372 echo $ECHO_N "checking
for __mp_atexit
in -lmpatrol...
$ECHO_C" >&6; }
8373 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
8374 echo $ECHO_N "(cached
) $ECHO_C" >&6
8376 ac_check_lib_save_LIBS=$LIBS
8377 LIBS="-lmpatrol $LIBS"
8378 cat >conftest.$ac_ext <<_ACEOF
8381 cat confdefs.h >>conftest.$ac_ext
8382 cat >>conftest.$ac_ext <<_ACEOF
8383 /* end confdefs.h. */
8385 /* Override any GCC internal prototype to avoid an error.
8386 Use char because int might match the return type of a GCC
8387 builtin and then its argument prototype would still apply. */
8391 char __mp_atexit ();
8395 return __mp_atexit ();
8400 rm -f conftest.$ac_objext conftest$ac_exeext
8401 if { (ac_try="$ac_link"
8403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8404 *) ac_try_echo=$ac_try;;
8406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8407 (eval "$ac_link") 2>conftest.er1
8409 grep -v '^ *+' conftest.er1 >conftest.err
8411 cat conftest.err >&5
8412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8413 (exit $ac_status); } && {
8414 test -z "$ac_c_werror_flag" ||
8415 test ! -s conftest.err
8416 } && test -s conftest$ac_exeext &&
8417 $as_test_x conftest$ac_exeext; then
8418 ac_cv_lib_mpatrol___mp_atexit=yes
8420 echo "$as_me: failed program was
:" >&5
8421 sed 's/^/| /' conftest.$ac_ext >&5
8423 ac_cv_lib_mpatrol___mp_atexit=no
8426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8427 conftest$ac_exeext conftest.$ac_ext
8428 LIBS=$ac_check_lib_save_LIBS
8430 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mpatrol___mp_atexit" >&5
8431 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6; }
8432 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
8433 cat >>confdefs.h <<_ACEOF
8434 #define HAVE_LIBMPATROL 1
8437 LIBS="-lmpatrol $LIBS"
8440 { { echo "$as_me:$LINENO: error
: mpatrol library is missing completely. mpatrol build will fail.
" >&5
8441 echo "$as_me: error
: mpatrol library is missing completely. mpatrol build will fail.
" >&2;}
8442 { (exit 1); exit 1; }; }
8446 cat >>confdefs.h <<\_ACEOF
8447 #define WITH_MALLOC_MPATROL 1
8451 elif test "x
$withval" = "xboehm
-gc" ; then
8452 { echo "$as_me:$LINENO: result
: boehm
-gc" >&5
8453 echo "${ECHO_T}boehm
-gc" >&6; }
8455 for ac_header in gc/gc.h
8457 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8458 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8459 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8460 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8461 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8462 echo $ECHO_N "(cached
) $ECHO_C" >&6
8464 ac_res=`eval echo '${'$as_ac_Header'}'`
8465 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8466 echo "${ECHO_T}$ac_res" >&6; }
8468 # Is the header compilable?
8469 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8470 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8471 cat >conftest.$ac_ext <<_ACEOF
8474 cat confdefs.h >>conftest.$ac_ext
8475 cat >>conftest.$ac_ext <<_ACEOF
8476 /* end confdefs.h. */
8477 $ac_includes_default
8478 #include <$ac_header>
8480 rm -f conftest.$ac_objext
8481 if { (ac_try="$ac_compile"
8483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8484 *) ac_try_echo=$ac_try;;
8486 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8487 (eval "$ac_compile") 2>conftest.er1
8489 grep -v '^ *+' conftest.er1 >conftest.err
8491 cat conftest.err >&5
8492 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8493 (exit $ac_status); } && {
8494 test -z "$ac_c_werror_flag" ||
8495 test ! -s conftest.err
8496 } && test -s conftest.$ac_objext; then
8497 ac_header_compiler=yes
8499 echo "$as_me: failed program was
:" >&5
8500 sed 's/^/| /' conftest.$ac_ext >&5
8502 ac_header_compiler=no
8505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8506 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8507 echo "${ECHO_T}$ac_header_compiler" >&6; }
8509 # Is the header present?
8510 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8511 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8512 cat >conftest.$ac_ext <<_ACEOF
8515 cat confdefs.h >>conftest.$ac_ext
8516 cat >>conftest.$ac_ext <<_ACEOF
8517 /* end confdefs.h. */
8518 #include <$ac_header>
8520 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8523 *) ac_try_echo=$ac_try;;
8525 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8526 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8528 grep -v '^ *+' conftest.er1 >conftest.err
8530 cat conftest.err >&5
8531 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8532 (exit $ac_status); } >/dev/null && {
8533 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8534 test ! -s conftest.err
8536 ac_header_preproc=yes
8538 echo "$as_me: failed program was
:" >&5
8539 sed 's/^/| /' conftest.$ac_ext >&5
8541 ac_header_preproc=no
8544 rm -f conftest.err conftest.$ac_ext
8545 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8546 echo "${ECHO_T}$ac_header_preproc" >&6; }
8548 # So? What about this header?
8549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8551 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8552 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8553 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8554 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8555 ac_header_preproc=yes
8558 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8559 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8560 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8561 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8562 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8563 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8564 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8565 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8566 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8568 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8569 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8571 ## -------------------------------------------------- ##
8572 ## Report this to evilnet-devel@lists.sourceforge.net ##
8573 ## -------------------------------------------------- ##
8575 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8578 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8579 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8580 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8581 echo $ECHO_N "(cached
) $ECHO_C" >&6
8583 eval "$as_ac_Header=\
$ac_header_preproc"
8585 ac_res=`eval echo '${'$as_ac_Header'}'`
8586 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8587 echo "${ECHO_T}$ac_res" >&6; }
8590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8591 cat >>confdefs.h <<_ACEOF
8592 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8596 { { echo "$as_me:$LINENO: error
: Boehm GC header
file missing. boehm
-gc build will fail.
" >&5
8597 echo "$as_me: error
: Boehm GC header
file missing. boehm
-gc build will fail.
" >&2;}
8598 { (exit 1); exit 1; }; }
8604 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
8605 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
8606 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8607 echo $ECHO_N "(cached
) $ECHO_C" >&6
8609 ac_check_lib_save_LIBS=$LIBS
8611 cat >conftest.$ac_ext <<_ACEOF
8614 cat confdefs.h >>conftest.$ac_ext
8615 cat >>conftest.$ac_ext <<_ACEOF
8616 /* end confdefs.h. */
8618 /* Override any GCC internal prototype to avoid an error.
8619 Use char because int might match the return type of a GCC
8620 builtin and then its argument prototype would still apply. */
8633 rm -f conftest.$ac_objext conftest$ac_exeext
8634 if { (ac_try="$ac_link"
8636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8637 *) ac_try_echo=$ac_try;;
8639 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8640 (eval "$ac_link") 2>conftest.er1
8642 grep -v '^ *+' conftest.er1 >conftest.err
8644 cat conftest.err >&5
8645 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8646 (exit $ac_status); } && {
8647 test -z "$ac_c_werror_flag" ||
8648 test ! -s conftest.err
8649 } && test -s conftest$ac_exeext &&
8650 $as_test_x conftest$ac_exeext; then
8651 ac_cv_lib_dl_dlopen=yes
8653 echo "$as_me: failed program was
:" >&5
8654 sed 's/^/| /' conftest.$ac_ext >&5
8656 ac_cv_lib_dl_dlopen=no
8659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8660 conftest$ac_exeext conftest.$ac_ext
8661 LIBS=$ac_check_lib_save_LIBS
8663 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
8664 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8665 if test $ac_cv_lib_dl_dlopen = yes; then
8666 cat >>confdefs.h <<_ACEOF
8667 #define HAVE_LIBDL 1
8673 { { echo "$as_me:$LINENO: error
: libdl library is missing. boehm
-gc build will fail.
" >&5
8674 echo "$as_me: error
: libdl library is missing. boehm
-gc build will fail.
" >&2;}
8675 { (exit 1); exit 1; }; }
8679 { echo "$as_me:$LINENO: checking
for GC_gcollect
in -lgc" >&5
8680 echo $ECHO_N "checking
for GC_gcollect
in -lgc...
$ECHO_C" >&6; }
8681 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
8682 echo $ECHO_N "(cached
) $ECHO_C" >&6
8684 ac_check_lib_save_LIBS=$LIBS
8686 cat >conftest.$ac_ext <<_ACEOF
8689 cat confdefs.h >>conftest.$ac_ext
8690 cat >>conftest.$ac_ext <<_ACEOF
8691 /* end confdefs.h. */
8693 /* Override any GCC internal prototype to avoid an error.
8694 Use char because int might match the return type of a GCC
8695 builtin and then its argument prototype would still apply. */
8699 char GC_gcollect ();
8703 return GC_gcollect ();
8708 rm -f conftest.$ac_objext conftest$ac_exeext
8709 if { (ac_try="$ac_link"
8711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8712 *) ac_try_echo=$ac_try;;
8714 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8715 (eval "$ac_link") 2>conftest.er1
8717 grep -v '^ *+' conftest.er1 >conftest.err
8719 cat conftest.err >&5
8720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8721 (exit $ac_status); } && {
8722 test -z "$ac_c_werror_flag" ||
8723 test ! -s conftest.err
8724 } && test -s conftest$ac_exeext &&
8725 $as_test_x conftest$ac_exeext; then
8726 ac_cv_lib_gc_GC_gcollect=yes
8728 echo "$as_me: failed program was
:" >&5
8729 sed 's/^/| /' conftest.$ac_ext >&5
8731 ac_cv_lib_gc_GC_gcollect=no
8734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8735 conftest$ac_exeext conftest.$ac_ext
8736 LIBS=$ac_check_lib_save_LIBS
8738 { echo "$as_me:$LINENO: result
: $ac_cv_lib_gc_GC_gcollect" >&5
8739 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6; }
8740 if test $ac_cv_lib_gc_GC_gcollect = yes; then
8741 cat >>confdefs.h <<_ACEOF
8742 #define HAVE_LIBGC 1
8748 { { echo "$as_me:$LINENO: error
: Boehm GC library is missing. boehm
-gc build will fail.
" >&5
8749 echo "$as_me: error
: Boehm GC library is missing. boehm
-gc build will fail.
" >&2;}
8750 { (exit 1); exit 1; }; }
8754 cat >>confdefs.h <<\_ACEOF
8755 #define WITH_MALLOC_BOEHM_GC 1
8759 elif test "x
$withval" = "xx3
" ; then
8760 { echo "$as_me:$LINENO: result
: x3
" >&5
8761 echo "${ECHO_T}x3
" >&6; }
8763 cat >>confdefs.h <<\_ACEOF
8764 #define WITH_MALLOC_X3 1
8767 MODULE_OBJS="$MODULE_OBJS alloc
-x3.\
$(OBJEXT)"
8769 elif test "x
$withval" = "xslab
" ; then
8770 { echo "$as_me:$LINENO: result
: slab
" >&5
8771 echo "${ECHO_T}slab
" >&6; }
8773 cat >>confdefs.h <<\_ACEOF
8774 #define WITH_MALLOC_SLAB 1
8777 MODULE_OBJS="$MODULE_OBJS alloc
-slab.\
$(OBJEXT)"
8780 { { echo "$as_me:$LINENO: error
: Unknown malloc
type $withval" >&5
8781 echo "$as_me: error
: Unknown malloc
type $withval" >&2;}
8782 { (exit 1); exit 1; }; }
8785 { echo "$as_me:$LINENO: checking
which protocol to use
" >&5
8786 echo $ECHO_N "checking
which protocol to use...
$ECHO_C" >&6; }
8788 # Check whether --with-protocol was given.
8789 if test "${with_protocol+set}" = set; then
8790 withval=$with_protocol;
8795 if test "x
$withval" = "xp10
" ; then
8796 { echo "$as_me:$LINENO: result
: P10
" >&5
8797 echo "${ECHO_T}P10
" >&6; }
8799 cat >>confdefs.h <<\_ACEOF
8800 #define WITH_PROTOCOL_P10 1
8803 MODULE_OBJS="$MODULE_OBJS proto
-p10.\
$(OBJEXT)"
8804 PROTO_FILES=proto-p10.c
8807 { { echo "$as_me:$LINENO: error
: Unknown IRC dialect
$withval" >&5
8808 echo "$as_me: error
: Unknown IRC dialect
$withval" >&2;}
8809 { (exit 1); exit 1; }; }
8812 { echo "$as_me:$LINENO: checking how to send
mail" >&5
8813 echo $ECHO_N "checking how to send
mail...
$ECHO_C" >&6; }
8815 # Check whether --with-mail was given.
8816 if test "${with_mail+set}" = set; then
8822 if test -r "${srcdir}/src
/mail-${withval}.c
" ; then
8823 { echo "$as_me:$LINENO: result
: $withval" >&5
8824 echo "${ECHO_T}$withval" >&6; }
8825 MODULE_OBJS="$MODULE_OBJS mail-${withval}.\
$(OBJEXT)"
8827 { { echo "$as_me:$LINENO: error
: Unknown
mail method
$withval" >&5
8828 echo "$as_me: error
: Unknown
mail method
$withval" >&2;}
8829 { (exit 1); exit 1; }; }
8832 { echo "$as_me:$LINENO: checking I
/O multiplexing backends
" >&5
8833 echo $ECHO_N "checking I
/O multiplexing backends...
$ECHO_C" >&6; }
8836 if test "x
$ac_cv_func_select" = xyes ; then
8838 cat >>confdefs.h <<\_ACEOF
8839 #define WITH_IOSET_SELECT 1
8842 MODULE_OBJS="$MODULE_OBJS ioset
-select.\
$(OBJEXT)"
8843 IOMUXES="$IOMUXES select"
8847 # Check whether --with-epoll was given.
8848 if test "${with_epoll+set}" = set; then
8849 withval=$with_epoll;
8851 withval="$ac_cv_func_epoll_create"
8854 if test "x
$withval" = xyes ; then
8856 cat >>confdefs.h <<\_ACEOF
8857 #define WITH_IOSET_EPOLL 1
8860 MODULE_OBJS="$MODULE_OBJS ioset
-epoll.\
$(OBJEXT)"
8861 IOMUXES="$IOMUXES epoll
"
8865 # Check whether --with-kevent was given.
8866 if test "${with_kevent+set}" = set; then
8867 withval=$with_kevent;
8869 withval="$ac_cv_func_kevent"
8872 if test "x
$withval" = xyes ; then
8874 cat >>confdefs.h <<\_ACEOF
8875 #define WITH_IOSET_KEVENT 1
8878 MODULE_OBJS="$MODULE_OBJS ioset
-kevent.\
$(OBJEXT)"
8879 IOMUXES="$IOMUXES kevent
"
8882 IOMUXES=`echo $IOMUXES | sed 's/^ +//'`
8883 { echo "$as_me:$LINENO: result
: $IOMUXES" >&5
8884 echo "${ECHO_T}$IOMUXES" >&6; }
8885 if test "x
$IOMUXES" = "x
" ; then
8886 { { echo "$as_me:$LINENO: error
: No supported I
/O multiplexing backend found
" >&5
8887 echo "$as_me: error
: No supported I
/O multiplexing backend found
" >&2;}
8888 { (exit 1); exit 1; }; }
8890 { echo "$as_me:$LINENO: result
: $IOMUXES" >&5
8891 echo "${ECHO_T}$IOMUXES" >&6; }
8895 # Check whether --with-getopt was given.
8896 if test "${with_getopt+set}" = set; then
8897 withval=$with_getopt; if test "$withval" = no; then
8899 cat >>confdefs.h <<\_ACEOF
8900 #define IGNORE_GETOPT 1
8907 { echo "$as_me:$LINENO: checking whether to
enable tokenization
" >&5
8908 echo $ECHO_N "checking whether to
enable tokenization...
$ECHO_C" >&6; }
8909 # Check whether --enable-tokens was given.
8910 if test "${enable_tokens+set}" = set; then
8911 enableval=$enable_tokens;
8916 if test "z
$enableval" = zno ; then
8917 { echo "$as_me:$LINENO: result
: no
" >&5
8918 echo "${ECHO_T}no
" >&6; }
8921 cat >>confdefs.h <<\_ACEOF
8922 #define ENABLE_TOKENS 1
8925 { echo "$as_me:$LINENO: result
: yes" >&5
8926 echo "${ECHO_T}yes" >&6; }
8929 { echo "$as_me:$LINENO: checking whether to
enable debug behaviors
" >&5
8930 echo $ECHO_N "checking whether to
enable debug behaviors...
$ECHO_C" >&6; }
8931 # Check whether --enable-debug was given.
8932 if test "${enable_debug+set}" = set; then
8933 enableval=$enable_debug;
8934 CPPFLAGS="$CPPFLAGS"
8935 { echo "$as_me:$LINENO: result
: yes" >&5
8936 echo "${ECHO_T}yes" >&6; }
8941 CPPFLAGS="$CPPFLAGS -DNDEBUG"
8942 { echo "$as_me:$LINENO: result
: no
" >&5
8943 echo "${ECHO_T}no
" >&6; }
8949 if test -e src ; then
8950 if test ! -d src ; then
8951 { { echo "$as_me:$LINENO: error
: src exists but is not a directory
; please move it out of the way.
" >&5
8952 echo "$as_me: error
: src exists but is not a directory
; please move it out of the way.
" >&2;}
8953 { (exit 1); exit 1; }; }
8958 { echo "$as_me:$LINENO: checking
for extra module files
" >&5
8959 echo $ECHO_N "checking
for extra module files...
$ECHO_C" >&6; }
8960 MODULE_DEFINES="src
/modules
-list.h
"
8961 echo > $MODULE_DEFINES
8962 touch $MODULE_DEFINES
8963 # Check whether --enable-modules was given.
8964 if test "${enable_modules+set}" = set; then
8965 enableval=$enable_modules;
8968 EXTRA_MODULE_OBJS=""
8970 for module in $enableval ; do
8971 module=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
8972 EXTRA_MODULE_OBJS="$EXTRA_MODULE_OBJS mod
-$module.\
$(OBJEXT)"
8973 module_list="$module_list $module"
8974 echo "WITH_MODULE
($module)" >> $MODULE_DEFINES
8975 if test "x
$module" = "xtrack
" ; then
8976 TRACK="-D HAVE_TRACK
"
8978 cat >>confdefs.h <<\_ACEOF
8979 #define HAVE_TRACK 1
8983 if test "x
$module" = "xhelpserv
" ; then
8984 TRACK="-D HAVE_HELPSERV
"
8986 cat >>confdefs.h <<\_ACEOF
8987 #define HAVE_HELPSERV 1
8993 MODULE_OBJS="$MODULE_OBJS $EXTRA_MODULE_OBJS"
8994 { echo "$as_me:$LINENO: result
: $module_list" >&5
8995 echo "${ECHO_T}$module_list" >&6; }
8999 { echo "$as_me:$LINENO: result
: none
" >&5
9000 echo "${ECHO_T}none
" >&6; }
9005 # Check whether --enable-python was given.
9006 if test "${enable_python+set}" = set; then
9007 enableval=$enable_python; python=$enableval
9017 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no; then
9018 MY_SUBDIRS="rx
$MY_SUBDIRS"
9019 RX_INCLUDES="-I..
/rx
"
9020 RX_LIBS="..
/rx
/librx.a
"
9022 MY_SUBDIRS="$MY_SUBDIRS src
"
9023 CFLAGS="$CFLAGS $ANSI_SRC -W -Wall"
9024 if test "z
$USE_MAINTAINER_MODE" = zyes ; then
9025 CFLAGS="$CFLAGS -Werror"
9032 # Check whether --with-tre was given.
9033 if test "${with_tre+set}" = set; then
9037 if test "x
$withval" != "x
"; then
9038 { echo "$as_me:$LINENO: result
: Using include dir
$withval to
find libtre
" >&5
9039 echo "${ECHO_T}Using include dir
$withval to
find libtre
" >&6; }
9040 CPPFLAGS="$CPPFLAGS -I$withval/include
-L$withval/lib
"
9041 LIBS="$LIBS -L$withval/lib
"
9043 { echo "$as_me:$LINENO: result
: Looking
for tre
in system and home
dirs (${HOME})...
" >&5
9044 echo "${ECHO_T}Looking
for tre
in system and home
dirs (${HOME})...
" >&6; }
9045 CPPFLAGS="$CPPFLAGS -I${HOME}/include
-L${HOME}/lib
"
9046 LIBS="$LIBS -L${HOME}/lib
"
9048 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9049 { echo "$as_me:$LINENO: checking
for tre
/regex.h
" >&5
9050 echo $ECHO_N "checking
for tre
/regex.h...
$ECHO_C" >&6; }
9051 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9052 echo $ECHO_N "(cached
) $ECHO_C" >&6
9054 { echo "$as_me:$LINENO: result
: $ac_cv_header_tre_regex_h" >&5
9055 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
9057 # Is the header compilable?
9058 { echo "$as_me:$LINENO: checking tre
/regex.h usability
" >&5
9059 echo $ECHO_N "checking tre
/regex.h usability...
$ECHO_C" >&6; }
9060 cat >conftest.$ac_ext <<_ACEOF
9063 cat confdefs.h >>conftest.$ac_ext
9064 cat >>conftest.$ac_ext <<_ACEOF
9065 /* end confdefs.h. */
9066 $ac_includes_default
9067 #include <tre/regex.h>
9069 rm -f conftest.$ac_objext
9070 if { (ac_try="$ac_compile"
9072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9073 *) ac_try_echo=$ac_try;;
9075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9076 (eval "$ac_compile") 2>conftest.er1
9078 grep -v '^ *+' conftest.er1 >conftest.err
9080 cat conftest.err >&5
9081 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9082 (exit $ac_status); } && {
9083 test -z "$ac_c_werror_flag" ||
9084 test ! -s conftest.err
9085 } && test -s conftest.$ac_objext; then
9086 ac_header_compiler=yes
9088 echo "$as_me: failed program was
:" >&5
9089 sed 's/^/| /' conftest.$ac_ext >&5
9091 ac_header_compiler=no
9094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9095 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9096 echo "${ECHO_T}$ac_header_compiler" >&6; }
9098 # Is the header present?
9099 { echo "$as_me:$LINENO: checking tre
/regex.h presence
" >&5
9100 echo $ECHO_N "checking tre
/regex.h presence...
$ECHO_C" >&6; }
9101 cat >conftest.$ac_ext <<_ACEOF
9104 cat confdefs.h >>conftest.$ac_ext
9105 cat >>conftest.$ac_ext <<_ACEOF
9106 /* end confdefs.h. */
9107 #include <tre/regex.h>
9109 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9112 *) ac_try_echo=$ac_try;;
9114 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9115 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9117 grep -v '^ *+' conftest.er1 >conftest.err
9119 cat conftest.err >&5
9120 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9121 (exit $ac_status); } >/dev/null && {
9122 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9123 test ! -s conftest.err
9125 ac_header_preproc=yes
9127 echo "$as_me: failed program was
:" >&5
9128 sed 's/^/| /' conftest.$ac_ext >&5
9130 ac_header_preproc=no
9133 rm -f conftest.err conftest.$ac_ext
9134 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9135 echo "${ECHO_T}$ac_header_preproc" >&6; }
9137 # So? What about this header?
9138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9140 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
9141 echo "$as_me: WARNING
: tre
/regex.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9142 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: proceeding with the compiler
's result" >&5
9143 echo "$as_me: WARNING: tre/regex.h: proceeding with the compiler's result
" >&2;}
9144 ac_header_preproc=yes
9147 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: present but cannot be compiled
" >&5
9148 echo "$as_me: WARNING
: tre
/regex.h
: present but cannot be compiled
" >&2;}
9149 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: check
for missing prerequisite headers?
" >&5
9150 echo "$as_me: WARNING
: tre
/regex.h
: check
for missing prerequisite headers?
" >&2;}
9151 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: see the Autoconf documentation
" >&5
9152 echo "$as_me: WARNING
: tre
/regex.h
: see the Autoconf documentation
" >&2;}
9153 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: section
\"Present But Cannot Be Compiled
\"" >&5
9154 echo "$as_me: WARNING
: tre
/regex.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
9155 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: proceeding with the preprocessor
's result" >&5
9156 echo "$as_me: WARNING: tre/regex.h: proceeding with the preprocessor's result
" >&2;}
9157 { echo "$as_me:$LINENO: WARNING
: tre
/regex.h
: in the future
, the compiler will take precedence
" >&5
9158 echo "$as_me: WARNING
: tre
/regex.h
: in the future
, the compiler will take precedence
" >&2;}
9160 ## -------------------------------------------------- ##
9161 ## Report this to evilnet-devel@lists.sourceforge.net ##
9162 ## -------------------------------------------------- ##
9164 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
9167 { echo "$as_me:$LINENO: checking
for tre
/regex.h
" >&5
9168 echo $ECHO_N "checking
for tre
/regex.h...
$ECHO_C" >&6; }
9169 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9170 echo $ECHO_N "(cached
) $ECHO_C" >&6
9172 ac_cv_header_tre_regex_h=$ac_header_preproc
9174 { echo "$as_me:$LINENO: result
: $ac_cv_header_tre_regex_h" >&5
9175 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
9178 if test $ac_cv_header_tre_regex_h = yes; then
9181 { { 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
9182 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;}
9183 { (exit 1); exit 1; }; }
9188 { echo "$as_me:$LINENO: checking
for regexec
in -ltre" >&5
9189 echo $ECHO_N "checking
for regexec
in -ltre...
$ECHO_C" >&6; }
9190 if test "${ac_cv_lib_tre_regexec+set}" = set; then
9191 echo $ECHO_N "(cached
) $ECHO_C" >&6
9193 ac_check_lib_save_LIBS=$LIBS
9195 cat >conftest.$ac_ext <<_ACEOF
9198 cat confdefs.h >>conftest.$ac_ext
9199 cat >>conftest.$ac_ext <<_ACEOF
9200 /* end confdefs.h. */
9202 /* Override any GCC internal prototype to avoid an error.
9203 Use char because int might match the return type of a GCC
9204 builtin and then its argument prototype would still apply. */
9217 rm -f conftest.$ac_objext conftest$ac_exeext
9218 if { (ac_try="$ac_link"
9220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9221 *) ac_try_echo=$ac_try;;
9223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9224 (eval "$ac_link") 2>conftest.er1
9226 grep -v '^ *+' conftest.er1 >conftest.err
9228 cat conftest.err >&5
9229 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9230 (exit $ac_status); } && {
9231 test -z "$ac_c_werror_flag" ||
9232 test ! -s conftest.err
9233 } && test -s conftest$ac_exeext &&
9234 $as_test_x conftest$ac_exeext; then
9235 ac_cv_lib_tre_regexec=yes
9237 echo "$as_me: failed program was
:" >&5
9238 sed 's/^/| /' conftest.$ac_ext >&5
9240 ac_cv_lib_tre_regexec=no
9243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9244 conftest$ac_exeext conftest.$ac_ext
9245 LIBS=$ac_check_lib_save_LIBS
9247 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tre_regexec" >&5
9248 echo "${ECHO_T}$ac_cv_lib_tre_regexec" >&6; }
9249 if test $ac_cv_lib_tre_regexec = yes; then
9250 cat >>confdefs.h <<_ACEOF
9251 #define HAVE_LIBTRE 1
9257 { { 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
9258 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;}
9259 { (exit 1); exit 1; }; }
9266 # Check whether --with-coredumper was given.
9267 if test "${with_coredumper+set}" = set; then
9268 withval=$with_coredumper;
9271 if test "x
$withval" != "x
"; then
9272 { echo "$as_me:$LINENO: result
: Using include dir
$withval to
find coredumper
" >&5
9273 echo "${ECHO_T}Using include dir
$withval to
find coredumper
" >&6; }
9274 CPPFLAGS="$CPPFLAGS -I$withval/include
-L$withval/lib
"
9275 LIBS="$LIBS -L$withval/lib
"
9277 { echo "$as_me:$LINENO: result
: Looking
for coredumper
in system and home
dirs (${HOME})...
" >&5
9278 echo "${ECHO_T}Looking
for coredumper
in system and home
dirs (${HOME})...
" >&6; }
9279 CPPFLAGS="$CPPFLAGS -I${HOME}/include
-L${HOME}/lib
"
9280 LIBS="$LIBS -Wl,--rpath -Wl,${HOME}/lib
"
9282 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
9283 { echo "$as_me:$LINENO: checking
for google
/coredumper.h
" >&5
9284 echo $ECHO_N "checking
for google
/coredumper.h...
$ECHO_C" >&6; }
9285 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
9286 echo $ECHO_N "(cached
) $ECHO_C" >&6
9288 { echo "$as_me:$LINENO: result
: $ac_cv_header_google_coredumper_h" >&5
9289 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
9291 # Is the header compilable?
9292 { echo "$as_me:$LINENO: checking google
/coredumper.h usability
" >&5
9293 echo $ECHO_N "checking google
/coredumper.h usability...
$ECHO_C" >&6; }
9294 cat >conftest.$ac_ext <<_ACEOF
9297 cat confdefs.h >>conftest.$ac_ext
9298 cat >>conftest.$ac_ext <<_ACEOF
9299 /* end confdefs.h. */
9300 $ac_includes_default
9301 #include <google/coredumper.h>
9303 rm -f conftest.$ac_objext
9304 if { (ac_try="$ac_compile"
9306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9307 *) ac_try_echo=$ac_try;;
9309 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9310 (eval "$ac_compile") 2>conftest.er1
9312 grep -v '^ *+' conftest.er1 >conftest.err
9314 cat conftest.err >&5
9315 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9316 (exit $ac_status); } && {
9317 test -z "$ac_c_werror_flag" ||
9318 test ! -s conftest.err
9319 } && test -s conftest.$ac_objext; then
9320 ac_header_compiler=yes
9322 echo "$as_me: failed program was
:" >&5
9323 sed 's/^/| /' conftest.$ac_ext >&5
9325 ac_header_compiler=no
9328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9329 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9330 echo "${ECHO_T}$ac_header_compiler" >&6; }
9332 # Is the header present?
9333 { echo "$as_me:$LINENO: checking google
/coredumper.h presence
" >&5
9334 echo $ECHO_N "checking google
/coredumper.h presence...
$ECHO_C" >&6; }
9335 cat >conftest.$ac_ext <<_ACEOF
9338 cat confdefs.h >>conftest.$ac_ext
9339 cat >>conftest.$ac_ext <<_ACEOF
9340 /* end confdefs.h. */
9341 #include <google/coredumper.h>
9343 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9346 *) ac_try_echo=$ac_try;;
9348 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9349 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9351 grep -v '^ *+' conftest.er1 >conftest.err
9353 cat conftest.err >&5
9354 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9355 (exit $ac_status); } >/dev/null && {
9356 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9357 test ! -s conftest.err
9359 ac_header_preproc=yes
9361 echo "$as_me: failed program was
:" >&5
9362 sed 's/^/| /' conftest.$ac_ext >&5
9364 ac_header_preproc=no
9367 rm -f conftest.err conftest.$ac_ext
9368 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9369 echo "${ECHO_T}$ac_header_preproc" >&6; }
9371 # So? What about this header?
9372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9374 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
9375 echo "$as_me: WARNING
: google
/coredumper.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9376 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: proceeding with the compiler
's result" >&5
9377 echo "$as_me: WARNING: google/coredumper.h: proceeding with the compiler's result
" >&2;}
9378 ac_header_preproc=yes
9381 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: present but cannot be compiled
" >&5
9382 echo "$as_me: WARNING
: google
/coredumper.h
: present but cannot be compiled
" >&2;}
9383 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: check
for missing prerequisite headers?
" >&5
9384 echo "$as_me: WARNING
: google
/coredumper.h
: check
for missing prerequisite headers?
" >&2;}
9385 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: see the Autoconf documentation
" >&5
9386 echo "$as_me: WARNING
: google
/coredumper.h
: see the Autoconf documentation
" >&2;}
9387 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: section
\"Present But Cannot Be Compiled
\"" >&5
9388 echo "$as_me: WARNING
: google
/coredumper.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
9389 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: proceeding with the preprocessor
's result" >&5
9390 echo "$as_me: WARNING: google/coredumper.h: proceeding with the preprocessor's result
" >&2;}
9391 { echo "$as_me:$LINENO: WARNING
: google
/coredumper.h
: in the future
, the compiler will take precedence
" >&5
9392 echo "$as_me: WARNING
: google
/coredumper.h
: in the future
, the compiler will take precedence
" >&2;}
9394 ## -------------------------------------------------- ##
9395 ## Report this to evilnet-devel@lists.sourceforge.net ##
9396 ## -------------------------------------------------- ##
9398 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
9401 { echo "$as_me:$LINENO: checking
for google
/coredumper.h
" >&5
9402 echo $ECHO_N "checking
for google
/coredumper.h...
$ECHO_C" >&6; }
9403 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
9404 echo $ECHO_N "(cached
) $ECHO_C" >&6
9406 ac_cv_header_google_coredumper_h=$ac_header_preproc
9408 { echo "$as_me:$LINENO: result
: $ac_cv_header_google_coredumper_h" >&5
9409 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
9412 if test $ac_cv_header_google_coredumper_h = yes; then
9415 { 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
9416 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; }
9421 { echo "$as_me:$LINENO: checking
for WriteCoreDump
in -lcoredumper" >&5
9422 echo $ECHO_N "checking
for WriteCoreDump
in -lcoredumper...
$ECHO_C" >&6; }
9423 if test "${ac_cv_lib_coredumper_WriteCoreDump+set}" = set; then
9424 echo $ECHO_N "(cached
) $ECHO_C" >&6
9426 ac_check_lib_save_LIBS=$LIBS
9427 LIBS="-lcoredumper $LIBS"
9428 cat >conftest.$ac_ext <<_ACEOF
9431 cat confdefs.h >>conftest.$ac_ext
9432 cat >>conftest.$ac_ext <<_ACEOF
9433 /* end confdefs.h. */
9435 /* Override any GCC internal prototype to avoid an error.
9436 Use char because int might match the return type of a GCC
9437 builtin and then its argument prototype would still apply. */
9441 char WriteCoreDump ();
9445 return WriteCoreDump ();
9450 rm -f conftest.$ac_objext conftest$ac_exeext
9451 if { (ac_try="$ac_link"
9453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9454 *) ac_try_echo=$ac_try;;
9456 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9457 (eval "$ac_link") 2>conftest.er1
9459 grep -v '^ *+' conftest.er1 >conftest.err
9461 cat conftest.err >&5
9462 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9463 (exit $ac_status); } && {
9464 test -z "$ac_c_werror_flag" ||
9465 test ! -s conftest.err
9466 } && test -s conftest$ac_exeext &&
9467 $as_test_x conftest$ac_exeext; then
9468 ac_cv_lib_coredumper_WriteCoreDump=yes
9470 echo "$as_me: failed program was
:" >&5
9471 sed 's/^/| /' conftest.$ac_ext >&5
9473 ac_cv_lib_coredumper_WriteCoreDump=no
9476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9477 conftest$ac_exeext conftest.$ac_ext
9478 LIBS=$ac_check_lib_save_LIBS
9480 { echo "$as_me:$LINENO: result
: $ac_cv_lib_coredumper_WriteCoreDump" >&5
9481 echo "${ECHO_T}$ac_cv_lib_coredumper_WriteCoreDump" >&6; }
9482 if test $ac_cv_lib_coredumper_WriteCoreDump = yes; then
9483 cat >>confdefs.h <<_ACEOF
9484 #define HAVE_LIBCOREDUMPER 1
9487 LIBS="-lcoredumper $LIBS"
9490 { 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
9491 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; }
9497 # Check whether --with-ssl was given.
9498 if test "${with_ssl+set}" = set; then
9502 if test "x
$withval" != "x
"; then
9503 { echo "$as_me:$LINENO: result
: Using include dir
$withval to
find openssl
" >&5
9504 echo "${ECHO_T}Using include dir
$withval to
find openssl
" >&6; }
9505 CPPFLAGS="$CPPFLAGS -I$withval/include
-L$withval/lib
"
9506 LIBS="$LIBS -L$withval/lib
"
9508 { echo "$as_me:$LINENO: result
: Looking
for openssl
in system
" >&5
9509 echo "${ECHO_T}Looking
for openssl
in system
" >&6; }
9512 { echo "$as_me:$LINENO: checking
for BIO_new
in -lssl" >&5
9513 echo $ECHO_N "checking
for BIO_new
in -lssl...
$ECHO_C" >&6; }
9514 if test "${ac_cv_lib_ssl_BIO_new+set}" = set; then
9515 echo $ECHO_N "(cached
) $ECHO_C" >&6
9517 ac_check_lib_save_LIBS=$LIBS
9519 cat >conftest.$ac_ext <<_ACEOF
9522 cat confdefs.h >>conftest.$ac_ext
9523 cat >>conftest.$ac_ext <<_ACEOF
9524 /* end confdefs.h. */
9526 /* Override any GCC internal prototype to avoid an error.
9527 Use char because int might match the return type of a GCC
9528 builtin and then its argument prototype would still apply. */
9541 rm -f conftest.$ac_objext conftest$ac_exeext
9542 if { (ac_try="$ac_link"
9544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9545 *) ac_try_echo=$ac_try;;
9547 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9548 (eval "$ac_link") 2>conftest.er1
9550 grep -v '^ *+' conftest.er1 >conftest.err
9552 cat conftest.err >&5
9553 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9554 (exit $ac_status); } && {
9555 test -z "$ac_c_werror_flag" ||
9556 test ! -s conftest.err
9557 } && test -s conftest$ac_exeext &&
9558 $as_test_x conftest$ac_exeext; then
9559 ac_cv_lib_ssl_BIO_new=yes
9561 echo "$as_me: failed program was
:" >&5
9562 sed 's/^/| /' conftest.$ac_ext >&5
9564 ac_cv_lib_ssl_BIO_new=no
9567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9568 conftest$ac_exeext conftest.$ac_ext
9569 LIBS=$ac_check_lib_save_LIBS
9571 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ssl_BIO_new" >&5
9572 echo "${ECHO_T}$ac_cv_lib_ssl_BIO_new" >&6; }
9573 if test $ac_cv_lib_ssl_BIO_new = yes; then
9577 for ac_header in openssl/bio.h
9579 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9580 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9581 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9582 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9583 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9584 echo $ECHO_N "(cached
) $ECHO_C" >&6
9586 ac_res=`eval echo '${'$as_ac_Header'}'`
9587 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9588 echo "${ECHO_T}$ac_res" >&6; }
9590 # Is the header compilable?
9591 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9592 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
9593 cat >conftest.$ac_ext <<_ACEOF
9596 cat confdefs.h >>conftest.$ac_ext
9597 cat >>conftest.$ac_ext <<_ACEOF
9598 /* end confdefs.h. */
9599 $ac_includes_default
9600 #include <$ac_header>
9602 rm -f conftest.$ac_objext
9603 if { (ac_try="$ac_compile"
9605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9606 *) ac_try_echo=$ac_try;;
9608 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9609 (eval "$ac_compile") 2>conftest.er1
9611 grep -v '^ *+' conftest.er1 >conftest.err
9613 cat conftest.err >&5
9614 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9615 (exit $ac_status); } && {
9616 test -z "$ac_c_werror_flag" ||
9617 test ! -s conftest.err
9618 } && test -s conftest.$ac_objext; then
9619 ac_header_compiler=yes
9621 echo "$as_me: failed program was
:" >&5
9622 sed 's/^/| /' conftest.$ac_ext >&5
9624 ac_header_compiler=no
9627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9628 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9629 echo "${ECHO_T}$ac_header_compiler" >&6; }
9631 # Is the header present?
9632 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9633 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
9634 cat >conftest.$ac_ext <<_ACEOF
9637 cat confdefs.h >>conftest.$ac_ext
9638 cat >>conftest.$ac_ext <<_ACEOF
9639 /* end confdefs.h. */
9640 #include <$ac_header>
9642 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9645 *) ac_try_echo=$ac_try;;
9647 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9648 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9650 grep -v '^ *+' conftest.er1 >conftest.err
9652 cat conftest.err >&5
9653 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9654 (exit $ac_status); } >/dev/null && {
9655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9656 test ! -s conftest.err
9658 ac_header_preproc=yes
9660 echo "$as_me: failed program was
:" >&5
9661 sed 's/^/| /' conftest.$ac_ext >&5
9663 ac_header_preproc=no
9666 rm -f conftest.err conftest.$ac_ext
9667 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9668 echo "${ECHO_T}$ac_header_preproc" >&6; }
9670 # So? What about this header?
9671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9673 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9674 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9675 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9676 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9677 ac_header_preproc=yes
9680 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9681 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9682 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9683 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9684 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9685 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9686 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9687 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9688 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9690 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9691 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9693 ## -------------------------------------------------- ##
9694 ## Report this to evilnet-devel@lists.sourceforge.net ##
9695 ## -------------------------------------------------- ##
9697 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
9700 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9701 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9702 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9703 echo $ECHO_N "(cached
) $ECHO_C" >&6
9705 eval "$as_ac_Header=\
$ac_header_preproc"
9707 ac_res=`eval echo '${'$as_ac_Header'}'`
9708 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9709 echo "${ECHO_T}$ac_res" >&6; }
9712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9713 cat >>confdefs.h <<_ACEOF
9714 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9718 cat >>confdefs.h <<\_ACEOF
9722 ssl_message="LDAP library
: enabled
"
9726 if test "x
$withval" != "x
"; then
9727 { { echo "$as_me:$LINENO: error
: ssl headers not found
" >&5
9728 echo "$as_me: error
: ssl headers not found
" >&2;}
9729 { (exit 1); exit 1; }; }
9739 if test "x
$withval" != "x
"; then
9740 { { echo "$as_me:$LINENO: error
: libldap not found or not valid
" >&5
9741 echo "$as_me: error
: libldap not found or not valid
" >&2;}
9742 { (exit 1); exit 1; }; }
9748 { echo "$as_me:$LINENO: result
: $LIBS" >&5
9749 echo "${ECHO_T}$LIBS" >&6; }
9754 # Check whether --with-ldap was given.
9755 if test "${with_ldap+set}" = set; then
9759 if test "x
$withval" != "x
"; then
9760 { echo "$as_me:$LINENO: result
: Using include dir
$withval to
find libldap
" >&5
9761 echo "${ECHO_T}Using include dir
$withval to
find libldap
" >&6; }
9762 CPPFLAGS="$CPPFLAGS -I$withval/include
-L$withval/lib
"
9763 LIBS="$LIBS -L$withval/lib
"
9765 { echo "$as_me:$LINENO: result
: Looking
for ldap
in system
" >&5
9766 echo "${ECHO_T}Looking
for ldap
in system
" >&6; }
9769 { echo "$as_me:$LINENO: checking
for ldap_simple_bind_s
in -lldap" >&5
9770 echo $ECHO_N "checking
for ldap_simple_bind_s
in -lldap...
$ECHO_C" >&6; }
9771 if test "${ac_cv_lib_ldap_ldap_simple_bind_s+set}" = set; then
9772 echo $ECHO_N "(cached
) $ECHO_C" >&6
9774 ac_check_lib_save_LIBS=$LIBS
9776 cat >conftest.$ac_ext <<_ACEOF
9779 cat confdefs.h >>conftest.$ac_ext
9780 cat >>conftest.$ac_ext <<_ACEOF
9781 /* end confdefs.h. */
9783 /* Override any GCC internal prototype to avoid an error.
9784 Use char because int might match the return type of a GCC
9785 builtin and then its argument prototype would still apply. */
9789 char ldap_simple_bind_s ();
9793 return ldap_simple_bind_s ();
9798 rm -f conftest.$ac_objext conftest$ac_exeext
9799 if { (ac_try="$ac_link"
9801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9802 *) ac_try_echo=$ac_try;;
9804 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9805 (eval "$ac_link") 2>conftest.er1
9807 grep -v '^ *+' conftest.er1 >conftest.err
9809 cat conftest.err >&5
9810 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9811 (exit $ac_status); } && {
9812 test -z "$ac_c_werror_flag" ||
9813 test ! -s conftest.err
9814 } && test -s conftest$ac_exeext &&
9815 $as_test_x conftest$ac_exeext; then
9816 ac_cv_lib_ldap_ldap_simple_bind_s=yes
9818 echo "$as_me: failed program was
:" >&5
9819 sed 's/^/| /' conftest.$ac_ext >&5
9821 ac_cv_lib_ldap_ldap_simple_bind_s=no
9824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9825 conftest$ac_exeext conftest.$ac_ext
9826 LIBS=$ac_check_lib_save_LIBS
9828 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ldap_ldap_simple_bind_s" >&5
9829 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_simple_bind_s" >&6; }
9830 if test $ac_cv_lib_ldap_ldap_simple_bind_s = yes; then
9834 for ac_header in ldap.h
9836 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9837 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9838 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9839 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9840 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9841 echo $ECHO_N "(cached
) $ECHO_C" >&6
9843 ac_res=`eval echo '${'$as_ac_Header'}'`
9844 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9845 echo "${ECHO_T}$ac_res" >&6; }
9847 # Is the header compilable?
9848 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9849 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
9850 cat >conftest.$ac_ext <<_ACEOF
9853 cat confdefs.h >>conftest.$ac_ext
9854 cat >>conftest.$ac_ext <<_ACEOF
9855 /* end confdefs.h. */
9856 $ac_includes_default
9857 #include <$ac_header>
9859 rm -f conftest.$ac_objext
9860 if { (ac_try="$ac_compile"
9862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9863 *) ac_try_echo=$ac_try;;
9865 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9866 (eval "$ac_compile") 2>conftest.er1
9868 grep -v '^ *+' conftest.er1 >conftest.err
9870 cat conftest.err >&5
9871 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9872 (exit $ac_status); } && {
9873 test -z "$ac_c_werror_flag" ||
9874 test ! -s conftest.err
9875 } && test -s conftest.$ac_objext; then
9876 ac_header_compiler=yes
9878 echo "$as_me: failed program was
:" >&5
9879 sed 's/^/| /' conftest.$ac_ext >&5
9881 ac_header_compiler=no
9884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9885 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9886 echo "${ECHO_T}$ac_header_compiler" >&6; }
9888 # Is the header present?
9889 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9890 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
9891 cat >conftest.$ac_ext <<_ACEOF
9894 cat confdefs.h >>conftest.$ac_ext
9895 cat >>conftest.$ac_ext <<_ACEOF
9896 /* end confdefs.h. */
9897 #include <$ac_header>
9899 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9902 *) ac_try_echo=$ac_try;;
9904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9905 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9907 grep -v '^ *+' conftest.er1 >conftest.err
9909 cat conftest.err >&5
9910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9911 (exit $ac_status); } >/dev/null && {
9912 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9913 test ! -s conftest.err
9915 ac_header_preproc=yes
9917 echo "$as_me: failed program was
:" >&5
9918 sed 's/^/| /' conftest.$ac_ext >&5
9920 ac_header_preproc=no
9923 rm -f conftest.err conftest.$ac_ext
9924 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9925 echo "${ECHO_T}$ac_header_preproc" >&6; }
9927 # So? What about this header?
9928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9930 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9931 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9932 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9933 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9934 ac_header_preproc=yes
9937 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9938 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9939 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9940 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9941 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9942 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9943 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9944 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9945 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9947 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9948 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9950 ## -------------------------------------------------- ##
9951 ## Report this to evilnet-devel@lists.sourceforge.net ##
9952 ## -------------------------------------------------- ##
9954 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
9957 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9958 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9959 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9960 echo $ECHO_N "(cached
) $ECHO_C" >&6
9962 eval "$as_ac_Header=\
$ac_header_preproc"
9964 ac_res=`eval echo '${'$as_ac_Header'}'`
9965 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9966 echo "${ECHO_T}$ac_res" >&6; }
9969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9970 cat >>confdefs.h <<_ACEOF
9971 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9975 cat >>confdefs.h <<\_ACEOF
9979 ldap_message="LDAP library
: enabled
"
9983 if test "x
$withval" != "x
"; then
9984 { { echo "$as_me:$LINENO: error
: ldap.h not found
" >&5
9985 echo "$as_me: error
: ldap.h not found
" >&2;}
9986 { (exit 1); exit 1; }; }
9996 if test "x
$withval" != "x
"; then
9997 { { echo "$as_me:$LINENO: error
: libldap not found or not valid
" >&5
9998 echo "$as_me: error
: libldap not found or not valid
" >&2;}
9999 { (exit 1); exit 1; }; }
10007 if test "$python" = yes; then
10008 # Extract the first word of "python2
", so it can be a program name with args.
10009 set dummy python2; ac_word=$2
10010 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10011 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10012 if test "${ac_cv_path_pythonpath+set}" = set; then
10013 echo $ECHO_N "(cached
) $ECHO_C" >&6
10015 case $pythonpath in
10017 ac_cv_path_pythonpath="$pythonpath" # Let the user override the test with a path.
10020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10021 for as_dir in $PATH
10024 test -z "$as_dir" && as_dir=.
10025 for ac_exec_ext in '' $ac_executable_extensions; do
10026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10027 ac_cv_path_pythonpath="$as_dir/$ac_word$ac_exec_ext"
10028 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10038 pythonpath=$ac_cv_path_pythonpath
10039 if test -n "$pythonpath"; then
10040 { echo "$as_me:$LINENO: result
: $pythonpath" >&5
10041 echo "${ECHO_T}$pythonpath" >&6; }
10043 { echo "$as_me:$LINENO: result
: no
" >&5
10044 echo "${ECHO_T}no
" >&6; }
10048 if test "_
$pythonpath" = _ ; then
10049 # Extract the first word of "python
", so it can be a program name with args.
10050 set dummy python; ac_word=$2
10051 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10052 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10053 if test "${ac_cv_path_pythonpath+set}" = set; then
10054 echo $ECHO_N "(cached
) $ECHO_C" >&6
10056 case $pythonpath in
10058 ac_cv_path_pythonpath="$pythonpath" # Let the user override the test with a path.
10061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10062 for as_dir in $PATH
10065 test -z "$as_dir" && as_dir=.
10066 for ac_exec_ext in '' $ac_executable_extensions; do
10067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10068 ac_cv_path_pythonpath="$as_dir/$ac_word$ac_exec_ext"
10069 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10079 pythonpath=$ac_cv_path_pythonpath
10080 if test -n "$pythonpath"; then
10081 { echo "$as_me:$LINENO: result
: $pythonpath" >&5
10082 echo "${ECHO_T}$pythonpath" >&6; }
10084 { echo "$as_me:$LINENO: result
: no
" >&5
10085 echo "${ECHO_T}no
" >&6; }
10090 if test "_
$pythonpath" = _ ; then
10093 { echo "$as_me:$LINENO: checking Python version
" >&5
10094 echo $ECHO_N "checking Python version...
$ECHO_C" >&6; }
10095 PY_VER=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("VERSION
")[0];'`
10096 PY_LIB=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(standard_lib=1);'`
10097 PY_INC=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("INCLUDEPY
")[0];'`
10098 $pythonpath -c "import sys
; map
(int
,sys.version
[:3].
split('.')) >= [2,2] or sys.
exit(1)"
10099 { echo "$as_me:$LINENO: result
: $PY_VER" >&5
10100 echo "${ECHO_T}$PY_VER" >&6; }
10101 if test "$?
" != "1"; then
10102 { echo "$as_me:$LINENO: checking Python compile flags
" >&5
10103 echo $ECHO_N "checking Python compile flags...
$ECHO_C" >&6; }
10104 PY_PREFIX=`$pythonpath -c 'import sys; print sys.prefix'`
10105 PY_EXEC_PREFIX=`$pythonpath -c 'import sys; print sys.exec_prefix'`
10106 if test -f $PY_INC/Python.h; then
10108 cat >>confdefs.h <<\_ACEOF
10109 #define WITH_PYTHON 1
10112 PY_LIBS="-L$PY_LIB/config
-lpython$PY_VER -lpthread -lutil"
10113 PY_CFLAGS="-I$PY_INC"
10114 { echo "$as_me:$LINENO: result
: ok
" >&5
10115 echo "${ECHO_T}ok
" >&6; }
10116 CFLAGS="$CFLAGS $PY_CFLAGS"
10117 LIBS="$LIBS $PY_LIBS"
10120 { echo "$as_me:$LINENO: result
: Can
't find Python.h" >&5
10121 echo "${ECHO_T}Can't
find Python.h
" >&6; }
10124 echo "Python too old. Only
2.2 or above is supported.
"
10130 if test "x
$python" = "xyes
"; then
10132 DO_PYTHON_FALSE='#'
10139 { echo "$as_me:$LINENO: result
: $LIBS" >&5
10140 echo "${ECHO_T}$LIBS" >&6; }
10143 cat >>confdefs.h <<_ACEOF
10144 #define CODENAME "${CODENAME}"
10155 ac_config_files="$ac_config_files Makefile rx
/Makefile src
/Makefile
"
10157 cat >confcache <<\_ACEOF
10158 # This file is a shell script that caches the results of configure
10159 # tests run on this system so they can be shared between configure
10160 # scripts and configure runs, see configure's option --config-cache.
10161 # It is not useful on other systems. If it contains results you don't
10162 # want to keep, you may remove or edit it.
10164 # config.status only pays attention to the cache file if you give it
10165 # the --recheck option to rerun configure.
10167 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10168 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10169 # following values.
10173 # The following way of writing the cache mishandles newlines in values,
10174 # but we know of no workaround that is simple, portable, and efficient.
10175 # So, we kill variables containing newlines.
10176 # Ultrix sh set writes to stderr and can't be redirected directly,
10177 # and sets the high bit in the cache file unless we assign to the vars.
10179 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10180 eval ac_val=\$$ac_var
10184 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
10185 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
10188 _ | IFS | as_nl) ;; #(
10189 *) $as_unset $ac_var ;;
10195 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10196 *${as_nl}ac_space=\ *)
10197 # `set' does not quote correctly, so add quotes (double-quote
10198 # substitution turns \\\\ into \\, and sed turns \\ into \).
10201 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
10204 # `set' quotes correctly as required by POSIX, so do not add quotes.
10205 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
10214 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10216 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10218 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10219 if test -w "$cache_file"; then
10220 test "x
$cache_file" != "x
/dev
/null
" &&
10221 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
10222 echo "$as_me: updating cache
$cache_file" >&6;}
10223 cat confcache >$cache_file
10225 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
10226 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
10231 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
10232 # Let make expand exec_prefix.
10233 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
10235 DEFS=-DHAVE_CONFIG_H
10239 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
10240 # 1. Remove the extension, and $U if already installed.
10241 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10242 ac_i=`echo "$ac_i" | sed "$ac_script"`
10243 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10244 # will be set to the directory where LIBOBJS objects are built.
10245 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
10246 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
10248 LIBOBJS=$ac_libobjs
10250 LTLIBOBJS=$ac_ltlibobjs
10253 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10254 { { echo "$as_me:$LINENO: error
: conditional
\"MAINTAINER_MODE
\" was never defined.
10255 Usually this means the macro was only invoked conditionally.
" >&5
10256 echo "$as_me: error
: conditional
\"MAINTAINER_MODE
\" was never defined.
10257 Usually this means the macro was only invoked conditionally.
" >&2;}
10258 { (exit 1); exit 1; }; }
10260 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10261 { { echo "$as_me:$LINENO: error
: conditional
\"AMDEP
\" was never defined.
10262 Usually this means the macro was only invoked conditionally.
" >&5
10263 echo "$as_me: error
: conditional
\"AMDEP
\" was never defined.
10264 Usually this means the macro was only invoked conditionally.
" >&2;}
10265 { (exit 1); exit 1; }; }
10267 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10268 { { echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
10269 Usually this means the macro was only invoked conditionally.
" >&5
10270 echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
10271 Usually this means the macro was only invoked conditionally.
" >&2;}
10272 { (exit 1); exit 1; }; }
10274 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10275 { { echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
10276 Usually this means the macro was only invoked conditionally.
" >&5
10277 echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
10278 Usually this means the macro was only invoked conditionally.
" >&2;}
10279 { (exit 1); exit 1; }; }
10281 if test -z "${DO_PYTHON_TRUE}" && test -z "${DO_PYTHON_FALSE}"; then
10282 { { echo "$as_me:$LINENO: error
: conditional
\"DO_PYTHON
\" was never defined.
10283 Usually this means the macro was only invoked conditionally.
" >&5
10284 echo "$as_me: error
: conditional
\"DO_PYTHON
\" was never defined.
10285 Usually this means the macro was only invoked conditionally.
" >&2;}
10286 { (exit 1); exit 1; }; }
10289 : ${CONFIG_STATUS=./config.status}
10290 ac_clean_files_save=$ac_clean_files
10291 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10292 { echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
10293 echo "$as_me: creating
$CONFIG_STATUS" >&6;}
10294 cat >$CONFIG_STATUS <<_ACEOF
10296 # Generated by $as_me.
10297 # Run this file to recreate the current configuration.
10298 # Compiler output produced by configure, useful for debugging
10299 # configure, is in config.log if it exists.
10302 ac_cs_recheck=false
10304 SHELL=\${CONFIG_SHELL-$SHELL}
10307 cat >>$CONFIG_STATUS <<\_ACEOF
10308 ## --------------------- ##
10309 ## M4sh Initialization. ##
10310 ## --------------------- ##
10312 # Be more Bourne compatible
10313 DUALCASE=1; export DUALCASE # for MKS sh
10314 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10317 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10318 # is contrary to our usage. Disable this feature.
10319 alias -g '${1+"$@"}'='"$@
"'
10320 setopt NO_GLOB_SUBST
10322 case `(set -o) 2>/dev/null` in
10323 *posix*) set -o posix ;;
10332 # Avoid depending upon Character Ranges.
10333 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10334 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10335 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10336 as_cr_digits='0123456789'
10337 as_cr_alnum=$as_cr_Letters$as_cr_digits
10339 # The user is always right.
10340 if test "${PATH_SEPARATOR+set}" != set; then
10341 echo "#! /bin/sh" >conf$$.sh
10342 echo "exit 0" >>conf$$.sh
10344 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10352 # Support unset when possible.
10353 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
10361 # We need space, tab and new line, in precisely that order. Quoting is
10362 # there to prevent editors from complaining about space-tab.
10363 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10364 # splitting by setting IFS to empty value.)
10369 # Find who we are. Look in the path if we contain no directory separator.
10371 *[\\/]* ) as_myself
=$0 ;;
10372 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10373 for as_dir
in $PATH
10376 test -z "$as_dir" && as_dir
=.
10377 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10383 # We did not find ourselves, most probably we were run as `sh COMMAND'
10384 # in which case we are not to be found in the path.
10385 if test "x$as_myself" = x
; then
10388 if test ! -f "$as_myself"; then
10389 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10390 { (exit 1); exit 1; }
10393 # Work around bugs in pre-3.0 UWIN ksh.
10394 for as_var
in ENV MAIL MAILPATH
10395 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10403 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10404 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10405 LC_TELEPHONE LC_TIME
10407 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10408 eval $as_var=C
; export $as_var
10410 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10414 # Required to use basename.
10415 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10416 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10422 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10423 as_basename
=basename
10429 # Name of the executable.
10430 as_me
=`$as_basename -- "$0" ||
10431 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10432 X"$0" : 'X\(//\)$' \| \
10433 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10435 sed '/^.*\/\([^/][^/]*\)\/*$/{
10454 as_lineno_1
=$LINENO
10455 as_lineno_2
=$LINENO
10456 test "x$as_lineno_1" != "x$as_lineno_2" &&
10457 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10459 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10460 # uniformly replaced by the line number. The first 'sed' inserts a
10461 # line-number line after each line using $LINENO; the second 'sed'
10462 # does the real work. The second script uses 'N' to pair each
10463 # line-number line with the line containing $LINENO, and appends
10464 # trailing '-' during substitution so that $LINENO is not a special
10465 # case at line end.
10466 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10467 # scripts with optimization help from Paolo Bonzini. Blame Lee
10468 # E. McMahon (1931-1989) for sed's syntax. :-)
10480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10483 ' >$as_me.lineno
&&
10484 chmod +x
"$as_me.lineno" ||
10485 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10486 { (exit 1); exit 1; }; }
10488 # Don't try to exec as it changes $[0], causing all sort of problems
10489 # (the dirname of $[0] is not the place where we might find the
10490 # original and so on. Autoconf is especially sensitive to this).
10491 .
"./$as_me.lineno"
10492 # Exit status is that of the last command.
10497 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10503 ECHO_C
= ECHO_N
= ECHO_T
=
10504 case `echo -n x` in
10506 case `echo 'x\c'` in
10507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10514 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10515 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10521 rm -f conf$$ conf$$.exe conf$$.
file
10522 if test -d conf$$.dir
; then
10523 rm -f conf$$.dir
/conf$$.
file
10529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10531 # ... but there are two gotchas:
10532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10534 # In both cases, we have to default to `cp -p'.
10535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
10537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10542 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10543 rmdir conf$$.dir
2>/dev
/null
10545 if mkdir -p .
2>/dev
/null
; then
10548 test -d .
/-p && rmdir .
/-p
10552 if test -x / >/dev
/null
2>&1; then
10553 as_test_x
='test -x'
10555 if ls -dL / >/dev
/null
2>&1; then
10562 if test -d "$1"; then
10568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10569 ???[sx]*):;;*)false;;esac;fi
10573 as_executable_p
=$as_test_x
10575 # Sed expression to map a string onto a valid CPP name.
10576 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10578 # Sed expression to map a string onto a valid variable name.
10579 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10584 # Save the log message, to keep $[0] and so on meaningful, and to
10585 # report actual input values of CONFIG_FILES etc. instead of their
10586 # values after options handling.
10588 This file was extended by X3 $as_me 1.7, which was
10589 generated by GNU Autoconf 2.61. Invocation command line was
10591 CONFIG_FILES = $CONFIG_FILES
10592 CONFIG_HEADERS = $CONFIG_HEADERS
10593 CONFIG_LINKS = $CONFIG_LINKS
10594 CONFIG_COMMANDS = $CONFIG_COMMANDS
10597 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10602 cat >>$CONFIG_STATUS <<_ACEOF
10603 # Files that config.status was made for.
10604 config_files="$ac_config_files"
10605 config_headers="$ac_config_headers"
10606 config_commands="$ac_config_commands"
10610 cat >>$CONFIG_STATUS <<\_ACEOF
10612 \`$as_me' instantiates files from templates according to the
10613 current configuration.
10615 Usage: $0 [OPTIONS] [FILE]...
10617 -h, --help print this help, then exit
10618 -V, --version print version number and configuration settings, then exit
10619 -q, --quiet do not print progress messages
10620 -d, --debug don't remove temporary files
10621 --recheck update $as_me by reconfiguring in the same conditions
10622 --file=FILE[:TEMPLATE]
10623 instantiate the configuration file FILE
10624 --header=FILE[:TEMPLATE]
10625 instantiate the configuration header FILE
10627 Configuration files:
10630 Configuration headers:
10633 Configuration commands:
10636 Report bugs to <bug-autoconf@gnu.org>."
10639 cat >>$CONFIG_STATUS <<_ACEOF
10641 X3 config.status 1.7
10642 configured by $0, generated by GNU Autoconf 2.61,
10643 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10645 Copyright (C) 2006 Free Software Foundation, Inc.
10646 This config.status script is free software; the Free Software Foundation
10647 gives unlimited permission to copy, distribute and modify it."
10655 cat >>$CONFIG_STATUS <<\_ACEOF
10656 # If no file are specified by the user, then we need to provide default
10657 # value. By we need to know if files were specified by the user.
10663 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10664 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10675 # Handling of the options.
10676 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10678 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10679 echo "$ac_cs_version"; exit ;;
10680 --debug | --debu | --deb | --de | --d | -d )
10682 --file | --fil | --fi | --f )
10684 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10685 ac_need_defaults
=false
;;
10686 --header | --heade | --head | --hea )
10688 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10689 ac_need_defaults
=false
;;
10691 # Conflict between --help and --header
10692 { echo "$as_me: error: ambiguous option: $1
10693 Try \`$0 --help' for more information." >&2
10694 { (exit 1); exit 1; }; };;
10695 --help | --hel | -h )
10696 echo "$ac_cs_usage"; exit ;;
10697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10698 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10701 # This is an error.
10702 -*) { echo "$as_me: error: unrecognized option: $1
10703 Try \`$0 --help' for more information." >&2
10704 { (exit 1); exit 1; }; } ;;
10706 *) ac_config_targets
="$ac_config_targets $1"
10707 ac_need_defaults
=false
;;
10713 ac_configure_extra_args
=
10715 if $ac_cs_silent; then
10717 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10721 cat >>$CONFIG_STATUS <<_ACEOF
10722 if \$ac_cs_recheck; then
10723 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10724 CONFIG_SHELL=$SHELL
10725 export CONFIG_SHELL
10726 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10730 cat >>$CONFIG_STATUS <<\_ACEOF
10734 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10735 ## Running $as_me. ##
10741 cat >>$CONFIG_STATUS <<_ACEOF
10745 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10749 cat >>$CONFIG_STATUS <<\_ACEOF
10751 # Handling of arguments.
10752 for ac_config_target
in $ac_config_targets
10754 case $ac_config_target in
10755 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
10756 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10757 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10758 "rx/Makefile") CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
10759 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
10761 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10762 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10763 { (exit 1); exit 1; }; };;
10768 # If the user did not use the arguments to specify the items to instantiate,
10769 # then the envvar interface is used. Set only those that are not.
10770 # We use the long form for the default assignment because of an extremely
10771 # bizarre bug on SunOS 4.1.3.
10772 if $ac_need_defaults; then
10773 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10774 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10775 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10778 # Have a temporary directory for convenience. Make it in the build tree
10779 # simply because there is no reason against having it here, and in addition,
10780 # creating and moving files from /tmp can sometimes cause problems.
10781 # Hook for its removal unless debugging.
10782 # Note that there is a small window in which the directory will not be cleaned:
10783 # after its creation but before its name has been assigned to `$tmp'.
10787 trap 'exit_status=$?
10788 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10790 trap '{ (exit 1); exit 1; }' 1 2 13 15
10792 # Create a (secure) tmp directory for tmp files.
10795 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10796 test -n "$tmp" && test -d "$tmp"
10799 tmp
=.
/conf$$
-$RANDOM
10800 (umask 077 && mkdir "$tmp")
10803 echo "$me: cannot create a temporary directory in ." >&2
10804 { (exit 1); exit 1; }
10808 # Set up the sed scripts for CONFIG_FILES section.
10811 # No need to generate the scripts if there are no CONFIG_FILES.
10812 # This happens for instance when ./config.status config.h
10813 if test -n "$CONFIG_FILES"; then
10820 for ac_last_try
in false false false false false
:; do
10821 cat >conf$
$subs.
sed <<_ACEOF
10822 SHELL!$SHELL$ac_delim
10823 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10824 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10825 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10826 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10827 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10828 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10829 exec_prefix!$exec_prefix$ac_delim
10830 prefix!$prefix$ac_delim
10831 program_transform_name!$program_transform_name$ac_delim
10832 bindir!$bindir$ac_delim
10833 sbindir!$sbindir$ac_delim
10834 libexecdir!$libexecdir$ac_delim
10835 datarootdir!$datarootdir$ac_delim
10836 datadir!$datadir$ac_delim
10837 sysconfdir!$sysconfdir$ac_delim
10838 sharedstatedir!$sharedstatedir$ac_delim
10839 localstatedir!$localstatedir$ac_delim
10840 includedir!$includedir$ac_delim
10841 oldincludedir!$oldincludedir$ac_delim
10842 docdir!$docdir$ac_delim
10843 infodir!$infodir$ac_delim
10844 htmldir!$htmldir$ac_delim
10845 dvidir!$dvidir$ac_delim
10846 pdfdir!$pdfdir$ac_delim
10847 psdir!$psdir$ac_delim
10848 libdir!$libdir$ac_delim
10849 localedir!$localedir$ac_delim
10850 mandir!$mandir$ac_delim
10851 DEFS!$DEFS$ac_delim
10852 ECHO_C!$ECHO_C$ac_delim
10853 ECHO_N!$ECHO_N$ac_delim
10854 ECHO_T!$ECHO_T$ac_delim
10855 LIBS!$LIBS$ac_delim
10856 build_alias!$build_alias$ac_delim
10857 host_alias!$host_alias$ac_delim
10858 target_alias!$target_alias$ac_delim
10859 build!$build$ac_delim
10860 build_cpu!$build_cpu$ac_delim
10861 build_vendor!$build_vendor$ac_delim
10862 build_os!$build_os$ac_delim
10863 host!$host$ac_delim
10864 host_cpu!$host_cpu$ac_delim
10865 host_vendor!$host_vendor$ac_delim
10866 host_os!$host_os$ac_delim
10867 target!$target$ac_delim
10868 target_cpu!$target_cpu$ac_delim
10869 target_vendor!$target_vendor$ac_delim
10870 target_os!$target_os$ac_delim
10871 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10872 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10873 INSTALL_DATA!$INSTALL_DATA$ac_delim
10874 am__isrc!$am__isrc$ac_delim
10875 CYGPATH_W!$CYGPATH_W$ac_delim
10876 PACKAGE!$PACKAGE$ac_delim
10877 VERSION!$VERSION$ac_delim
10878 ACLOCAL!$ACLOCAL$ac_delim
10879 AUTOCONF!$AUTOCONF$ac_delim
10880 AUTOMAKE!$AUTOMAKE$ac_delim
10881 AUTOHEADER!$AUTOHEADER$ac_delim
10882 MAKEINFO!$MAKEINFO$ac_delim
10883 install_sh!$install_sh$ac_delim
10884 STRIP!$STRIP$ac_delim
10885 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10886 mkdir_p!$mkdir_p$ac_delim
10888 SET_MAKE!$SET_MAKE$ac_delim
10889 am__leading_dot!$am__leading_dot$ac_delim
10890 AMTAR!$AMTAR$ac_delim
10891 am__tar!$am__tar$ac_delim
10892 am__untar!$am__untar$ac_delim
10893 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
10894 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
10895 MAINT!$MAINT$ac_delim
10897 CFLAGS!$CFLAGS$ac_delim
10898 LDFLAGS!$LDFLAGS$ac_delim
10899 CPPFLAGS!$CPPFLAGS$ac_delim
10900 ac_ct_CC!$ac_ct_CC$ac_delim
10901 EXEEXT!$EXEEXT$ac_delim
10902 OBJEXT!$OBJEXT$ac_delim
10903 DEPDIR!$DEPDIR$ac_delim
10904 am__include!$am__include$ac_delim
10905 am__quote!$am__quote$ac_delim
10906 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10907 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10908 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10909 CCDEPMODE!$CCDEPMODE$ac_delim
10910 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
10911 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
10913 RANLIB!$RANLIB$ac_delim
10914 LN_S!$LN_S$ac_delim
10916 GREP!$GREP$ac_delim
10917 EGREP!$EGREP$ac_delim
10918 MAKER!$MAKER$ac_delim
10921 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10923 elif $ac_last_try; then
10924 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10925 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10926 { (exit 1); exit 1; }; }
10928 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10932 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10933 if test -n "$ac_eof"; then
10934 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10935 ac_eof
=`expr $ac_eof + 1`
10938 cat >>$CONFIG_STATUS <<_ACEOF
10939 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10943 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10944 s/^/s,@/; s/!/@,|#_!!_#|/
10947 s/'"$ac_delim"'$/,g/; t
10949 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10950 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10951 rm -f conf$
$subs.
sed
10952 cat >>$CONFIG_STATUS <<_ACEOF
10958 for ac_last_try
in false false false false false
:; do
10959 cat >conf$
$subs.
sed <<_ACEOF
10960 ALLOCA!$ALLOCA$ac_delim
10961 pythonpath!$pythonpath$ac_delim
10962 DO_PYTHON_TRUE!$DO_PYTHON_TRUE$ac_delim
10963 DO_PYTHON_FALSE!$DO_PYTHON_FALSE$ac_delim
10964 MODULE_OBJS!$MODULE_OBJS$ac_delim
10965 MY_SUBDIRS!$MY_SUBDIRS$ac_delim
10966 RX_INCLUDES!$RX_INCLUDES$ac_delim
10967 RX_LIBS!$RX_LIBS$ac_delim
10968 TRACK!$TRACK$ac_delim
10969 PY_CFLAGS!$PY_CFLAGS$ac_delim
10970 PY_LIBS!$PY_LIBS$ac_delim
10971 LIBOBJS!$LIBOBJS$ac_delim
10972 LTLIBOBJS!$LTLIBOBJS$ac_delim
10975 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
10977 elif $ac_last_try; then
10978 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10979 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10980 { (exit 1); exit 1; }; }
10982 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10986 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10987 if test -n "$ac_eof"; then
10988 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10989 ac_eof
=`expr $ac_eof + 1`
10992 cat >>$CONFIG_STATUS <<_ACEOF
10993 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10994 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10997 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10998 s/^/s,@/; s/!/@,|#_!!_#|/
11001 s/'"$ac_delim"'$/,g/; t
11003 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11004 ' >>$CONFIG_STATUS <conf$
$subs.
sed
11005 rm -f conf$
$subs.
sed
11006 cat >>$CONFIG_STATUS <<_ACEOF
11013 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11014 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11015 # trailing colons and then remove the whole line if VPATH becomes empty
11016 # (actually we leave an empty line to preserve line numbers).
11017 if test "x$srcdir" = x.
; then
11018 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11019 s/:*\$(srcdir):*/:/
11020 s/:*\${srcdir}:*/:/
11022 s/^\([^=]*=[ ]*\):*/\1/
11028 cat >>$CONFIG_STATUS <<\_ACEOF
11029 fi # test -n "$CONFIG_FILES"
11032 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
11035 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11037 case $ac_mode$ac_tag in
11039 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11040 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11041 { (exit 1); exit 1; }; };;
11042 :[FH
]-) ac_tag
=-:-;;
11043 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11060 -) ac_f
="$tmp/stdin";;
11061 *) # Look for the file first in the build tree, then in the source tree
11062 # (if the path is not absolute). The absolute path cannot be DOS-style,
11063 # because $ac_f cannot contain `:'.
11067 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11069 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11070 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11071 { (exit 1); exit 1; }; };;
11073 ac_file_inputs
="$ac_file_inputs $ac_f"
11076 # Let's still pretend it is `configure' which instantiates (i.e., don't
11077 # use $as_me), people would be surprised to read:
11078 # /* config.h. Generated by config.status. */
11079 configure_input
="Generated from "`IFS=:
11080 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11081 if test x
"$ac_file" != x
-; then
11082 configure_input
="$ac_file. $configure_input"
11083 { echo "$as_me:$LINENO: creating $ac_file" >&5
11084 echo "$as_me: creating $ac_file" >&6;}
11088 *:-:* | *:-) cat >"$tmp/stdin";;
11093 ac_dir
=`$as_dirname -- "$ac_file" ||
11094 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11095 X"$ac_file" : 'X\(//\)[^/]' \| \
11096 X"$ac_file" : 'X\(//\)$' \| \
11097 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11103 /^X\(\/\/\)[^/].*/{
11118 -*) as_dir
=.
/$as_dir;;
11120 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11124 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11125 *) as_qdir
=$as_dir;;
11127 as_dirs
="'$as_qdir' $as_dirs"
11128 as_dir
=`$as_dirname -- "$as_dir" ||
11129 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11130 X"$as_dir" : 'X\(//\)[^/]' \| \
11131 X"$as_dir" : 'X\(//\)$' \| \
11132 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11138 /^X\(\/\/\)[^/].*/{
11151 test -d "$as_dir" && break
11153 test -z "$as_dirs" || eval "mkdir $as_dirs"
11154 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11155 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11156 { (exit 1); exit 1; }; }; }
11160 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11162 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11163 # A ".." for each directory in $ac_dir_suffix.
11164 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11165 case $ac_top_builddir_sub in
11166 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11167 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11170 ac_abs_top_builddir
=$ac_pwd
11171 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11172 # for backward compatibility:
11173 ac_top_builddir
=$ac_top_build_prefix
11176 .
) # We are building in place.
11178 ac_top_srcdir
=$ac_top_builddir_sub
11179 ac_abs_top_srcdir
=$ac_pwd ;;
11180 [\\/]* | ?
:[\\/]* ) # Absolute name.
11181 ac_srcdir
=$srcdir$ac_dir_suffix;
11182 ac_top_srcdir
=$srcdir
11183 ac_abs_top_srcdir
=$srcdir ;;
11184 *) # Relative name.
11185 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11186 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11187 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11189 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11199 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11200 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
11202 ac_MKDIR_P
=$MKDIR_P
11204 [\\/$
]* | ?
:[\\/]* ) ;;
11205 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
11209 cat >>$CONFIG_STATUS <<\_ACEOF
11210 # If the template does not know about datarootdir, expand it.
11211 # FIXME: This hack should be removed a few years after 2.60.
11212 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11214 case `sed -n '/datarootdir/ {
11223 ' $ac_file_inputs` in
11224 *datarootdir
*) ac_datarootdir_seen
=yes;;
11225 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
11226 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11227 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11229 cat >>$CONFIG_STATUS <<_ACEOF
11230 ac_datarootdir_hack='
11231 s&@datadir@&$datadir&g
11232 s&@docdir@&$docdir&g
11233 s&@infodir@&$infodir&g
11234 s&@localedir@&$localedir&g
11235 s&@mandir@&$mandir&g
11236 s&\\\${datarootdir}&$datarootdir&g' ;;
11240 # Neutralize VPATH when `$srcdir' = `.'.
11241 # Shell code in configure.ac might set extrasub.
11242 # FIXME: do we really want to maintain this feature?
11243 cat >>$CONFIG_STATUS <<_ACEOF
11247 cat >>$CONFIG_STATUS <<\_ACEOF
11249 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
11250 s
&@configure_input@
&$configure_input&;t t
11251 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11252 s
&@srcdir@
&$ac_srcdir&;t t
11253 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11254 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11255 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11256 s
&@builddir@
&$ac_builddir&;t t
11257 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11258 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11259 s
&@INSTALL@
&$ac_INSTALL&;t t
11260 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
11261 $ac_datarootdir_hack
11262 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out
11264 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11265 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11266 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11267 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11268 which seems to be undefined. Please make sure it is defined." >&5
11269 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11270 which seems to be undefined. Please make sure it is defined." >&2;}
11274 -) cat "$tmp/out"; rm -f "$tmp/out";;
11275 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11284 # Transform confdefs.h into a sed script `conftest.defines', that
11285 # substitutes the proper values into config.h.in to produce config.h.
11286 rm -f conftest.defines conftest.
tail
11287 # First, append a space to every undef/define line, to ease matching.
11288 echo 's/$/ /' >conftest.defines
11289 # Then, protect against being on the right side of a sed subst, or in
11290 # an unquoted here document, in config.status. If some macros were
11291 # called several times there might be several #defines for the same
11292 # symbol, which is useless. But do not sort them, since the last
11293 # AC_DEFINE must be honored.
11294 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
11295 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11296 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11297 # PARAMS is the parameter list in the macro definition--in most cases, it's
11298 # just an empty string.
11299 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11300 ac_dB
='\\)[ (].*,\\1define\\2'
11308 s/^[ ]*#[ ]*define[ ][ ]*//
11313 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11314 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11315 ' >>conftest.defines
11317 # Remove the space that was appended to ease matching.
11318 # Then replace #undef with comments. This is necessary, for
11319 # example, in the case of _POSIX_SOURCE, which is predefined and required
11320 # on some systems where configure will not decide to define it.
11321 # (The regexp can be short, since the line contains either #define or #undef.)
11323 s,^[ #]*u.*,/* & */,' >>conftest.defines
11325 # Break up conftest.defines:
11326 ac_max_sed_lines
=50
11328 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11329 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11330 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11332 ac_in
='$ac_file_inputs'
11333 ac_out
='"$tmp/out1"'
11334 ac_nxt
='"$tmp/out2"'
11338 # Write a here document:
11339 cat >>$CONFIG_STATUS <<_ACEOF
11340 # First, check the format of the line:
11341 cat >"\$tmp/defines.sed" <<\\CEOF
11342 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11343 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11347 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
11349 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11350 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
11351 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
11352 grep . conftest.
tail >/dev
/null
|| break
11353 rm -f conftest.defines
11354 mv conftest.
tail conftest.defines
11356 rm -f conftest.defines conftest.
tail
11358 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11359 cat >>$CONFIG_STATUS <<\_ACEOF
11360 if test x
"$ac_file" != x
-; then
11361 echo "/* $configure_input */" >"$tmp/config.h"
11362 cat "$ac_result" >>"$tmp/config.h"
11363 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
11364 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11365 echo "$as_me: $ac_file is unchanged" >&6;}
11368 mv "$tmp/config.h" $ac_file
11371 echo "/* $configure_input */"
11375 # Compute $ac_file's index in $config_headers.
11378 for _am_header
in $config_headers :; do
11379 case $_am_header in
11380 $_am_arg | $_am_arg:* )
11383 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
11386 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
11387 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11388 X"$_am_arg" : 'X\(//\)[^/]' \| \
11389 X"$_am_arg" : 'X\(//\)$' \| \
11390 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
11392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11396 /^X\(\/\/\)[^/].*/{
11408 s/.*/./; q'`/stamp
-h$_am_stamp_count
11411 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11412 echo "$as_me: executing $ac_file commands" >&6;}
11417 case $ac_file$ac_mode in
11418 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
11419 # Strip MF so we end up with the name of the file.
11420 mf
=`echo "$mf" | sed -e 's/:.*$//'`
11421 # Check whether this is an Automake generated Makefile or not.
11422 # We used to match only the files named `Makefile.in', but
11423 # some people rename them; so instead we look at the file content.
11424 # Grep'ing the first line is not enough: some people post-process
11425 # each Makefile.in and add a new line on top of each file to say so.
11426 # Grep'ing the whole file is not good either: AIX grep has a line
11427 # limit of 2048, but all sed's we know have understand at least 4000.
11428 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
11429 dirpart
=`$as_dirname -- "$mf" ||
11430 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11431 X"$mf" : 'X\(//\)[^/]' \| \
11432 X"$mf" : 'X\(//\)$' \| \
11433 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11439 /^X\(\/\/\)[^/].*/{
11455 # Extract the definition of DEPDIR, am__include, and am__quote
11456 # from the Makefile without running `make'.
11457 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
11458 test -z "$DEPDIR" && continue
11459 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
11460 test -z "am__include" && continue
11461 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
11462 # When using ansi2knr, U may be empty or an underscore; expand it
11463 U
=`sed -n 's/^U = //p' < "$mf"`
11464 # Find all dependency output files, they are included files with
11465 # $(DEPDIR) in their names. We invoke sed twice because it is the
11466 # simplest approach to changing $(DEPDIR) to its actual value in the
11468 for file in `sed -n "
11469 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11470 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11471 # Make sure the directory exists.
11472 test -f "$dirpart/$file" && continue
11473 fdir
=`$as_dirname -- "$file" ||
11474 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11475 X"$file" : 'X\(//\)[^/]' \| \
11476 X"$file" : 'X\(//\)$' \| \
11477 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11483 /^X\(\/\/\)[^/].*/{
11496 { as_dir
=$dirpart/$fdir
11498 -*) as_dir
=.
/$as_dir;;
11500 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11504 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11505 *) as_qdir
=$as_dir;;
11507 as_dirs
="'$as_qdir' $as_dirs"
11508 as_dir
=`$as_dirname -- "$as_dir" ||
11509 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11510 X"$as_dir" : 'X\(//\)[^/]' \| \
11511 X"$as_dir" : 'X\(//\)$' \| \
11512 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11518 /^X\(\/\/\)[^/].*/{
11531 test -d "$as_dir" && break
11533 test -z "$as_dirs" || eval "mkdir $as_dirs"
11534 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11535 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11536 { (exit 1); exit 1; }; }; }
11537 # echo "creating $dirpart/$file"
11538 echo '# dummy' > "$dirpart/$file"
11547 { (exit 0); exit 0; }
11549 chmod +x
$CONFIG_STATUS
11550 ac_clean_files
=$ac_clean_files_save
11553 # configure is writing to config.log, and then calls config.status.
11554 # config.status does its own redirection, appending to config.log.
11555 # Unfortunately, on DOS this fails, as config.log is still kept open
11556 # by configure, so config.status won't be able to write to it; its
11557 # output is simply discarded. So we exec the FD to /dev/null,
11558 # effectively closing config.log, so it can be properly (re)opened and
11559 # appended to by config.status. When coming back to configure, we
11560 # need to make the FD available again.
11561 if test "$no_create" != yes; then
11563 ac_config_status_args
=
11564 test "$silent" = yes &&
11565 ac_config_status_args
="$ac_config_status_args --quiet"
11567 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11569 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11570 # would make configure fail if this is the last instruction.
11571 $ac_cs_success || { (exit 1); exit 1; }
11579 Configuration summary
11580 =====================
11582 X3 is now configured as follows:
11584 * Compilation environment
11589 CPPFLAGS = $CPPFLAGS
11597 Extra Modules: $module_list
11600 Regexp Library TRE $tre_version
11601 Coredumper Library Coredumper $core_version
11605 Install to: $prefix
11607 Now you can proceed with compiling X3