2 # From configure.in Id: configure.in 2000 2008-01-16 01:19:37Z sirvulcan .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for X3 1.5.
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.5'
579 PACKAGE_STRING
='X3 1.5'
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
681 INSTALL_STRIP_PROGRAM
690 MAINTAINER_MODE_FALSE
723 ac_precious_vars
='build_alias
734 # Initialize some variables set by options.
736 ac_init_version
=false
737 # The variables have the same names as the options, with
738 # dashes changed to underlines.
746 program_transform_name
=s
,x
,x
,
754 # Installation directory options.
755 # These are left unexpanded so users can "make install exec_prefix=/foo"
756 # and all the variables that are supposed to be based on exec_prefix
757 # by default will actually change.
758 # Use braces instead of parens because sh, perl, etc. also accept them.
759 # (The list follows the same order as the GNU Coding Standards.)
760 bindir
='${exec_prefix}/bin'
761 sbindir
='${exec_prefix}/sbin'
762 libexecdir
='${exec_prefix}/libexec'
763 datarootdir
='${prefix}/share'
764 datadir
='${datarootdir}'
765 sysconfdir
='${prefix}/etc'
766 sharedstatedir
='${prefix}/com'
767 localstatedir
='${prefix}/var'
768 includedir
='${prefix}/include'
769 oldincludedir
='/usr/include'
770 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
771 infodir
='${datarootdir}/info'
776 libdir
='${exec_prefix}/lib'
777 localedir
='${datarootdir}/locale'
778 mandir
='${datarootdir}/man'
784 # If the previous option needs an argument, assign it.
785 if test -n "$ac_prev"; then
786 eval $ac_prev=\
$ac_option
792 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796 # Accept the important Cygnus configure options, so we can diagnose typos.
798 case $ac_dashdash$ac_option in
802 -bindir | --bindir | --bindi | --bind | --bin | --bi)
804 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
807 -build | --build | --buil | --bui | --bu)
808 ac_prev
=build_alias
;;
809 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
810 build_alias
=$ac_optarg ;;
812 -cache-file | --cache-file | --cache-fil | --cache-fi \
813 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
814 ac_prev
=cache_file
;;
815 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
816 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
817 cache_file
=$ac_optarg ;;
820 cache_file
=config.cache
;;
822 -datadir | --datadir | --datadi | --datad)
824 -datadir=* | --datadir=* | --datadi=* | --datad=*)
825 datadir
=$ac_optarg ;;
827 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
828 | --dataroo | --dataro | --datar)
829 ac_prev
=datarootdir
;;
830 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
831 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
832 datarootdir
=$ac_optarg ;;
834 -disable-* | --disable-*)
835 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
838 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
839 { (exit 1); exit 1; }; }
840 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
841 eval enable_
$ac_feature=no
;;
843 -docdir | --docdir | --docdi | --doc | --do)
845 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
848 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
850 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
853 -enable-* | --enable-*)
854 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
855 # Reject names that are not valid shell variable names.
856 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
857 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
858 { (exit 1); exit 1; }; }
859 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
860 eval enable_
$ac_feature=\
$ac_optarg ;;
862 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
863 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
864 | --exec | --exe | --ex)
865 ac_prev
=exec_prefix
;;
866 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
867 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
868 | --exec=* | --exe=* | --ex=*)
869 exec_prefix
=$ac_optarg ;;
871 -gas | --gas | --ga | --g)
872 # Obsolete; use --with-gas.
875 -help | --help | --hel | --he | -h)
877 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
878 ac_init_help
=recursive
;;
879 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
880 ac_init_help
=short
;;
882 -host | --host | --hos | --ho)
883 ac_prev
=host_alias
;;
884 -host=* | --host=* | --hos=* | --ho=*)
885 host_alias
=$ac_optarg ;;
887 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
889 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
891 htmldir
=$ac_optarg ;;
893 -includedir | --includedir | --includedi | --included | --include \
894 | --includ | --inclu | --incl | --inc)
895 ac_prev
=includedir
;;
896 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
897 | --includ=* | --inclu=* | --incl=* | --inc=*)
898 includedir
=$ac_optarg ;;
900 -infodir | --infodir | --infodi | --infod | --info | --inf)
902 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
903 infodir
=$ac_optarg ;;
905 -libdir | --libdir | --libdi | --libd)
907 -libdir=* | --libdir=* | --libdi=* | --libd=*)
910 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
911 | --libexe | --libex | --libe)
912 ac_prev
=libexecdir
;;
913 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
914 | --libexe=* | --libex=* | --libe=*)
915 libexecdir
=$ac_optarg ;;
917 -localedir | --localedir | --localedi | --localed | --locale)
919 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
920 localedir
=$ac_optarg ;;
922 -localstatedir | --localstatedir | --localstatedi | --localstated \
923 | --localstate | --localstat | --localsta | --localst | --locals)
924 ac_prev
=localstatedir
;;
925 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
926 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
927 localstatedir
=$ac_optarg ;;
929 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
931 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
935 # Obsolete; use --without-fp.
938 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
939 | --no-cr | --no-c | -n)
942 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
943 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
946 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
947 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
948 | --oldin | --oldi | --old | --ol | --o)
949 ac_prev
=oldincludedir
;;
950 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
951 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
952 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
953 oldincludedir
=$ac_optarg ;;
955 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
957 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
960 -program-prefix | --program-prefix | --program-prefi | --program-pref \
961 | --program-pre | --program-pr | --program-p)
962 ac_prev
=program_prefix
;;
963 -program-prefix=* | --program-prefix=* | --program-prefi=* \
964 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
965 program_prefix
=$ac_optarg ;;
967 -program-suffix | --program-suffix | --program-suffi | --program-suff \
968 | --program-suf | --program-su | --program-s)
969 ac_prev
=program_suffix
;;
970 -program-suffix=* | --program-suffix=* | --program-suffi=* \
971 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
972 program_suffix
=$ac_optarg ;;
974 -program-transform-name | --program-transform-name \
975 | --program-transform-nam | --program-transform-na \
976 | --program-transform-n | --program-transform- \
977 | --program-transform | --program-transfor \
978 | --program-transfo | --program-transf \
979 | --program-trans | --program-tran \
980 | --progr-tra | --program-tr | --program-t)
981 ac_prev
=program_transform_name
;;
982 -program-transform-name=* | --program-transform-name=* \
983 | --program-transform-nam=* | --program-transform-na=* \
984 | --program-transform-n=* | --program-transform-=* \
985 | --program-transform=* | --program-transfor=* \
986 | --program-transfo=* | --program-transf=* \
987 | --program-trans=* | --program-tran=* \
988 | --progr-tra=* | --program-tr=* | --program-t=*)
989 program_transform_name
=$ac_optarg ;;
991 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
993 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
996 -psdir | --psdir | --psdi | --psd | --ps)
998 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1002 | -silent | --silent | --silen | --sile | --sil)
1005 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1007 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1009 sbindir
=$ac_optarg ;;
1011 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1012 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1013 | --sharedst | --shareds | --shared | --share | --shar \
1015 ac_prev
=sharedstatedir
;;
1016 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1017 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1018 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1020 sharedstatedir
=$ac_optarg ;;
1022 -site | --site | --sit)
1024 -site=* | --site=* | --sit=*)
1027 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1029 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1030 srcdir
=$ac_optarg ;;
1032 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1033 | --syscon | --sysco | --sysc | --sys | --sy)
1034 ac_prev
=sysconfdir
;;
1035 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1036 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1037 sysconfdir
=$ac_optarg ;;
1039 -target | --target | --targe | --targ | --tar | --ta | --t)
1040 ac_prev
=target_alias
;;
1041 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1042 target_alias
=$ac_optarg ;;
1044 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1047 -version | --version | --versio | --versi | --vers | -V)
1048 ac_init_version
=: ;;
1051 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1054 { echo "$as_me: error: invalid package name: $ac_package" >&2
1055 { (exit 1); exit 1; }; }
1056 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1057 eval with_
$ac_package=\
$ac_optarg ;;
1059 -without-* | --without-*)
1060 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1063 { echo "$as_me: error: invalid package name: $ac_package" >&2
1064 { (exit 1); exit 1; }; }
1065 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1066 eval with_
$ac_package=no
;;
1069 # Obsolete; use --with-x.
1072 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1073 | --x-incl | --x-inc | --x-in | --x-i)
1074 ac_prev
=x_includes
;;
1075 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1076 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1077 x_includes
=$ac_optarg ;;
1079 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1080 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1081 ac_prev
=x_libraries
;;
1082 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1083 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1084 x_libraries
=$ac_optarg ;;
1086 -*) { echo "$as_me: error: unrecognized option: $ac_option
1087 Try \`$0 --help' for more information." >&2
1088 { (exit 1); exit 1; }; }
1092 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1095 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1096 { (exit 1); exit 1; }; }
1097 eval $ac_envvar=\
$ac_optarg
1098 export $ac_envvar ;;
1101 # FIXME: should be removed in autoconf 3.0.
1102 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1103 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1104 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1105 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1111 if test -n "$ac_prev"; then
1112 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1113 { echo "$as_me: error: missing argument to $ac_option" >&2
1114 { (exit 1); exit 1; }; }
1117 # Be sure to have absolute directory names.
1118 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1119 datadir sysconfdir sharedstatedir localstatedir includedir \
1120 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1121 libdir localedir mandir
1123 eval ac_val
=\$
$ac_var
1125 [\\/$
]* | ?
:[\\/]* ) continue;;
1126 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1128 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1129 { (exit 1); exit 1; }; }
1132 # There might be people who depend on the old broken behavior: `$host'
1133 # used to hold the argument of --host etc.
1134 # FIXME: To remove some day.
1137 target
=$target_alias
1139 # FIXME: To remove some day.
1140 if test "x$host_alias" != x
; then
1141 if test "x$build_alias" = x
; then
1142 cross_compiling
=maybe
1143 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1144 If a cross compiler is detected then cross compile mode will be used." >&2
1145 elif test "x$build_alias" != "x$host_alias"; then
1151 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1153 test "$silent" = yes && exec 6>/dev
/null
1156 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1157 ac_ls_di
=`ls -di .` &&
1158 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1159 { echo "$as_me: error: Working directory cannot be determined" >&2
1160 { (exit 1); exit 1; }; }
1161 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1162 { echo "$as_me: error: pwd does not report name of working directory" >&2
1163 { (exit 1); exit 1; }; }
1166 # Find the source files, if location was not specified.
1167 if test -z "$srcdir"; then
1168 ac_srcdir_defaulted
=yes
1169 # Try the directory containing this script, then the parent directory.
1170 ac_confdir
=`$as_dirname -- "$0" ||
1171 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1172 X"$0" : 'X\(//\)[^/]' \| \
1173 X"$0" : 'X\(//\)$' \| \
1174 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1198 ac_srcdir_defaulted
=no
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1201 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1202 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1203 { (exit 1); exit 1; }; }
1205 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1207 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1208 { (exit 1); exit 1; }; }
1210 # When building in place, set srcdir=.
1211 if test "$ac_abs_confdir" = "$ac_pwd"; then
1214 # Remove unnecessary trailing slashes from srcdir.
1215 # Double slashes in file names in object file debugging info
1216 # mess up M-x gdb in Emacs.
1218 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1220 for ac_var
in $ac_precious_vars; do
1221 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1222 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1223 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1224 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1228 # Report the --help message.
1230 if test "$ac_init_help" = "long"; then
1231 # Omit some internal or obsolete options to make the list less imposing.
1232 # This message is too long to be a string in the A/UX 3.1 sh.
1234 \`configure' configures X3 1.5 to adapt to many kinds of systems.
1236 Usage: $0 [OPTION]... [VAR=VALUE]...
1238 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1239 VAR=VALUE. See below for descriptions of some of the useful variables.
1241 Defaults for the options are specified in brackets.
1244 -h, --help display this help and exit
1245 --help=short display options specific to this package
1246 --help=recursive display the short help of all the included packages
1247 -V, --version display version information and exit
1248 -q, --quiet, --silent do not print \`checking...' messages
1249 --cache-file=FILE cache test results in FILE [disabled]
1250 -C, --config-cache alias for \`--cache-file=config.cache'
1251 -n, --no-create do not create output files
1252 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1254 Installation directories:
1255 --prefix=PREFIX install architecture-independent files in PREFIX
1256 [$ac_default_prefix]
1257 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1260 By default, \`make install' will install all the files in
1261 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1262 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1263 for instance \`--prefix=\$HOME'.
1265 For better control, use the options below.
1267 Fine tuning of the installation directories:
1268 --bindir=DIR user executables [EPREFIX/bin]
1269 --sbindir=DIR system admin executables [EPREFIX/sbin]
1270 --libexecdir=DIR program executables [EPREFIX/libexec]
1271 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1272 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1273 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1274 --libdir=DIR object code libraries [EPREFIX/lib]
1275 --includedir=DIR C header files [PREFIX/include]
1276 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1277 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1278 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1279 --infodir=DIR info documentation [DATAROOTDIR/info]
1280 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1281 --mandir=DIR man documentation [DATAROOTDIR/man]
1282 --docdir=DIR documentation root [DATAROOTDIR/doc/x3]
1283 --htmldir=DIR html documentation [DOCDIR]
1284 --dvidir=DIR dvi documentation [DOCDIR]
1285 --pdfdir=DIR pdf documentation [DOCDIR]
1286 --psdir=DIR ps documentation [DOCDIR]
1292 --program-prefix=PREFIX prepend PREFIX to installed program names
1293 --program-suffix=SUFFIX append SUFFIX to installed program names
1294 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1297 --build=BUILD configure
for building on BUILD
[guessed
]
1298 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1299 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1303 if test -n "$ac_init_help"; then
1304 case $ac_init_help in
1305 short
| recursive
) echo "Configuration of X3 1.5:";;
1310 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1311 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1312 --enable-maintainer-mode enable make rules and dependencies not useful
1313 (and sometimes confusing
) to the casual installer
1314 --disable-dependency-tracking speeds up one
-time build
1315 --enable-dependency-tracking do not reject slow dependency extractors
1316 --disable-tokens Disables tokenization of P10 protocol output
1317 (tokens required
if linking to ircu
2.10.11)
1318 --enable-debug Enables debugging behaviors
1319 --enable-modules=list
,of
,modules Enable extra modules
1322 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1323 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1324 --with-malloc=type Enables use of a special malloc library
; one of
:
1325 system
(the default
), boehm
-gc, dmalloc
, mpatrol
, x3
, slab
1326 --with-protocol=name Choose IRC dialect to support
; one of
:
1328 --without-getopt Disables building of the GNU getopt library
1329 --with-tre=PATH Base path to where libtre is installed
, such that
1330 PATH
/lib
/libtre.so and PATH
/include
/tre
/regex.h exist.
1331 --with-coredumper=PATH Base path to where core dumper is installed
, such
1332 that PATH
/lib
/libcoredumper.so and
1333 PATH
/include
/google
/coredumper.h exist.
1334 --with-ssl=PATH Base path to where openssl is installed
1335 --with-ldap=PATH Base path to where the ldap library and headers are installed
,
1336 such that PATH
/include
/ldap.h and PATH
/lib
/libldap.so exist.
1338 Some influential environment variables
:
1339 CC C compiler
command
1340 CFLAGS C compiler flags
1341 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1342 nonstandard directory
<lib dir
>
1343 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1344 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1345 you have headers
in a nonstandard directory
<include dir
>
1348 Use these variables to override the choices made by
`configure' or to help
1349 it to find libraries and programs with nonstandard names/locations.
1351 Report bugs to <evilnet-devel@lists.sourceforge.net>.
1356 if test "$ac_init_help" = "recursive"; then
1357 # If there are subdirs, report their specific --help.
1358 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1359 test -d "$ac_dir" || continue
1363 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1365 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1366 # A ".." for each directory in $ac_dir_suffix.
1367 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1368 case $ac_top_builddir_sub in
1369 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1370 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1373 ac_abs_top_builddir=$ac_pwd
1374 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1375 # for backward compatibility:
1376 ac_top_builddir=$ac_top_build_prefix
1379 .) # We are building in place.
1381 ac_top_srcdir=$ac_top_builddir_sub
1382 ac_abs_top_srcdir=$ac_pwd ;;
1383 [\\/]* | ?:[\\/]* ) # Absolute name.
1384 ac_srcdir=$srcdir$ac_dir_suffix;
1385 ac_top_srcdir=$srcdir
1386 ac_abs_top_srcdir=$srcdir ;;
1388 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1389 ac_top_srcdir=$ac_top_build_prefix$srcdir
1390 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1392 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1394 cd "$ac_dir" || { ac_status=$?; continue; }
1395 # Check for guested configure.
1396 if test -f "$ac_srcdir/configure.gnu"; then
1398 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1399 elif test -f "$ac_srcdir/configure"; then
1401 $SHELL "$ac_srcdir/configure" --help=recursive
1403 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1405 cd "$ac_pwd" || { ac_status=$?; break; }
1409 test -n "$ac_init_help" && exit $ac_status
1410 if $ac_init_version; then
1413 generated by GNU Autoconf 2.61
1415 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1416 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1417 This configure script is free software; the Free Software Foundation
1418 gives unlimited permission to copy, distribute and modify it.
1422 cat >config.log <<_ACEOF
1423 This file contains any messages produced by compilers while
1424 running configure, to aid debugging if configure makes a mistake.
1426 It was created by X3 $as_me 1.5, which was
1427 generated by GNU Autoconf 2.61. Invocation command line was
1439 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1440 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1441 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1442 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1443 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1445 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1446 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1448 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1449 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1450 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1451 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1452 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1453 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1454 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1462 test -z "$as_dir" && as_dir=.
1463 echo "PATH: $as_dir"
1479 # Keep a trace of the command line.
1480 # Strip out --no-create and --no-recursion so they do not pile up.
1481 # Strip out --silent because we don't want to record it for future runs.
1482 # Also quote any args containing shell meta-characters.
1483 # Make two passes to allow for proper duplicate-argument suppression.
1487 ac_must_keep_next=false
1493 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1494 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1495 | -silent | --silent | --silen | --sile | --sil)
1498 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1501 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1503 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1504 if test $ac_must_keep_next = true; then
1505 ac_must_keep_next=false # Got value, back to normal.
1508 *=* | --config-cache | -C | -disable-* | --disable-* \
1509 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1510 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1511 | -with-* | --with-* | -without-* | --without-* | --x)
1512 case "$ac_configure_args0 " in
1513 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1516 -* ) ac_must_keep_next=true ;;
1519 ac_configure_args="$ac_configure_args '$ac_arg'"
1524 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1525 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1527 # When interrupted or exit'd, cleanup temporary files, and complete
1528 # config.log. We remove comments because anyway the quotes in there
1529 # would cause problems or look ugly.
1530 # WARNING: Use '\'' to represent an apostrophe within the trap.
1531 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1532 trap 'exit_status=$?
1533 # Save into config.log some information that might help in debugging.
1538 ## ---------------- ##
1539 ## Cache variables. ##
1540 ## ---------------- ##
1543 # The following way of writing the cache mishandles newlines in values,
1545 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
1546 eval ac_val=\$$ac_var
1550 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1551 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1554 _ | IFS | as_nl) ;; #(
1555 *) $as_unset $ac_var ;;
1560 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1561 *${as_nl}ac_space=\ *)
1563 "s/'\''/'\''\\\\'\'''\''/g;
1564 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1567 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1575 ## ----------------- ##
1576 ## Output variables. ##
1577 ## ----------------- ##
1580 for ac_var in $ac_subst_vars
1582 eval ac_val=\$$ac_var
1584 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1586 echo "$ac_var='\''$ac_val'\''"
1590 if test -n "$ac_subst_files"; then
1592 ## ------------------- ##
1593 ## File substitutions. ##
1594 ## ------------------- ##
1597 for ac_var in $ac_subst_files
1599 eval ac_val=\$$ac_var
1601 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1603 echo "$ac_var='\''$ac_val'\''"
1608 if test -s confdefs.h; then
1618 test "$ac_signal" != 0 &&
1619 echo "$as_me: caught signal $ac_signal"
1620 echo "$as_me: exit $exit_status"
1622 rm -f core *.core core.conftest.* &&
1623 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1626 for ac_signal in 1 2 13 15; do
1627 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1631 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1632 rm -f -r conftest* confdefs.h
1634 # Predefined preprocessor variables.
1636 cat >>confdefs.h <<_ACEOF
1637 #define PACKAGE_NAME "$PACKAGE_NAME"
1641 cat >>confdefs.h <<_ACEOF
1642 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1646 cat >>confdefs.h <<_ACEOF
1647 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1651 cat >>confdefs.h <<_ACEOF
1652 #define PACKAGE_STRING "$PACKAGE_STRING"
1656 cat >>confdefs.h <<_ACEOF
1657 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1661 # Let the site file select an alternate cache file if it wants to.
1662 # Prefer explicitly selected file to automatically selected ones.
1663 if test -n "$CONFIG_SITE"; then
1664 set x "$CONFIG_SITE"
1665 elif test "x$prefix" != xNONE; then
1666 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1668 set x "$ac_default_prefix/share/config.site" \
1669 "$ac_default_prefix/etc/config.site"
1674 if test -r "$ac_site_file"; then
1675 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1676 echo "$as_me: loading site script $ac_site_file" >&6;}
1677 sed 's/^/| /' "$ac_site_file" >&5
1682 if test -r "$cache_file"; then
1683 # Some versions of bash will fail to source /dev/null (special
1684 # files actually), so we avoid doing that.
1685 if test -f "$cache_file"; then
1686 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1687 echo "$as_me: loading cache $cache_file" >&6;}
1689 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1690 *) . "./$cache_file";;
1694 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1695 echo "$as_me: creating cache $cache_file" >&6;}
1699 # Check that the precious variables saved in the cache have kept the same
1701 ac_cache_corrupted=false
1702 for ac_var in $ac_precious_vars; do
1703 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1704 eval ac_new_set=\$ac_env_${ac_var}_set
1705 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1706 eval ac_new_val=\$ac_env_${ac_var}_value
1707 case $ac_old_set,$ac_new_set in
1709 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1710 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1711 ac_cache_corrupted=: ;;
1713 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1714 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1715 ac_cache_corrupted=: ;;
1718 if test "x$ac_old_val" != "x$ac_new_val"; then
1719 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1720 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1721 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1722 echo "$as_me: former value
: $ac_old_val" >&2;}
1723 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1724 echo "$as_me: current value
: $ac_new_val" >&2;}
1725 ac_cache_corrupted=:
1728 # Pass precious variables to config.status.
1729 if test "$ac_new_set" = set; then
1731 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1732 *) ac_arg=$ac_var=$ac_new_val ;;
1734 case " $ac_configure_args " in
1735 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1736 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1740 if $ac_cache_corrupted; then
1741 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1742 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1743 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1744 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1745 { (exit 1); exit 1; }; }
1773 ac_cpp='$CPP $CPPFLAGS'
1774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1780 ac_config_headers="$ac_config_headers src/config.h"
1784 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1785 if test -f "$ac_dir/install-sh"; then
1787 ac_install_sh="$ac_aux_dir/install-sh -c"
1789 elif test -f "$ac_dir/install.sh"; then
1791 ac_install_sh="$ac_aux_dir/install.sh -c"
1793 elif test -f "$ac_dir/shtool"; then
1795 ac_install_sh="$ac_aux_dir/shtool install -c"
1799 if test -z "$ac_aux_dir"; then
1800 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1801 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1802 { (exit 1); exit 1; }; }
1805 # These three variables are undocumented and unsupported,
1806 # and are intended to be withdrawn in a future Autoconf release.
1807 # They can cause serious problems if a builder's source tree is in a directory
1808 # whose full name contains unusual characters.
1809 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1810 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1811 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1814 # Make sure we can run config.sub.
1815 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1816 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1817 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1818 { (exit 1); exit 1; }; }
1820 { echo "$as_me:$LINENO: checking build system type" >&5
1821 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1822 if test "${ac_cv_build+set}" = set; then
1823 echo $ECHO_N "(cached) $ECHO_C" >&6
1825 ac_build_alias=$build_alias
1826 test "x$ac_build_alias" = x &&
1827 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1828 test "x$ac_build_alias" = x &&
1829 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1830 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1831 { (exit 1); exit 1; }; }
1832 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1833 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1834 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1835 { (exit 1); exit 1; }; }
1838 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1839 echo "${ECHO_T}$ac_cv_build" >&6; }
1840 case $ac_cv_build in
1842 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1843 echo "$as_me: error: invalid value of canonical build" >&2;}
1844 { (exit 1); exit 1; }; };;
1847 ac_save_IFS=$IFS; IFS='-'
1853 # Remember, the first character of IFS is used to create $*,
1854 # except with old shells:
1857 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1860 { echo "$as_me:$LINENO: checking host system type" >&5
1861 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1862 if test "${ac_cv_host+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 if test "x$host_alias" = x; then
1866 ac_cv_host=$ac_cv_build
1868 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1869 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1870 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1871 { (exit 1); exit 1; }; }
1875 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1876 echo "${ECHO_T}$ac_cv_host" >&6; }
1879 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1880 echo "$as_me: error: invalid value of canonical host" >&2;}
1881 { (exit 1); exit 1; }; };;
1884 ac_save_IFS=$IFS; IFS='-'
1890 # Remember, the first character of IFS is used to create $*,
1891 # except with old shells:
1894 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1897 { echo "$as_me:$LINENO: checking target system type" >&5
1898 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1899 if test "${ac_cv_target+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 if test "x$target_alias" = x; then
1903 ac_cv_target=$ac_cv_host
1905 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1906 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1907 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1908 { (exit 1); exit 1; }; }
1912 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1913 echo "${ECHO_T}$ac_cv_target" >&6; }
1914 case $ac_cv_target in
1916 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1917 echo "$as_me: error: invalid value of canonical target" >&2;}
1918 { (exit 1); exit 1; }; };;
1920 target=$ac_cv_target
1921 ac_save_IFS=$IFS; IFS='-'
1927 # Remember, the first character of IFS is used to create $*,
1928 # except with old shells:
1931 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1934 # The aliases save the names the user supplied, while $host etc.
1935 # will get canonicalized.
1936 test -n "$target_alias" &&
1937 test "$program_prefix$program_suffix$program_transform_name" = \
1939 program_prefix=${target_alias}-
1940 am__api_version="1.9"
1941 # Find a good install program. We prefer a C program (faster),
1942 # so one script is as good as another. But avoid the broken or
1943 # incompatible versions:
1944 # SysV /etc/install, /usr/sbin/install
1945 # SunOS /usr/etc/install
1946 # IRIX /sbin/install
1948 # AmigaOS /C/install, which installs bootblocks on floppy discs
1949 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1950 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1951 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1952 # OS/2's system install, which has a completely different semantic
1953 # ./install, which can be erroneously created by make from ./install.sh.
1954 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1955 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1956 if test -z "$INSTALL"; then
1957 if test "${ac_cv_path_install+set}" = set; then
1958 echo $ECHO_N "(cached) $ECHO_C" >&6
1960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1964 test -z "$as_dir" && as_dir=.
1965 # Account for people who put trailing slashes in PATH elements.
1967 ./ | .// | /cC/* | \
1968 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1969 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1972 # OSF1 and SCO ODT 3.0 have their own names for install.
1973 # Don't use installbsd from OSF since it installs stuff as root
1975 for ac_prog in ginstall scoinst install; do
1976 for ac_exec_ext in '' $ac_executable_extensions; do
1977 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1978 if test $ac_prog = install &&
1979 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1980 # AIX install. It has an incompatible calling convention.
1982 elif test $ac_prog = install &&
1983 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1984 # program-specific install script used by HP pwplus--don't use.
1987 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2000 if test "${ac_cv_path_install+set}" = set; then
2001 INSTALL=$ac_cv_path_install
2003 # As a last resort, use the slow shell script. Don't cache a
2004 # value for INSTALL within a source directory, because that will
2005 # break other packages using the cache if that directory is
2006 # removed, or if the value is a relative name.
2007 INSTALL=$ac_install_sh
2010 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2011 echo "${ECHO_T}$INSTALL" >&6; }
2013 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2014 # It thinks the first close brace ends the variable substitution.
2015 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2017 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2019 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2021 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2022 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2025 echo timestamp > conftest.file
2026 # Do `set' in a subshell so we don't clobber the current shell
's
2027 # arguments. Must try -L first in case configure is actually a
2028 # symlink; some systems play weird games with the mod time of symlinks
2029 # (eg FreeBSD returns the mod time of the symlink's containing
2032 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2033 if test "$*" = "X"; then
2035 set X
`ls -t $srcdir/configure conftest.file`
2038 if test "$*" != "X $srcdir/configure conftest.file" \
2039 && test "$*" != "X conftest.file $srcdir/configure"; then
2041 # If neither matched, then we have a broken ls. This can happen
2042 # if, for instance, CONFIG_SHELL is bash and it inherits a
2043 # broken ls alias from the environment. This has actually
2044 # happened. Such a system could not be considered "sane".
2045 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2046 alias in your environment" >&5
2047 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2048 alias in your environment" >&2;}
2049 { (exit 1); exit 1; }; }
2052 test "$2" = conftest.
file
2058 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2059 Check your system clock" >&5
2060 echo "$as_me: error: newly created file is older than distributed files!
2061 Check your system clock" >&2;}
2062 { (exit 1); exit 1; }; }
2064 { echo "$as_me:$LINENO: result: yes" >&5
2065 echo "${ECHO_T}yes" >&6; }
2066 test "$program_prefix" != NONE
&&
2067 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2068 # Use a double $ so make ignores it.
2069 test "$program_suffix" != NONE
&&
2070 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2071 # Double any \ or $. echo might interpret backslashes.
2072 # By default was `s,x,x', remove it if useless.
2073 cat <<\_ACEOF
>conftest.
sed
2074 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2076 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2079 # expand $ac_aux_dir to an absolute path
2080 am_aux_dir
=`cd $ac_aux_dir && pwd`
2082 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
2083 # Use eval to expand $SHELL
2084 if eval "$MISSING --run true"; then
2085 am_missing_run
="$MISSING --run "
2088 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2089 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2092 if mkdir -p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2093 # We used to keeping the `.' as first argument, in order to
2094 # allow $(mkdir_p) to be used without argument. As in
2095 # $(mkdir_p) $(somedir)
2096 # where $(somedir) is conditionally defined. However this is wrong
2098 # 1. if the package is installed by a user who cannot write `.'
2099 # make install will fail,
2100 # 2. the above comment should most certainly read
2101 # $(mkdir_p) $(DESTDIR)$(somedir)
2102 # so it does not work when $(somedir) is undefined and
2103 # $(DESTDIR) is not.
2104 # To support the latter case, we have to write
2105 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2106 # so the `.' trick is pointless.
2107 mkdir_p
='mkdir -p --'
2109 # On NextStep and OpenStep, the `mkdir' command does not
2110 # recognize any option. It will interpret all options as
2111 # directories to create, and then abort because `.' already
2113 for d
in .
/-p .
/--version;
2115 test -d $d && rmdir $d
2117 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2118 if test -f "$ac_aux_dir/mkinstalldirs"; then
2119 mkdir_p
='$(mkinstalldirs)'
2121 mkdir_p
='$(install_sh) -d'
2125 for ac_prog
in gawk mawk nawk
awk
2127 # Extract the first word of "$ac_prog", so it can be a program name with args.
2128 set dummy
$ac_prog; ac_word
=$2
2129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2131 if test "${ac_cv_prog_AWK+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 if test -n "$AWK"; then
2135 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir
=.
2142 for ac_exec_ext
in '' $ac_executable_extensions; do
2143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2144 ac_cv_prog_AWK
="$ac_prog"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 if test -n "$AWK"; then
2156 { echo "$as_me:$LINENO: result: $AWK" >&5
2157 echo "${ECHO_T}$AWK" >&6; }
2159 { echo "$as_me:$LINENO: result: no" >&5
2160 echo "${ECHO_T}no" >&6; }
2164 test -n "$AWK" && break
2167 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2168 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2169 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2170 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 cat >conftest.
make <<\_ACEOF
2176 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2178 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2179 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2181 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2183 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2187 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2188 { echo "$as_me:$LINENO: result: yes" >&5
2189 echo "${ECHO_T}yes" >&6; }
2192 { echo "$as_me:$LINENO: result: no" >&5
2193 echo "${ECHO_T}no" >&6; }
2194 SET_MAKE
="MAKE=${MAKE-make}"
2197 rm -rf .tst
2>/dev
/null
2198 mkdir .tst
2>/dev
/null
2199 if test -d .tst
; then
2204 rmdir .tst
2>/dev
/null
2206 # test to see if srcdir already configured
2207 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2208 test -f $srcdir/config.status
; then
2209 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2210 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2211 { (exit 1); exit 1; }; }
2214 # test whether we have cygpath
2215 if test -z "$CYGPATH_W"; then
2216 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2217 CYGPATH_W
='cygpath -w'
2224 # Define the identity of the package.
2229 cat >>confdefs.h
<<_ACEOF
2230 #define PACKAGE "$PACKAGE"
2234 cat >>confdefs.h
<<_ACEOF
2235 #define VERSION "$VERSION"
2238 # Some tools Automake needs.
2240 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2243 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2246 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2249 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2252 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2254 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2256 # Installed binaries are usually stripped using `strip' when the user
2257 # run `make install-strip'. However `strip' might not be the right
2258 # tool to use in cross-compilation environments, therefore Automake
2259 # will honor the `STRIP' environment variable to overrule this program.
2260 if test "$cross_compiling" != no
; then
2261 if test -n "$ac_tool_prefix"; then
2262 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2263 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266 if test "${ac_cv_prog_STRIP+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$STRIP"; then
2270 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir
=.
2277 for ac_exec_ext
in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 STRIP
=$ac_cv_prog_STRIP
2290 if test -n "$STRIP"; then
2291 { echo "$as_me:$LINENO: result: $STRIP" >&5
2292 echo "${ECHO_T}$STRIP" >&6; }
2294 { echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6; }
2300 if test -z "$ac_cv_prog_STRIP"; then
2302 # Extract the first word of "strip", so it can be a program name with args.
2303 set dummy strip
; ac_word
=$2
2304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2306 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2309 if test -n "$ac_ct_STRIP"; then
2310 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir
=.
2317 for ac_exec_ext
in '' $ac_executable_extensions; do
2318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2319 ac_cv_prog_ac_ct_STRIP
="strip"
2320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2329 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2330 if test -n "$ac_ct_STRIP"; then
2331 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2332 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2334 { echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6; }
2338 if test "x$ac_ct_STRIP" = x
; then
2341 case $cross_compiling:$ac_tool_warned in
2343 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2344 whose name does not start with the host triplet. If you think this
2345 configuration is useful to you, please write to autoconf@gnu.org." >&5
2346 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2347 whose name does not start with the host triplet. If you think this
2348 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2349 ac_tool_warned
=yes ;;
2354 STRIP
="$ac_cv_prog_STRIP"
2358 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2360 # We need awk for the "check" target. The system "awk" is bad on
2362 # Always define AMTAR for backward compatibility.
2364 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2366 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2372 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2373 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2374 # Check whether --enable-maintainer-mode was given.
2375 if test "${enable_maintainer_mode+set}" = set; then
2376 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2378 USE_MAINTAINER_MODE
=no
2381 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2382 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2385 if test $USE_MAINTAINER_MODE = yes; then
2386 MAINTAINER_MODE_TRUE
=
2387 MAINTAINER_MODE_FALSE
='#'
2389 MAINTAINER_MODE_TRUE
='#'
2390 MAINTAINER_MODE_FALSE
=
2393 MAINT
=$MAINTAINER_MODE_TRUE
2397 DEPDIR
="${am__leading_dot}deps"
2399 ac_config_commands
="$ac_config_commands depfiles"
2402 am_make
=${MAKE-make}
2403 cat > confinc
<< 'END'
2408 # If we don't find an include directive, just comment out the code.
2409 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2410 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2414 # First try GNU make style include.
2415 echo "include confinc" > confmf
2416 # We grep out `Entering directory' and `Leaving directory'
2417 # messages which can occur if `w' ends up in MAKEFLAGS.
2418 # In particular we don't look at `^make:' because GNU make might
2419 # be invoked under some other name (usually "gmake"), in which
2420 # case it prints its new name instead of `make'.
2421 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2426 # Now try BSD make style include.
2427 if test "$am__include" = "#"; then
2428 echo '.include "confinc"' > confmf
2429 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2430 am__include
=.include
2437 { echo "$as_me:$LINENO: result: $_am_result" >&5
2438 echo "${ECHO_T}$_am_result" >&6; }
2439 rm -f confinc confmf
2441 # Check whether --enable-dependency-tracking was given.
2442 if test "${enable_dependency_tracking+set}" = set; then
2443 enableval
=$enable_dependency_tracking;
2446 if test "x$enable_dependency_tracking" != xno
; then
2447 am_depcomp
="$ac_aux_dir/depcomp"
2452 if test "x$enable_dependency_tracking" != xno; then
2463 ac_cpp
='$CPP $CPPFLAGS'
2464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2467 if test -n "$ac_tool_prefix"; then
2468 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2469 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2472 if test "${ac_cv_prog_CC+set}" = set; then
2473 echo $ECHO_N "(cached) $ECHO_C" >&6
2475 if test -n "$CC"; then
2476 ac_cv_prog_CC
="$CC" # Let the user override the test.
2478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2482 test -z "$as_dir" && as_dir
=.
2483 for ac_exec_ext
in '' $ac_executable_extensions; do
2484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2485 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 if test -n "$CC"; then
2497 { echo "$as_me:$LINENO: result: $CC" >&5
2498 echo "${ECHO_T}$CC" >&6; }
2500 { echo "$as_me:$LINENO: result: no" >&5
2501 echo "${ECHO_T}no" >&6; }
2506 if test -z "$ac_cv_prog_CC"; then
2508 # Extract the first word of "gcc", so it can be a program name with args.
2509 set dummy gcc
; ac_word
=$2
2510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2512 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 if test -n "$ac_ct_CC"; then
2516 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2522 test -z "$as_dir" && as_dir
=.
2523 for ac_exec_ext
in '' $ac_executable_extensions; do
2524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2525 ac_cv_prog_ac_ct_CC
="gcc"
2526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2535 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2536 if test -n "$ac_ct_CC"; then
2537 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2538 echo "${ECHO_T}$ac_ct_CC" >&6; }
2540 { echo "$as_me:$LINENO: result: no" >&5
2541 echo "${ECHO_T}no" >&6; }
2544 if test "x$ac_ct_CC" = x
; then
2547 case $cross_compiling:$ac_tool_warned in
2549 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2550 whose name does not start with the host triplet. If you think this
2551 configuration is useful to you, please write to autoconf@gnu.org." >&5
2552 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2553 whose name does not start with the host triplet. If you think this
2554 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2555 ac_tool_warned
=yes ;;
2563 if test -z "$CC"; then
2564 if test -n "$ac_tool_prefix"; then
2565 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2566 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2569 if test "${ac_cv_prog_CC+set}" = set; then
2570 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 if test -n "$CC"; then
2573 ac_cv_prog_CC
="$CC" # Let the user override the test.
2575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir
=.
2580 for ac_exec_ext
in '' $ac_executable_extensions; do
2581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 if test -n "$CC"; then
2594 { echo "$as_me:$LINENO: result: $CC" >&5
2595 echo "${ECHO_T}$CC" >&6; }
2597 { echo "$as_me:$LINENO: result: no" >&5
2598 echo "${ECHO_T}no" >&6; }
2604 if test -z "$CC"; then
2605 # Extract the first word of "cc", so it can be a program name with args.
2606 set dummy cc
; ac_word
=$2
2607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2609 if test "${ac_cv_prog_CC+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 if test -n "$CC"; then
2613 ac_cv_prog_CC
="$CC" # Let the user override the test.
2616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2620 test -z "$as_dir" && as_dir
=.
2621 for ac_exec_ext
in '' $ac_executable_extensions; do
2622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2624 ac_prog_rejected
=yes
2628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 if test $ac_prog_rejected = yes; then
2636 # We found a bogon in the path, so make sure we never use it.
2637 set dummy
$ac_cv_prog_CC
2639 if test $# != 0; then
2640 # We chose a different compiler from the bogus one.
2641 # However, it has the same basename, so the bogon will be chosen
2642 # first if we set CC to just the basename; use the full file name.
2644 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2650 if test -n "$CC"; then
2651 { echo "$as_me:$LINENO: result: $CC" >&5
2652 echo "${ECHO_T}$CC" >&6; }
2654 { echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6; }
2660 if test -z "$CC"; then
2661 if test -n "$ac_tool_prefix"; then
2662 for ac_prog
in cl.exe
2664 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2665 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2668 if test "${ac_cv_prog_CC+set}" = set; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 if test -n "$CC"; then
2672 ac_cv_prog_CC
="$CC" # Let the user override the test.
2674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir
=.
2679 for ac_exec_ext
in '' $ac_executable_extensions; do
2680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2681 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 if test -n "$CC"; then
2693 { echo "$as_me:$LINENO: result: $CC" >&5
2694 echo "${ECHO_T}$CC" >&6; }
2696 { echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6; }
2701 test -n "$CC" && break
2704 if test -z "$CC"; then
2706 for ac_prog
in cl.exe
2708 # Extract the first word of "$ac_prog", so it can be a program name with args.
2709 set dummy
$ac_prog; ac_word
=$2
2710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2712 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2713 echo $ECHO_N "(cached) $ECHO_C" >&6
2715 if test -n "$ac_ct_CC"; then
2716 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2722 test -z "$as_dir" && as_dir
=.
2723 for ac_exec_ext
in '' $ac_executable_extensions; do
2724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2725 ac_cv_prog_ac_ct_CC
="$ac_prog"
2726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2735 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2736 if test -n "$ac_ct_CC"; then
2737 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2738 echo "${ECHO_T}$ac_ct_CC" >&6; }
2740 { echo "$as_me:$LINENO: result: no" >&5
2741 echo "${ECHO_T}no" >&6; }
2745 test -n "$ac_ct_CC" && break
2748 if test "x$ac_ct_CC" = x
; then
2751 case $cross_compiling:$ac_tool_warned in
2753 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2754 whose name does not start with the host triplet. If you think this
2755 configuration is useful to you, please write to autoconf@gnu.org." >&5
2756 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2757 whose name does not start with the host triplet. If you think this
2758 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2759 ac_tool_warned
=yes ;;
2768 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2769 See \`config.log' for more details." >&5
2770 echo "$as_me: error: no acceptable C compiler found in \$PATH
2771 See \`config.log' for more details." >&2;}
2772 { (exit 1); exit 1; }; }
2774 # Provide some information about the compiler.
2775 echo "$as_me:$LINENO: checking for C compiler version" >&5
2776 ac_compiler
=`set X $ac_compile; echo $2`
2777 { (ac_try
="$ac_compiler --version >&5"
2779 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2783 (eval "$ac_compiler --version >&5") 2>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }
2787 { (ac_try="$ac_compiler -v >&5"
2789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2790 *) ac_try_echo
=$ac_try;;
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compiler -v >&5") 2>&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }
2797 { (ac_try
="$ac_compiler -V >&5"
2799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2803 (eval "$ac_compiler -V >&5") 2>&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }
2808 cat >conftest.$ac_ext <<_ACEOF
2811 cat confdefs.h >>conftest.$ac_ext
2812 cat >>conftest.$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2823 ac_clean_files_save=$ac_clean_files
2824 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2825 # Try to create an executable without -o first, disregard a.out.
2826 # It will help us diagnose broken compilers, and finding out an intuition
2828 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2829 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2830 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2832 # List of possible output files, starting from the most likely.
2833 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2834 # only as a last resort. b.out is created by i960 compilers.
2835 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2837 # The IRIX 6 linker writes into existing files which may not be
2838 # executable, retaining their permissions. Remove them first so a
2839 # subsequent execution test works.
2841 for ac_file in $ac_files
2844 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2845 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2850 if { (ac_try="$ac_link_default"
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2856 (eval "$ac_link_default") 2>&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; then
2860 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2861 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2862 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2863 # so that the user can short-circuit this test for compilers unknown to
2865 for ac_file
in $ac_files ''
2867 test -f "$ac_file" || continue
2869 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
2872 # We found the default executable, but exeext='' is most
2876 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2878 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2880 # We set ac_cv_exeext here because the later test for it is not
2881 # safe: cross compilers may not add the suffix if given an `-o'
2882 # argument, so we may need to know it at that point already.
2883 # Even if this section looks crufty: it has the advantage of
2890 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2896 { echo "$as_me:$LINENO: result: $ac_file" >&5
2897 echo "${ECHO_T}$ac_file" >&6; }
2898 if test -z "$ac_file"; then
2899 echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.
$ac_ext >&5
2902 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2903 See \`config.log' for more details." >&5
2904 echo "$as_me: error: C compiler cannot create executables
2905 See \`config.log' for more details." >&2;}
2906 { (exit 77); exit 77; }; }
2909 ac_exeext
=$ac_cv_exeext
2911 # Check that the compiler produces executables we can run. If not, either
2912 # the compiler is broken, or we cross compile.
2913 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2914 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2915 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2916 # If not cross compiling, check that we can run a simple program.
2917 if test "$cross_compiling" != yes; then
2918 if { ac_try
='./$ac_file'
2919 { (case "(($ac_try" in
2920 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2924 (eval "$ac_try") 2>&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then
2930 if test "$cross_compiling" = maybe; then
2933 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2934 If you meant to cross compile, use \`--host'.
2935 See \`config.log' for more details.
" >&5
2936 echo "$as_me: error
: cannot run C compiled programs.
2937 If you meant to cross compile
, use \
`--host'.
2938 See \`config.log
' for more details." >&2;}
2939 { (exit 1); exit 1; }; }
2943 { echo "$as_me:$LINENO: result: yes" >&5
2944 echo "${ECHO_T}yes" >&6; }
2946 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2947 ac_clean_files=$ac_clean_files_save
2948 # Check that the compiler produces executables we can run. If not, either
2949 # the compiler is broken, or we cross compile.
2950 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2951 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2952 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2953 echo "${ECHO_T}$cross_compiling" >&6; }
2955 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2956 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2957 if { (ac_try="$ac_link"
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_link") 2>&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); }; then
2967 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2968 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2969 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2971 for ac_file
in conftest.exe conftest conftest.
*; do
2972 test -f "$ac_file" || continue
2974 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
2975 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2981 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2982 See \`config.log' for more details." >&5
2983 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2984 See \`config.log' for more details." >&2;}
2985 { (exit 1); exit 1; }; }
2988 rm -f conftest
$ac_cv_exeext
2989 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2990 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2992 rm -f conftest.
$ac_ext
2993 EXEEXT
=$ac_cv_exeext
2995 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2996 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2997 if test "${ac_cv_objext+set}" = set; then
2998 echo $ECHO_N "(cached) $ECHO_C" >&6
3000 cat >conftest.
$ac_ext <<_ACEOF
3003 cat confdefs.h
>>conftest.
$ac_ext
3004 cat >>conftest.
$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3015 rm -f conftest.o conftest.obj
3016 if { (ac_try
="$ac_compile"
3018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3019 *) ac_try_echo=$ac_try;;
3021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3022 (eval "$ac_compile") 2>&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; then
3026 for ac_file in conftest.o conftest.obj conftest.*; do
3027 test -f "$ac_file" || continue;
3029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3030 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3035 echo "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.$ac_ext >&5
3038 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3039 See \`config.log
' for more details." >&5
3040 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3041 See \`config.log' for more details.
" >&2;}
3042 { (exit 1); exit 1; }; }
3045 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3047 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3048 echo "${ECHO_T}$ac_cv_objext" >&6; }
3049 OBJEXT=$ac_cv_objext
3051 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3052 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3053 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3054 echo $ECHO_N "(cached
) $ECHO_C" >&6
3056 cat >conftest.$ac_ext <<_ACEOF
3059 cat confdefs.h >>conftest.$ac_ext
3060 cat >>conftest.$ac_ext <<_ACEOF
3061 /* end confdefs.h. */
3074 rm -f conftest.$ac_objext
3075 if { (ac_try="$ac_compile"
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3081 (eval "$ac_compile") 2>conftest.er1
3083 grep -v '^ *+' conftest.er1 >conftest.err
3085 cat conftest.err >&5
3086 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3087 (exit $ac_status); } && {
3088 test -z "$ac_c_werror_flag" ||
3089 test ! -s conftest.err
3090 } && test -s conftest.$ac_objext; then
3093 echo "$as_me: failed program was
:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3103 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3104 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3105 GCC=`test $ac_compiler_gnu = yes && echo yes`
3106 ac_test_CFLAGS=${CFLAGS+set}
3107 ac_save_CFLAGS=$CFLAGS
3108 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3109 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3110 if test "${ac_cv_prog_cc_g+set}" = set; then
3111 echo $ECHO_N "(cached
) $ECHO_C" >&6
3113 ac_save_c_werror_flag=$ac_c_werror_flag
3114 ac_c_werror_flag=yes
3117 cat >conftest.$ac_ext <<_ACEOF
3120 cat confdefs.h >>conftest.$ac_ext
3121 cat >>conftest.$ac_ext <<_ACEOF
3122 /* end confdefs.h. */
3132 rm -f conftest.$ac_objext
3133 if { (ac_try="$ac_compile"
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3139 (eval "$ac_compile") 2>conftest.er1
3141 grep -v '^ *+' conftest.er1 >conftest.err
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3145 (exit $ac_status); } && {
3146 test -z "$ac_c_werror_flag" ||
3147 test ! -s conftest.err
3148 } && test -s conftest.$ac_objext; then
3151 echo "$as_me: failed program was
:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3155 cat >conftest.$ac_ext <<_ACEOF
3158 cat confdefs.h >>conftest.$ac_ext
3159 cat >>conftest.$ac_ext <<_ACEOF
3160 /* end confdefs.h. */
3170 rm -f conftest.$ac_objext
3171 if { (ac_try="$ac_compile"
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3176 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3177 (eval "$ac_compile") 2>conftest.er1
3179 grep -v '^ *+' conftest.er1 >conftest.err
3181 cat conftest.err >&5
3182 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3183 (exit $ac_status); } && {
3184 test -z "$ac_c_werror_flag" ||
3185 test ! -s conftest.err
3186 } && test -s conftest.$ac_objext; then
3189 echo "$as_me: failed program was
:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3192 ac_c_werror_flag=$ac_save_c_werror_flag
3194 cat >conftest.$ac_ext <<_ACEOF
3197 cat confdefs.h >>conftest.$ac_ext
3198 cat >>conftest.$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3209 rm -f conftest.$ac_objext
3210 if { (ac_try="$ac_compile"
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3216 (eval "$ac_compile") 2>conftest.er1
3218 grep -v '^ *+' conftest.er1 >conftest.err
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3222 (exit $ac_status); } && {
3223 test -z "$ac_c_werror_flag" ||
3224 test ! -s conftest.err
3225 } && test -s conftest.$ac_objext; then
3228 echo "$as_me: failed program was
:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 ac_c_werror_flag=$ac_save_c_werror_flag
3243 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3244 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3245 if test "$ac_test_CFLAGS" = set; then
3246 CFLAGS=$ac_save_CFLAGS
3247 elif test $ac_cv_prog_cc_g = yes; then
3248 if test "$GCC" = yes; then
3254 if test "$GCC" = yes; then
3260 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3261 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3262 if test "${ac_cv_prog_cc_c89+set}" = set; then
3263 echo $ECHO_N "(cached
) $ECHO_C" >&6
3265 ac_cv_prog_cc_c89=no
3267 cat >conftest.$ac_ext <<_ACEOF
3270 cat confdefs.h >>conftest.$ac_ext
3271 cat >>conftest.$ac_ext <<_ACEOF
3272 /* end confdefs.h. */
3275 #include <sys/types.h>
3276 #include <sys/stat.h>
3277 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3278 struct buf { int x; };
3279 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3280 static char *e (p, i)
3286 static char *f (char * (*g) (char **, int), char **p, ...)
3291 s = g (p, va_arg (v,int));
3296 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3297 function prototypes and stuff, but not '\xHH' hex character constants.
3298 These don't provoke an error unfortunately, instead are silently treated
3299 as 'x'. The following induces an error, until -std is added to get
3300 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3301 array size at least. It's necessary to write '\x00'==0 to get something
3302 that's true only with -std. */
3303 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3305 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3306 inside strings and character constants. */
3308 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3310 int test (int i, double x);
3311 struct s1 {int (*f) (int a);};
3312 struct s2 {int (*f) (double a);};
3313 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3319 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3324 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3325 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3327 CC="$ac_save_CC $ac_arg"
3328 rm -f conftest.$ac_objext
3329 if { (ac_try="$ac_compile"
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3334 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3335 (eval "$ac_compile") 2>conftest.er1
3337 grep -v '^ *+' conftest.er1 >conftest.err
3339 cat conftest.err >&5
3340 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3341 (exit $ac_status); } && {
3342 test -z "$ac_c_werror_flag" ||
3343 test ! -s conftest.err
3344 } && test -s conftest.$ac_objext; then
3345 ac_cv_prog_cc_c89=$ac_arg
3347 echo "$as_me: failed program was
:" >&5
3348 sed 's/^/| /' conftest.$ac_ext >&5
3353 rm -f core conftest.err conftest.$ac_objext
3354 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3356 rm -f conftest.$ac_ext
3361 case "x
$ac_cv_prog_cc_c89" in
3363 { echo "$as_me:$LINENO: result
: none needed
" >&5
3364 echo "${ECHO_T}none needed
" >&6; } ;;
3366 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3367 echo "${ECHO_T}unsupported
" >&6; } ;;
3369 CC="$CC $ac_cv_prog_cc_c89"
3370 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3371 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3376 ac_cpp='$CPP $CPPFLAGS'
3377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3381 depcc="$CC" am_compiler_list=
3383 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3384 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3385 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3386 echo $ECHO_N "(cached
) $ECHO_C" >&6
3388 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3389 # We make a subdir and do the tests there. Otherwise we can end up
3390 # making bogus files that we don't know about and never remove. For
3391 # instance it was reported that on HP-UX the gcc test will end up
3392 # making a dummy file named `D' -- because `-MD' means `put the output
3395 # Copy depcomp to subdir because otherwise we won't find it if we're
3396 # using a relative directory.
3397 cp "$am_depcomp" conftest.dir
3399 # We will build objects and dependencies in a subdirectory because
3400 # it helps to detect inapplicable dependency modes. For instance
3401 # both Tru64's cc and ICC support -MD to output dependencies as a
3402 # side effect of compilation, but ICC will put the dependencies in
3403 # the current directory while Tru64 will put them in the object
3407 am_cv_CC_dependencies_compiler_type=none
3408 if test "$am_compiler_list" = ""; then
3409 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3411 for depmode in $am_compiler_list; do
3412 # Setup a source with many dependencies, because some compilers
3413 # like to wrap large dependency lists on column 80 (with \), and
3414 # we should not choose a depcomp mode which is confused by this.
3416 # We need to recreate these files for each test, as the compiler may
3417 # overwrite some of them when testing with obscure command lines.
3418 # This happens at least with the AIX C compiler.
3420 for i in 1 2 3 4 5 6; do
3421 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3422 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3423 # Solaris 8's {/usr,}/bin/sh.
3424 touch sub/conftst$i.h
3426 echo "${am__include} ${am__quote}sub
/conftest.Po
${am__quote}" > confmf
3430 # after this tag, mechanisms are not by side-effect, so they'll
3431 # only be used when explicitly requested
3432 if test "x
$enable_dependency_tracking" = xyes; then
3440 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3441 # mode. It turns out that the SunPro C++ compiler does not properly
3442 # handle `-M -o', and we need to detect this.
3443 if depmode=$depmode \
3444 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3445 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3446 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3447 >/dev/null 2>conftest.err &&
3448 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3449 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3450 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3451 # icc doesn't choke on unknown options, it will just issue warnings
3452 # or remarks (even with -Werror). So we grep stderr for any message
3453 # that says an option was ignored or not supported.
3454 # When given -MP, icc 7.0 and 7.1 complain thusly:
3455 # icc: Command line warning: ignoring option '-M'; no argument required
3456 # The diagnosis changed in icc 8.0:
3457 # icc: Command line remark: option '-MP' not supported
3458 if (grep 'ignoring option' conftest.err ||
3459 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3460 am_cv_CC_dependencies_compiler_type=$depmode
3469 am_cv_CC_dependencies_compiler_type=none
3473 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3474 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3475 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3480 test "x
$enable_dependency_tracking" != xno \
3481 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3483 am__fastdepCC_FALSE='#'
3485 am__fastdepCC_TRUE='#'
3486 am__fastdepCC_FALSE=
3491 { echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
3492 echo $ECHO_N "checking
return type of signal handlers...
$ECHO_C" >&6; }
3493 if test "${ac_cv_type_signal+set}" = set; then
3494 echo $ECHO_N "(cached
) $ECHO_C" >&6
3496 cat >conftest.$ac_ext <<_ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3502 #include <sys/types.h>
3508 return *(signal (0, 0)) (0) == 1;
3513 rm -f conftest.$ac_objext
3514 if { (ac_try="$ac_compile"
3516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517 *) ac_try_echo=$ac_try;;
3519 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3520 (eval "$ac_compile") 2>conftest.er1
3522 grep -v '^ *+' conftest.er1 >conftest.err
3524 cat conftest.err >&5
3525 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3526 (exit $ac_status); } && {
3527 test -z "$ac_c_werror_flag" ||
3528 test ! -s conftest.err
3529 } && test -s conftest.$ac_objext; then
3530 ac_cv_type_signal=int
3532 echo "$as_me: failed program was
:" >&5
3533 sed 's/^/| /' conftest.$ac_ext >&5
3535 ac_cv_type_signal=void
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 { echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
3541 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
3543 cat >>confdefs.h <<_ACEOF
3544 #define RETSIGTYPE $ac_cv_type_signal
3548 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
3549 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
3550 if test "${ac_cv_c_const+set}" = set; then
3551 echo $ECHO_N "(cached
) $ECHO_C" >&6
3553 cat >conftest.$ac_ext <<_ACEOF
3556 cat confdefs.h >>conftest.$ac_ext
3557 cat >>conftest.$ac_ext <<_ACEOF
3558 /* end confdefs.h. */
3563 /* FIXME: Include the comments suggested by Paul. */
3565 /* Ultrix mips cc rejects this. */
3566 typedef int charset[2];
3568 /* SunOS 4.1.1 cc rejects this. */
3569 char const *const *pcpcc;
3571 /* NEC SVR4.0.2 mips cc rejects this. */
3572 struct point {int x, y;};
3573 static struct point const zero = {0,0};
3574 /* AIX XL C 1.02.0.0 rejects this.
3575 It does not let you subtract one const X* pointer from another in
3576 an arm of an if-expression whose if-part is not a constant
3578 const char *g = "string
";
3579 pcpcc = &g + (g ? g-g : 0);
3580 /* HPUX 7.0 cc rejects these. */
3582 ppc = (char**) pcpcc;
3583 pcpcc = (char const *const *) ppc;
3584 { /* SCO 3.2v4 cc rejects this. */
3586 char const *s = 0 ? (char *) 0 : (char const *) 0;
3591 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3593 const int *foo = &x[0];
3596 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3597 typedef const int *iptr;
3601 { /* AIX XL C 1.02.0.0 rejects this saying
3602 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3603 struct s { int j; const int *ap[3]; };
3604 struct s *b; b->j = 5;
3606 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3610 return !cs[0] && !zero.x;
3617 rm -f conftest.$ac_objext
3618 if { (ac_try="$ac_compile"
3620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621 *) ac_try_echo=$ac_try;;
3623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3624 (eval "$ac_compile") 2>conftest.er1
3626 grep -v '^ *+' conftest.er1 >conftest.err
3628 cat conftest.err >&5
3629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3630 (exit $ac_status); } && {
3631 test -z "$ac_c_werror_flag" ||
3632 test ! -s conftest.err
3633 } && test -s conftest.$ac_objext; then
3636 echo "$as_me: failed program was
:" >&5
3637 sed 's/^/| /' conftest.$ac_ext >&5
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3644 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
3645 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3646 if test $ac_cv_c_const = no; then
3648 cat >>confdefs.h <<\_ACEOF
3654 { echo "$as_me:$LINENO: checking
for inline
" >&5
3655 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
3656 if test "${ac_cv_c_inline+set}" = set; then
3657 echo $ECHO_N "(cached
) $ECHO_C" >&6
3660 for ac_kw in inline __inline__ __inline; do
3661 cat >conftest.$ac_ext <<_ACEOF
3664 cat confdefs.h >>conftest.$ac_ext
3665 cat >>conftest.$ac_ext <<_ACEOF
3666 /* end confdefs.h. */
3669 static $ac_kw foo_t static_foo () {return 0; }
3670 $ac_kw foo_t foo () {return 0; }
3674 rm -f conftest.$ac_objext
3675 if { (ac_try="$ac_compile"
3677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3678 *) ac_try_echo=$ac_try;;
3680 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3681 (eval "$ac_compile") 2>conftest.er1
3683 grep -v '^ *+' conftest.er1 >conftest.err
3685 cat conftest.err >&5
3686 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3687 (exit $ac_status); } && {
3688 test -z "$ac_c_werror_flag" ||
3689 test ! -s conftest.err
3690 } && test -s conftest.$ac_objext; then
3691 ac_cv_c_inline=$ac_kw
3693 echo "$as_me: failed program was
:" >&5
3694 sed 's/^/| /' conftest.$ac_ext >&5
3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700 test "$ac_cv_c_inline" != no && break
3704 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
3705 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3708 case $ac_cv_c_inline in
3711 case $ac_cv_c_inline in
3713 *) ac_val=$ac_cv_c_inline;;
3715 cat >>confdefs.h <<_ACEOF
3717 #define inline $ac_val
3724 for ac_prog in gawk mawk nawk awk
3726 # Extract the first word of "$ac_prog", so it can be a program name with args.
3727 set dummy $ac_prog; ac_word=$2
3728 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3729 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3730 if test "${ac_cv_prog_AWK+set}" = set; then
3731 echo $ECHO_N "(cached
) $ECHO_C" >&6
3733 if test -n "$AWK"; then
3734 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 test -z "$as_dir" && as_dir=.
3741 for ac_exec_ext in '' $ac_executable_extensions; do
3742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3743 ac_cv_prog_AWK="$ac_prog"
3744 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3754 if test -n "$AWK"; then
3755 { echo "$as_me:$LINENO: result
: $AWK" >&5
3756 echo "${ECHO_T}$AWK" >&6; }
3758 { echo "$as_me:$LINENO: result
: no
" >&5
3759 echo "${ECHO_T}no
" >&6; }
3763 test -n "$AWK" && break
3767 ac_cpp='$CPP $CPPFLAGS'
3768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3771 if test -n "$ac_tool_prefix"; then
3772 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3773 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3774 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3775 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3776 if test "${ac_cv_prog_CC+set}" = set; then
3777 echo $ECHO_N "(cached
) $ECHO_C" >&6
3779 if test -n "$CC"; then
3780 ac_cv_prog_CC="$CC" # Let the user override the test.
3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 test -z "$as_dir" && as_dir=.
3787 for ac_exec_ext in '' $ac_executable_extensions; do
3788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3789 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3790 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3800 if test -n "$CC"; then
3801 { echo "$as_me:$LINENO: result
: $CC" >&5
3802 echo "${ECHO_T}$CC" >&6; }
3804 { echo "$as_me:$LINENO: result
: no
" >&5
3805 echo "${ECHO_T}no
" >&6; }
3810 if test -z "$ac_cv_prog_CC"; then
3812 # Extract the first word of "gcc
", so it can be a program name with args.
3813 set dummy gcc; ac_word=$2
3814 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3815 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3816 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3817 echo $ECHO_N "(cached
) $ECHO_C" >&6
3819 if test -n "$ac_ct_CC"; then
3820 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3829 ac_cv_prog_ac_ct_CC="gcc
"
3830 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3839 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3840 if test -n "$ac_ct_CC"; then
3841 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3842 echo "${ECHO_T}$ac_ct_CC" >&6; }
3844 { echo "$as_me:$LINENO: result
: no
" >&5
3845 echo "${ECHO_T}no
" >&6; }
3848 if test "x
$ac_ct_CC" = x; then
3851 case $cross_compiling:$ac_tool_warned in
3853 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
3854 whose name does not start with the
host triplet. If you think this
3855 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3856 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
3857 whose name does not start with the
host triplet. If you think this
3858 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3859 ac_tool_warned=yes ;;
3867 if test -z "$CC"; then
3868 if test -n "$ac_tool_prefix"; then
3869 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3870 set dummy ${ac_tool_prefix}cc; ac_word=$2
3871 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3872 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3873 if test "${ac_cv_prog_CC+set}" = set; then
3874 echo $ECHO_N "(cached
) $ECHO_C" >&6
3876 if test -n "$CC"; then
3877 ac_cv_prog_CC="$CC" # Let the user override the test.
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 test -z "$as_dir" && as_dir=.
3884 for ac_exec_ext in '' $ac_executable_extensions; do
3885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3887 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3897 if test -n "$CC"; then
3898 { echo "$as_me:$LINENO: result
: $CC" >&5
3899 echo "${ECHO_T}$CC" >&6; }
3901 { echo "$as_me:$LINENO: result
: no
" >&5
3902 echo "${ECHO_T}no
" >&6; }
3908 if test -z "$CC"; then
3909 # Extract the first word of "cc
", so it can be a program name with args.
3910 set dummy cc; ac_word=$2
3911 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3912 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3913 if test "${ac_cv_prog_CC+set}" = set; then
3914 echo $ECHO_N "(cached
) $ECHO_C" >&6
3916 if test -n "$CC"; then
3917 ac_cv_prog_CC="$CC" # Let the user override the test.
3920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3924 test -z "$as_dir" && as_dir=.
3925 for ac_exec_ext in '' $ac_executable_extensions; do
3926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3927 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3928 ac_prog_rejected=yes
3932 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3939 if test $ac_prog_rejected = yes; then
3940 # We found a bogon in the path, so make sure we never use it.
3941 set dummy $ac_cv_prog_CC
3943 if test $# != 0; then
3944 # We chose a different compiler from the bogus one.
3945 # However, it has the same basename, so the bogon will be chosen
3946 # first if we set CC to just the basename; use the full file name.
3948 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
3954 if test -n "$CC"; then
3955 { echo "$as_me:$LINENO: result
: $CC" >&5
3956 echo "${ECHO_T}$CC" >&6; }
3958 { echo "$as_me:$LINENO: result
: no
" >&5
3959 echo "${ECHO_T}no
" >&6; }
3964 if test -z "$CC"; then
3965 if test -n "$ac_tool_prefix"; then
3966 for ac_prog in cl.exe
3968 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3969 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3970 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3971 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3972 if test "${ac_cv_prog_CC+set}" = set; then
3973 echo $ECHO_N "(cached
) $ECHO_C" >&6
3975 if test -n "$CC"; then
3976 ac_cv_prog_CC="$CC" # Let the user override the test.
3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 test -z "$as_dir" && as_dir=.
3983 for ac_exec_ext in '' $ac_executable_extensions; do
3984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3985 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3986 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3996 if test -n "$CC"; then
3997 { echo "$as_me:$LINENO: result
: $CC" >&5
3998 echo "${ECHO_T}$CC" >&6; }
4000 { echo "$as_me:$LINENO: result
: no
" >&5
4001 echo "${ECHO_T}no
" >&6; }
4005 test -n "$CC" && break
4008 if test -z "$CC"; then
4010 for ac_prog in cl.exe
4012 # Extract the first word of "$ac_prog", so it can be a program name with args.
4013 set dummy $ac_prog; ac_word=$2
4014 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4015 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4016 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4017 echo $ECHO_N "(cached
) $ECHO_C" >&6
4019 if test -n "$ac_ct_CC"; then
4020 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4026 test -z "$as_dir" && as_dir=.
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4029 ac_cv_prog_ac_ct_CC="$ac_prog"
4030 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4039 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4040 if test -n "$ac_ct_CC"; then
4041 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
4042 echo "${ECHO_T}$ac_ct_CC" >&6; }
4044 { echo "$as_me:$LINENO: result
: no
" >&5
4045 echo "${ECHO_T}no
" >&6; }
4049 test -n "$ac_ct_CC" && break
4052 if test "x
$ac_ct_CC" = x; then
4055 case $cross_compiling:$ac_tool_warned in
4057 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
4058 whose name does not start with the
host triplet. If you think this
4059 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4060 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
4061 whose name does not start with the
host triplet. If you think this
4062 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4063 ac_tool_warned=yes ;;
4072 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4073 See \
`config.log' for more details." >&5
4074 echo "$as_me: error: no acceptable C compiler found in \$PATH
4075 See \`config.log
' for more details." >&2;}
4076 { (exit 1); exit 1; }; }
4078 # Provide some information about the compiler.
4079 echo "$as_me:$LINENO: checking for C compiler version" >&5
4080 ac_compiler=`set X $ac_compile; echo $2`
4081 { (ac_try="$ac_compiler --version >&5"
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4087 (eval "$ac_compiler --version >&5") 2>&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); }
4091 { (ac_try="$ac_compiler -v >&5"
4093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4094 *) ac_try_echo=$ac_try;;
4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4097 (eval "$ac_compiler -v >&5") 2>&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }
4101 { (ac_try="$ac_compiler -V >&5"
4103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4104 *) ac_try_echo=$ac_try;;
4106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4107 (eval "$ac_compiler -V >&5") 2>&5
4109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110 (exit $ac_status); }
4112 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4113 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4114 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 cat >conftest.$ac_ext <<_ACEOF
4120 cat confdefs.h >>conftest.$ac_ext
4121 cat >>conftest.$ac_ext <<_ACEOF
4122 /* end confdefs.h. */
4135 rm -f conftest.$ac_objext
4136 if { (ac_try="$ac_compile"
4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4139 *) ac_try_echo=$ac_try;;
4141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4142 (eval "$ac_compile") 2>conftest.er1
4144 grep -v '^
*+' conftest.er1 >conftest.err
4146 cat conftest.err >&5
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 (exit $ac_status); } && {
4149 test -z "$ac_c_werror_flag" ||
4150 test ! -s conftest.err
4151 } && test -s conftest.$ac_objext; then
4154 echo "$as_me: failed program was:" >&5
4155 sed 's
/^
/| /' conftest.$ac_ext >&5
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4164 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4165 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4166 GCC=`test $ac_compiler_gnu = yes && echo yes`
4167 ac_test_CFLAGS=${CFLAGS+set}
4168 ac_save_CFLAGS=$CFLAGS
4169 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4170 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4171 if test "${ac_cv_prog_cc_g+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 ac_save_c_werror_flag=$ac_c_werror_flag
4175 ac_c_werror_flag=yes
4178 cat >conftest.$ac_ext <<_ACEOF
4181 cat confdefs.h >>conftest.$ac_ext
4182 cat >>conftest.$ac_ext <<_ACEOF
4183 /* end confdefs.h. */
4193 rm -f conftest.$ac_objext
4194 if { (ac_try="$ac_compile"
4196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4197 *) ac_try_echo=$ac_try;;
4199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4200 (eval "$ac_compile") 2>conftest.er1
4202 grep -v '^
*+' conftest.er1 >conftest.err
4204 cat conftest.err >&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } && {
4207 test -z "$ac_c_werror_flag" ||
4208 test ! -s conftest.err
4209 } && test -s conftest.$ac_objext; then
4212 echo "$as_me: failed program was:" >&5
4213 sed 's
/^
/| /' conftest.$ac_ext >&5
4216 cat >conftest.$ac_ext <<_ACEOF
4219 cat confdefs.h >>conftest.$ac_ext
4220 cat >>conftest.$ac_ext <<_ACEOF
4221 /* end confdefs.h. */
4231 rm -f conftest.$ac_objext
4232 if { (ac_try="$ac_compile"
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4238 (eval "$ac_compile") 2>conftest.er1
4240 grep -v '^
*+' conftest.er1 >conftest.err
4242 cat conftest.err >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); } && {
4245 test -z "$ac_c_werror_flag" ||
4246 test ! -s conftest.err
4247 } && test -s conftest.$ac_objext; then
4250 echo "$as_me: failed program was:" >&5
4251 sed 's
/^
/| /' conftest.$ac_ext >&5
4253 ac_c_werror_flag=$ac_save_c_werror_flag
4255 cat >conftest.$ac_ext <<_ACEOF
4258 cat confdefs.h >>conftest.$ac_ext
4259 cat >>conftest.$ac_ext <<_ACEOF
4260 /* end confdefs.h. */
4270 rm -f conftest.$ac_objext
4271 if { (ac_try="$ac_compile"
4273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4277 (eval "$ac_compile") 2>conftest.er1
4279 grep -v '^
*+' conftest.er1 >conftest.err
4281 cat conftest.err >&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); } && {
4284 test -z "$ac_c_werror_flag" ||
4285 test ! -s conftest.err
4286 } && test -s conftest.$ac_objext; then
4289 echo "$as_me: failed program was:" >&5
4290 sed 's
/^
/| /' conftest.$ac_ext >&5
4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302 ac_c_werror_flag=$ac_save_c_werror_flag
4304 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4305 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4306 if test "$ac_test_CFLAGS" = set; then
4307 CFLAGS=$ac_save_CFLAGS
4308 elif test $ac_cv_prog_cc_g = yes; then
4309 if test "$GCC" = yes; then
4315 if test "$GCC" = yes; then
4321 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4322 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4323 if test "${ac_cv_prog_cc_c89+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 ac_cv_prog_cc_c89=no
4328 cat >conftest.$ac_ext <<_ACEOF
4331 cat confdefs.h >>conftest.$ac_ext
4332 cat >>conftest.$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4336 #include <sys/types.h>
4337 #include <sys/stat.h>
4338 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4339 struct buf
{ int x
; };
4340 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4341 static char
*e
(p
, i
)
4347 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4352 s
= g
(p
, va_arg
(v
,int
));
4357 /* OSF
4.0 Compaq cc is some
sort of almost
-ANSI by default. It has
4358 function prototypes and stuff
, but not
'\xHH' hex character constants.
4359 These don
't provoke an error unfortunately, instead are silently treated
4360 as 'x
'. The following induces an error, until -std is added to get
4361 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4362 array size at least. It's necessary to
write '\x00'==0 to get something
4363 that
's true only with -std. */
4364 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4366 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4367 inside strings and character constants. */
4369 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4371 int test (int i, double x);
4372 struct s1 {int (*f) (int a);};
4373 struct s2 {int (*f) (double a);};
4374 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4380 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4385 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4386 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4388 CC="$ac_save_CC $ac_arg"
4389 rm -f conftest.$ac_objext
4390 if { (ac_try="$ac_compile"
4392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4393 *) ac_try_echo=$ac_try;;
4395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4396 (eval "$ac_compile") 2>conftest.er1
4398 grep -v '^
*+' conftest.er1 >conftest.err
4400 cat conftest.err >&5
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); } && {
4403 test -z "$ac_c_werror_flag" ||
4404 test ! -s conftest.err
4405 } && test -s conftest.$ac_objext; then
4406 ac_cv_prog_cc_c89=$ac_arg
4408 echo "$as_me: failed program was:" >&5
4409 sed 's
/^
/| /' conftest.$ac_ext >&5
4414 rm -f core conftest.err conftest.$ac_objext
4415 test "x$ac_cv_prog_cc_c89" != "xno" && break
4417 rm -f conftest.$ac_ext
4422 case "x$ac_cv_prog_cc_c89" in
4424 { echo "$as_me:$LINENO: result: none needed" >&5
4425 echo "${ECHO_T}none needed" >&6; } ;;
4427 { echo "$as_me:$LINENO: result: unsupported" >&5
4428 echo "${ECHO_T}unsupported" >&6; } ;;
4430 CC="$CC $ac_cv_prog_cc_c89"
4431 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4432 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4437 ac_cpp='$CPP $CPPFLAGS'
4438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4439 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4442 depcc="$CC" am_compiler_list=
4444 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4445 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4446 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4450 # We make a subdir and do the tests there. Otherwise we can end up
4451 # making bogus files that we don't know about and never remove. For
4452 # instance it was reported that on HP-UX the gcc test will end up
4453 # making a dummy file named `D' -- because `-MD' means `put the output
4456 # Copy depcomp to subdir because otherwise we won't find it if we're
4457 # using a relative directory.
4458 cp "$am_depcomp" conftest.dir
4460 # We will build objects and dependencies in a subdirectory because
4461 # it helps to detect inapplicable dependency modes. For instance
4462 # both Tru64's cc and ICC support -MD to output dependencies as a
4463 # side effect of compilation, but ICC will put the dependencies in
4464 # the current directory while Tru64 will put them in the object
4468 am_cv_CC_dependencies_compiler_type
=none
4469 if test "$am_compiler_list" = ""; then
4470 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4472 for depmode
in $am_compiler_list; do
4473 # Setup a source with many dependencies, because some compilers
4474 # like to wrap large dependency lists on column 80 (with \), and
4475 # we should not choose a depcomp mode which is confused by this.
4477 # We need to recreate these files for each test, as the compiler may
4478 # overwrite some of them when testing with obscure command lines.
4479 # This happens at least with the AIX C compiler.
4481 for i
in 1 2 3 4 5 6; do
4482 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4483 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4484 # Solaris 8's {/usr,}/bin/sh.
4485 touch sub
/conftst
$i.h
4487 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4491 # after this tag, mechanisms are not by side-effect, so they'll
4492 # only be used when explicitly requested
4493 if test "x$enable_dependency_tracking" = xyes
; then
4501 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4502 # mode. It turns out that the SunPro C++ compiler does not properly
4503 # handle `-M -o', and we need to detect this.
4504 if depmode
=$depmode \
4505 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4506 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4507 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4508 >/dev
/null
2>conftest.err
&&
4509 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4510 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4511 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4512 # icc doesn't choke on unknown options, it will just issue warnings
4513 # or remarks (even with -Werror). So we grep stderr for any message
4514 # that says an option was ignored or not supported.
4515 # When given -MP, icc 7.0 and 7.1 complain thusly:
4516 # icc: Command line warning: ignoring option '-M'; no argument required
4517 # The diagnosis changed in icc 8.0:
4518 # icc: Command line remark: option '-MP' not supported
4519 if (grep 'ignoring option' conftest.err
||
4520 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4521 am_cv_CC_dependencies_compiler_type
=$depmode
4530 am_cv_CC_dependencies_compiler_type
=none
4534 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4535 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4536 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4541 test "x$enable_dependency_tracking" != xno \
4542 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4544 am__fastdepCC_FALSE
='#'
4546 am__fastdepCC_TRUE
='#'
4547 am__fastdepCC_FALSE
=
4551 # Find a good install program. We prefer a C program (faster),
4552 # so one script is as good as another. But avoid the broken or
4553 # incompatible versions:
4554 # SysV /etc/install, /usr/sbin/install
4555 # SunOS /usr/etc/install
4556 # IRIX /sbin/install
4558 # AmigaOS /C/install, which installs bootblocks on floppy discs
4559 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4560 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4561 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4562 # OS/2's system install, which has a completely different semantic
4563 # ./install, which can be erroneously created by make from ./install.sh.
4564 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4565 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4566 if test -z "$INSTALL"; then
4567 if test "${ac_cv_path_install+set}" = set; then
4568 echo $ECHO_N "(cached) $ECHO_C" >&6
4570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4574 test -z "$as_dir" && as_dir
=.
4575 # Account for people who put trailing slashes in PATH elements.
4577 .
/ | .
// | /cC
/* | \
4578 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4579 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4582 # OSF1 and SCO ODT 3.0 have their own names for install.
4583 # Don't use installbsd from OSF since it installs stuff as root
4585 for ac_prog
in ginstall scoinst
install; do
4586 for ac_exec_ext
in '' $ac_executable_extensions; do
4587 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4588 if test $ac_prog = install &&
4589 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4590 # AIX install. It has an incompatible calling convention.
4592 elif test $ac_prog = install &&
4593 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4594 # program-specific install script used by HP pwplus--don't use.
4597 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4610 if test "${ac_cv_path_install+set}" = set; then
4611 INSTALL
=$ac_cv_path_install
4613 # As a last resort, use the slow shell script. Don't cache a
4614 # value for INSTALL within a source directory, because that will
4615 # break other packages using the cache if that directory is
4616 # removed, or if the value is a relative name.
4617 INSTALL
=$ac_install_sh
4620 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4621 echo "${ECHO_T}$INSTALL" >&6; }
4623 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4624 # It thinks the first close brace ends the variable substitution.
4625 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4627 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4629 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4632 if test -n "$ac_tool_prefix"; then
4633 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4634 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4637 if test "${ac_cv_prog_RANLIB+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 if test -n "$RANLIB"; then
4641 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4647 test -z "$as_dir" && as_dir
=.
4648 for ac_exec_ext
in '' $ac_executable_extensions; do
4649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4650 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 RANLIB
=$ac_cv_prog_RANLIB
4661 if test -n "$RANLIB"; then
4662 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4663 echo "${ECHO_T}$RANLIB" >&6; }
4665 { echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6; }
4671 if test -z "$ac_cv_prog_RANLIB"; then
4672 ac_ct_RANLIB
=$RANLIB
4673 # Extract the first word of "ranlib", so it can be a program name with args.
4674 set dummy ranlib
; ac_word
=$2
4675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4677 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4678 echo $ECHO_N "(cached) $ECHO_C" >&6
4680 if test -n "$ac_ct_RANLIB"; then
4681 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4687 test -z "$as_dir" && as_dir
=.
4688 for ac_exec_ext
in '' $ac_executable_extensions; do
4689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4690 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4701 if test -n "$ac_ct_RANLIB"; then
4702 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4703 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4705 { echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6; }
4709 if test "x$ac_ct_RANLIB" = x
; then
4712 case $cross_compiling:$ac_tool_warned in
4714 { echo "$as_me:$LINENO: 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." >&5
4717 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4718 whose name does not start with the host triplet. If you think this
4719 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4720 ac_tool_warned
=yes ;;
4722 RANLIB
=$ac_ct_RANLIB
4725 RANLIB
="$ac_cv_prog_RANLIB"
4729 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4730 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4732 if test "$LN_S" = "ln -s"; then
4733 { echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6; }
4736 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4737 echo "${ECHO_T}no, using $LN_S" >&6; }
4740 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4741 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4742 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4743 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
4746 cat >conftest.
make <<\_ACEOF
4749 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4751 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4752 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4754 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4756 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4760 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4761 { echo "$as_me:$LINENO: result: yes" >&5
4762 echo "${ECHO_T}yes" >&6; }
4765 { echo "$as_me:$LINENO: result: no" >&5
4766 echo "${ECHO_T}no" >&6; }
4767 SET_MAKE
="MAKE=${MAKE-make}"
4771 ac_cpp
='$CPP $CPPFLAGS'
4772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4775 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4776 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4777 # On Suns, sometimes $CPP names a directory.
4778 if test -n "$CPP" && test -d "$CPP"; then
4781 if test -z "$CPP"; then
4782 if test "${ac_cv_prog_CPP+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 # Double quotes because CPP needs to be expanded
4786 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4789 for ac_c_preproc_warn_flag
in '' yes
4791 # Use a header file that comes with gcc, so configuring glibc
4792 # with a fresh cross-compiler works.
4793 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4794 # <limits.h> exists even on freestanding compilers.
4795 # On the NeXT, cc -E runs the code through the compiler's parser,
4796 # not just through cpp. "Syntax error" is here to catch this case.
4797 cat >conftest.
$ac_ext <<_ACEOF
4800 cat confdefs.h
>>conftest.
$ac_ext
4801 cat >>conftest.
$ac_ext <<_ACEOF
4802 /* end confdefs.h. */
4804 # include <limits.h>
4806 # include <assert.h>
4810 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4818 grep -v '^ *+' conftest.er1 >conftest.err
4820 cat conftest.err >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } >/dev/null && {
4823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4824 test ! -s conftest.err
4828 echo "$as_me: failed program was:" >&5
4829 sed 's/^/| /' conftest.$ac_ext >&5
4831 # Broken: fails on valid input.
4835 rm -f conftest.err conftest.$ac_ext
4837 # OK, works on sane cases. Now check whether nonexistent headers
4838 # can be detected and how.
4839 cat >conftest.$ac_ext <<_ACEOF
4842 cat confdefs.h >>conftest.$ac_ext
4843 cat >>conftest.$ac_ext <<_ACEOF
4844 /* end confdefs.h. */
4845 #include <ac_nonexistent.h>
4847 if { (ac_try="$ac_cpp conftest.$ac_ext"
4849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4850 *) ac_try_echo
=$ac_try;;
4852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4855 grep -v '^ *+' conftest.er1
>conftest.err
4857 cat conftest.err
>&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); } >/dev
/null
&& {
4860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4861 test ! -s conftest.err
4863 # Broken: success on invalid input.
4866 echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.
$ac_ext >&5
4869 # Passes both tests.
4874 rm -f conftest.err conftest.
$ac_ext
4877 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4878 rm -f conftest.err conftest.
$ac_ext
4879 if $ac_preproc_ok; then
4891 { echo "$as_me:$LINENO: result: $CPP" >&5
4892 echo "${ECHO_T}$CPP" >&6; }
4894 for ac_c_preproc_warn_flag
in '' yes
4896 # Use a header file that comes with gcc, so configuring glibc
4897 # with a fresh cross-compiler works.
4898 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4899 # <limits.h> exists even on freestanding compilers.
4900 # On the NeXT, cc -E runs the code through the compiler's parser,
4901 # not just through cpp. "Syntax error" is here to catch this case.
4902 cat >conftest.
$ac_ext <<_ACEOF
4905 cat confdefs.h
>>conftest.
$ac_ext
4906 cat >>conftest.
$ac_ext <<_ACEOF
4907 /* end confdefs.h. */
4909 # include <limits.h>
4911 # include <assert.h>
4915 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4917 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4918 *) ac_try_echo=$ac_try;;
4920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4923 grep -v '^ *+' conftest.er1 >conftest.err
4925 cat conftest.err >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); } >/dev/null && {
4928 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4929 test ! -s conftest.err
4933 echo "$as_me: failed program was:" >&5
4934 sed 's/^/| /' conftest.$ac_ext >&5
4936 # Broken: fails on valid input.
4940 rm -f conftest.err conftest.$ac_ext
4942 # OK, works on sane cases. Now check whether nonexistent headers
4943 # can be detected and how.
4944 cat >conftest.$ac_ext <<_ACEOF
4947 cat confdefs.h >>conftest.$ac_ext
4948 cat >>conftest.$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4950 #include <ac_nonexistent.h>
4952 if { (ac_try="$ac_cpp conftest.$ac_ext"
4954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4955 *) ac_try_echo
=$ac_try;;
4957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4958 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4960 grep -v '^ *+' conftest.er1
>conftest.err
4962 cat conftest.err
>&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); } >/dev
/null
&& {
4965 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4966 test ! -s conftest.err
4968 # Broken: success on invalid input.
4971 echo "$as_me: failed program was:" >&5
4972 sed 's/^/| /' conftest.
$ac_ext >&5
4974 # Passes both tests.
4979 rm -f conftest.err conftest.
$ac_ext
4982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4983 rm -f conftest.err conftest.
$ac_ext
4984 if $ac_preproc_ok; then
4987 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4988 See \`config.log' for more details." >&5
4989 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4990 See \`config.log' for more details." >&2;}
4991 { (exit 1); exit 1; }; }
4995 ac_cpp
='$CPP $CPPFLAGS'
4996 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4997 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4998 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5001 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5002 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5003 if test "${ac_cv_path_GREP+set}" = set; then
5004 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 # Extract the first word of "grep ggrep" to use in msg output
5007 if test -z "$GREP"; then
5008 set dummy
grep ggrep
; ac_prog_name
=$2
5009 if test "${ac_cv_path_GREP+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 ac_path_GREP_found
=false
5013 # Loop through the user's path and test for each of PROGNAME-LIST
5014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5015 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5018 test -z "$as_dir" && as_dir
=.
5019 for ac_prog
in grep ggrep
; do
5020 for ac_exec_ext
in '' $ac_executable_extensions; do
5021 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5022 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5023 # Check for GNU ac_path_GREP and select it if it is found.
5024 # Check for GNU $ac_path_GREP
5025 case `"$ac_path_GREP" --version 2>&1` in
5027 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5030 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5033 cat "conftest.in" "conftest.in" >"conftest.tmp"
5034 mv "conftest.tmp" "conftest.in"
5035 cp "conftest.in" "conftest.nl"
5036 echo 'GREP' >> "conftest.nl"
5037 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5038 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5039 ac_count
=`expr $ac_count + 1`
5040 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5041 # Best one so far, save it but keep looking for a better one
5042 ac_cv_path_GREP
="$ac_path_GREP"
5043 ac_path_GREP_max
=$ac_count
5045 # 10*(2^10) chars as input seems more than enough
5046 test $ac_count -gt 10 && break
5048 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5052 $ac_path_GREP_found && break 3
5062 GREP
="$ac_cv_path_GREP"
5063 if test -z "$GREP"; then
5064 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5065 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5066 { (exit 1); exit 1; }; }
5070 ac_cv_path_GREP
=$GREP
5075 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5076 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5077 GREP
="$ac_cv_path_GREP"
5080 { echo "$as_me:$LINENO: checking for egrep" >&5
5081 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5082 if test "${ac_cv_path_EGREP+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
5086 then ac_cv_path_EGREP
="$GREP -E"
5088 # Extract the first word of "egrep" to use in msg output
5089 if test -z "$EGREP"; then
5090 set dummy
egrep; ac_prog_name
=$2
5091 if test "${ac_cv_path_EGREP+set}" = set; then
5092 echo $ECHO_N "(cached) $ECHO_C" >&6
5094 ac_path_EGREP_found
=false
5095 # Loop through the user's path and test for each of PROGNAME-LIST
5096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5097 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5100 test -z "$as_dir" && as_dir
=.
5101 for ac_prog
in egrep; do
5102 for ac_exec_ext
in '' $ac_executable_extensions; do
5103 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5104 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5105 # Check for GNU ac_path_EGREP and select it if it is found.
5106 # Check for GNU $ac_path_EGREP
5107 case `"$ac_path_EGREP" --version 2>&1` in
5109 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5112 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5115 cat "conftest.in" "conftest.in" >"conftest.tmp"
5116 mv "conftest.tmp" "conftest.in"
5117 cp "conftest.in" "conftest.nl"
5118 echo 'EGREP' >> "conftest.nl"
5119 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5120 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5121 ac_count
=`expr $ac_count + 1`
5122 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5123 # Best one so far, save it but keep looking for a better one
5124 ac_cv_path_EGREP
="$ac_path_EGREP"
5125 ac_path_EGREP_max
=$ac_count
5127 # 10*(2^10) chars as input seems more than enough
5128 test $ac_count -gt 10 && break
5130 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5134 $ac_path_EGREP_found && break 3
5144 EGREP
="$ac_cv_path_EGREP"
5145 if test -z "$EGREP"; then
5146 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5147 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5148 { (exit 1); exit 1; }; }
5152 ac_cv_path_EGREP
=$EGREP
5158 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5159 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5160 EGREP
="$ac_cv_path_EGREP"
5163 if test $ac_cv_c_compiler_gnu = yes; then
5164 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
5165 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
5166 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 ac_pattern
="Autoconf.*'x'"
5170 cat >conftest.
$ac_ext <<_ACEOF
5173 cat confdefs.h
>>conftest.
$ac_ext
5174 cat >>conftest.
$ac_ext <<_ACEOF
5175 /* end confdefs.h. */
5179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5180 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5181 ac_cv_prog_gcc_traditional
=yes
5183 ac_cv_prog_gcc_traditional
=no
5188 if test $ac_cv_prog_gcc_traditional = no
; then
5189 cat >conftest.
$ac_ext <<_ACEOF
5192 cat confdefs.h
>>conftest.
$ac_ext
5193 cat >>conftest.
$ac_ext <<_ACEOF
5194 /* end confdefs.h. */
5198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5199 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5200 ac_cv_prog_gcc_traditional
=yes
5206 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
5207 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
5208 if test $ac_cv_prog_gcc_traditional = yes; then
5209 CC
="$CC -traditional"
5213 # Extract the first word of "gmake", so it can be a program name with args.
5214 set dummy gmake
; ac_word
=$2
5215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5217 if test "${ac_cv_prog_MAKER+set}" = set; then
5218 echo $ECHO_N "(cached) $ECHO_C" >&6
5220 if test -n "$MAKER"; then
5221 ac_cv_prog_MAKER
="$MAKER" # Let the user override the test.
5223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5227 test -z "$as_dir" && as_dir
=.
5228 for ac_exec_ext
in '' $ac_executable_extensions; do
5229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5230 ac_cv_prog_MAKER
="gmake"
5231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 test -z "$ac_cv_prog_MAKER" && ac_cv_prog_MAKER
="make"
5241 MAKER
=$ac_cv_prog_MAKER
5242 if test -n "$MAKER"; then
5243 { echo "$as_me:$LINENO: result: $MAKER" >&5
5244 echo "${ECHO_T}$MAKER" >&6; }
5246 { echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6; }
5253 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
5256 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
5260 EXTRA_DEFINE
="-D__SOLARIS__"
5261 ANSI_SRC
="-fno-builtin"
5264 ANSI_SRC
="-fno-builtin"
5267 EXTRA_DEFINE
="-D_GNU_SOURCE"
5274 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
5277 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
5278 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
5279 if test "${ac_cv_lib_socket_socket+set}" = set; then
5280 echo $ECHO_N "(cached) $ECHO_C" >&6
5282 ac_check_lib_save_LIBS
=$LIBS
5283 LIBS
="-lsocket $LIBS"
5284 cat >conftest.
$ac_ext <<_ACEOF
5287 cat confdefs.h
>>conftest.
$ac_ext
5288 cat >>conftest.
$ac_ext <<_ACEOF
5289 /* end confdefs.h. */
5291 /* Override any GCC internal prototype to avoid an error.
5292 Use char because int might match the return type of a GCC
5293 builtin and then its argument prototype would still apply. */
5306 rm -f conftest.
$ac_objext conftest
$ac_exeext
5307 if { (ac_try
="$ac_link"
5309 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5310 *) ac_try_echo=$ac_try;;
5312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5313 (eval "$ac_link") 2>conftest.er1
5315 grep -v '^ *+' conftest.er1 >conftest.err
5317 cat conftest.err >&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); } && {
5320 test -z "$ac_c_werror_flag" ||
5321 test ! -s conftest.err
5322 } && test -s conftest$ac_exeext &&
5323 $as_test_x conftest$ac_exeext; then
5324 ac_cv_lib_socket_socket=yes
5326 echo "$as_me: failed program was:" >&5
5327 sed 's/^/| /' conftest.$ac_ext >&5
5329 ac_cv_lib_socket_socket=no
5332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5333 conftest$ac_exeext conftest.$ac_ext
5334 LIBS=$ac_check_lib_save_LIBS
5336 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
5337 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
5338 if test $ac_cv_lib_socket_socket = yes; then
5339 cat >>confdefs.h <<_ACEOF
5340 #define HAVE_LIBSOCKET 1
5343 LIBS="-lsocket $LIBS"
5348 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5349 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
5350 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5351 echo $ECHO_N "(cached) $ECHO_C" >&6
5353 ac_check_lib_save_LIBS=$LIBS
5355 cat >conftest.$ac_ext <<_ACEOF
5358 cat confdefs.h >>conftest.$ac_ext
5359 cat >>conftest.$ac_ext <<_ACEOF
5360 /* end confdefs.h. */
5362 /* Override any GCC internal prototype to avoid an error.
5363 Use char because int might match the return type of a GCC
5364 builtin and then its argument prototype would still apply. */
5368 char gethostbyname ();
5372 return gethostbyname ();
5377 rm -f conftest.$ac_objext conftest$ac_exeext
5378 if { (ac_try="$ac_link"
5380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5381 *) ac_try_echo
=$ac_try;;
5383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5384 (eval "$ac_link") 2>conftest.er1
5386 grep -v '^ *+' conftest.er1
>conftest.err
5388 cat conftest.err
>&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); } && {
5391 test -z "$ac_c_werror_flag" ||
5392 test ! -s conftest.err
5393 } && test -s conftest
$ac_exeext &&
5394 $as_test_x conftest
$ac_exeext; then
5395 ac_cv_lib_nsl_gethostbyname
=yes
5397 echo "$as_me: failed program was:" >&5
5398 sed 's/^/| /' conftest.
$ac_ext >&5
5400 ac_cv_lib_nsl_gethostbyname
=no
5403 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5404 conftest
$ac_exeext conftest.
$ac_ext
5405 LIBS
=$ac_check_lib_save_LIBS
5407 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5408 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
5409 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5410 cat >>confdefs.h
<<_ACEOF
5411 #define HAVE_LIBNSL 1
5419 { echo "$as_me:$LINENO: checking for main in -lm" >&5
5420 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
5421 if test "${ac_cv_lib_m_main+set}" = set; then
5422 echo $ECHO_N "(cached) $ECHO_C" >&6
5424 ac_check_lib_save_LIBS
=$LIBS
5426 cat >conftest.
$ac_ext <<_ACEOF
5429 cat confdefs.h
>>conftest.
$ac_ext
5430 cat >>conftest.
$ac_ext <<_ACEOF
5431 /* end confdefs.h. */
5442 rm -f conftest.
$ac_objext conftest
$ac_exeext
5443 if { (ac_try
="$ac_link"
5445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5446 *) ac_try_echo=$ac_try;;
5448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5449 (eval "$ac_link") 2>conftest.er1
5451 grep -v '^ *+' conftest.er1 >conftest.err
5453 cat conftest.err >&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } && {
5456 test -z "$ac_c_werror_flag" ||
5457 test ! -s conftest.err
5458 } && test -s conftest$ac_exeext &&
5459 $as_test_x conftest$ac_exeext; then
5460 ac_cv_lib_m_main=yes
5462 echo "$as_me: failed program was:" >&5
5463 sed 's/^/| /' conftest.$ac_ext >&5
5468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5469 conftest$ac_exeext conftest.$ac_ext
5470 LIBS=$ac_check_lib_save_LIBS
5472 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
5473 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
5474 if test $ac_cv_lib_m_main = yes; then
5475 cat >>confdefs.h <<_ACEOF
5484 { echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
5485 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6; }
5486 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
5487 echo $ECHO_N "(cached) $ECHO_C" >&6
5489 ac_check_lib_save_LIBS=$LIBS
5490 LIBS="-lGeoIP $LIBS"
5491 cat >conftest.$ac_ext <<_ACEOF
5494 cat confdefs.h >>conftest.$ac_ext
5495 cat >>conftest.$ac_ext <<_ACEOF
5496 /* end confdefs.h. */
5498 /* Override any GCC internal prototype to avoid an error.
5499 Use char because int might match the return type of a GCC
5500 builtin and then its argument prototype would still apply. */
5508 return GeoIP_open ();
5513 rm -f conftest.$ac_objext conftest$ac_exeext
5514 if { (ac_try="$ac_link"
5516 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5517 *) ac_try_echo
=$ac_try;;
5519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5520 (eval "$ac_link") 2>conftest.er1
5522 grep -v '^ *+' conftest.er1
>conftest.err
5524 cat conftest.err
>&5
5525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526 (exit $ac_status); } && {
5527 test -z "$ac_c_werror_flag" ||
5528 test ! -s conftest.err
5529 } && test -s conftest
$ac_exeext &&
5530 $as_test_x conftest
$ac_exeext; then
5531 ac_cv_lib_GeoIP_GeoIP_open
=yes
5533 echo "$as_me: failed program was:" >&5
5534 sed 's/^/| /' conftest.
$ac_ext >&5
5536 ac_cv_lib_GeoIP_GeoIP_open
=no
5539 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5540 conftest
$ac_exeext conftest.
$ac_ext
5541 LIBS
=$ac_check_lib_save_LIBS
5543 { echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
5544 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
5545 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
5546 cat >>confdefs.h
<<_ACEOF
5547 #define HAVE_LIBGEOIP 1
5550 LIBS
="-lGeoIP $LIBS"
5555 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5556 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5557 if test "${ac_cv_header_stdc+set}" = set; then
5558 echo $ECHO_N "(cached) $ECHO_C" >&6
5560 cat >conftest.
$ac_ext <<_ACEOF
5563 cat confdefs.h
>>conftest.
$ac_ext
5564 cat >>conftest.
$ac_ext <<_ACEOF
5565 /* end confdefs.h. */
5579 rm -f conftest.
$ac_objext
5580 if { (ac_try
="$ac_compile"
5582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5583 *) ac_try_echo=$ac_try;;
5585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5586 (eval "$ac_compile") 2>conftest.er1
5588 grep -v '^ *+' conftest.er1 >conftest.err
5590 cat conftest.err >&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); } && {
5593 test -z "$ac_c_werror_flag" ||
5594 test ! -s conftest.err
5595 } && test -s conftest.$ac_objext; then
5596 ac_cv_header_stdc=yes
5598 echo "$as_me: failed program was:" >&5
5599 sed 's/^/| /' conftest.$ac_ext >&5
5601 ac_cv_header_stdc=no
5604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5606 if test $ac_cv_header_stdc = yes; then
5607 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5608 cat >conftest.$ac_ext <<_ACEOF
5611 cat confdefs.h >>conftest.$ac_ext
5612 cat >>conftest.$ac_ext <<_ACEOF
5613 /* end confdefs.h. */
5617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5618 $EGREP "memchr" >/dev/null 2>&1; then
5621 ac_cv_header_stdc=no
5627 if test $ac_cv_header_stdc = yes; then
5628 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5629 cat >conftest.$ac_ext <<_ACEOF
5632 cat confdefs.h >>conftest.$ac_ext
5633 cat >>conftest.$ac_ext <<_ACEOF
5634 /* end confdefs.h. */
5638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5639 $EGREP "free" >/dev/null 2>&1; then
5642 ac_cv_header_stdc=no
5648 if test $ac_cv_header_stdc = yes; then
5649 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5650 if test "$cross_compiling" = yes; then
5653 cat >conftest.$ac_ext <<_ACEOF
5656 cat confdefs.h >>conftest.$ac_ext
5657 cat >>conftest.$ac_ext <<_ACEOF
5658 /* end confdefs.h. */
5661 #if ((' ' & 0x0FF) == 0x020)
5662 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5663 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5665 # define ISLOWER(c) \
5666 (('a' <= (c) && (c) <= 'i') \
5667 || ('j' <= (c) && (c) <= 'r') \
5668 || ('s' <= (c) && (c) <= 'z'))
5669 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5672 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5677 for (i = 0; i < 256; i++)
5678 if (XOR (islower (i), ISLOWER (i))
5679 || toupper (i) != TOUPPER (i))
5684 rm -f conftest$ac_exeext
5685 if { (ac_try="$ac_link"
5687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5688 *) ac_try_echo
=$ac_try;;
5690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5691 (eval "$ac_link") 2>&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5695 { (case "(($ac_try" in
5696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5700 (eval "$ac_try") 2>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); }; }; then
5706 echo "$as_me: program exited with status $ac_status" >&5
5707 echo "$as_me: failed program was:" >&5
5708 sed 's/^/| /' conftest.$ac_ext >&5
5711 ac_cv_header_stdc=no
5713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5719 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5720 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5721 if test $ac_cv_header_stdc = yes; then
5723 cat >>confdefs.h <<\_ACEOF
5724 #define STDC_HEADERS 1
5730 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5731 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5732 if test "${ac_cv_header_time+set}" = set; then
5733 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 cat >conftest.$ac_ext <<_ACEOF
5738 cat confdefs.h >>conftest.$ac_ext
5739 cat >>conftest.$ac_ext <<_ACEOF
5740 /* end confdefs.h. */
5741 #include <sys/types.h>
5742 #include <sys/time.h>
5748 if ((struct tm *) 0)
5754 rm -f conftest.$ac_objext
5755 if { (ac_try="$ac_compile"
5757 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5758 *) ac_try_echo
=$ac_try;;
5760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5761 (eval "$ac_compile") 2>conftest.er1
5763 grep -v '^ *+' conftest.er1
>conftest.err
5765 cat conftest.err
>&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); } && {
5768 test -z "$ac_c_werror_flag" ||
5769 test ! -s conftest.err
5770 } && test -s conftest.
$ac_objext; then
5771 ac_cv_header_time
=yes
5773 echo "$as_me: failed program was:" >&5
5774 sed 's/^/| /' conftest.
$ac_ext >&5
5776 ac_cv_header_time
=no
5779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5781 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5782 echo "${ECHO_T}$ac_cv_header_time" >&6; }
5783 if test $ac_cv_header_time = yes; then
5785 cat >>confdefs.h
<<\_ACEOF
5786 #define TIME_WITH_SYS_TIME 1
5791 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5792 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5793 if test "${ac_cv_struct_tm+set}" = set; then
5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5796 cat >conftest.
$ac_ext <<_ACEOF
5799 cat confdefs.h
>>conftest.
$ac_ext
5800 cat >>conftest.
$ac_ext <<_ACEOF
5801 /* end confdefs.h. */
5802 #include <sys/types.h>
5809 int *p = &tm.tm_sec;
5815 rm -f conftest.
$ac_objext
5816 if { (ac_try
="$ac_compile"
5818 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5819 *) ac_try_echo=$ac_try;;
5821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5822 (eval "$ac_compile") 2>conftest.er1
5824 grep -v '^ *+' conftest.er1 >conftest.err
5826 cat conftest.err >&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } && {
5829 test -z "$ac_c_werror_flag" ||
5830 test ! -s conftest.err
5831 } && test -s conftest.$ac_objext; then
5832 ac_cv_struct_tm=time.h
5834 echo "$as_me: failed program was:" >&5
5835 sed 's/^/| /' conftest.$ac_ext >&5
5837 ac_cv_struct_tm=sys/time.h
5840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5842 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5843 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5844 if test $ac_cv_struct_tm = sys/time.h; then
5846 cat >>confdefs.h <<\_ACEOF
5847 #define TM_IN_SYS_TIME 1
5853 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5863 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5864 inttypes.h stdint.h unistd.h
5866 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5867 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5869 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6
5872 cat >conftest.$ac_ext <<_ACEOF
5875 cat confdefs.h >>conftest.$ac_ext
5876 cat >>conftest.$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5878 $ac_includes_default
5880 #include <$ac_header>
5882 rm -f conftest.$ac_objext
5883 if { (ac_try="$ac_compile"
5885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5886 *) ac_try_echo
=$ac_try;;
5888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5889 (eval "$ac_compile") 2>conftest.er1
5891 grep -v '^ *+' conftest.er1
>conftest.err
5893 cat conftest.err
>&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); } && {
5896 test -z "$ac_c_werror_flag" ||
5897 test ! -s conftest.err
5898 } && test -s conftest.
$ac_objext; then
5899 eval "$as_ac_Header=yes"
5901 echo "$as_me: failed program was:" >&5
5902 sed 's/^/| /' conftest.
$ac_ext >&5
5904 eval "$as_ac_Header=no"
5907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5909 ac_res
=`eval echo '${'$as_ac_Header'}'`
5910 { echo "$as_me:$LINENO: result: $ac_res" >&5
5911 echo "${ECHO_T}$ac_res" >&6; }
5912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5913 cat >>confdefs.h
<<_ACEOF
5914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5944 for ac_header
in GeoIP.h GeoIPCity.h fcntl.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
5946 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5947 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5948 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5950 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5953 ac_res
=`eval echo '${'$as_ac_Header'}'`
5954 { echo "$as_me:$LINENO: result: $ac_res" >&5
5955 echo "${ECHO_T}$ac_res" >&6; }
5957 # Is the header compilable?
5958 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5959 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5960 cat >conftest.
$ac_ext <<_ACEOF
5963 cat confdefs.h
>>conftest.
$ac_ext
5964 cat >>conftest.
$ac_ext <<_ACEOF
5965 /* end confdefs.h. */
5966 $ac_includes_default
5967 #include <$ac_header>
5969 rm -f conftest.
$ac_objext
5970 if { (ac_try
="$ac_compile"
5972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5973 *) ac_try_echo=$ac_try;;
5975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5976 (eval "$ac_compile") 2>conftest.er1
5978 grep -v '^ *+' conftest.er1 >conftest.err
5980 cat conftest.err >&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); } && {
5983 test -z "$ac_c_werror_flag" ||
5984 test ! -s conftest.err
5985 } && test -s conftest.$ac_objext; then
5986 ac_header_compiler=yes
5988 echo "$as_me: failed program was:" >&5
5989 sed 's/^/| /' conftest.$ac_ext >&5
5991 ac_header_compiler=no
5994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5995 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5996 echo "${ECHO_T}$ac_header_compiler" >&6; }
5998 # Is the header present?
5999 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6000 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6001 cat >conftest.$ac_ext <<_ACEOF
6004 cat confdefs.h >>conftest.$ac_ext
6005 cat >>conftest.$ac_ext <<_ACEOF
6006 /* end confdefs.h. */
6007 #include <$ac_header>
6009 if { (ac_try="$ac_cpp conftest.$ac_ext"
6011 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6012 *) ac_try_echo
=$ac_try;;
6014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6017 grep -v '^ *+' conftest.er1
>conftest.err
6019 cat conftest.err
>&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); } >/dev
/null
&& {
6022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6023 test ! -s conftest.err
6025 ac_header_preproc
=yes
6027 echo "$as_me: failed program was:" >&5
6028 sed 's/^/| /' conftest.
$ac_ext >&5
6030 ac_header_preproc
=no
6033 rm -f conftest.err conftest.
$ac_ext
6034 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6035 echo "${ECHO_T}$ac_header_preproc" >&6; }
6037 # So? What about this header?
6038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6044 ac_header_preproc
=yes
6047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6060 ## -------------------------------------------------- ##
6061 ## Report this to evilnet-devel@lists.sourceforge.net ##
6062 ## -------------------------------------------------- ##
6064 ) | sed "s/^/$as_me: WARNING: /" >&2
6067 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6069 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6072 eval "$as_ac_Header=\$ac_header_preproc"
6074 ac_res
=`eval echo '${'$as_ac_Header'}'`
6075 { echo "$as_me:$LINENO: result: $ac_res" >&5
6076 echo "${ECHO_T}$ac_res" >&6; }
6079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6080 cat >>confdefs.h
<<_ACEOF
6081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6089 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
6090 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
6091 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 cat >conftest.
$ac_ext <<_ACEOF
6097 cat confdefs.h
>>conftest.
$ac_ext
6098 cat >>conftest.
$ac_ext <<_ACEOF
6099 /* end confdefs.h. */
6100 #include <sys/types.h>
6101 #include <sys/socket.h>
6106 static struct sockaddr ac_aggr;
6113 rm -f conftest.
$ac_objext
6114 if { (ac_try
="$ac_compile"
6116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6117 *) ac_try_echo=$ac_try;;
6119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6120 (eval "$ac_compile") 2>conftest.er1
6122 grep -v '^ *+' conftest.er1 >conftest.err
6124 cat conftest.err >&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); } && {
6127 test -z "$ac_c_werror_flag" ||
6128 test ! -s conftest.err
6129 } && test -s conftest.$ac_objext; then
6130 ac_cv_member_struct_sockaddr_sa_len=yes
6132 echo "$as_me: failed program was:" >&5
6133 sed 's/^/| /' conftest.$ac_ext >&5
6135 cat >conftest.$ac_ext <<_ACEOF
6138 cat confdefs.h >>conftest.$ac_ext
6139 cat >>conftest.$ac_ext <<_ACEOF
6140 /* end confdefs.h. */
6141 #include <sys/types.h>
6142 #include <sys/socket.h>
6147 static struct sockaddr ac_aggr;
6148 if (sizeof ac_aggr.sa_len)
6154 rm -f conftest.$ac_objext
6155 if { (ac_try="$ac_compile"
6157 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6158 *) ac_try_echo
=$ac_try;;
6160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6161 (eval "$ac_compile") 2>conftest.er1
6163 grep -v '^ *+' conftest.er1
>conftest.err
6165 cat conftest.err
>&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } && {
6168 test -z "$ac_c_werror_flag" ||
6169 test ! -s conftest.err
6170 } && test -s conftest.
$ac_objext; then
6171 ac_cv_member_struct_sockaddr_sa_len
=yes
6173 echo "$as_me: failed program was:" >&5
6174 sed 's/^/| /' conftest.
$ac_ext >&5
6176 ac_cv_member_struct_sockaddr_sa_len
=no
6179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6184 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
6185 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
6186 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
6188 cat >>confdefs.h
<<\_ACEOF
6189 #define HAVE_SOCKADDR_SA_LEN
6194 { echo "$as_me:$LINENO: checking for struct addrinfo.ai_flags" >&5
6195 echo $ECHO_N "checking for struct addrinfo.ai_flags... $ECHO_C" >&6; }
6196 if test "${ac_cv_member_struct_addrinfo_ai_flags+set}" = set; then
6197 echo $ECHO_N "(cached) $ECHO_C" >&6
6199 cat >conftest.
$ac_ext <<_ACEOF
6202 cat confdefs.h
>>conftest.
$ac_ext
6203 cat >>conftest.
$ac_ext <<_ACEOF
6204 /* end confdefs.h. */
6205 #include <sys/types.h>
6206 #include <sys/socket.h>
6212 static struct addrinfo ac_aggr;
6213 if (ac_aggr.ai_flags)
6219 rm -f conftest.
$ac_objext
6220 if { (ac_try
="$ac_compile"
6222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6223 *) ac_try_echo=$ac_try;;
6225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6226 (eval "$ac_compile") 2>conftest.er1
6228 grep -v '^ *+' conftest.er1 >conftest.err
6230 cat conftest.err >&5
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); } && {
6233 test -z "$ac_c_werror_flag" ||
6234 test ! -s conftest.err
6235 } && test -s conftest.$ac_objext; then
6236 ac_cv_member_struct_addrinfo_ai_flags=yes
6238 echo "$as_me: failed program was:" >&5
6239 sed 's/^/| /' conftest.$ac_ext >&5
6241 cat >conftest.$ac_ext <<_ACEOF
6244 cat confdefs.h >>conftest.$ac_ext
6245 cat >>conftest.$ac_ext <<_ACEOF
6246 /* end confdefs.h. */
6247 #include <sys/types.h>
6248 #include <sys/socket.h>
6254 static struct addrinfo ac_aggr;
6255 if (sizeof ac_aggr.ai_flags)
6261 rm -f conftest.$ac_objext
6262 if { (ac_try="$ac_compile"
6264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6265 *) ac_try_echo
=$ac_try;;
6267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6268 (eval "$ac_compile") 2>conftest.er1
6270 grep -v '^ *+' conftest.er1
>conftest.err
6272 cat conftest.err
>&5
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); } && {
6275 test -z "$ac_c_werror_flag" ||
6276 test ! -s conftest.err
6277 } && test -s conftest.
$ac_objext; then
6278 ac_cv_member_struct_addrinfo_ai_flags
=yes
6280 echo "$as_me: failed program was:" >&5
6281 sed 's/^/| /' conftest.
$ac_ext >&5
6283 ac_cv_member_struct_addrinfo_ai_flags
=no
6286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6291 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_addrinfo_ai_flags" >&5
6292 echo "${ECHO_T}$ac_cv_member_struct_addrinfo_ai_flags" >&6; }
6293 if test $ac_cv_member_struct_addrinfo_ai_flags = yes; then
6295 cat >>confdefs.h
<<\_ACEOF
6296 #define HAVE_STRUCT_ADDRINFO
6303 for ac_func
in gettimeofday
6305 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6306 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6308 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6309 echo $ECHO_N "(cached) $ECHO_C" >&6
6311 cat >conftest.
$ac_ext <<_ACEOF
6314 cat confdefs.h
>>conftest.
$ac_ext
6315 cat >>conftest.
$ac_ext <<_ACEOF
6316 /* end confdefs.h. */
6317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6319 #define $ac_func innocuous_$ac_func
6321 /* System header to define __stub macros and hopefully few prototypes,
6322 which can conflict with char $ac_func (); below.
6323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6324 <limits.h> exists even on freestanding compilers. */
6327 # include <limits.h>
6329 # include <assert.h>
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6341 /* The GNU C library defines this for functions which it implements
6342 to always fail with ENOSYS. Some functions are actually named
6343 something starting with __ and the normal name is an alias. */
6344 #if defined __stub_$ac_func || defined __stub___$ac_func
6356 rm -f conftest.
$ac_objext conftest
$ac_exeext
6357 if { (ac_try
="$ac_link"
6359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6360 *) ac_try_echo=$ac_try;;
6362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6363 (eval "$ac_link") 2>conftest.er1
6365 grep -v '^ *+' conftest.er1 >conftest.err
6367 cat conftest.err >&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); } && {
6370 test -z "$ac_c_werror_flag" ||
6371 test ! -s conftest.err
6372 } && test -s conftest$ac_exeext &&
6373 $as_test_x conftest$ac_exeext; then
6374 eval "$as_ac_var=yes"
6376 echo "$as_me: failed program was:" >&5
6377 sed 's/^/| /' conftest.$ac_ext >&5
6379 eval "$as_ac_var=no"
6382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6383 conftest$ac_exeext conftest.$ac_ext
6385 ac_res=`eval echo '${'$as_ac_var'}'`
6386 { echo "$as_me:$LINENO: result: $ac_res" >&5
6387 echo "${ECHO_T}$ac_res" >&6; }
6388 if test `eval echo '${'$as_ac_var'}'` = yes; then
6389 cat >>confdefs.h <<_ACEOF
6390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6396 if test $ac_cv_func_gettimeofday = no; then
6398 for ac_func in ftime
6400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6406 cat >conftest.$ac_ext <<_ACEOF
6409 cat confdefs.h >>conftest.$ac_ext
6410 cat >>conftest.$ac_ext <<_ACEOF
6411 /* end confdefs.h. */
6412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6414 #define $ac_func innocuous_$ac_func
6416 /* System header to define __stub macros and hopefully few prototypes,
6417 which can conflict with char $ac_func (); below.
6418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6419 <limits.h> exists even on freestanding compilers. */
6422 # include <limits.h>
6424 # include <assert.h>
6429 /* Override any GCC internal prototype to avoid an error.
6430 Use char because int might match the return type of a GCC
6431 builtin and then its argument prototype would still apply. */
6436 /* The GNU C library defines this for functions which it implements
6437 to always fail with ENOSYS. Some functions are actually named
6438 something starting with __ and the normal name is an alias. */
6439 #if defined __stub_$ac_func || defined __stub___$ac_func
6451 rm -f conftest.$ac_objext conftest$ac_exeext
6452 if { (ac_try="$ac_link"
6454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6455 *) ac_try_echo
=$ac_try;;
6457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6458 (eval "$ac_link") 2>conftest.er1
6460 grep -v '^ *+' conftest.er1
>conftest.err
6462 cat conftest.err
>&5
6463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 (exit $ac_status); } && {
6465 test -z "$ac_c_werror_flag" ||
6466 test ! -s conftest.err
6467 } && test -s conftest
$ac_exeext &&
6468 $as_test_x conftest
$ac_exeext; then
6469 eval "$as_ac_var=yes"
6471 echo "$as_me: failed program was:" >&5
6472 sed 's/^/| /' conftest.
$ac_ext >&5
6474 eval "$as_ac_var=no"
6477 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6478 conftest
$ac_exeext conftest.
$ac_ext
6480 ac_res
=`eval echo '${'$as_ac_var'}'`
6481 { echo "$as_me:$LINENO: result: $ac_res" >&5
6482 echo "${ECHO_T}$ac_res" >&6; }
6483 if test `eval echo '${'$as_ac_var'}'` = yes; then
6484 cat >>confdefs.h
<<_ACEOF
6485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6489 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. X3 build will fail." >&5
6490 echo "$as_me: error: ftime or gettimeofday required. X3 build will fail." >&2;}
6491 { (exit 1); exit 1; }; }
6511 for ac_func
in freeaddrinfo getaddrinfo getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long sysconf
6513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6514 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6516 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6517 echo $ECHO_N "(cached) $ECHO_C" >&6
6519 cat >conftest.
$ac_ext <<_ACEOF
6522 cat confdefs.h
>>conftest.
$ac_ext
6523 cat >>conftest.
$ac_ext <<_ACEOF
6524 /* end confdefs.h. */
6525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6527 #define $ac_func innocuous_$ac_func
6529 /* System header to define __stub macros and hopefully few prototypes,
6530 which can conflict with char $ac_func (); below.
6531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6532 <limits.h> exists even on freestanding compilers. */
6535 # include <limits.h>
6537 # include <assert.h>
6542 /* Override any GCC internal prototype to avoid an error.
6543 Use char because int might match the return type of a GCC
6544 builtin and then its argument prototype would still apply. */
6549 /* The GNU C library defines this for functions which it implements
6550 to always fail with ENOSYS. Some functions are actually named
6551 something starting with __ and the normal name is an alias. */
6552 #if defined __stub_$ac_func || defined __stub___$ac_func
6564 rm -f conftest.
$ac_objext conftest
$ac_exeext
6565 if { (ac_try
="$ac_link"
6567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6568 *) ac_try_echo=$ac_try;;
6570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6571 (eval "$ac_link") 2>conftest.er1
6573 grep -v '^ *+' conftest.er1 >conftest.err
6575 cat conftest.err >&5
6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577 (exit $ac_status); } && {
6578 test -z "$ac_c_werror_flag" ||
6579 test ! -s conftest.err
6580 } && test -s conftest$ac_exeext &&
6581 $as_test_x conftest$ac_exeext; then
6582 eval "$as_ac_var=yes"
6584 echo "$as_me: failed program was:" >&5
6585 sed 's/^/| /' conftest.$ac_ext >&5
6587 eval "$as_ac_var=no"
6590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6591 conftest$ac_exeext conftest.$ac_ext
6593 ac_res=`eval echo '${'$as_ac_var'}'`
6594 { echo "$as_me:$LINENO: result: $ac_res" >&5
6595 echo "${ECHO_T}$ac_res" >&6; }
6596 if test `eval echo '${'$as_ac_var'}'` = yes; then
6597 cat >>confdefs.h <<_ACEOF
6598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6611 for ac_func in select socket strcspn strspn strtod strtoul
6613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6614 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6616 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6619 cat >conftest.$ac_ext <<_ACEOF
6622 cat confdefs.h >>conftest.$ac_ext
6623 cat >>conftest.$ac_ext <<_ACEOF
6624 /* end confdefs.h. */
6625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6627 #define $ac_func innocuous_$ac_func
6629 /* System header to define __stub macros and hopefully few prototypes,
6630 which can conflict with char $ac_func (); below.
6631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6632 <limits.h> exists even on freestanding compilers. */
6635 # include <limits.h>
6637 # include <assert.h>
6642 /* Override any GCC internal prototype to avoid an error.
6643 Use char because int might match the return type of a GCC
6644 builtin and then its argument prototype would still apply. */
6649 /* The GNU C library defines this for functions which it implements
6650 to always fail with ENOSYS. Some functions are actually named
6651 something starting with __ and the normal name is an alias. */
6652 #if defined __stub_$ac_func || defined __stub___$ac_func
6664 rm -f conftest.$ac_objext conftest$ac_exeext
6665 if { (ac_try="$ac_link"
6667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6668 *) ac_try_echo
=$ac_try;;
6670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6671 (eval "$ac_link") 2>conftest.er1
6673 grep -v '^ *+' conftest.er1
>conftest.err
6675 cat conftest.err
>&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); } && {
6678 test -z "$ac_c_werror_flag" ||
6679 test ! -s conftest.err
6680 } && test -s conftest
$ac_exeext &&
6681 $as_test_x conftest
$ac_exeext; then
6682 eval "$as_ac_var=yes"
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.
$ac_ext >&5
6687 eval "$as_ac_var=no"
6690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6691 conftest
$ac_exeext conftest.
$ac_ext
6693 ac_res
=`eval echo '${'$as_ac_var'}'`
6694 { echo "$as_me:$LINENO: result: $ac_res" >&5
6695 echo "${ECHO_T}$ac_res" >&6; }
6696 if test `eval echo '${'$as_ac_var'}'` = yes; then
6697 cat >>confdefs.h
<<_ACEOF
6698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6702 { { echo "$as_me:$LINENO: error: a required function was not found. X3 build will fail." >&5
6703 echo "$as_me: error: a required function was not found. X3 build will fail." >&2;}
6704 { (exit 1); exit 1; }; }
6709 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6710 # for constant arguments. Useless!
6711 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
6712 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6713 if test "${ac_cv_working_alloca_h+set}" = set; then
6714 echo $ECHO_N "(cached) $ECHO_C" >&6
6716 cat >conftest.
$ac_ext <<_ACEOF
6719 cat confdefs.h
>>conftest.
$ac_ext
6720 cat >>conftest.
$ac_ext <<_ACEOF
6721 /* end confdefs.h. */
6726 char *p = (char *) alloca (2 * sizeof (int));
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_working_alloca_h=yes
6752 echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.$ac_ext >&5
6755 ac_cv_working_alloca_h=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_working_alloca_h" >&5
6762 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6763 if test $ac_cv_working_alloca_h = yes; then
6765 cat >>confdefs.h <<\_ACEOF
6766 #define HAVE_ALLOCA_H 1
6771 { echo "$as_me:$LINENO: checking for alloca" >&5
6772 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6773 if test "${ac_cv_func_alloca_works+set}" = set; then
6774 echo $ECHO_N "(cached) $ECHO_C" >&6
6776 cat >conftest.$ac_ext <<_ACEOF
6779 cat confdefs.h >>conftest.$ac_ext
6780 cat >>conftest.$ac_ext <<_ACEOF
6781 /* end confdefs.h. */
6783 # define alloca __builtin_alloca
6786 # include <malloc.h>
6787 # define alloca _alloca
6789 # ifdef HAVE_ALLOCA_H
6790 # include <alloca.h>
6795 # ifndef alloca /* predefined by HP cc +Olibcalls */
6806 char *p = (char *) alloca (1);
6812 rm -f conftest.$ac_objext conftest$ac_exeext
6813 if { (ac_try="$ac_link"
6815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6816 *) ac_try_echo
=$ac_try;;
6818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6819 (eval "$ac_link") 2>conftest.er1
6821 grep -v '^ *+' conftest.er1
>conftest.err
6823 cat conftest.err
>&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); } && {
6826 test -z "$ac_c_werror_flag" ||
6827 test ! -s conftest.err
6828 } && test -s conftest
$ac_exeext &&
6829 $as_test_x conftest
$ac_exeext; then
6830 ac_cv_func_alloca_works
=yes
6832 echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.
$ac_ext >&5
6835 ac_cv_func_alloca_works
=no
6838 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6839 conftest
$ac_exeext conftest.
$ac_ext
6841 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6842 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
6844 if test $ac_cv_func_alloca_works = yes; then
6846 cat >>confdefs.h
<<\_ACEOF
6847 #define HAVE_ALLOCA 1
6851 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6852 # that cause trouble. Some versions do not even contain alloca or
6853 # contain a buggy version. If you still want to use their alloca,
6854 # use ar to extract alloca.o from them instead of compiling alloca.c.
6856 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6858 cat >>confdefs.h
<<\_ACEOF
6863 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6864 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
6865 if test "${ac_cv_os_cray+set}" = set; then
6866 echo $ECHO_N "(cached) $ECHO_C" >&6
6868 cat >conftest.
$ac_ext <<_ACEOF
6871 cat confdefs.h
>>conftest.
$ac_ext
6872 cat >>conftest.
$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6874 #if defined CRAY && ! defined CRAY2
6881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6882 $EGREP "webecray" >/dev
/null
2>&1; then
6890 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6891 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6892 if test $ac_cv_os_cray = yes; then
6893 for ac_func
in _getb67 GETB67 getb67
; do
6894 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6895 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6897 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6898 echo $ECHO_N "(cached) $ECHO_C" >&6
6900 cat >conftest.
$ac_ext <<_ACEOF
6903 cat confdefs.h
>>conftest.
$ac_ext
6904 cat >>conftest.
$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6908 #define $ac_func innocuous_$ac_func
6910 /* System header to define __stub macros and hopefully few prototypes,
6911 which can conflict with char $ac_func (); below.
6912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6913 <limits.h> exists even on freestanding compilers. */
6916 # include <limits.h>
6918 # include <assert.h>
6923 /* Override any GCC internal prototype to avoid an error.
6924 Use char because int might match the return type of a GCC
6925 builtin and then its argument prototype would still apply. */
6930 /* The GNU C library defines this for functions which it implements
6931 to always fail with ENOSYS. Some functions are actually named
6932 something starting with __ and the normal name is an alias. */
6933 #if defined __stub_$ac_func || defined __stub___$ac_func
6945 rm -f conftest.
$ac_objext conftest
$ac_exeext
6946 if { (ac_try
="$ac_link"
6948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6949 *) ac_try_echo=$ac_try;;
6951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6952 (eval "$ac_link") 2>conftest.er1
6954 grep -v '^ *+' conftest.er1 >conftest.err
6956 cat conftest.err >&5
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); } && {
6959 test -z "$ac_c_werror_flag" ||
6960 test ! -s conftest.err
6961 } && test -s conftest$ac_exeext &&
6962 $as_test_x conftest$ac_exeext; then
6963 eval "$as_ac_var=yes"
6965 echo "$as_me: failed program was:" >&5
6966 sed 's/^/| /' conftest.$ac_ext >&5
6968 eval "$as_ac_var=no"
6971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6972 conftest$ac_exeext conftest.$ac_ext
6974 ac_res=`eval echo '${'$as_ac_var'}'`
6975 { echo "$as_me:$LINENO: result: $ac_res" >&5
6976 echo "${ECHO_T}$ac_res" >&6; }
6977 if test `eval echo '${'$as_ac_var'}'` = yes; then
6979 cat >>confdefs.h <<_ACEOF
6980 #define CRAY_STACKSEG_END $ac_func
6989 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6990 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
6991 if test "${ac_cv_c_stack_direction+set}" = set; then
6992 echo $ECHO_N "(cached) $ECHO_C" >&6
6994 if test "$cross_compiling" = yes; then
6995 ac_cv_c_stack_direction=0
6997 cat >conftest.$ac_ext <<_ACEOF
7000 cat confdefs.h >>conftest.$ac_ext
7001 cat >>conftest.$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7003 $ac_includes_default
7005 find_stack_direction ()
7007 static char *addr = 0;
7012 return find_stack_direction ();
7015 return (&dummy > addr) ? 1 : -1;
7021 return find_stack_direction () < 0;
7024 rm -f conftest$ac_exeext
7025 if { (ac_try="$ac_link"
7027 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7028 *) ac_try_echo
=$ac_try;;
7030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7031 (eval "$ac_link") 2>&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7035 { (case "(($ac_try" in
7036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7037 *) ac_try_echo=$ac_try;;
7039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7040 (eval "$ac_try") 2>&5
7042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043 (exit $ac_status); }; }; then
7044 ac_cv_c_stack_direction=1
7046 echo "$as_me: program exited with status $ac_status" >&5
7047 echo "$as_me: failed program was:" >&5
7048 sed 's/^/| /' conftest.$ac_ext >&5
7051 ac_cv_c_stack_direction=-1
7053 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7058 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7059 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
7061 cat >>confdefs.h <<_ACEOF
7062 #define STACK_DIRECTION $ac_cv_c_stack_direction
7070 for ac_header in stdlib.h unistd.h
7072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7074 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7076 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7077 echo $ECHO_N "(cached) $ECHO_C" >&6
7079 ac_res=`eval echo '${'$as_ac_Header'}'`
7080 { echo "$as_me:$LINENO: result: $ac_res" >&5
7081 echo "${ECHO_T}$ac_res" >&6; }
7083 # Is the header compilable?
7084 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7086 cat >conftest.$ac_ext <<_ACEOF
7089 cat confdefs.h >>conftest.$ac_ext
7090 cat >>conftest.$ac_ext <<_ACEOF
7091 /* end confdefs.h. */
7092 $ac_includes_default
7093 #include <$ac_header>
7095 rm -f conftest.$ac_objext
7096 if { (ac_try="$ac_compile"
7098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7099 *) ac_try_echo
=$ac_try;;
7101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7102 (eval "$ac_compile") 2>conftest.er1
7104 grep -v '^ *+' conftest.er1
>conftest.err
7106 cat conftest.err
>&5
7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108 (exit $ac_status); } && {
7109 test -z "$ac_c_werror_flag" ||
7110 test ! -s conftest.err
7111 } && test -s conftest.
$ac_objext; then
7112 ac_header_compiler
=yes
7114 echo "$as_me: failed program was:" >&5
7115 sed 's/^/| /' conftest.
$ac_ext >&5
7117 ac_header_compiler
=no
7120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7121 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7122 echo "${ECHO_T}$ac_header_compiler" >&6; }
7124 # Is the header present?
7125 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7126 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7127 cat >conftest.
$ac_ext <<_ACEOF
7130 cat confdefs.h
>>conftest.
$ac_ext
7131 cat >>conftest.
$ac_ext <<_ACEOF
7132 /* end confdefs.h. */
7133 #include <$ac_header>
7135 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7138 *) ac_try_echo=$ac_try;;
7140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7141 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7143 grep -v '^ *+' conftest.er1 >conftest.err
7145 cat conftest.err >&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } >/dev/null && {
7148 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7149 test ! -s conftest.err
7151 ac_header_preproc=yes
7153 echo "$as_me: failed program was:" >&5
7154 sed 's/^/| /' conftest.$ac_ext >&5
7156 ac_header_preproc=no
7159 rm -f conftest.err conftest.$ac_ext
7160 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7161 echo "${ECHO_T}$ac_header_preproc" >&6; }
7163 # So? What about this header?
7164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7166 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7167 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7169 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7170 ac_header_preproc=yes
7173 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7174 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7175 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7176 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7177 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7178 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7179 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7180 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7183 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7184 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7186 ## -------------------------------------------------- ##
7187 ## Report this to evilnet-devel@lists.sourceforge.net ##
7188 ## -------------------------------------------------- ##
7190 ) | sed "s/^/$as_me: WARNING: /" >&2
7193 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7196 echo $ECHO_N "(cached) $ECHO_C" >&6
7198 eval "$as_ac_Header=\$ac_header_preproc"
7200 ac_res=`eval echo '${'$as_ac_Header'}'`
7201 { echo "$as_me:$LINENO: result: $ac_res" >&5
7202 echo "${ECHO_T}$ac_res" >&6; }
7205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7206 cat >>confdefs.h <<_ACEOF
7207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7215 for ac_func in getpagesize
7217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7221 echo $ECHO_N "(cached) $ECHO_C" >&6
7223 cat >conftest.$ac_ext <<_ACEOF
7226 cat confdefs.h >>conftest.$ac_ext
7227 cat >>conftest.$ac_ext <<_ACEOF
7228 /* end confdefs.h. */
7229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7231 #define $ac_func innocuous_$ac_func
7233 /* System header to define __stub macros and hopefully few prototypes,
7234 which can conflict with char $ac_func (); below.
7235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7236 <limits.h> exists even on freestanding compilers. */
7239 # include <limits.h>
7241 # include <assert.h>
7246 /* Override any GCC internal prototype to avoid an error.
7247 Use char because int might match the return type of a GCC
7248 builtin and then its argument prototype would still apply. */
7253 /* The GNU C library defines this for functions which it implements
7254 to always fail with ENOSYS. Some functions are actually named
7255 something starting with __ and the normal name is an alias. */
7256 #if defined __stub_$ac_func || defined __stub___$ac_func
7268 rm -f conftest.$ac_objext conftest$ac_exeext
7269 if { (ac_try="$ac_link"
7271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7272 *) ac_try_echo
=$ac_try;;
7274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7275 (eval "$ac_link") 2>conftest.er1
7277 grep -v '^ *+' conftest.er1
>conftest.err
7279 cat conftest.err
>&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); } && {
7282 test -z "$ac_c_werror_flag" ||
7283 test ! -s conftest.err
7284 } && test -s conftest
$ac_exeext &&
7285 $as_test_x conftest
$ac_exeext; then
7286 eval "$as_ac_var=yes"
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.
$ac_ext >&5
7291 eval "$as_ac_var=no"
7294 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7295 conftest
$ac_exeext conftest.
$ac_ext
7297 ac_res
=`eval echo '${'$as_ac_var'}'`
7298 { echo "$as_me:$LINENO: result: $ac_res" >&5
7299 echo "${ECHO_T}$ac_res" >&6; }
7300 if test `eval echo '${'$as_ac_var'}'` = yes; then
7301 cat >>confdefs.h
<<_ACEOF
7302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7308 { echo "$as_me:$LINENO: checking for working mmap" >&5
7309 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7310 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7311 echo $ECHO_N "(cached) $ECHO_C" >&6
7313 if test "$cross_compiling" = yes; then
7314 ac_cv_func_mmap_fixed_mapped
=no
7316 cat >conftest.
$ac_ext <<_ACEOF
7319 cat confdefs.h
>>conftest.
$ac_ext
7320 cat >>conftest.
$ac_ext <<_ACEOF
7321 /* end confdefs.h. */
7322 $ac_includes_default
7323 /* malloc might have been renamed as rpl_malloc. */
7326 /* Thanks to Mike Haertel and Jim Avera for this test.
7327 Here is a matrix of mmap possibilities:
7328 mmap private not fixed
7329 mmap private fixed at somewhere currently unmapped
7330 mmap private fixed at somewhere already mapped
7331 mmap shared not fixed
7332 mmap shared fixed at somewhere currently unmapped
7333 mmap shared fixed at somewhere already mapped
7334 For private mappings, we should verify that changes cannot be read()
7335 back from the file, nor mmap's back from the file at a different
7336 address. (There have been systems where private was not correctly
7337 implemented like the infamous i386 svr4.0, and systems where the
7338 VM page cache was not coherent with the file system buffer cache
7339 like early versions of FreeBSD and possibly contemporary NetBSD.)
7340 For shared mappings, we should conversely verify that changes get
7341 propagated back to all the places they're supposed to be.
7343 Grep wants private fixed already mapped.
7344 The main things grep needs to know about mmap are:
7345 * does it exist and is it safe to write into the mmap'd area
7346 * how to use it (BSD variants) */
7349 #include <sys/mman.h>
7351 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7355 /* This mess was copied from the GNU getpagesize.h. */
7356 #ifndef HAVE_GETPAGESIZE
7357 /* Assume that all systems that can run configure have sys/param.h. */
7358 # ifndef HAVE_SYS_PARAM_H
7359 # define HAVE_SYS_PARAM_H 1
7362 # ifdef _SC_PAGESIZE
7363 # define getpagesize() sysconf(_SC_PAGESIZE)
7364 # else /* no _SC_PAGESIZE */
7365 # ifdef HAVE_SYS_PARAM_H
7366 # include <sys/param.h>
7367 # ifdef EXEC_PAGESIZE
7368 # define getpagesize() EXEC_PAGESIZE
7369 # else /* no EXEC_PAGESIZE */
7371 # define getpagesize() NBPG * CLSIZE
7374 # endif /* no CLSIZE */
7375 # else /* no NBPG */
7377 # define getpagesize() NBPC
7378 # else /* no NBPC */
7380 # define getpagesize() PAGESIZE
7381 # endif /* PAGESIZE */
7382 # endif /* no NBPC */
7383 # endif /* no NBPG */
7384 # endif /* no EXEC_PAGESIZE */
7385 # else /* no HAVE_SYS_PARAM_H */
7386 # define getpagesize() 8192 /* punt totally */
7387 # endif /* no HAVE_SYS_PARAM_H */
7388 # endif /* no _SC_PAGESIZE */
7390 #endif /* no HAVE_GETPAGESIZE */
7395 char *data, *data2, *data3;
7399 pagesize = getpagesize ();
7401 /* First, make a file with some known garbage in it. */
7402 data = (char *) malloc (pagesize);
7405 for (i = 0; i < pagesize; ++i)
7406 *(data + i) = rand ();
7408 fd = creat ("conftest.mmap", 0600);
7411 if (write (fd, data, pagesize) != pagesize)
7415 /* Next, try to mmap the file at a fixed address which already has
7416 something else allocated at it. If we can, also make sure that
7417 we see the same garbage. */
7418 fd = open ("conftest.mmap", O_RDWR);
7421 data2 = (char *) malloc (2 * pagesize);
7424 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7425 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7426 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7428 for (i = 0; i < pagesize; ++i)
7429 if (*(data + i) != *(data2 + i))
7432 /* Finally, make sure that changes to the mapped area do not
7433 percolate back to the file as seen by read(). (This is a bug on
7434 some variants of i386 svr4.0.) */
7435 for (i = 0; i < pagesize; ++i)
7436 *(data2 + i) = *(data2 + i) + 1;
7437 data3 = (char *) malloc (pagesize);
7440 if (read (fd, data3, pagesize) != pagesize)
7442 for (i = 0; i < pagesize; ++i)
7443 if (*(data + i) != *(data3 + i))
7449 rm -f conftest
$ac_exeext
7450 if { (ac_try
="$ac_link"
7452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7453 *) ac_try_echo=$ac_try;;
7455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7456 (eval "$ac_link") 2>&5
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7460 { (case "(($ac_try" in
7461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7462 *) ac_try_echo
=$ac_try;;
7464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7465 (eval "$ac_try") 2>&5
7467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468 (exit $ac_status); }; }; then
7469 ac_cv_func_mmap_fixed_mapped
=yes
7471 echo "$as_me: program exited with status $ac_status" >&5
7472 echo "$as_me: failed program was:" >&5
7473 sed 's/^/| /' conftest.
$ac_ext >&5
7476 ac_cv_func_mmap_fixed_mapped
=no
7478 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7483 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7484 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7485 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7487 cat >>confdefs.h
<<\_ACEOF
7495 { echo "$as_me:$LINENO: checking for sin_len" >&5
7496 echo $ECHO_N "checking for sin_len... $ECHO_C" >&6; }
7497 if test "${ac_cv_sin_len+set}" = set; then
7498 echo $ECHO_N "(cached) $ECHO_C" >&6
7500 cat >conftest.
$ac_ext <<_ACEOF
7503 cat confdefs.h
>>conftest.
$ac_ext
7504 cat >>conftest.
$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 #include <sys/types.h>
7507 #include <netinet/in.h>
7511 struct sockaddr_in *sin; sin->sin_len = 0;
7516 rm -f conftest.
$ac_objext
7517 if { (ac_try
="$ac_compile"
7519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7520 *) ac_try_echo=$ac_try;;
7522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7523 (eval "$ac_compile") 2>conftest.er1
7525 grep -v '^ *+' conftest.er1 >conftest.err
7527 cat conftest.err >&5
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); } && {
7530 test -z "$ac_c_werror_flag" ||
7531 test ! -s conftest.err
7532 } && test -s conftest.$ac_objext; then
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.$ac_ext >&5
7541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7543 { echo "$as_me:$LINENO: result: $ac_cv_sin_len" >&5
7544 echo "${ECHO_T}$ac_cv_sin_len" >&6; }
7545 if test $ac_cv_sin_len = yes ; then
7547 cat >>confdefs.h <<\_ACEOF
7548 #define HAVE_SIN_LEN 1
7553 { echo "$as_me:$LINENO: checking for socklen_t" >&5
7554 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
7555 if test "${ac_cv_type_socklen_t+set}" = set; then
7556 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 cat >conftest.$ac_ext <<_ACEOF
7561 cat confdefs.h >>conftest.$ac_ext
7562 cat >>conftest.$ac_ext <<_ACEOF
7563 /* end confdefs.h. */
7564 #include <sys/types.h>
7565 #include<sys/socket.h>
7567 typedef socklen_t ac__type_new_;
7571 if ((ac__type_new_ *) 0)
7573 if (sizeof (ac__type_new_))
7579 rm -f conftest.$ac_objext
7580 if { (ac_try="$ac_compile"
7582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7583 *) ac_try_echo
=$ac_try;;
7585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7586 (eval "$ac_compile") 2>conftest.er1
7588 grep -v '^ *+' conftest.er1
>conftest.err
7590 cat conftest.err
>&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); } && {
7593 test -z "$ac_c_werror_flag" ||
7594 test ! -s conftest.err
7595 } && test -s conftest.
$ac_objext; then
7596 ac_cv_type_socklen_t
=yes
7598 echo "$as_me: failed program was:" >&5
7599 sed 's/^/| /' conftest.
$ac_ext >&5
7601 ac_cv_type_socklen_t
=no
7604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7606 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7607 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
7608 if test $ac_cv_type_socklen_t = yes; then
7612 { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
7613 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; }
7614 if test "${curl_cv_socklen_t_equiv+set}" = set; then
7615 echo $ECHO_N "(cached) $ECHO_C" >&6
7618 curl_cv_socklen_t_equiv
=
7619 for arg2
in "struct sockaddr" void
; do
7620 for t
in int size_t unsigned long
"unsigned long" ; do
7621 cat >conftest.
$ac_ext <<_ACEOF
7624 cat confdefs.h
>>conftest.
$ac_ext
7625 cat >>conftest.
$ac_ext <<_ACEOF
7626 /* end confdefs.h. */
7627 #include <sys/types.h>
7628 #include <sys/socket.h>
7629 int getpeername (int $arg2 *, $t *);
7634 getpeername(0, 0, &len);
7639 rm -f conftest.
$ac_objext
7640 if { (ac_try
="$ac_compile"
7642 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7643 *) ac_try_echo=$ac_try;;
7645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7646 (eval "$ac_compile") 2>conftest.er1
7648 grep -v '^ *+' conftest.er1 >conftest.err
7650 cat conftest.err >&5
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); } && {
7653 test -z "$ac_c_werror_flag" ||
7654 test ! -s conftest.err
7655 } && test -s conftest.$ac_objext; then
7656 curl_cv_socklen_t_equiv="$t"
7659 echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5
7665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7671 { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
7672 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; }
7674 cat >>confdefs.h <<_ACEOF
7675 #define socklen_t $curl_cv_socklen_t_equiv
7682 CFLAGS="$CFLAGS -W -Wall -Werror"
7684 { echo "$as_me:$LINENO: checking for time_t format" >&5
7685 echo $ECHO_N "checking for time_t format... $ECHO_C" >&6; }
7686 if test "${ac_cv_fmt_time_t+set}" = set; then
7687 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 cat >conftest.$ac_ext <<_ACEOF
7692 #include <sys/types.h>
7696 printf("%li", test);
7699 rm -f conftest.$ac_objext
7700 if { (ac_try="$ac_compile"
7702 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7703 *) ac_try_echo
=$ac_try;;
7705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7706 (eval "$ac_compile") 2>conftest.er1
7708 grep -v '^ *+' conftest.er1
>conftest.err
7710 cat conftest.err
>&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); } && {
7713 test -z "$ac_c_werror_flag" ||
7714 test ! -s conftest.err
7715 } && test -s conftest.
$ac_objext; then
7716 ac_cv_fmt_time_t
="\"%li\""
7718 echo "$as_me: failed program was:" >&5
7719 sed 's/^/| /' conftest.
$ac_ext >&5
7724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7725 if test $ac_cv_fmt_time_t = no
; then
7726 cat >conftest.
$ac_ext <<_ACEOF
7727 #include <sys/types.h>
7734 rm -f conftest.
$ac_objext
7735 if { (ac_try
="$ac_compile"
7737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7738 *) ac_try_echo=$ac_try;;
7740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7741 (eval "$ac_compile") 2>conftest.er1
7743 grep -v '^ *+' conftest.er1 >conftest.err
7745 cat conftest.err >&5
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); } && {
7748 test -z "$ac_c_werror_flag" ||
7749 test ! -s conftest.err
7750 } && test -s conftest.$ac_objext; then
7751 ac_cv_fmt_time_t="\"%i\""
7753 echo "$as_me: failed program was:" >&5
7754 sed 's/^/| /' conftest.$ac_ext >&5
7759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7761 if test $ac_cv_fmt_time_t = no; then
7762 { { echo "$as_me:$LINENO: error: Cannot detect format string for time_t
7763 Please check sys/types.h for the typedef of time_t and submit to a developer" >&5
7764 echo "$as_me: error: Cannot detect format string for time_t
7765 Please check sys/types.h for the typedef of time_t and submit to a developer" >&2;}
7766 { (exit 1); exit 1; }; }
7772 cat >>confdefs.h <<_ACEOF
7773 #define FMT_TIME_T $ac_cv_fmt_time_t
7776 { echo "$as_me:$LINENO: result: $ac_cv_fmt_time_t" >&5
7777 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6; }
7779 { echo "$as_me:$LINENO: checking for va_copy" >&5
7780 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
7781 if test "${ac_cv_c_va_copy+set}" = set; then
7782 echo $ECHO_N "(cached) $ECHO_C" >&6
7784 cat >conftest.$ac_ext <<_ACEOF
7787 cat confdefs.h >>conftest.$ac_ext
7788 cat >>conftest.$ac_ext <<_ACEOF
7789 /* end confdefs.h. */
7794 va_list ap1, ap2; va_copy(ap1, ap2);
7799 rm -f conftest.$ac_objext conftest$ac_exeext
7800 if { (ac_try="$ac_link"
7802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7803 *) ac_try_echo
=$ac_try;;
7805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7806 (eval "$ac_link") 2>conftest.er1
7808 grep -v '^ *+' conftest.er1
>conftest.err
7810 cat conftest.err
>&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); } && {
7813 test -z "$ac_c_werror_flag" ||
7814 test ! -s conftest.err
7815 } && test -s conftest
$ac_exeext &&
7816 $as_test_x conftest
$ac_exeext; then
7817 ac_cv_c_va_copy
="yes"
7819 echo "$as_me: failed program was:" >&5
7820 sed 's/^/| /' conftest.
$ac_ext >&5
7822 ac_cv_c_va_copy
="no"
7826 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7827 conftest
$ac_exeext conftest.
$ac_ext
7829 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
7830 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
7831 if test "$ac_cv_c_va_copy" = "yes" ; then
7833 cat >>confdefs.h
<<\_ACEOF
7834 #define HAVE_VA_COPY 1
7839 { echo "$as_me:$LINENO: checking for __va_copy" >&5
7840 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
7841 if test "${ac_cv_c___va_copy+set}" = set; then
7842 echo $ECHO_N "(cached) $ECHO_C" >&6
7844 cat >conftest.
$ac_ext <<_ACEOF
7847 cat confdefs.h
>>conftest.
$ac_ext
7848 cat >>conftest.
$ac_ext <<_ACEOF
7849 /* end confdefs.h. */
7854 va_list ap1, ap2; __va_copy(ap1, ap2);
7859 rm -f conftest.
$ac_objext conftest
$ac_exeext
7860 if { (ac_try
="$ac_link"
7862 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7863 *) ac_try_echo=$ac_try;;
7865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7866 (eval "$ac_link") 2>conftest.er1
7868 grep -v '^ *+' conftest.er1 >conftest.err
7870 cat conftest.err >&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); } && {
7873 test -z "$ac_c_werror_flag" ||
7874 test ! -s conftest.err
7875 } && test -s conftest$ac_exeext &&
7876 $as_test_x conftest$ac_exeext; then
7877 ac_cv_c___va_copy="yes"
7879 echo "$as_me: failed program was:" >&5
7880 sed 's/^/| /' conftest.$ac_ext >&5
7882 ac_cv_c___va_copy="no"
7886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7887 conftest$ac_exeext conftest.$ac_ext
7889 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
7890 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
7891 if test "$ac_cv_c___va_copy" = "yes" ; then
7893 cat >>confdefs.h <<\_ACEOF
7894 #define HAVE___VA_COPY 1
7901 { echo "$as_me:$LINENO: checking which malloc to use" >&5
7902 echo $ECHO_N "checking which malloc to use... $ECHO_C" >&6; }
7904 # Check whether --with-malloc was given.
7905 if test "${with_malloc+set}" = set; then
7906 withval=$with_malloc;
7911 if test "x$withval" = "xsystem" ; then
7912 { echo "$as_me:$LINENO: result: system" >&5
7913 echo "${ECHO_T}system" >&6; }
7915 cat >>confdefs.h <<\_ACEOF
7916 #define WITH_MALLOC_SYSTEM 1
7920 elif test "x$withval" = "xdmalloc" ; then
7921 { echo "$as_me:$LINENO: result: dmalloc" >&5
7922 echo "${ECHO_T}dmalloc" >&6; }
7924 for ac_header in dmalloc.h
7926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7928 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7930 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7931 echo $ECHO_N "(cached) $ECHO_C" >&6
7933 ac_res=`eval echo '${'$as_ac_Header'}'`
7934 { echo "$as_me:$LINENO: result: $ac_res" >&5
7935 echo "${ECHO_T}$ac_res" >&6; }
7937 # Is the header compilable?
7938 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7940 cat >conftest.$ac_ext <<_ACEOF
7943 cat confdefs.h >>conftest.$ac_ext
7944 cat >>conftest.$ac_ext <<_ACEOF
7945 /* end confdefs.h. */
7946 $ac_includes_default
7947 #include <$ac_header>
7949 rm -f conftest.$ac_objext
7950 if { (ac_try="$ac_compile"
7952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7953 *) ac_try_echo
=$ac_try;;
7955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7956 (eval "$ac_compile") 2>conftest.er1
7958 grep -v '^ *+' conftest.er1
>conftest.err
7960 cat conftest.err
>&5
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); } && {
7963 test -z "$ac_c_werror_flag" ||
7964 test ! -s conftest.err
7965 } && test -s conftest.
$ac_objext; then
7966 ac_header_compiler
=yes
7968 echo "$as_me: failed program was:" >&5
7969 sed 's/^/| /' conftest.
$ac_ext >&5
7971 ac_header_compiler
=no
7974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7975 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7976 echo "${ECHO_T}$ac_header_compiler" >&6; }
7978 # Is the header present?
7979 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7980 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7981 cat >conftest.
$ac_ext <<_ACEOF
7984 cat confdefs.h
>>conftest.
$ac_ext
7985 cat >>conftest.
$ac_ext <<_ACEOF
7986 /* end confdefs.h. */
7987 #include <$ac_header>
7989 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7992 *) ac_try_echo=$ac_try;;
7994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7997 grep -v '^ *+' conftest.er1 >conftest.err
7999 cat conftest.err >&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); } >/dev/null && {
8002 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8003 test ! -s conftest.err
8005 ac_header_preproc=yes
8007 echo "$as_me: failed program was:" >&5
8008 sed 's/^/| /' conftest.$ac_ext >&5
8010 ac_header_preproc=no
8013 rm -f conftest.err conftest.$ac_ext
8014 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8015 echo "${ECHO_T}$ac_header_preproc" >&6; }
8017 # So? What about this header?
8018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8024 ac_header_preproc=yes
8027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8031 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8033 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8034 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8037 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8040 ## -------------------------------------------------- ##
8041 ## Report this to evilnet-devel@lists.sourceforge.net ##
8042 ## -------------------------------------------------- ##
8044 ) | sed "s/^/$as_me: WARNING: /" >&2
8047 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8052 eval "$as_ac_Header=\$ac_header_preproc"
8054 ac_res=`eval echo '${'$as_ac_Header'}'`
8055 { echo "$as_me:$LINENO: result: $ac_res" >&5
8056 echo "${ECHO_T}$ac_res" >&6; }
8059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8060 cat >>confdefs.h <<_ACEOF
8061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8065 { { echo "$as_me:$LINENO: error: dmalloc header file missing. dmalloc build will fail." >&5
8066 echo "$as_me: error: dmalloc header file missing. dmalloc build will fail." >&2;}
8067 { (exit 1); exit 1; }; }
8073 { echo "$as_me:$LINENO: checking for malloc in -ldmalloc" >&5
8074 echo $ECHO_N "checking for malloc in -ldmalloc... $ECHO_C" >&6; }
8075 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
8076 echo $ECHO_N "(cached) $ECHO_C" >&6
8078 ac_check_lib_save_LIBS=$LIBS
8079 LIBS="-ldmalloc $LIBS"
8080 cat >conftest.$ac_ext <<_ACEOF
8083 cat confdefs.h >>conftest.$ac_ext
8084 cat >>conftest.$ac_ext <<_ACEOF
8085 /* end confdefs.h. */
8087 /* Override any GCC internal prototype to avoid an error.
8088 Use char because int might match the return type of a GCC
8089 builtin and then its argument prototype would still apply. */
8102 rm -f conftest.$ac_objext conftest$ac_exeext
8103 if { (ac_try="$ac_link"
8105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8106 *) ac_try_echo
=$ac_try;;
8108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8109 (eval "$ac_link") 2>conftest.er1
8111 grep -v '^ *+' conftest.er1
>conftest.err
8113 cat conftest.err
>&5
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); } && {
8116 test -z "$ac_c_werror_flag" ||
8117 test ! -s conftest.err
8118 } && test -s conftest
$ac_exeext &&
8119 $as_test_x conftest
$ac_exeext; then
8120 ac_cv_lib_dmalloc_malloc
=yes
8122 echo "$as_me: failed program was:" >&5
8123 sed 's/^/| /' conftest.
$ac_ext >&5
8125 ac_cv_lib_dmalloc_malloc
=no
8128 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8129 conftest
$ac_exeext conftest.
$ac_ext
8130 LIBS
=$ac_check_lib_save_LIBS
8132 { echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_malloc" >&5
8133 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6; }
8134 if test $ac_cv_lib_dmalloc_malloc = yes; then
8135 cat >>confdefs.h
<<_ACEOF
8136 #define HAVE_LIBDMALLOC 1
8139 LIBS
="-ldmalloc $LIBS"
8142 { { echo "$as_me:$LINENO: error: dmalloc library is missing. dmalloc build will fail." >&5
8143 echo "$as_me: error: dmalloc library is missing. dmalloc build will fail." >&2;}
8144 { (exit 1); exit 1; }; }
8148 cat >>confdefs.h
<<\_ACEOF
8149 #define WITH_MALLOC_DMALLOC 1
8153 elif test "x$withval" = "xmpatrol" ; then
8154 { echo "$as_me:$LINENO: result: mpatrol" >&5
8155 echo "${ECHO_T}mpatrol" >&6; }
8157 for ac_header
in mpatrol.h
8159 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8160 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8161 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8163 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8164 echo $ECHO_N "(cached) $ECHO_C" >&6
8166 ac_res
=`eval echo '${'$as_ac_Header'}'`
8167 { echo "$as_me:$LINENO: result: $ac_res" >&5
8168 echo "${ECHO_T}$ac_res" >&6; }
8170 # Is the header compilable?
8171 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8172 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8173 cat >conftest.
$ac_ext <<_ACEOF
8176 cat confdefs.h
>>conftest.
$ac_ext
8177 cat >>conftest.
$ac_ext <<_ACEOF
8178 /* end confdefs.h. */
8179 $ac_includes_default
8180 #include <$ac_header>
8182 rm -f conftest.
$ac_objext
8183 if { (ac_try
="$ac_compile"
8185 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8186 *) ac_try_echo=$ac_try;;
8188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8189 (eval "$ac_compile") 2>conftest.er1
8191 grep -v '^ *+' conftest.er1 >conftest.err
8193 cat conftest.err >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } && {
8196 test -z "$ac_c_werror_flag" ||
8197 test ! -s conftest.err
8198 } && test -s conftest.$ac_objext; then
8199 ac_header_compiler=yes
8201 echo "$as_me: failed program was:" >&5
8202 sed 's/^/| /' conftest.$ac_ext >&5
8204 ac_header_compiler=no
8207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8208 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8209 echo "${ECHO_T}$ac_header_compiler" >&6; }
8211 # Is the header present?
8212 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8214 cat >conftest.$ac_ext <<_ACEOF
8217 cat confdefs.h >>conftest.$ac_ext
8218 cat >>conftest.$ac_ext <<_ACEOF
8219 /* end confdefs.h. */
8220 #include <$ac_header>
8222 if { (ac_try="$ac_cpp conftest.$ac_ext"
8224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8225 *) ac_try_echo
=$ac_try;;
8227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8230 grep -v '^ *+' conftest.er1
>conftest.err
8232 cat conftest.err
>&5
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); } >/dev
/null
&& {
8235 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8236 test ! -s conftest.err
8238 ac_header_preproc
=yes
8240 echo "$as_me: failed program was:" >&5
8241 sed 's/^/| /' conftest.
$ac_ext >&5
8243 ac_header_preproc
=no
8246 rm -f conftest.err conftest.
$ac_ext
8247 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8248 echo "${ECHO_T}$ac_header_preproc" >&6; }
8250 # So? What about this header?
8251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8253 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8254 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8256 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8257 ac_header_preproc
=yes
8260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8264 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8265 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8266 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8267 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8270 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8271 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8273 ## -------------------------------------------------- ##
8274 ## Report this to evilnet-devel@lists.sourceforge.net ##
8275 ## -------------------------------------------------- ##
8277 ) | sed "s/^/$as_me: WARNING: /" >&2
8280 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8282 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8283 echo $ECHO_N "(cached) $ECHO_C" >&6
8285 eval "$as_ac_Header=\$ac_header_preproc"
8287 ac_res
=`eval echo '${'$as_ac_Header'}'`
8288 { echo "$as_me:$LINENO: result: $ac_res" >&5
8289 echo "${ECHO_T}$ac_res" >&6; }
8292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8293 cat >>confdefs.h
<<_ACEOF
8294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8298 { { echo "$as_me:$LINENO: error: mpatrol header file missing. mpatrol build will fail." >&5
8299 echo "$as_me: error: mpatrol header file missing. mpatrol build will fail." >&2;}
8300 { (exit 1); exit 1; }; }
8306 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
8307 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
8308 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8309 echo $ECHO_N "(cached) $ECHO_C" >&6
8311 ac_check_lib_save_LIBS
=$LIBS
8313 cat >conftest.
$ac_ext <<_ACEOF
8316 cat confdefs.h
>>conftest.
$ac_ext
8317 cat >>conftest.
$ac_ext <<_ACEOF
8318 /* end confdefs.h. */
8320 /* Override any GCC internal prototype to avoid an error.
8321 Use char because int might match the return type of a GCC
8322 builtin and then its argument prototype would still apply. */
8330 return elf_begin ();
8335 rm -f conftest.
$ac_objext conftest
$ac_exeext
8336 if { (ac_try
="$ac_link"
8338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8339 *) ac_try_echo=$ac_try;;
8341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8342 (eval "$ac_link") 2>conftest.er1
8344 grep -v '^ *+' conftest.er1 >conftest.err
8346 cat conftest.err >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); } && {
8349 test -z "$ac_c_werror_flag" ||
8350 test ! -s conftest.err
8351 } && test -s conftest$ac_exeext &&
8352 $as_test_x conftest$ac_exeext; then
8353 ac_cv_lib_elf_elf_begin=yes
8355 echo "$as_me: failed program was:" >&5
8356 sed 's/^/| /' conftest.$ac_ext >&5
8358 ac_cv_lib_elf_elf_begin=no
8361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8362 conftest$ac_exeext conftest.$ac_ext
8363 LIBS=$ac_check_lib_save_LIBS
8365 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
8366 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
8367 if test $ac_cv_lib_elf_elf_begin = yes; then
8368 cat >>confdefs.h <<_ACEOF
8369 #define HAVE_LIBELF 1
8377 { echo "$as_me:$LINENO: checking for __mp_atexit in -lmpatrol" >&5
8378 echo $ECHO_N "checking for __mp_atexit in -lmpatrol... $ECHO_C" >&6; }
8379 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
8380 echo $ECHO_N "(cached) $ECHO_C" >&6
8382 ac_check_lib_save_LIBS=$LIBS
8383 LIBS="-lmpatrol $LIBS"
8384 cat >conftest.$ac_ext <<_ACEOF
8387 cat confdefs.h >>conftest.$ac_ext
8388 cat >>conftest.$ac_ext <<_ACEOF
8389 /* end confdefs.h. */
8391 /* Override any GCC internal prototype to avoid an error.
8392 Use char because int might match the return type of a GCC
8393 builtin and then its argument prototype would still apply. */
8397 char __mp_atexit ();
8401 return __mp_atexit ();
8406 rm -f conftest.$ac_objext conftest$ac_exeext
8407 if { (ac_try="$ac_link"
8409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8410 *) ac_try_echo
=$ac_try;;
8412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8413 (eval "$ac_link") 2>conftest.er1
8415 grep -v '^ *+' conftest.er1
>conftest.err
8417 cat conftest.err
>&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); } && {
8420 test -z "$ac_c_werror_flag" ||
8421 test ! -s conftest.err
8422 } && test -s conftest
$ac_exeext &&
8423 $as_test_x conftest
$ac_exeext; then
8424 ac_cv_lib_mpatrol___mp_atexit
=yes
8426 echo "$as_me: failed program was:" >&5
8427 sed 's/^/| /' conftest.
$ac_ext >&5
8429 ac_cv_lib_mpatrol___mp_atexit
=no
8432 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8433 conftest
$ac_exeext conftest.
$ac_ext
8434 LIBS
=$ac_check_lib_save_LIBS
8436 { echo "$as_me:$LINENO: result: $ac_cv_lib_mpatrol___mp_atexit" >&5
8437 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6; }
8438 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
8439 cat >>confdefs.h
<<_ACEOF
8440 #define HAVE_LIBMPATROL 1
8443 LIBS
="-lmpatrol $LIBS"
8446 { { echo "$as_me:$LINENO: error: mpatrol library is missing completely. mpatrol build will fail." >&5
8447 echo "$as_me: error: mpatrol library is missing completely. mpatrol build will fail." >&2;}
8448 { (exit 1); exit 1; }; }
8452 cat >>confdefs.h
<<\_ACEOF
8453 #define WITH_MALLOC_MPATROL 1
8457 elif test "x$withval" = "xboehm-gc" ; then
8458 { echo "$as_me:$LINENO: result: boehm-gc" >&5
8459 echo "${ECHO_T}boehm-gc" >&6; }
8461 for ac_header
in gc
/gc.h
8463 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8464 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8465 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8467 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8468 echo $ECHO_N "(cached) $ECHO_C" >&6
8470 ac_res
=`eval echo '${'$as_ac_Header'}'`
8471 { echo "$as_me:$LINENO: result: $ac_res" >&5
8472 echo "${ECHO_T}$ac_res" >&6; }
8474 # Is the header compilable?
8475 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8477 cat >conftest.
$ac_ext <<_ACEOF
8480 cat confdefs.h
>>conftest.
$ac_ext
8481 cat >>conftest.
$ac_ext <<_ACEOF
8482 /* end confdefs.h. */
8483 $ac_includes_default
8484 #include <$ac_header>
8486 rm -f conftest.
$ac_objext
8487 if { (ac_try
="$ac_compile"
8489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8490 *) ac_try_echo=$ac_try;;
8492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8493 (eval "$ac_compile") 2>conftest.er1
8495 grep -v '^ *+' conftest.er1 >conftest.err
8497 cat conftest.err >&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); } && {
8500 test -z "$ac_c_werror_flag" ||
8501 test ! -s conftest.err
8502 } && test -s conftest.$ac_objext; then
8503 ac_header_compiler=yes
8505 echo "$as_me: failed program was:" >&5
8506 sed 's/^/| /' conftest.$ac_ext >&5
8508 ac_header_compiler=no
8511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8512 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8513 echo "${ECHO_T}$ac_header_compiler" >&6; }
8515 # Is the header present?
8516 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8517 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8518 cat >conftest.$ac_ext <<_ACEOF
8521 cat confdefs.h >>conftest.$ac_ext
8522 cat >>conftest.$ac_ext <<_ACEOF
8523 /* end confdefs.h. */
8524 #include <$ac_header>
8526 if { (ac_try="$ac_cpp conftest.$ac_ext"
8528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8529 *) ac_try_echo
=$ac_try;;
8531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8534 grep -v '^ *+' conftest.er1
>conftest.err
8536 cat conftest.err
>&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); } >/dev
/null
&& {
8539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8540 test ! -s conftest.err
8542 ac_header_preproc
=yes
8544 echo "$as_me: failed program was:" >&5
8545 sed 's/^/| /' conftest.
$ac_ext >&5
8547 ac_header_preproc
=no
8550 rm -f conftest.err conftest.
$ac_ext
8551 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8552 echo "${ECHO_T}$ac_header_preproc" >&6; }
8554 # So? What about this header?
8555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8557 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8558 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8560 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8561 ac_header_preproc
=yes
8564 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8565 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8566 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8567 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8568 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8569 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8570 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8571 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8574 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8575 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8577 ## -------------------------------------------------- ##
8578 ## Report this to evilnet-devel@lists.sourceforge.net ##
8579 ## -------------------------------------------------- ##
8581 ) | sed "s/^/$as_me: WARNING: /" >&2
8584 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8586 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 eval "$as_ac_Header=\$ac_header_preproc"
8591 ac_res
=`eval echo '${'$as_ac_Header'}'`
8592 { echo "$as_me:$LINENO: result: $ac_res" >&5
8593 echo "${ECHO_T}$ac_res" >&6; }
8596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8597 cat >>confdefs.h
<<_ACEOF
8598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8602 { { echo "$as_me:$LINENO: error: Boehm GC header file missing. boehm-gc build will fail." >&5
8603 echo "$as_me: error: Boehm GC header file missing. boehm-gc build will fail." >&2;}
8604 { (exit 1); exit 1; }; }
8610 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8611 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8612 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8613 echo $ECHO_N "(cached) $ECHO_C" >&6
8615 ac_check_lib_save_LIBS
=$LIBS
8617 cat >conftest.
$ac_ext <<_ACEOF
8620 cat confdefs.h
>>conftest.
$ac_ext
8621 cat >>conftest.
$ac_ext <<_ACEOF
8622 /* end confdefs.h. */
8624 /* Override any GCC internal prototype to avoid an error.
8625 Use char because int might match the return type of a GCC
8626 builtin and then its argument prototype would still apply. */
8639 rm -f conftest.
$ac_objext conftest
$ac_exeext
8640 if { (ac_try
="$ac_link"
8642 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8643 *) ac_try_echo=$ac_try;;
8645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8646 (eval "$ac_link") 2>conftest.er1
8648 grep -v '^ *+' conftest.er1 >conftest.err
8650 cat conftest.err >&5
8651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652 (exit $ac_status); } && {
8653 test -z "$ac_c_werror_flag" ||
8654 test ! -s conftest.err
8655 } && test -s conftest$ac_exeext &&
8656 $as_test_x conftest$ac_exeext; then
8657 ac_cv_lib_dl_dlopen=yes
8659 echo "$as_me: failed program was:" >&5
8660 sed 's/^/| /' conftest.$ac_ext >&5
8662 ac_cv_lib_dl_dlopen=no
8665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8666 conftest$ac_exeext conftest.$ac_ext
8667 LIBS=$ac_check_lib_save_LIBS
8669 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8670 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8671 if test $ac_cv_lib_dl_dlopen = yes; then
8672 cat >>confdefs.h <<_ACEOF
8673 #define HAVE_LIBDL 1
8679 { { echo "$as_me:$LINENO: error: libdl library is missing. boehm-gc build will fail." >&5
8680 echo "$as_me: error: libdl library is missing. boehm-gc build will fail." >&2;}
8681 { (exit 1); exit 1; }; }
8685 { echo "$as_me:$LINENO: checking for GC_gcollect in -lgc" >&5
8686 echo $ECHO_N "checking for GC_gcollect in -lgc... $ECHO_C" >&6; }
8687 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
8688 echo $ECHO_N "(cached) $ECHO_C" >&6
8690 ac_check_lib_save_LIBS=$LIBS
8692 cat >conftest.$ac_ext <<_ACEOF
8695 cat confdefs.h >>conftest.$ac_ext
8696 cat >>conftest.$ac_ext <<_ACEOF
8697 /* end confdefs.h. */
8699 /* Override any GCC internal prototype to avoid an error.
8700 Use char because int might match the return type of a GCC
8701 builtin and then its argument prototype would still apply. */
8705 char GC_gcollect ();
8709 return GC_gcollect ();
8714 rm -f conftest.$ac_objext conftest$ac_exeext
8715 if { (ac_try="$ac_link"
8717 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8718 *) ac_try_echo
=$ac_try;;
8720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8721 (eval "$ac_link") 2>conftest.er1
8723 grep -v '^ *+' conftest.er1
>conftest.err
8725 cat conftest.err
>&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); } && {
8728 test -z "$ac_c_werror_flag" ||
8729 test ! -s conftest.err
8730 } && test -s conftest
$ac_exeext &&
8731 $as_test_x conftest
$ac_exeext; then
8732 ac_cv_lib_gc_GC_gcollect
=yes
8734 echo "$as_me: failed program was:" >&5
8735 sed 's/^/| /' conftest.
$ac_ext >&5
8737 ac_cv_lib_gc_GC_gcollect
=no
8740 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8741 conftest
$ac_exeext conftest.
$ac_ext
8742 LIBS
=$ac_check_lib_save_LIBS
8744 { echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_gcollect" >&5
8745 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6; }
8746 if test $ac_cv_lib_gc_GC_gcollect = yes; then
8747 cat >>confdefs.h
<<_ACEOF
8748 #define HAVE_LIBGC 1
8754 { { echo "$as_me:$LINENO: error: Boehm GC library is missing. boehm-gc build will fail." >&5
8755 echo "$as_me: error: Boehm GC library is missing. boehm-gc build will fail." >&2;}
8756 { (exit 1); exit 1; }; }
8760 cat >>confdefs.h
<<\_ACEOF
8761 #define WITH_MALLOC_BOEHM_GC 1
8765 elif test "x$withval" = "xx3" ; then
8766 { echo "$as_me:$LINENO: result: x3" >&5
8767 echo "${ECHO_T}x3" >&6; }
8769 cat >>confdefs.h
<<\_ACEOF
8770 #define WITH_MALLOC_X3 1
8773 MODULE_OBJS
="$MODULE_OBJS alloc-x3.\$(OBJEXT)"
8775 elif test "x$withval" = "xslab" ; then
8776 { echo "$as_me:$LINENO: result: slab" >&5
8777 echo "${ECHO_T}slab" >&6; }
8779 cat >>confdefs.h
<<\_ACEOF
8780 #define WITH_MALLOC_SLAB 1
8783 MODULE_OBJS
="$MODULE_OBJS alloc-slab.\$(OBJEXT)"
8786 { { echo "$as_me:$LINENO: error: Unknown malloc type $withval" >&5
8787 echo "$as_me: error: Unknown malloc type $withval" >&2;}
8788 { (exit 1); exit 1; }; }
8791 { echo "$as_me:$LINENO: checking which protocol to use" >&5
8792 echo $ECHO_N "checking which protocol to use... $ECHO_C" >&6; }
8794 # Check whether --with-protocol was given.
8795 if test "${with_protocol+set}" = set; then
8796 withval
=$with_protocol;
8801 if test "x$withval" = "xp10" ; then
8802 { echo "$as_me:$LINENO: result: P10" >&5
8803 echo "${ECHO_T}P10" >&6; }
8805 cat >>confdefs.h
<<\_ACEOF
8806 #define WITH_PROTOCOL_P10 1
8809 MODULE_OBJS
="$MODULE_OBJS proto-p10.\$(OBJEXT)"
8810 PROTO_FILES
=proto
-p10.c
8813 { { echo "$as_me:$LINENO: error: Unknown IRC dialect $withval" >&5
8814 echo "$as_me: error: Unknown IRC dialect $withval" >&2;}
8815 { (exit 1); exit 1; }; }
8819 # Check whether --with-getopt was given.
8820 if test "${with_getopt+set}" = set; then
8821 withval
=$with_getopt; if test "$withval" = no
; then
8823 cat >>confdefs.h
<<\_ACEOF
8824 #define IGNORE_GETOPT 1
8831 { echo "$as_me:$LINENO: checking whether to enable tokenization" >&5
8832 echo $ECHO_N "checking whether to enable tokenization... $ECHO_C" >&6; }
8833 # Check whether --enable-tokens was given.
8834 if test "${enable_tokens+set}" = set; then
8835 enableval
=$enable_tokens;
8840 if test "z$enableval" = zno
; then
8841 { echo "$as_me:$LINENO: result: no" >&5
8842 echo "${ECHO_T}no" >&6; }
8845 cat >>confdefs.h
<<\_ACEOF
8846 #define ENABLE_TOKENS 1
8849 { echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6; }
8853 { echo "$as_me:$LINENO: checking whether to enable debug behaviors" >&5
8854 echo $ECHO_N "checking whether to enable debug behaviors... $ECHO_C" >&6; }
8855 # Check whether --enable-debug was given.
8856 if test "${enable_debug+set}" = set; then
8857 enableval
=$enable_debug;
8858 CPPFLAGS
="$CPPFLAGS"
8859 { echo "$as_me:$LINENO: result: yes" >&5
8860 echo "${ECHO_T}yes" >&6; }
8865 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
8866 { echo "$as_me:$LINENO: result: no" >&5
8867 echo "${ECHO_T}no" >&6; }
8873 if test -e src
; then
8874 if test ! -d src
; then
8875 { { echo "$as_me:$LINENO: error: src exists but is not a directory; please move it out of the way." >&5
8876 echo "$as_me: error: src exists but is not a directory; please move it out of the way." >&2;}
8877 { (exit 1); exit 1; }; }
8882 { echo "$as_me:$LINENO: checking for extra module files" >&5
8883 echo $ECHO_N "checking for extra module files... $ECHO_C" >&6; }
8884 MODULE_DEFINES
="src/modules-list.h"
8885 echo > $MODULE_DEFINES
8886 touch $MODULE_DEFINES
8887 # Check whether --enable-modules was given.
8888 if test "${enable_modules+set}" = set; then
8889 enableval
=$enable_modules;
8892 EXTRA_MODULE_OBJS
=""
8894 for module
in $enableval ; do
8895 module
=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
8896 EXTRA_MODULE_OBJS
="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
8897 module_list
="$module_list $module"
8898 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
8899 if test "x$module" = "xtrack" ; then
8900 TRACK
="-D HAVE_TRACK"
8902 cat >>confdefs.h
<<\_ACEOF
8903 #define HAVE_TRACK 1
8907 if test "x$module" = "xhelpserv" ; then
8908 TRACK
="-D HAVE_HELPSERV"
8910 cat >>confdefs.h
<<\_ACEOF
8911 #define HAVE_HELPSERV 1
8917 MODULE_OBJS
="$MODULE_OBJS $EXTRA_MODULE_OBJS"
8918 { echo "$as_me:$LINENO: result: $module_list" >&5
8919 echo "${ECHO_T}$module_list" >&6; }
8923 { echo "$as_me:$LINENO: result: none" >&5
8924 echo "${ECHO_T}none" >&6; }
8932 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no
; then
8933 MY_SUBDIRS
="rx $MY_SUBDIRS"
8934 RX_INCLUDES
="-I../rx"
8935 RX_LIBS
="../rx/librx.a"
8937 MY_SUBDIRS
="$MY_SUBDIRS src"
8938 CFLAGS
="$CFLAGS $ANSI_SRC -W -Wall"
8939 if test "z$USE_MAINTAINER_MODE" = zyes
; then
8940 CFLAGS
="$CFLAGS -Werror"
8947 # Check whether --with-tre was given.
8948 if test "${with_tre+set}" = set; then
8952 if test "x$withval" != "x"; then
8953 { echo "$as_me:$LINENO: result: Using include dir $withval to find libtre" >&5
8954 echo "${ECHO_T}Using include dir $withval to find libtre" >&6; }
8955 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
8956 LIBS
="$LIBS -L$withval/lib"
8958 { echo "$as_me:$LINENO: result: Looking for tre in system and home dirs (${HOME})..." >&5
8959 echo "${ECHO_T}Looking for tre in system and home dirs (${HOME})..." >&6; }
8960 CPPFLAGS
="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
8961 LIBS
="$LIBS -L${HOME}/lib"
8963 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8964 { echo "$as_me:$LINENO: checking for tre/regex.h" >&5
8965 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6; }
8966 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8967 echo $ECHO_N "(cached) $ECHO_C" >&6
8969 { echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
8970 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
8972 # Is the header compilable?
8973 { echo "$as_me:$LINENO: checking tre/regex.h usability" >&5
8974 echo $ECHO_N "checking tre/regex.h usability... $ECHO_C" >&6; }
8975 cat >conftest.
$ac_ext <<_ACEOF
8978 cat confdefs.h
>>conftest.
$ac_ext
8979 cat >>conftest.
$ac_ext <<_ACEOF
8980 /* end confdefs.h. */
8981 $ac_includes_default
8982 #include <tre/regex.h>
8984 rm -f conftest.
$ac_objext
8985 if { (ac_try
="$ac_compile"
8987 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8988 *) ac_try_echo=$ac_try;;
8990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8991 (eval "$ac_compile") 2>conftest.er1
8993 grep -v '^ *+' conftest.er1 >conftest.err
8995 cat conftest.err >&5
8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); } && {
8998 test -z "$ac_c_werror_flag" ||
8999 test ! -s conftest.err
9000 } && test -s conftest.$ac_objext; then
9001 ac_header_compiler=yes
9003 echo "$as_me: failed program was:" >&5
9004 sed 's/^/| /' conftest.$ac_ext >&5
9006 ac_header_compiler=no
9009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9010 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9011 echo "${ECHO_T}$ac_header_compiler" >&6; }
9013 # Is the header present?
9014 { echo "$as_me:$LINENO: checking tre/regex.h presence" >&5
9015 echo $ECHO_N "checking tre/regex.h presence... $ECHO_C" >&6; }
9016 cat >conftest.$ac_ext <<_ACEOF
9019 cat confdefs.h >>conftest.$ac_ext
9020 cat >>conftest.$ac_ext <<_ACEOF
9021 /* end confdefs.h. */
9022 #include <tre/regex.h>
9024 if { (ac_try="$ac_cpp conftest.$ac_ext"
9026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9027 *) ac_try_echo
=$ac_try;;
9029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9032 grep -v '^ *+' conftest.er1
>conftest.err
9034 cat conftest.err
>&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); } >/dev
/null
&& {
9037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9038 test ! -s conftest.err
9040 ac_header_preproc
=yes
9042 echo "$as_me: failed program was:" >&5
9043 sed 's/^/| /' conftest.
$ac_ext >&5
9045 ac_header_preproc
=no
9048 rm -f conftest.err conftest.
$ac_ext
9049 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9050 echo "${ECHO_T}$ac_header_preproc" >&6; }
9052 # So? What about this header?
9053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9055 { echo "$as_me:$LINENO: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
9056 echo "$as_me: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9057 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the compiler's result" >&5
9058 echo "$as_me: WARNING: tre/regex.h: proceeding with the compiler's result" >&2;}
9059 ac_header_preproc
=yes
9062 { echo "$as_me:$LINENO: WARNING: tre/regex.h: present but cannot be compiled" >&5
9063 echo "$as_me: WARNING: tre/regex.h: present but cannot be compiled" >&2;}
9064 { echo "$as_me:$LINENO: WARNING: tre/regex.h: check for missing prerequisite headers?" >&5
9065 echo "$as_me: WARNING: tre/regex.h: check for missing prerequisite headers?" >&2;}
9066 { echo "$as_me:$LINENO: WARNING: tre/regex.h: see the Autoconf documentation" >&5
9067 echo "$as_me: WARNING: tre/regex.h: see the Autoconf documentation" >&2;}
9068 { echo "$as_me:$LINENO: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&5
9069 echo "$as_me: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
9070 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&5
9071 echo "$as_me: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&2;}
9072 { echo "$as_me:$LINENO: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&5
9073 echo "$as_me: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&2;}
9075 ## -------------------------------------------------- ##
9076 ## Report this to evilnet-devel@lists.sourceforge.net ##
9077 ## -------------------------------------------------- ##
9079 ) | sed "s/^/$as_me: WARNING: /" >&2
9082 { echo "$as_me:$LINENO: checking for tre/regex.h" >&5
9083 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6; }
9084 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9085 echo $ECHO_N "(cached) $ECHO_C" >&6
9087 ac_cv_header_tre_regex_h
=$ac_header_preproc
9089 { echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
9090 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
9093 if test $ac_cv_header_tre_regex_h = yes; then
9096 { { 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
9097 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;}
9098 { (exit 1); exit 1; }; }
9103 { echo "$as_me:$LINENO: checking for regexec in -ltre" >&5
9104 echo $ECHO_N "checking for regexec in -ltre... $ECHO_C" >&6; }
9105 if test "${ac_cv_lib_tre_regexec+set}" = set; then
9106 echo $ECHO_N "(cached) $ECHO_C" >&6
9108 ac_check_lib_save_LIBS
=$LIBS
9110 cat >conftest.
$ac_ext <<_ACEOF
9113 cat confdefs.h
>>conftest.
$ac_ext
9114 cat >>conftest.
$ac_ext <<_ACEOF
9115 /* end confdefs.h. */
9117 /* Override any GCC internal prototype to avoid an error.
9118 Use char because int might match the return type of a GCC
9119 builtin and then its argument prototype would still apply. */
9132 rm -f conftest.
$ac_objext conftest
$ac_exeext
9133 if { (ac_try
="$ac_link"
9135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9136 *) ac_try_echo=$ac_try;;
9138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9139 (eval "$ac_link") 2>conftest.er1
9141 grep -v '^ *+' conftest.er1 >conftest.err
9143 cat conftest.err >&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); } && {
9146 test -z "$ac_c_werror_flag" ||
9147 test ! -s conftest.err
9148 } && test -s conftest$ac_exeext &&
9149 $as_test_x conftest$ac_exeext; then
9150 ac_cv_lib_tre_regexec=yes
9152 echo "$as_me: failed program was:" >&5
9153 sed 's/^/| /' conftest.$ac_ext >&5
9155 ac_cv_lib_tre_regexec=no
9158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9159 conftest$ac_exeext conftest.$ac_ext
9160 LIBS=$ac_check_lib_save_LIBS
9162 { echo "$as_me:$LINENO: result: $ac_cv_lib_tre_regexec" >&5
9163 echo "${ECHO_T}$ac_cv_lib_tre_regexec" >&6; }
9164 if test $ac_cv_lib_tre_regexec = yes; then
9165 cat >>confdefs.h <<_ACEOF
9166 #define HAVE_LIBTRE 1
9172 { { 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
9173 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;}
9174 { (exit 1); exit 1; }; }
9181 # Check whether --with-coredumper was given.
9182 if test "${with_coredumper+set}" = set; then
9183 withval=$with_coredumper;
9186 if test "x$withval" != "x"; then
9187 { echo "$as_me:$LINENO: result: Using include dir $withval to find coredumper" >&5
9188 echo "${ECHO_T}Using include dir $withval to find coredumper" >&6; }
9189 CPPFLAGS="$CPPFLAGS -I$withval/include -L$withval/lib"
9190 LIBS="$LIBS -L$withval/lib"
9192 { echo "$as_me:$LINENO: result: Looking for coredumper in system and home dirs (${HOME})..." >&5
9193 echo "${ECHO_T}Looking for coredumper in system and home dirs (${HOME})..." >&6; }
9194 CPPFLAGS="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
9195 LIBS="$LIBS -Wl,--rpath -Wl,${HOME}/lib"
9197 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
9198 { echo "$as_me:$LINENO: checking for google/coredumper.h" >&5
9199 echo $ECHO_N "checking for google/coredumper.h... $ECHO_C" >&6; }
9200 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9203 { echo "$as_me:$LINENO: result: $ac_cv_header_google_coredumper_h" >&5
9204 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
9206 # Is the header compilable?
9207 { echo "$as_me:$LINENO: checking google/coredumper.h usability" >&5
9208 echo $ECHO_N "checking google/coredumper.h usability... $ECHO_C" >&6; }
9209 cat >conftest.$ac_ext <<_ACEOF
9212 cat confdefs.h >>conftest.$ac_ext
9213 cat >>conftest.$ac_ext <<_ACEOF
9214 /* end confdefs.h. */
9215 $ac_includes_default
9216 #include <google/coredumper.h>
9218 rm -f conftest.$ac_objext
9219 if { (ac_try="$ac_compile"
9221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9222 *) ac_try_echo
=$ac_try;;
9224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9225 (eval "$ac_compile") 2>conftest.er1
9227 grep -v '^ *+' conftest.er1
>conftest.err
9229 cat conftest.err
>&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); } && {
9232 test -z "$ac_c_werror_flag" ||
9233 test ! -s conftest.err
9234 } && test -s conftest.
$ac_objext; then
9235 ac_header_compiler
=yes
9237 echo "$as_me: failed program was:" >&5
9238 sed 's/^/| /' conftest.
$ac_ext >&5
9240 ac_header_compiler
=no
9243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9244 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9245 echo "${ECHO_T}$ac_header_compiler" >&6; }
9247 # Is the header present?
9248 { echo "$as_me:$LINENO: checking google/coredumper.h presence" >&5
9249 echo $ECHO_N "checking google/coredumper.h presence... $ECHO_C" >&6; }
9250 cat >conftest.
$ac_ext <<_ACEOF
9253 cat confdefs.h
>>conftest.
$ac_ext
9254 cat >>conftest.
$ac_ext <<_ACEOF
9255 /* end confdefs.h. */
9256 #include <google/coredumper.h>
9258 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9261 *) ac_try_echo=$ac_try;;
9263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9264 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9266 grep -v '^ *+' conftest.er1 >conftest.err
9268 cat conftest.err >&5
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); } >/dev/null && {
9271 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9272 test ! -s conftest.err
9274 ac_header_preproc=yes
9276 echo "$as_me: failed program was:" >&5
9277 sed 's/^/| /' conftest.$ac_ext >&5
9279 ac_header_preproc=no
9282 rm -f conftest.err conftest.$ac_ext
9283 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9284 echo "${ECHO_T}$ac_header_preproc" >&6; }
9286 # So? What about this header?
9287 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9289 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: accepted by the compiler, rejected by the preprocessor!" >&5
9290 echo "$as_me: WARNING: google/coredumper.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9291 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: proceeding with the compiler's result" >&5
9292 echo "$as_me: WARNING: google/coredumper.h: proceeding with the compiler's result" >&2;}
9293 ac_header_preproc=yes
9296 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: present but cannot be compiled" >&5
9297 echo "$as_me: WARNING: google/coredumper.h: present but cannot be compiled" >&2;}
9298 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: check for missing prerequisite headers?" >&5
9299 echo "$as_me: WARNING: google/coredumper.h: check for missing prerequisite headers?" >&2;}
9300 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: see the Autoconf documentation" >&5
9301 echo "$as_me: WARNING: google/coredumper.h: see the Autoconf documentation" >&2;}
9302 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: section \"Present But Cannot Be Compiled\"" >&5
9303 echo "$as_me: WARNING: google/coredumper.h: section \"Present But Cannot Be Compiled\"" >&2;}
9304 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: proceeding with the preprocessor's result" >&5
9305 echo "$as_me: WARNING: google/coredumper.h: proceeding with the preprocessor's result" >&2;}
9306 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: in the future, the compiler will take precedence" >&5
9307 echo "$as_me: WARNING: google/coredumper.h: in the future, the compiler will take precedence" >&2;}
9309 ## -------------------------------------------------- ##
9310 ## Report this to evilnet-devel@lists.sourceforge.net ##
9311 ## -------------------------------------------------- ##
9313 ) | sed "s/^/$as_me: WARNING: /" >&2
9316 { echo "$as_me:$LINENO: checking for google/coredumper.h" >&5
9317 echo $ECHO_N "checking for google/coredumper.h... $ECHO_C" >&6; }
9318 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
9319 echo $ECHO_N "(cached) $ECHO_C" >&6
9321 ac_cv_header_google_coredumper_h=$ac_header_preproc
9323 { echo "$as_me:$LINENO: result: $ac_cv_header_google_coredumper_h" >&5
9324 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
9327 if test $ac_cv_header_google_coredumper_h = yes; then
9330 { 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
9331 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; }
9336 { echo "$as_me:$LINENO: checking for WriteCoreDump in -lcoredumper" >&5
9337 echo $ECHO_N "checking for WriteCoreDump in -lcoredumper... $ECHO_C" >&6; }
9338 if test "${ac_cv_lib_coredumper_WriteCoreDump+set}" = set; then
9339 echo $ECHO_N "(cached) $ECHO_C" >&6
9341 ac_check_lib_save_LIBS=$LIBS
9342 LIBS="-lcoredumper $LIBS"
9343 cat >conftest.$ac_ext <<_ACEOF
9346 cat confdefs.h >>conftest.$ac_ext
9347 cat >>conftest.$ac_ext <<_ACEOF
9348 /* end confdefs.h. */
9350 /* Override any GCC internal prototype to avoid an error.
9351 Use char because int might match the return type of a GCC
9352 builtin and then its argument prototype would still apply. */
9356 char WriteCoreDump ();
9360 return WriteCoreDump ();
9365 rm -f conftest.$ac_objext conftest$ac_exeext
9366 if { (ac_try="$ac_link"
9368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9369 *) ac_try_echo
=$ac_try;;
9371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9372 (eval "$ac_link") 2>conftest.er1
9374 grep -v '^ *+' conftest.er1
>conftest.err
9376 cat conftest.err
>&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); } && {
9379 test -z "$ac_c_werror_flag" ||
9380 test ! -s conftest.err
9381 } && test -s conftest
$ac_exeext &&
9382 $as_test_x conftest
$ac_exeext; then
9383 ac_cv_lib_coredumper_WriteCoreDump
=yes
9385 echo "$as_me: failed program was:" >&5
9386 sed 's/^/| /' conftest.
$ac_ext >&5
9388 ac_cv_lib_coredumper_WriteCoreDump
=no
9391 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9392 conftest
$ac_exeext conftest.
$ac_ext
9393 LIBS
=$ac_check_lib_save_LIBS
9395 { echo "$as_me:$LINENO: result: $ac_cv_lib_coredumper_WriteCoreDump" >&5
9396 echo "${ECHO_T}$ac_cv_lib_coredumper_WriteCoreDump" >&6; }
9397 if test $ac_cv_lib_coredumper_WriteCoreDump = yes; then
9398 cat >>confdefs.h
<<_ACEOF
9399 #define HAVE_LIBCOREDUMPER 1
9402 LIBS
="-lcoredumper $LIBS"
9405 { 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
9406 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; }
9412 # Check whether --with-ssl was given.
9413 if test "${with_ssl+set}" = set; then
9417 if test "x$withval" != "x"; then
9418 { echo "$as_me:$LINENO: result: Using include dir $withval to find openssl" >&5
9419 echo "${ECHO_T}Using include dir $withval to find openssl" >&6; }
9420 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
9421 LIBS
="$LIBS -L$withval/lib"
9423 { echo "$as_me:$LINENO: result: Looking for openssl in system " >&5
9424 echo "${ECHO_T}Looking for openssl in system " >&6; }
9427 { echo "$as_me:$LINENO: checking for BIO_new in -lssl" >&5
9428 echo $ECHO_N "checking for BIO_new in -lssl... $ECHO_C" >&6; }
9429 if test "${ac_cv_lib_ssl_BIO_new+set}" = set; then
9430 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 ac_check_lib_save_LIBS
=$LIBS
9434 cat >conftest.
$ac_ext <<_ACEOF
9437 cat confdefs.h
>>conftest.
$ac_ext
9438 cat >>conftest.
$ac_ext <<_ACEOF
9439 /* end confdefs.h. */
9441 /* Override any GCC internal prototype to avoid an error.
9442 Use char because int might match the return type of a GCC
9443 builtin and then its argument prototype would still apply. */
9456 rm -f conftest.
$ac_objext conftest
$ac_exeext
9457 if { (ac_try
="$ac_link"
9459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9460 *) ac_try_echo=$ac_try;;
9462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9463 (eval "$ac_link") 2>conftest.er1
9465 grep -v '^ *+' conftest.er1 >conftest.err
9467 cat conftest.err >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); } && {
9470 test -z "$ac_c_werror_flag" ||
9471 test ! -s conftest.err
9472 } && test -s conftest$ac_exeext &&
9473 $as_test_x conftest$ac_exeext; then
9474 ac_cv_lib_ssl_BIO_new=yes
9476 echo "$as_me: failed program was:" >&5
9477 sed 's/^/| /' conftest.$ac_ext >&5
9479 ac_cv_lib_ssl_BIO_new=no
9482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9483 conftest$ac_exeext conftest.$ac_ext
9484 LIBS=$ac_check_lib_save_LIBS
9486 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_BIO_new" >&5
9487 echo "${ECHO_T}$ac_cv_lib_ssl_BIO_new" >&6; }
9488 if test $ac_cv_lib_ssl_BIO_new = yes; then
9492 for ac_header in openssl/bio.h
9494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 ac_res=`eval echo '${'$as_ac_Header'}'`
9502 { echo "$as_me:$LINENO: result: $ac_res" >&5
9503 echo "${ECHO_T}$ac_res" >&6; }
9505 # Is the header compilable?
9506 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9508 cat >conftest.$ac_ext <<_ACEOF
9511 cat confdefs.h >>conftest.$ac_ext
9512 cat >>conftest.$ac_ext <<_ACEOF
9513 /* end confdefs.h. */
9514 $ac_includes_default
9515 #include <$ac_header>
9517 rm -f conftest.$ac_objext
9518 if { (ac_try="$ac_compile"
9520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9521 *) ac_try_echo
=$ac_try;;
9523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9524 (eval "$ac_compile") 2>conftest.er1
9526 grep -v '^ *+' conftest.er1
>conftest.err
9528 cat conftest.err
>&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); } && {
9531 test -z "$ac_c_werror_flag" ||
9532 test ! -s conftest.err
9533 } && test -s conftest.
$ac_objext; then
9534 ac_header_compiler
=yes
9536 echo "$as_me: failed program was:" >&5
9537 sed 's/^/| /' conftest.
$ac_ext >&5
9539 ac_header_compiler
=no
9542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9543 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9544 echo "${ECHO_T}$ac_header_compiler" >&6; }
9546 # Is the header present?
9547 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9549 cat >conftest.
$ac_ext <<_ACEOF
9552 cat confdefs.h
>>conftest.
$ac_ext
9553 cat >>conftest.
$ac_ext <<_ACEOF
9554 /* end confdefs.h. */
9555 #include <$ac_header>
9557 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9559 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9560 *) ac_try_echo=$ac_try;;
9562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9565 grep -v '^ *+' conftest.er1 >conftest.err
9567 cat conftest.err >&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); } >/dev/null && {
9570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9571 test ! -s conftest.err
9573 ac_header_preproc=yes
9575 echo "$as_me: failed program was:" >&5
9576 sed 's/^/| /' conftest.$ac_ext >&5
9578 ac_header_preproc=no
9581 rm -f conftest.err conftest.$ac_ext
9582 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9583 echo "${ECHO_T}$ac_header_preproc" >&6; }
9585 # So? What about this header?
9586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9591 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9592 ac_header_preproc=yes
9595 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9596 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9597 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9598 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9599 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9600 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9601 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9602 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9605 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9606 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9608 ## -------------------------------------------------- ##
9609 ## Report this to evilnet-devel@lists.sourceforge.net ##
9610 ## -------------------------------------------------- ##
9612 ) | sed "s/^/$as_me: WARNING: /" >&2
9615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9618 echo $ECHO_N "(cached) $ECHO_C" >&6
9620 eval "$as_ac_Header=\$ac_header_preproc"
9622 ac_res=`eval echo '${'$as_ac_Header'}'`
9623 { echo "$as_me:$LINENO: result: $ac_res" >&5
9624 echo "${ECHO_T}$ac_res" >&6; }
9627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9628 cat >>confdefs.h <<_ACEOF
9629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9633 cat >>confdefs.h <<\_ACEOF
9637 ssl_message="LDAP library: enabled"
9641 if test "x$withval" != "x"; then
9642 { { echo "$as_me:$LINENO: error: ssl headers not found" >&5
9643 echo "$as_me: error: ssl headers not found" >&2;}
9644 { (exit 1); exit 1; }; }
9654 if test "x$withval" != "x"; then
9655 { { echo "$as_me:$LINENO: error: libldap not found or not valid" >&5
9656 echo "$as_me: error: libldap not found or not valid" >&2;}
9657 { (exit 1); exit 1; }; }
9663 { echo "$as_me:$LINENO: result: $LIBS" >&5
9664 echo "${ECHO_T}$LIBS" >&6; }
9669 # Check whether --with-ldap was given.
9670 if test "${with_ldap+set}" = set; then
9674 if test "x$withval" != "x"; then
9675 { echo "$as_me:$LINENO: result: Using include dir $withval to find libldap" >&5
9676 echo "${ECHO_T}Using include dir $withval to find libldap" >&6; }
9677 CPPFLAGS="$CPPFLAGS -I$withval/include -L$withval/lib"
9678 LIBS="$LIBS -L$withval/lib"
9680 { echo "$as_me:$LINENO: result: Looking for ldap in system " >&5
9681 echo "${ECHO_T}Looking for ldap in system " >&6; }
9684 { echo "$as_me:$LINENO: checking for ldap_simple_bind_s in -lldap" >&5
9685 echo $ECHO_N "checking for ldap_simple_bind_s in -lldap... $ECHO_C" >&6; }
9686 if test "${ac_cv_lib_ldap_ldap_simple_bind_s+set}" = set; then
9687 echo $ECHO_N "(cached) $ECHO_C" >&6
9689 ac_check_lib_save_LIBS=$LIBS
9691 cat >conftest.$ac_ext <<_ACEOF
9694 cat confdefs.h >>conftest.$ac_ext
9695 cat >>conftest.$ac_ext <<_ACEOF
9696 /* end confdefs.h. */
9698 /* Override any GCC internal prototype to avoid an error.
9699 Use char because int might match the return type of a GCC
9700 builtin and then its argument prototype would still apply. */
9704 char ldap_simple_bind_s ();
9708 return ldap_simple_bind_s ();
9713 rm -f conftest.$ac_objext conftest$ac_exeext
9714 if { (ac_try="$ac_link"
9716 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9717 *) ac_try_echo
=$ac_try;;
9719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9720 (eval "$ac_link") 2>conftest.er1
9722 grep -v '^ *+' conftest.er1
>conftest.err
9724 cat conftest.err
>&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); } && {
9727 test -z "$ac_c_werror_flag" ||
9728 test ! -s conftest.err
9729 } && test -s conftest
$ac_exeext &&
9730 $as_test_x conftest
$ac_exeext; then
9731 ac_cv_lib_ldap_ldap_simple_bind_s
=yes
9733 echo "$as_me: failed program was:" >&5
9734 sed 's/^/| /' conftest.
$ac_ext >&5
9736 ac_cv_lib_ldap_ldap_simple_bind_s
=no
9739 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9740 conftest
$ac_exeext conftest.
$ac_ext
9741 LIBS
=$ac_check_lib_save_LIBS
9743 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_simple_bind_s" >&5
9744 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_simple_bind_s" >&6; }
9745 if test $ac_cv_lib_ldap_ldap_simple_bind_s = yes; then
9749 for ac_header
in ldap.h
9751 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9752 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9753 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9755 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9758 ac_res
=`eval echo '${'$as_ac_Header'}'`
9759 { echo "$as_me:$LINENO: result: $ac_res" >&5
9760 echo "${ECHO_T}$ac_res" >&6; }
9762 # Is the header compilable?
9763 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9764 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9765 cat >conftest.
$ac_ext <<_ACEOF
9768 cat confdefs.h
>>conftest.
$ac_ext
9769 cat >>conftest.
$ac_ext <<_ACEOF
9770 /* end confdefs.h. */
9771 $ac_includes_default
9772 #include <$ac_header>
9774 rm -f conftest.
$ac_objext
9775 if { (ac_try
="$ac_compile"
9777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9778 *) ac_try_echo=$ac_try;;
9780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9781 (eval "$ac_compile") 2>conftest.er1
9783 grep -v '^ *+' conftest.er1 >conftest.err
9785 cat conftest.err >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); } && {
9788 test -z "$ac_c_werror_flag" ||
9789 test ! -s conftest.err
9790 } && test -s conftest.$ac_objext; then
9791 ac_header_compiler=yes
9793 echo "$as_me: failed program was:" >&5
9794 sed 's/^/| /' conftest.$ac_ext >&5
9796 ac_header_compiler=no
9799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9800 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9801 echo "${ECHO_T}$ac_header_compiler" >&6; }
9803 # Is the header present?
9804 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9805 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9806 cat >conftest.$ac_ext <<_ACEOF
9809 cat confdefs.h >>conftest.$ac_ext
9810 cat >>conftest.$ac_ext <<_ACEOF
9811 /* end confdefs.h. */
9812 #include <$ac_header>
9814 if { (ac_try="$ac_cpp conftest.$ac_ext"
9816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9817 *) ac_try_echo
=$ac_try;;
9819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9820 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9822 grep -v '^ *+' conftest.er1
>conftest.err
9824 cat conftest.err
>&5
9825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826 (exit $ac_status); } >/dev
/null
&& {
9827 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9828 test ! -s conftest.err
9830 ac_header_preproc
=yes
9832 echo "$as_me: failed program was:" >&5
9833 sed 's/^/| /' conftest.
$ac_ext >&5
9835 ac_header_preproc
=no
9838 rm -f conftest.err conftest.
$ac_ext
9839 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9840 echo "${ECHO_T}$ac_header_preproc" >&6; }
9842 # So? What about this header?
9843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9845 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9846 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9848 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9849 ac_header_preproc
=yes
9852 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9853 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9854 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9855 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9856 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9857 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9858 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9859 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9862 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9863 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9865 ## -------------------------------------------------- ##
9866 ## Report this to evilnet-devel@lists.sourceforge.net ##
9867 ## -------------------------------------------------- ##
9869 ) | sed "s/^/$as_me: WARNING: /" >&2
9872 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9874 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9875 echo $ECHO_N "(cached) $ECHO_C" >&6
9877 eval "$as_ac_Header=\$ac_header_preproc"
9879 ac_res
=`eval echo '${'$as_ac_Header'}'`
9880 { echo "$as_me:$LINENO: result: $ac_res" >&5
9881 echo "${ECHO_T}$ac_res" >&6; }
9884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9885 cat >>confdefs.h
<<_ACEOF
9886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9890 cat >>confdefs.h
<<\_ACEOF
9894 ldap_message
="LDAP library: enabled"
9898 if test "x$withval" != "x"; then
9899 { { echo "$as_me:$LINENO: error: ldap.h not found" >&5
9900 echo "$as_me: error: ldap.h not found" >&2;}
9901 { (exit 1); exit 1; }; }
9911 if test "x$withval" != "x"; then
9912 { { echo "$as_me:$LINENO: error: libldap not found or not valid" >&5
9913 echo "$as_me: error: libldap not found or not valid" >&2;}
9914 { (exit 1); exit 1; }; }
9920 { echo "$as_me:$LINENO: result: $LIBS" >&5
9921 echo "${ECHO_T}$LIBS" >&6; }
9924 cat >>confdefs.h
<<_ACEOF
9925 #define CODENAME "${CODENAME}"
9933 ac_config_files
="$ac_config_files Makefile rx/Makefile src/Makefile"
9935 cat >confcache
<<\_ACEOF
9936 # This file is a shell script that caches the results of configure
9937 # tests run on this system so they can be shared between configure
9938 # scripts and configure runs, see configure's option --config-cache.
9939 # It is not useful on other systems. If it contains results you don't
9940 # want to keep, you may remove or edit it.
9942 # config.status only pays attention to the cache file if you give it
9943 # the --recheck option to rerun configure.
9945 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9946 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9951 # The following way of writing the cache mishandles newlines in values,
9952 # but we know of no workaround that is simple, portable, and efficient.
9953 # So, we kill variables containing newlines.
9954 # Ultrix sh set writes to stderr and can't be redirected directly,
9955 # and sets the high bit in the cache file unless we assign to the vars.
9957 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9958 eval ac_val
=\$
$ac_var
9962 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9963 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9966 _
| IFS
| as_nl
) ;; #(
9967 *) $as_unset $ac_var ;;
9973 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9974 *${as_nl}ac_space
=\
*)
9975 # `set' does not quote correctly, so add quotes (double-quote
9976 # substitution turns \\\\ into \\, and sed turns \\ into \).
9979 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9982 # `set' quotes correctly as required by POSIX, so do not add quotes.
9983 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9992 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9994 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9996 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9997 if test -w "$cache_file"; then
9998 test "x$cache_file" != "x/dev/null" &&
9999 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10000 echo "$as_me: updating cache $cache_file" >&6;}
10001 cat confcache
>$cache_file
10003 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10004 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10009 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10010 # Let make expand exec_prefix.
10011 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10013 DEFS
=-DHAVE_CONFIG_H
10017 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10018 # 1. Remove the extension, and $U if already installed.
10019 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10020 ac_i
=`echo "$ac_i" | sed "$ac_script"`
10021 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10022 # will be set to the directory where LIBOBJS objects are built.
10023 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10024 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10026 LIBOBJS
=$ac_libobjs
10028 LTLIBOBJS
=$ac_ltlibobjs
10031 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10032 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10033 Usually this means the macro was only invoked conditionally." >&5
10034 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10035 Usually this means the macro was only invoked conditionally." >&2;}
10036 { (exit 1); exit 1; }; }
10038 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10039 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10040 Usually this means the macro was only invoked conditionally." >&5
10041 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10042 Usually this means the macro was only invoked conditionally." >&2;}
10043 { (exit 1); exit 1; }; }
10045 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10046 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10047 Usually this means the macro was only invoked conditionally." >&5
10048 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10049 Usually this means the macro was only invoked conditionally." >&2;}
10050 { (exit 1); exit 1; }; }
10052 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10053 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10054 Usually this means the macro was only invoked conditionally." >&5
10055 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10056 Usually this means the macro was only invoked conditionally." >&2;}
10057 { (exit 1); exit 1; }; }
10060 : ${CONFIG_STATUS=./config.status}
10061 ac_clean_files_save
=$ac_clean_files
10062 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10063 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10064 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10065 cat >$CONFIG_STATUS <<_ACEOF
10067 # Generated by $as_me.
10068 # Run this file to recreate the current configuration.
10069 # Compiler output produced by configure, useful for debugging
10070 # configure, is in config.log if it exists.
10073 ac_cs_recheck=false
10075 SHELL=\${CONFIG_SHELL-$SHELL}
10078 cat >>$CONFIG_STATUS <<\_ACEOF
10079 ## --------------------- ##
10080 ## M4sh Initialization. ##
10081 ## --------------------- ##
10083 # Be more Bourne compatible
10084 DUALCASE
=1; export DUALCASE
# for MKS sh
10085 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10088 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10089 # is contrary to our usage. Disable this feature.
10090 alias -g '${1+"$@"}'='"$@"'
10091 setopt NO_GLOB_SUBST
10093 case `(set -o) 2>/dev/null` in
10094 *posix
*) set -o posix
;;
10103 # Avoid depending upon Character Ranges.
10104 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10105 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10106 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10107 as_cr_digits
='0123456789'
10108 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10110 # The user is always right.
10111 if test "${PATH_SEPARATOR+set}" != set; then
10112 echo "#! /bin/sh" >conf$$.sh
10113 echo "exit 0" >>conf$$.sh
10115 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10123 # Support unset when possible.
10124 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
10132 # We need space, tab and new line, in precisely that order. Quoting is
10133 # there to prevent editors from complaining about space-tab.
10134 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10135 # splitting by setting IFS to empty value.)
10140 # Find who we are. Look in the path if we contain no directory separator.
10142 *[\\/]* ) as_myself
=$0 ;;
10143 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10144 for as_dir
in $PATH
10147 test -z "$as_dir" && as_dir
=.
10148 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10154 # We did not find ourselves, most probably we were run as `sh COMMAND'
10155 # in which case we are not to be found in the path.
10156 if test "x$as_myself" = x
; then
10159 if test ! -f "$as_myself"; then
10160 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10161 { (exit 1); exit 1; }
10164 # Work around bugs in pre-3.0 UWIN ksh.
10165 for as_var
in ENV MAIL MAILPATH
10166 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10174 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10175 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10176 LC_TELEPHONE LC_TIME
10178 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10179 eval $as_var=C
; export $as_var
10181 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10185 # Required to use basename.
10186 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10187 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10193 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10194 as_basename
=basename
10200 # Name of the executable.
10201 as_me
=`$as_basename -- "$0" ||
10202 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10203 X"$0" : 'X\(//\)$' \| \
10204 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10206 sed '/^.*\/\([^/][^/]*\)\/*$/{
10225 as_lineno_1
=$LINENO
10226 as_lineno_2
=$LINENO
10227 test "x$as_lineno_1" != "x$as_lineno_2" &&
10228 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10230 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10231 # uniformly replaced by the line number. The first 'sed' inserts a
10232 # line-number line after each line using $LINENO; the second 'sed'
10233 # does the real work. The second script uses 'N' to pair each
10234 # line-number line with the line containing $LINENO, and appends
10235 # trailing '-' during substitution so that $LINENO is not a special
10236 # case at line end.
10237 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10238 # scripts with optimization help from Paolo Bonzini. Blame Lee
10239 # E. McMahon (1931-1989) for sed's syntax. :-)
10251 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10254 ' >$as_me.lineno
&&
10255 chmod +x
"$as_me.lineno" ||
10256 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10257 { (exit 1); exit 1; }; }
10259 # Don't try to exec as it changes $[0], causing all sort of problems
10260 # (the dirname of $[0] is not the place where we might find the
10261 # original and so on. Autoconf is especially sensitive to this).
10262 .
"./$as_me.lineno"
10263 # Exit status is that of the last command.
10268 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10274 ECHO_C
= ECHO_N
= ECHO_T
=
10275 case `echo -n x` in
10277 case `echo 'x\c'` in
10278 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10285 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10286 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10292 rm -f conf$$ conf$$.exe conf$$.
file
10293 if test -d conf$$.dir
; then
10294 rm -f conf$$.dir
/conf$$.
file
10300 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10302 # ... but there are two gotchas:
10303 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10304 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10305 # In both cases, we have to default to `cp -p'.
10306 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
10308 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10313 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10314 rmdir conf$$.dir
2>/dev
/null
10316 if mkdir -p .
2>/dev
/null
; then
10319 test -d .
/-p && rmdir .
/-p
10323 if test -x / >/dev
/null
2>&1; then
10324 as_test_x
='test -x'
10326 if ls -dL / >/dev
/null
2>&1; then
10333 if test -d "$1"; then
10339 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10340 ???[sx]*):;;*)false;;esac;fi
10344 as_executable_p
=$as_test_x
10346 # Sed expression to map a string onto a valid CPP name.
10347 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10349 # Sed expression to map a string onto a valid variable name.
10350 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10355 # Save the log message, to keep $[0] and so on meaningful, and to
10356 # report actual input values of CONFIG_FILES etc. instead of their
10357 # values after options handling.
10359 This file was extended by X3 $as_me 1.5, which was
10360 generated by GNU Autoconf 2.61. Invocation command line was
10362 CONFIG_FILES = $CONFIG_FILES
10363 CONFIG_HEADERS = $CONFIG_HEADERS
10364 CONFIG_LINKS = $CONFIG_LINKS
10365 CONFIG_COMMANDS = $CONFIG_COMMANDS
10368 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10373 cat >>$CONFIG_STATUS <<_ACEOF
10374 # Files that config.status was made for.
10375 config_files="$ac_config_files"
10376 config_headers="$ac_config_headers"
10377 config_commands="$ac_config_commands"
10381 cat >>$CONFIG_STATUS <<\_ACEOF
10383 \`$as_me' instantiates files from templates according to the
10384 current configuration.
10386 Usage: $0 [OPTIONS] [FILE]...
10388 -h, --help print this help, then exit
10389 -V, --version print version number and configuration settings, then exit
10390 -q, --quiet do not print progress messages
10391 -d, --debug don't remove temporary files
10392 --recheck update $as_me by reconfiguring in the same conditions
10393 --file=FILE[:TEMPLATE]
10394 instantiate the configuration file FILE
10395 --header=FILE[:TEMPLATE]
10396 instantiate the configuration header FILE
10398 Configuration files:
10401 Configuration headers:
10404 Configuration commands:
10407 Report bugs to <bug-autoconf@gnu.org>."
10410 cat >>$CONFIG_STATUS <<_ACEOF
10412 X3 config.status 1.5
10413 configured by $0, generated by GNU Autoconf 2.61,
10414 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10416 Copyright (C) 2006 Free Software Foundation, Inc.
10417 This config.status script is free software; the Free Software Foundation
10418 gives unlimited permission to copy, distribute and modify it."
10425 cat >>$CONFIG_STATUS <<\_ACEOF
10426 # If no file are specified by the user, then we need to provide default
10427 # value. By we need to know if files were specified by the user.
10433 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10434 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10445 # Handling of the options.
10446 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10448 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10449 echo "$ac_cs_version"; exit ;;
10450 --debug | --debu | --deb | --de | --d | -d )
10452 --file | --fil | --fi | --f )
10454 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10455 ac_need_defaults
=false
;;
10456 --header | --heade | --head | --hea )
10458 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10459 ac_need_defaults
=false
;;
10461 # Conflict between --help and --header
10462 { echo "$as_me: error: ambiguous option: $1
10463 Try \`$0 --help' for more information." >&2
10464 { (exit 1); exit 1; }; };;
10465 --help | --hel | -h )
10466 echo "$ac_cs_usage"; exit ;;
10467 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10468 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10471 # This is an error.
10472 -*) { echo "$as_me: error: unrecognized option: $1
10473 Try \`$0 --help' for more information." >&2
10474 { (exit 1); exit 1; }; } ;;
10476 *) ac_config_targets
="$ac_config_targets $1"
10477 ac_need_defaults
=false
;;
10483 ac_configure_extra_args
=
10485 if $ac_cs_silent; then
10487 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10491 cat >>$CONFIG_STATUS <<_ACEOF
10492 if \$ac_cs_recheck; then
10493 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10494 CONFIG_SHELL=$SHELL
10495 export CONFIG_SHELL
10496 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10500 cat >>$CONFIG_STATUS <<\_ACEOF
10504 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10505 ## Running $as_me. ##
10511 cat >>$CONFIG_STATUS <<_ACEOF
10515 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10519 cat >>$CONFIG_STATUS <<\_ACEOF
10521 # Handling of arguments.
10522 for ac_config_target
in $ac_config_targets
10524 case $ac_config_target in
10525 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
10526 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10527 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10528 "rx/Makefile") CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
10529 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
10531 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10532 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10533 { (exit 1); exit 1; }; };;
10538 # If the user did not use the arguments to specify the items to instantiate,
10539 # then the envvar interface is used. Set only those that are not.
10540 # We use the long form for the default assignment because of an extremely
10541 # bizarre bug on SunOS 4.1.3.
10542 if $ac_need_defaults; then
10543 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10544 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10545 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10548 # Have a temporary directory for convenience. Make it in the build tree
10549 # simply because there is no reason against having it here, and in addition,
10550 # creating and moving files from /tmp can sometimes cause problems.
10551 # Hook for its removal unless debugging.
10552 # Note that there is a small window in which the directory will not be cleaned:
10553 # after its creation but before its name has been assigned to `$tmp'.
10557 trap 'exit_status=$?
10558 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10560 trap '{ (exit 1); exit 1; }' 1 2 13 15
10562 # Create a (secure) tmp directory for tmp files.
10565 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10566 test -n "$tmp" && test -d "$tmp"
10569 tmp
=.
/conf$$
-$RANDOM
10570 (umask 077 && mkdir "$tmp")
10573 echo "$me: cannot create a temporary directory in ." >&2
10574 { (exit 1); exit 1; }
10578 # Set up the sed scripts for CONFIG_FILES section.
10581 # No need to generate the scripts if there are no CONFIG_FILES.
10582 # This happens for instance when ./config.status config.h
10583 if test -n "$CONFIG_FILES"; then
10590 for ac_last_try
in false false false false false
:; do
10591 cat >conf$
$subs.
sed <<_ACEOF
10592 SHELL!$SHELL$ac_delim
10593 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10594 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10595 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10596 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10597 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10598 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10599 exec_prefix!$exec_prefix$ac_delim
10600 prefix!$prefix$ac_delim
10601 program_transform_name!$program_transform_name$ac_delim
10602 bindir!$bindir$ac_delim
10603 sbindir!$sbindir$ac_delim
10604 libexecdir!$libexecdir$ac_delim
10605 datarootdir!$datarootdir$ac_delim
10606 datadir!$datadir$ac_delim
10607 sysconfdir!$sysconfdir$ac_delim
10608 sharedstatedir!$sharedstatedir$ac_delim
10609 localstatedir!$localstatedir$ac_delim
10610 includedir!$includedir$ac_delim
10611 oldincludedir!$oldincludedir$ac_delim
10612 docdir!$docdir$ac_delim
10613 infodir!$infodir$ac_delim
10614 htmldir!$htmldir$ac_delim
10615 dvidir!$dvidir$ac_delim
10616 pdfdir!$pdfdir$ac_delim
10617 psdir!$psdir$ac_delim
10618 libdir!$libdir$ac_delim
10619 localedir!$localedir$ac_delim
10620 mandir!$mandir$ac_delim
10621 DEFS!$DEFS$ac_delim
10622 ECHO_C!$ECHO_C$ac_delim
10623 ECHO_N!$ECHO_N$ac_delim
10624 ECHO_T!$ECHO_T$ac_delim
10625 LIBS!$LIBS$ac_delim
10626 build_alias!$build_alias$ac_delim
10627 host_alias!$host_alias$ac_delim
10628 target_alias!$target_alias$ac_delim
10629 build!$build$ac_delim
10630 build_cpu!$build_cpu$ac_delim
10631 build_vendor!$build_vendor$ac_delim
10632 build_os!$build_os$ac_delim
10633 host!$host$ac_delim
10634 host_cpu!$host_cpu$ac_delim
10635 host_vendor!$host_vendor$ac_delim
10636 host_os!$host_os$ac_delim
10637 target!$target$ac_delim
10638 target_cpu!$target_cpu$ac_delim
10639 target_vendor!$target_vendor$ac_delim
10640 target_os!$target_os$ac_delim
10641 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10642 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10643 INSTALL_DATA!$INSTALL_DATA$ac_delim
10644 CYGPATH_W!$CYGPATH_W$ac_delim
10645 PACKAGE!$PACKAGE$ac_delim
10646 VERSION!$VERSION$ac_delim
10647 ACLOCAL!$ACLOCAL$ac_delim
10648 AUTOCONF!$AUTOCONF$ac_delim
10649 AUTOMAKE!$AUTOMAKE$ac_delim
10650 AUTOHEADER!$AUTOHEADER$ac_delim
10651 MAKEINFO!$MAKEINFO$ac_delim
10652 install_sh!$install_sh$ac_delim
10653 STRIP!$STRIP$ac_delim
10654 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10655 mkdir_p!$mkdir_p$ac_delim
10657 SET_MAKE!$SET_MAKE$ac_delim
10658 am__leading_dot!$am__leading_dot$ac_delim
10659 AMTAR!$AMTAR$ac_delim
10660 am__tar!$am__tar$ac_delim
10661 am__untar!$am__untar$ac_delim
10662 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
10663 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
10664 MAINT!$MAINT$ac_delim
10666 CFLAGS!$CFLAGS$ac_delim
10667 LDFLAGS!$LDFLAGS$ac_delim
10668 CPPFLAGS!$CPPFLAGS$ac_delim
10669 ac_ct_CC!$ac_ct_CC$ac_delim
10670 EXEEXT!$EXEEXT$ac_delim
10671 OBJEXT!$OBJEXT$ac_delim
10672 DEPDIR!$DEPDIR$ac_delim
10673 am__include!$am__include$ac_delim
10674 am__quote!$am__quote$ac_delim
10675 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10676 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10677 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10678 CCDEPMODE!$CCDEPMODE$ac_delim
10679 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
10680 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
10681 RANLIB!$RANLIB$ac_delim
10682 LN_S!$LN_S$ac_delim
10684 GREP!$GREP$ac_delim
10685 EGREP!$EGREP$ac_delim
10686 MAKER!$MAKER$ac_delim
10687 ALLOCA!$ALLOCA$ac_delim
10688 MODULE_OBJS!$MODULE_OBJS$ac_delim
10691 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10693 elif $ac_last_try; then
10694 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10695 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10696 { (exit 1); exit 1; }; }
10698 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10702 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10703 if test -n "$ac_eof"; then
10704 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10705 ac_eof
=`expr $ac_eof + 1`
10708 cat >>$CONFIG_STATUS <<_ACEOF
10709 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10710 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10713 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10714 s/^/s,@/; s/!/@,|#_!!_#|/
10717 s/'"$ac_delim"'$/,g/; t
10719 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10720 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10721 rm -f conf$
$subs.
sed
10722 cat >>$CONFIG_STATUS <<_ACEOF
10728 for ac_last_try
in false false false false false
:; do
10729 cat >conf$
$subs.
sed <<_ACEOF
10730 MY_SUBDIRS!$MY_SUBDIRS$ac_delim
10731 RX_INCLUDES!$RX_INCLUDES$ac_delim
10732 RX_LIBS!$RX_LIBS$ac_delim
10733 TRACK!$TRACK$ac_delim
10734 LIBOBJS!$LIBOBJS$ac_delim
10735 LTLIBOBJS!$LTLIBOBJS$ac_delim
10738 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
10740 elif $ac_last_try; then
10741 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10742 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10743 { (exit 1); exit 1; }; }
10745 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10749 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10750 if test -n "$ac_eof"; then
10751 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10752 ac_eof
=`expr $ac_eof + 1`
10755 cat >>$CONFIG_STATUS <<_ACEOF
10756 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10757 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10760 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10761 s/^/s,@/; s/!/@,|#_!!_#|/
10764 s/'"$ac_delim"'$/,g/; t
10766 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10767 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10768 rm -f conf$
$subs.
sed
10769 cat >>$CONFIG_STATUS <<_ACEOF
10776 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10777 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10778 # trailing colons and then remove the whole line if VPATH becomes empty
10779 # (actually we leave an empty line to preserve line numbers).
10780 if test "x$srcdir" = x.
; then
10781 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10782 s/:*\$(srcdir):*/:/
10783 s/:*\${srcdir}:*/:/
10785 s/^\([^=]*=[ ]*\):*/\1/
10791 cat >>$CONFIG_STATUS <<\_ACEOF
10792 fi # test -n "$CONFIG_FILES"
10795 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
10798 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10800 case $ac_mode$ac_tag in
10802 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10803 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10804 { (exit 1); exit 1; }; };;
10805 :[FH
]-) ac_tag
=-:-;;
10806 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10823 -) ac_f
="$tmp/stdin";;
10824 *) # Look for the file first in the build tree, then in the source tree
10825 # (if the path is not absolute). The absolute path cannot be DOS-style,
10826 # because $ac_f cannot contain `:'.
10830 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10832 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10833 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10834 { (exit 1); exit 1; }; };;
10836 ac_file_inputs
="$ac_file_inputs $ac_f"
10839 # Let's still pretend it is `configure' which instantiates (i.e., don't
10840 # use $as_me), people would be surprised to read:
10841 # /* config.h. Generated by config.status. */
10842 configure_input
="Generated from "`IFS=:
10843 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10844 if test x
"$ac_file" != x
-; then
10845 configure_input
="$ac_file. $configure_input"
10846 { echo "$as_me:$LINENO: creating $ac_file" >&5
10847 echo "$as_me: creating $ac_file" >&6;}
10851 *:-:* | *:-) cat >"$tmp/stdin";;
10856 ac_dir
=`$as_dirname -- "$ac_file" ||
10857 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10858 X"$ac_file" : 'X\(//\)[^/]' \| \
10859 X"$ac_file" : 'X\(//\)$' \| \
10860 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10866 /^X\(\/\/\)[^/].*/{
10881 -*) as_dir
=.
/$as_dir;;
10883 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10887 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10888 *) as_qdir
=$as_dir;;
10890 as_dirs
="'$as_qdir' $as_dirs"
10891 as_dir
=`$as_dirname -- "$as_dir" ||
10892 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10893 X"$as_dir" : 'X\(//\)[^/]' \| \
10894 X"$as_dir" : 'X\(//\)$' \| \
10895 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10901 /^X\(\/\/\)[^/].*/{
10914 test -d "$as_dir" && break
10916 test -z "$as_dirs" || eval "mkdir $as_dirs"
10917 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10918 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10919 { (exit 1); exit 1; }; }; }
10923 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10925 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10926 # A ".." for each directory in $ac_dir_suffix.
10927 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10928 case $ac_top_builddir_sub in
10929 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10930 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10933 ac_abs_top_builddir
=$ac_pwd
10934 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10935 # for backward compatibility:
10936 ac_top_builddir
=$ac_top_build_prefix
10939 .
) # We are building in place.
10941 ac_top_srcdir
=$ac_top_builddir_sub
10942 ac_abs_top_srcdir
=$ac_pwd ;;
10943 [\\/]* | ?
:[\\/]* ) # Absolute name.
10944 ac_srcdir
=$srcdir$ac_dir_suffix;
10945 ac_top_srcdir
=$srcdir
10946 ac_abs_top_srcdir
=$srcdir ;;
10947 *) # Relative name.
10948 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10949 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10950 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10952 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10962 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10963 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10967 cat >>$CONFIG_STATUS <<\_ACEOF
10968 # If the template does not know about datarootdir, expand it.
10969 # FIXME: This hack should be removed a few years after 2.60.
10970 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10972 case `sed -n '/datarootdir/ {
10981 ' $ac_file_inputs` in
10982 *datarootdir
*) ac_datarootdir_seen
=yes;;
10983 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
10984 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10985 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10987 cat >>$CONFIG_STATUS <<_ACEOF
10988 ac_datarootdir_hack='
10989 s&@datadir@&$datadir&g
10990 s&@docdir@&$docdir&g
10991 s&@infodir@&$infodir&g
10992 s&@localedir@&$localedir&g
10993 s&@mandir@&$mandir&g
10994 s&\\\${datarootdir}&$datarootdir&g' ;;
10998 # Neutralize VPATH when `$srcdir' = `.'.
10999 # Shell code in configure.ac might set extrasub.
11000 # FIXME: do we really want to maintain this feature?
11001 cat >>$CONFIG_STATUS <<_ACEOF
11005 cat >>$CONFIG_STATUS <<\_ACEOF
11007 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
11008 s
&@configure_input@
&$configure_input&;t t
11009 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11010 s
&@srcdir@
&$ac_srcdir&;t t
11011 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11012 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11013 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11014 s
&@builddir@
&$ac_builddir&;t t
11015 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11016 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11017 s
&@INSTALL@
&$ac_INSTALL&;t t
11018 $ac_datarootdir_hack
11019 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out
11021 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11022 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11023 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11024 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11025 which seems to be undefined. Please make sure it is defined." >&5
11026 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11027 which seems to be undefined. Please make sure it is defined." >&2;}
11031 -) cat "$tmp/out"; rm -f "$tmp/out";;
11032 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11041 # Transform confdefs.h into a sed script `conftest.defines', that
11042 # substitutes the proper values into config.h.in to produce config.h.
11043 rm -f conftest.defines conftest.
tail
11044 # First, append a space to every undef/define line, to ease matching.
11045 echo 's/$/ /' >conftest.defines
11046 # Then, protect against being on the right side of a sed subst, or in
11047 # an unquoted here document, in config.status. If some macros were
11048 # called several times there might be several #defines for the same
11049 # symbol, which is useless. But do not sort them, since the last
11050 # AC_DEFINE must be honored.
11051 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
11052 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11053 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11054 # PARAMS is the parameter list in the macro definition--in most cases, it's
11055 # just an empty string.
11056 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11057 ac_dB
='\\)[ (].*,\\1define\\2'
11065 s/^[ ]*#[ ]*define[ ][ ]*//
11070 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11071 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11072 ' >>conftest.defines
11074 # Remove the space that was appended to ease matching.
11075 # Then replace #undef with comments. This is necessary, for
11076 # example, in the case of _POSIX_SOURCE, which is predefined and required
11077 # on some systems where configure will not decide to define it.
11078 # (The regexp can be short, since the line contains either #define or #undef.)
11080 s,^[ #]*u.*,/* & */,' >>conftest.defines
11082 # Break up conftest.defines:
11083 ac_max_sed_lines
=50
11085 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11086 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11087 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11089 ac_in
='$ac_file_inputs'
11090 ac_out
='"$tmp/out1"'
11091 ac_nxt
='"$tmp/out2"'
11095 # Write a here document:
11096 cat >>$CONFIG_STATUS <<_ACEOF
11097 # First, check the format of the line:
11098 cat >"\$tmp/defines.sed" <<\\CEOF
11099 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11100 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11104 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
11106 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11107 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
11108 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
11109 grep . conftest.
tail >/dev
/null
|| break
11110 rm -f conftest.defines
11111 mv conftest.
tail conftest.defines
11113 rm -f conftest.defines conftest.
tail
11115 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11116 cat >>$CONFIG_STATUS <<\_ACEOF
11117 if test x
"$ac_file" != x
-; then
11118 echo "/* $configure_input */" >"$tmp/config.h"
11119 cat "$ac_result" >>"$tmp/config.h"
11120 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
11121 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11122 echo "$as_me: $ac_file is unchanged" >&6;}
11125 mv "$tmp/config.h" $ac_file
11128 echo "/* $configure_input */"
11132 # Compute $ac_file's index in $config_headers.
11134 for _am_header
in $config_headers :; do
11135 case $_am_header in
11136 $ac_file | $ac_file:* )
11139 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
11142 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
11143 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11144 X$ac_file : 'X\(//\)[^/]' \| \
11145 X$ac_file : 'X\(//\)$' \| \
11146 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
11148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11152 /^X\(\/\/\)[^/].*/{
11164 s/.*/./; q'`/stamp
-h$_am_stamp_count
11167 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11168 echo "$as_me: executing $ac_file commands" >&6;}
11173 case $ac_file$ac_mode in
11174 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
11175 # Strip MF so we end up with the name of the file.
11176 mf
=`echo "$mf" | sed -e 's/:.*$//'`
11177 # Check whether this is an Automake generated Makefile or not.
11178 # We used to match only the files named `Makefile.in', but
11179 # some people rename them; so instead we look at the file content.
11180 # Grep'ing the first line is not enough: some people post-process
11181 # each Makefile.in and add a new line on top of each file to say so.
11182 # So let's grep whole file.
11183 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
11184 dirpart
=`$as_dirname -- "$mf" ||
11185 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11186 X"$mf" : 'X\(//\)[^/]' \| \
11187 X"$mf" : 'X\(//\)$' \| \
11188 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11194 /^X\(\/\/\)[^/].*/{
11210 # Extract the definition of DEPDIR, am__include, and am__quote
11211 # from the Makefile without running `make'.
11212 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
11213 test -z "$DEPDIR" && continue
11214 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
11215 test -z "am__include" && continue
11216 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
11217 # When using ansi2knr, U may be empty or an underscore; expand it
11218 U
=`sed -n 's/^U = //p' < "$mf"`
11219 # Find all dependency output files, they are included files with
11220 # $(DEPDIR) in their names. We invoke sed twice because it is the
11221 # simplest approach to changing $(DEPDIR) to its actual value in the
11223 for file in `sed -n "
11224 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11225 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11226 # Make sure the directory exists.
11227 test -f "$dirpart/$file" && continue
11228 fdir
=`$as_dirname -- "$file" ||
11229 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11230 X"$file" : 'X\(//\)[^/]' \| \
11231 X"$file" : 'X\(//\)$' \| \
11232 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11238 /^X\(\/\/\)[^/].*/{
11251 { as_dir
=$dirpart/$fdir
11253 -*) as_dir
=.
/$as_dir;;
11255 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11259 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11260 *) as_qdir
=$as_dir;;
11262 as_dirs
="'$as_qdir' $as_dirs"
11263 as_dir
=`$as_dirname -- "$as_dir" ||
11264 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11265 X"$as_dir" : 'X\(//\)[^/]' \| \
11266 X"$as_dir" : 'X\(//\)$' \| \
11267 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11273 /^X\(\/\/\)[^/].*/{
11286 test -d "$as_dir" && break
11288 test -z "$as_dirs" || eval "mkdir $as_dirs"
11289 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11290 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11291 { (exit 1); exit 1; }; }; }
11292 # echo "creating $dirpart/$file"
11293 echo '# dummy' > "$dirpart/$file"
11302 { (exit 0); exit 0; }
11304 chmod +x
$CONFIG_STATUS
11305 ac_clean_files
=$ac_clean_files_save
11308 # configure is writing to config.log, and then calls config.status.
11309 # config.status does its own redirection, appending to config.log.
11310 # Unfortunately, on DOS this fails, as config.log is still kept open
11311 # by configure, so config.status won't be able to write to it; its
11312 # output is simply discarded. So we exec the FD to /dev/null,
11313 # effectively closing config.log, so it can be properly (re)opened and
11314 # appended to by config.status. When coming back to configure, we
11315 # need to make the FD available again.
11316 if test "$no_create" != yes; then
11318 ac_config_status_args
=
11319 test "$silent" = yes &&
11320 ac_config_status_args
="$ac_config_status_args --quiet"
11322 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11324 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11325 # would make configure fail if this is the last instruction.
11326 $ac_cs_success || { (exit 1); exit 1; }
11334 Configuration summary
11335 =====================
11337 X3 is now configured as follows:
11339 * Compilation environment
11344 CPPFLAGS = $CPPFLAGS
11352 Extra Modules: $module_list
11355 Regexp Library TRE $tre_version
11356 Coredumper Library Coredumper $core_version
11359 Install to: $prefix
11361 Now you can proceed with compiling X3