2 # From configure.in Id: configure.in 1910 2007-02-09 00:36:52Z rubin .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60 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 Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
27 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
28 DUALCASE
=1; export DUALCASE
# for MKS sh
32 # Avoid depending upon Character Ranges.
33 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits
='0123456789'
37 as_cr_alnum
=$as_cr_Letters$as_cr_digits
39 # The user is always right.
40 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
44 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52 # Support unset when possible.
53 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
61 # We need space, tab and new line, in precisely that order. Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
69 # Find who we are. Look in the path if we contain no directory separator.
71 *[\\/]* ) as_myself
=$0 ;;
72 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
76 test -z "$as_dir" && as_dir
=.
77 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x
; then
88 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var
in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
107 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C
; export $as_var
110 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
114 # Required to use basename.
115 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
116 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
122 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
129 # Name of the executable.
130 as_me
=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$0" : 'X\(//\)$' \| \
133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
153 if test "x$CONFIG_SHELL" = x
; then
154 if (eval ":") 2>/dev
/null
; then
160 if test $as_have_required = yes && (eval ":
170 as_func_ret_success () {
173 as_func_ret_failure () {
178 if as_func_success; then
182 echo as_func_success failed.
185 if as_func_failure; then
187 echo as_func_failure succeeded.
190 if as_func_ret_success; then
194 echo as_func_ret_success failed.
197 if as_func_ret_failure; then
199 echo as_func_ret_failure succeeded.
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 echo positional parameters were not saved.
209 test \$exitcode = 0) || { (exit 1); exit 1; }
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev
/null
; then
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
221 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
235 for as_shell
in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
239 # Be Bourne compatible
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
250 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
251 DUALCASE
=1; export DUALCASE
# for MKS sh
256 CONFIG_SHELL
=$as_shell
258 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
268 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
270 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
271 DUALCASE
=1; export DUALCASE
# for MKS sh
283 as_func_ret_success
() {
286 as_func_ret_failure
() {
291 if as_func_success
; then
295 echo as_func_success failed.
298 if as_func_failure
; then
300 echo as_func_failure succeeded.
303 if as_func_ret_success
; then
307 echo as_func_ret_success failed.
310 if as_func_ret_failure
; then
312 echo as_func_ret_failure succeeded.
315 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
319 echo positional parameters were not saved.
322 test $exitcode = 0) || { (exit 1); exit 1; }
327 test "x$as_lineno_1" != "x$as_lineno_2" &&
328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
339 if test "x$CONFIG_SHELL" != x
; then
340 for as_var
in BASH_ENV ENV
341 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 if test $as_have_required = no
; then
349 echo This
script requires a shell
more modern than all the
350 echo shells that I found on your system. Please
install a
351 echo modern shell
, or manually run the
script under such a
352 echo shell
if you
do have one.
353 { (exit 1); exit 1; }
363 (eval "as_func_return () {
372 as_func_ret_success () {
375 as_func_ret_failure () {
380 if as_func_success; then
384 echo as_func_success failed.
387 if as_func_failure; then
389 echo as_func_failure succeeded.
392 if as_func_ret_success; then
396 echo as_func_ret_success failed.
399 if as_func_ret_failure; then
401 echo as_func_ret_failure succeeded.
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 echo positional parameters were not saved.
411 test \$exitcode = 0") || {
412 echo No shell found that supports shell functions.
413 echo Please tell autoconf@gnu.org about your system
,
414 echo including any error possibly output before this
422 test "x$as_lineno_1" != "x$as_lineno_2" &&
423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426 # uniformly replaced by the line number. The first 'sed' inserts a
427 # line-number line after each line using $LINENO; the second 'sed'
428 # does the real work. The second script uses 'N' to pair each
429 # line-number line with the line containing $LINENO, and appends
430 # trailing '-' during substitution so that $LINENO is not a special
432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433 # scripts with optimization help from Paolo Bonzini. Blame Lee
434 # E. McMahon (1931-1989) for sed's syntax. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 chmod +x
"$as_me.lineno" ||
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); exit 1; }; }
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
458 # Exit status is that of the last command.
463 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
469 ECHO_C
= ECHO_N
= ECHO_T
=
473 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
480 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
481 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
487 rm -f conf$$ conf$$.exe conf$$.
file
488 if test -d conf$$.dir
; then
489 rm -f conf$$.dir
/conf$$.
file
495 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
497 # ... but there are two gotchas:
498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500 # In both cases, we have to default to `cp -p'.
501 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
503 elif ln conf$$.
file conf$$
2>/dev
/null
; then
508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
509 rmdir conf$$.dir
2>/dev
/null
511 if mkdir -p .
2>/dev
/null
; then
514 test -d .
/-p && rmdir .
/-p
518 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.
file <<_ASEOF
525 if test -x conf$$.
file >/dev
/null
2>&1; then
526 as_executable_p
="test -x"
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 exec 7<&0 </dev
/null
6>&1
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix
=/usr
/local
552 ac_config_libobj_dir
=.
558 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Identity of this package.
563 PACKAGE_VERSION
='1.5'
564 PACKAGE_STRING
='X3 1.5'
565 PACKAGE_BUGREPORT
='evilnet-devel@lists.sourceforge.net'
567 ac_unique_file
="src/opserv.c"
568 # Factoring default headers for most tests.
569 ac_includes_default
="\
572 # include <sys/types.h>
575 # include <sys/stat.h>
586 # if !STDC_HEADERS && HAVE_MEMORY_H
592 # include <strings.h>
595 # include <inttypes.h>
613 program_transform_name
666 INSTALL_STRIP_PROGRAM
675 MAINTAINER_MODE_FALSE
708 ac_precious_vars
='build_alias
718 # Initialize some variables set by options.
720 ac_init_version
=false
721 # The variables have the same names as the options, with
722 # dashes changed to underlines.
730 program_transform_name
=s
,x
,x
,
738 # Installation directory options.
739 # These are left unexpanded so users can "make install exec_prefix=/foo"
740 # and all the variables that are supposed to be based on exec_prefix
741 # by default will actually change.
742 # Use braces instead of parens because sh, perl, etc. also accept them.
743 # (The list follows the same order as the GNU Coding Standards.)
744 bindir
='${exec_prefix}/bin'
745 sbindir
='${exec_prefix}/sbin'
746 libexecdir
='${exec_prefix}/libexec'
747 datarootdir
='${prefix}/share'
748 datadir
='${datarootdir}'
749 sysconfdir
='${prefix}/etc'
750 sharedstatedir
='${prefix}/com'
751 localstatedir
='${prefix}/var'
752 includedir
='${prefix}/include'
753 oldincludedir
='/usr/include'
754 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
755 infodir
='${datarootdir}/info'
760 libdir
='${exec_prefix}/lib'
761 localedir
='${datarootdir}/locale'
762 mandir
='${datarootdir}/man'
768 # If the previous option needs an argument, assign it.
769 if test -n "$ac_prev"; then
770 eval $ac_prev=\
$ac_option
776 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
780 # Accept the important Cygnus configure options, so we can diagnose typos.
782 case $ac_dashdash$ac_option in
786 -bindir | --bindir | --bindi | --bind | --bin | --bi)
788 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
791 -build | --build | --buil | --bui | --bu)
792 ac_prev
=build_alias
;;
793 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
794 build_alias
=$ac_optarg ;;
796 -cache-file | --cache-file | --cache-fil | --cache-fi \
797 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
798 ac_prev
=cache_file
;;
799 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
800 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
801 cache_file
=$ac_optarg ;;
804 cache_file
=config.cache
;;
806 -datadir | --datadir | --datadi | --datad)
808 -datadir=* | --datadir=* | --datadi=* | --datad=*)
809 datadir
=$ac_optarg ;;
811 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
812 | --dataroo | --dataro | --datar)
813 ac_prev
=datarootdir
;;
814 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
815 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
816 datarootdir
=$ac_optarg ;;
818 -disable-* | --disable-*)
819 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
820 # Reject names that are not valid shell variable names.
821 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
822 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
823 { (exit 1); exit 1; }; }
824 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
825 eval enable_
$ac_feature=no
;;
827 -docdir | --docdir | --docdi | --doc | --do)
829 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
832 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
834 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
837 -enable-* | --enable-*)
838 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
839 # Reject names that are not valid shell variable names.
840 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
841 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
842 { (exit 1); exit 1; }; }
843 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
844 eval enable_
$ac_feature=\
$ac_optarg ;;
846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848 | --exec | --exe | --ex)
849 ac_prev
=exec_prefix
;;
850 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852 | --exec=* | --exe=* | --ex=*)
853 exec_prefix
=$ac_optarg ;;
855 -gas | --gas | --ga | --g)
856 # Obsolete; use --with-gas.
859 -help | --help | --hel | --he | -h)
861 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
862 ac_init_help
=recursive
;;
863 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
864 ac_init_help
=short
;;
866 -host | --host | --hos | --ho)
867 ac_prev
=host_alias
;;
868 -host=* | --host=* | --hos=* | --ho=*)
869 host_alias
=$ac_optarg ;;
871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
875 htmldir
=$ac_optarg ;;
877 -includedir | --includedir | --includedi | --included | --include \
878 | --includ | --inclu | --incl | --inc)
879 ac_prev
=includedir
;;
880 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881 | --includ=* | --inclu=* | --incl=* | --inc=*)
882 includedir
=$ac_optarg ;;
884 -infodir | --infodir | --infodi | --infod | --info | --inf)
886 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887 infodir
=$ac_optarg ;;
889 -libdir | --libdir | --libdi | --libd)
891 -libdir=* | --libdir=* | --libdi=* | --libd=*)
894 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895 | --libexe | --libex | --libe)
896 ac_prev
=libexecdir
;;
897 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898 | --libexe=* | --libex=* | --libe=*)
899 libexecdir
=$ac_optarg ;;
901 -localedir | --localedir | --localedi | --localed | --locale)
903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904 localedir
=$ac_optarg ;;
906 -localstatedir | --localstatedir | --localstatedi | --localstated \
907 | --localstate | --localstat | --localsta | --localst | --locals)
908 ac_prev
=localstatedir
;;
909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911 localstatedir
=$ac_optarg ;;
913 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
915 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
919 # Obsolete; use --without-fp.
922 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923 | --no-cr | --no-c | -n)
926 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932 | --oldin | --oldi | --old | --ol | --o)
933 ac_prev
=oldincludedir
;;
934 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937 oldincludedir
=$ac_optarg ;;
939 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
941 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
944 -program-prefix | --program-prefix | --program-prefi | --program-pref \
945 | --program-pre | --program-pr | --program-p)
946 ac_prev
=program_prefix
;;
947 -program-prefix=* | --program-prefix=* | --program-prefi=* \
948 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949 program_prefix
=$ac_optarg ;;
951 -program-suffix | --program-suffix | --program-suffi | --program-suff \
952 | --program-suf | --program-su | --program-s)
953 ac_prev
=program_suffix
;;
954 -program-suffix=* | --program-suffix=* | --program-suffi=* \
955 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956 program_suffix
=$ac_optarg ;;
958 -program-transform-name | --program-transform-name \
959 | --program-transform-nam | --program-transform-na \
960 | --program-transform-n | --program-transform- \
961 | --program-transform | --program-transfor \
962 | --program-transfo | --program-transf \
963 | --program-trans | --program-tran \
964 | --progr-tra | --program-tr | --program-t)
965 ac_prev
=program_transform_name
;;
966 -program-transform-name=* | --program-transform-name=* \
967 | --program-transform-nam=* | --program-transform-na=* \
968 | --program-transform-n=* | --program-transform-=* \
969 | --program-transform=* | --program-transfor=* \
970 | --program-transfo=* | --program-transf=* \
971 | --program-trans=* | --program-tran=* \
972 | --progr-tra=* | --program-tr=* | --program-t=*)
973 program_transform_name
=$ac_optarg ;;
975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
980 -psdir | --psdir | --psdi | --psd | --ps)
982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986 | -silent | --silent | --silen | --sile | --sil)
989 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
991 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
993 sbindir
=$ac_optarg ;;
995 -sharedstatedir | --sharedstatedir | --sharedstatedi \
996 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
997 | --sharedst | --shareds | --shared | --share | --shar \
999 ac_prev
=sharedstatedir
;;
1000 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1001 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1002 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1004 sharedstatedir
=$ac_optarg ;;
1006 -site | --site | --sit)
1008 -site=* | --site=* | --sit=*)
1011 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1013 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1014 srcdir
=$ac_optarg ;;
1016 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1017 | --syscon | --sysco | --sysc | --sys | --sy)
1018 ac_prev
=sysconfdir
;;
1019 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1020 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1021 sysconfdir
=$ac_optarg ;;
1023 -target | --target | --targe | --targ | --tar | --ta | --t)
1024 ac_prev
=target_alias
;;
1025 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1026 target_alias
=$ac_optarg ;;
1028 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1031 -version | --version | --versio | --versi | --vers | -V)
1032 ac_init_version
=: ;;
1035 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1038 { echo "$as_me: error: invalid package name: $ac_package" >&2
1039 { (exit 1); exit 1; }; }
1040 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1041 eval with_
$ac_package=\
$ac_optarg ;;
1043 -without-* | --without-*)
1044 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1047 { echo "$as_me: error: invalid package name: $ac_package" >&2
1048 { (exit 1); exit 1; }; }
1049 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1050 eval with_
$ac_package=no
;;
1053 # Obsolete; use --with-x.
1056 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1057 | --x-incl | --x-inc | --x-in | --x-i)
1058 ac_prev
=x_includes
;;
1059 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1060 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1061 x_includes
=$ac_optarg ;;
1063 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1064 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1065 ac_prev
=x_libraries
;;
1066 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1067 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1068 x_libraries
=$ac_optarg ;;
1070 -*) { echo "$as_me: error: unrecognized option: $ac_option
1071 Try \`$0 --help' for more information." >&2
1072 { (exit 1); exit 1; }; }
1076 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1079 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1080 { (exit 1); exit 1; }; }
1081 eval $ac_envvar=\
$ac_optarg
1082 export $ac_envvar ;;
1085 # FIXME: should be removed in autoconf 3.0.
1086 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1087 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1088 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1089 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1095 if test -n "$ac_prev"; then
1096 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1097 { echo "$as_me: error: missing argument to $ac_option" >&2
1098 { (exit 1); exit 1; }; }
1101 # Be sure to have absolute directory names.
1102 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1103 datadir sysconfdir sharedstatedir localstatedir includedir \
1104 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1105 libdir localedir mandir
1107 eval ac_val
=\$
$ac_var
1109 [\\/$
]* | ?
:[\\/]* ) continue;;
1110 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1112 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1113 { (exit 1); exit 1; }; }
1116 # There might be people who depend on the old broken behavior: `$host'
1117 # used to hold the argument of --host etc.
1118 # FIXME: To remove some day.
1121 target
=$target_alias
1123 # FIXME: To remove some day.
1124 if test "x$host_alias" != x
; then
1125 if test "x$build_alias" = x
; then
1126 cross_compiling
=maybe
1127 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1128 If a cross compiler is detected then cross compile mode will be used." >&2
1129 elif test "x$build_alias" != "x$host_alias"; then
1135 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1137 test "$silent" = yes && exec 6>/dev
/null
1140 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1141 ac_ls_di
=`ls -di .` &&
1142 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1143 { echo "$as_me: error: Working directory cannot be determined" >&2
1144 { (exit 1); exit 1; }; }
1145 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1146 { echo "$as_me: error: pwd does not report name of working directory" >&2
1147 { (exit 1); exit 1; }; }
1150 # Find the source files, if location was not specified.
1151 if test -z "$srcdir"; then
1152 ac_srcdir_defaulted
=yes
1153 # Try the directory containing this script, then the parent directory.
1154 ac_confdir
=`$as_dirname -- "$0" ||
1155 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1156 X"$0" : 'X\(//\)[^/]' \| \
1157 X"$0" : 'X\(//\)$' \| \
1158 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1178 if test ! -r "$srcdir/$ac_unique_file"; then
1182 ac_srcdir_defaulted
=no
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1185 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1186 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1187 { (exit 1); exit 1; }; }
1189 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1191 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1192 { (exit 1); exit 1; }; }
1194 # When building in place, set srcdir=.
1195 if test "$ac_abs_confdir" = "$ac_pwd"; then
1198 # Remove unnecessary trailing slashes from srcdir.
1199 # Double slashes in file names in object file debugging info
1200 # mess up M-x gdb in Emacs.
1202 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1204 for ac_var
in $ac_precious_vars; do
1205 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1206 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1207 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1208 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1212 # Report the --help message.
1214 if test "$ac_init_help" = "long"; then
1215 # Omit some internal or obsolete options to make the list less imposing.
1216 # This message is too long to be a string in the A/UX 3.1 sh.
1218 \`configure' configures X3 1.5 to adapt to many kinds of systems.
1220 Usage: $0 [OPTION]... [VAR=VALUE]...
1222 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1223 VAR=VALUE. See below for descriptions of some of the useful variables.
1225 Defaults for the options are specified in brackets.
1228 -h, --help display this help and exit
1229 --help=short display options specific to this package
1230 --help=recursive display the short help of all the included packages
1231 -V, --version display version information and exit
1232 -q, --quiet, --silent do not print \`checking...' messages
1233 --cache-file=FILE cache test results in FILE [disabled]
1234 -C, --config-cache alias for \`--cache-file=config.cache'
1235 -n, --no-create do not create output files
1236 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1238 Installation directories:
1239 --prefix=PREFIX install architecture-independent files in PREFIX
1240 [$ac_default_prefix]
1241 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1244 By default, \`make install' will install all the files in
1245 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1246 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1247 for instance \`--prefix=\$HOME'.
1249 For better control, use the options below.
1251 Fine tuning of the installation directories:
1252 --bindir=DIR user executables [EPREFIX/bin]
1253 --sbindir=DIR system admin executables [EPREFIX/sbin]
1254 --libexecdir=DIR program executables [EPREFIX/libexec]
1255 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1256 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1257 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1258 --libdir=DIR object code libraries [EPREFIX/lib]
1259 --includedir=DIR C header files [PREFIX/include]
1260 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1261 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1262 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1263 --infodir=DIR info documentation [DATAROOTDIR/info]
1264 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1265 --mandir=DIR man documentation [DATAROOTDIR/man]
1266 --docdir=DIR documentation root [DATAROOTDIR/doc/x3]
1267 --htmldir=DIR html documentation [DOCDIR]
1268 --dvidir=DIR dvi documentation [DOCDIR]
1269 --pdfdir=DIR pdf documentation [DOCDIR]
1270 --psdir=DIR ps documentation [DOCDIR]
1276 --program-prefix=PREFIX prepend PREFIX to installed program names
1277 --program-suffix=SUFFIX append SUFFIX to installed program names
1278 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1281 --build=BUILD configure
for building on BUILD
[guessed
]
1282 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1283 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1287 if test -n "$ac_init_help"; then
1288 case $ac_init_help in
1289 short
| recursive
) echo "Configuration of X3 1.5:";;
1294 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1295 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1296 --enable-maintainer-mode enable make rules and dependencies not useful
1297 (and sometimes confusing
) to the casual installer
1298 --disable-dependency-tracking speeds up one
-time build
1299 --enable-dependency-tracking do not reject slow dependency extractors
1300 --disable-tokens Disables tokenization of P10 protocol output
1301 (tokens required
if linking to ircu
2.10.11)
1302 --enable-debug Enables debugging behaviors
1303 --enable-modules=list
,of
,modules Enable extra modules
1306 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1307 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1308 --with-malloc=type Enables use of a special malloc library
; one of
:
1309 system
(the default
), boehm
-gc, dmalloc
, mpatrol
, x3
, slab
1310 --with-protocol=name Choose IRC dialect to support
; one of
:
1312 --without-getopt Disables building of the GNU getopt library
1313 --with-tre=PATH Base path to where libtre is installed
, such that
1314 PATH
/lib
/libtre.so and PATH
/include
/tre
/regex.h exist.
1315 --with-coredumper=PATH Base path to where core dumper is installed
, such
1316 that PATH
/lib
/libcoredumper.so and
1317 PATH
/include
/google
/coredumper.h exist.
1318 --with-ssl=PATH Base path to where openssl is installed
1319 --with-ldap=PATH Base path to where the ldap library and headers are installed
,
1320 such that PATH
/include
/ldap.h and PATH
/lib
/libldap.so exist.
1322 Some influential environment variables
:
1323 CC C compiler
command
1324 CFLAGS C compiler flags
1325 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1326 nonstandard directory
<lib dir
>
1327 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1328 you have headers
in a nonstandard directory
<include dir
>
1331 Use these variables to override the choices made by
`configure' or to help
1332 it to find libraries and programs with nonstandard names/locations.
1334 Report bugs to <evilnet-devel@lists.sourceforge.net>.
1339 if test "$ac_init_help" = "recursive"; then
1340 # If there are subdirs, report their specific --help.
1341 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1342 test -d "$ac_dir" || continue
1346 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1349 # A ".." for each directory in $ac_dir_suffix.
1350 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1351 case $ac_top_builddir_sub in
1352 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1353 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1356 ac_abs_top_builddir=$ac_pwd
1357 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1358 # for backward compatibility:
1359 ac_top_builddir=$ac_top_build_prefix
1362 .) # We are building in place.
1364 ac_top_srcdir=$ac_top_builddir_sub
1365 ac_abs_top_srcdir=$ac_pwd ;;
1366 [\\/]* | ?:[\\/]* ) # Absolute name.
1367 ac_srcdir=$srcdir$ac_dir_suffix;
1368 ac_top_srcdir=$srcdir
1369 ac_abs_top_srcdir=$srcdir ;;
1371 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1372 ac_top_srcdir=$ac_top_build_prefix$srcdir
1373 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1375 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1377 cd "$ac_dir" || { ac_status=$?; continue; }
1378 # Check for guested configure.
1379 if test -f "$ac_srcdir/configure.gnu"; then
1381 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1382 elif test -f "$ac_srcdir/configure"; then
1384 $SHELL "$ac_srcdir/configure" --help=recursive
1386 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1388 cd "$ac_pwd" || { ac_status=$?; break; }
1392 test -n "$ac_init_help" && exit $ac_status
1393 if $ac_init_version; then
1396 generated by GNU Autoconf 2.60
1398 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1399 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1400 This configure script is free software; the Free Software Foundation
1401 gives unlimited permission to copy, distribute and modify it.
1405 cat >config.log <<_ACEOF
1406 This file contains any messages produced by compilers while
1407 running configure, to aid debugging if configure makes a mistake.
1409 It was created by X3 $as_me 1.5, which was
1410 generated by GNU Autoconf 2.60. Invocation command line was
1422 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1423 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1424 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1425 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1426 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1428 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1429 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1431 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1432 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1433 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1434 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1435 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1436 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1437 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1445 test -z "$as_dir" && as_dir=.
1446 echo "PATH: $as_dir"
1462 # Keep a trace of the command line.
1463 # Strip out --no-create and --no-recursion so they do not pile up.
1464 # Strip out --silent because we don't want to record it for future runs.
1465 # Also quote any args containing shell meta-characters.
1466 # Make two passes to allow for proper duplicate-argument suppression.
1470 ac_must_keep_next=false
1476 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1477 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1478 | -silent | --silent | --silen | --sile | --sil)
1481 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1484 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1486 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1487 if test $ac_must_keep_next = true; then
1488 ac_must_keep_next=false # Got value, back to normal.
1491 *=* | --config-cache | -C | -disable-* | --disable-* \
1492 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1493 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1494 | -with-* | --with-* | -without-* | --without-* | --x)
1495 case "$ac_configure_args0 " in
1496 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1499 -* ) ac_must_keep_next=true ;;
1502 ac_configure_args="$ac_configure_args '$ac_arg'"
1507 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1508 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1510 # When interrupted or exit'd, cleanup temporary files, and complete
1511 # config.log. We remove comments because anyway the quotes in there
1512 # would cause problems or look ugly.
1513 # WARNING: Use '\'' to represent an apostrophe within the trap.
1514 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1515 trap 'exit_status=$?
1516 # Save into config.log some information that might help in debugging.
1521 ## ---------------- ##
1522 ## Cache variables. ##
1523 ## ---------------- ##
1526 # The following way of writing the cache mishandles newlines in values,
1528 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
1529 eval ac_val=\$$ac_var
1533 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1534 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1537 _ | IFS | as_nl) ;; #(
1538 *) $as_unset $ac_var ;;
1543 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1544 *${as_nl}ac_space=\ *)
1546 "s/'\''/'\''\\\\'\'''\''/g;
1547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1550 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1558 ## ----------------- ##
1559 ## Output variables. ##
1560 ## ----------------- ##
1563 for ac_var in $ac_subst_vars
1565 eval ac_val=\$$ac_var
1567 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1569 echo "$ac_var='\''$ac_val'\''"
1573 if test -n "$ac_subst_files"; then
1575 ## ------------------- ##
1576 ## File substitutions. ##
1577 ## ------------------- ##
1580 for ac_var in $ac_subst_files
1582 eval ac_val=\$$ac_var
1584 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1586 echo "$ac_var='\''$ac_val'\''"
1591 if test -s confdefs.h; then
1601 test "$ac_signal" != 0 &&
1602 echo "$as_me: caught signal $ac_signal"
1603 echo "$as_me: exit $exit_status"
1605 rm -f core *.core core.conftest.* &&
1606 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1609 for ac_signal in 1 2 13 15; do
1610 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1614 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1615 rm -f -r conftest* confdefs.h
1617 # Predefined preprocessor variables.
1619 cat >>confdefs.h <<_ACEOF
1620 #define PACKAGE_NAME "$PACKAGE_NAME"
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1629 cat >>confdefs.h <<_ACEOF
1630 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1634 cat >>confdefs.h <<_ACEOF
1635 #define PACKAGE_STRING "$PACKAGE_STRING"
1639 cat >>confdefs.h <<_ACEOF
1640 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1644 # Let the site file select an alternate cache file if it wants to.
1645 # Prefer explicitly selected file to automatically selected ones.
1646 if test -n "$CONFIG_SITE"; then
1647 set x "$CONFIG_SITE"
1648 elif test "x$prefix" != xNONE; then
1649 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1651 set x "$ac_default_prefix/share/config.site" \
1652 "$ac_default_prefix/etc/config.site"
1657 if test -r "$ac_site_file"; then
1658 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1659 echo "$as_me: loading site script $ac_site_file" >&6;}
1660 sed 's/^/| /' "$ac_site_file" >&5
1665 if test -r "$cache_file"; then
1666 # Some versions of bash will fail to source /dev/null (special
1667 # files actually), so we avoid doing that.
1668 if test -f "$cache_file"; then
1669 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1670 echo "$as_me: loading cache $cache_file" >&6;}
1672 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1673 *) . "./$cache_file";;
1677 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1678 echo "$as_me: creating cache $cache_file" >&6;}
1682 # Check that the precious variables saved in the cache have kept the same
1684 ac_cache_corrupted=false
1685 for ac_var in $ac_precious_vars; do
1686 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1687 eval ac_new_set=\$ac_env_${ac_var}_set
1688 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1689 eval ac_new_val=\$ac_env_${ac_var}_value
1690 case $ac_old_set,$ac_new_set in
1692 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1693 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1694 ac_cache_corrupted=: ;;
1696 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1697 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1698 ac_cache_corrupted=: ;;
1701 if test "x$ac_old_val" != "x$ac_new_val"; then
1702 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1703 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1704 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1705 echo "$as_me: former value
: $ac_old_val" >&2;}
1706 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1707 echo "$as_me: current value
: $ac_new_val" >&2;}
1708 ac_cache_corrupted=:
1711 # Pass precious variables to config.status.
1712 if test "$ac_new_set" = set; then
1714 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1715 *) ac_arg=$ac_var=$ac_new_val ;;
1717 case " $ac_configure_args " in
1718 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1719 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1723 if $ac_cache_corrupted; then
1724 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1725 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1726 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1727 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1728 { (exit 1); exit 1; }; }
1756 ac_cpp='$CPP $CPPFLAGS'
1757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1763 ac_config_headers="$ac_config_headers src/config.h"
1767 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1768 if test -f "$ac_dir/install-sh"; then
1770 ac_install_sh="$ac_aux_dir/install-sh -c"
1772 elif test -f "$ac_dir/install.sh"; then
1774 ac_install_sh="$ac_aux_dir/install.sh -c"
1776 elif test -f "$ac_dir/shtool"; then
1778 ac_install_sh="$ac_aux_dir/shtool install -c"
1782 if test -z "$ac_aux_dir"; then
1783 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1784 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1785 { (exit 1); exit 1; }; }
1788 # These three variables are undocumented and unsupported,
1789 # and are intended to be withdrawn in a future Autoconf release.
1790 # They can cause serious problems if a builder's source tree is in a directory
1791 # whose full name contains unusual characters.
1792 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1793 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1794 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1797 # Make sure we can run config.sub.
1798 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1799 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1800 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1801 { (exit 1); exit 1; }; }
1803 { echo "$as_me:$LINENO: checking build system type" >&5
1804 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1805 if test "${ac_cv_build+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 ac_build_alias=$build_alias
1809 test "x$ac_build_alias" = x &&
1810 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1811 test "x$ac_build_alias" = x &&
1812 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1813 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1814 { (exit 1); exit 1; }; }
1815 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1816 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1817 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1818 { (exit 1); exit 1; }; }
1821 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1822 echo "${ECHO_T}$ac_cv_build" >&6; }
1823 case $ac_cv_build in
1825 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1826 echo "$as_me: error: invalid value of canonical build" >&2;}
1827 { (exit 1); exit 1; }; };;
1830 ac_save_IFS=$IFS; IFS='-'
1836 # Remember, the first character of IFS is used to create $*,
1837 # except with old shells:
1840 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1843 { echo "$as_me:$LINENO: checking host system type" >&5
1844 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1845 if test "${ac_cv_host+set}" = set; then
1846 echo $ECHO_N "(cached) $ECHO_C" >&6
1848 if test "x$host_alias" = x; then
1849 ac_cv_host=$ac_cv_build
1851 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1852 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1853 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1854 { (exit 1); exit 1; }; }
1858 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1859 echo "${ECHO_T}$ac_cv_host" >&6; }
1862 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1863 echo "$as_me: error: invalid value of canonical host" >&2;}
1864 { (exit 1); exit 1; }; };;
1867 ac_save_IFS=$IFS; IFS='-'
1873 # Remember, the first character of IFS is used to create $*,
1874 # except with old shells:
1877 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1880 { echo "$as_me:$LINENO: checking target system type" >&5
1881 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1882 if test "${ac_cv_target+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1885 if test "x$target_alias" = x; then
1886 ac_cv_target=$ac_cv_host
1888 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1889 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1890 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1891 { (exit 1); exit 1; }; }
1895 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1896 echo "${ECHO_T}$ac_cv_target" >&6; }
1897 case $ac_cv_target in
1899 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1900 echo "$as_me: error: invalid value of canonical target" >&2;}
1901 { (exit 1); exit 1; }; };;
1903 target=$ac_cv_target
1904 ac_save_IFS=$IFS; IFS='-'
1910 # Remember, the first character of IFS is used to create $*,
1911 # except with old shells:
1914 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1917 # The aliases save the names the user supplied, while $host etc.
1918 # will get canonicalized.
1919 test -n "$target_alias" &&
1920 test "$program_prefix$program_suffix$program_transform_name" = \
1922 program_prefix=${target_alias}-
1923 am__api_version="1.9"
1924 # Find a good install program. We prefer a C program (faster),
1925 # so one script is as good as another. But avoid the broken or
1926 # incompatible versions:
1927 # SysV /etc/install, /usr/sbin/install
1928 # SunOS /usr/etc/install
1929 # IRIX /sbin/install
1931 # AmigaOS /C/install, which installs bootblocks on floppy discs
1932 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1933 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1934 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1935 # OS/2's system install, which has a completely different semantic
1936 # ./install, which can be erroneously created by make from ./install.sh.
1937 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1938 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1939 if test -z "$INSTALL"; then
1940 if test "${ac_cv_path_install+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947 test -z "$as_dir" && as_dir=.
1948 # Account for people who put trailing slashes in PATH elements.
1950 ./ | .// | /cC/* | \
1951 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1952 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1955 # OSF1 and SCO ODT 3.0 have their own names for install.
1956 # Don't use installbsd from OSF since it installs stuff as root
1958 for ac_prog in ginstall scoinst install; do
1959 for ac_exec_ext in '' $ac_executable_extensions; do
1960 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1961 if test $ac_prog = install &&
1962 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1963 # AIX install. It has an incompatible calling convention.
1965 elif test $ac_prog = install &&
1966 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1967 # program-specific install script used by HP pwplus--don't use.
1970 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1983 if test "${ac_cv_path_install+set}" = set; then
1984 INSTALL=$ac_cv_path_install
1986 # As a last resort, use the slow shell script. Don't cache a
1987 # value for INSTALL within a source directory, because that will
1988 # break other packages using the cache if that directory is
1989 # removed, or if the value is a relative name.
1990 INSTALL=$ac_install_sh
1993 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1994 echo "${ECHO_T}$INSTALL" >&6; }
1996 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1997 # It thinks the first close brace ends the variable substitution.
1998 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2000 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2002 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2004 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2005 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2008 echo timestamp > conftest.file
2009 # Do `set' in a subshell so we don't clobber the current shell
's
2010 # arguments. Must try -L first in case configure is actually a
2011 # symlink; some systems play weird games with the mod time of symlinks
2012 # (eg FreeBSD returns the mod time of the symlink's containing
2015 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2016 if test "$*" = "X"; then
2018 set X
`ls -t $srcdir/configure conftest.file`
2021 if test "$*" != "X $srcdir/configure conftest.file" \
2022 && test "$*" != "X conftest.file $srcdir/configure"; then
2024 # If neither matched, then we have a broken ls. This can happen
2025 # if, for instance, CONFIG_SHELL is bash and it inherits a
2026 # broken ls alias from the environment. This has actually
2027 # happened. Such a system could not be considered "sane".
2028 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2029 alias in your environment" >&5
2030 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2031 alias in your environment" >&2;}
2032 { (exit 1); exit 1; }; }
2035 test "$2" = conftest.
file
2041 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2042 Check your system clock" >&5
2043 echo "$as_me: error: newly created file is older than distributed files!
2044 Check your system clock" >&2;}
2045 { (exit 1); exit 1; }; }
2047 { echo "$as_me:$LINENO: result: yes" >&5
2048 echo "${ECHO_T}yes" >&6; }
2049 test "$program_prefix" != NONE
&&
2050 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2051 # Use a double $ so make ignores it.
2052 test "$program_suffix" != NONE
&&
2053 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2054 # Double any \ or $. echo might interpret backslashes.
2055 # By default was `s,x,x', remove it if useless.
2056 cat <<\_ACEOF
>conftest.
sed
2057 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2059 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2062 # expand $ac_aux_dir to an absolute path
2063 am_aux_dir
=`cd $ac_aux_dir && pwd`
2065 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
2066 # Use eval to expand $SHELL
2067 if eval "$MISSING --run true"; then
2068 am_missing_run
="$MISSING --run "
2071 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2072 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2075 if mkdir -p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2076 # We used to keeping the `.' as first argument, in order to
2077 # allow $(mkdir_p) to be used without argument. As in
2078 # $(mkdir_p) $(somedir)
2079 # where $(somedir) is conditionally defined. However this is wrong
2081 # 1. if the package is installed by a user who cannot write `.'
2082 # make install will fail,
2083 # 2. the above comment should most certainly read
2084 # $(mkdir_p) $(DESTDIR)$(somedir)
2085 # so it does not work when $(somedir) is undefined and
2086 # $(DESTDIR) is not.
2087 # To support the latter case, we have to write
2088 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2089 # so the `.' trick is pointless.
2090 mkdir_p
='mkdir -p --'
2092 # On NextStep and OpenStep, the `mkdir' command does not
2093 # recognize any option. It will interpret all options as
2094 # directories to create, and then abort because `.' already
2096 for d
in .
/-p .
/--version;
2098 test -d $d && rmdir $d
2100 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2101 if test -f "$ac_aux_dir/mkinstalldirs"; then
2102 mkdir_p
='$(mkinstalldirs)'
2104 mkdir_p
='$(install_sh) -d'
2108 for ac_prog
in gawk mawk nawk
awk
2110 # Extract the first word of "$ac_prog", so it can be a program name with args.
2111 set dummy
$ac_prog; ac_word
=$2
2112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2114 if test "${ac_cv_prog_AWK+set}" = set; then
2115 echo $ECHO_N "(cached) $ECHO_C" >&6
2117 if test -n "$AWK"; then
2118 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2124 test -z "$as_dir" && as_dir
=.
2125 for ac_exec_ext
in '' $ac_executable_extensions; do
2126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2127 ac_cv_prog_AWK
="$ac_prog"
2128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 if test -n "$AWK"; then
2139 { echo "$as_me:$LINENO: result: $AWK" >&5
2140 echo "${ECHO_T}$AWK" >&6; }
2142 { echo "$as_me:$LINENO: result: no" >&5
2143 echo "${ECHO_T}no" >&6; }
2147 test -n "$AWK" && break
2150 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2151 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2152 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2153 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
2154 echo $ECHO_N "(cached) $ECHO_C" >&6
2156 cat >conftest.
make <<\_ACEOF
2159 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2161 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2162 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2164 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2166 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2170 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2171 { echo "$as_me:$LINENO: result: yes" >&5
2172 echo "${ECHO_T}yes" >&6; }
2175 { echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6; }
2177 SET_MAKE
="MAKE=${MAKE-make}"
2180 rm -rf .tst
2>/dev
/null
2181 mkdir .tst
2>/dev
/null
2182 if test -d .tst
; then
2187 rmdir .tst
2>/dev
/null
2189 # test to see if srcdir already configured
2190 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2191 test -f $srcdir/config.status
; then
2192 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2193 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2194 { (exit 1); exit 1; }; }
2197 # test whether we have cygpath
2198 if test -z "$CYGPATH_W"; then
2199 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2200 CYGPATH_W
='cygpath -w'
2207 # Define the identity of the package.
2212 cat >>confdefs.h
<<_ACEOF
2213 #define PACKAGE "$PACKAGE"
2217 cat >>confdefs.h
<<_ACEOF
2218 #define VERSION "$VERSION"
2221 # Some tools Automake needs.
2223 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2226 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2229 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2232 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2235 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2237 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2239 # Installed binaries are usually stripped using `strip' when the user
2240 # run `make install-strip'. However `strip' might not be the right
2241 # tool to use in cross-compilation environments, therefore Automake
2242 # will honor the `STRIP' environment variable to overrule this program.
2243 if test "$cross_compiling" != no
; then
2244 if test -n "$ac_tool_prefix"; then
2245 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2246 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2249 if test "${ac_cv_prog_STRIP+set}" = set; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2252 if test -n "$STRIP"; then
2253 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2259 test -z "$as_dir" && as_dir
=.
2260 for ac_exec_ext
in '' $ac_executable_extensions; do
2261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2262 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2272 STRIP
=$ac_cv_prog_STRIP
2273 if test -n "$STRIP"; then
2274 { echo "$as_me:$LINENO: result: $STRIP" >&5
2275 echo "${ECHO_T}$STRIP" >&6; }
2277 { echo "$as_me:$LINENO: result: no" >&5
2278 echo "${ECHO_T}no" >&6; }
2283 if test -z "$ac_cv_prog_STRIP"; then
2285 # Extract the first word of "strip", so it can be a program name with args.
2286 set dummy strip
; ac_word
=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 if test -n "$ac_ct_STRIP"; then
2293 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir
=.
2300 for ac_exec_ext
in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_ac_ct_STRIP
="strip"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2313 if test -n "$ac_ct_STRIP"; then
2314 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2315 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2321 if test "x$ac_ct_STRIP" = x
; then
2324 case $cross_compiling:$ac_tool_warned in
2326 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2327 whose name does not start with the host triplet. If you think this
2328 configuration is useful to you, please write to autoconf@gnu.org." >&5
2329 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2330 whose name does not start with the host triplet. If you think this
2331 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2332 ac_tool_warned
=yes ;;
2337 STRIP
="$ac_cv_prog_STRIP"
2341 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2343 # We need awk for the "check" target. The system "awk" is bad on
2345 # Always define AMTAR for backward compatibility.
2347 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2349 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2355 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2356 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2357 # Check whether --enable-maintainer-mode was given.
2358 if test "${enable_maintainer_mode+set}" = set; then
2359 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2361 USE_MAINTAINER_MODE
=no
2364 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2365 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2368 if test $USE_MAINTAINER_MODE = yes; then
2369 MAINTAINER_MODE_TRUE
=
2370 MAINTAINER_MODE_FALSE
='#'
2372 MAINTAINER_MODE_TRUE
='#'
2373 MAINTAINER_MODE_FALSE
=
2376 MAINT
=$MAINTAINER_MODE_TRUE
2380 DEPDIR
="${am__leading_dot}deps"
2382 ac_config_commands
="$ac_config_commands depfiles"
2385 am_make
=${MAKE-make}
2386 cat > confinc
<< 'END'
2391 # If we don't find an include directive, just comment out the code.
2392 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2393 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2397 # First try GNU make style include.
2398 echo "include confinc" > confmf
2399 # We grep out `Entering directory' and `Leaving directory'
2400 # messages which can occur if `w' ends up in MAKEFLAGS.
2401 # In particular we don't look at `^make:' because GNU make might
2402 # be invoked under some other name (usually "gmake"), in which
2403 # case it prints its new name instead of `make'.
2404 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2409 # Now try BSD make style include.
2410 if test "$am__include" = "#"; then
2411 echo '.include "confinc"' > confmf
2412 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2413 am__include
=.include
2420 { echo "$as_me:$LINENO: result: $_am_result" >&5
2421 echo "${ECHO_T}$_am_result" >&6; }
2422 rm -f confinc confmf
2424 # Check whether --enable-dependency-tracking was given.
2425 if test "${enable_dependency_tracking+set}" = set; then
2426 enableval
=$enable_dependency_tracking;
2429 if test "x$enable_dependency_tracking" != xno
; then
2430 am_depcomp
="$ac_aux_dir/depcomp"
2435 if test "x$enable_dependency_tracking" != xno; then
2446 ac_cpp
='$CPP $CPPFLAGS'
2447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2450 if test -n "$ac_tool_prefix"; then
2451 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2452 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2455 if test "${ac_cv_prog_CC+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2458 if test -n "$CC"; then
2459 ac_cv_prog_CC
="$CC" # Let the user override the test.
2461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir
=.
2466 for ac_exec_ext
in '' $ac_executable_extensions; do
2467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2468 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 if test -n "$CC"; then
2480 { echo "$as_me:$LINENO: result: $CC" >&5
2481 echo "${ECHO_T}$CC" >&6; }
2483 { echo "$as_me:$LINENO: result: no" >&5
2484 echo "${ECHO_T}no" >&6; }
2489 if test -z "$ac_cv_prog_CC"; then
2491 # Extract the first word of "gcc", so it can be a program name with args.
2492 set dummy gcc
; ac_word
=$2
2493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2495 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 if test -n "$ac_ct_CC"; then
2499 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir
=.
2506 for ac_exec_ext
in '' $ac_executable_extensions; do
2507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2508 ac_cv_prog_ac_ct_CC
="gcc"
2509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2518 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2519 if test -n "$ac_ct_CC"; then
2520 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2521 echo "${ECHO_T}$ac_ct_CC" >&6; }
2523 { echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6; }
2527 if test "x$ac_ct_CC" = x
; then
2530 case $cross_compiling:$ac_tool_warned in
2532 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2533 whose name does not start with the host triplet. If you think this
2534 configuration is useful to you, please write to autoconf@gnu.org." >&5
2535 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2536 whose name does not start with the host triplet. If you think this
2537 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2538 ac_tool_warned
=yes ;;
2546 if test -z "$CC"; then
2547 if test -n "$ac_tool_prefix"; then
2548 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2549 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2552 if test "${ac_cv_prog_CC+set}" = set; then
2553 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 if test -n "$CC"; then
2556 ac_cv_prog_CC
="$CC" # Let the user override the test.
2558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2562 test -z "$as_dir" && as_dir
=.
2563 for ac_exec_ext
in '' $ac_executable_extensions; do
2564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2565 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 if test -n "$CC"; then
2577 { echo "$as_me:$LINENO: result: $CC" >&5
2578 echo "${ECHO_T}$CC" >&6; }
2580 { echo "$as_me:$LINENO: result: no" >&5
2581 echo "${ECHO_T}no" >&6; }
2587 if test -z "$CC"; then
2588 # Extract the first word of "cc", so it can be a program name with args.
2589 set dummy cc
; ac_word
=$2
2590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2592 if test "${ac_cv_prog_CC+set}" = set; then
2593 echo $ECHO_N "(cached) $ECHO_C" >&6
2595 if test -n "$CC"; then
2596 ac_cv_prog_CC
="$CC" # Let the user override the test.
2599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2603 test -z "$as_dir" && as_dir
=.
2604 for ac_exec_ext
in '' $ac_executable_extensions; do
2605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2606 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2607 ac_prog_rejected
=yes
2611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 if test $ac_prog_rejected = yes; then
2619 # We found a bogon in the path, so make sure we never use it.
2620 set dummy
$ac_cv_prog_CC
2622 if test $# != 0; then
2623 # We chose a different compiler from the bogus one.
2624 # However, it has the same basename, so the bogon will be chosen
2625 # first if we set CC to just the basename; use the full file name.
2627 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2633 if test -n "$CC"; then
2634 { echo "$as_me:$LINENO: result: $CC" >&5
2635 echo "${ECHO_T}$CC" >&6; }
2637 { echo "$as_me:$LINENO: result: no" >&5
2638 echo "${ECHO_T}no" >&6; }
2643 if test -z "$CC"; then
2644 if test -n "$ac_tool_prefix"; then
2645 for ac_prog
in cl.exe
2647 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2648 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2651 if test "${ac_cv_prog_CC+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 if test -n "$CC"; then
2655 ac_cv_prog_CC
="$CC" # Let the user override the test.
2657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir
=.
2662 for ac_exec_ext
in '' $ac_executable_extensions; do
2663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2664 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2675 if test -n "$CC"; then
2676 { echo "$as_me:$LINENO: result: $CC" >&5
2677 echo "${ECHO_T}$CC" >&6; }
2679 { echo "$as_me:$LINENO: result: no" >&5
2680 echo "${ECHO_T}no" >&6; }
2684 test -n "$CC" && break
2687 if test -z "$CC"; then
2689 for ac_prog
in cl.exe
2691 # Extract the first word of "$ac_prog", so it can be a program name with args.
2692 set dummy
$ac_prog; ac_word
=$2
2693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2695 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 if test -n "$ac_ct_CC"; then
2699 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir
=.
2706 for ac_exec_ext
in '' $ac_executable_extensions; do
2707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 ac_cv_prog_ac_ct_CC
="$ac_prog"
2709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2719 if test -n "$ac_ct_CC"; then
2720 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2721 echo "${ECHO_T}$ac_ct_CC" >&6; }
2723 { echo "$as_me:$LINENO: result: no" >&5
2724 echo "${ECHO_T}no" >&6; }
2728 test -n "$ac_ct_CC" && break
2731 if test "x$ac_ct_CC" = x
; then
2734 case $cross_compiling:$ac_tool_warned in
2736 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2737 whose name does not start with the host triplet. If you think this
2738 configuration is useful to you, please write to autoconf@gnu.org." >&5
2739 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2740 whose name does not start with the host triplet. If you think this
2741 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2742 ac_tool_warned
=yes ;;
2751 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2752 See \`config.log' for more details." >&5
2753 echo "$as_me: error: no acceptable C compiler found in \$PATH
2754 See \`config.log' for more details." >&2;}
2755 { (exit 1); exit 1; }; }
2757 # Provide some information about the compiler.
2758 echo "$as_me:$LINENO: checking for C compiler version" >&5
2759 ac_compiler
=`set X $ac_compile; echo $2`
2760 { (ac_try
="$ac_compiler --version >&5"
2762 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_compiler --version >&5") 2>&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }
2770 { (ac_try="$ac_compiler -v >&5"
2772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2773 *) ac_try_echo
=$ac_try;;
2775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2776 (eval "$ac_compiler -v >&5") 2>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }
2780 { (ac_try
="$ac_compiler -V >&5"
2782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2786 (eval "$ac_compiler -V >&5") 2>&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }
2791 cat >conftest.$ac_ext <<_ACEOF
2794 cat confdefs.h >>conftest.$ac_ext
2795 cat >>conftest.$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2806 ac_clean_files_save=$ac_clean_files
2807 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2808 # Try to create an executable without -o first, disregard a.out.
2809 # It will help us diagnose broken compilers, and finding out an intuition
2811 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2812 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2813 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2815 # List of possible output files, starting from the most likely.
2816 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2817 # only as a last resort. b.out is created by i960 compilers.
2818 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2820 # The IRIX 6 linker writes into existing files which may not be
2821 # executable, retaining their permissions. Remove them first so a
2822 # subsequent execution test works.
2824 for ac_file in $ac_files
2827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2828 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2833 if { (ac_try="$ac_link_default"
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_link_default") 2>&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; then
2843 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2844 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2845 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2846 # so that the user can short-circuit this test for compilers unknown to
2848 for ac_file
in $ac_files
2850 test -f "$ac_file" || continue
2852 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
2855 # We found the default executable, but exeext='' is most
2859 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2861 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2863 # We set ac_cv_exeext here because the later test for it is not
2864 # safe: cross compilers may not add the suffix if given an `-o'
2865 # argument, so we may need to know it at that point already.
2866 # Even if this section looks crufty: it has the advantage of
2873 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2876 echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.
$ac_ext >&5
2879 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2880 See \`config.log' for more details." >&5
2881 echo "$as_me: error: C compiler cannot create executables
2882 See \`config.log' for more details." >&2;}
2883 { (exit 77); exit 77; }; }
2886 ac_exeext
=$ac_cv_exeext
2887 { echo "$as_me:$LINENO: result: $ac_file" >&5
2888 echo "${ECHO_T}$ac_file" >&6; }
2890 # Check that the compiler produces executables we can run. If not, either
2891 # the compiler is broken, or we cross compile.
2892 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2893 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2894 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2895 # If not cross compiling, check that we can run a simple program.
2896 if test "$cross_compiling" != yes; then
2897 if { ac_try
='./$ac_file'
2898 { (case "(($ac_try" in
2899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2903 (eval "$ac_try") 2>&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }; }; then
2909 if test "$cross_compiling" = maybe; then
2912 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2913 If you meant to cross compile, use \`--host'.
2914 See \`config.log' for more details.
" >&5
2915 echo "$as_me: error
: cannot run C compiled programs.
2916 If you meant to cross compile
, use \
`--host'.
2917 See \`config.log
' for more details." >&2;}
2918 { (exit 1); exit 1; }; }
2922 { echo "$as_me:$LINENO: result: yes" >&5
2923 echo "${ECHO_T}yes" >&6; }
2925 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2926 ac_clean_files=$ac_clean_files_save
2927 # Check that the compiler produces executables we can run. If not, either
2928 # the compiler is broken, or we cross compile.
2929 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2930 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2931 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2932 echo "${ECHO_T}$cross_compiling" >&6; }
2934 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2935 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2936 if { (ac_try="$ac_link"
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2942 (eval "$ac_link") 2>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }; then
2946 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2947 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2948 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2950 for ac_file
in conftest.exe conftest conftest.
*; do
2951 test -f "$ac_file" || continue
2953 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
2954 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2960 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2961 See \`config.log' for more details." >&5
2962 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2963 See \`config.log' for more details." >&2;}
2964 { (exit 1); exit 1; }; }
2967 rm -f conftest
$ac_cv_exeext
2968 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2969 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2971 rm -f conftest.
$ac_ext
2972 EXEEXT
=$ac_cv_exeext
2974 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2975 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2976 if test "${ac_cv_objext+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 cat >conftest.
$ac_ext <<_ACEOF
2982 cat confdefs.h
>>conftest.
$ac_ext
2983 cat >>conftest.
$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2994 rm -f conftest.o conftest.obj
2995 if { (ac_try
="$ac_compile"
2997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3001 (eval "$ac_compile") 2>&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); }; then
3005 for ac_file in conftest.o conftest.obj conftest.*; do
3006 test -f "$ac_file" || continue;
3008 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3009 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3014 echo "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.$ac_ext >&5
3017 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3018 See \`config.log
' for more details." >&5
3019 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3020 See \`config.log' for more details.
" >&2;}
3021 { (exit 1); exit 1; }; }
3024 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3026 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3027 echo "${ECHO_T}$ac_cv_objext" >&6; }
3028 OBJEXT=$ac_cv_objext
3030 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3031 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3032 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3033 echo $ECHO_N "(cached
) $ECHO_C" >&6
3035 cat >conftest.$ac_ext <<_ACEOF
3038 cat confdefs.h >>conftest.$ac_ext
3039 cat >>conftest.$ac_ext <<_ACEOF
3040 /* end confdefs.h. */
3053 rm -f conftest.$ac_objext
3054 if { (ac_try="$ac_compile"
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3059 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3060 (eval "$ac_compile") 2>conftest.er1
3062 grep -v '^ *+' conftest.er1 >conftest.err
3064 cat conftest.err >&5
3065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3066 (exit $ac_status); } &&
3067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3068 { (case "(($ac_try" in
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3073 (eval "$ac_try") 2>&5
3075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3076 (exit $ac_status); }; } &&
3077 { ac_try='test -s conftest.$ac_objext'
3078 { (case "(($ac_try" in
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3083 (eval "$ac_try") 2>&5
3085 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3086 (exit $ac_status); }; }; then
3089 echo "$as_me: failed program was
:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3096 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3099 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3100 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3101 GCC=`test $ac_compiler_gnu = yes && echo yes`
3102 ac_test_CFLAGS=${CFLAGS+set}
3103 ac_save_CFLAGS=$CFLAGS
3104 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3105 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3106 if test "${ac_cv_prog_cc_g+set}" = set; then
3107 echo $ECHO_N "(cached
) $ECHO_C" >&6
3109 ac_save_c_werror_flag=$ac_c_werror_flag
3110 ac_c_werror_flag=yes
3113 cat >conftest.$ac_ext <<_ACEOF
3116 cat confdefs.h >>conftest.$ac_ext
3117 cat >>conftest.$ac_ext <<_ACEOF
3118 /* end confdefs.h. */
3128 rm -f conftest.$ac_objext
3129 if { (ac_try="$ac_compile"
3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132 *) ac_try_echo=$ac_try;;
3134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3135 (eval "$ac_compile") 2>conftest.er1
3137 grep -v '^ *+' conftest.er1 >conftest.err
3139 cat conftest.err >&5
3140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3141 (exit $ac_status); } &&
3142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3143 { (case "(($ac_try" in
3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3148 (eval "$ac_try") 2>&5
3150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3151 (exit $ac_status); }; } &&
3152 { ac_try='test -s conftest.$ac_objext'
3153 { (case "(($ac_try" in
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_try") 2>&5
3160 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3161 (exit $ac_status); }; }; then
3164 echo "$as_me: failed program was
:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3168 cat >conftest.$ac_ext <<_ACEOF
3171 cat confdefs.h >>conftest.$ac_ext
3172 cat >>conftest.$ac_ext <<_ACEOF
3173 /* end confdefs.h. */
3183 rm -f conftest.$ac_objext
3184 if { (ac_try="$ac_compile"
3186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3187 *) ac_try_echo=$ac_try;;
3189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3190 (eval "$ac_compile") 2>conftest.er1
3192 grep -v '^ *+' conftest.er1 >conftest.err
3194 cat conftest.err >&5
3195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3196 (exit $ac_status); } &&
3197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3198 { (case "(($ac_try" in
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3203 (eval "$ac_try") 2>&5
3205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3206 (exit $ac_status); }; } &&
3207 { ac_try='test -s conftest.$ac_objext'
3208 { (case "(($ac_try" in
3209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3210 *) ac_try_echo=$ac_try;;
3212 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3213 (eval "$ac_try") 2>&5
3215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3216 (exit $ac_status); }; }; then
3219 echo "$as_me: failed program was
:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3222 ac_c_werror_flag=$ac_save_c_werror_flag
3224 cat >conftest.$ac_ext <<_ACEOF
3227 cat confdefs.h >>conftest.$ac_ext
3228 cat >>conftest.$ac_ext <<_ACEOF
3229 /* end confdefs.h. */
3239 rm -f conftest.$ac_objext
3240 if { (ac_try="$ac_compile"
3242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3243 *) ac_try_echo=$ac_try;;
3245 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3246 (eval "$ac_compile") 2>conftest.er1
3248 grep -v '^ *+' conftest.er1 >conftest.err
3250 cat conftest.err >&5
3251 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3252 (exit $ac_status); } &&
3253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3254 { (case "(($ac_try" in
3255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256 *) ac_try_echo=$ac_try;;
3258 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3259 (eval "$ac_try") 2>&5
3261 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3262 (exit $ac_status); }; } &&
3263 { ac_try='test -s conftest.$ac_objext'
3264 { (case "(($ac_try" in
3265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266 *) ac_try_echo=$ac_try;;
3268 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3269 (eval "$ac_try") 2>&5
3271 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3272 (exit $ac_status); }; }; then
3275 echo "$as_me: failed program was
:" >&5
3276 sed 's/^/| /' conftest.$ac_ext >&5
3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 ac_c_werror_flag=$ac_save_c_werror_flag
3290 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3291 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3292 if test "$ac_test_CFLAGS" = set; then
3293 CFLAGS=$ac_save_CFLAGS
3294 elif test $ac_cv_prog_cc_g = yes; then
3295 if test "$GCC" = yes; then
3301 if test "$GCC" = yes; then
3307 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3308 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3309 if test "${ac_cv_prog_cc_c89+set}" = set; then
3310 echo $ECHO_N "(cached
) $ECHO_C" >&6
3312 ac_cv_prog_cc_c89=no
3314 cat >conftest.$ac_ext <<_ACEOF
3317 cat confdefs.h >>conftest.$ac_ext
3318 cat >>conftest.$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3322 #include <sys/types.h>
3323 #include <sys/stat.h>
3324 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3325 struct buf { int x; };
3326 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3327 static char *e (p, i)
3333 static char *f (char * (*g) (char **, int), char **p, ...)
3338 s = g (p, va_arg (v,int));
3343 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3344 function prototypes and stuff, but not '\xHH' hex character constants.
3345 These don't provoke an error unfortunately, instead are silently treated
3346 as 'x'. The following induces an error, until -std is added to get
3347 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3348 array size at least. It's necessary to write '\x00'==0 to get something
3349 that's true only with -std. */
3350 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3352 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3353 inside strings and character constants. */
3355 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3357 int test (int i, double x);
3358 struct s1 {int (*f) (int a);};
3359 struct s2 {int (*f) (double a);};
3360 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3366 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3371 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3372 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3374 CC="$ac_save_CC $ac_arg"
3375 rm -f conftest.$ac_objext
3376 if { (ac_try="$ac_compile"
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_compile") 2>conftest.er1
3384 grep -v '^ *+' conftest.er1 >conftest.err
3386 cat conftest.err >&5
3387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3388 (exit $ac_status); } &&
3389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3390 { (case "(($ac_try" in
3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3395 (eval "$ac_try") 2>&5
3397 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3398 (exit $ac_status); }; } &&
3399 { ac_try='test -s conftest.$ac_objext'
3400 { (case "(($ac_try" in
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3405 (eval "$ac_try") 2>&5
3407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3408 (exit $ac_status); }; }; then
3409 ac_cv_prog_cc_c89=$ac_arg
3411 echo "$as_me: failed program was
:" >&5
3412 sed 's/^/| /' conftest.$ac_ext >&5
3417 rm -f core conftest.err conftest.$ac_objext
3418 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3420 rm -f conftest.$ac_ext
3425 case "x
$ac_cv_prog_cc_c89" in
3427 { echo "$as_me:$LINENO: result
: none needed
" >&5
3428 echo "${ECHO_T}none needed
" >&6; } ;;
3430 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3431 echo "${ECHO_T}unsupported
" >&6; } ;;
3433 CC="$CC $ac_cv_prog_cc_c89"
3434 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3435 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3440 ac_cpp='$CPP $CPPFLAGS'
3441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3445 depcc="$CC" am_compiler_list=
3447 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3448 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3449 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3450 echo $ECHO_N "(cached
) $ECHO_C" >&6
3452 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3453 # We make a subdir and do the tests there. Otherwise we can end up
3454 # making bogus files that we don't know about and never remove. For
3455 # instance it was reported that on HP-UX the gcc test will end up
3456 # making a dummy file named `D' -- because `-MD' means `put the output
3459 # Copy depcomp to subdir because otherwise we won't find it if we're
3460 # using a relative directory.
3461 cp "$am_depcomp" conftest.dir
3463 # We will build objects and dependencies in a subdirectory because
3464 # it helps to detect inapplicable dependency modes. For instance
3465 # both Tru64's cc and ICC support -MD to output dependencies as a
3466 # side effect of compilation, but ICC will put the dependencies in
3467 # the current directory while Tru64 will put them in the object
3471 am_cv_CC_dependencies_compiler_type=none
3472 if test "$am_compiler_list" = ""; then
3473 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3475 for depmode in $am_compiler_list; do
3476 # Setup a source with many dependencies, because some compilers
3477 # like to wrap large dependency lists on column 80 (with \), and
3478 # we should not choose a depcomp mode which is confused by this.
3480 # We need to recreate these files for each test, as the compiler may
3481 # overwrite some of them when testing with obscure command lines.
3482 # This happens at least with the AIX C compiler.
3484 for i in 1 2 3 4 5 6; do
3485 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3486 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3487 # Solaris 8's {/usr,}/bin/sh.
3488 touch sub/conftst$i.h
3490 echo "${am__include} ${am__quote}sub
/conftest.Po
${am__quote}" > confmf
3494 # after this tag, mechanisms are not by side-effect, so they'll
3495 # only be used when explicitly requested
3496 if test "x
$enable_dependency_tracking" = xyes; then
3504 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3505 # mode. It turns out that the SunPro C++ compiler does not properly
3506 # handle `-M -o', and we need to detect this.
3507 if depmode=$depmode \
3508 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3509 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3510 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3511 >/dev/null 2>conftest.err &&
3512 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3513 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3514 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3515 # icc doesn't choke on unknown options, it will just issue warnings
3516 # or remarks (even with -Werror). So we grep stderr for any message
3517 # that says an option was ignored or not supported.
3518 # When given -MP, icc 7.0 and 7.1 complain thusly:
3519 # icc: Command line warning: ignoring option '-M'; no argument required
3520 # The diagnosis changed in icc 8.0:
3521 # icc: Command line remark: option '-MP' not supported
3522 if (grep 'ignoring option' conftest.err ||
3523 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3524 am_cv_CC_dependencies_compiler_type=$depmode
3533 am_cv_CC_dependencies_compiler_type=none
3537 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3538 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3539 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3544 test "x
$enable_dependency_tracking" != xno \
3545 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3547 am__fastdepCC_FALSE='#'
3549 am__fastdepCC_TRUE='#'
3550 am__fastdepCC_FALSE=
3555 { echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
3556 echo $ECHO_N "checking
return type of signal handlers...
$ECHO_C" >&6; }
3557 if test "${ac_cv_type_signal+set}" = set; then
3558 echo $ECHO_N "(cached
) $ECHO_C" >&6
3560 cat >conftest.$ac_ext <<_ACEOF
3563 cat confdefs.h >>conftest.$ac_ext
3564 cat >>conftest.$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3566 #include <sys/types.h>
3572 return *(signal (0, 0)) (0) == 1;
3577 rm -f conftest.$ac_objext
3578 if { (ac_try="$ac_compile"
3580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581 *) ac_try_echo=$ac_try;;
3583 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3584 (eval "$ac_compile") 2>conftest.er1
3586 grep -v '^ *+' conftest.er1 >conftest.err
3588 cat conftest.err >&5
3589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3590 (exit $ac_status); } &&
3591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3592 { (case "(($ac_try" in
3593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3594 *) ac_try_echo=$ac_try;;
3596 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3597 (eval "$ac_try") 2>&5
3599 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3600 (exit $ac_status); }; } &&
3601 { ac_try='test -s conftest.$ac_objext'
3602 { (case "(($ac_try" in
3603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3604 *) ac_try_echo=$ac_try;;
3606 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3607 (eval "$ac_try") 2>&5
3609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3610 (exit $ac_status); }; }; then
3611 ac_cv_type_signal=int
3613 echo "$as_me: failed program was
:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3616 ac_cv_type_signal=void
3619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3621 { echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
3622 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
3624 cat >>confdefs.h <<_ACEOF
3625 #define RETSIGTYPE $ac_cv_type_signal
3629 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
3630 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
3631 if test "${ac_cv_c_const+set}" = set; then
3632 echo $ECHO_N "(cached
) $ECHO_C" >&6
3634 cat >conftest.$ac_ext <<_ACEOF
3637 cat confdefs.h >>conftest.$ac_ext
3638 cat >>conftest.$ac_ext <<_ACEOF
3639 /* end confdefs.h. */
3644 /* FIXME: Include the comments suggested by Paul. */
3646 /* Ultrix mips cc rejects this. */
3647 typedef int charset[2];
3649 /* SunOS 4.1.1 cc rejects this. */
3650 char const *const *ccp;
3652 /* NEC SVR4.0.2 mips cc rejects this. */
3653 struct point {int x, y;};
3654 static struct point const zero = {0,0};
3655 /* AIX XL C 1.02.0.0 rejects this.
3656 It does not let you subtract one const X* pointer from another in
3657 an arm of an if-expression whose if-part is not a constant
3659 const char *g = "string
";
3660 ccp = &g + (g ? g-g : 0);
3661 /* HPUX 7.0 cc rejects these. */
3664 ccp = (char const *const *) p;
3665 { /* SCO 3.2v4 cc rejects this. */
3667 char const *s = 0 ? (char *) 0 : (char const *) 0;
3672 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3674 const int *foo = &x[0];
3677 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3678 typedef const int *iptr;
3682 { /* AIX XL C 1.02.0.0 rejects this saying
3683 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3684 struct s { int j; const int *ap[3]; };
3685 struct s *b; b->j = 5;
3687 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3691 return !x[0] && !zero.x;
3698 rm -f conftest.$ac_objext
3699 if { (ac_try="$ac_compile"
3701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702 *) ac_try_echo=$ac_try;;
3704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3705 (eval "$ac_compile") 2>conftest.er1
3707 grep -v '^ *+' conftest.er1 >conftest.err
3709 cat conftest.err >&5
3710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3711 (exit $ac_status); } &&
3712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3713 { (case "(($ac_try" in
3714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715 *) ac_try_echo=$ac_try;;
3717 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3718 (eval "$ac_try") 2>&5
3720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3721 (exit $ac_status); }; } &&
3722 { ac_try='test -s conftest.$ac_objext'
3723 { (case "(($ac_try" in
3724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3727 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3728 (eval "$ac_try") 2>&5
3730 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3731 (exit $ac_status); }; }; then
3734 echo "$as_me: failed program was
:" >&5
3735 sed 's/^/| /' conftest.$ac_ext >&5
3740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3742 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
3743 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3744 if test $ac_cv_c_const = no; then
3746 cat >>confdefs.h <<\_ACEOF
3752 { echo "$as_me:$LINENO: checking
for inline
" >&5
3753 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
3754 if test "${ac_cv_c_inline+set}" = set; then
3755 echo $ECHO_N "(cached
) $ECHO_C" >&6
3758 for ac_kw in inline __inline__ __inline; do
3759 cat >conftest.$ac_ext <<_ACEOF
3762 cat confdefs.h >>conftest.$ac_ext
3763 cat >>conftest.$ac_ext <<_ACEOF
3764 /* end confdefs.h. */
3767 static $ac_kw foo_t static_foo () {return 0; }
3768 $ac_kw foo_t foo () {return 0; }
3772 rm -f conftest.$ac_objext
3773 if { (ac_try="$ac_compile"
3775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3776 *) ac_try_echo=$ac_try;;
3778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3779 (eval "$ac_compile") 2>conftest.er1
3781 grep -v '^ *+' conftest.er1 >conftest.err
3783 cat conftest.err >&5
3784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3785 (exit $ac_status); } &&
3786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3787 { (case "(($ac_try" in
3788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3789 *) ac_try_echo=$ac_try;;
3791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3792 (eval "$ac_try") 2>&5
3794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3795 (exit $ac_status); }; } &&
3796 { ac_try='test -s conftest.$ac_objext'
3797 { (case "(($ac_try" in
3798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3799 *) ac_try_echo=$ac_try;;
3801 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3802 (eval "$ac_try") 2>&5
3804 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3805 (exit $ac_status); }; }; then
3806 ac_cv_c_inline=$ac_kw
3808 echo "$as_me: failed program was
:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3815 test "$ac_cv_c_inline" != no && break
3819 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
3820 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3823 case $ac_cv_c_inline in
3826 case $ac_cv_c_inline in
3828 *) ac_val=$ac_cv_c_inline;;
3830 cat >>confdefs.h <<_ACEOF
3832 #define inline $ac_val
3839 for ac_prog in gawk mawk nawk awk
3841 # Extract the first word of "$ac_prog", so it can be a program name with args.
3842 set dummy $ac_prog; ac_word=$2
3843 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3844 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3845 if test "${ac_cv_prog_AWK+set}" = set; then
3846 echo $ECHO_N "(cached
) $ECHO_C" >&6
3848 if test -n "$AWK"; then
3849 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir=.
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3858 ac_cv_prog_AWK="$ac_prog"
3859 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3869 if test -n "$AWK"; then
3870 { echo "$as_me:$LINENO: result
: $AWK" >&5
3871 echo "${ECHO_T}$AWK" >&6; }
3873 { echo "$as_me:$LINENO: result
: no
" >&5
3874 echo "${ECHO_T}no
" >&6; }
3878 test -n "$AWK" && break
3882 ac_cpp='$CPP $CPPFLAGS'
3883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3886 if test -n "$ac_tool_prefix"; then
3887 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3888 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3889 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3890 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3891 if test "${ac_cv_prog_CC+set}" = set; then
3892 echo $ECHO_N "(cached
) $ECHO_C" >&6
3894 if test -n "$CC"; then
3895 ac_cv_prog_CC="$CC" # Let the user override the test.
3897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901 test -z "$as_dir" && as_dir=.
3902 for ac_exec_ext in '' $ac_executable_extensions; do
3903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3904 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3905 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3915 if test -n "$CC"; then
3916 { echo "$as_me:$LINENO: result
: $CC" >&5
3917 echo "${ECHO_T}$CC" >&6; }
3919 { echo "$as_me:$LINENO: result
: no
" >&5
3920 echo "${ECHO_T}no
" >&6; }
3925 if test -z "$ac_cv_prog_CC"; then
3927 # Extract the first word of "gcc
", so it can be a program name with args.
3928 set dummy gcc; ac_word=$2
3929 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3930 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3931 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3932 echo $ECHO_N "(cached
) $ECHO_C" >&6
3934 if test -n "$ac_ct_CC"; then
3935 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 test -z "$as_dir" && as_dir=.
3942 for ac_exec_ext in '' $ac_executable_extensions; do
3943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3944 ac_cv_prog_ac_ct_CC="gcc
"
3945 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3954 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3955 if test -n "$ac_ct_CC"; then
3956 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3957 echo "${ECHO_T}$ac_ct_CC" >&6; }
3959 { echo "$as_me:$LINENO: result
: no
" >&5
3960 echo "${ECHO_T}no
" >&6; }
3963 if test "x
$ac_ct_CC" = x; then
3966 case $cross_compiling:$ac_tool_warned in
3968 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
3969 whose name does not start with the
host triplet. If you think this
3970 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3971 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
3972 whose name does not start with the
host triplet. If you think this
3973 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3974 ac_tool_warned=yes ;;
3982 if test -z "$CC"; then
3983 if test -n "$ac_tool_prefix"; then
3984 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3985 set dummy ${ac_tool_prefix}cc; ac_word=$2
3986 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3987 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3988 if test "${ac_cv_prog_CC+set}" = set; then
3989 echo $ECHO_N "(cached
) $ECHO_C" >&6
3991 if test -n "$CC"; then
3992 ac_cv_prog_CC="$CC" # Let the user override the test.
3994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 test -z "$as_dir" && as_dir=.
3999 for ac_exec_ext in '' $ac_executable_extensions; do
4000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4001 ac_cv_prog_CC="${ac_tool_prefix}cc
"
4002 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4012 if test -n "$CC"; then
4013 { echo "$as_me:$LINENO: result
: $CC" >&5
4014 echo "${ECHO_T}$CC" >&6; }
4016 { echo "$as_me:$LINENO: result
: no
" >&5
4017 echo "${ECHO_T}no
" >&6; }
4023 if test -z "$CC"; then
4024 # Extract the first word of "cc
", so it can be a program name with args.
4025 set dummy cc; ac_word=$2
4026 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4027 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4028 if test "${ac_cv_prog_CC+set}" = set; then
4029 echo $ECHO_N "(cached
) $ECHO_C" >&6
4031 if test -n "$CC"; then
4032 ac_cv_prog_CC="$CC" # Let the user override the test.
4035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4039 test -z "$as_dir" && as_dir=.
4040 for ac_exec_ext in '' $ac_executable_extensions; do
4041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4042 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
4043 ac_prog_rejected=yes
4047 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4054 if test $ac_prog_rejected = yes; then
4055 # We found a bogon in the path, so make sure we never use it.
4056 set dummy $ac_cv_prog_CC
4058 if test $# != 0; then
4059 # We chose a different compiler from the bogus one.
4060 # However, it has the same basename, so the bogon will be chosen
4061 # first if we set CC to just the basename; use the full file name.
4063 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
4069 if test -n "$CC"; then
4070 { echo "$as_me:$LINENO: result
: $CC" >&5
4071 echo "${ECHO_T}$CC" >&6; }
4073 { echo "$as_me:$LINENO: result
: no
" >&5
4074 echo "${ECHO_T}no
" >&6; }
4079 if test -z "$CC"; then
4080 if test -n "$ac_tool_prefix"; then
4081 for ac_prog in cl.exe
4083 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4084 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4085 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4086 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4087 if test "${ac_cv_prog_CC+set}" = set; then
4088 echo $ECHO_N "(cached
) $ECHO_C" >&6
4090 if test -n "$CC"; then
4091 ac_cv_prog_CC="$CC" # Let the user override the test.
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir=.
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4100 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4101 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4111 if test -n "$CC"; then
4112 { echo "$as_me:$LINENO: result
: $CC" >&5
4113 echo "${ECHO_T}$CC" >&6; }
4115 { echo "$as_me:$LINENO: result
: no
" >&5
4116 echo "${ECHO_T}no
" >&6; }
4120 test -n "$CC" && break
4123 if test -z "$CC"; then
4125 for ac_prog in cl.exe
4127 # Extract the first word of "$ac_prog", so it can be a program name with args.
4128 set dummy $ac_prog; ac_word=$2
4129 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4130 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4132 echo $ECHO_N "(cached
) $ECHO_C" >&6
4134 if test -n "$ac_ct_CC"; then
4135 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4141 test -z "$as_dir" && as_dir=.
4142 for ac_exec_ext in '' $ac_executable_extensions; do
4143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4144 ac_cv_prog_ac_ct_CC="$ac_prog"
4145 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4154 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4155 if test -n "$ac_ct_CC"; then
4156 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
4157 echo "${ECHO_T}$ac_ct_CC" >&6; }
4159 { echo "$as_me:$LINENO: result
: no
" >&5
4160 echo "${ECHO_T}no
" >&6; }
4164 test -n "$ac_ct_CC" && break
4167 if test "x
$ac_ct_CC" = x; then
4170 case $cross_compiling:$ac_tool_warned in
4172 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
4173 whose name does not start with the
host triplet. If you think this
4174 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4175 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
4176 whose name does not start with the
host triplet. If you think this
4177 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4178 ac_tool_warned=yes ;;
4187 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4188 See \
`config.log' for more details." >&5
4189 echo "$as_me: error: no acceptable C compiler found in \$PATH
4190 See \`config.log
' for more details." >&2;}
4191 { (exit 1); exit 1; }; }
4193 # Provide some information about the compiler.
4194 echo "$as_me:$LINENO: checking for C compiler version" >&5
4195 ac_compiler=`set X $ac_compile; echo $2`
4196 { (ac_try="$ac_compiler --version >&5"
4198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4199 *) ac_try_echo=$ac_try;;
4201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4202 (eval "$ac_compiler --version >&5") 2>&5
4204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4205 (exit $ac_status); }
4206 { (ac_try="$ac_compiler -v >&5"
4208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4209 *) ac_try_echo=$ac_try;;
4211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4212 (eval "$ac_compiler -v >&5") 2>&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); }
4216 { (ac_try="$ac_compiler -V >&5"
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4222 (eval "$ac_compiler -V >&5") 2>&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); }
4227 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4228 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4229 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4230 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 cat >conftest.$ac_ext <<_ACEOF
4235 cat confdefs.h >>conftest.$ac_ext
4236 cat >>conftest.$ac_ext <<_ACEOF
4237 /* end confdefs.h. */
4250 rm -f conftest.$ac_objext
4251 if { (ac_try="$ac_compile"
4253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4254 *) ac_try_echo=$ac_try;;
4256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4257 (eval "$ac_compile") 2>conftest.er1
4259 grep -v '^
*+' conftest.er1 >conftest.err
4261 cat conftest.err >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); } &&
4264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
4265 { (case "(($ac_try" in
4266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4267 *) ac_try_echo=$ac_try;;
4269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4270 (eval "$ac_try") 2>&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); }; } &&
4274 { ac_try='test -s conftest.
$ac_objext'
4275 { (case "(($ac_try" in
4276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4277 *) ac_try_echo=$ac_try;;
4279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4280 (eval "$ac_try") 2>&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }; }; then
4286 echo "$as_me: failed program was:" >&5
4287 sed 's
/^
/| /' conftest.$ac_ext >&5
4292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4293 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4296 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4297 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4298 GCC=`test $ac_compiler_gnu = yes && echo yes`
4299 ac_test_CFLAGS=${CFLAGS+set}
4300 ac_save_CFLAGS=$CFLAGS
4301 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4302 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4303 if test "${ac_cv_prog_cc_g+set}" = set; then
4304 echo $ECHO_N "(cached) $ECHO_C" >&6
4306 ac_save_c_werror_flag=$ac_c_werror_flag
4307 ac_c_werror_flag=yes
4310 cat >conftest.$ac_ext <<_ACEOF
4313 cat confdefs.h >>conftest.$ac_ext
4314 cat >>conftest.$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4325 rm -f conftest.$ac_objext
4326 if { (ac_try="$ac_compile"
4328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4329 *) ac_try_echo=$ac_try;;
4331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4332 (eval "$ac_compile") 2>conftest.er1
4334 grep -v '^
*+' conftest.er1 >conftest.err
4336 cat conftest.err >&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); } &&
4339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
4340 { (case "(($ac_try" in
4341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4342 *) ac_try_echo=$ac_try;;
4344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4345 (eval "$ac_try") 2>&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); }; } &&
4349 { ac_try='test -s conftest.
$ac_objext'
4350 { (case "(($ac_try" in
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355 (eval "$ac_try") 2>&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); }; }; then
4361 echo "$as_me: failed program was:" >&5
4362 sed 's
/^
/| /' conftest.$ac_ext >&5
4365 cat >conftest.$ac_ext <<_ACEOF
4368 cat confdefs.h >>conftest.$ac_ext
4369 cat >>conftest.$ac_ext <<_ACEOF
4370 /* end confdefs.h. */
4380 rm -f conftest.$ac_objext
4381 if { (ac_try="$ac_compile"
4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384 *) ac_try_echo=$ac_try;;
4386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4387 (eval "$ac_compile") 2>conftest.er1
4389 grep -v '^
*+' conftest.er1 >conftest.err
4391 cat conftest.err >&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); } &&
4394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
4395 { (case "(($ac_try" in
4396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4397 *) ac_try_echo=$ac_try;;
4399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4400 (eval "$ac_try") 2>&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); }; } &&
4404 { ac_try='test -s conftest.
$ac_objext'
4405 { (case "(($ac_try" in
4406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4407 *) ac_try_echo=$ac_try;;
4409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4410 (eval "$ac_try") 2>&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); }; }; then
4416 echo "$as_me: failed program was:" >&5
4417 sed 's
/^
/| /' conftest.$ac_ext >&5
4419 ac_c_werror_flag=$ac_save_c_werror_flag
4421 cat >conftest.$ac_ext <<_ACEOF
4424 cat confdefs.h >>conftest.$ac_ext
4425 cat >>conftest.$ac_ext <<_ACEOF
4426 /* end confdefs.h. */
4436 rm -f conftest.$ac_objext
4437 if { (ac_try="$ac_compile"
4439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440 *) ac_try_echo=$ac_try;;
4442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4443 (eval "$ac_compile") 2>conftest.er1
4445 grep -v '^
*+' conftest.er1 >conftest.err
4447 cat conftest.err >&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); } &&
4450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
4451 { (case "(($ac_try" in
4452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4453 *) ac_try_echo=$ac_try;;
4455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4456 (eval "$ac_try") 2>&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }; } &&
4460 { ac_try='test -s conftest.
$ac_objext'
4461 { (case "(($ac_try" in
4462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4463 *) ac_try_echo=$ac_try;;
4465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4466 (eval "$ac_try") 2>&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); }; }; then
4472 echo "$as_me: failed program was:" >&5
4473 sed 's
/^
/| /' conftest.$ac_ext >&5
4478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4485 ac_c_werror_flag=$ac_save_c_werror_flag
4487 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4488 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4489 if test "$ac_test_CFLAGS" = set; then
4490 CFLAGS=$ac_save_CFLAGS
4491 elif test $ac_cv_prog_cc_g = yes; then
4492 if test "$GCC" = yes; then
4498 if test "$GCC" = yes; then
4504 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4505 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4506 if test "${ac_cv_prog_cc_c89+set}" = set; then
4507 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 ac_cv_prog_cc_c89=no
4511 cat >conftest.$ac_ext <<_ACEOF
4514 cat confdefs.h >>conftest.$ac_ext
4515 cat >>conftest.$ac_ext <<_ACEOF
4516 /* end confdefs.h. */
4519 #include <sys/types.h>
4520 #include <sys/stat.h>
4521 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4522 struct buf
{ int x
; };
4523 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4524 static char
*e
(p
, i
)
4530 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4535 s
= g
(p
, va_arg
(v
,int
));
4540 /* OSF
4.0 Compaq cc is some
sort of almost
-ANSI by default. It has
4541 function prototypes and stuff
, but not
'\xHH' hex character constants.
4542 These don
't provoke an error unfortunately, instead are silently treated
4543 as 'x
'. The following induces an error, until -std is added to get
4544 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4545 array size at least. It's necessary to
write '\x00'==0 to get something
4546 that
's true only with -std. */
4547 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4549 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4550 inside strings and character constants. */
4552 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4554 int test (int i, double x);
4555 struct s1 {int (*f) (int a);};
4556 struct s2 {int (*f) (double a);};
4557 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4563 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4568 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4569 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4571 CC="$ac_save_CC $ac_arg"
4572 rm -f conftest.$ac_objext
4573 if { (ac_try="$ac_compile"
4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4579 (eval "$ac_compile") 2>conftest.er1
4581 grep -v '^
*+' conftest.er1 >conftest.err
4583 cat conftest.err >&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); } &&
4586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
4587 { (case "(($ac_try" in
4588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4589 *) ac_try_echo=$ac_try;;
4591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4592 (eval "$ac_try") 2>&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; } &&
4596 { ac_try='test -s conftest.
$ac_objext'
4597 { (case "(($ac_try" in
4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_try") 2>&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }; }; then
4606 ac_cv_prog_cc_c89=$ac_arg
4608 echo "$as_me: failed program was:" >&5
4609 sed 's
/^
/| /' conftest.$ac_ext >&5
4614 rm -f core conftest.err conftest.$ac_objext
4615 test "x$ac_cv_prog_cc_c89" != "xno" && break
4617 rm -f conftest.$ac_ext
4622 case "x$ac_cv_prog_cc_c89" in
4624 { echo "$as_me:$LINENO: result: none needed" >&5
4625 echo "${ECHO_T}none needed" >&6; } ;;
4627 { echo "$as_me:$LINENO: result: unsupported" >&5
4628 echo "${ECHO_T}unsupported" >&6; } ;;
4630 CC="$CC $ac_cv_prog_cc_c89"
4631 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4632 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4637 ac_cpp='$CPP $CPPFLAGS'
4638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4639 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4642 depcc="$CC" am_compiler_list=
4644 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4645 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4646 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4647 echo $ECHO_N "(cached) $ECHO_C" >&6
4649 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4650 # We make a subdir and do the tests there. Otherwise we can end up
4651 # making bogus files that we don't know about and never remove. For
4652 # instance it was reported that on HP-UX the gcc test will end up
4653 # making a dummy file named `D' -- because `-MD' means `put the output
4656 # Copy depcomp to subdir because otherwise we won't find it if we're
4657 # using a relative directory.
4658 cp "$am_depcomp" conftest.dir
4660 # We will build objects and dependencies in a subdirectory because
4661 # it helps to detect inapplicable dependency modes. For instance
4662 # both Tru64's cc and ICC support -MD to output dependencies as a
4663 # side effect of compilation, but ICC will put the dependencies in
4664 # the current directory while Tru64 will put them in the object
4668 am_cv_CC_dependencies_compiler_type
=none
4669 if test "$am_compiler_list" = ""; then
4670 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4672 for depmode
in $am_compiler_list; do
4673 # Setup a source with many dependencies, because some compilers
4674 # like to wrap large dependency lists on column 80 (with \), and
4675 # we should not choose a depcomp mode which is confused by this.
4677 # We need to recreate these files for each test, as the compiler may
4678 # overwrite some of them when testing with obscure command lines.
4679 # This happens at least with the AIX C compiler.
4681 for i
in 1 2 3 4 5 6; do
4682 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4683 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4684 # Solaris 8's {/usr,}/bin/sh.
4685 touch sub
/conftst
$i.h
4687 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4691 # after this tag, mechanisms are not by side-effect, so they'll
4692 # only be used when explicitly requested
4693 if test "x$enable_dependency_tracking" = xyes
; then
4701 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4702 # mode. It turns out that the SunPro C++ compiler does not properly
4703 # handle `-M -o', and we need to detect this.
4704 if depmode
=$depmode \
4705 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4706 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4707 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4708 >/dev
/null
2>conftest.err
&&
4709 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4710 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4711 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4712 # icc doesn't choke on unknown options, it will just issue warnings
4713 # or remarks (even with -Werror). So we grep stderr for any message
4714 # that says an option was ignored or not supported.
4715 # When given -MP, icc 7.0 and 7.1 complain thusly:
4716 # icc: Command line warning: ignoring option '-M'; no argument required
4717 # The diagnosis changed in icc 8.0:
4718 # icc: Command line remark: option '-MP' not supported
4719 if (grep 'ignoring option' conftest.err
||
4720 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4721 am_cv_CC_dependencies_compiler_type
=$depmode
4730 am_cv_CC_dependencies_compiler_type
=none
4734 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4735 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4736 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4741 test "x$enable_dependency_tracking" != xno \
4742 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4744 am__fastdepCC_FALSE
='#'
4746 am__fastdepCC_TRUE
='#'
4747 am__fastdepCC_FALSE
=
4751 # Find a good install program. We prefer a C program (faster),
4752 # so one script is as good as another. But avoid the broken or
4753 # incompatible versions:
4754 # SysV /etc/install, /usr/sbin/install
4755 # SunOS /usr/etc/install
4756 # IRIX /sbin/install
4758 # AmigaOS /C/install, which installs bootblocks on floppy discs
4759 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4760 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4761 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4762 # OS/2's system install, which has a completely different semantic
4763 # ./install, which can be erroneously created by make from ./install.sh.
4764 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4765 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4766 if test -z "$INSTALL"; then
4767 if test "${ac_cv_path_install+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4774 test -z "$as_dir" && as_dir
=.
4775 # Account for people who put trailing slashes in PATH elements.
4777 .
/ | .
// | /cC
/* | \
4778 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4779 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4782 # OSF1 and SCO ODT 3.0 have their own names for install.
4783 # Don't use installbsd from OSF since it installs stuff as root
4785 for ac_prog
in ginstall scoinst
install; do
4786 for ac_exec_ext
in '' $ac_executable_extensions; do
4787 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
4788 if test $ac_prog = install &&
4789 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4790 # AIX install. It has an incompatible calling convention.
4792 elif test $ac_prog = install &&
4793 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4794 # program-specific install script used by HP pwplus--don't use.
4797 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4810 if test "${ac_cv_path_install+set}" = set; then
4811 INSTALL
=$ac_cv_path_install
4813 # As a last resort, use the slow shell script. Don't cache a
4814 # value for INSTALL within a source directory, because that will
4815 # break other packages using the cache if that directory is
4816 # removed, or if the value is a relative name.
4817 INSTALL
=$ac_install_sh
4820 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4821 echo "${ECHO_T}$INSTALL" >&6; }
4823 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4824 # It thinks the first close brace ends the variable substitution.
4825 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4827 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4829 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4832 if test -n "$ac_tool_prefix"; then
4833 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4834 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4837 if test "${ac_cv_prog_RANLIB+set}" = set; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 if test -n "$RANLIB"; then
4841 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4847 test -z "$as_dir" && as_dir
=.
4848 for ac_exec_ext
in '' $ac_executable_extensions; do
4849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4850 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 RANLIB
=$ac_cv_prog_RANLIB
4861 if test -n "$RANLIB"; then
4862 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4863 echo "${ECHO_T}$RANLIB" >&6; }
4865 { echo "$as_me:$LINENO: result: no" >&5
4866 echo "${ECHO_T}no" >&6; }
4871 if test -z "$ac_cv_prog_RANLIB"; then
4872 ac_ct_RANLIB
=$RANLIB
4873 # Extract the first word of "ranlib", so it can be a program name with args.
4874 set dummy ranlib
; ac_word
=$2
4875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4877 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 if test -n "$ac_ct_RANLIB"; then
4881 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4887 test -z "$as_dir" && as_dir
=.
4888 for ac_exec_ext
in '' $ac_executable_extensions; do
4889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4890 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4900 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4901 if test -n "$ac_ct_RANLIB"; then
4902 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4903 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4905 { echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6; }
4909 if test "x$ac_ct_RANLIB" = x
; then
4912 case $cross_compiling:$ac_tool_warned in
4914 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4915 whose name does not start with the host triplet. If you think this
4916 configuration is useful to you, please write to autoconf@gnu.org." >&5
4917 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4918 whose name does not start with the host triplet. If you think this
4919 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4920 ac_tool_warned
=yes ;;
4922 RANLIB
=$ac_ct_RANLIB
4925 RANLIB
="$ac_cv_prog_RANLIB"
4929 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4930 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4932 if test "$LN_S" = "ln -s"; then
4933 { echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6; }
4936 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4937 echo "${ECHO_T}no, using $LN_S" >&6; }
4940 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4941 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4942 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4943 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
4944 echo $ECHO_N "(cached) $ECHO_C" >&6
4946 cat >conftest.
make <<\_ACEOF
4949 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4951 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4952 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4954 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4956 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4960 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4961 { echo "$as_me:$LINENO: result: yes" >&5
4962 echo "${ECHO_T}yes" >&6; }
4965 { echo "$as_me:$LINENO: result: no" >&5
4966 echo "${ECHO_T}no" >&6; }
4967 SET_MAKE
="MAKE=${MAKE-make}"
4971 ac_cpp
='$CPP $CPPFLAGS'
4972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4975 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4976 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4977 # On Suns, sometimes $CPP names a directory.
4978 if test -n "$CPP" && test -d "$CPP"; then
4981 if test -z "$CPP"; then
4982 if test "${ac_cv_prog_CPP+set}" = set; then
4983 echo $ECHO_N "(cached) $ECHO_C" >&6
4985 # Double quotes because CPP needs to be expanded
4986 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4989 for ac_c_preproc_warn_flag
in '' yes
4991 # Use a header file that comes with gcc, so configuring glibc
4992 # with a fresh cross-compiler works.
4993 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4994 # <limits.h> exists even on freestanding compilers.
4995 # On the NeXT, cc -E runs the code through the compiler's parser,
4996 # not just through cpp. "Syntax error" is here to catch this case.
4997 cat >conftest.
$ac_ext <<_ACEOF
5000 cat confdefs.h
>>conftest.
$ac_ext
5001 cat >>conftest.
$ac_ext <<_ACEOF
5002 /* end confdefs.h. */
5004 # include <limits.h>
5006 # include <assert.h>
5010 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5013 *) ac_try_echo=$ac_try;;
5015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5016 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5018 grep -v '^ *+' conftest.er1 >conftest.err
5020 cat conftest.err >&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); } >/dev/null; then
5023 if test -s conftest.err; then
5024 ac_cpp_err=$ac_c_preproc_warn_flag
5025 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5032 if test -z "$ac_cpp_err"; then
5035 echo "$as_me: failed program was:" >&5
5036 sed 's/^/| /' conftest.$ac_ext >&5
5038 # Broken: fails on valid input.
5042 rm -f conftest.err conftest.$ac_ext
5044 # OK, works on sane cases. Now check whether nonexistent headers
5045 # can be detected and how.
5046 cat >conftest.$ac_ext <<_ACEOF
5049 cat confdefs.h >>conftest.$ac_ext
5050 cat >>conftest.$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5052 #include <ac_nonexistent.h>
5054 if { (ac_try="$ac_cpp conftest.$ac_ext"
5056 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5057 *) ac_try_echo
=$ac_try;;
5059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5062 grep -v '^ *+' conftest.er1
>conftest.err
5064 cat conftest.err
>&5
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); } >/dev
/null
; then
5067 if test -s conftest.err
; then
5068 ac_cpp_err
=$ac_c_preproc_warn_flag
5069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5076 if test -z "$ac_cpp_err"; then
5077 # Broken: success on invalid input.
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.
$ac_ext >&5
5083 # Passes both tests.
5088 rm -f conftest.err conftest.
$ac_ext
5091 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5092 rm -f conftest.err conftest.
$ac_ext
5093 if $ac_preproc_ok; then
5105 { echo "$as_me:$LINENO: result: $CPP" >&5
5106 echo "${ECHO_T}$CPP" >&6; }
5108 for ac_c_preproc_warn_flag
in '' yes
5110 # Use a header file that comes with gcc, so configuring glibc
5111 # with a fresh cross-compiler works.
5112 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5113 # <limits.h> exists even on freestanding compilers.
5114 # On the NeXT, cc -E runs the code through the compiler's parser,
5115 # not just through cpp. "Syntax error" is here to catch this case.
5116 cat >conftest.
$ac_ext <<_ACEOF
5119 cat confdefs.h
>>conftest.
$ac_ext
5120 cat >>conftest.
$ac_ext <<_ACEOF
5121 /* end confdefs.h. */
5123 # include <limits.h>
5125 # include <assert.h>
5129 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5132 *) ac_try_echo=$ac_try;;
5134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5135 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5137 grep -v '^ *+' conftest.er1 >conftest.err
5139 cat conftest.err >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); } >/dev/null; then
5142 if test -s conftest.err; then
5143 ac_cpp_err=$ac_c_preproc_warn_flag
5144 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5151 if test -z "$ac_cpp_err"; then
5154 echo "$as_me: failed program was:" >&5
5155 sed 's/^/| /' conftest.$ac_ext >&5
5157 # Broken: fails on valid input.
5161 rm -f conftest.err conftest.$ac_ext
5163 # OK, works on sane cases. Now check whether nonexistent headers
5164 # can be detected and how.
5165 cat >conftest.$ac_ext <<_ACEOF
5168 cat confdefs.h >>conftest.$ac_ext
5169 cat >>conftest.$ac_ext <<_ACEOF
5170 /* end confdefs.h. */
5171 #include <ac_nonexistent.h>
5173 if { (ac_try="$ac_cpp conftest.$ac_ext"
5175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5176 *) ac_try_echo
=$ac_try;;
5178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5181 grep -v '^ *+' conftest.er1
>conftest.err
5183 cat conftest.err
>&5
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); } >/dev
/null
; then
5186 if test -s conftest.err
; then
5187 ac_cpp_err
=$ac_c_preproc_warn_flag
5188 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5195 if test -z "$ac_cpp_err"; then
5196 # Broken: success on invalid input.
5199 echo "$as_me: failed program was:" >&5
5200 sed 's/^/| /' conftest.
$ac_ext >&5
5202 # Passes both tests.
5207 rm -f conftest.err conftest.
$ac_ext
5210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5211 rm -f conftest.err conftest.
$ac_ext
5212 if $ac_preproc_ok; then
5215 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5216 See \`config.log' for more details." >&5
5217 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5218 See \`config.log' for more details." >&2;}
5219 { (exit 1); exit 1; }; }
5223 ac_cpp
='$CPP $CPPFLAGS'
5224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5229 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5230 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5231 if test "${ac_cv_path_GREP+set}" = set; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5234 # Extract the first word of "grep ggrep" to use in msg output
5235 if test -z "$GREP"; then
5236 set dummy
grep ggrep
; ac_prog_name
=$2
5237 if test "${ac_cv_path_GREP+set}" = set; then
5238 echo $ECHO_N "(cached) $ECHO_C" >&6
5240 ac_path_GREP_found
=false
5241 # Loop through the user's path and test for each of PROGNAME-LIST
5242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5243 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5246 test -z "$as_dir" && as_dir
=.
5247 for ac_prog
in grep ggrep
; do
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5250 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
5251 # Check for GNU ac_path_GREP and select it if it is found.
5252 # Check for GNU $ac_path_GREP
5253 case `"$ac_path_GREP" --version 2>&1` in
5255 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5258 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5261 cat "conftest.in" "conftest.in" >"conftest.tmp"
5262 mv "conftest.tmp" "conftest.in"
5263 cp "conftest.in" "conftest.nl"
5264 echo 'GREP' >> "conftest.nl"
5265 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5266 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5267 ac_count
=`expr $ac_count + 1`
5268 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5269 # Best one so far, save it but keep looking for a better one
5270 ac_cv_path_GREP
="$ac_path_GREP"
5271 ac_path_GREP_max
=$ac_count
5273 # 10*(2^10) chars as input seems more than enough
5274 test $ac_count -gt 10 && break
5276 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5280 $ac_path_GREP_found && break 3
5290 GREP
="$ac_cv_path_GREP"
5291 if test -z "$GREP"; then
5292 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5293 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5294 { (exit 1); exit 1; }; }
5298 ac_cv_path_GREP
=$GREP
5303 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5304 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5305 GREP
="$ac_cv_path_GREP"
5308 { echo "$as_me:$LINENO: checking for egrep" >&5
5309 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5310 if test "${ac_cv_path_EGREP+set}" = set; then
5311 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
5314 then ac_cv_path_EGREP
="$GREP -E"
5316 # Extract the first word of "egrep" to use in msg output
5317 if test -z "$EGREP"; then
5318 set dummy
egrep; ac_prog_name
=$2
5319 if test "${ac_cv_path_EGREP+set}" = set; then
5320 echo $ECHO_N "(cached) $ECHO_C" >&6
5322 ac_path_EGREP_found
=false
5323 # Loop through the user's path and test for each of PROGNAME-LIST
5324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5325 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5328 test -z "$as_dir" && as_dir
=.
5329 for ac_prog
in egrep; do
5330 for ac_exec_ext
in '' $ac_executable_extensions; do
5331 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5332 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
5333 # Check for GNU ac_path_EGREP and select it if it is found.
5334 # Check for GNU $ac_path_EGREP
5335 case `"$ac_path_EGREP" --version 2>&1` in
5337 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5340 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5343 cat "conftest.in" "conftest.in" >"conftest.tmp"
5344 mv "conftest.tmp" "conftest.in"
5345 cp "conftest.in" "conftest.nl"
5346 echo 'EGREP' >> "conftest.nl"
5347 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5348 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5349 ac_count
=`expr $ac_count + 1`
5350 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5351 # Best one so far, save it but keep looking for a better one
5352 ac_cv_path_EGREP
="$ac_path_EGREP"
5353 ac_path_EGREP_max
=$ac_count
5355 # 10*(2^10) chars as input seems more than enough
5356 test $ac_count -gt 10 && break
5358 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5362 $ac_path_EGREP_found && break 3
5372 EGREP
="$ac_cv_path_EGREP"
5373 if test -z "$EGREP"; then
5374 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5375 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5376 { (exit 1); exit 1; }; }
5380 ac_cv_path_EGREP
=$EGREP
5386 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5387 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5388 EGREP
="$ac_cv_path_EGREP"
5391 if test $ac_cv_c_compiler_gnu = yes; then
5392 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
5393 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
5394 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5395 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 ac_pattern
="Autoconf.*'x'"
5398 cat >conftest.
$ac_ext <<_ACEOF
5401 cat confdefs.h
>>conftest.
$ac_ext
5402 cat >>conftest.
$ac_ext <<_ACEOF
5403 /* end confdefs.h. */
5407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5408 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5409 ac_cv_prog_gcc_traditional
=yes
5411 ac_cv_prog_gcc_traditional
=no
5416 if test $ac_cv_prog_gcc_traditional = no
; then
5417 cat >conftest.
$ac_ext <<_ACEOF
5420 cat confdefs.h
>>conftest.
$ac_ext
5421 cat >>conftest.
$ac_ext <<_ACEOF
5422 /* end confdefs.h. */
5426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5427 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5428 ac_cv_prog_gcc_traditional
=yes
5434 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
5435 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
5436 if test $ac_cv_prog_gcc_traditional = yes; then
5437 CC
="$CC -traditional"
5441 # Extract the first word of "gmake", so it can be a program name with args.
5442 set dummy gmake
; ac_word
=$2
5443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5445 if test "${ac_cv_prog_MAKER+set}" = set; then
5446 echo $ECHO_N "(cached) $ECHO_C" >&6
5448 if test -n "$MAKER"; then
5449 ac_cv_prog_MAKER
="$MAKER" # Let the user override the test.
5451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5455 test -z "$as_dir" && as_dir
=.
5456 for ac_exec_ext
in '' $ac_executable_extensions; do
5457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5458 ac_cv_prog_MAKER
="gmake"
5459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 test -z "$ac_cv_prog_MAKER" && ac_cv_prog_MAKER
="make"
5469 MAKER
=$ac_cv_prog_MAKER
5470 if test -n "$MAKER"; then
5471 { echo "$as_me:$LINENO: result: $MAKER" >&5
5472 echo "${ECHO_T}$MAKER" >&6; }
5474 { echo "$as_me:$LINENO: result: no" >&5
5475 echo "${ECHO_T}no" >&6; }
5481 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
5484 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
5488 EXTRA_DEFINE
="-D__SOLARIS__"
5489 ANSI_SRC
="-fno-builtin"
5492 ANSI_SRC
="-fno-builtin"
5495 EXTRA_DEFINE
="-D_GNU_SOURCE"
5502 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
5505 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
5506 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
5507 if test "${ac_cv_lib_socket_socket+set}" = set; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 ac_check_lib_save_LIBS
=$LIBS
5511 LIBS
="-lsocket $LIBS"
5512 cat >conftest.
$ac_ext <<_ACEOF
5515 cat confdefs.h
>>conftest.
$ac_ext
5516 cat >>conftest.
$ac_ext <<_ACEOF
5517 /* end confdefs.h. */
5519 /* Override any GCC internal prototype to avoid an error.
5520 Use char because int might match the return type of a GCC
5521 builtin and then its argument prototype would still apply. */
5534 rm -f conftest.
$ac_objext conftest
$ac_exeext
5535 if { (ac_try
="$ac_link"
5537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541 (eval "$ac_link") 2>conftest.er1
5543 grep -v '^ *+' conftest.er1 >conftest.err
5545 cat conftest.err >&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); } &&
5548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5549 { (case "(($ac_try" in
5550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5551 *) ac_try_echo
=$ac_try;;
5553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5554 (eval "$ac_try") 2>&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); }; } &&
5558 { ac_try
='test -s conftest$ac_exeext'
5559 { (case "(($ac_try" in
5560 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5561 *) ac_try_echo=$ac_try;;
5563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5564 (eval "$ac_try") 2>&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); }; }; then
5568 ac_cv_lib_socket_socket=yes
5570 echo "$as_me: failed program was:" >&5
5571 sed 's/^/| /' conftest.$ac_ext >&5
5573 ac_cv_lib_socket_socket=no
5576 rm -f core conftest.err conftest.$ac_objext \
5577 conftest$ac_exeext conftest.$ac_ext
5578 LIBS=$ac_check_lib_save_LIBS
5580 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
5581 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
5582 if test $ac_cv_lib_socket_socket = yes; then
5583 cat >>confdefs.h <<_ACEOF
5584 #define HAVE_LIBSOCKET 1
5587 LIBS="-lsocket $LIBS"
5592 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5593 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
5594 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5595 echo $ECHO_N "(cached) $ECHO_C" >&6
5597 ac_check_lib_save_LIBS=$LIBS
5599 cat >conftest.$ac_ext <<_ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5606 /* Override any GCC internal prototype to avoid an error.
5607 Use char because int might match the return type of a GCC
5608 builtin and then its argument prototype would still apply. */
5612 char gethostbyname ();
5616 return gethostbyname ();
5621 rm -f conftest.$ac_objext conftest$ac_exeext
5622 if { (ac_try="$ac_link"
5624 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5625 *) ac_try_echo
=$ac_try;;
5627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5628 (eval "$ac_link") 2>conftest.er1
5630 grep -v '^ *+' conftest.er1
>conftest.err
5632 cat conftest.err
>&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } &&
5635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5636 { (case "(($ac_try" in
5637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5638 *) ac_try_echo=$ac_try;;
5640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5641 (eval "$ac_try") 2>&5
5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); }; } &&
5645 { ac_try='test -s conftest$ac_exeext'
5646 { (case "(($ac_try" in
5647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5648 *) ac_try_echo
=$ac_try;;
5650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5651 (eval "$ac_try") 2>&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }; }; then
5655 ac_cv_lib_nsl_gethostbyname
=yes
5657 echo "$as_me: failed program was:" >&5
5658 sed 's/^/| /' conftest.
$ac_ext >&5
5660 ac_cv_lib_nsl_gethostbyname
=no
5663 rm -f core conftest.err conftest.
$ac_objext \
5664 conftest
$ac_exeext conftest.
$ac_ext
5665 LIBS
=$ac_check_lib_save_LIBS
5667 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5668 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
5669 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5670 cat >>confdefs.h
<<_ACEOF
5671 #define HAVE_LIBNSL 1
5679 { echo "$as_me:$LINENO: checking for main in -lm" >&5
5680 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
5681 if test "${ac_cv_lib_m_main+set}" = set; then
5682 echo $ECHO_N "(cached) $ECHO_C" >&6
5684 ac_check_lib_save_LIBS
=$LIBS
5686 cat >conftest.
$ac_ext <<_ACEOF
5689 cat confdefs.h
>>conftest.
$ac_ext
5690 cat >>conftest.
$ac_ext <<_ACEOF
5691 /* end confdefs.h. */
5702 rm -f conftest.
$ac_objext conftest
$ac_exeext
5703 if { (ac_try
="$ac_link"
5705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5706 *) ac_try_echo=$ac_try;;
5708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5709 (eval "$ac_link") 2>conftest.er1
5711 grep -v '^ *+' conftest.er1 >conftest.err
5713 cat conftest.err >&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); } &&
5716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5717 { (case "(($ac_try" in
5718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5719 *) ac_try_echo
=$ac_try;;
5721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5722 (eval "$ac_try") 2>&5
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); }; } &&
5726 { ac_try
='test -s conftest$ac_exeext'
5727 { (case "(($ac_try" in
5728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5729 *) ac_try_echo=$ac_try;;
5731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5732 (eval "$ac_try") 2>&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); }; }; then
5736 ac_cv_lib_m_main=yes
5738 echo "$as_me: failed program was:" >&5
5739 sed 's/^/| /' conftest.$ac_ext >&5
5744 rm -f core conftest.err conftest.$ac_objext \
5745 conftest$ac_exeext conftest.$ac_ext
5746 LIBS=$ac_check_lib_save_LIBS
5748 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
5749 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
5750 if test $ac_cv_lib_m_main = yes; then
5751 cat >>confdefs.h <<_ACEOF
5760 { echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
5761 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6; }
5762 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 ac_check_lib_save_LIBS=$LIBS
5766 LIBS="-lGeoIP $LIBS"
5767 cat >conftest.$ac_ext <<_ACEOF
5770 cat confdefs.h >>conftest.$ac_ext
5771 cat >>conftest.$ac_ext <<_ACEOF
5772 /* end confdefs.h. */
5774 /* Override any GCC internal prototype to avoid an error.
5775 Use char because int might match the return type of a GCC
5776 builtin and then its argument prototype would still apply. */
5784 return GeoIP_open ();
5789 rm -f conftest.$ac_objext conftest$ac_exeext
5790 if { (ac_try="$ac_link"
5792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5793 *) ac_try_echo
=$ac_try;;
5795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5796 (eval "$ac_link") 2>conftest.er1
5798 grep -v '^ *+' conftest.er1
>conftest.err
5800 cat conftest.err
>&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); } &&
5803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5804 { (case "(($ac_try" in
5805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5806 *) ac_try_echo=$ac_try;;
5808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5809 (eval "$ac_try") 2>&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); }; } &&
5813 { ac_try='test -s conftest$ac_exeext'
5814 { (case "(($ac_try" in
5815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5816 *) ac_try_echo
=$ac_try;;
5818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5819 (eval "$ac_try") 2>&5
5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); }; }; then
5823 ac_cv_lib_GeoIP_GeoIP_open
=yes
5825 echo "$as_me: failed program was:" >&5
5826 sed 's/^/| /' conftest.
$ac_ext >&5
5828 ac_cv_lib_GeoIP_GeoIP_open
=no
5831 rm -f core conftest.err conftest.
$ac_objext \
5832 conftest
$ac_exeext conftest.
$ac_ext
5833 LIBS
=$ac_check_lib_save_LIBS
5835 { echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
5836 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
5837 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
5838 cat >>confdefs.h
<<_ACEOF
5839 #define HAVE_LIBGEOIP 1
5842 LIBS
="-lGeoIP $LIBS"
5847 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5848 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5849 if test "${ac_cv_header_stdc+set}" = set; then
5850 echo $ECHO_N "(cached) $ECHO_C" >&6
5852 cat >conftest.
$ac_ext <<_ACEOF
5855 cat confdefs.h
>>conftest.
$ac_ext
5856 cat >>conftest.
$ac_ext <<_ACEOF
5857 /* end confdefs.h. */
5871 rm -f conftest.
$ac_objext
5872 if { (ac_try
="$ac_compile"
5874 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5875 *) ac_try_echo=$ac_try;;
5877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5878 (eval "$ac_compile") 2>conftest.er1
5880 grep -v '^ *+' conftest.er1 >conftest.err
5882 cat conftest.err >&5
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); } &&
5885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5886 { (case "(($ac_try" in
5887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5888 *) ac_try_echo
=$ac_try;;
5890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5891 (eval "$ac_try") 2>&5
5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894 (exit $ac_status); }; } &&
5895 { ac_try
='test -s conftest.$ac_objext'
5896 { (case "(($ac_try" in
5897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5898 *) ac_try_echo=$ac_try;;
5900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5901 (eval "$ac_try") 2>&5
5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); }; }; then
5905 ac_cv_header_stdc=yes
5907 echo "$as_me: failed program was:" >&5
5908 sed 's/^/| /' conftest.$ac_ext >&5
5910 ac_cv_header_stdc=no
5913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5915 if test $ac_cv_header_stdc = yes; then
5916 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5917 cat >conftest.$ac_ext <<_ACEOF
5920 cat confdefs.h >>conftest.$ac_ext
5921 cat >>conftest.$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5927 $EGREP "memchr" >/dev/null 2>&1; then
5930 ac_cv_header_stdc=no
5936 if test $ac_cv_header_stdc = yes; then
5937 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5938 cat >conftest.$ac_ext <<_ACEOF
5941 cat confdefs.h >>conftest.$ac_ext
5942 cat >>conftest.$ac_ext <<_ACEOF
5943 /* end confdefs.h. */
5947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5948 $EGREP "free" >/dev/null 2>&1; then
5951 ac_cv_header_stdc=no
5957 if test $ac_cv_header_stdc = yes; then
5958 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5959 if test "$cross_compiling" = yes; then
5962 cat >conftest.$ac_ext <<_ACEOF
5965 cat confdefs.h >>conftest.$ac_ext
5966 cat >>conftest.$ac_ext <<_ACEOF
5967 /* end confdefs.h. */
5970 #if ((' ' & 0x0FF) == 0x020)
5971 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5972 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5974 # define ISLOWER(c) \
5975 (('a' <= (c) && (c) <= 'i') \
5976 || ('j' <= (c) && (c) <= 'r') \
5977 || ('s' <= (c) && (c) <= 'z'))
5978 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5981 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5986 for (i = 0; i < 256; i++)
5987 if (XOR (islower (i), ISLOWER (i))
5988 || toupper (i) != TOUPPER (i))
5993 rm -f conftest$ac_exeext
5994 if { (ac_try="$ac_link"
5996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5997 *) ac_try_echo
=$ac_try;;
5999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6000 (eval "$ac_link") 2>&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6004 { (case "(($ac_try" in
6005 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6006 *) ac_try_echo=$ac_try;;
6008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6009 (eval "$ac_try") 2>&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); }; }; then
6015 echo "$as_me: program exited with status $ac_status" >&5
6016 echo "$as_me: failed program was:" >&5
6017 sed 's/^/| /' conftest.$ac_ext >&5
6020 ac_cv_header_stdc=no
6022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6028 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6029 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6030 if test $ac_cv_header_stdc = yes; then
6032 cat >>confdefs.h <<\_ACEOF
6033 #define STDC_HEADERS 1
6039 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6040 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6041 if test "${ac_cv_header_time+set}" = set; then
6042 echo $ECHO_N "(cached) $ECHO_C" >&6
6044 cat >conftest.$ac_ext <<_ACEOF
6047 cat confdefs.h >>conftest.$ac_ext
6048 cat >>conftest.$ac_ext <<_ACEOF
6049 /* end confdefs.h. */
6050 #include <sys/types.h>
6051 #include <sys/time.h>
6057 if ((struct tm *) 0)
6063 rm -f conftest.$ac_objext
6064 if { (ac_try="$ac_compile"
6066 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6067 *) ac_try_echo
=$ac_try;;
6069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6070 (eval "$ac_compile") 2>conftest.er1
6072 grep -v '^ *+' conftest.er1
>conftest.err
6074 cat conftest.err
>&5
6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); } &&
6077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6078 { (case "(($ac_try" in
6079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6080 *) ac_try_echo=$ac_try;;
6082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6083 (eval "$ac_try") 2>&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); }; } &&
6087 { ac_try='test -s conftest.$ac_objext'
6088 { (case "(($ac_try" in
6089 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6090 *) ac_try_echo
=$ac_try;;
6092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6093 (eval "$ac_try") 2>&5
6095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096 (exit $ac_status); }; }; then
6097 ac_cv_header_time
=yes
6099 echo "$as_me: failed program was:" >&5
6100 sed 's/^/| /' conftest.
$ac_ext >&5
6102 ac_cv_header_time
=no
6105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6107 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6108 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6109 if test $ac_cv_header_time = yes; then
6111 cat >>confdefs.h
<<\_ACEOF
6112 #define TIME_WITH_SYS_TIME 1
6117 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6118 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6119 if test "${ac_cv_struct_tm+set}" = set; then
6120 echo $ECHO_N "(cached) $ECHO_C" >&6
6122 cat >conftest.
$ac_ext <<_ACEOF
6125 cat confdefs.h
>>conftest.
$ac_ext
6126 cat >>conftest.
$ac_ext <<_ACEOF
6127 /* end confdefs.h. */
6128 #include <sys/types.h>
6134 struct tm *tp; tp->tm_sec;
6139 rm -f conftest.
$ac_objext
6140 if { (ac_try
="$ac_compile"
6142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6143 *) ac_try_echo=$ac_try;;
6145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6146 (eval "$ac_compile") 2>conftest.er1
6148 grep -v '^ *+' conftest.er1 >conftest.err
6150 cat conftest.err >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } &&
6153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6154 { (case "(($ac_try" in
6155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6156 *) ac_try_echo
=$ac_try;;
6158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6159 (eval "$ac_try") 2>&5
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); }; } &&
6163 { ac_try
='test -s conftest.$ac_objext'
6164 { (case "(($ac_try" in
6165 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6166 *) ac_try_echo=$ac_try;;
6168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6169 (eval "$ac_try") 2>&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); }; }; then
6173 ac_cv_struct_tm=time.h
6175 echo "$as_me: failed program was:" >&5
6176 sed 's/^/| /' conftest.$ac_ext >&5
6178 ac_cv_struct_tm=sys/time.h
6181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6183 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6184 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6185 if test $ac_cv_struct_tm = sys/time.h; then
6187 cat >>confdefs.h <<\_ACEOF
6188 #define TM_IN_SYS_TIME 1
6194 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6204 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6205 inttypes.h stdint.h unistd.h
6207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6208 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6213 cat >conftest.$ac_ext <<_ACEOF
6216 cat confdefs.h >>conftest.$ac_ext
6217 cat >>conftest.$ac_ext <<_ACEOF
6218 /* end confdefs.h. */
6219 $ac_includes_default
6221 #include <$ac_header>
6223 rm -f conftest.$ac_objext
6224 if { (ac_try="$ac_compile"
6226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6227 *) ac_try_echo
=$ac_try;;
6229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6230 (eval "$ac_compile") 2>conftest.er1
6232 grep -v '^ *+' conftest.er1
>conftest.err
6234 cat conftest.err
>&5
6235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236 (exit $ac_status); } &&
6237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6238 { (case "(($ac_try" in
6239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6240 *) ac_try_echo=$ac_try;;
6242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6243 (eval "$ac_try") 2>&5
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); }; } &&
6247 { ac_try='test -s conftest.$ac_objext'
6248 { (case "(($ac_try" in
6249 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6250 *) ac_try_echo
=$ac_try;;
6252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6253 (eval "$ac_try") 2>&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; }; then
6257 eval "$as_ac_Header=yes"
6259 echo "$as_me: failed program was:" >&5
6260 sed 's/^/| /' conftest.
$ac_ext >&5
6262 eval "$as_ac_Header=no"
6265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6267 ac_res
=`eval echo '${'$as_ac_Header'}'`
6268 { echo "$as_me:$LINENO: result: $ac_res" >&5
6269 echo "${ECHO_T}$ac_res" >&6; }
6270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6271 cat >>confdefs.h
<<_ACEOF
6272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6302 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
6304 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6305 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6306 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6308 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6309 echo $ECHO_N "(cached) $ECHO_C" >&6
6311 ac_res
=`eval echo '${'$as_ac_Header'}'`
6312 { echo "$as_me:$LINENO: result: $ac_res" >&5
6313 echo "${ECHO_T}$ac_res" >&6; }
6315 # Is the header compilable?
6316 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6318 cat >conftest.
$ac_ext <<_ACEOF
6321 cat confdefs.h
>>conftest.
$ac_ext
6322 cat >>conftest.
$ac_ext <<_ACEOF
6323 /* end confdefs.h. */
6324 $ac_includes_default
6325 #include <$ac_header>
6327 rm -f conftest.
$ac_objext
6328 if { (ac_try
="$ac_compile"
6330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6331 *) ac_try_echo=$ac_try;;
6333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6334 (eval "$ac_compile") 2>conftest.er1
6336 grep -v '^ *+' conftest.er1 >conftest.err
6338 cat conftest.err >&5
6339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); } &&
6341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6342 { (case "(($ac_try" in
6343 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6344 *) ac_try_echo
=$ac_try;;
6346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6347 (eval "$ac_try") 2>&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); }; } &&
6351 { ac_try
='test -s conftest.$ac_objext'
6352 { (case "(($ac_try" in
6353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6354 *) ac_try_echo=$ac_try;;
6356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6357 (eval "$ac_try") 2>&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); }; }; then
6361 ac_header_compiler=yes
6363 echo "$as_me: failed program was:" >&5
6364 sed 's/^/| /' conftest.$ac_ext >&5
6366 ac_header_compiler=no
6369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6370 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6371 echo "${ECHO_T}$ac_header_compiler" >&6; }
6373 # Is the header present?
6374 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6376 cat >conftest.$ac_ext <<_ACEOF
6379 cat confdefs.h >>conftest.$ac_ext
6380 cat >>conftest.$ac_ext <<_ACEOF
6381 /* end confdefs.h. */
6382 #include <$ac_header>
6384 if { (ac_try="$ac_cpp conftest.$ac_ext"
6386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6387 *) ac_try_echo
=$ac_try;;
6389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6392 grep -v '^ *+' conftest.er1
>conftest.err
6394 cat conftest.err
>&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); } >/dev
/null
; then
6397 if test -s conftest.err
; then
6398 ac_cpp_err
=$ac_c_preproc_warn_flag
6399 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6406 if test -z "$ac_cpp_err"; then
6407 ac_header_preproc
=yes
6409 echo "$as_me: failed program was:" >&5
6410 sed 's/^/| /' conftest.
$ac_ext >&5
6412 ac_header_preproc
=no
6415 rm -f conftest.err conftest.
$ac_ext
6416 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6417 echo "${ECHO_T}$ac_header_preproc" >&6; }
6419 # So? What about this header?
6420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6426 ac_header_preproc
=yes
6429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6433 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6434 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6435 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6436 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6439 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6440 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6442 ## -------------------------------------------------- ##
6443 ## Report this to evilnet-devel@lists.sourceforge.net ##
6444 ## -------------------------------------------------- ##
6446 ) | sed "s/^/$as_me: WARNING: /" >&2
6449 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6451 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6452 echo $ECHO_N "(cached) $ECHO_C" >&6
6454 eval "$as_ac_Header=\$ac_header_preproc"
6456 ac_res
=`eval echo '${'$as_ac_Header'}'`
6457 { echo "$as_me:$LINENO: result: $ac_res" >&5
6458 echo "${ECHO_T}$ac_res" >&6; }
6461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6462 cat >>confdefs.h
<<_ACEOF
6463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6471 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
6472 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
6473 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6476 cat >conftest.
$ac_ext <<_ACEOF
6479 cat confdefs.h
>>conftest.
$ac_ext
6480 cat >>conftest.
$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6482 #include <sys/types.h>
6483 #include <sys/socket.h>
6488 static struct sockaddr ac_aggr;
6495 rm -f conftest.
$ac_objext
6496 if { (ac_try
="$ac_compile"
6498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6499 *) ac_try_echo=$ac_try;;
6501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6502 (eval "$ac_compile") 2>conftest.er1
6504 grep -v '^ *+' conftest.er1 >conftest.err
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } &&
6509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6510 { (case "(($ac_try" in
6511 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6512 *) ac_try_echo
=$ac_try;;
6514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6515 (eval "$ac_try") 2>&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); }; } &&
6519 { ac_try
='test -s conftest.$ac_objext'
6520 { (case "(($ac_try" in
6521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6522 *) ac_try_echo=$ac_try;;
6524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6525 (eval "$ac_try") 2>&5
6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); }; }; then
6529 ac_cv_member_struct_sockaddr_sa_len=yes
6531 echo "$as_me: failed program was:" >&5
6532 sed 's/^/| /' conftest.$ac_ext >&5
6534 cat >conftest.$ac_ext <<_ACEOF
6537 cat confdefs.h >>conftest.$ac_ext
6538 cat >>conftest.$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6540 #include <sys/types.h>
6541 #include <sys/socket.h>
6546 static struct sockaddr ac_aggr;
6547 if (sizeof ac_aggr.sa_len)
6553 rm -f conftest.$ac_objext
6554 if { (ac_try="$ac_compile"
6556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6557 *) ac_try_echo
=$ac_try;;
6559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6560 (eval "$ac_compile") 2>conftest.er1
6562 grep -v '^ *+' conftest.er1
>conftest.err
6564 cat conftest.err
>&5
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); } &&
6567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6568 { (case "(($ac_try" in
6569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6570 *) ac_try_echo=$ac_try;;
6572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6573 (eval "$ac_try") 2>&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); }; } &&
6577 { ac_try='test -s conftest.$ac_objext'
6578 { (case "(($ac_try" in
6579 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6580 *) ac_try_echo
=$ac_try;;
6582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6583 (eval "$ac_try") 2>&5
6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); }; }; then
6587 ac_cv_member_struct_sockaddr_sa_len
=yes
6589 echo "$as_me: failed program was:" >&5
6590 sed 's/^/| /' conftest.
$ac_ext >&5
6592 ac_cv_member_struct_sockaddr_sa_len
=no
6595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6600 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
6601 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
6602 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
6604 cat >>confdefs.h
<<\_ACEOF
6605 #define HAVE_SOCKADDR_SA_LEN
6610 { echo "$as_me:$LINENO: checking for struct addrinfo.ai_flags" >&5
6611 echo $ECHO_N "checking for struct addrinfo.ai_flags... $ECHO_C" >&6; }
6612 if test "${ac_cv_member_struct_addrinfo_ai_flags+set}" = set; then
6613 echo $ECHO_N "(cached) $ECHO_C" >&6
6615 cat >conftest.
$ac_ext <<_ACEOF
6618 cat confdefs.h
>>conftest.
$ac_ext
6619 cat >>conftest.
$ac_ext <<_ACEOF
6620 /* end confdefs.h. */
6621 #include <sys/types.h>
6622 #include <sys/socket.h>
6628 static struct addrinfo ac_aggr;
6629 if (ac_aggr.ai_flags)
6635 rm -f conftest.
$ac_objext
6636 if { (ac_try
="$ac_compile"
6638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6639 *) ac_try_echo=$ac_try;;
6641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6642 (eval "$ac_compile") 2>conftest.er1
6644 grep -v '^ *+' conftest.er1 >conftest.err
6646 cat conftest.err >&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); } &&
6649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6650 { (case "(($ac_try" in
6651 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6652 *) ac_try_echo
=$ac_try;;
6654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6655 (eval "$ac_try") 2>&5
6657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658 (exit $ac_status); }; } &&
6659 { ac_try
='test -s conftest.$ac_objext'
6660 { (case "(($ac_try" in
6661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6662 *) ac_try_echo=$ac_try;;
6664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6665 (eval "$ac_try") 2>&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); }; }; then
6669 ac_cv_member_struct_addrinfo_ai_flags=yes
6671 echo "$as_me: failed program was:" >&5
6672 sed 's/^/| /' conftest.$ac_ext >&5
6674 cat >conftest.$ac_ext <<_ACEOF
6677 cat confdefs.h >>conftest.$ac_ext
6678 cat >>conftest.$ac_ext <<_ACEOF
6679 /* end confdefs.h. */
6680 #include <sys/types.h>
6681 #include <sys/socket.h>
6687 static struct addrinfo ac_aggr;
6688 if (sizeof ac_aggr.ai_flags)
6694 rm -f conftest.$ac_objext
6695 if { (ac_try="$ac_compile"
6697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6698 *) ac_try_echo
=$ac_try;;
6700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6701 (eval "$ac_compile") 2>conftest.er1
6703 grep -v '^ *+' conftest.er1
>conftest.err
6705 cat conftest.err
>&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } &&
6708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6709 { (case "(($ac_try" in
6710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6711 *) ac_try_echo=$ac_try;;
6713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6714 (eval "$ac_try") 2>&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; } &&
6718 { ac_try='test -s conftest.$ac_objext'
6719 { (case "(($ac_try" in
6720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6721 *) ac_try_echo
=$ac_try;;
6723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6724 (eval "$ac_try") 2>&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); }; }; then
6728 ac_cv_member_struct_addrinfo_ai_flags
=yes
6730 echo "$as_me: failed program was:" >&5
6731 sed 's/^/| /' conftest.
$ac_ext >&5
6733 ac_cv_member_struct_addrinfo_ai_flags
=no
6736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6741 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_addrinfo_ai_flags" >&5
6742 echo "${ECHO_T}$ac_cv_member_struct_addrinfo_ai_flags" >&6; }
6743 if test $ac_cv_member_struct_addrinfo_ai_flags = yes; then
6745 cat >>confdefs.h
<<\_ACEOF
6746 #define HAVE_STRUCT_ADDRINFO
6753 for ac_func
in gettimeofday
6755 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6756 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6758 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6759 echo $ECHO_N "(cached) $ECHO_C" >&6
6761 cat >conftest.
$ac_ext <<_ACEOF
6764 cat confdefs.h
>>conftest.
$ac_ext
6765 cat >>conftest.
$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6769 #define $ac_func innocuous_$ac_func
6771 /* System header to define __stub macros and hopefully few prototypes,
6772 which can conflict with char $ac_func (); below.
6773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6774 <limits.h> exists even on freestanding compilers. */
6777 # include <limits.h>
6779 # include <assert.h>
6784 /* Override any GCC internal prototype to avoid an error.
6785 Use char because int might match the return type of a GCC
6786 builtin and then its argument prototype would still apply. */
6791 /* The GNU C library defines this for functions which it implements
6792 to always fail with ENOSYS. Some functions are actually named
6793 something starting with __ and the normal name is an alias. */
6794 #if defined __stub_$ac_func || defined __stub___$ac_func
6806 rm -f conftest.
$ac_objext conftest
$ac_exeext
6807 if { (ac_try
="$ac_link"
6809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6810 *) ac_try_echo=$ac_try;;
6812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6813 (eval "$ac_link") 2>conftest.er1
6815 grep -v '^ *+' conftest.er1 >conftest.err
6817 cat conftest.err >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); } &&
6820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6821 { (case "(($ac_try" in
6822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6823 *) ac_try_echo
=$ac_try;;
6825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6826 (eval "$ac_try") 2>&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; } &&
6830 { ac_try
='test -s conftest$ac_exeext'
6831 { (case "(($ac_try" in
6832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6833 *) ac_try_echo=$ac_try;;
6835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6836 (eval "$ac_try") 2>&5
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); }; }; then
6840 eval "$as_ac_var=yes"
6842 echo "$as_me: failed program was:" >&5
6843 sed 's/^/| /' conftest.$ac_ext >&5
6845 eval "$as_ac_var=no"
6848 rm -f core conftest.err conftest.$ac_objext \
6849 conftest$ac_exeext conftest.$ac_ext
6851 ac_res=`eval echo '${'$as_ac_var'}'`
6852 { echo "$as_me:$LINENO: result: $ac_res" >&5
6853 echo "${ECHO_T}$ac_res" >&6; }
6854 if test `eval echo '${'$as_ac_var'}'` = yes; then
6855 cat >>confdefs.h <<_ACEOF
6856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6862 if test $ac_cv_func_gettimeofday = no; then
6864 for ac_func in ftime
6866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6867 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6869 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6870 echo $ECHO_N "(cached) $ECHO_C" >&6
6872 cat >conftest.$ac_ext <<_ACEOF
6875 cat confdefs.h >>conftest.$ac_ext
6876 cat >>conftest.$ac_ext <<_ACEOF
6877 /* end confdefs.h. */
6878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6880 #define $ac_func innocuous_$ac_func
6882 /* System header to define __stub macros and hopefully few prototypes,
6883 which can conflict with char $ac_func (); below.
6884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6885 <limits.h> exists even on freestanding compilers. */
6888 # include <limits.h>
6890 # include <assert.h>
6895 /* Override any GCC internal prototype to avoid an error.
6896 Use char because int might match the return type of a GCC
6897 builtin and then its argument prototype would still apply. */
6902 /* The GNU C library defines this for functions which it implements
6903 to always fail with ENOSYS. Some functions are actually named
6904 something starting with __ and the normal name is an alias. */
6905 #if defined __stub_$ac_func || defined __stub___$ac_func
6917 rm -f conftest.$ac_objext conftest$ac_exeext
6918 if { (ac_try="$ac_link"
6920 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6921 *) ac_try_echo
=$ac_try;;
6923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6924 (eval "$ac_link") 2>conftest.er1
6926 grep -v '^ *+' conftest.er1
>conftest.err
6928 cat conftest.err
>&5
6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930 (exit $ac_status); } &&
6931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6932 { (case "(($ac_try" in
6933 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6934 *) ac_try_echo=$ac_try;;
6936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6937 (eval "$ac_try") 2>&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); }; } &&
6941 { ac_try='test -s conftest$ac_exeext'
6942 { (case "(($ac_try" in
6943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6944 *) ac_try_echo
=$ac_try;;
6946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6947 (eval "$ac_try") 2>&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); }; }; then
6951 eval "$as_ac_var=yes"
6953 echo "$as_me: failed program was:" >&5
6954 sed 's/^/| /' conftest.
$ac_ext >&5
6956 eval "$as_ac_var=no"
6959 rm -f core conftest.err conftest.
$ac_objext \
6960 conftest
$ac_exeext conftest.
$ac_ext
6962 ac_res
=`eval echo '${'$as_ac_var'}'`
6963 { echo "$as_me:$LINENO: result: $ac_res" >&5
6964 echo "${ECHO_T}$ac_res" >&6; }
6965 if test `eval echo '${'$as_ac_var'}'` = yes; then
6966 cat >>confdefs.h
<<_ACEOF
6967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6971 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. X3 build will fail." >&5
6972 echo "$as_me: error: ftime or gettimeofday required. X3 build will fail." >&2;}
6973 { (exit 1); exit 1; }; }
6993 for ac_func
in freeaddrinfo getaddrinfo getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long sysconf
6995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6996 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6998 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6999 echo $ECHO_N "(cached) $ECHO_C" >&6
7001 cat >conftest.
$ac_ext <<_ACEOF
7004 cat confdefs.h
>>conftest.
$ac_ext
7005 cat >>conftest.
$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7009 #define $ac_func innocuous_$ac_func
7011 /* System header to define __stub macros and hopefully few prototypes,
7012 which can conflict with char $ac_func (); below.
7013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7014 <limits.h> exists even on freestanding compilers. */
7017 # include <limits.h>
7019 # include <assert.h>
7024 /* Override any GCC internal prototype to avoid an error.
7025 Use char because int might match the return type of a GCC
7026 builtin and then its argument prototype would still apply. */
7031 /* The GNU C library defines this for functions which it implements
7032 to always fail with ENOSYS. Some functions are actually named
7033 something starting with __ and the normal name is an alias. */
7034 #if defined __stub_$ac_func || defined __stub___$ac_func
7046 rm -f conftest.
$ac_objext conftest
$ac_exeext
7047 if { (ac_try
="$ac_link"
7049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7050 *) ac_try_echo=$ac_try;;
7052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7053 (eval "$ac_link") 2>conftest.er1
7055 grep -v '^ *+' conftest.er1 >conftest.err
7057 cat conftest.err >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); } &&
7060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7061 { (case "(($ac_try" in
7062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7063 *) ac_try_echo
=$ac_try;;
7065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7066 (eval "$ac_try") 2>&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try
='test -s conftest$ac_exeext'
7071 { (case "(($ac_try" in
7072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7073 *) ac_try_echo=$ac_try;;
7075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7076 (eval "$ac_try") 2>&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; }; then
7080 eval "$as_ac_var=yes"
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.$ac_ext >&5
7085 eval "$as_ac_var=no"
7088 rm -f core conftest.err conftest.$ac_objext \
7089 conftest$ac_exeext conftest.$ac_ext
7091 ac_res=`eval echo '${'$as_ac_var'}'`
7092 { echo "$as_me:$LINENO: result: $ac_res" >&5
7093 echo "${ECHO_T}$ac_res" >&6; }
7094 if test `eval echo '${'$as_ac_var'}'` = yes; then
7095 cat >>confdefs.h <<_ACEOF
7096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7109 for ac_func in select socket strcspn strspn strtod strtoul
7111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7112 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7114 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6
7117 cat >conftest.$ac_ext <<_ACEOF
7120 cat confdefs.h >>conftest.$ac_ext
7121 cat >>conftest.$ac_ext <<_ACEOF
7122 /* end confdefs.h. */
7123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7125 #define $ac_func innocuous_$ac_func
7127 /* System header to define __stub macros and hopefully few prototypes,
7128 which can conflict with char $ac_func (); below.
7129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7130 <limits.h> exists even on freestanding compilers. */
7133 # include <limits.h>
7135 # include <assert.h>
7140 /* Override any GCC internal prototype to avoid an error.
7141 Use char because int might match the return type of a GCC
7142 builtin and then its argument prototype would still apply. */
7147 /* The GNU C library defines this for functions which it implements
7148 to always fail with ENOSYS. Some functions are actually named
7149 something starting with __ and the normal name is an alias. */
7150 #if defined __stub_$ac_func || defined __stub___$ac_func
7162 rm -f conftest.$ac_objext conftest$ac_exeext
7163 if { (ac_try="$ac_link"
7165 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7166 *) ac_try_echo
=$ac_try;;
7168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7169 (eval "$ac_link") 2>conftest.er1
7171 grep -v '^ *+' conftest.er1
>conftest.err
7173 cat conftest.err
>&5
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); } &&
7176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7177 { (case "(($ac_try" in
7178 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7179 *) ac_try_echo=$ac_try;;
7181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_try") 2>&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); }; } &&
7186 { ac_try='test -s conftest$ac_exeext'
7187 { (case "(($ac_try" in
7188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7189 *) ac_try_echo
=$ac_try;;
7191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7192 (eval "$ac_try") 2>&5
7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); }; }; then
7196 eval "$as_ac_var=yes"
7198 echo "$as_me: failed program was:" >&5
7199 sed 's/^/| /' conftest.
$ac_ext >&5
7201 eval "$as_ac_var=no"
7204 rm -f core conftest.err conftest.
$ac_objext \
7205 conftest
$ac_exeext conftest.
$ac_ext
7207 ac_res
=`eval echo '${'$as_ac_var'}'`
7208 { echo "$as_me:$LINENO: result: $ac_res" >&5
7209 echo "${ECHO_T}$ac_res" >&6; }
7210 if test `eval echo '${'$as_ac_var'}'` = yes; then
7211 cat >>confdefs.h
<<_ACEOF
7212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7216 { { echo "$as_me:$LINENO: error: a required function was not found. X3 build will fail." >&5
7217 echo "$as_me: error: a required function was not found. X3 build will fail." >&2;}
7218 { (exit 1); exit 1; }; }
7223 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7224 # for constant arguments. Useless!
7225 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
7226 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
7227 if test "${ac_cv_working_alloca_h+set}" = set; then
7228 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 cat >conftest.
$ac_ext <<_ACEOF
7233 cat confdefs.h
>>conftest.
$ac_ext
7234 cat >>conftest.
$ac_ext <<_ACEOF
7235 /* end confdefs.h. */
7240 char *p = (char *) alloca (2 * sizeof (int));
7246 rm -f conftest.
$ac_objext conftest
$ac_exeext
7247 if { (ac_try
="$ac_link"
7249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7250 *) ac_try_echo=$ac_try;;
7252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7253 (eval "$ac_link") 2>conftest.er1
7255 grep -v '^ *+' conftest.er1 >conftest.err
7257 cat conftest.err >&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); } &&
7260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7261 { (case "(($ac_try" in
7262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7263 *) ac_try_echo
=$ac_try;;
7265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7266 (eval "$ac_try") 2>&5
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269 (exit $ac_status); }; } &&
7270 { ac_try
='test -s conftest$ac_exeext'
7271 { (case "(($ac_try" in
7272 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7273 *) ac_try_echo=$ac_try;;
7275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7276 (eval "$ac_try") 2>&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); }; }; then
7280 ac_cv_working_alloca_h=yes
7282 echo "$as_me: failed program was:" >&5
7283 sed 's/^/| /' conftest.$ac_ext >&5
7285 ac_cv_working_alloca_h=no
7288 rm -f core conftest.err conftest.$ac_objext \
7289 conftest$ac_exeext conftest.$ac_ext
7291 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
7292 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
7293 if test $ac_cv_working_alloca_h = yes; then
7295 cat >>confdefs.h <<\_ACEOF
7296 #define HAVE_ALLOCA_H 1
7301 { echo "$as_me:$LINENO: checking for alloca" >&5
7302 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
7303 if test "${ac_cv_func_alloca_works+set}" = set; then
7304 echo $ECHO_N "(cached) $ECHO_C" >&6
7306 cat >conftest.$ac_ext <<_ACEOF
7309 cat confdefs.h >>conftest.$ac_ext
7310 cat >>conftest.$ac_ext <<_ACEOF
7311 /* end confdefs.h. */
7313 # define alloca __builtin_alloca
7316 # include <malloc.h>
7317 # define alloca _alloca
7320 # include <alloca.h>
7325 # ifndef alloca /* predefined by HP cc +Olibcalls */
7336 char *p = (char *) alloca (1);
7342 rm -f conftest.$ac_objext conftest$ac_exeext
7343 if { (ac_try="$ac_link"
7345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7346 *) ac_try_echo
=$ac_try;;
7348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7349 (eval "$ac_link") 2>conftest.er1
7351 grep -v '^ *+' conftest.er1
>conftest.err
7353 cat conftest.err
>&5
7354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355 (exit $ac_status); } &&
7356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7357 { (case "(($ac_try" in
7358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7359 *) ac_try_echo=$ac_try;;
7361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7362 (eval "$ac_try") 2>&5
7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); }; } &&
7366 { ac_try='test -s conftest$ac_exeext'
7367 { (case "(($ac_try" in
7368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7369 *) ac_try_echo
=$ac_try;;
7371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7372 (eval "$ac_try") 2>&5
7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); }; }; then
7376 ac_cv_func_alloca_works
=yes
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.
$ac_ext >&5
7381 ac_cv_func_alloca_works
=no
7384 rm -f core conftest.err conftest.
$ac_objext \
7385 conftest
$ac_exeext conftest.
$ac_ext
7387 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7388 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
7390 if test $ac_cv_func_alloca_works = yes; then
7392 cat >>confdefs.h
<<\_ACEOF
7393 #define HAVE_ALLOCA 1
7397 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7398 # that cause trouble. Some versions do not even contain alloca or
7399 # contain a buggy version. If you still want to use their alloca,
7400 # use ar to extract alloca.o from them instead of compiling alloca.c.
7402 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
7404 cat >>confdefs.h
<<\_ACEOF
7409 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7410 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
7411 if test "${ac_cv_os_cray+set}" = set; then
7412 echo $ECHO_N "(cached) $ECHO_C" >&6
7414 cat >conftest.
$ac_ext <<_ACEOF
7417 cat confdefs.h
>>conftest.
$ac_ext
7418 cat >>conftest.
$ac_ext <<_ACEOF
7419 /* end confdefs.h. */
7420 #if defined CRAY && ! defined CRAY2
7427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7428 $EGREP "webecray" >/dev
/null
2>&1; then
7436 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7437 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
7438 if test $ac_cv_os_cray = yes; then
7439 for ac_func
in _getb67 GETB67 getb67
; do
7440 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7441 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7443 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7444 echo $ECHO_N "(cached) $ECHO_C" >&6
7446 cat >conftest.
$ac_ext <<_ACEOF
7449 cat confdefs.h
>>conftest.
$ac_ext
7450 cat >>conftest.
$ac_ext <<_ACEOF
7451 /* end confdefs.h. */
7452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7454 #define $ac_func innocuous_$ac_func
7456 /* System header to define __stub macros and hopefully few prototypes,
7457 which can conflict with char $ac_func (); below.
7458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7459 <limits.h> exists even on freestanding compilers. */
7462 # include <limits.h>
7464 # include <assert.h>
7469 /* Override any GCC internal prototype to avoid an error.
7470 Use char because int might match the return type of a GCC
7471 builtin and then its argument prototype would still apply. */
7476 /* The GNU C library defines this for functions which it implements
7477 to always fail with ENOSYS. Some functions are actually named
7478 something starting with __ and the normal name is an alias. */
7479 #if defined __stub_$ac_func || defined __stub___$ac_func
7491 rm -f conftest.
$ac_objext conftest
$ac_exeext
7492 if { (ac_try
="$ac_link"
7494 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7495 *) ac_try_echo=$ac_try;;
7497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7498 (eval "$ac_link") 2>conftest.er1
7500 grep -v '^ *+' conftest.er1 >conftest.err
7502 cat conftest.err >&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); } &&
7505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7506 { (case "(($ac_try" in
7507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7508 *) ac_try_echo
=$ac_try;;
7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7511 (eval "$ac_try") 2>&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); }; } &&
7515 { ac_try
='test -s conftest$ac_exeext'
7516 { (case "(($ac_try" in
7517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7518 *) ac_try_echo=$ac_try;;
7520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7521 (eval "$ac_try") 2>&5
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); }; }; then
7525 eval "$as_ac_var=yes"
7527 echo "$as_me: failed program was:" >&5
7528 sed 's/^/| /' conftest.$ac_ext >&5
7530 eval "$as_ac_var=no"
7533 rm -f core conftest.err conftest.$ac_objext \
7534 conftest$ac_exeext conftest.$ac_ext
7536 ac_res=`eval echo '${'$as_ac_var'}'`
7537 { echo "$as_me:$LINENO: result: $ac_res" >&5
7538 echo "${ECHO_T}$ac_res" >&6; }
7539 if test `eval echo '${'$as_ac_var'}'` = yes; then
7541 cat >>confdefs.h <<_ACEOF
7542 #define CRAY_STACKSEG_END $ac_func
7551 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7552 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
7553 if test "${ac_cv_c_stack_direction+set}" = set; then
7554 echo $ECHO_N "(cached) $ECHO_C" >&6
7556 if test "$cross_compiling" = yes; then
7557 ac_cv_c_stack_direction=0
7559 cat >conftest.$ac_ext <<_ACEOF
7562 cat confdefs.h >>conftest.$ac_ext
7563 cat >>conftest.$ac_ext <<_ACEOF
7564 /* end confdefs.h. */
7565 $ac_includes_default
7567 find_stack_direction ()
7569 static char *addr = 0;
7574 return find_stack_direction ();
7577 return (&dummy > addr) ? 1 : -1;
7583 return find_stack_direction () < 0;
7586 rm -f conftest$ac_exeext
7587 if { (ac_try="$ac_link"
7589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7590 *) ac_try_echo
=$ac_try;;
7592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7593 (eval "$ac_link") 2>&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7597 { (case "(($ac_try" in
7598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7599 *) ac_try_echo=$ac_try;;
7601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7602 (eval "$ac_try") 2>&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; }; then
7606 ac_cv_c_stack_direction=1
7608 echo "$as_me: program exited with status $ac_status" >&5
7609 echo "$as_me: failed program was:" >&5
7610 sed 's/^/| /' conftest.$ac_ext >&5
7613 ac_cv_c_stack_direction=-1
7615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7620 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7621 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
7623 cat >>confdefs.h <<_ACEOF
7624 #define STACK_DIRECTION $ac_cv_c_stack_direction
7632 for ac_header in stdlib.h unistd.h
7634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7636 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7638 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7639 echo $ECHO_N "(cached) $ECHO_C" >&6
7641 ac_res=`eval echo '${'$as_ac_Header'}'`
7642 { echo "$as_me:$LINENO: result: $ac_res" >&5
7643 echo "${ECHO_T}$ac_res" >&6; }
7645 # Is the header compilable?
7646 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7648 cat >conftest.$ac_ext <<_ACEOF
7651 cat confdefs.h >>conftest.$ac_ext
7652 cat >>conftest.$ac_ext <<_ACEOF
7653 /* end confdefs.h. */
7654 $ac_includes_default
7655 #include <$ac_header>
7657 rm -f conftest.$ac_objext
7658 if { (ac_try="$ac_compile"
7660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7661 *) ac_try_echo
=$ac_try;;
7663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7664 (eval "$ac_compile") 2>conftest.er1
7666 grep -v '^ *+' conftest.er1
>conftest.err
7668 cat conftest.err
>&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } &&
7671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7672 { (case "(($ac_try" in
7673 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7674 *) ac_try_echo=$ac_try;;
7676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7677 (eval "$ac_try") 2>&5
7679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 (exit $ac_status); }; } &&
7681 { ac_try='test -s conftest.$ac_objext'
7682 { (case "(($ac_try" in
7683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7684 *) ac_try_echo
=$ac_try;;
7686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7687 (eval "$ac_try") 2>&5
7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690 (exit $ac_status); }; }; then
7691 ac_header_compiler
=yes
7693 echo "$as_me: failed program was:" >&5
7694 sed 's/^/| /' conftest.
$ac_ext >&5
7696 ac_header_compiler
=no
7699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7700 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7701 echo "${ECHO_T}$ac_header_compiler" >&6; }
7703 # Is the header present?
7704 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7705 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7706 cat >conftest.
$ac_ext <<_ACEOF
7709 cat confdefs.h
>>conftest.
$ac_ext
7710 cat >>conftest.
$ac_ext <<_ACEOF
7711 /* end confdefs.h. */
7712 #include <$ac_header>
7714 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7716 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7717 *) ac_try_echo=$ac_try;;
7719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7720 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7722 grep -v '^ *+' conftest.er1 >conftest.err
7724 cat conftest.err >&5
7725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); } >/dev/null; then
7727 if test -s conftest.err; then
7728 ac_cpp_err=$ac_c_preproc_warn_flag
7729 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7736 if test -z "$ac_cpp_err"; then
7737 ac_header_preproc=yes
7739 echo "$as_me: failed program was:" >&5
7740 sed 's/^/| /' conftest.$ac_ext >&5
7742 ac_header_preproc=no
7745 rm -f conftest.err conftest.$ac_ext
7746 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7747 echo "${ECHO_T}$ac_header_preproc" >&6; }
7749 # So? What about this header?
7750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7756 ac_header_preproc=yes
7759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7772 ## -------------------------------------------------- ##
7773 ## Report this to evilnet-devel@lists.sourceforge.net ##
7774 ## -------------------------------------------------- ##
7776 ) | sed "s/^/$as_me: WARNING: /" >&2
7779 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7782 echo $ECHO_N "(cached) $ECHO_C" >&6
7784 eval "$as_ac_Header=\$ac_header_preproc"
7786 ac_res=`eval echo '${'$as_ac_Header'}'`
7787 { echo "$as_me:$LINENO: result: $ac_res" >&5
7788 echo "${ECHO_T}$ac_res" >&6; }
7791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7792 cat >>confdefs.h <<_ACEOF
7793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7801 for ac_func in getpagesize
7803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7807 echo $ECHO_N "(cached) $ECHO_C" >&6
7809 cat >conftest.$ac_ext <<_ACEOF
7812 cat confdefs.h >>conftest.$ac_ext
7813 cat >>conftest.$ac_ext <<_ACEOF
7814 /* end confdefs.h. */
7815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7817 #define $ac_func innocuous_$ac_func
7819 /* System header to define __stub macros and hopefully few prototypes,
7820 which can conflict with char $ac_func (); below.
7821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7822 <limits.h> exists even on freestanding compilers. */
7825 # include <limits.h>
7827 # include <assert.h>
7832 /* Override any GCC internal prototype to avoid an error.
7833 Use char because int might match the return type of a GCC
7834 builtin and then its argument prototype would still apply. */
7839 /* The GNU C library defines this for functions which it implements
7840 to always fail with ENOSYS. Some functions are actually named
7841 something starting with __ and the normal name is an alias. */
7842 #if defined __stub_$ac_func || defined __stub___$ac_func
7854 rm -f conftest.$ac_objext conftest$ac_exeext
7855 if { (ac_try="$ac_link"
7857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7858 *) ac_try_echo
=$ac_try;;
7860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7861 (eval "$ac_link") 2>conftest.er1
7863 grep -v '^ *+' conftest.er1
>conftest.err
7865 cat conftest.err
>&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); } &&
7868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7869 { (case "(($ac_try" in
7870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7871 *) ac_try_echo=$ac_try;;
7873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7874 (eval "$ac_try") 2>&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); }; } &&
7878 { ac_try='test -s conftest$ac_exeext'
7879 { (case "(($ac_try" in
7880 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7881 *) ac_try_echo
=$ac_try;;
7883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7884 (eval "$ac_try") 2>&5
7886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887 (exit $ac_status); }; }; then
7888 eval "$as_ac_var=yes"
7890 echo "$as_me: failed program was:" >&5
7891 sed 's/^/| /' conftest.
$ac_ext >&5
7893 eval "$as_ac_var=no"
7896 rm -f core conftest.err conftest.
$ac_objext \
7897 conftest
$ac_exeext conftest.
$ac_ext
7899 ac_res
=`eval echo '${'$as_ac_var'}'`
7900 { echo "$as_me:$LINENO: result: $ac_res" >&5
7901 echo "${ECHO_T}$ac_res" >&6; }
7902 if test `eval echo '${'$as_ac_var'}'` = yes; then
7903 cat >>confdefs.h
<<_ACEOF
7904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7910 { echo "$as_me:$LINENO: checking for working mmap" >&5
7911 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7912 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7913 echo $ECHO_N "(cached) $ECHO_C" >&6
7915 if test "$cross_compiling" = yes; then
7916 ac_cv_func_mmap_fixed_mapped
=no
7918 cat >conftest.
$ac_ext <<_ACEOF
7921 cat confdefs.h
>>conftest.
$ac_ext
7922 cat >>conftest.
$ac_ext <<_ACEOF
7923 /* end confdefs.h. */
7924 $ac_includes_default
7925 /* malloc might have been renamed as rpl_malloc. */
7928 /* Thanks to Mike Haertel and Jim Avera for this test.
7929 Here is a matrix of mmap possibilities:
7930 mmap private not fixed
7931 mmap private fixed at somewhere currently unmapped
7932 mmap private fixed at somewhere already mapped
7933 mmap shared not fixed
7934 mmap shared fixed at somewhere currently unmapped
7935 mmap shared fixed at somewhere already mapped
7936 For private mappings, we should verify that changes cannot be read()
7937 back from the file, nor mmap's back from the file at a different
7938 address. (There have been systems where private was not correctly
7939 implemented like the infamous i386 svr4.0, and systems where the
7940 VM page cache was not coherent with the file system buffer cache
7941 like early versions of FreeBSD and possibly contemporary NetBSD.)
7942 For shared mappings, we should conversely verify that changes get
7943 propagated back to all the places they're supposed to be.
7945 Grep wants private fixed already mapped.
7946 The main things grep needs to know about mmap are:
7947 * does it exist and is it safe to write into the mmap'd area
7948 * how to use it (BSD variants) */
7951 #include <sys/mman.h>
7953 #if !STDC_HEADERS && !HAVE_STDLIB_H
7957 /* This mess was copied from the GNU getpagesize.h. */
7958 #if !HAVE_GETPAGESIZE
7959 /* Assume that all systems that can run configure have sys/param.h. */
7960 # if !HAVE_SYS_PARAM_H
7961 # define HAVE_SYS_PARAM_H 1
7964 # ifdef _SC_PAGESIZE
7965 # define getpagesize() sysconf(_SC_PAGESIZE)
7966 # else /* no _SC_PAGESIZE */
7967 # if HAVE_SYS_PARAM_H
7968 # include <sys/param.h>
7969 # ifdef EXEC_PAGESIZE
7970 # define getpagesize() EXEC_PAGESIZE
7971 # else /* no EXEC_PAGESIZE */
7973 # define getpagesize() NBPG * CLSIZE
7976 # endif /* no CLSIZE */
7977 # else /* no NBPG */
7979 # define getpagesize() NBPC
7980 # else /* no NBPC */
7982 # define getpagesize() PAGESIZE
7983 # endif /* PAGESIZE */
7984 # endif /* no NBPC */
7985 # endif /* no NBPG */
7986 # endif /* no EXEC_PAGESIZE */
7987 # else /* no HAVE_SYS_PARAM_H */
7988 # define getpagesize() 8192 /* punt totally */
7989 # endif /* no HAVE_SYS_PARAM_H */
7990 # endif /* no _SC_PAGESIZE */
7992 #endif /* no HAVE_GETPAGESIZE */
7997 char *data, *data2, *data3;
8001 pagesize = getpagesize ();
8003 /* First, make a file with some known garbage in it. */
8004 data = (char *) malloc (pagesize);
8007 for (i = 0; i < pagesize; ++i)
8008 *(data + i) = rand ();
8010 fd = creat ("conftest.mmap", 0600);
8013 if (write (fd, data, pagesize) != pagesize)
8017 /* Next, try to mmap the file at a fixed address which already has
8018 something else allocated at it. If we can, also make sure that
8019 we see the same garbage. */
8020 fd = open ("conftest.mmap", O_RDWR);
8023 data2 = (char *) malloc (2 * pagesize);
8026 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8027 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8028 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8030 for (i = 0; i < pagesize; ++i)
8031 if (*(data + i) != *(data2 + i))
8034 /* Finally, make sure that changes to the mapped area do not
8035 percolate back to the file as seen by read(). (This is a bug on
8036 some variants of i386 svr4.0.) */
8037 for (i = 0; i < pagesize; ++i)
8038 *(data2 + i) = *(data2 + i) + 1;
8039 data3 = (char *) malloc (pagesize);
8042 if (read (fd, data3, pagesize) != pagesize)
8044 for (i = 0; i < pagesize; ++i)
8045 if (*(data + i) != *(data3 + i))
8051 rm -f conftest
$ac_exeext
8052 if { (ac_try
="$ac_link"
8054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8055 *) ac_try_echo=$ac_try;;
8057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8058 (eval "$ac_link") 2>&5
8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8062 { (case "(($ac_try" in
8063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8064 *) ac_try_echo
=$ac_try;;
8066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8067 (eval "$ac_try") 2>&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); }; }; then
8071 ac_cv_func_mmap_fixed_mapped
=yes
8073 echo "$as_me: program exited with status $ac_status" >&5
8074 echo "$as_me: failed program was:" >&5
8075 sed 's/^/| /' conftest.
$ac_ext >&5
8078 ac_cv_func_mmap_fixed_mapped
=no
8080 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8085 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8086 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
8087 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8089 cat >>confdefs.h
<<\_ACEOF
8097 { echo "$as_me:$LINENO: checking for sin_len" >&5
8098 echo $ECHO_N "checking for sin_len... $ECHO_C" >&6; }
8099 if test "${ac_cv_sin_len+set}" = set; then
8100 echo $ECHO_N "(cached) $ECHO_C" >&6
8102 cat >conftest.
$ac_ext <<_ACEOF
8105 cat confdefs.h
>>conftest.
$ac_ext
8106 cat >>conftest.
$ac_ext <<_ACEOF
8107 /* end confdefs.h. */
8108 #include <sys/types.h>
8109 #include <netinet/in.h>
8113 struct sockaddr_in *sin; sin->sin_len = 0;
8118 rm -f conftest.
$ac_objext
8119 if { (ac_try
="$ac_compile"
8121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8122 *) ac_try_echo=$ac_try;;
8124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8125 (eval "$ac_compile") 2>conftest.er1
8127 grep -v '^ *+' conftest.er1 >conftest.err
8129 cat conftest.err >&5
8130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131 (exit $ac_status); } &&
8132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8133 { (case "(($ac_try" in
8134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8135 *) ac_try_echo
=$ac_try;;
8137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8138 (eval "$ac_try") 2>&5
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); }; } &&
8142 { ac_try
='test -s conftest.$ac_objext'
8143 { (case "(($ac_try" in
8144 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8145 *) ac_try_echo=$ac_try;;
8147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8148 (eval "$ac_try") 2>&5
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); }; }; then
8154 echo "$as_me: failed program was:" >&5
8155 sed 's/^/| /' conftest.$ac_ext >&5
8160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8162 { echo "$as_me:$LINENO: result: $ac_cv_sin_len" >&5
8163 echo "${ECHO_T}$ac_cv_sin_len" >&6; }
8164 if test $ac_cv_sin_len = yes ; then
8166 cat >>confdefs.h <<\_ACEOF
8167 #define HAVE_SIN_LEN 1
8172 { echo "$as_me:$LINENO: checking for socklen_t" >&5
8173 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
8174 if test "${ac_cv_type_socklen_t+set}" = set; then
8175 echo $ECHO_N "(cached) $ECHO_C" >&6
8177 cat >conftest.$ac_ext <<_ACEOF
8180 cat confdefs.h >>conftest.$ac_ext
8181 cat >>conftest.$ac_ext <<_ACEOF
8182 /* end confdefs.h. */
8183 #include <sys/types.h>
8184 #include<sys/socket.h>
8186 typedef socklen_t ac__type_new_;
8190 if ((ac__type_new_ *) 0)
8192 if (sizeof (ac__type_new_))
8198 rm -f conftest.$ac_objext
8199 if { (ac_try="$ac_compile"
8201 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8202 *) ac_try_echo
=$ac_try;;
8204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8205 (eval "$ac_compile") 2>conftest.er1
8207 grep -v '^ *+' conftest.er1
>conftest.err
8209 cat conftest.err
>&5
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); } &&
8212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8213 { (case "(($ac_try" in
8214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8215 *) ac_try_echo=$ac_try;;
8217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8218 (eval "$ac_try") 2>&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); }; } &&
8222 { ac_try='test -s conftest.$ac_objext'
8223 { (case "(($ac_try" in
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_try") 2>&5
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); }; }; then
8232 ac_cv_type_socklen_t
=yes
8234 echo "$as_me: failed program was:" >&5
8235 sed 's/^/| /' conftest.
$ac_ext >&5
8237 ac_cv_type_socklen_t
=no
8240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8242 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
8243 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
8244 if test $ac_cv_type_socklen_t = yes; then
8248 { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
8249 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; }
8250 if test "${curl_cv_socklen_t_equiv+set}" = set; then
8251 echo $ECHO_N "(cached) $ECHO_C" >&6
8254 curl_cv_socklen_t_equiv
=
8255 for arg2
in "struct sockaddr" void
; do
8256 for t
in int size_t unsigned long
"unsigned long" ; do
8257 cat >conftest.
$ac_ext <<_ACEOF
8260 cat confdefs.h
>>conftest.
$ac_ext
8261 cat >>conftest.
$ac_ext <<_ACEOF
8262 /* end confdefs.h. */
8263 #include <sys/types.h>
8264 #include <sys/socket.h>
8265 int getpeername (int $arg2 *, $t *);
8270 getpeername(0, 0, &len);
8275 rm -f conftest.
$ac_objext
8276 if { (ac_try
="$ac_compile"
8278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8279 *) ac_try_echo=$ac_try;;
8281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8282 (eval "$ac_compile") 2>conftest.er1
8284 grep -v '^ *+' conftest.er1 >conftest.err
8286 cat conftest.err >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } &&
8289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8290 { (case "(($ac_try" in
8291 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8292 *) ac_try_echo
=$ac_try;;
8294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8295 (eval "$ac_try") 2>&5
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; } &&
8299 { ac_try
='test -s conftest.$ac_objext'
8300 { (case "(($ac_try" in
8301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8302 *) ac_try_echo=$ac_try;;
8304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8305 (eval "$ac_try") 2>&5
8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 (exit $ac_status); }; }; then
8309 curl_cv_socklen_t_equiv="$t"
8312 echo "$as_me: failed program was:" >&5
8313 sed 's/^/| /' conftest.$ac_ext >&5
8318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8324 { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
8325 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; }
8327 cat >>confdefs.h <<_ACEOF
8328 #define socklen_t $curl_cv_socklen_t_equiv
8335 CFLAGS="$CFLAGS -W -Wall -Werror"
8337 { echo "$as_me:$LINENO: checking for time_t format" >&5
8338 echo $ECHO_N "checking for time_t format... $ECHO_C" >&6; }
8339 if test "${ac_cv_fmt_time_t+set}" = set; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8344 cat >conftest.$ac_ext <<_ACEOF
8345 #include <sys/types.h>
8349 printf("%li", test);
8352 rm -f conftest.$ac_objext
8353 if { (ac_try="$ac_compile"
8355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8356 *) ac_try_echo
=$ac_try;;
8358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8359 (eval "$ac_compile") 2>conftest.er1
8361 grep -v '^ *+' conftest.er1
>conftest.err
8363 cat conftest.err
>&5
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); } &&
8366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8367 { (case "(($ac_try" in
8368 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8369 *) ac_try_echo=$ac_try;;
8371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8372 (eval "$ac_try") 2>&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); }; } &&
8376 { ac_try='test -s conftest.$ac_objext'
8377 { (case "(($ac_try" in
8378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8379 *) ac_try_echo
=$ac_try;;
8381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8382 (eval "$ac_try") 2>&5
8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385 (exit $ac_status); }; }; then
8386 ac_cv_fmt_time_t
="\"%li\""
8388 echo "$as_me: failed program was:" >&5
8389 sed 's/^/| /' conftest.
$ac_ext >&5
8394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8395 if test $ac_cv_fmt_time_t = no
; then
8396 cat >conftest.
$ac_ext <<_ACEOF
8397 #include <sys/types.h>
8404 rm -f conftest.
$ac_objext
8405 if { (ac_try
="$ac_compile"
8407 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8408 *) ac_try_echo=$ac_try;;
8410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8411 (eval "$ac_compile") 2>conftest.er1
8413 grep -v '^ *+' conftest.er1 >conftest.err
8415 cat conftest.err >&5
8416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417 (exit $ac_status); } &&
8418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8419 { (case "(($ac_try" in
8420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8421 *) ac_try_echo
=$ac_try;;
8423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8424 (eval "$ac_try") 2>&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); }; } &&
8428 { ac_try
='test -s conftest.$ac_objext'
8429 { (case "(($ac_try" in
8430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8431 *) ac_try_echo=$ac_try;;
8433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8434 (eval "$ac_try") 2>&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; }; then
8438 ac_cv_fmt_time_t="\"%i\""
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.$ac_ext >&5
8446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8448 if test $ac_cv_fmt_time_t = no; then
8449 { { echo "$as_me:$LINENO: error: Cannot detect format string for time_t
8450 Please check sys/types.h for the typedef of time_t and submit to a developer" >&5
8451 echo "$as_me: error: Cannot detect format string for time_t
8452 Please check sys/types.h for the typedef of time_t and submit to a developer" >&2;}
8453 { (exit 1); exit 1; }; }
8459 cat >>confdefs.h <<_ACEOF
8460 #define FMT_TIME_T $ac_cv_fmt_time_t
8463 { echo "$as_me:$LINENO: result: $ac_cv_fmt_time_t" >&5
8464 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6; }
8466 { echo "$as_me:$LINENO: checking for va_copy" >&5
8467 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
8468 if test "${ac_cv_c_va_copy+set}" = set; then
8469 echo $ECHO_N "(cached) $ECHO_C" >&6
8471 cat >conftest.$ac_ext <<_ACEOF
8474 cat confdefs.h >>conftest.$ac_ext
8475 cat >>conftest.$ac_ext <<_ACEOF
8476 /* end confdefs.h. */
8481 va_list ap1, ap2; va_copy(ap1, ap2);
8486 rm -f conftest.$ac_objext conftest$ac_exeext
8487 if { (ac_try="$ac_link"
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_link") 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 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8501 { (case "(($ac_try" in
8502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8503 *) ac_try_echo=$ac_try;;
8505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8506 (eval "$ac_try") 2>&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; } &&
8510 { ac_try='test -s conftest$ac_exeext'
8511 { (case "(($ac_try" in
8512 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8513 *) ac_try_echo
=$ac_try;;
8515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8516 (eval "$ac_try") 2>&5
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); }; }; then
8520 ac_cv_c_va_copy
="yes"
8522 echo "$as_me: failed program was:" >&5
8523 sed 's/^/| /' conftest.
$ac_ext >&5
8525 ac_cv_c_va_copy
="no"
8529 rm -f core conftest.err conftest.
$ac_objext \
8530 conftest
$ac_exeext conftest.
$ac_ext
8532 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
8533 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
8534 if test "$ac_cv_c_va_copy" = "yes" ; then
8536 cat >>confdefs.h
<<\_ACEOF
8537 #define HAVE_VA_COPY 1
8542 { echo "$as_me:$LINENO: checking for __va_copy" >&5
8543 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
8544 if test "${ac_cv_c___va_copy+set}" = set; then
8545 echo $ECHO_N "(cached) $ECHO_C" >&6
8547 cat >conftest.
$ac_ext <<_ACEOF
8550 cat confdefs.h
>>conftest.
$ac_ext
8551 cat >>conftest.
$ac_ext <<_ACEOF
8552 /* end confdefs.h. */
8557 va_list ap1, ap2; __va_copy(ap1, ap2);
8562 rm -f conftest.
$ac_objext conftest
$ac_exeext
8563 if { (ac_try
="$ac_link"
8565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8566 *) ac_try_echo=$ac_try;;
8568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8569 (eval "$ac_link") 2>conftest.er1
8571 grep -v '^ *+' conftest.er1 >conftest.err
8573 cat conftest.err >&5
8574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575 (exit $ac_status); } &&
8576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8577 { (case "(($ac_try" in
8578 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8579 *) ac_try_echo
=$ac_try;;
8581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8582 (eval "$ac_try") 2>&5
8584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585 (exit $ac_status); }; } &&
8586 { ac_try
='test -s conftest$ac_exeext'
8587 { (case "(($ac_try" in
8588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8589 *) ac_try_echo=$ac_try;;
8591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8592 (eval "$ac_try") 2>&5
8594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8595 (exit $ac_status); }; }; then
8596 ac_cv_c___va_copy="yes"
8598 echo "$as_me: failed program was:" >&5
8599 sed 's/^/| /' conftest.$ac_ext >&5
8601 ac_cv_c___va_copy="no"
8605 rm -f core conftest.err conftest.$ac_objext \
8606 conftest$ac_exeext conftest.$ac_ext
8608 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
8609 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
8610 if test "$ac_cv_c___va_copy" = "yes" ; then
8612 cat >>confdefs.h <<\_ACEOF
8613 #define HAVE___VA_COPY 1
8620 { echo "$as_me:$LINENO: checking which malloc to use" >&5
8621 echo $ECHO_N "checking which malloc to use... $ECHO_C" >&6; }
8623 # Check whether --with-malloc was given.
8624 if test "${with_malloc+set}" = set; then
8625 withval=$with_malloc;
8630 if test "x$withval" = "xsystem" ; then
8631 { echo "$as_me:$LINENO: result: system" >&5
8632 echo "${ECHO_T}system" >&6; }
8634 cat >>confdefs.h <<\_ACEOF
8635 #define WITH_MALLOC_SYSTEM 1
8639 elif test "x$withval" = "xdmalloc" ; then
8640 { echo "$as_me:$LINENO: result: dmalloc" >&5
8641 echo "${ECHO_T}dmalloc" >&6; }
8643 for ac_header in dmalloc.h
8645 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8652 ac_res=`eval echo '${'$as_ac_Header'}'`
8653 { echo "$as_me:$LINENO: result: $ac_res" >&5
8654 echo "${ECHO_T}$ac_res" >&6; }
8656 # Is the header compilable?
8657 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8659 cat >conftest.$ac_ext <<_ACEOF
8662 cat confdefs.h >>conftest.$ac_ext
8663 cat >>conftest.$ac_ext <<_ACEOF
8664 /* end confdefs.h. */
8665 $ac_includes_default
8666 #include <$ac_header>
8668 rm -f conftest.$ac_objext
8669 if { (ac_try="$ac_compile"
8671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8672 *) ac_try_echo
=$ac_try;;
8674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8675 (eval "$ac_compile") 2>conftest.er1
8677 grep -v '^ *+' conftest.er1
>conftest.err
8679 cat conftest.err
>&5
8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); } &&
8682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8683 { (case "(($ac_try" in
8684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8685 *) ac_try_echo=$ac_try;;
8687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8688 (eval "$ac_try") 2>&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); }; } &&
8692 { ac_try='test -s conftest.$ac_objext'
8693 { (case "(($ac_try" in
8694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8695 *) ac_try_echo
=$ac_try;;
8697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8698 (eval "$ac_try") 2>&5
8700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701 (exit $ac_status); }; }; then
8702 ac_header_compiler
=yes
8704 echo "$as_me: failed program was:" >&5
8705 sed 's/^/| /' conftest.
$ac_ext >&5
8707 ac_header_compiler
=no
8710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8711 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8712 echo "${ECHO_T}$ac_header_compiler" >&6; }
8714 # Is the header present?
8715 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8716 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8717 cat >conftest.
$ac_ext <<_ACEOF
8720 cat confdefs.h
>>conftest.
$ac_ext
8721 cat >>conftest.
$ac_ext <<_ACEOF
8722 /* end confdefs.h. */
8723 #include <$ac_header>
8725 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8728 *) ac_try_echo=$ac_try;;
8730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8733 grep -v '^ *+' conftest.er1 >conftest.err
8735 cat conftest.err >&5
8736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737 (exit $ac_status); } >/dev/null; then
8738 if test -s conftest.err; then
8739 ac_cpp_err=$ac_c_preproc_warn_flag
8740 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8747 if test -z "$ac_cpp_err"; then
8748 ac_header_preproc=yes
8750 echo "$as_me: failed program was:" >&5
8751 sed 's/^/| /' conftest.$ac_ext >&5
8753 ac_header_preproc=no
8756 rm -f conftest.err conftest.$ac_ext
8757 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8758 echo "${ECHO_T}$ac_header_preproc" >&6; }
8760 # So? What about this header?
8761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8767 ac_header_preproc=yes
8770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8783 ## -------------------------------------------------- ##
8784 ## Report this to evilnet-devel@lists.sourceforge.net ##
8785 ## -------------------------------------------------- ##
8787 ) | sed "s/^/$as_me: WARNING: /" >&2
8790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8793 echo $ECHO_N "(cached) $ECHO_C" >&6
8795 eval "$as_ac_Header=\$ac_header_preproc"
8797 ac_res=`eval echo '${'$as_ac_Header'}'`
8798 { echo "$as_me:$LINENO: result: $ac_res" >&5
8799 echo "${ECHO_T}$ac_res" >&6; }
8802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8803 cat >>confdefs.h <<_ACEOF
8804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8808 { { echo "$as_me:$LINENO: error: dmalloc header file missing. dmalloc build will fail." >&5
8809 echo "$as_me: error: dmalloc header file missing. dmalloc build will fail." >&2;}
8810 { (exit 1); exit 1; }; }
8816 { echo "$as_me:$LINENO: checking for malloc in -ldmalloc" >&5
8817 echo $ECHO_N "checking for malloc in -ldmalloc... $ECHO_C" >&6; }
8818 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 ac_check_lib_save_LIBS=$LIBS
8822 LIBS="-ldmalloc $LIBS"
8823 cat >conftest.$ac_ext <<_ACEOF
8826 cat confdefs.h >>conftest.$ac_ext
8827 cat >>conftest.$ac_ext <<_ACEOF
8828 /* end confdefs.h. */
8830 /* Override any GCC internal prototype to avoid an error.
8831 Use char because int might match the return type of a GCC
8832 builtin and then its argument prototype would still apply. */
8845 rm -f conftest.$ac_objext conftest$ac_exeext
8846 if { (ac_try="$ac_link"
8848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8849 *) ac_try_echo
=$ac_try;;
8851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8852 (eval "$ac_link") 2>conftest.er1
8854 grep -v '^ *+' conftest.er1
>conftest.err
8856 cat conftest.err
>&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); } &&
8859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8860 { (case "(($ac_try" in
8861 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8862 *) ac_try_echo=$ac_try;;
8864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8865 (eval "$ac_try") 2>&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); }; } &&
8869 { ac_try='test -s conftest$ac_exeext'
8870 { (case "(($ac_try" in
8871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8872 *) ac_try_echo
=$ac_try;;
8874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8875 (eval "$ac_try") 2>&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); }; }; then
8879 ac_cv_lib_dmalloc_malloc
=yes
8881 echo "$as_me: failed program was:" >&5
8882 sed 's/^/| /' conftest.
$ac_ext >&5
8884 ac_cv_lib_dmalloc_malloc
=no
8887 rm -f core conftest.err conftest.
$ac_objext \
8888 conftest
$ac_exeext conftest.
$ac_ext
8889 LIBS
=$ac_check_lib_save_LIBS
8891 { echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_malloc" >&5
8892 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6; }
8893 if test $ac_cv_lib_dmalloc_malloc = yes; then
8894 cat >>confdefs.h
<<_ACEOF
8895 #define HAVE_LIBDMALLOC 1
8898 LIBS
="-ldmalloc $LIBS"
8901 { { echo "$as_me:$LINENO: error: dmalloc library is missing. dmalloc build will fail." >&5
8902 echo "$as_me: error: dmalloc library is missing. dmalloc build will fail." >&2;}
8903 { (exit 1); exit 1; }; }
8907 cat >>confdefs.h
<<\_ACEOF
8908 #define WITH_MALLOC_DMALLOC 1
8912 elif test "x$withval" = "xmpatrol" ; then
8913 { echo "$as_me:$LINENO: result: mpatrol" >&5
8914 echo "${ECHO_T}mpatrol" >&6; }
8916 for ac_header
in mpatrol.h
8918 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8919 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8920 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8922 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8925 ac_res
=`eval echo '${'$as_ac_Header'}'`
8926 { echo "$as_me:$LINENO: result: $ac_res" >&5
8927 echo "${ECHO_T}$ac_res" >&6; }
8929 # Is the header compilable?
8930 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8932 cat >conftest.
$ac_ext <<_ACEOF
8935 cat confdefs.h
>>conftest.
$ac_ext
8936 cat >>conftest.
$ac_ext <<_ACEOF
8937 /* end confdefs.h. */
8938 $ac_includes_default
8939 #include <$ac_header>
8941 rm -f conftest.
$ac_objext
8942 if { (ac_try
="$ac_compile"
8944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8945 *) ac_try_echo=$ac_try;;
8947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8948 (eval "$ac_compile") 2>conftest.er1
8950 grep -v '^ *+' conftest.er1 >conftest.err
8952 cat conftest.err >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 (exit $ac_status); } &&
8955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8956 { (case "(($ac_try" in
8957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8958 *) ac_try_echo
=$ac_try;;
8960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8961 (eval "$ac_try") 2>&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); }; } &&
8965 { ac_try
='test -s conftest.$ac_objext'
8966 { (case "(($ac_try" in
8967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8968 *) ac_try_echo=$ac_try;;
8970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8971 (eval "$ac_try") 2>&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); }; }; then
8975 ac_header_compiler=yes
8977 echo "$as_me: failed program was:" >&5
8978 sed 's/^/| /' conftest.$ac_ext >&5
8980 ac_header_compiler=no
8983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8984 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8985 echo "${ECHO_T}$ac_header_compiler" >&6; }
8987 # Is the header present?
8988 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8990 cat >conftest.$ac_ext <<_ACEOF
8993 cat confdefs.h >>conftest.$ac_ext
8994 cat >>conftest.$ac_ext <<_ACEOF
8995 /* end confdefs.h. */
8996 #include <$ac_header>
8998 if { (ac_try="$ac_cpp conftest.$ac_ext"
9000 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9001 *) ac_try_echo
=$ac_try;;
9003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9006 grep -v '^ *+' conftest.er1
>conftest.err
9008 cat conftest.err
>&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); } >/dev
/null
; then
9011 if test -s conftest.err
; then
9012 ac_cpp_err
=$ac_c_preproc_warn_flag
9013 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9020 if test -z "$ac_cpp_err"; then
9021 ac_header_preproc
=yes
9023 echo "$as_me: failed program was:" >&5
9024 sed 's/^/| /' conftest.
$ac_ext >&5
9026 ac_header_preproc
=no
9029 rm -f conftest.err conftest.
$ac_ext
9030 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9031 echo "${ECHO_T}$ac_header_preproc" >&6; }
9033 # So? What about this header?
9034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9039 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9040 ac_header_preproc
=yes
9043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9046 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9047 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9048 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9049 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9050 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9053 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9054 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9056 ## -------------------------------------------------- ##
9057 ## Report this to evilnet-devel@lists.sourceforge.net ##
9058 ## -------------------------------------------------- ##
9060 ) | sed "s/^/$as_me: WARNING: /" >&2
9063 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9065 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9066 echo $ECHO_N "(cached) $ECHO_C" >&6
9068 eval "$as_ac_Header=\$ac_header_preproc"
9070 ac_res
=`eval echo '${'$as_ac_Header'}'`
9071 { echo "$as_me:$LINENO: result: $ac_res" >&5
9072 echo "${ECHO_T}$ac_res" >&6; }
9075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9076 cat >>confdefs.h
<<_ACEOF
9077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9081 { { echo "$as_me:$LINENO: error: mpatrol header file missing. mpatrol build will fail." >&5
9082 echo "$as_me: error: mpatrol header file missing. mpatrol build will fail." >&2;}
9083 { (exit 1); exit 1; }; }
9089 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
9090 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
9091 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9092 echo $ECHO_N "(cached) $ECHO_C" >&6
9094 ac_check_lib_save_LIBS
=$LIBS
9096 cat >conftest.
$ac_ext <<_ACEOF
9099 cat confdefs.h
>>conftest.
$ac_ext
9100 cat >>conftest.
$ac_ext <<_ACEOF
9101 /* end confdefs.h. */
9103 /* Override any GCC internal prototype to avoid an error.
9104 Use char because int might match the return type of a GCC
9105 builtin and then its argument prototype would still apply. */
9113 return elf_begin ();
9118 rm -f conftest.
$ac_objext conftest
$ac_exeext
9119 if { (ac_try
="$ac_link"
9121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9122 *) ac_try_echo=$ac_try;;
9124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9125 (eval "$ac_link") 2>conftest.er1
9127 grep -v '^ *+' conftest.er1 >conftest.err
9129 cat conftest.err >&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } &&
9132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9133 { (case "(($ac_try" in
9134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9135 *) ac_try_echo
=$ac_try;;
9137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9138 (eval "$ac_try") 2>&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); }; } &&
9142 { ac_try
='test -s conftest$ac_exeext'
9143 { (case "(($ac_try" in
9144 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9145 *) ac_try_echo=$ac_try;;
9147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9148 (eval "$ac_try") 2>&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); }; }; then
9152 ac_cv_lib_elf_elf_begin=yes
9154 echo "$as_me: failed program was:" >&5
9155 sed 's/^/| /' conftest.$ac_ext >&5
9157 ac_cv_lib_elf_elf_begin=no
9160 rm -f core conftest.err conftest.$ac_objext \
9161 conftest$ac_exeext conftest.$ac_ext
9162 LIBS=$ac_check_lib_save_LIBS
9164 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
9165 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
9166 if test $ac_cv_lib_elf_elf_begin = yes; then
9167 cat >>confdefs.h <<_ACEOF
9168 #define HAVE_LIBELF 1
9176 { echo "$as_me:$LINENO: checking for __mp_atexit in -lmpatrol" >&5
9177 echo $ECHO_N "checking for __mp_atexit in -lmpatrol... $ECHO_C" >&6; }
9178 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 ac_check_lib_save_LIBS=$LIBS
9182 LIBS="-lmpatrol $LIBS"
9183 cat >conftest.$ac_ext <<_ACEOF
9186 cat confdefs.h >>conftest.$ac_ext
9187 cat >>conftest.$ac_ext <<_ACEOF
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9196 char __mp_atexit ();
9200 return __mp_atexit ();
9205 rm -f conftest.$ac_objext conftest$ac_exeext
9206 if { (ac_try="$ac_link"
9208 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9209 *) ac_try_echo
=$ac_try;;
9211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9212 (eval "$ac_link") 2>conftest.er1
9214 grep -v '^ *+' conftest.er1
>conftest.err
9216 cat conftest.err
>&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); } &&
9219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9220 { (case "(($ac_try" in
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_try") 2>&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); }; } &&
9229 { ac_try='test -s conftest$ac_exeext'
9230 { (case "(($ac_try" in
9231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9232 *) ac_try_echo
=$ac_try;;
9234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9235 (eval "$ac_try") 2>&5
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); }; }; then
9239 ac_cv_lib_mpatrol___mp_atexit
=yes
9241 echo "$as_me: failed program was:" >&5
9242 sed 's/^/| /' conftest.
$ac_ext >&5
9244 ac_cv_lib_mpatrol___mp_atexit
=no
9247 rm -f core conftest.err conftest.
$ac_objext \
9248 conftest
$ac_exeext conftest.
$ac_ext
9249 LIBS
=$ac_check_lib_save_LIBS
9251 { echo "$as_me:$LINENO: result: $ac_cv_lib_mpatrol___mp_atexit" >&5
9252 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6; }
9253 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
9254 cat >>confdefs.h
<<_ACEOF
9255 #define HAVE_LIBMPATROL 1
9258 LIBS
="-lmpatrol $LIBS"
9261 { { echo "$as_me:$LINENO: error: mpatrol library is missing completely. mpatrol build will fail." >&5
9262 echo "$as_me: error: mpatrol library is missing completely. mpatrol build will fail." >&2;}
9263 { (exit 1); exit 1; }; }
9267 cat >>confdefs.h
<<\_ACEOF
9268 #define WITH_MALLOC_MPATROL 1
9272 elif test "x$withval" = "xboehm-gc" ; then
9273 { echo "$as_me:$LINENO: result: boehm-gc" >&5
9274 echo "${ECHO_T}boehm-gc" >&6; }
9276 for ac_header
in gc
/gc.h
9278 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9279 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9280 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9282 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9283 echo $ECHO_N "(cached) $ECHO_C" >&6
9285 ac_res
=`eval echo '${'$as_ac_Header'}'`
9286 { echo "$as_me:$LINENO: result: $ac_res" >&5
9287 echo "${ECHO_T}$ac_res" >&6; }
9289 # Is the header compilable?
9290 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9291 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9292 cat >conftest.
$ac_ext <<_ACEOF
9295 cat confdefs.h
>>conftest.
$ac_ext
9296 cat >>conftest.
$ac_ext <<_ACEOF
9297 /* end confdefs.h. */
9298 $ac_includes_default
9299 #include <$ac_header>
9301 rm -f conftest.
$ac_objext
9302 if { (ac_try
="$ac_compile"
9304 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9305 *) ac_try_echo=$ac_try;;
9307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9308 (eval "$ac_compile") 2>conftest.er1
9310 grep -v '^ *+' conftest.er1 >conftest.err
9312 cat conftest.err >&5
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); } &&
9315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9316 { (case "(($ac_try" in
9317 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9318 *) ac_try_echo
=$ac_try;;
9320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9321 (eval "$ac_try") 2>&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; } &&
9325 { ac_try
='test -s conftest.$ac_objext'
9326 { (case "(($ac_try" in
9327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9328 *) ac_try_echo=$ac_try;;
9330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9331 (eval "$ac_try") 2>&5
9333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9334 (exit $ac_status); }; }; then
9335 ac_header_compiler=yes
9337 echo "$as_me: failed program was:" >&5
9338 sed 's/^/| /' conftest.$ac_ext >&5
9340 ac_header_compiler=no
9343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9344 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9345 echo "${ECHO_T}$ac_header_compiler" >&6; }
9347 # Is the header present?
9348 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9350 cat >conftest.$ac_ext <<_ACEOF
9353 cat confdefs.h >>conftest.$ac_ext
9354 cat >>conftest.$ac_ext <<_ACEOF
9355 /* end confdefs.h. */
9356 #include <$ac_header>
9358 if { (ac_try="$ac_cpp conftest.$ac_ext"
9360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9361 *) ac_try_echo
=$ac_try;;
9363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9366 grep -v '^ *+' conftest.er1
>conftest.err
9368 cat conftest.err
>&5
9369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9370 (exit $ac_status); } >/dev
/null
; then
9371 if test -s conftest.err
; then
9372 ac_cpp_err
=$ac_c_preproc_warn_flag
9373 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9380 if test -z "$ac_cpp_err"; then
9381 ac_header_preproc
=yes
9383 echo "$as_me: failed program was:" >&5
9384 sed 's/^/| /' conftest.
$ac_ext >&5
9386 ac_header_preproc
=no
9389 rm -f conftest.err conftest.
$ac_ext
9390 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9391 echo "${ECHO_T}$ac_header_preproc" >&6; }
9393 # So? What about this header?
9394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9400 ac_header_preproc
=yes
9403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9416 ## -------------------------------------------------- ##
9417 ## Report this to evilnet-devel@lists.sourceforge.net ##
9418 ## -------------------------------------------------- ##
9420 ) | sed "s/^/$as_me: WARNING: /" >&2
9423 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9425 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9426 echo $ECHO_N "(cached) $ECHO_C" >&6
9428 eval "$as_ac_Header=\$ac_header_preproc"
9430 ac_res
=`eval echo '${'$as_ac_Header'}'`
9431 { echo "$as_me:$LINENO: result: $ac_res" >&5
9432 echo "${ECHO_T}$ac_res" >&6; }
9435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9436 cat >>confdefs.h
<<_ACEOF
9437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9441 { { echo "$as_me:$LINENO: error: Boehm GC header file missing. boehm-gc build will fail." >&5
9442 echo "$as_me: error: Boehm GC header file missing. boehm-gc build will fail." >&2;}
9443 { (exit 1); exit 1; }; }
9449 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9450 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9451 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9452 echo $ECHO_N "(cached) $ECHO_C" >&6
9454 ac_check_lib_save_LIBS
=$LIBS
9456 cat >conftest.
$ac_ext <<_ACEOF
9459 cat confdefs.h
>>conftest.
$ac_ext
9460 cat >>conftest.
$ac_ext <<_ACEOF
9461 /* end confdefs.h. */
9463 /* Override any GCC internal prototype to avoid an error.
9464 Use char because int might match the return type of a GCC
9465 builtin and then its argument prototype would still apply. */
9478 rm -f conftest.
$ac_objext conftest
$ac_exeext
9479 if { (ac_try
="$ac_link"
9481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9482 *) ac_try_echo=$ac_try;;
9484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9485 (eval "$ac_link") 2>conftest.er1
9487 grep -v '^ *+' conftest.er1 >conftest.err
9489 cat conftest.err >&5
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); } &&
9492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9493 { (case "(($ac_try" in
9494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9495 *) ac_try_echo
=$ac_try;;
9497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9498 (eval "$ac_try") 2>&5
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); }; } &&
9502 { ac_try
='test -s conftest$ac_exeext'
9503 { (case "(($ac_try" in
9504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9505 *) ac_try_echo=$ac_try;;
9507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9508 (eval "$ac_try") 2>&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); }; }; then
9512 ac_cv_lib_dl_dlopen=yes
9514 echo "$as_me: failed program was:" >&5
9515 sed 's/^/| /' conftest.$ac_ext >&5
9517 ac_cv_lib_dl_dlopen=no
9520 rm -f core conftest.err conftest.$ac_objext \
9521 conftest$ac_exeext conftest.$ac_ext
9522 LIBS=$ac_check_lib_save_LIBS
9524 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9525 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9526 if test $ac_cv_lib_dl_dlopen = yes; then
9527 cat >>confdefs.h <<_ACEOF
9528 #define HAVE_LIBDL 1
9534 { { echo "$as_me:$LINENO: error: libdl library is missing. boehm-gc build will fail." >&5
9535 echo "$as_me: error: libdl library is missing. boehm-gc build will fail." >&2;}
9536 { (exit 1); exit 1; }; }
9540 { echo "$as_me:$LINENO: checking for GC_gcollect in -lgc" >&5
9541 echo $ECHO_N "checking for GC_gcollect in -lgc... $ECHO_C" >&6; }
9542 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
9543 echo $ECHO_N "(cached) $ECHO_C" >&6
9545 ac_check_lib_save_LIBS=$LIBS
9547 cat >conftest.$ac_ext <<_ACEOF
9550 cat confdefs.h >>conftest.$ac_ext
9551 cat >>conftest.$ac_ext <<_ACEOF
9552 /* end confdefs.h. */
9554 /* Override any GCC internal prototype to avoid an error.
9555 Use char because int might match the return type of a GCC
9556 builtin and then its argument prototype would still apply. */
9560 char GC_gcollect ();
9564 return GC_gcollect ();
9569 rm -f conftest.$ac_objext conftest$ac_exeext
9570 if { (ac_try="$ac_link"
9572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9573 *) ac_try_echo
=$ac_try;;
9575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9576 (eval "$ac_link") 2>conftest.er1
9578 grep -v '^ *+' conftest.er1
>conftest.err
9580 cat conftest.err
>&5
9581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9582 (exit $ac_status); } &&
9583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9584 { (case "(($ac_try" in
9585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9586 *) ac_try_echo=$ac_try;;
9588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9589 (eval "$ac_try") 2>&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); }; } &&
9593 { ac_try='test -s conftest$ac_exeext'
9594 { (case "(($ac_try" in
9595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9596 *) ac_try_echo
=$ac_try;;
9598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9599 (eval "$ac_try") 2>&5
9601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9602 (exit $ac_status); }; }; then
9603 ac_cv_lib_gc_GC_gcollect
=yes
9605 echo "$as_me: failed program was:" >&5
9606 sed 's/^/| /' conftest.
$ac_ext >&5
9608 ac_cv_lib_gc_GC_gcollect
=no
9611 rm -f core conftest.err conftest.
$ac_objext \
9612 conftest
$ac_exeext conftest.
$ac_ext
9613 LIBS
=$ac_check_lib_save_LIBS
9615 { echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_gcollect" >&5
9616 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6; }
9617 if test $ac_cv_lib_gc_GC_gcollect = yes; then
9618 cat >>confdefs.h
<<_ACEOF
9619 #define HAVE_LIBGC 1
9625 { { echo "$as_me:$LINENO: error: Boehm GC library is missing. boehm-gc build will fail." >&5
9626 echo "$as_me: error: Boehm GC library is missing. boehm-gc build will fail." >&2;}
9627 { (exit 1); exit 1; }; }
9631 cat >>confdefs.h
<<\_ACEOF
9632 #define WITH_MALLOC_BOEHM_GC 1
9636 elif test "x$withval" = "xx3" ; then
9637 { echo "$as_me:$LINENO: result: x3" >&5
9638 echo "${ECHO_T}x3" >&6; }
9640 cat >>confdefs.h
<<\_ACEOF
9641 #define WITH_MALLOC_X3 1
9644 MODULE_OBJS
="$MODULE_OBJS alloc-x3.\$(OBJEXT)"
9646 elif test "x$withval" = "xslab" ; then
9647 { echo "$as_me:$LINENO: result: slab" >&5
9648 echo "${ECHO_T}slab" >&6; }
9650 cat >>confdefs.h
<<\_ACEOF
9651 #define WITH_MALLOC_SLAB 1
9654 MODULE_OBJS
="$MODULE_OBJS alloc-slab.\$(OBJEXT)"
9657 { { echo "$as_me:$LINENO: error: Unknown malloc type $withval" >&5
9658 echo "$as_me: error: Unknown malloc type $withval" >&2;}
9659 { (exit 1); exit 1; }; }
9662 { echo "$as_me:$LINENO: checking which protocol to use" >&5
9663 echo $ECHO_N "checking which protocol to use... $ECHO_C" >&6; }
9665 # Check whether --with-protocol was given.
9666 if test "${with_protocol+set}" = set; then
9667 withval
=$with_protocol;
9672 if test "x$withval" = "xp10" ; then
9673 { echo "$as_me:$LINENO: result: P10" >&5
9674 echo "${ECHO_T}P10" >&6; }
9676 cat >>confdefs.h
<<\_ACEOF
9677 #define WITH_PROTOCOL_P10 1
9680 MODULE_OBJS
="$MODULE_OBJS proto-p10.\$(OBJEXT)"
9681 PROTO_FILES
=proto
-p10.c
9684 { { echo "$as_me:$LINENO: error: Unknown IRC dialect $withval" >&5
9685 echo "$as_me: error: Unknown IRC dialect $withval" >&2;}
9686 { (exit 1); exit 1; }; }
9690 # Check whether --with-getopt was given.
9691 if test "${with_getopt+set}" = set; then
9692 withval
=$with_getopt; if test "$withval" = no
; then
9694 cat >>confdefs.h
<<\_ACEOF
9695 #define IGNORE_GETOPT 1
9702 { echo "$as_me:$LINENO: checking whether to enable tokenization" >&5
9703 echo $ECHO_N "checking whether to enable tokenization... $ECHO_C" >&6; }
9704 # Check whether --enable-tokens was given.
9705 if test "${enable_tokens+set}" = set; then
9706 enableval
=$enable_tokens;
9711 if test "z$enableval" = zno
; then
9712 { echo "$as_me:$LINENO: result: no" >&5
9713 echo "${ECHO_T}no" >&6; }
9716 cat >>confdefs.h
<<\_ACEOF
9717 #define ENABLE_TOKENS 1
9720 { echo "$as_me:$LINENO: result: yes" >&5
9721 echo "${ECHO_T}yes" >&6; }
9724 { echo "$as_me:$LINENO: checking whether to enable debug behaviors" >&5
9725 echo $ECHO_N "checking whether to enable debug behaviors... $ECHO_C" >&6; }
9726 # Check whether --enable-debug was given.
9727 if test "${enable_debug+set}" = set; then
9728 enableval
=$enable_debug;
9729 CPPFLAGS
="$CPPFLAGS"
9730 { echo "$as_me:$LINENO: result: yes" >&5
9731 echo "${ECHO_T}yes" >&6; }
9736 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
9737 { echo "$as_me:$LINENO: result: no" >&5
9738 echo "${ECHO_T}no" >&6; }
9744 if test -e src
; then
9745 if test ! -d src
; then
9746 { { echo "$as_me:$LINENO: error: src exists but is not a directory; please move it out of the way." >&5
9747 echo "$as_me: error: src exists but is not a directory; please move it out of the way." >&2;}
9748 { (exit 1); exit 1; }; }
9753 { echo "$as_me:$LINENO: checking for extra module files" >&5
9754 echo $ECHO_N "checking for extra module files... $ECHO_C" >&6; }
9755 MODULE_DEFINES
="src/modules-list.h"
9756 echo > $MODULE_DEFINES
9757 touch $MODULE_DEFINES
9758 # Check whether --enable-modules was given.
9759 if test "${enable_modules+set}" = set; then
9760 enableval
=$enable_modules;
9763 EXTRA_MODULE_OBJS
=""
9765 for module
in $enableval ; do
9766 module
=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
9767 EXTRA_MODULE_OBJS
="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
9768 module_list
="$module_list $module"
9769 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
9770 if test "x$module" = "xtrack" ; then
9771 TRACK
="-D HAVE_TRACK"
9773 cat >>confdefs.h
<<\_ACEOF
9774 #define HAVE_TRACK 1
9778 if test "x$module" = "xhelpserv" ; then
9779 TRACK
="-D HAVE_HELPSERV"
9781 cat >>confdefs.h
<<\_ACEOF
9782 #define HAVE_HELPSERV 1
9788 MODULE_OBJS
="$MODULE_OBJS $EXTRA_MODULE_OBJS"
9789 { echo "$as_me:$LINENO: result: $module_list" >&5
9790 echo "${ECHO_T}$module_list" >&6; }
9794 { echo "$as_me:$LINENO: result: none" >&5
9795 echo "${ECHO_T}none" >&6; }
9803 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no
; then
9804 MY_SUBDIRS
="rx $MY_SUBDIRS"
9805 RX_INCLUDES
="-I../rx"
9806 RX_LIBS
="../rx/librx.a"
9808 MY_SUBDIRS
="$MY_SUBDIRS src"
9809 CFLAGS
="$CFLAGS $ANSI_SRC -W -Wall"
9810 if test "z$USE_MAINTAINER_MODE" = zyes
; then
9811 CFLAGS
="$CFLAGS -Werror"
9818 # Check whether --with-tre was given.
9819 if test "${with_tre+set}" = set; then
9823 if test "x$withval" != "x"; then
9824 { echo "$as_me:$LINENO: result: Using include dir $withval to find libtre" >&5
9825 echo "${ECHO_T}Using include dir $withval to find libtre" >&6; }
9826 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
9827 LIBS
="$LIBS -L$withval/lib"
9829 { echo "$as_me:$LINENO: result: Looking for tre in system and home dirs (${HOME})..." >&5
9830 echo "${ECHO_T}Looking for tre in system and home dirs (${HOME})..." >&6; }
9831 CPPFLAGS
="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
9832 LIBS
="$LIBS -L${HOME}/lib"
9834 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9835 { echo "$as_me:$LINENO: checking for tre/regex.h" >&5
9836 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6; }
9837 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9838 echo $ECHO_N "(cached) $ECHO_C" >&6
9840 { echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
9841 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
9843 # Is the header compilable?
9844 { echo "$as_me:$LINENO: checking tre/regex.h usability" >&5
9845 echo $ECHO_N "checking tre/regex.h usability... $ECHO_C" >&6; }
9846 cat >conftest.
$ac_ext <<_ACEOF
9849 cat confdefs.h
>>conftest.
$ac_ext
9850 cat >>conftest.
$ac_ext <<_ACEOF
9851 /* end confdefs.h. */
9852 $ac_includes_default
9853 #include <tre/regex.h>
9855 rm -f conftest.
$ac_objext
9856 if { (ac_try
="$ac_compile"
9858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9859 *) ac_try_echo=$ac_try;;
9861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9862 (eval "$ac_compile") 2>conftest.er1
9864 grep -v '^ *+' conftest.er1 >conftest.err
9866 cat conftest.err >&5
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); } &&
9869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9870 { (case "(($ac_try" in
9871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9872 *) ac_try_echo
=$ac_try;;
9874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9875 (eval "$ac_try") 2>&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; } &&
9879 { ac_try
='test -s conftest.$ac_objext'
9880 { (case "(($ac_try" in
9881 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9882 *) ac_try_echo=$ac_try;;
9884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9885 (eval "$ac_try") 2>&5
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); }; }; then
9889 ac_header_compiler=yes
9891 echo "$as_me: failed program was:" >&5
9892 sed 's/^/| /' conftest.$ac_ext >&5
9894 ac_header_compiler=no
9897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9898 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9899 echo "${ECHO_T}$ac_header_compiler" >&6; }
9901 # Is the header present?
9902 { echo "$as_me:$LINENO: checking tre/regex.h presence" >&5
9903 echo $ECHO_N "checking tre/regex.h presence... $ECHO_C" >&6; }
9904 cat >conftest.$ac_ext <<_ACEOF
9907 cat confdefs.h >>conftest.$ac_ext
9908 cat >>conftest.$ac_ext <<_ACEOF
9909 /* end confdefs.h. */
9910 #include <tre/regex.h>
9912 if { (ac_try="$ac_cpp conftest.$ac_ext"
9914 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9915 *) ac_try_echo
=$ac_try;;
9917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9920 grep -v '^ *+' conftest.er1
>conftest.err
9922 cat conftest.err
>&5
9923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9924 (exit $ac_status); } >/dev
/null
; then
9925 if test -s conftest.err
; then
9926 ac_cpp_err
=$ac_c_preproc_warn_flag
9927 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9934 if test -z "$ac_cpp_err"; then
9935 ac_header_preproc
=yes
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.
$ac_ext >&5
9940 ac_header_preproc
=no
9943 rm -f conftest.err conftest.
$ac_ext
9944 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9945 echo "${ECHO_T}$ac_header_preproc" >&6; }
9947 # So? What about this header?
9948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9950 { echo "$as_me:$LINENO: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
9951 echo "$as_me: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9952 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the compiler's result" >&5
9953 echo "$as_me: WARNING: tre/regex.h: proceeding with the compiler's result" >&2;}
9954 ac_header_preproc
=yes
9957 { echo "$as_me:$LINENO: WARNING: tre/regex.h: present but cannot be compiled" >&5
9958 echo "$as_me: WARNING: tre/regex.h: present but cannot be compiled" >&2;}
9959 { echo "$as_me:$LINENO: WARNING: tre/regex.h: check for missing prerequisite headers?" >&5
9960 echo "$as_me: WARNING: tre/regex.h: check for missing prerequisite headers?" >&2;}
9961 { echo "$as_me:$LINENO: WARNING: tre/regex.h: see the Autoconf documentation" >&5
9962 echo "$as_me: WARNING: tre/regex.h: see the Autoconf documentation" >&2;}
9963 { echo "$as_me:$LINENO: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&5
9964 echo "$as_me: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
9965 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&5
9966 echo "$as_me: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&2;}
9967 { echo "$as_me:$LINENO: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&5
9968 echo "$as_me: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&2;}
9970 ## -------------------------------------------------- ##
9971 ## Report this to evilnet-devel@lists.sourceforge.net ##
9972 ## -------------------------------------------------- ##
9974 ) | sed "s/^/$as_me: WARNING: /" >&2
9977 { echo "$as_me:$LINENO: checking for tre/regex.h" >&5
9978 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6; }
9979 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9980 echo $ECHO_N "(cached) $ECHO_C" >&6
9982 ac_cv_header_tre_regex_h
=$ac_header_preproc
9984 { echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
9985 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
9988 if test $ac_cv_header_tre_regex_h = yes; then
9991 { { 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 conveniance, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&5
9992 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 conveniance, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&2;}
9993 { (exit 1); exit 1; }; }
9998 { echo "$as_me:$LINENO: checking for regexec in -ltre" >&5
9999 echo $ECHO_N "checking for regexec in -ltre... $ECHO_C" >&6; }
10000 if test "${ac_cv_lib_tre_regexec+set}" = set; then
10001 echo $ECHO_N "(cached) $ECHO_C" >&6
10003 ac_check_lib_save_LIBS
=$LIBS
10005 cat >conftest.
$ac_ext <<_ACEOF
10008 cat confdefs.h
>>conftest.
$ac_ext
10009 cat >>conftest.
$ac_ext <<_ACEOF
10010 /* end confdefs.h. */
10012 /* Override any GCC internal prototype to avoid an error.
10013 Use char because int might match the return type of a GCC
10014 builtin and then its argument prototype would still apply. */
10027 rm -f conftest.
$ac_objext conftest
$ac_exeext
10028 if { (ac_try
="$ac_link"
10029 case "(($ac_try" in
10030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10031 *) ac_try_echo=$ac_try;;
10033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10034 (eval "$ac_link") 2>conftest.er1
10036 grep -v '^ *+' conftest.er1 >conftest.err
10038 cat conftest.err >&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); } &&
10041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10042 { (case "(($ac_try" in
10043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10044 *) ac_try_echo
=$ac_try;;
10046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10047 (eval "$ac_try") 2>&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; } &&
10051 { ac_try
='test -s conftest$ac_exeext'
10052 { (case "(($ac_try" in
10053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10054 *) ac_try_echo=$ac_try;;
10056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10057 (eval "$ac_try") 2>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; }; then
10061 ac_cv_lib_tre_regexec=yes
10063 echo "$as_me: failed program was:" >&5
10064 sed 's/^/| /' conftest.$ac_ext >&5
10066 ac_cv_lib_tre_regexec=no
10069 rm -f core conftest.err conftest.$ac_objext \
10070 conftest$ac_exeext conftest.$ac_ext
10071 LIBS=$ac_check_lib_save_LIBS
10073 { echo "$as_me:$LINENO: result: $ac_cv_lib_tre_regexec" >&5
10074 echo "${ECHO_T}$ac_cv_lib_tre_regexec" >&6; }
10075 if test $ac_cv_lib_tre_regexec = yes; then
10076 cat >>confdefs.h <<_ACEOF
10077 #define HAVE_LIBTRE 1
10083 { { 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 conveniance, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&5
10084 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 conveniance, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&2;}
10085 { (exit 1); exit 1; }; }
10092 # Check whether --with-coredumper was given.
10093 if test "${with_coredumper+set}" = set; then
10094 withval=$with_coredumper;
10097 if test "x$withval" != "x"; then
10098 { echo "$as_me:$LINENO: result: Using include dir $withval to find coredumper" >&5
10099 echo "${ECHO_T}Using include dir $withval to find coredumper" >&6; }
10100 CPPFLAGS="$CPPFLAGS -I$withval/include -L$withval/lib"
10101 LIBS="$LIBS -L$withval/lib"
10103 { echo "$as_me:$LINENO: result: Looking for coredumper in system and home dirs (${HOME})..." >&5
10104 echo "${ECHO_T}Looking for coredumper in system and home dirs (${HOME})..." >&6; }
10105 CPPFLAGS="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
10106 LIBS="$LIBS -Wl,--rpath -Wl,${HOME}/lib"
10108 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
10109 { echo "$as_me:$LINENO: checking for google/coredumper.h" >&5
10110 echo $ECHO_N "checking for google/coredumper.h... $ECHO_C" >&6; }
10111 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 { echo "$as_me:$LINENO: result: $ac_cv_header_google_coredumper_h" >&5
10115 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
10117 # Is the header compilable?
10118 { echo "$as_me:$LINENO: checking google/coredumper.h usability" >&5
10119 echo $ECHO_N "checking google/coredumper.h usability... $ECHO_C" >&6; }
10120 cat >conftest.$ac_ext <<_ACEOF
10123 cat confdefs.h >>conftest.$ac_ext
10124 cat >>conftest.$ac_ext <<_ACEOF
10125 /* end confdefs.h. */
10126 $ac_includes_default
10127 #include <google/coredumper.h>
10129 rm -f conftest.$ac_objext
10130 if { (ac_try="$ac_compile"
10131 case "(($ac_try" in
10132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10133 *) ac_try_echo
=$ac_try;;
10135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10136 (eval "$ac_compile") 2>conftest.er1
10138 grep -v '^ *+' conftest.er1
>conftest.err
10140 cat conftest.err
>&5
10141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142 (exit $ac_status); } &&
10143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10144 { (case "(($ac_try" in
10145 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10146 *) ac_try_echo=$ac_try;;
10148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10149 (eval "$ac_try") 2>&5
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); }; } &&
10153 { ac_try='test -s conftest.$ac_objext'
10154 { (case "(($ac_try" in
10155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10156 *) ac_try_echo
=$ac_try;;
10158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10159 (eval "$ac_try") 2>&5
10161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10162 (exit $ac_status); }; }; then
10163 ac_header_compiler
=yes
10165 echo "$as_me: failed program was:" >&5
10166 sed 's/^/| /' conftest.
$ac_ext >&5
10168 ac_header_compiler
=no
10171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10172 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10173 echo "${ECHO_T}$ac_header_compiler" >&6; }
10175 # Is the header present?
10176 { echo "$as_me:$LINENO: checking google/coredumper.h presence" >&5
10177 echo $ECHO_N "checking google/coredumper.h presence... $ECHO_C" >&6; }
10178 cat >conftest.
$ac_ext <<_ACEOF
10181 cat confdefs.h
>>conftest.
$ac_ext
10182 cat >>conftest.
$ac_ext <<_ACEOF
10183 /* end confdefs.h. */
10184 #include <google/coredumper.h>
10186 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10187 case "(($ac_try" in
10188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10189 *) ac_try_echo=$ac_try;;
10191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10192 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10194 grep -v '^ *+' conftest.er1 >conftest.err
10196 cat conftest.err >&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); } >/dev/null; then
10199 if test -s conftest.err; then
10200 ac_cpp_err=$ac_c_preproc_warn_flag
10201 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10208 if test -z "$ac_cpp_err"; then
10209 ac_header_preproc=yes
10211 echo "$as_me: failed program was:" >&5
10212 sed 's/^/| /' conftest.$ac_ext >&5
10214 ac_header_preproc=no
10217 rm -f conftest.err conftest.$ac_ext
10218 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10219 echo "${ECHO_T}$ac_header_preproc" >&6; }
10221 # So? What about this header?
10222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10224 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: accepted by the compiler, rejected by the preprocessor!" >&5
10225 echo "$as_me: WARNING: google/coredumper.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10226 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: proceeding with the compiler's result" >&5
10227 echo "$as_me: WARNING: google/coredumper.h: proceeding with the compiler's result" >&2;}
10228 ac_header_preproc=yes
10231 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: present but cannot be compiled" >&5
10232 echo "$as_me: WARNING: google/coredumper.h: present but cannot be compiled" >&2;}
10233 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: check for missing prerequisite headers?" >&5
10234 echo "$as_me: WARNING: google/coredumper.h: check for missing prerequisite headers?" >&2;}
10235 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: see the Autoconf documentation" >&5
10236 echo "$as_me: WARNING: google/coredumper.h: see the Autoconf documentation" >&2;}
10237 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: section \"Present But Cannot Be Compiled\"" >&5
10238 echo "$as_me: WARNING: google/coredumper.h: section \"Present But Cannot Be Compiled\"" >&2;}
10239 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: proceeding with the preprocessor's result" >&5
10240 echo "$as_me: WARNING: google/coredumper.h: proceeding with the preprocessor's result" >&2;}
10241 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: in the future, the compiler will take precedence" >&5
10242 echo "$as_me: WARNING: google/coredumper.h: in the future, the compiler will take precedence" >&2;}
10244 ## -------------------------------------------------- ##
10245 ## Report this to evilnet-devel@lists.sourceforge.net ##
10246 ## -------------------------------------------------- ##
10248 ) | sed "s/^/$as_me: WARNING: /" >&2
10251 { echo "$as_me:$LINENO: checking for google/coredumper.h" >&5
10252 echo $ECHO_N "checking for google/coredumper.h... $ECHO_C" >&6; }
10253 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
10254 echo $ECHO_N "(cached) $ECHO_C" >&6
10256 ac_cv_header_google_coredumper_h=$ac_header_preproc
10258 { echo "$as_me:$LINENO: result: $ac_cv_header_google_coredumper_h" >&5
10259 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
10262 if test $ac_cv_header_google_coredumper_h = yes; then
10265 { 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 conveniance, just type 'tools/core_install.sh' now, to install coredumper in your home directory." >&5
10266 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 conveniance, just type 'tools/core_install.sh' now, to install coredumper in your home directory." >&6; }
10271 { echo "$as_me:$LINENO: checking for WriteCoreDump in -lcoredumper" >&5
10272 echo $ECHO_N "checking for WriteCoreDump in -lcoredumper... $ECHO_C" >&6; }
10273 if test "${ac_cv_lib_coredumper_WriteCoreDump+set}" = set; then
10274 echo $ECHO_N "(cached) $ECHO_C" >&6
10276 ac_check_lib_save_LIBS=$LIBS
10277 LIBS="-lcoredumper $LIBS"
10278 cat >conftest.$ac_ext <<_ACEOF
10281 cat confdefs.h >>conftest.$ac_ext
10282 cat >>conftest.$ac_ext <<_ACEOF
10283 /* end confdefs.h. */
10285 /* Override any GCC internal prototype to avoid an error.
10286 Use char because int might match the return type of a GCC
10287 builtin and then its argument prototype would still apply. */
10291 char WriteCoreDump ();
10295 return WriteCoreDump ();
10300 rm -f conftest.$ac_objext conftest$ac_exeext
10301 if { (ac_try="$ac_link"
10302 case "(($ac_try" in
10303 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10304 *) ac_try_echo
=$ac_try;;
10306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10307 (eval "$ac_link") 2>conftest.er1
10309 grep -v '^ *+' conftest.er1
>conftest.err
10311 cat conftest.err
>&5
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); } &&
10314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10315 { (case "(($ac_try" in
10316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10317 *) ac_try_echo=$ac_try;;
10319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10320 (eval "$ac_try") 2>&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; } &&
10324 { ac_try='test -s conftest$ac_exeext'
10325 { (case "(($ac_try" in
10326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10327 *) ac_try_echo
=$ac_try;;
10329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10330 (eval "$ac_try") 2>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); }; }; then
10334 ac_cv_lib_coredumper_WriteCoreDump
=yes
10336 echo "$as_me: failed program was:" >&5
10337 sed 's/^/| /' conftest.
$ac_ext >&5
10339 ac_cv_lib_coredumper_WriteCoreDump
=no
10342 rm -f core conftest.err conftest.
$ac_objext \
10343 conftest
$ac_exeext conftest.
$ac_ext
10344 LIBS
=$ac_check_lib_save_LIBS
10346 { echo "$as_me:$LINENO: result: $ac_cv_lib_coredumper_WriteCoreDump" >&5
10347 echo "${ECHO_T}$ac_cv_lib_coredumper_WriteCoreDump" >&6; }
10348 if test $ac_cv_lib_coredumper_WriteCoreDump = yes; then
10349 cat >>confdefs.h
<<_ACEOF
10350 #define HAVE_LIBCOREDUMPER 1
10353 LIBS
="-lcoredumper $LIBS"
10356 { 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 conveniance, just type 'tools/core_install.sh' now, to install coredumper in your home directory." >&5
10357 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 conveniance, just type 'tools/core_install.sh' now, to install coredumper in your home directory." >&6; }
10363 # Check whether --with-ssl was given.
10364 if test "${with_ssl+set}" = set; then
10368 if test "x$withval" != "x"; then
10369 { echo "$as_me:$LINENO: result: Using include dir $withval to find openssl" >&5
10370 echo "${ECHO_T}Using include dir $withval to find openssl" >&6; }
10371 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
10372 LIBS
="$LIBS -L$withval/lib"
10374 { echo "$as_me:$LINENO: result: Looking for openssl in system " >&5
10375 echo "${ECHO_T}Looking for openssl in system " >&6; }
10378 { echo "$as_me:$LINENO: checking for BIO_new in -lssl" >&5
10379 echo $ECHO_N "checking for BIO_new in -lssl... $ECHO_C" >&6; }
10380 if test "${ac_cv_lib_ssl_BIO_new+set}" = set; then
10381 echo $ECHO_N "(cached) $ECHO_C" >&6
10383 ac_check_lib_save_LIBS
=$LIBS
10385 cat >conftest.
$ac_ext <<_ACEOF
10388 cat confdefs.h
>>conftest.
$ac_ext
10389 cat >>conftest.
$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10392 /* Override any GCC internal prototype to avoid an error.
10393 Use char because int might match the return type of a GCC
10394 builtin and then its argument prototype would still apply. */
10407 rm -f conftest.
$ac_objext conftest
$ac_exeext
10408 if { (ac_try
="$ac_link"
10409 case "(($ac_try" in
10410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10411 *) ac_try_echo=$ac_try;;
10413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10414 (eval "$ac_link") 2>conftest.er1
10416 grep -v '^ *+' conftest.er1 >conftest.err
10418 cat conftest.err >&5
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); } &&
10421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10422 { (case "(($ac_try" in
10423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10424 *) ac_try_echo
=$ac_try;;
10426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10427 (eval "$ac_try") 2>&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; } &&
10431 { ac_try
='test -s conftest$ac_exeext'
10432 { (case "(($ac_try" in
10433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10434 *) ac_try_echo=$ac_try;;
10436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10437 (eval "$ac_try") 2>&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); }; }; then
10441 ac_cv_lib_ssl_BIO_new=yes
10443 echo "$as_me: failed program was:" >&5
10444 sed 's/^/| /' conftest.$ac_ext >&5
10446 ac_cv_lib_ssl_BIO_new=no
10449 rm -f core conftest.err conftest.$ac_objext \
10450 conftest$ac_exeext conftest.$ac_ext
10451 LIBS=$ac_check_lib_save_LIBS
10453 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_BIO_new" >&5
10454 echo "${ECHO_T}$ac_cv_lib_ssl_BIO_new" >&6; }
10455 if test $ac_cv_lib_ssl_BIO_new = yes; then
10459 for ac_header in openssl/bio.h
10461 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10462 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10463 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10466 echo $ECHO_N "(cached) $ECHO_C" >&6
10468 ac_res=`eval echo '${'$as_ac_Header'}'`
10469 { echo "$as_me:$LINENO: result: $ac_res" >&5
10470 echo "${ECHO_T}$ac_res" >&6; }
10472 # Is the header compilable?
10473 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10474 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10475 cat >conftest.$ac_ext <<_ACEOF
10478 cat confdefs.h >>conftest.$ac_ext
10479 cat >>conftest.$ac_ext <<_ACEOF
10480 /* end confdefs.h. */
10481 $ac_includes_default
10482 #include <$ac_header>
10484 rm -f conftest.$ac_objext
10485 if { (ac_try="$ac_compile"
10486 case "(($ac_try" in
10487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10488 *) ac_try_echo
=$ac_try;;
10490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10491 (eval "$ac_compile") 2>conftest.er1
10493 grep -v '^ *+' conftest.er1
>conftest.err
10495 cat conftest.err
>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } &&
10498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10499 { (case "(($ac_try" in
10500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10501 *) ac_try_echo=$ac_try;;
10503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10504 (eval "$ac_try") 2>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); }; } &&
10508 { ac_try='test -s conftest.$ac_objext'
10509 { (case "(($ac_try" in
10510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10511 *) ac_try_echo
=$ac_try;;
10513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10514 (eval "$ac_try") 2>&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); }; }; then
10518 ac_header_compiler
=yes
10520 echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.
$ac_ext >&5
10523 ac_header_compiler
=no
10526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10527 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10528 echo "${ECHO_T}$ac_header_compiler" >&6; }
10530 # Is the header present?
10531 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10533 cat >conftest.
$ac_ext <<_ACEOF
10536 cat confdefs.h
>>conftest.
$ac_ext
10537 cat >>conftest.
$ac_ext <<_ACEOF
10538 /* end confdefs.h. */
10539 #include <$ac_header>
10541 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10542 case "(($ac_try" in
10543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10544 *) ac_try_echo=$ac_try;;
10546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10549 grep -v '^ *+' conftest.er1 >conftest.err
10551 cat conftest.err >&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); } >/dev/null; then
10554 if test -s conftest.err; then
10555 ac_cpp_err=$ac_c_preproc_warn_flag
10556 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10563 if test -z "$ac_cpp_err"; then
10564 ac_header_preproc=yes
10566 echo "$as_me: failed program was:" >&5
10567 sed 's/^/| /' conftest.$ac_ext >&5
10569 ac_header_preproc=no
10572 rm -f conftest.err conftest.$ac_ext
10573 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10574 echo "${ECHO_T}$ac_header_preproc" >&6; }
10576 # So? What about this header?
10577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10579 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10582 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10583 ac_header_preproc=yes
10586 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10587 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10588 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10589 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10590 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10591 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10592 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10593 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10596 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10597 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10599 ## -------------------------------------------------- ##
10600 ## Report this to evilnet-devel@lists.sourceforge.net ##
10601 ## -------------------------------------------------- ##
10603 ) | sed "s/^/$as_me: WARNING: /" >&2
10606 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 eval "$as_ac_Header=\$ac_header_preproc"
10613 ac_res=`eval echo '${'$as_ac_Header'}'`
10614 { echo "$as_me:$LINENO: result: $ac_res" >&5
10615 echo "${ECHO_T}$ac_res" >&6; }
10618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10619 cat >>confdefs.h <<_ACEOF
10620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10624 cat >>confdefs.h <<\_ACEOF
10628 ssl_message="LDAP library: enabled"
10632 if test "x$withval" != "x"; then
10633 { { echo "$as_me:$LINENO: error: ssl headers not found" >&5
10634 echo "$as_me: error: ssl headers not found" >&2;}
10635 { (exit 1); exit 1; }; }
10645 if test "x$withval" != "x"; then
10646 { { echo "$as_me:$LINENO: error: libldap not found or not valid" >&5
10647 echo "$as_me: error: libldap not found or not valid" >&2;}
10648 { (exit 1); exit 1; }; }
10654 { echo "$as_me:$LINENO: result: $LIBS" >&5
10655 echo "${ECHO_T}$LIBS" >&6; }
10660 # Check whether --with-ldap was given.
10661 if test "${with_ldap+set}" = set; then
10662 withval=$with_ldap;
10665 if test "x$withval" != "x"; then
10666 { echo "$as_me:$LINENO: result: Using include dir $withval to find libldap" >&5
10667 echo "${ECHO_T}Using include dir $withval to find libldap" >&6; }
10668 CPPFLAGS="$CPPFLAGS -I$withval/include -L$withval/lib"
10669 LIBS="$LIBS -L$withval/lib"
10671 { echo "$as_me:$LINENO: result: Looking for ldap in system " >&5
10672 echo "${ECHO_T}Looking for ldap in system " >&6; }
10675 { echo "$as_me:$LINENO: checking for ldap_simple_bind_s in -lldap" >&5
10676 echo $ECHO_N "checking for ldap_simple_bind_s in -lldap... $ECHO_C" >&6; }
10677 if test "${ac_cv_lib_ldap_ldap_simple_bind_s+set}" = set; then
10678 echo $ECHO_N "(cached) $ECHO_C" >&6
10680 ac_check_lib_save_LIBS=$LIBS
10681 LIBS="-lldap $LIBS"
10682 cat >conftest.$ac_ext <<_ACEOF
10685 cat confdefs.h >>conftest.$ac_ext
10686 cat >>conftest.$ac_ext <<_ACEOF
10687 /* end confdefs.h. */
10689 /* Override any GCC internal prototype to avoid an error.
10690 Use char because int might match the return type of a GCC
10691 builtin and then its argument prototype would still apply. */
10695 char ldap_simple_bind_s ();
10699 return ldap_simple_bind_s ();
10704 rm -f conftest.$ac_objext conftest$ac_exeext
10705 if { (ac_try="$ac_link"
10706 case "(($ac_try" in
10707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10708 *) ac_try_echo
=$ac_try;;
10710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10711 (eval "$ac_link") 2>conftest.er1
10713 grep -v '^ *+' conftest.er1
>conftest.err
10715 cat conftest.err
>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } &&
10718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10719 { (case "(($ac_try" in
10720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10721 *) ac_try_echo=$ac_try;;
10723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10724 (eval "$ac_try") 2>&5
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); }; } &&
10728 { ac_try='test -s conftest$ac_exeext'
10729 { (case "(($ac_try" in
10730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10731 *) ac_try_echo
=$ac_try;;
10733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10734 (eval "$ac_try") 2>&5
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); }; }; then
10738 ac_cv_lib_ldap_ldap_simple_bind_s
=yes
10740 echo "$as_me: failed program was:" >&5
10741 sed 's/^/| /' conftest.
$ac_ext >&5
10743 ac_cv_lib_ldap_ldap_simple_bind_s
=no
10746 rm -f core conftest.err conftest.
$ac_objext \
10747 conftest
$ac_exeext conftest.
$ac_ext
10748 LIBS
=$ac_check_lib_save_LIBS
10750 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_simple_bind_s" >&5
10751 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_simple_bind_s" >&6; }
10752 if test $ac_cv_lib_ldap_ldap_simple_bind_s = yes; then
10754 LIBS
="-lldap $LIBS"
10756 for ac_header
in ldap.h
10758 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10759 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10760 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10762 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10763 echo $ECHO_N "(cached) $ECHO_C" >&6
10765 ac_res
=`eval echo '${'$as_ac_Header'}'`
10766 { echo "$as_me:$LINENO: result: $ac_res" >&5
10767 echo "${ECHO_T}$ac_res" >&6; }
10769 # Is the header compilable?
10770 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10772 cat >conftest.
$ac_ext <<_ACEOF
10775 cat confdefs.h
>>conftest.
$ac_ext
10776 cat >>conftest.
$ac_ext <<_ACEOF
10777 /* end confdefs.h. */
10778 $ac_includes_default
10779 #include <$ac_header>
10781 rm -f conftest.
$ac_objext
10782 if { (ac_try
="$ac_compile"
10783 case "(($ac_try" in
10784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10785 *) ac_try_echo=$ac_try;;
10787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10788 (eval "$ac_compile") 2>conftest.er1
10790 grep -v '^ *+' conftest.er1 >conftest.err
10792 cat conftest.err >&5
10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); } &&
10795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10796 { (case "(($ac_try" in
10797 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10798 *) ac_try_echo
=$ac_try;;
10800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10801 (eval "$ac_try") 2>&5
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); }; } &&
10805 { ac_try
='test -s conftest.$ac_objext'
10806 { (case "(($ac_try" in
10807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10808 *) ac_try_echo=$ac_try;;
10810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10811 (eval "$ac_try") 2>&5
10813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10814 (exit $ac_status); }; }; then
10815 ac_header_compiler=yes
10817 echo "$as_me: failed program was:" >&5
10818 sed 's/^/| /' conftest.$ac_ext >&5
10820 ac_header_compiler=no
10823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10824 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10825 echo "${ECHO_T}$ac_header_compiler" >&6; }
10827 # Is the header present?
10828 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10830 cat >conftest.$ac_ext <<_ACEOF
10833 cat confdefs.h >>conftest.$ac_ext
10834 cat >>conftest.$ac_ext <<_ACEOF
10835 /* end confdefs.h. */
10836 #include <$ac_header>
10838 if { (ac_try="$ac_cpp conftest.$ac_ext"
10839 case "(($ac_try" in
10840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10841 *) ac_try_echo
=$ac_try;;
10843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10846 grep -v '^ *+' conftest.er1
>conftest.err
10848 cat conftest.err
>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); } >/dev
/null
; then
10851 if test -s conftest.err
; then
10852 ac_cpp_err
=$ac_c_preproc_warn_flag
10853 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10860 if test -z "$ac_cpp_err"; then
10861 ac_header_preproc
=yes
10863 echo "$as_me: failed program was:" >&5
10864 sed 's/^/| /' conftest.
$ac_ext >&5
10866 ac_header_preproc
=no
10869 rm -f conftest.err conftest.
$ac_ext
10870 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10871 echo "${ECHO_T}$ac_header_preproc" >&6; }
10873 # So? What about this header?
10874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10880 ac_header_preproc
=yes
10883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10887 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10889 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10890 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10893 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10896 ## -------------------------------------------------- ##
10897 ## Report this to evilnet-devel@lists.sourceforge.net ##
10898 ## -------------------------------------------------- ##
10900 ) | sed "s/^/$as_me: WARNING: /" >&2
10903 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10905 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10906 echo $ECHO_N "(cached) $ECHO_C" >&6
10908 eval "$as_ac_Header=\$ac_header_preproc"
10910 ac_res
=`eval echo '${'$as_ac_Header'}'`
10911 { echo "$as_me:$LINENO: result: $ac_res" >&5
10912 echo "${ECHO_T}$ac_res" >&6; }
10915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10916 cat >>confdefs.h
<<_ACEOF
10917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10921 cat >>confdefs.h
<<\_ACEOF
10922 #define WITH_LDAP 1
10925 ldap_message
="LDAP library: enabled"
10929 if test "x$withval" != "x"; then
10930 { { echo "$as_me:$LINENO: error: ldap.h not found" >&5
10931 echo "$as_me: error: ldap.h not found" >&2;}
10932 { (exit 1); exit 1; }; }
10942 if test "x$withval" != "x"; then
10943 { { echo "$as_me:$LINENO: error: libldap not found or not valid" >&5
10944 echo "$as_me: error: libldap not found or not valid" >&2;}
10945 { (exit 1); exit 1; }; }
10951 { echo "$as_me:$LINENO: result: $LIBS" >&5
10952 echo "${ECHO_T}$LIBS" >&6; }
10955 cat >>confdefs.h
<<_ACEOF
10956 #define CODENAME "${CODENAME}"
10964 ac_config_files
="$ac_config_files Makefile rx/Makefile src/Makefile"
10966 cat >confcache
<<\_ACEOF
10967 # This file is a shell script that caches the results of configure
10968 # tests run on this system so they can be shared between configure
10969 # scripts and configure runs, see configure's option --config-cache.
10970 # It is not useful on other systems. If it contains results you don't
10971 # want to keep, you may remove or edit it.
10973 # config.status only pays attention to the cache file if you give it
10974 # the --recheck option to rerun configure.
10976 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10977 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10978 # following values.
10982 # The following way of writing the cache mishandles newlines in values,
10983 # but we know of no workaround that is simple, portable, and efficient.
10984 # So, we kill variables containing newlines.
10985 # Ultrix sh set writes to stderr and can't be redirected directly,
10986 # and sets the high bit in the cache file unless we assign to the vars.
10988 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10989 eval ac_val
=\$
$ac_var
10993 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10994 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10997 _
| IFS
| as_nl
) ;; #(
10998 *) $as_unset $ac_var ;;
11004 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11005 *${as_nl}ac_space
=\
*)
11006 # `set' does not quote correctly, so add quotes (double-quote
11007 # substitution turns \\\\ into \\, and sed turns \\ into \).
11010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11013 # `set' quotes correctly as required by POSIX, so do not add quotes.
11014 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11023 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11025 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11027 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11028 if test -w "$cache_file"; then
11029 test "x$cache_file" != "x/dev/null" &&
11030 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11031 echo "$as_me: updating cache $cache_file" >&6;}
11032 cat confcache
>$cache_file
11034 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11035 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11040 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11041 # Let make expand exec_prefix.
11042 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11044 DEFS
=-DHAVE_CONFIG_H
11048 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11049 # 1. Remove the extension, and $U if already installed.
11050 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11051 ac_i
=`echo "$ac_i" | sed "$ac_script"`
11052 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11053 # will be set to the directory where LIBOBJS objects are built.
11054 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11055 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11057 LIBOBJS
=$ac_libobjs
11059 LTLIBOBJS
=$ac_ltlibobjs
11062 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11063 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11064 Usually this means the macro was only invoked conditionally." >&5
11065 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11066 Usually this means the macro was only invoked conditionally." >&2;}
11067 { (exit 1); exit 1; }; }
11069 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11070 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11071 Usually this means the macro was only invoked conditionally." >&5
11072 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11073 Usually this means the macro was only invoked conditionally." >&2;}
11074 { (exit 1); exit 1; }; }
11076 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11077 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11078 Usually this means the macro was only invoked conditionally." >&5
11079 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11080 Usually this means the macro was only invoked conditionally." >&2;}
11081 { (exit 1); exit 1; }; }
11083 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11084 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11085 Usually this means the macro was only invoked conditionally." >&5
11086 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11087 Usually this means the macro was only invoked conditionally." >&2;}
11088 { (exit 1); exit 1; }; }
11091 : ${CONFIG_STATUS=./config.status}
11092 ac_clean_files_save
=$ac_clean_files
11093 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11094 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11095 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11096 cat >$CONFIG_STATUS <<_ACEOF
11098 # Generated by $as_me.
11099 # Run this file to recreate the current configuration.
11100 # Compiler output produced by configure, useful for debugging
11101 # configure, is in config.log if it exists.
11104 ac_cs_recheck=false
11106 SHELL=\${CONFIG_SHELL-$SHELL}
11109 cat >>$CONFIG_STATUS <<\_ACEOF
11110 ## --------------------- ##
11111 ## M4sh Initialization. ##
11112 ## --------------------- ##
11114 # Be Bourne compatible
11115 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11118 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11119 # is contrary to our usage. Disable this feature.
11120 alias -g '${1+"$@"}'='"$@"'
11121 setopt NO_GLOB_SUBST
11123 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
11125 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
11126 DUALCASE
=1; export DUALCASE
# for MKS sh
11130 # Avoid depending upon Character Ranges.
11131 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11132 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11133 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11134 as_cr_digits
='0123456789'
11135 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11137 # The user is always right.
11138 if test "${PATH_SEPARATOR+set}" != set; then
11139 echo "#! /bin/sh" >conf$$.sh
11140 echo "exit 0" >>conf$$.sh
11142 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11150 # Support unset when possible.
11151 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
11159 # We need space, tab and new line, in precisely that order. Quoting is
11160 # there to prevent editors from complaining about space-tab.
11161 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11162 # splitting by setting IFS to empty value.)
11167 # Find who we are. Look in the path if we contain no directory separator.
11169 *[\\/]* ) as_myself
=$0 ;;
11170 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11171 for as_dir
in $PATH
11174 test -z "$as_dir" && as_dir
=.
11175 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11181 # We did not find ourselves, most probably we were run as `sh COMMAND'
11182 # in which case we are not to be found in the path.
11183 if test "x$as_myself" = x
; then
11186 if test ! -f "$as_myself"; then
11187 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11188 { (exit 1); exit 1; }
11191 # Work around bugs in pre-3.0 UWIN ksh.
11192 for as_var
in ENV MAIL MAILPATH
11193 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
11201 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11202 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11203 LC_TELEPHONE LC_TIME
11205 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11206 eval $as_var=C
; export $as_var
11208 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
11212 # Required to use basename.
11213 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11214 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11220 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11221 as_basename
=basename
11227 # Name of the executable.
11228 as_me
=`$as_basename -- "$0" ||
11229 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11230 X"$0" : 'X\(//\)$' \| \
11231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11233 sed '/^.*\/\([^/][^/]*\)\/*$/{
11252 as_lineno_1
=$LINENO
11253 as_lineno_2
=$LINENO
11254 test "x$as_lineno_1" != "x$as_lineno_2" &&
11255 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11257 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11258 # uniformly replaced by the line number. The first 'sed' inserts a
11259 # line-number line after each line using $LINENO; the second 'sed'
11260 # does the real work. The second script uses 'N' to pair each
11261 # line-number line with the line containing $LINENO, and appends
11262 # trailing '-' during substitution so that $LINENO is not a special
11263 # case at line end.
11264 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11265 # scripts with optimization help from Paolo Bonzini. Blame Lee
11266 # E. McMahon (1931-1989) for sed's syntax. :-)
11278 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11281 ' >$as_me.lineno
&&
11282 chmod +x
"$as_me.lineno" ||
11283 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11284 { (exit 1); exit 1; }; }
11286 # Don't try to exec as it changes $[0], causing all sort of problems
11287 # (the dirname of $[0] is not the place where we might find the
11288 # original and so on. Autoconf is especially sensitive to this).
11289 .
"./$as_me.lineno"
11290 # Exit status is that of the last command.
11295 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11301 ECHO_C
= ECHO_N
= ECHO_T
=
11302 case `echo -n x` in
11304 case `echo 'x\c'` in
11305 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11312 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11313 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11319 rm -f conf$$ conf$$.exe conf$$.
file
11320 if test -d conf$$.dir
; then
11321 rm -f conf$$.dir
/conf$$.
file
11327 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11329 # ... but there are two gotchas:
11330 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11331 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11332 # In both cases, we have to default to `cp -p'.
11333 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
11335 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11340 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11341 rmdir conf$$.dir
2>/dev
/null
11343 if mkdir -p .
2>/dev
/null
; then
11346 test -d .
/-p && rmdir .
/-p
11350 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
11351 # systems may use methods other than mode bits to determine executability.
11352 cat >conf$$.
file <<_ASEOF
11356 chmod +x conf$$.
file
11357 if test -x conf$$.
file >/dev
/null
2>&1; then
11358 as_executable_p
="test -x"
11364 # Sed expression to map a string onto a valid CPP name.
11365 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11367 # Sed expression to map a string onto a valid variable name.
11368 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11373 # Save the log message, to keep $[0] and so on meaningful, and to
11374 # report actual input values of CONFIG_FILES etc. instead of their
11375 # values after options handling.
11377 This file was extended by X3 $as_me 1.5, which was
11378 generated by GNU Autoconf 2.60. Invocation command line was
11380 CONFIG_FILES = $CONFIG_FILES
11381 CONFIG_HEADERS = $CONFIG_HEADERS
11382 CONFIG_LINKS = $CONFIG_LINKS
11383 CONFIG_COMMANDS = $CONFIG_COMMANDS
11386 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11391 cat >>$CONFIG_STATUS <<_ACEOF
11392 # Files that config.status was made for.
11393 config_files="$ac_config_files"
11394 config_headers="$ac_config_headers"
11395 config_commands="$ac_config_commands"
11399 cat >>$CONFIG_STATUS <<\_ACEOF
11401 \`$as_me' instantiates files from templates according to the
11402 current configuration.
11404 Usage: $0 [OPTIONS] [FILE]...
11406 -h, --help print this help, then exit
11407 -V, --version print version number, then exit
11408 -q, --quiet do not print progress messages
11409 -d, --debug don't remove temporary files
11410 --recheck update $as_me by reconfiguring in the same conditions
11411 --file=FILE[:TEMPLATE]
11412 instantiate the configuration file FILE
11413 --header=FILE[:TEMPLATE]
11414 instantiate the configuration header FILE
11416 Configuration files:
11419 Configuration headers:
11422 Configuration commands:
11425 Report bugs to <bug-autoconf@gnu.org>."
11428 cat >>$CONFIG_STATUS <<_ACEOF
11430 X3 config.status 1.5
11431 configured by $0, generated by GNU Autoconf 2.60,
11432 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11434 Copyright (C) 2006 Free Software Foundation, Inc.
11435 This config.status script is free software; the Free Software Foundation
11436 gives unlimited permission to copy, distribute and modify it."
11443 cat >>$CONFIG_STATUS <<\_ACEOF
11444 # If no file are specified by the user, then we need to provide default
11445 # value. By we need to know if files were specified by the user.
11451 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11452 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11463 # Handling of the options.
11464 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11466 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11467 echo "$ac_cs_version"; exit ;;
11468 --debug | --debu | --deb | --de | --d | -d )
11470 --file | --fil | --fi | --f )
11472 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11473 ac_need_defaults
=false
;;
11474 --header | --heade | --head | --hea )
11476 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11477 ac_need_defaults
=false
;;
11479 # Conflict between --help and --header
11480 { echo "$as_me: error: ambiguous option: $1
11481 Try \`$0 --help' for more information." >&2
11482 { (exit 1); exit 1; }; };;
11483 --help | --hel | -h )
11484 echo "$ac_cs_usage"; exit ;;
11485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11486 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11489 # This is an error.
11490 -*) { echo "$as_me: error: unrecognized option: $1
11491 Try \`$0 --help' for more information." >&2
11492 { (exit 1); exit 1; }; } ;;
11494 *) ac_config_targets
="$ac_config_targets $1"
11495 ac_need_defaults
=false
;;
11501 ac_configure_extra_args
=
11503 if $ac_cs_silent; then
11505 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11509 cat >>$CONFIG_STATUS <<_ACEOF
11510 if \$ac_cs_recheck; then
11511 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11512 CONFIG_SHELL=$SHELL
11513 export CONFIG_SHELL
11514 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11518 cat >>$CONFIG_STATUS <<\_ACEOF
11522 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11523 ## Running $as_me. ##
11529 cat >>$CONFIG_STATUS <<_ACEOF
11533 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11537 cat >>$CONFIG_STATUS <<\_ACEOF
11539 # Handling of arguments.
11540 for ac_config_target
in $ac_config_targets
11542 case $ac_config_target in
11543 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
11544 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
11545 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11546 "rx/Makefile") CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
11547 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
11549 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11550 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11551 { (exit 1); exit 1; }; };;
11556 # If the user did not use the arguments to specify the items to instantiate,
11557 # then the envvar interface is used. Set only those that are not.
11558 # We use the long form for the default assignment because of an extremely
11559 # bizarre bug on SunOS 4.1.3.
11560 if $ac_need_defaults; then
11561 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11562 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11563 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11566 # Have a temporary directory for convenience. Make it in the build tree
11567 # simply because there is no reason against having it here, and in addition,
11568 # creating and moving files from /tmp can sometimes cause problems.
11569 # Hook for its removal unless debugging.
11570 # Note that there is a small window in which the directory will not be cleaned:
11571 # after its creation but before its name has been assigned to `$tmp'.
11575 trap 'exit_status=$?
11576 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11578 trap '{ (exit 1); exit 1; }' 1 2 13 15
11580 # Create a (secure) tmp directory for tmp files.
11583 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11584 test -n "$tmp" && test -d "$tmp"
11587 tmp
=.
/conf$$
-$RANDOM
11588 (umask 077 && mkdir "$tmp")
11591 echo "$me: cannot create a temporary directory in ." >&2
11592 { (exit 1); exit 1; }
11596 # Set up the sed scripts for CONFIG_FILES section.
11599 # No need to generate the scripts if there are no CONFIG_FILES.
11600 # This happens for instance when ./config.status config.h
11601 if test -n "$CONFIG_FILES"; then
11608 for ac_last_try
in false false false false false
:; do
11609 cat >conf$
$subs.
sed <<_ACEOF
11610 SHELL!$SHELL$ac_delim
11611 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11612 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11613 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11614 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11615 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11616 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11617 exec_prefix!$exec_prefix$ac_delim
11618 prefix!$prefix$ac_delim
11619 program_transform_name!$program_transform_name$ac_delim
11620 bindir!$bindir$ac_delim
11621 sbindir!$sbindir$ac_delim
11622 libexecdir!$libexecdir$ac_delim
11623 datarootdir!$datarootdir$ac_delim
11624 datadir!$datadir$ac_delim
11625 sysconfdir!$sysconfdir$ac_delim
11626 sharedstatedir!$sharedstatedir$ac_delim
11627 localstatedir!$localstatedir$ac_delim
11628 includedir!$includedir$ac_delim
11629 oldincludedir!$oldincludedir$ac_delim
11630 docdir!$docdir$ac_delim
11631 infodir!$infodir$ac_delim
11632 htmldir!$htmldir$ac_delim
11633 dvidir!$dvidir$ac_delim
11634 pdfdir!$pdfdir$ac_delim
11635 psdir!$psdir$ac_delim
11636 libdir!$libdir$ac_delim
11637 localedir!$localedir$ac_delim
11638 mandir!$mandir$ac_delim
11639 DEFS!$DEFS$ac_delim
11640 ECHO_C!$ECHO_C$ac_delim
11641 ECHO_N!$ECHO_N$ac_delim
11642 ECHO_T!$ECHO_T$ac_delim
11643 LIBS!$LIBS$ac_delim
11644 build_alias!$build_alias$ac_delim
11645 host_alias!$host_alias$ac_delim
11646 target_alias!$target_alias$ac_delim
11647 build!$build$ac_delim
11648 build_cpu!$build_cpu$ac_delim
11649 build_vendor!$build_vendor$ac_delim
11650 build_os!$build_os$ac_delim
11651 host!$host$ac_delim
11652 host_cpu!$host_cpu$ac_delim
11653 host_vendor!$host_vendor$ac_delim
11654 host_os!$host_os$ac_delim
11655 target!$target$ac_delim
11656 target_cpu!$target_cpu$ac_delim
11657 target_vendor!$target_vendor$ac_delim
11658 target_os!$target_os$ac_delim
11659 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
11660 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
11661 INSTALL_DATA!$INSTALL_DATA$ac_delim
11662 CYGPATH_W!$CYGPATH_W$ac_delim
11663 PACKAGE!$PACKAGE$ac_delim
11664 VERSION!$VERSION$ac_delim
11665 ACLOCAL!$ACLOCAL$ac_delim
11666 AUTOCONF!$AUTOCONF$ac_delim
11667 AUTOMAKE!$AUTOMAKE$ac_delim
11668 AUTOHEADER!$AUTOHEADER$ac_delim
11669 MAKEINFO!$MAKEINFO$ac_delim
11670 install_sh!$install_sh$ac_delim
11671 STRIP!$STRIP$ac_delim
11672 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
11673 mkdir_p!$mkdir_p$ac_delim
11675 SET_MAKE!$SET_MAKE$ac_delim
11676 am__leading_dot!$am__leading_dot$ac_delim
11677 AMTAR!$AMTAR$ac_delim
11678 am__tar!$am__tar$ac_delim
11679 am__untar!$am__untar$ac_delim
11680 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
11681 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
11682 MAINT!$MAINT$ac_delim
11684 CFLAGS!$CFLAGS$ac_delim
11685 LDFLAGS!$LDFLAGS$ac_delim
11686 CPPFLAGS!$CPPFLAGS$ac_delim
11687 ac_ct_CC!$ac_ct_CC$ac_delim
11688 EXEEXT!$EXEEXT$ac_delim
11689 OBJEXT!$OBJEXT$ac_delim
11690 DEPDIR!$DEPDIR$ac_delim
11691 am__include!$am__include$ac_delim
11692 am__quote!$am__quote$ac_delim
11693 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
11694 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
11695 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
11696 CCDEPMODE!$CCDEPMODE$ac_delim
11697 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
11698 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
11699 RANLIB!$RANLIB$ac_delim
11700 LN_S!$LN_S$ac_delim
11702 GREP!$GREP$ac_delim
11703 EGREP!$EGREP$ac_delim
11704 MAKER!$MAKER$ac_delim
11705 ALLOCA!$ALLOCA$ac_delim
11706 MODULE_OBJS!$MODULE_OBJS$ac_delim
11709 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
11711 elif $ac_last_try; then
11712 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11713 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11714 { (exit 1); exit 1; }; }
11716 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
11720 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11721 if test -n "$ac_eof"; then
11722 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
11723 ac_eof
=`expr $ac_eof + 1`
11726 cat >>$CONFIG_STATUS <<_ACEOF
11727 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11728 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11731 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11732 s/^/s,@/; s/!/@,|#_!!_#|/
11735 s/'"$ac_delim"'$/,g/; t
11737 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11738 ' >>$CONFIG_STATUS <conf$
$subs.
sed
11739 rm -f conf$
$subs.
sed
11740 cat >>$CONFIG_STATUS <<_ACEOF
11746 for ac_last_try
in false false false false false
:; do
11747 cat >conf$
$subs.
sed <<_ACEOF
11748 MY_SUBDIRS!$MY_SUBDIRS$ac_delim
11749 RX_INCLUDES!$RX_INCLUDES$ac_delim
11750 RX_LIBS!$RX_LIBS$ac_delim
11751 TRACK!$TRACK$ac_delim
11752 LIBOBJS!$LIBOBJS$ac_delim
11753 LTLIBOBJS!$LTLIBOBJS$ac_delim
11756 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
11758 elif $ac_last_try; then
11759 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11760 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11761 { (exit 1); exit 1; }; }
11763 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
11767 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11768 if test -n "$ac_eof"; then
11769 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
11770 ac_eof
=`expr $ac_eof + 1`
11773 cat >>$CONFIG_STATUS <<_ACEOF
11774 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
11775 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11778 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11779 s/^/s,@/; s/!/@,|#_!!_#|/
11782 s/'"$ac_delim"'$/,g/; t
11784 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11785 ' >>$CONFIG_STATUS <conf$
$subs.
sed
11786 rm -f conf$
$subs.
sed
11787 cat >>$CONFIG_STATUS <<_ACEOF
11794 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11795 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11796 # trailing colons and then remove the whole line if VPATH becomes empty
11797 # (actually we leave an empty line to preserve line numbers).
11798 if test "x$srcdir" = x.
; then
11799 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11800 s/:*\$(srcdir):*/:/
11801 s/:*\${srcdir}:*/:/
11803 s/^\([^=]*=[ ]*\):*/\1/
11809 cat >>$CONFIG_STATUS <<\_ACEOF
11810 fi # test -n "$CONFIG_FILES"
11813 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
11816 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11818 case $ac_mode$ac_tag in
11820 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11821 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11822 { (exit 1); exit 1; }; };;
11823 :[FH
]-) ac_tag
=-:-;;
11824 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11841 -) ac_f
="$tmp/stdin";;
11842 *) # Look for the file first in the build tree, then in the source tree
11843 # (if the path is not absolute). The absolute path cannot be DOS-style,
11844 # because $ac_f cannot contain `:'.
11848 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11850 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11851 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11852 { (exit 1); exit 1; }; };;
11854 ac_file_inputs
="$ac_file_inputs $ac_f"
11857 # Let's still pretend it is `configure' which instantiates (i.e., don't
11858 # use $as_me), people would be surprised to read:
11859 # /* config.h. Generated by config.status. */
11860 configure_input
="Generated from "`IFS=:
11861 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11862 if test x
"$ac_file" != x
-; then
11863 configure_input
="$ac_file. $configure_input"
11864 { echo "$as_me:$LINENO: creating $ac_file" >&5
11865 echo "$as_me: creating $ac_file" >&6;}
11869 *:-:* | *:-) cat >"$tmp/stdin";;
11874 ac_dir
=`$as_dirname -- "$ac_file" ||
11875 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11876 X"$ac_file" : 'X\(//\)[^/]' \| \
11877 X"$ac_file" : 'X\(//\)$' \| \
11878 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11884 /^X\(\/\/\)[^/].*/{
11899 -*) as_dir
=.
/$as_dir;;
11901 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11905 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11906 *) as_qdir
=$as_dir;;
11908 as_dirs
="'$as_qdir' $as_dirs"
11909 as_dir
=`$as_dirname -- "$as_dir" ||
11910 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11911 X"$as_dir" : 'X\(//\)[^/]' \| \
11912 X"$as_dir" : 'X\(//\)$' \| \
11913 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11919 /^X\(\/\/\)[^/].*/{
11932 test -d "$as_dir" && break
11934 test -z "$as_dirs" || eval "mkdir $as_dirs"
11935 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11936 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11937 { (exit 1); exit 1; }; }; }
11941 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11943 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11944 # A ".." for each directory in $ac_dir_suffix.
11945 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11946 case $ac_top_builddir_sub in
11947 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11948 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11951 ac_abs_top_builddir
=$ac_pwd
11952 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11953 # for backward compatibility:
11954 ac_top_builddir
=$ac_top_build_prefix
11957 .
) # We are building in place.
11959 ac_top_srcdir
=$ac_top_builddir_sub
11960 ac_abs_top_srcdir
=$ac_pwd ;;
11961 [\\/]* | ?
:[\\/]* ) # Absolute name.
11962 ac_srcdir
=$srcdir$ac_dir_suffix;
11963 ac_top_srcdir
=$srcdir
11964 ac_abs_top_srcdir
=$srcdir ;;
11965 *) # Relative name.
11966 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11967 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11968 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11970 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11980 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11981 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
11985 cat >>$CONFIG_STATUS <<\_ACEOF
11986 # If the template does not know about datarootdir, expand it.
11987 # FIXME: This hack should be removed a few years after 2.60.
11988 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11990 case `sed -n '/datarootdir/ {
11999 ' $ac_file_inputs` in
12000 *datarootdir
*) ac_datarootdir_seen
=yes;;
12001 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
12002 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12003 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12005 cat >>$CONFIG_STATUS <<_ACEOF
12006 ac_datarootdir_hack='
12007 s&@datadir@&$datadir&g
12008 s&@docdir@&$docdir&g
12009 s&@infodir@&$infodir&g
12010 s&@localedir@&$localedir&g
12011 s&@mandir@&$mandir&g
12012 s&\\\${datarootdir}&$datarootdir&g' ;;
12016 # Neutralize VPATH when `$srcdir' = `.'.
12017 # Shell code in configure.ac might set extrasub.
12018 # FIXME: do we really want to maintain this feature?
12019 cat >>$CONFIG_STATUS <<_ACEOF
12023 cat >>$CONFIG_STATUS <<\_ACEOF
12025 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
12026 s
&@configure_input@
&$configure_input&;t t
12027 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12028 s
&@srcdir@
&$ac_srcdir&;t t
12029 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12030 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12031 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12032 s
&@builddir@
&$ac_builddir&;t t
12033 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12034 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12035 s
&@INSTALL@
&$ac_INSTALL&;t t
12036 $ac_datarootdir_hack
12037 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out
12039 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12040 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12041 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12042 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12043 which seems to be undefined. Please make sure it is defined." >&5
12044 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12045 which seems to be undefined. Please make sure it is defined." >&2;}
12049 -) cat "$tmp/out"; rm -f "$tmp/out";;
12050 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12059 # Transform confdefs.h into a sed script `conftest.defines', that
12060 # substitutes the proper values into config.h.in to produce config.h.
12061 rm -f conftest.defines conftest.
tail
12062 # First, append a space to every undef/define line, to ease matching.
12063 echo 's/$/ /' >conftest.defines
12064 # Then, protect against being on the right side of a sed subst, or in
12065 # an unquoted here document, in config.status. If some macros were
12066 # called several times there might be several #defines for the same
12067 # symbol, which is useless. But do not sort them, since the last
12068 # AC_DEFINE must be honored.
12069 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
12070 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12071 # NAME is the cpp macro being defined, VALUE is the value it is being given.
12072 # PARAMS is the parameter list in the macro definition--in most cases, it's
12073 # just an empty string.
12074 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12075 ac_dB
='\\)[ (].*,\\1define\\2'
12083 s/^[ ]*#[ ]*define[ ][ ]*//
12088 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12089 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12090 ' >>conftest.defines
12092 # Remove the space that was appended to ease matching.
12093 # Then replace #undef with comments. This is necessary, for
12094 # example, in the case of _POSIX_SOURCE, which is predefined and required
12095 # on some systems where configure will not decide to define it.
12096 # (The regexp can be short, since the line contains either #define or #undef.)
12098 s,^[ #]*u.*,/* & */,' >>conftest.defines
12100 # Break up conftest.defines:
12101 ac_max_sed_lines
=50
12103 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12104 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12105 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12107 ac_in
='$ac_file_inputs'
12108 ac_out
='"$tmp/out1"'
12109 ac_nxt
='"$tmp/out2"'
12113 # Write a here document:
12114 cat >>$CONFIG_STATUS <<_ACEOF
12115 # First, check the format of the line:
12116 cat >"\$tmp/defines.sed" <<\\CEOF
12117 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
12118 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
12122 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
12124 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
12125 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
12126 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
12127 grep . conftest.
tail >/dev
/null
|| break
12128 rm -f conftest.defines
12129 mv conftest.
tail conftest.defines
12131 rm -f conftest.defines conftest.
tail
12133 echo "ac_result=$ac_in" >>$CONFIG_STATUS
12134 cat >>$CONFIG_STATUS <<\_ACEOF
12135 if test x
"$ac_file" != x
-; then
12136 echo "/* $configure_input */" >"$tmp/config.h"
12137 cat "$ac_result" >>"$tmp/config.h"
12138 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
12139 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12140 echo "$as_me: $ac_file is unchanged" >&6;}
12143 mv "$tmp/config.h" $ac_file
12146 echo "/* $configure_input */"
12150 # Compute $ac_file's index in $config_headers.
12152 for _am_header
in $config_headers :; do
12153 case $_am_header in
12154 $ac_file | $ac_file:* )
12157 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12160 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
12161 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12162 X$ac_file : 'X\(//\)[^/]' \| \
12163 X$ac_file : 'X\(//\)$' \| \
12164 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
12166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12170 /^X\(\/\/\)[^/].*/{
12182 s/.*/./; q'`/stamp
-h$_am_stamp_count
12185 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
12186 echo "$as_me: executing $ac_file commands" >&6;}
12191 case $ac_file$ac_mode in
12192 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
12193 # Strip MF so we end up with the name of the file.
12194 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12195 # Check whether this is an Automake generated Makefile or not.
12196 # We used to match only the files named `Makefile.in', but
12197 # some people rename them; so instead we look at the file content.
12198 # Grep'ing the first line is not enough: some people post-process
12199 # each Makefile.in and add a new line on top of each file to say so.
12200 # So let's grep whole file.
12201 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
12202 dirpart
=`$as_dirname -- "$mf" ||
12203 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12204 X"$mf" : 'X\(//\)[^/]' \| \
12205 X"$mf" : 'X\(//\)$' \| \
12206 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12212 /^X\(\/\/\)[^/].*/{
12228 # Extract the definition of DEPDIR, am__include, and am__quote
12229 # from the Makefile without running `make'.
12230 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12231 test -z "$DEPDIR" && continue
12232 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12233 test -z "am__include" && continue
12234 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12235 # When using ansi2knr, U may be empty or an underscore; expand it
12236 U
=`sed -n 's/^U = //p' < "$mf"`
12237 # Find all dependency output files, they are included files with
12238 # $(DEPDIR) in their names. We invoke sed twice because it is the
12239 # simplest approach to changing $(DEPDIR) to its actual value in the
12241 for file in `sed -n "
12242 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12243 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12244 # Make sure the directory exists.
12245 test -f "$dirpart/$file" && continue
12246 fdir
=`$as_dirname -- "$file" ||
12247 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12248 X"$file" : 'X\(//\)[^/]' \| \
12249 X"$file" : 'X\(//\)$' \| \
12250 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12256 /^X\(\/\/\)[^/].*/{
12269 { as_dir
=$dirpart/$fdir
12271 -*) as_dir
=.
/$as_dir;;
12273 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12277 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12278 *) as_qdir
=$as_dir;;
12280 as_dirs
="'$as_qdir' $as_dirs"
12281 as_dir
=`$as_dirname -- "$as_dir" ||
12282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12283 X"$as_dir" : 'X\(//\)[^/]' \| \
12284 X"$as_dir" : 'X\(//\)$' \| \
12285 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12291 /^X\(\/\/\)[^/].*/{
12304 test -d "$as_dir" && break
12306 test -z "$as_dirs" || eval "mkdir $as_dirs"
12307 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12308 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12309 { (exit 1); exit 1; }; }; }
12310 # echo "creating $dirpart/$file"
12311 echo '# dummy' > "$dirpart/$file"
12320 { (exit 0); exit 0; }
12322 chmod +x
$CONFIG_STATUS
12323 ac_clean_files
=$ac_clean_files_save
12326 # configure is writing to config.log, and then calls config.status.
12327 # config.status does its own redirection, appending to config.log.
12328 # Unfortunately, on DOS this fails, as config.log is still kept open
12329 # by configure, so config.status won't be able to write to it; its
12330 # output is simply discarded. So we exec the FD to /dev/null,
12331 # effectively closing config.log, so it can be properly (re)opened and
12332 # appended to by config.status. When coming back to configure, we
12333 # need to make the FD available again.
12334 if test "$no_create" != yes; then
12336 ac_config_status_args
=
12337 test "$silent" = yes &&
12338 ac_config_status_args
="$ac_config_status_args --quiet"
12340 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12342 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12343 # would make configure fail if this is the last instruction.
12344 $ac_cs_success || { (exit 1); exit 1; }
12352 Configuration summary
12353 =====================
12355 X3 is now configured as follows:
12357 * Compilation environment
12362 CPPFLAGS = $CPPFLAGS
12370 Extra Modules: $module_list
12373 Regexp Library TRE $tre_version
12374 Coredumper Library Coredumper $core_version
12377 Install to: $prefix
12379 Now you can proceed with compiling X3