2 # From configure.in Id: configure.in 1829 2006-12-12 10:50:48Z sirvulcan .
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.
1319 Some influential environment variables
:
1320 CC C compiler
command
1321 CFLAGS C compiler flags
1322 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1323 nonstandard directory
<lib dir
>
1324 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1325 you have headers
in a nonstandard directory
<include dir
>
1328 Use these variables to override the choices made by
`configure' or to help
1329 it to find libraries and programs with nonstandard names/locations.
1331 Report bugs to <evilnet-devel@lists.sourceforge.net>.
1336 if test "$ac_init_help" = "recursive"; then
1337 # If there are subdirs, report their specific --help.
1338 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1339 test -d "$ac_dir" || continue
1343 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1346 # A ".." for each directory in $ac_dir_suffix.
1347 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1348 case $ac_top_builddir_sub in
1349 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1350 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1353 ac_abs_top_builddir=$ac_pwd
1354 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1355 # for backward compatibility:
1356 ac_top_builddir=$ac_top_build_prefix
1359 .) # We are building in place.
1361 ac_top_srcdir=$ac_top_builddir_sub
1362 ac_abs_top_srcdir=$ac_pwd ;;
1363 [\\/]* | ?:[\\/]* ) # Absolute name.
1364 ac_srcdir=$srcdir$ac_dir_suffix;
1365 ac_top_srcdir=$srcdir
1366 ac_abs_top_srcdir=$srcdir ;;
1368 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1369 ac_top_srcdir=$ac_top_build_prefix$srcdir
1370 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1372 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1374 cd "$ac_dir" || { ac_status=$?; continue; }
1375 # Check for guested configure.
1376 if test -f "$ac_srcdir/configure.gnu"; then
1378 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1379 elif test -f "$ac_srcdir/configure"; then
1381 $SHELL "$ac_srcdir/configure" --help=recursive
1383 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1385 cd "$ac_pwd" || { ac_status=$?; break; }
1389 test -n "$ac_init_help" && exit $ac_status
1390 if $ac_init_version; then
1393 generated by GNU Autoconf 2.60
1395 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1396 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1397 This configure script is free software; the Free Software Foundation
1398 gives unlimited permission to copy, distribute and modify it.
1402 cat >config.log <<_ACEOF
1403 This file contains any messages produced by compilers while
1404 running configure, to aid debugging if configure makes a mistake.
1406 It was created by X3 $as_me 1.5, which was
1407 generated by GNU Autoconf 2.60. Invocation command line was
1419 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1420 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1421 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1422 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1423 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1425 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1426 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1428 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1429 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1430 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1431 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1432 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1433 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1434 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1442 test -z "$as_dir" && as_dir=.
1443 echo "PATH: $as_dir"
1459 # Keep a trace of the command line.
1460 # Strip out --no-create and --no-recursion so they do not pile up.
1461 # Strip out --silent because we don't want to record it for future runs.
1462 # Also quote any args containing shell meta-characters.
1463 # Make two passes to allow for proper duplicate-argument suppression.
1467 ac_must_keep_next=false
1473 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1474 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1475 | -silent | --silent | --silen | --sile | --sil)
1478 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1481 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1483 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1484 if test $ac_must_keep_next = true; then
1485 ac_must_keep_next=false # Got value, back to normal.
1488 *=* | --config-cache | -C | -disable-* | --disable-* \
1489 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1490 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1491 | -with-* | --with-* | -without-* | --without-* | --x)
1492 case "$ac_configure_args0 " in
1493 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1496 -* ) ac_must_keep_next=true ;;
1499 ac_configure_args="$ac_configure_args '$ac_arg'"
1504 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1505 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1507 # When interrupted or exit'd, cleanup temporary files, and complete
1508 # config.log. We remove comments because anyway the quotes in there
1509 # would cause problems or look ugly.
1510 # WARNING: Use '\'' to represent an apostrophe within the trap.
1511 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1512 trap 'exit_status=$?
1513 # Save into config.log some information that might help in debugging.
1518 ## ---------------- ##
1519 ## Cache variables. ##
1520 ## ---------------- ##
1523 # The following way of writing the cache mishandles newlines in values,
1525 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
1526 eval ac_val=\$$ac_var
1530 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1531 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1534 _ | IFS | as_nl) ;; #(
1535 *) $as_unset $ac_var ;;
1540 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1541 *${as_nl}ac_space=\ *)
1543 "s/'\''/'\''\\\\'\'''\''/g;
1544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1555 ## ----------------- ##
1556 ## Output variables. ##
1557 ## ----------------- ##
1560 for ac_var in $ac_subst_vars
1562 eval ac_val=\$$ac_var
1564 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1566 echo "$ac_var='\''$ac_val'\''"
1570 if test -n "$ac_subst_files"; then
1572 ## ------------------- ##
1573 ## File substitutions. ##
1574 ## ------------------- ##
1577 for ac_var in $ac_subst_files
1579 eval ac_val=\$$ac_var
1581 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1583 echo "$ac_var='\''$ac_val'\''"
1588 if test -s confdefs.h; then
1598 test "$ac_signal" != 0 &&
1599 echo "$as_me: caught signal $ac_signal"
1600 echo "$as_me: exit $exit_status"
1602 rm -f core *.core core.conftest.* &&
1603 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1606 for ac_signal in 1 2 13 15; do
1607 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1611 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1612 rm -f -r conftest* confdefs.h
1614 # Predefined preprocessor variables.
1616 cat >>confdefs.h <<_ACEOF
1617 #define PACKAGE_NAME "$PACKAGE_NAME"
1621 cat >>confdefs.h <<_ACEOF
1622 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1626 cat >>confdefs.h <<_ACEOF
1627 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1631 cat >>confdefs.h <<_ACEOF
1632 #define PACKAGE_STRING "$PACKAGE_STRING"
1636 cat >>confdefs.h <<_ACEOF
1637 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1641 # Let the site file select an alternate cache file if it wants to.
1642 # Prefer explicitly selected file to automatically selected ones.
1643 if test -n "$CONFIG_SITE"; then
1644 set x "$CONFIG_SITE"
1645 elif test "x$prefix" != xNONE; then
1646 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1648 set x "$ac_default_prefix/share/config.site" \
1649 "$ac_default_prefix/etc/config.site"
1654 if test -r "$ac_site_file"; then
1655 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1656 echo "$as_me: loading site script $ac_site_file" >&6;}
1657 sed 's/^/| /' "$ac_site_file" >&5
1662 if test -r "$cache_file"; then
1663 # Some versions of bash will fail to source /dev/null (special
1664 # files actually), so we avoid doing that.
1665 if test -f "$cache_file"; then
1666 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1667 echo "$as_me: loading cache $cache_file" >&6;}
1669 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1670 *) . "./$cache_file";;
1674 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1675 echo "$as_me: creating cache $cache_file" >&6;}
1679 # Check that the precious variables saved in the cache have kept the same
1681 ac_cache_corrupted=false
1682 for ac_var in $ac_precious_vars; do
1683 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1684 eval ac_new_set=\$ac_env_${ac_var}_set
1685 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1686 eval ac_new_val=\$ac_env_${ac_var}_value
1687 case $ac_old_set,$ac_new_set in
1689 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1690 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1691 ac_cache_corrupted=: ;;
1693 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1694 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1695 ac_cache_corrupted=: ;;
1698 if test "x$ac_old_val" != "x$ac_new_val"; then
1699 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1700 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1701 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1702 echo "$as_me: former value
: $ac_old_val" >&2;}
1703 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1704 echo "$as_me: current value
: $ac_new_val" >&2;}
1705 ac_cache_corrupted=:
1708 # Pass precious variables to config.status.
1709 if test "$ac_new_set" = set; then
1711 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1712 *) ac_arg=$ac_var=$ac_new_val ;;
1714 case " $ac_configure_args " in
1715 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1716 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1720 if $ac_cache_corrupted; then
1721 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1722 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1723 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1724 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1725 { (exit 1); exit 1; }; }
1753 ac_cpp='$CPP $CPPFLAGS'
1754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1760 ac_config_headers="$ac_config_headers src/config.h"
1764 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1765 if test -f "$ac_dir/install-sh"; then
1767 ac_install_sh="$ac_aux_dir/install-sh -c"
1769 elif test -f "$ac_dir/install.sh"; then
1771 ac_install_sh="$ac_aux_dir/install.sh -c"
1773 elif test -f "$ac_dir/shtool"; then
1775 ac_install_sh="$ac_aux_dir/shtool install -c"
1779 if test -z "$ac_aux_dir"; then
1780 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1781 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1782 { (exit 1); exit 1; }; }
1785 # These three variables are undocumented and unsupported,
1786 # and are intended to be withdrawn in a future Autoconf release.
1787 # They can cause serious problems if a builder's source tree is in a directory
1788 # whose full name contains unusual characters.
1789 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1790 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1791 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1794 # Make sure we can run config.sub.
1795 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1796 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1797 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1798 { (exit 1); exit 1; }; }
1800 { echo "$as_me:$LINENO: checking build system type" >&5
1801 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1802 if test "${ac_cv_build+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 ac_build_alias=$build_alias
1806 test "x$ac_build_alias" = x &&
1807 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1808 test "x$ac_build_alias" = x &&
1809 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1810 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1811 { (exit 1); exit 1; }; }
1812 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1813 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1814 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1815 { (exit 1); exit 1; }; }
1818 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1819 echo "${ECHO_T}$ac_cv_build" >&6; }
1820 case $ac_cv_build in
1822 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1823 echo "$as_me: error: invalid value of canonical build" >&2;}
1824 { (exit 1); exit 1; }; };;
1827 ac_save_IFS=$IFS; IFS='-'
1833 # Remember, the first character of IFS is used to create $*,
1834 # except with old shells:
1837 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1840 { echo "$as_me:$LINENO: checking host system type" >&5
1841 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1842 if test "${ac_cv_host+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 if test "x$host_alias" = x; then
1846 ac_cv_host=$ac_cv_build
1848 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1849 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1850 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1851 { (exit 1); exit 1; }; }
1855 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1856 echo "${ECHO_T}$ac_cv_host" >&6; }
1859 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1860 echo "$as_me: error: invalid value of canonical host" >&2;}
1861 { (exit 1); exit 1; }; };;
1864 ac_save_IFS=$IFS; IFS='-'
1870 # Remember, the first character of IFS is used to create $*,
1871 # except with old shells:
1874 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1877 { echo "$as_me:$LINENO: checking target system type" >&5
1878 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1879 if test "${ac_cv_target+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 if test "x$target_alias" = x; then
1883 ac_cv_target=$ac_cv_host
1885 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1886 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1887 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1888 { (exit 1); exit 1; }; }
1892 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1893 echo "${ECHO_T}$ac_cv_target" >&6; }
1894 case $ac_cv_target in
1896 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1897 echo "$as_me: error: invalid value of canonical target" >&2;}
1898 { (exit 1); exit 1; }; };;
1900 target=$ac_cv_target
1901 ac_save_IFS=$IFS; IFS='-'
1907 # Remember, the first character of IFS is used to create $*,
1908 # except with old shells:
1911 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1914 # The aliases save the names the user supplied, while $host etc.
1915 # will get canonicalized.
1916 test -n "$target_alias" &&
1917 test "$program_prefix$program_suffix$program_transform_name" = \
1919 program_prefix=${target_alias}-
1920 am__api_version="1.9"
1921 # Find a good install program. We prefer a C program (faster),
1922 # so one script is as good as another. But avoid the broken or
1923 # incompatible versions:
1924 # SysV /etc/install, /usr/sbin/install
1925 # SunOS /usr/etc/install
1926 # IRIX /sbin/install
1928 # AmigaOS /C/install, which installs bootblocks on floppy discs
1929 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1930 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1931 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1932 # OS/2's system install, which has a completely different semantic
1933 # ./install, which can be erroneously created by make from ./install.sh.
1934 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1935 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1936 if test -z "$INSTALL"; then
1937 if test "${ac_cv_path_install+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944 test -z "$as_dir" && as_dir=.
1945 # Account for people who put trailing slashes in PATH elements.
1947 ./ | .// | /cC/* | \
1948 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1949 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1952 # OSF1 and SCO ODT 3.0 have their own names for install.
1953 # Don't use installbsd from OSF since it installs stuff as root
1955 for ac_prog in ginstall scoinst install; do
1956 for ac_exec_ext in '' $ac_executable_extensions; do
1957 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1958 if test $ac_prog = install &&
1959 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1960 # AIX install. It has an incompatible calling convention.
1962 elif test $ac_prog = install &&
1963 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1964 # program-specific install script used by HP pwplus--don't use.
1967 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1980 if test "${ac_cv_path_install+set}" = set; then
1981 INSTALL=$ac_cv_path_install
1983 # As a last resort, use the slow shell script. Don't cache a
1984 # value for INSTALL within a source directory, because that will
1985 # break other packages using the cache if that directory is
1986 # removed, or if the value is a relative name.
1987 INSTALL=$ac_install_sh
1990 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1991 echo "${ECHO_T}$INSTALL" >&6; }
1993 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1994 # It thinks the first close brace ends the variable substitution.
1995 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1997 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1999 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2001 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2002 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2005 echo timestamp > conftest.file
2006 # Do `set' in a subshell so we don't clobber the current shell
's
2007 # arguments. Must try -L first in case configure is actually a
2008 # symlink; some systems play weird games with the mod time of symlinks
2009 # (eg FreeBSD returns the mod time of the symlink's containing
2012 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2013 if test "$*" = "X"; then
2015 set X
`ls -t $srcdir/configure conftest.file`
2018 if test "$*" != "X $srcdir/configure conftest.file" \
2019 && test "$*" != "X conftest.file $srcdir/configure"; then
2021 # If neither matched, then we have a broken ls. This can happen
2022 # if, for instance, CONFIG_SHELL is bash and it inherits a
2023 # broken ls alias from the environment. This has actually
2024 # happened. Such a system could not be considered "sane".
2025 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2026 alias in your environment" >&5
2027 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2028 alias in your environment" >&2;}
2029 { (exit 1); exit 1; }; }
2032 test "$2" = conftest.
file
2038 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2039 Check your system clock" >&5
2040 echo "$as_me: error: newly created file is older than distributed files!
2041 Check your system clock" >&2;}
2042 { (exit 1); exit 1; }; }
2044 { echo "$as_me:$LINENO: result: yes" >&5
2045 echo "${ECHO_T}yes" >&6; }
2046 test "$program_prefix" != NONE
&&
2047 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2048 # Use a double $ so make ignores it.
2049 test "$program_suffix" != NONE
&&
2050 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2051 # Double any \ or $. echo might interpret backslashes.
2052 # By default was `s,x,x', remove it if useless.
2053 cat <<\_ACEOF
>conftest.
sed
2054 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2056 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2059 # expand $ac_aux_dir to an absolute path
2060 am_aux_dir
=`cd $ac_aux_dir && pwd`
2062 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
2063 # Use eval to expand $SHELL
2064 if eval "$MISSING --run true"; then
2065 am_missing_run
="$MISSING --run "
2068 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2069 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2072 if mkdir -p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2073 # We used to keeping the `.' as first argument, in order to
2074 # allow $(mkdir_p) to be used without argument. As in
2075 # $(mkdir_p) $(somedir)
2076 # where $(somedir) is conditionally defined. However this is wrong
2078 # 1. if the package is installed by a user who cannot write `.'
2079 # make install will fail,
2080 # 2. the above comment should most certainly read
2081 # $(mkdir_p) $(DESTDIR)$(somedir)
2082 # so it does not work when $(somedir) is undefined and
2083 # $(DESTDIR) is not.
2084 # To support the latter case, we have to write
2085 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2086 # so the `.' trick is pointless.
2087 mkdir_p
='mkdir -p --'
2089 # On NextStep and OpenStep, the `mkdir' command does not
2090 # recognize any option. It will interpret all options as
2091 # directories to create, and then abort because `.' already
2093 for d
in .
/-p .
/--version;
2095 test -d $d && rmdir $d
2097 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2098 if test -f "$ac_aux_dir/mkinstalldirs"; then
2099 mkdir_p
='$(mkinstalldirs)'
2101 mkdir_p
='$(install_sh) -d'
2105 for ac_prog
in gawk mawk nawk
awk
2107 # Extract the first word of "$ac_prog", so it can be a program name with args.
2108 set dummy
$ac_prog; ac_word
=$2
2109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2111 if test "${ac_cv_prog_AWK+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2114 if test -n "$AWK"; then
2115 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir
=.
2122 for ac_exec_ext
in '' $ac_executable_extensions; do
2123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2124 ac_cv_prog_AWK
="$ac_prog"
2125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 if test -n "$AWK"; then
2136 { echo "$as_me:$LINENO: result: $AWK" >&5
2137 echo "${ECHO_T}$AWK" >&6; }
2139 { echo "$as_me:$LINENO: result: no" >&5
2140 echo "${ECHO_T}no" >&6; }
2144 test -n "$AWK" && break
2147 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2148 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2149 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2150 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 cat >conftest.
make <<\_ACEOF
2156 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2158 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2159 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2161 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2163 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2167 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2168 { echo "$as_me:$LINENO: result: yes" >&5
2169 echo "${ECHO_T}yes" >&6; }
2172 { echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6; }
2174 SET_MAKE
="MAKE=${MAKE-make}"
2177 rm -rf .tst
2>/dev
/null
2178 mkdir .tst
2>/dev
/null
2179 if test -d .tst
; then
2184 rmdir .tst
2>/dev
/null
2186 # test to see if srcdir already configured
2187 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2188 test -f $srcdir/config.status
; then
2189 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2190 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2191 { (exit 1); exit 1; }; }
2194 # test whether we have cygpath
2195 if test -z "$CYGPATH_W"; then
2196 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2197 CYGPATH_W
='cygpath -w'
2204 # Define the identity of the package.
2209 cat >>confdefs.h
<<_ACEOF
2210 #define PACKAGE "$PACKAGE"
2214 cat >>confdefs.h
<<_ACEOF
2215 #define VERSION "$VERSION"
2218 # Some tools Automake needs.
2220 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2223 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2226 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2229 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2232 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2234 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2236 # Installed binaries are usually stripped using `strip' when the user
2237 # run `make install-strip'. However `strip' might not be the right
2238 # tool to use in cross-compilation environments, therefore Automake
2239 # will honor the `STRIP' environment variable to overrule this program.
2240 if test "$cross_compiling" != no
; then
2241 if test -n "$ac_tool_prefix"; then
2242 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2243 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2246 if test "${ac_cv_prog_STRIP+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 if test -n "$STRIP"; then
2250 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir
=.
2257 for ac_exec_ext
in '' $ac_executable_extensions; do
2258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2259 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 STRIP
=$ac_cv_prog_STRIP
2270 if test -n "$STRIP"; then
2271 { echo "$as_me:$LINENO: result: $STRIP" >&5
2272 echo "${ECHO_T}$STRIP" >&6; }
2274 { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2280 if test -z "$ac_cv_prog_STRIP"; then
2282 # Extract the first word of "strip", so it can be a program name with args.
2283 set dummy strip
; ac_word
=$2
2284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2286 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 if test -n "$ac_ct_STRIP"; then
2290 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2296 test -z "$as_dir" && as_dir
=.
2297 for ac_exec_ext
in '' $ac_executable_extensions; do
2298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2299 ac_cv_prog_ac_ct_STRIP
="strip"
2300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2310 if test -n "$ac_ct_STRIP"; then
2311 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2312 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2314 { echo "$as_me:$LINENO: result: no" >&5
2315 echo "${ECHO_T}no" >&6; }
2318 if test "x$ac_ct_STRIP" = x
; then
2321 case $cross_compiling:$ac_tool_warned in
2323 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2324 whose name does not start with the host triplet. If you think this
2325 configuration is useful to you, please write to autoconf@gnu.org." >&5
2326 echo "$as_me: 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." >&2;}
2329 ac_tool_warned
=yes ;;
2334 STRIP
="$ac_cv_prog_STRIP"
2338 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2340 # We need awk for the "check" target. The system "awk" is bad on
2342 # Always define AMTAR for backward compatibility.
2344 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2346 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2352 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2353 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2354 # Check whether --enable-maintainer-mode was given.
2355 if test "${enable_maintainer_mode+set}" = set; then
2356 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2358 USE_MAINTAINER_MODE
=no
2361 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2362 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2365 if test $USE_MAINTAINER_MODE = yes; then
2366 MAINTAINER_MODE_TRUE
=
2367 MAINTAINER_MODE_FALSE
='#'
2369 MAINTAINER_MODE_TRUE
='#'
2370 MAINTAINER_MODE_FALSE
=
2373 MAINT
=$MAINTAINER_MODE_TRUE
2377 DEPDIR
="${am__leading_dot}deps"
2379 ac_config_commands
="$ac_config_commands depfiles"
2382 am_make
=${MAKE-make}
2383 cat > confinc
<< 'END'
2388 # If we don't find an include directive, just comment out the code.
2389 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2390 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2394 # First try GNU make style include.
2395 echo "include confinc" > confmf
2396 # We grep out `Entering directory' and `Leaving directory'
2397 # messages which can occur if `w' ends up in MAKEFLAGS.
2398 # In particular we don't look at `^make:' because GNU make might
2399 # be invoked under some other name (usually "gmake"), in which
2400 # case it prints its new name instead of `make'.
2401 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2406 # Now try BSD make style include.
2407 if test "$am__include" = "#"; then
2408 echo '.include "confinc"' > confmf
2409 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2410 am__include
=.include
2417 { echo "$as_me:$LINENO: result: $_am_result" >&5
2418 echo "${ECHO_T}$_am_result" >&6; }
2419 rm -f confinc confmf
2421 # Check whether --enable-dependency-tracking was given.
2422 if test "${enable_dependency_tracking+set}" = set; then
2423 enableval
=$enable_dependency_tracking;
2426 if test "x$enable_dependency_tracking" != xno
; then
2427 am_depcomp
="$ac_aux_dir/depcomp"
2432 if test "x$enable_dependency_tracking" != xno; then
2443 ac_cpp
='$CPP $CPPFLAGS'
2444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2447 if test -n "$ac_tool_prefix"; then
2448 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2449 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2452 if test "${ac_cv_prog_CC+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 if test -n "$CC"; then
2456 ac_cv_prog_CC
="$CC" # Let the user override the test.
2458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir
=.
2463 for ac_exec_ext
in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 if test -n "$CC"; then
2477 { echo "$as_me:$LINENO: result: $CC" >&5
2478 echo "${ECHO_T}$CC" >&6; }
2480 { echo "$as_me:$LINENO: result: no" >&5
2481 echo "${ECHO_T}no" >&6; }
2486 if test -z "$ac_cv_prog_CC"; then
2488 # Extract the first word of "gcc", so it can be a program name with args.
2489 set dummy gcc
; ac_word
=$2
2490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2492 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 if test -n "$ac_ct_CC"; then
2496 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir
=.
2503 for ac_exec_ext
in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_ac_ct_CC
="gcc"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2515 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2516 if test -n "$ac_ct_CC"; then
2517 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2518 echo "${ECHO_T}$ac_ct_CC" >&6; }
2520 { echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6; }
2524 if test "x$ac_ct_CC" = x
; then
2527 case $cross_compiling:$ac_tool_warned in
2529 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2530 whose name does not start with the host triplet. If you think this
2531 configuration is useful to you, please write to autoconf@gnu.org." >&5
2532 echo "$as_me: 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." >&2;}
2535 ac_tool_warned
=yes ;;
2543 if test -z "$CC"; then
2544 if test -n "$ac_tool_prefix"; then
2545 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2546 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2549 if test "${ac_cv_prog_CC+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 if test -n "$CC"; then
2553 ac_cv_prog_CC
="$CC" # Let the user override the test.
2555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2559 test -z "$as_dir" && as_dir
=.
2560 for ac_exec_ext
in '' $ac_executable_extensions; do
2561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2562 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2573 if test -n "$CC"; then
2574 { echo "$as_me:$LINENO: result: $CC" >&5
2575 echo "${ECHO_T}$CC" >&6; }
2577 { echo "$as_me:$LINENO: result: no" >&5
2578 echo "${ECHO_T}no" >&6; }
2584 if test -z "$CC"; then
2585 # Extract the first word of "cc", so it can be a program name with args.
2586 set dummy cc
; ac_word
=$2
2587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2589 if test "${ac_cv_prog_CC+set}" = set; then
2590 echo $ECHO_N "(cached) $ECHO_C" >&6
2592 if test -n "$CC"; then
2593 ac_cv_prog_CC
="$CC" # Let the user override the test.
2596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2600 test -z "$as_dir" && as_dir
=.
2601 for ac_exec_ext
in '' $ac_executable_extensions; do
2602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2603 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2604 ac_prog_rejected
=yes
2608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2615 if test $ac_prog_rejected = yes; then
2616 # We found a bogon in the path, so make sure we never use it.
2617 set dummy
$ac_cv_prog_CC
2619 if test $# != 0; then
2620 # We chose a different compiler from the bogus one.
2621 # However, it has the same basename, so the bogon will be chosen
2622 # first if we set CC to just the basename; use the full file name.
2624 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2630 if test -n "$CC"; then
2631 { echo "$as_me:$LINENO: result: $CC" >&5
2632 echo "${ECHO_T}$CC" >&6; }
2634 { echo "$as_me:$LINENO: result: no" >&5
2635 echo "${ECHO_T}no" >&6; }
2640 if test -z "$CC"; then
2641 if test -n "$ac_tool_prefix"; then
2642 for ac_prog
in cl.exe
2644 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2645 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2648 if test "${ac_cv_prog_CC+set}" = set; then
2649 echo $ECHO_N "(cached) $ECHO_C" >&6
2651 if test -n "$CC"; then
2652 ac_cv_prog_CC
="$CC" # Let the user override the test.
2654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir
=.
2659 for ac_exec_ext
in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2661 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 if test -n "$CC"; then
2673 { echo "$as_me:$LINENO: result: $CC" >&5
2674 echo "${ECHO_T}$CC" >&6; }
2676 { echo "$as_me:$LINENO: result: no" >&5
2677 echo "${ECHO_T}no" >&6; }
2681 test -n "$CC" && break
2684 if test -z "$CC"; then
2686 for ac_prog
in cl.exe
2688 # Extract the first word of "$ac_prog", so it can be a program name with args.
2689 set dummy
$ac_prog; ac_word
=$2
2690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2692 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 if test -n "$ac_ct_CC"; then
2696 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir
=.
2703 for ac_exec_ext
in '' $ac_executable_extensions; do
2704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2705 ac_cv_prog_ac_ct_CC
="$ac_prog"
2706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2716 if test -n "$ac_ct_CC"; then
2717 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2718 echo "${ECHO_T}$ac_ct_CC" >&6; }
2720 { echo "$as_me:$LINENO: result: no" >&5
2721 echo "${ECHO_T}no" >&6; }
2725 test -n "$ac_ct_CC" && break
2728 if test "x$ac_ct_CC" = x
; then
2731 case $cross_compiling:$ac_tool_warned in
2733 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2734 whose name does not start with the host triplet. If you think this
2735 configuration is useful to you, please write to autoconf@gnu.org." >&5
2736 echo "$as_me: 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." >&2;}
2739 ac_tool_warned
=yes ;;
2748 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2749 See \`config.log' for more details." >&5
2750 echo "$as_me: error: no acceptable C compiler found in \$PATH
2751 See \`config.log' for more details." >&2;}
2752 { (exit 1); exit 1; }; }
2754 # Provide some information about the compiler.
2755 echo "$as_me:$LINENO: checking for C compiler version" >&5
2756 ac_compiler
=`set X $ac_compile; echo $2`
2757 { (ac_try
="$ac_compiler --version >&5"
2759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2763 (eval "$ac_compiler --version >&5") 2>&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); }
2767 { (ac_try="$ac_compiler -v >&5"
2769 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2770 *) ac_try_echo
=$ac_try;;
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_compiler -v >&5") 2>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }
2777 { (ac_try
="$ac_compiler -V >&5"
2779 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2783 (eval "$ac_compiler -V >&5") 2>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }
2788 cat >conftest.$ac_ext <<_ACEOF
2791 cat confdefs.h >>conftest.$ac_ext
2792 cat >>conftest.$ac_ext <<_ACEOF
2793 /* end confdefs.h. */
2803 ac_clean_files_save=$ac_clean_files
2804 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2805 # Try to create an executable without -o first, disregard a.out.
2806 # It will help us diagnose broken compilers, and finding out an intuition
2808 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2809 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2810 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2812 # List of possible output files, starting from the most likely.
2813 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2814 # only as a last resort. b.out is created by i960 compilers.
2815 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2817 # The IRIX 6 linker writes into existing files which may not be
2818 # executable, retaining their permissions. Remove them first so a
2819 # subsequent execution test works.
2821 for ac_file in $ac_files
2824 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2825 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2830 if { (ac_try="$ac_link_default"
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2836 (eval "$ac_link_default") 2>&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; then
2840 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2841 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2842 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2843 # so that the user can short-circuit this test for compilers unknown to
2845 for ac_file
in $ac_files
2847 test -f "$ac_file" || continue
2849 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
2852 # We found the default executable, but exeext='' is most
2856 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2858 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2860 # We set ac_cv_exeext here because the later test for it is not
2861 # safe: cross compilers may not add the suffix if given an `-o'
2862 # argument, so we may need to know it at that point already.
2863 # Even if this section looks crufty: it has the advantage of
2870 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2873 echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.
$ac_ext >&5
2876 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2877 See \`config.log' for more details." >&5
2878 echo "$as_me: error: C compiler cannot create executables
2879 See \`config.log' for more details." >&2;}
2880 { (exit 77); exit 77; }; }
2883 ac_exeext
=$ac_cv_exeext
2884 { echo "$as_me:$LINENO: result: $ac_file" >&5
2885 echo "${ECHO_T}$ac_file" >&6; }
2887 # Check that the compiler produces executables we can run. If not, either
2888 # the compiler is broken, or we cross compile.
2889 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2890 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2891 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2892 # If not cross compiling, check that we can run a simple program.
2893 if test "$cross_compiling" != yes; then
2894 if { ac_try
='./$ac_file'
2895 { (case "(($ac_try" in
2896 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2897 *) ac_try_echo=$ac_try;;
2899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2900 (eval "$ac_try") 2>&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }; }; then
2906 if test "$cross_compiling" = maybe; then
2909 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2910 If you meant to cross compile, use \`--host'.
2911 See \`config.log' for more details.
" >&5
2912 echo "$as_me: error
: cannot run C compiled programs.
2913 If you meant to cross compile
, use \
`--host'.
2914 See \`config.log
' for more details." >&2;}
2915 { (exit 1); exit 1; }; }
2919 { echo "$as_me:$LINENO: result: yes" >&5
2920 echo "${ECHO_T}yes" >&6; }
2922 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2923 ac_clean_files=$ac_clean_files_save
2924 # Check that the compiler produces executables we can run. If not, either
2925 # the compiler is broken, or we cross compile.
2926 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2927 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2928 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2929 echo "${ECHO_T}$cross_compiling" >&6; }
2931 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2932 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2933 if { (ac_try="$ac_link"
2935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2936 *) ac_try_echo=$ac_try;;
2938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2939 (eval "$ac_link") 2>&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); }; then
2943 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2944 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2945 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2947 for ac_file
in conftest.exe conftest conftest.
*; do
2948 test -f "$ac_file" || continue
2950 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
2951 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2957 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2958 See \`config.log' for more details." >&5
2959 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2960 See \`config.log' for more details." >&2;}
2961 { (exit 1); exit 1; }; }
2964 rm -f conftest
$ac_cv_exeext
2965 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2966 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2968 rm -f conftest.
$ac_ext
2969 EXEEXT
=$ac_cv_exeext
2971 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2972 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2973 if test "${ac_cv_objext+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 cat >conftest.
$ac_ext <<_ACEOF
2979 cat confdefs.h
>>conftest.
$ac_ext
2980 cat >>conftest.
$ac_ext <<_ACEOF
2981 /* end confdefs.h. */
2991 rm -f conftest.o conftest.obj
2992 if { (ac_try
="$ac_compile"
2994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2995 *) ac_try_echo=$ac_try;;
2997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2998 (eval "$ac_compile") 2>&5
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); }; then
3002 for ac_file in conftest.o conftest.obj conftest.*; do
3003 test -f "$ac_file" || continue;
3005 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3006 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3011 echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3014 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3015 See \`config.log
' for more details." >&5
3016 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3017 See \`config.log' for more details.
" >&2;}
3018 { (exit 1); exit 1; }; }
3021 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3023 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3024 echo "${ECHO_T}$ac_cv_objext" >&6; }
3025 OBJEXT=$ac_cv_objext
3027 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3028 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3029 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3030 echo $ECHO_N "(cached
) $ECHO_C" >&6
3032 cat >conftest.$ac_ext <<_ACEOF
3035 cat confdefs.h >>conftest.$ac_ext
3036 cat >>conftest.$ac_ext <<_ACEOF
3037 /* end confdefs.h. */
3050 rm -f conftest.$ac_objext
3051 if { (ac_try="$ac_compile"
3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3054 *) ac_try_echo=$ac_try;;
3056 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3057 (eval "$ac_compile") 2>conftest.er1
3059 grep -v '^ *+' conftest.er1 >conftest.err
3061 cat conftest.err >&5
3062 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3063 (exit $ac_status); } &&
3064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3065 { (case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3069 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3070 (eval "$ac_try") 2>&5
3072 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3073 (exit $ac_status); }; } &&
3074 { ac_try='test -s conftest.$ac_objext'
3075 { (case "(($ac_try" in
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3079 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3080 (eval "$ac_try") 2>&5
3082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3083 (exit $ac_status); }; }; then
3086 echo "$as_me: failed program was
:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3093 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3096 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3097 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3098 GCC=`test $ac_compiler_gnu = yes && echo yes`
3099 ac_test_CFLAGS=${CFLAGS+set}
3100 ac_save_CFLAGS=$CFLAGS
3101 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3102 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3103 if test "${ac_cv_prog_cc_g+set}" = set; then
3104 echo $ECHO_N "(cached
) $ECHO_C" >&6
3106 ac_save_c_werror_flag=$ac_c_werror_flag
3107 ac_c_werror_flag=yes
3110 cat >conftest.$ac_ext <<_ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3125 rm -f conftest.$ac_objext
3126 if { (ac_try="$ac_compile"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3134 grep -v '^ *+' conftest.er1 >conftest.err
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3138 (exit $ac_status); } &&
3139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3140 { (case "(($ac_try" in
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval "$ac_try") 2>&5
3147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3148 (exit $ac_status); }; } &&
3149 { ac_try='test -s conftest.$ac_objext'
3150 { (case "(($ac_try" in
3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3155 (eval "$ac_try") 2>&5
3157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3158 (exit $ac_status); }; }; then
3161 echo "$as_me: failed program was
:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3165 cat >conftest.$ac_ext <<_ACEOF
3168 cat confdefs.h >>conftest.$ac_ext
3169 cat >>conftest.$ac_ext <<_ACEOF
3170 /* end confdefs.h. */
3180 rm -f conftest.$ac_objext
3181 if { (ac_try="$ac_compile"
3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3186 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3187 (eval "$ac_compile") 2>conftest.er1
3189 grep -v '^ *+' conftest.er1 >conftest.err
3191 cat conftest.err >&5
3192 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3193 (exit $ac_status); } &&
3194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3195 { (case "(($ac_try" in
3196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3200 (eval "$ac_try") 2>&5
3202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3203 (exit $ac_status); }; } &&
3204 { ac_try='test -s conftest.$ac_objext'
3205 { (case "(($ac_try" in
3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3210 (eval "$ac_try") 2>&5
3212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3213 (exit $ac_status); }; }; then
3216 echo "$as_me: failed program was
:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3219 ac_c_werror_flag=$ac_save_c_werror_flag
3221 cat >conftest.$ac_ext <<_ACEOF
3224 cat confdefs.h >>conftest.$ac_ext
3225 cat >>conftest.$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3236 rm -f conftest.$ac_objext
3237 if { (ac_try="$ac_compile"
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3243 (eval "$ac_compile") 2>conftest.er1
3245 grep -v '^ *+' conftest.er1 >conftest.err
3247 cat conftest.err >&5
3248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3249 (exit $ac_status); } &&
3250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3251 { (case "(($ac_try" in
3252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3253 *) ac_try_echo=$ac_try;;
3255 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3256 (eval "$ac_try") 2>&5
3258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3259 (exit $ac_status); }; } &&
3260 { ac_try='test -s conftest.$ac_objext'
3261 { (case "(($ac_try" in
3262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263 *) ac_try_echo=$ac_try;;
3265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3266 (eval "$ac_try") 2>&5
3268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3269 (exit $ac_status); }; }; then
3272 echo "$as_me: failed program was
:" >&5
3273 sed 's/^/| /' conftest.$ac_ext >&5
3278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3285 ac_c_werror_flag=$ac_save_c_werror_flag
3287 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3288 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3289 if test "$ac_test_CFLAGS" = set; then
3290 CFLAGS=$ac_save_CFLAGS
3291 elif test $ac_cv_prog_cc_g = yes; then
3292 if test "$GCC" = yes; then
3298 if test "$GCC" = yes; then
3304 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3305 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3306 if test "${ac_cv_prog_cc_c89+set}" = set; then
3307 echo $ECHO_N "(cached
) $ECHO_C" >&6
3309 ac_cv_prog_cc_c89=no
3311 cat >conftest.$ac_ext <<_ACEOF
3314 cat confdefs.h >>conftest.$ac_ext
3315 cat >>conftest.$ac_ext <<_ACEOF
3316 /* end confdefs.h. */
3319 #include <sys/types.h>
3320 #include <sys/stat.h>
3321 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3322 struct buf { int x; };
3323 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3324 static char *e (p, i)
3330 static char *f (char * (*g) (char **, int), char **p, ...)
3335 s = g (p, va_arg (v,int));
3340 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3341 function prototypes and stuff, but not '\xHH' hex character constants.
3342 These don't provoke an error unfortunately, instead are silently treated
3343 as 'x'. The following induces an error, until -std is added to get
3344 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3345 array size at least. It's necessary to write '\x00'==0 to get something
3346 that's true only with -std. */
3347 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3349 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3350 inside strings and character constants. */
3352 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3354 int test (int i, double x);
3355 struct s1 {int (*f) (int a);};
3356 struct s2 {int (*f) (double a);};
3357 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3363 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3368 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3369 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3371 CC="$ac_save_CC $ac_arg"
3372 rm -f conftest.$ac_objext
3373 if { (ac_try="$ac_compile"
3375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376 *) ac_try_echo=$ac_try;;
3378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3379 (eval "$ac_compile") 2>conftest.er1
3381 grep -v '^ *+' conftest.er1 >conftest.err
3383 cat conftest.err >&5
3384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3385 (exit $ac_status); } &&
3386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3387 { (case "(($ac_try" in
3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3392 (eval "$ac_try") 2>&5
3394 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3395 (exit $ac_status); }; } &&
3396 { ac_try='test -s conftest.$ac_objext'
3397 { (case "(($ac_try" in
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3402 (eval "$ac_try") 2>&5
3404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3405 (exit $ac_status); }; }; then
3406 ac_cv_prog_cc_c89=$ac_arg
3408 echo "$as_me: failed program was
:" >&5
3409 sed 's/^/| /' conftest.$ac_ext >&5
3414 rm -f core conftest.err conftest.$ac_objext
3415 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3417 rm -f conftest.$ac_ext
3422 case "x
$ac_cv_prog_cc_c89" in
3424 { echo "$as_me:$LINENO: result
: none needed
" >&5
3425 echo "${ECHO_T}none needed
" >&6; } ;;
3427 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3428 echo "${ECHO_T}unsupported
" >&6; } ;;
3430 CC="$CC $ac_cv_prog_cc_c89"
3431 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3432 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3437 ac_cpp='$CPP $CPPFLAGS'
3438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3442 depcc="$CC" am_compiler_list=
3444 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3445 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3446 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3447 echo $ECHO_N "(cached
) $ECHO_C" >&6
3449 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3450 # We make a subdir and do the tests there. Otherwise we can end up
3451 # making bogus files that we don't know about and never remove. For
3452 # instance it was reported that on HP-UX the gcc test will end up
3453 # making a dummy file named `D' -- because `-MD' means `put the output
3456 # Copy depcomp to subdir because otherwise we won't find it if we're
3457 # using a relative directory.
3458 cp "$am_depcomp" conftest.dir
3460 # We will build objects and dependencies in a subdirectory because
3461 # it helps to detect inapplicable dependency modes. For instance
3462 # both Tru64's cc and ICC support -MD to output dependencies as a
3463 # side effect of compilation, but ICC will put the dependencies in
3464 # the current directory while Tru64 will put them in the object
3468 am_cv_CC_dependencies_compiler_type=none
3469 if test "$am_compiler_list" = ""; then
3470 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3472 for depmode in $am_compiler_list; do
3473 # Setup a source with many dependencies, because some compilers
3474 # like to wrap large dependency lists on column 80 (with \), and
3475 # we should not choose a depcomp mode which is confused by this.
3477 # We need to recreate these files for each test, as the compiler may
3478 # overwrite some of them when testing with obscure command lines.
3479 # This happens at least with the AIX C compiler.
3481 for i in 1 2 3 4 5 6; do
3482 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3483 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3484 # Solaris 8's {/usr,}/bin/sh.
3485 touch sub/conftst$i.h
3487 echo "${am__include} ${am__quote}sub
/conftest.Po
${am__quote}" > confmf
3491 # after this tag, mechanisms are not by side-effect, so they'll
3492 # only be used when explicitly requested
3493 if test "x
$enable_dependency_tracking" = xyes; then
3501 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3502 # mode. It turns out that the SunPro C++ compiler does not properly
3503 # handle `-M -o', and we need to detect this.
3504 if depmode=$depmode \
3505 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3506 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3507 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3508 >/dev/null 2>conftest.err &&
3509 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3510 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3511 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3512 # icc doesn't choke on unknown options, it will just issue warnings
3513 # or remarks (even with -Werror). So we grep stderr for any message
3514 # that says an option was ignored or not supported.
3515 # When given -MP, icc 7.0 and 7.1 complain thusly:
3516 # icc: Command line warning: ignoring option '-M'; no argument required
3517 # The diagnosis changed in icc 8.0:
3518 # icc: Command line remark: option '-MP' not supported
3519 if (grep 'ignoring option' conftest.err ||
3520 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3521 am_cv_CC_dependencies_compiler_type=$depmode
3530 am_cv_CC_dependencies_compiler_type=none
3534 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3535 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3536 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3541 test "x
$enable_dependency_tracking" != xno \
3542 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3544 am__fastdepCC_FALSE='#'
3546 am__fastdepCC_TRUE='#'
3547 am__fastdepCC_FALSE=
3552 { echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
3553 echo $ECHO_N "checking
return type of signal handlers...
$ECHO_C" >&6; }
3554 if test "${ac_cv_type_signal+set}" = set; then
3555 echo $ECHO_N "(cached
) $ECHO_C" >&6
3557 cat >conftest.$ac_ext <<_ACEOF
3560 cat confdefs.h >>conftest.$ac_ext
3561 cat >>conftest.$ac_ext <<_ACEOF
3562 /* end confdefs.h. */
3563 #include <sys/types.h>
3569 return *(signal (0, 0)) (0) == 1;
3574 rm -f conftest.$ac_objext
3575 if { (ac_try="$ac_compile"
3577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3578 *) ac_try_echo=$ac_try;;
3580 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3581 (eval "$ac_compile") 2>conftest.er1
3583 grep -v '^ *+' conftest.er1 >conftest.err
3585 cat conftest.err >&5
3586 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3587 (exit $ac_status); } &&
3588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3589 { (case "(($ac_try" in
3590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591 *) ac_try_echo=$ac_try;;
3593 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3594 (eval "$ac_try") 2>&5
3596 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3597 (exit $ac_status); }; } &&
3598 { ac_try='test -s conftest.$ac_objext'
3599 { (case "(($ac_try" in
3600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601 *) ac_try_echo=$ac_try;;
3603 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3604 (eval "$ac_try") 2>&5
3606 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3607 (exit $ac_status); }; }; then
3608 ac_cv_type_signal=int
3610 echo "$as_me: failed program was
:" >&5
3611 sed 's/^/| /' conftest.$ac_ext >&5
3613 ac_cv_type_signal=void
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618 { echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
3619 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
3621 cat >>confdefs.h <<_ACEOF
3622 #define RETSIGTYPE $ac_cv_type_signal
3626 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
3627 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
3628 if test "${ac_cv_c_const+set}" = set; then
3629 echo $ECHO_N "(cached
) $ECHO_C" >&6
3631 cat >conftest.$ac_ext <<_ACEOF
3634 cat confdefs.h >>conftest.$ac_ext
3635 cat >>conftest.$ac_ext <<_ACEOF
3636 /* end confdefs.h. */
3641 /* FIXME: Include the comments suggested by Paul. */
3643 /* Ultrix mips cc rejects this. */
3644 typedef int charset[2];
3646 /* SunOS 4.1.1 cc rejects this. */
3647 char const *const *ccp;
3649 /* NEC SVR4.0.2 mips cc rejects this. */
3650 struct point {int x, y;};
3651 static struct point const zero = {0,0};
3652 /* AIX XL C 1.02.0.0 rejects this.
3653 It does not let you subtract one const X* pointer from another in
3654 an arm of an if-expression whose if-part is not a constant
3656 const char *g = "string
";
3657 ccp = &g + (g ? g-g : 0);
3658 /* HPUX 7.0 cc rejects these. */
3661 ccp = (char const *const *) p;
3662 { /* SCO 3.2v4 cc rejects this. */
3664 char const *s = 0 ? (char *) 0 : (char const *) 0;
3669 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3671 const int *foo = &x[0];
3674 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3675 typedef const int *iptr;
3679 { /* AIX XL C 1.02.0.0 rejects this saying
3680 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3681 struct s { int j; const int *ap[3]; };
3682 struct s *b; b->j = 5;
3684 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3688 return !x[0] && !zero.x;
3695 rm -f conftest.$ac_objext
3696 if { (ac_try="$ac_compile"
3698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3699 *) ac_try_echo=$ac_try;;
3701 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3702 (eval "$ac_compile") 2>conftest.er1
3704 grep -v '^ *+' conftest.er1 >conftest.err
3706 cat conftest.err >&5
3707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3708 (exit $ac_status); } &&
3709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3710 { (case "(($ac_try" in
3711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3712 *) ac_try_echo=$ac_try;;
3714 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3715 (eval "$ac_try") 2>&5
3717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3718 (exit $ac_status); }; } &&
3719 { ac_try='test -s conftest.$ac_objext'
3720 { (case "(($ac_try" in
3721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3722 *) ac_try_echo=$ac_try;;
3724 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3725 (eval "$ac_try") 2>&5
3727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3728 (exit $ac_status); }; }; then
3731 echo "$as_me: failed program was
:" >&5
3732 sed 's/^/| /' conftest.$ac_ext >&5
3737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
3740 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3741 if test $ac_cv_c_const = no; then
3743 cat >>confdefs.h <<\_ACEOF
3749 { echo "$as_me:$LINENO: checking
for inline
" >&5
3750 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
3751 if test "${ac_cv_c_inline+set}" = set; then
3752 echo $ECHO_N "(cached
) $ECHO_C" >&6
3755 for ac_kw in inline __inline__ __inline; do
3756 cat >conftest.$ac_ext <<_ACEOF
3759 cat confdefs.h >>conftest.$ac_ext
3760 cat >>conftest.$ac_ext <<_ACEOF
3761 /* end confdefs.h. */
3764 static $ac_kw foo_t static_foo () {return 0; }
3765 $ac_kw foo_t foo () {return 0; }
3769 rm -f conftest.$ac_objext
3770 if { (ac_try="$ac_compile"
3772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773 *) ac_try_echo=$ac_try;;
3775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3776 (eval "$ac_compile") 2>conftest.er1
3778 grep -v '^ *+' conftest.er1 >conftest.err
3780 cat conftest.err >&5
3781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3782 (exit $ac_status); } &&
3783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3784 { (case "(($ac_try" in
3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3788 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3789 (eval "$ac_try") 2>&5
3791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3792 (exit $ac_status); }; } &&
3793 { ac_try='test -s conftest.$ac_objext'
3794 { (case "(($ac_try" in
3795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3796 *) ac_try_echo=$ac_try;;
3798 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3799 (eval "$ac_try") 2>&5
3801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3802 (exit $ac_status); }; }; then
3803 ac_cv_c_inline=$ac_kw
3805 echo "$as_me: failed program was
:" >&5
3806 sed 's/^/| /' conftest.$ac_ext >&5
3811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3812 test "$ac_cv_c_inline" != no && break
3816 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
3817 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3820 case $ac_cv_c_inline in
3823 case $ac_cv_c_inline in
3825 *) ac_val=$ac_cv_c_inline;;
3827 cat >>confdefs.h <<_ACEOF
3829 #define inline $ac_val
3836 for ac_prog in gawk mawk nawk awk
3838 # Extract the first word of "$ac_prog", so it can be a program name with args.
3839 set dummy $ac_prog; ac_word=$2
3840 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3841 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3842 if test "${ac_cv_prog_AWK+set}" = set; then
3843 echo $ECHO_N "(cached
) $ECHO_C" >&6
3845 if test -n "$AWK"; then
3846 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3855 ac_cv_prog_AWK="$ac_prog"
3856 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3866 if test -n "$AWK"; then
3867 { echo "$as_me:$LINENO: result
: $AWK" >&5
3868 echo "${ECHO_T}$AWK" >&6; }
3870 { echo "$as_me:$LINENO: result
: no
" >&5
3871 echo "${ECHO_T}no
" >&6; }
3875 test -n "$AWK" && break
3879 ac_cpp='$CPP $CPPFLAGS'
3880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3883 if test -n "$ac_tool_prefix"; then
3884 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3885 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3886 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3887 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3888 if test "${ac_cv_prog_CC+set}" = set; then
3889 echo $ECHO_N "(cached
) $ECHO_C" >&6
3891 if test -n "$CC"; then
3892 ac_cv_prog_CC="$CC" # Let the user override the test.
3894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3898 test -z "$as_dir" && as_dir=.
3899 for ac_exec_ext in '' $ac_executable_extensions; do
3900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3901 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3902 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3912 if test -n "$CC"; then
3913 { echo "$as_me:$LINENO: result
: $CC" >&5
3914 echo "${ECHO_T}$CC" >&6; }
3916 { echo "$as_me:$LINENO: result
: no
" >&5
3917 echo "${ECHO_T}no
" >&6; }
3922 if test -z "$ac_cv_prog_CC"; then
3924 # Extract the first word of "gcc
", so it can be a program name with args.
3925 set dummy gcc; ac_word=$2
3926 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3927 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3928 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3929 echo $ECHO_N "(cached
) $ECHO_C" >&6
3931 if test -n "$ac_ct_CC"; then
3932 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir=.
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3941 ac_cv_prog_ac_ct_CC="gcc
"
3942 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3952 if test -n "$ac_ct_CC"; then
3953 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3954 echo "${ECHO_T}$ac_ct_CC" >&6; }
3956 { echo "$as_me:$LINENO: result
: no
" >&5
3957 echo "${ECHO_T}no
" >&6; }
3960 if test "x
$ac_ct_CC" = x; then
3963 case $cross_compiling:$ac_tool_warned in
3965 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
3966 whose name does not start with the
host triplet. If you think this
3967 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3968 echo "$as_me: 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.
" >&2;}
3971 ac_tool_warned=yes ;;
3979 if test -z "$CC"; then
3980 if test -n "$ac_tool_prefix"; then
3981 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3982 set dummy ${ac_tool_prefix}cc; ac_word=$2
3983 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3984 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3985 if test "${ac_cv_prog_CC+set}" = set; then
3986 echo $ECHO_N "(cached
) $ECHO_C" >&6
3988 if test -n "$CC"; then
3989 ac_cv_prog_CC="$CC" # Let the user override the test.
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3995 test -z "$as_dir" && as_dir=.
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3998 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3999 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4009 if test -n "$CC"; then
4010 { echo "$as_me:$LINENO: result
: $CC" >&5
4011 echo "${ECHO_T}$CC" >&6; }
4013 { echo "$as_me:$LINENO: result
: no
" >&5
4014 echo "${ECHO_T}no
" >&6; }
4020 if test -z "$CC"; then
4021 # Extract the first word of "cc
", so it can be a program name with args.
4022 set dummy cc; ac_word=$2
4023 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4024 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4025 if test "${ac_cv_prog_CC+set}" = set; then
4026 echo $ECHO_N "(cached
) $ECHO_C" >&6
4028 if test -n "$CC"; then
4029 ac_cv_prog_CC="$CC" # Let the user override the test.
4032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4039 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
4040 ac_prog_rejected=yes
4044 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4051 if test $ac_prog_rejected = yes; then
4052 # We found a bogon in the path, so make sure we never use it.
4053 set dummy $ac_cv_prog_CC
4055 if test $# != 0; then
4056 # We chose a different compiler from the bogus one.
4057 # However, it has the same basename, so the bogon will be chosen
4058 # first if we set CC to just the basename; use the full file name.
4060 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
4066 if test -n "$CC"; then
4067 { echo "$as_me:$LINENO: result
: $CC" >&5
4068 echo "${ECHO_T}$CC" >&6; }
4070 { echo "$as_me:$LINENO: result
: no
" >&5
4071 echo "${ECHO_T}no
" >&6; }
4076 if test -z "$CC"; then
4077 if test -n "$ac_tool_prefix"; then
4078 for ac_prog in cl.exe
4080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4081 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4082 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4083 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4084 if test "${ac_cv_prog_CC+set}" = set; then
4085 echo $ECHO_N "(cached
) $ECHO_C" >&6
4087 if test -n "$CC"; then
4088 ac_cv_prog_CC="$CC" # Let the user override the test.
4090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4094 test -z "$as_dir" && as_dir=.
4095 for ac_exec_ext in '' $ac_executable_extensions; do
4096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4097 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4098 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4108 if test -n "$CC"; then
4109 { echo "$as_me:$LINENO: result
: $CC" >&5
4110 echo "${ECHO_T}$CC" >&6; }
4112 { echo "$as_me:$LINENO: result
: no
" >&5
4113 echo "${ECHO_T}no
" >&6; }
4117 test -n "$CC" && break
4120 if test -z "$CC"; then
4122 for ac_prog in cl.exe
4124 # Extract the first word of "$ac_prog", so it can be a program name with args.
4125 set dummy $ac_prog; ac_word=$2
4126 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4127 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4128 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4129 echo $ECHO_N "(cached
) $ECHO_C" >&6
4131 if test -n "$ac_ct_CC"; then
4132 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138 test -z "$as_dir" && as_dir=.
4139 for ac_exec_ext in '' $ac_executable_extensions; do
4140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4141 ac_cv_prog_ac_ct_CC="$ac_prog"
4142 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4151 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4152 if test -n "$ac_ct_CC"; then
4153 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
4154 echo "${ECHO_T}$ac_ct_CC" >&6; }
4156 { echo "$as_me:$LINENO: result
: no
" >&5
4157 echo "${ECHO_T}no
" >&6; }
4161 test -n "$ac_ct_CC" && break
4164 if test "x
$ac_ct_CC" = x; then
4167 case $cross_compiling:$ac_tool_warned in
4169 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
4170 whose name does not start with the
host triplet. If you think this
4171 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4172 echo "$as_me: 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.
" >&2;}
4175 ac_tool_warned=yes ;;
4184 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4185 See \
`config.log' for more details." >&5
4186 echo "$as_me: error: no acceptable C compiler found in \$PATH
4187 See \`config.log
' for more details." >&2;}
4188 { (exit 1); exit 1; }; }
4190 # Provide some information about the compiler.
4191 echo "$as_me:$LINENO: checking for C compiler version" >&5
4192 ac_compiler=`set X $ac_compile; echo $2`
4193 { (ac_try="$ac_compiler --version >&5"
4195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4196 *) ac_try_echo=$ac_try;;
4198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4199 (eval "$ac_compiler --version >&5") 2>&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); }
4203 { (ac_try="$ac_compiler -v >&5"
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209 (eval "$ac_compiler -v >&5") 2>&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); }
4213 { (ac_try="$ac_compiler -V >&5"
4215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4219 (eval "$ac_compiler -V >&5") 2>&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); }
4224 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4225 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4226 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 cat >conftest.$ac_ext <<_ACEOF
4232 cat confdefs.h >>conftest.$ac_ext
4233 cat >>conftest.$ac_ext <<_ACEOF
4234 /* end confdefs.h. */
4247 rm -f conftest.$ac_objext
4248 if { (ac_try="$ac_compile"
4250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4251 *) ac_try_echo=$ac_try;;
4253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4254 (eval "$ac_compile") 2>conftest.er1
4256 grep -v '^
*+' conftest.er1 >conftest.err
4258 cat conftest.err >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } &&
4261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
4262 { (case "(($ac_try" in
4263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4264 *) ac_try_echo=$ac_try;;
4266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4267 (eval "$ac_try") 2>&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; } &&
4271 { ac_try='test -s conftest.
$ac_objext'
4272 { (case "(($ac_try" in
4273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4277 (eval "$ac_try") 2>&5
4279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280 (exit $ac_status); }; }; then
4283 echo "$as_me: failed program was:" >&5
4284 sed 's
/^
/| /' conftest.$ac_ext >&5
4289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4290 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4293 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4294 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4295 GCC=`test $ac_compiler_gnu = yes && echo yes`
4296 ac_test_CFLAGS=${CFLAGS+set}
4297 ac_save_CFLAGS=$CFLAGS
4298 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4299 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4300 if test "${ac_cv_prog_cc_g+set}" = set; then
4301 echo $ECHO_N "(cached) $ECHO_C" >&6
4303 ac_save_c_werror_flag=$ac_c_werror_flag
4304 ac_c_werror_flag=yes
4307 cat >conftest.$ac_ext <<_ACEOF
4310 cat confdefs.h >>conftest.$ac_ext
4311 cat >>conftest.$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4322 rm -f conftest.$ac_objext
4323 if { (ac_try="$ac_compile"
4325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326 *) ac_try_echo=$ac_try;;
4328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4329 (eval "$ac_compile") 2>conftest.er1
4331 grep -v '^
*+' conftest.er1 >conftest.err
4333 cat conftest.err >&5
4334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335 (exit $ac_status); } &&
4336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
4337 { (case "(($ac_try" in
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4342 (eval "$ac_try") 2>&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); }; } &&
4346 { ac_try='test -s conftest.
$ac_objext'
4347 { (case "(($ac_try" in
4348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4349 *) ac_try_echo=$ac_try;;
4351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4352 (eval "$ac_try") 2>&5
4354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4355 (exit $ac_status); }; }; then
4358 echo "$as_me: failed program was:" >&5
4359 sed 's
/^
/| /' conftest.$ac_ext >&5
4362 cat >conftest.$ac_ext <<_ACEOF
4365 cat confdefs.h >>conftest.$ac_ext
4366 cat >>conftest.$ac_ext <<_ACEOF
4367 /* end confdefs.h. */
4377 rm -f conftest.$ac_objext
4378 if { (ac_try="$ac_compile"
4380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4384 (eval "$ac_compile") 2>conftest.er1
4386 grep -v '^
*+' conftest.er1 >conftest.err
4388 cat conftest.err >&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); } &&
4391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
4392 { (case "(($ac_try" in
4393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4394 *) ac_try_echo=$ac_try;;
4396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4397 (eval "$ac_try") 2>&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; } &&
4401 { ac_try='test -s conftest.
$ac_objext'
4402 { (case "(($ac_try" in
4403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4404 *) ac_try_echo=$ac_try;;
4406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4407 (eval "$ac_try") 2>&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; }; then
4413 echo "$as_me: failed program was:" >&5
4414 sed 's
/^
/| /' conftest.$ac_ext >&5
4416 ac_c_werror_flag=$ac_save_c_werror_flag
4418 cat >conftest.$ac_ext <<_ACEOF
4421 cat confdefs.h >>conftest.$ac_ext
4422 cat >>conftest.$ac_ext <<_ACEOF
4423 /* end confdefs.h. */
4433 rm -f conftest.$ac_objext
4434 if { (ac_try="$ac_compile"
4436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4437 *) ac_try_echo=$ac_try;;
4439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4440 (eval "$ac_compile") 2>conftest.er1
4442 grep -v '^
*+' conftest.er1 >conftest.err
4444 cat conftest.err >&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); } &&
4447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
4448 { (case "(($ac_try" in
4449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4450 *) ac_try_echo=$ac_try;;
4452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4453 (eval "$ac_try") 2>&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); }; } &&
4457 { ac_try='test -s conftest.
$ac_objext'
4458 { (case "(($ac_try" in
4459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4460 *) ac_try_echo=$ac_try;;
4462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4463 (eval "$ac_try") 2>&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; }; then
4469 echo "$as_me: failed program was:" >&5
4470 sed 's
/^
/| /' conftest.$ac_ext >&5
4475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4482 ac_c_werror_flag=$ac_save_c_werror_flag
4484 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4485 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4486 if test "$ac_test_CFLAGS" = set; then
4487 CFLAGS=$ac_save_CFLAGS
4488 elif test $ac_cv_prog_cc_g = yes; then
4489 if test "$GCC" = yes; then
4495 if test "$GCC" = yes; then
4501 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4502 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4503 if test "${ac_cv_prog_cc_c89+set}" = set; then
4504 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 ac_cv_prog_cc_c89=no
4508 cat >conftest.$ac_ext <<_ACEOF
4511 cat confdefs.h >>conftest.$ac_ext
4512 cat >>conftest.$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4516 #include <sys/types.h>
4517 #include <sys/stat.h>
4518 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4519 struct buf
{ int x
; };
4520 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4521 static char
*e
(p
, i
)
4527 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4532 s
= g
(p
, va_arg
(v
,int
));
4537 /* OSF
4.0 Compaq cc is some
sort of almost
-ANSI by default. It has
4538 function prototypes and stuff
, but not
'\xHH' hex character constants.
4539 These don
't provoke an error unfortunately, instead are silently treated
4540 as 'x
'. The following induces an error, until -std is added to get
4541 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4542 array size at least. It's necessary to
write '\x00'==0 to get something
4543 that
's true only with -std. */
4544 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4546 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4547 inside strings and character constants. */
4549 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4551 int test (int i, double x);
4552 struct s1 {int (*f) (int a);};
4553 struct s2 {int (*f) (double a);};
4554 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4560 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4565 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4566 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4568 CC="$ac_save_CC $ac_arg"
4569 rm -f conftest.$ac_objext
4570 if { (ac_try="$ac_compile"
4572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4573 *) ac_try_echo=$ac_try;;
4575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4576 (eval "$ac_compile") 2>conftest.er1
4578 grep -v '^
*+' conftest.er1 >conftest.err
4580 cat conftest.err >&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); } &&
4583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
4584 { (case "(($ac_try" in
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4589 (eval "$ac_try") 2>&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; } &&
4593 { ac_try='test -s conftest.
$ac_objext'
4594 { (case "(($ac_try" in
4595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4596 *) ac_try_echo=$ac_try;;
4598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4599 (eval "$ac_try") 2>&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); }; }; then
4603 ac_cv_prog_cc_c89=$ac_arg
4605 echo "$as_me: failed program was:" >&5
4606 sed 's
/^
/| /' conftest.$ac_ext >&5
4611 rm -f core conftest.err conftest.$ac_objext
4612 test "x$ac_cv_prog_cc_c89" != "xno" && break
4614 rm -f conftest.$ac_ext
4619 case "x$ac_cv_prog_cc_c89" in
4621 { echo "$as_me:$LINENO: result: none needed" >&5
4622 echo "${ECHO_T}none needed" >&6; } ;;
4624 { echo "$as_me:$LINENO: result: unsupported" >&5
4625 echo "${ECHO_T}unsupported" >&6; } ;;
4627 CC="$CC $ac_cv_prog_cc_c89"
4628 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4629 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4634 ac_cpp='$CPP $CPPFLAGS'
4635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4636 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4639 depcc="$CC" am_compiler_list=
4641 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4642 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4643 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4647 # We make a subdir and do the tests there. Otherwise we can end up
4648 # making bogus files that we don't know about and never remove. For
4649 # instance it was reported that on HP-UX the gcc test will end up
4650 # making a dummy file named `D' -- because `-MD' means `put the output
4653 # Copy depcomp to subdir because otherwise we won't find it if we're
4654 # using a relative directory.
4655 cp "$am_depcomp" conftest.dir
4657 # We will build objects and dependencies in a subdirectory because
4658 # it helps to detect inapplicable dependency modes. For instance
4659 # both Tru64's cc and ICC support -MD to output dependencies as a
4660 # side effect of compilation, but ICC will put the dependencies in
4661 # the current directory while Tru64 will put them in the object
4665 am_cv_CC_dependencies_compiler_type
=none
4666 if test "$am_compiler_list" = ""; then
4667 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4669 for depmode
in $am_compiler_list; do
4670 # Setup a source with many dependencies, because some compilers
4671 # like to wrap large dependency lists on column 80 (with \), and
4672 # we should not choose a depcomp mode which is confused by this.
4674 # We need to recreate these files for each test, as the compiler may
4675 # overwrite some of them when testing with obscure command lines.
4676 # This happens at least with the AIX C compiler.
4678 for i
in 1 2 3 4 5 6; do
4679 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4680 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4681 # Solaris 8's {/usr,}/bin/sh.
4682 touch sub
/conftst
$i.h
4684 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4688 # after this tag, mechanisms are not by side-effect, so they'll
4689 # only be used when explicitly requested
4690 if test "x$enable_dependency_tracking" = xyes
; then
4698 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4699 # mode. It turns out that the SunPro C++ compiler does not properly
4700 # handle `-M -o', and we need to detect this.
4701 if depmode
=$depmode \
4702 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4703 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4704 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4705 >/dev
/null
2>conftest.err
&&
4706 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4707 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4708 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4709 # icc doesn't choke on unknown options, it will just issue warnings
4710 # or remarks (even with -Werror). So we grep stderr for any message
4711 # that says an option was ignored or not supported.
4712 # When given -MP, icc 7.0 and 7.1 complain thusly:
4713 # icc: Command line warning: ignoring option '-M'; no argument required
4714 # The diagnosis changed in icc 8.0:
4715 # icc: Command line remark: option '-MP' not supported
4716 if (grep 'ignoring option' conftest.err
||
4717 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4718 am_cv_CC_dependencies_compiler_type
=$depmode
4727 am_cv_CC_dependencies_compiler_type
=none
4731 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4732 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4733 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4738 test "x$enable_dependency_tracking" != xno \
4739 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4741 am__fastdepCC_FALSE
='#'
4743 am__fastdepCC_TRUE
='#'
4744 am__fastdepCC_FALSE
=
4748 # Find a good install program. We prefer a C program (faster),
4749 # so one script is as good as another. But avoid the broken or
4750 # incompatible versions:
4751 # SysV /etc/install, /usr/sbin/install
4752 # SunOS /usr/etc/install
4753 # IRIX /sbin/install
4755 # AmigaOS /C/install, which installs bootblocks on floppy discs
4756 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4757 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4758 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4759 # OS/2's system install, which has a completely different semantic
4760 # ./install, which can be erroneously created by make from ./install.sh.
4761 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4762 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4763 if test -z "$INSTALL"; then
4764 if test "${ac_cv_path_install+set}" = set; then
4765 echo $ECHO_N "(cached) $ECHO_C" >&6
4767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir
=.
4772 # Account for people who put trailing slashes in PATH elements.
4774 .
/ | .
// | /cC
/* | \
4775 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4776 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4779 # OSF1 and SCO ODT 3.0 have their own names for install.
4780 # Don't use installbsd from OSF since it installs stuff as root
4782 for ac_prog
in ginstall scoinst
install; do
4783 for ac_exec_ext
in '' $ac_executable_extensions; do
4784 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
4785 if test $ac_prog = install &&
4786 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4787 # AIX install. It has an incompatible calling convention.
4789 elif test $ac_prog = install &&
4790 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4791 # program-specific install script used by HP pwplus--don't use.
4794 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4807 if test "${ac_cv_path_install+set}" = set; then
4808 INSTALL
=$ac_cv_path_install
4810 # As a last resort, use the slow shell script. Don't cache a
4811 # value for INSTALL within a source directory, because that will
4812 # break other packages using the cache if that directory is
4813 # removed, or if the value is a relative name.
4814 INSTALL
=$ac_install_sh
4817 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4818 echo "${ECHO_T}$INSTALL" >&6; }
4820 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4821 # It thinks the first close brace ends the variable substitution.
4822 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4824 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4826 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4829 if test -n "$ac_tool_prefix"; then
4830 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4831 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4834 if test "${ac_cv_prog_RANLIB+set}" = set; then
4835 echo $ECHO_N "(cached) $ECHO_C" >&6
4837 if test -n "$RANLIB"; then
4838 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4844 test -z "$as_dir" && as_dir
=.
4845 for ac_exec_ext
in '' $ac_executable_extensions; do
4846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4847 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4857 RANLIB
=$ac_cv_prog_RANLIB
4858 if test -n "$RANLIB"; then
4859 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4860 echo "${ECHO_T}$RANLIB" >&6; }
4862 { echo "$as_me:$LINENO: result: no" >&5
4863 echo "${ECHO_T}no" >&6; }
4868 if test -z "$ac_cv_prog_RANLIB"; then
4869 ac_ct_RANLIB
=$RANLIB
4870 # Extract the first word of "ranlib", so it can be a program name with args.
4871 set dummy ranlib
; ac_word
=$2
4872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4874 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4875 echo $ECHO_N "(cached) $ECHO_C" >&6
4877 if test -n "$ac_ct_RANLIB"; then
4878 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4887 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4898 if test -n "$ac_ct_RANLIB"; then
4899 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4900 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4902 { echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6; }
4906 if test "x$ac_ct_RANLIB" = x
; then
4909 case $cross_compiling:$ac_tool_warned in
4911 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4912 whose name does not start with the host triplet. If you think this
4913 configuration is useful to you, please write to autoconf@gnu.org." >&5
4914 echo "$as_me: 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." >&2;}
4917 ac_tool_warned
=yes ;;
4919 RANLIB
=$ac_ct_RANLIB
4922 RANLIB
="$ac_cv_prog_RANLIB"
4926 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4927 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4929 if test "$LN_S" = "ln -s"; then
4930 { echo "$as_me:$LINENO: result: yes" >&5
4931 echo "${ECHO_T}yes" >&6; }
4933 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4934 echo "${ECHO_T}no, using $LN_S" >&6; }
4937 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4938 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4939 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4940 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
4941 echo $ECHO_N "(cached) $ECHO_C" >&6
4943 cat >conftest.
make <<\_ACEOF
4946 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4948 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4949 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4951 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4953 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4957 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4958 { echo "$as_me:$LINENO: result: yes" >&5
4959 echo "${ECHO_T}yes" >&6; }
4962 { echo "$as_me:$LINENO: result: no" >&5
4963 echo "${ECHO_T}no" >&6; }
4964 SET_MAKE
="MAKE=${MAKE-make}"
4968 ac_cpp
='$CPP $CPPFLAGS'
4969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4972 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4973 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4974 # On Suns, sometimes $CPP names a directory.
4975 if test -n "$CPP" && test -d "$CPP"; then
4978 if test -z "$CPP"; then
4979 if test "${ac_cv_prog_CPP+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 # Double quotes because CPP needs to be expanded
4983 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4986 for ac_c_preproc_warn_flag
in '' yes
4988 # Use a header file that comes with gcc, so configuring glibc
4989 # with a fresh cross-compiler works.
4990 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4991 # <limits.h> exists even on freestanding compilers.
4992 # On the NeXT, cc -E runs the code through the compiler's parser,
4993 # not just through cpp. "Syntax error" is here to catch this case.
4994 cat >conftest.
$ac_ext <<_ACEOF
4997 cat confdefs.h
>>conftest.
$ac_ext
4998 cat >>conftest.
$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5001 # include <limits.h>
5003 # include <assert.h>
5007 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5010 *) ac_try_echo=$ac_try;;
5012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5015 grep -v '^ *+' conftest.er1 >conftest.err
5017 cat conftest.err >&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); } >/dev/null; then
5020 if test -s conftest.err; then
5021 ac_cpp_err=$ac_c_preproc_warn_flag
5022 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5029 if test -z "$ac_cpp_err"; then
5032 echo "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.$ac_ext >&5
5035 # Broken: fails on valid input.
5039 rm -f conftest.err conftest.$ac_ext
5041 # OK, works on sane cases. Now check whether nonexistent headers
5042 # can be detected and how.
5043 cat >conftest.$ac_ext <<_ACEOF
5046 cat confdefs.h >>conftest.$ac_ext
5047 cat >>conftest.$ac_ext <<_ACEOF
5048 /* end confdefs.h. */
5049 #include <ac_nonexistent.h>
5051 if { (ac_try="$ac_cpp conftest.$ac_ext"
5053 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5054 *) ac_try_echo
=$ac_try;;
5056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5057 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5059 grep -v '^ *+' conftest.er1
>conftest.err
5061 cat conftest.err
>&5
5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063 (exit $ac_status); } >/dev
/null
; then
5064 if test -s conftest.err
; then
5065 ac_cpp_err
=$ac_c_preproc_warn_flag
5066 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5073 if test -z "$ac_cpp_err"; then
5074 # Broken: success on invalid input.
5077 echo "$as_me: failed program was:" >&5
5078 sed 's/^/| /' conftest.
$ac_ext >&5
5080 # Passes both tests.
5085 rm -f conftest.err conftest.
$ac_ext
5088 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5089 rm -f conftest.err conftest.
$ac_ext
5090 if $ac_preproc_ok; then
5102 { echo "$as_me:$LINENO: result: $CPP" >&5
5103 echo "${ECHO_T}$CPP" >&6; }
5105 for ac_c_preproc_warn_flag
in '' yes
5107 # Use a header file that comes with gcc, so configuring glibc
5108 # with a fresh cross-compiler works.
5109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5110 # <limits.h> exists even on freestanding compilers.
5111 # On the NeXT, cc -E runs the code through the compiler's parser,
5112 # not just through cpp. "Syntax error" is here to catch this case.
5113 cat >conftest.
$ac_ext <<_ACEOF
5116 cat confdefs.h
>>conftest.
$ac_ext
5117 cat >>conftest.
$ac_ext <<_ACEOF
5118 /* end confdefs.h. */
5120 # include <limits.h>
5122 # include <assert.h>
5126 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5129 *) ac_try_echo=$ac_try;;
5131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5132 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5134 grep -v '^ *+' conftest.er1 >conftest.err
5136 cat conftest.err >&5
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); } >/dev/null; then
5139 if test -s conftest.err; then
5140 ac_cpp_err=$ac_c_preproc_warn_flag
5141 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5148 if test -z "$ac_cpp_err"; then
5151 echo "$as_me: failed program was:" >&5
5152 sed 's/^/| /' conftest.$ac_ext >&5
5154 # Broken: fails on valid input.
5158 rm -f conftest.err conftest.$ac_ext
5160 # OK, works on sane cases. Now check whether nonexistent headers
5161 # can be detected and how.
5162 cat >conftest.$ac_ext <<_ACEOF
5165 cat confdefs.h >>conftest.$ac_ext
5166 cat >>conftest.$ac_ext <<_ACEOF
5167 /* end confdefs.h. */
5168 #include <ac_nonexistent.h>
5170 if { (ac_try="$ac_cpp conftest.$ac_ext"
5172 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5173 *) ac_try_echo
=$ac_try;;
5175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5176 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5178 grep -v '^ *+' conftest.er1
>conftest.err
5180 cat conftest.err
>&5
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); } >/dev
/null
; then
5183 if test -s conftest.err
; then
5184 ac_cpp_err
=$ac_c_preproc_warn_flag
5185 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5192 if test -z "$ac_cpp_err"; then
5193 # Broken: success on invalid input.
5196 echo "$as_me: failed program was:" >&5
5197 sed 's/^/| /' conftest.
$ac_ext >&5
5199 # Passes both tests.
5204 rm -f conftest.err conftest.
$ac_ext
5207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5208 rm -f conftest.err conftest.
$ac_ext
5209 if $ac_preproc_ok; then
5212 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5213 See \`config.log' for more details." >&5
5214 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5215 See \`config.log' for more details." >&2;}
5216 { (exit 1); exit 1; }; }
5220 ac_cpp
='$CPP $CPPFLAGS'
5221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5226 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5227 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5228 if test "${ac_cv_path_GREP+set}" = set; then
5229 echo $ECHO_N "(cached) $ECHO_C" >&6
5231 # Extract the first word of "grep ggrep" to use in msg output
5232 if test -z "$GREP"; then
5233 set dummy
grep ggrep
; ac_prog_name
=$2
5234 if test "${ac_cv_path_GREP+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 ac_path_GREP_found
=false
5238 # Loop through the user's path and test for each of PROGNAME-LIST
5239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5240 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5243 test -z "$as_dir" && as_dir
=.
5244 for ac_prog
in grep ggrep
; do
5245 for ac_exec_ext
in '' $ac_executable_extensions; do
5246 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5247 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
5248 # Check for GNU ac_path_GREP and select it if it is found.
5249 # Check for GNU $ac_path_GREP
5250 case `"$ac_path_GREP" --version 2>&1` in
5252 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5255 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5258 cat "conftest.in" "conftest.in" >"conftest.tmp"
5259 mv "conftest.tmp" "conftest.in"
5260 cp "conftest.in" "conftest.nl"
5261 echo 'GREP' >> "conftest.nl"
5262 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5263 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5264 ac_count
=`expr $ac_count + 1`
5265 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5266 # Best one so far, save it but keep looking for a better one
5267 ac_cv_path_GREP
="$ac_path_GREP"
5268 ac_path_GREP_max
=$ac_count
5270 # 10*(2^10) chars as input seems more than enough
5271 test $ac_count -gt 10 && break
5273 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5277 $ac_path_GREP_found && break 3
5287 GREP
="$ac_cv_path_GREP"
5288 if test -z "$GREP"; then
5289 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5290 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5291 { (exit 1); exit 1; }; }
5295 ac_cv_path_GREP
=$GREP
5300 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5301 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5302 GREP
="$ac_cv_path_GREP"
5305 { echo "$as_me:$LINENO: checking for egrep" >&5
5306 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5307 if test "${ac_cv_path_EGREP+set}" = set; then
5308 echo $ECHO_N "(cached) $ECHO_C" >&6
5310 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
5311 then ac_cv_path_EGREP
="$GREP -E"
5313 # Extract the first word of "egrep" to use in msg output
5314 if test -z "$EGREP"; then
5315 set dummy
egrep; ac_prog_name
=$2
5316 if test "${ac_cv_path_EGREP+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5319 ac_path_EGREP_found
=false
5320 # Loop through the user's path and test for each of PROGNAME-LIST
5321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5322 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5325 test -z "$as_dir" && as_dir
=.
5326 for ac_prog
in egrep; do
5327 for ac_exec_ext
in '' $ac_executable_extensions; do
5328 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5329 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
5330 # Check for GNU ac_path_EGREP and select it if it is found.
5331 # Check for GNU $ac_path_EGREP
5332 case `"$ac_path_EGREP" --version 2>&1` in
5334 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5337 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5340 cat "conftest.in" "conftest.in" >"conftest.tmp"
5341 mv "conftest.tmp" "conftest.in"
5342 cp "conftest.in" "conftest.nl"
5343 echo 'EGREP' >> "conftest.nl"
5344 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5345 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5346 ac_count
=`expr $ac_count + 1`
5347 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5348 # Best one so far, save it but keep looking for a better one
5349 ac_cv_path_EGREP
="$ac_path_EGREP"
5350 ac_path_EGREP_max
=$ac_count
5352 # 10*(2^10) chars as input seems more than enough
5353 test $ac_count -gt 10 && break
5355 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5359 $ac_path_EGREP_found && break 3
5369 EGREP
="$ac_cv_path_EGREP"
5370 if test -z "$EGREP"; then
5371 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5372 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5373 { (exit 1); exit 1; }; }
5377 ac_cv_path_EGREP
=$EGREP
5383 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5384 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5385 EGREP
="$ac_cv_path_EGREP"
5388 if test $ac_cv_c_compiler_gnu = yes; then
5389 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
5390 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
5391 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5394 ac_pattern
="Autoconf.*'x'"
5395 cat >conftest.
$ac_ext <<_ACEOF
5398 cat confdefs.h
>>conftest.
$ac_ext
5399 cat >>conftest.
$ac_ext <<_ACEOF
5400 /* end confdefs.h. */
5404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5405 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5406 ac_cv_prog_gcc_traditional
=yes
5408 ac_cv_prog_gcc_traditional
=no
5413 if test $ac_cv_prog_gcc_traditional = no
; then
5414 cat >conftest.
$ac_ext <<_ACEOF
5417 cat confdefs.h
>>conftest.
$ac_ext
5418 cat >>conftest.
$ac_ext <<_ACEOF
5419 /* end confdefs.h. */
5423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5424 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5425 ac_cv_prog_gcc_traditional
=yes
5431 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
5432 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
5433 if test $ac_cv_prog_gcc_traditional = yes; then
5434 CC
="$CC -traditional"
5438 # Extract the first word of "gmake", so it can be a program name with args.
5439 set dummy gmake
; ac_word
=$2
5440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5442 if test "${ac_cv_prog_MAKER+set}" = set; then
5443 echo $ECHO_N "(cached) $ECHO_C" >&6
5445 if test -n "$MAKER"; then
5446 ac_cv_prog_MAKER
="$MAKER" # Let the user override the test.
5448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5452 test -z "$as_dir" && as_dir
=.
5453 for ac_exec_ext
in '' $ac_executable_extensions; do
5454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5455 ac_cv_prog_MAKER
="gmake"
5456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5463 test -z "$ac_cv_prog_MAKER" && ac_cv_prog_MAKER
="make"
5466 MAKER
=$ac_cv_prog_MAKER
5467 if test -n "$MAKER"; then
5468 { echo "$as_me:$LINENO: result: $MAKER" >&5
5469 echo "${ECHO_T}$MAKER" >&6; }
5471 { echo "$as_me:$LINENO: result: no" >&5
5472 echo "${ECHO_T}no" >&6; }
5478 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
5481 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
5485 EXTRA_DEFINE
="-D__SOLARIS__"
5486 ANSI_SRC
="-fno-builtin"
5489 ANSI_SRC
="-fno-builtin"
5492 EXTRA_DEFINE
="-D_GNU_SOURCE"
5499 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
5502 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
5503 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
5504 if test "${ac_cv_lib_socket_socket+set}" = set; then
5505 echo $ECHO_N "(cached) $ECHO_C" >&6
5507 ac_check_lib_save_LIBS
=$LIBS
5508 LIBS
="-lsocket $LIBS"
5509 cat >conftest.
$ac_ext <<_ACEOF
5512 cat confdefs.h
>>conftest.
$ac_ext
5513 cat >>conftest.
$ac_ext <<_ACEOF
5514 /* end confdefs.h. */
5516 /* Override any GCC internal prototype to avoid an error.
5517 Use char because int might match the return type of a GCC
5518 builtin and then its argument prototype would still apply. */
5531 rm -f conftest.
$ac_objext conftest
$ac_exeext
5532 if { (ac_try
="$ac_link"
5534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5535 *) ac_try_echo=$ac_try;;
5537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5538 (eval "$ac_link") 2>conftest.er1
5540 grep -v '^ *+' conftest.er1 >conftest.err
5542 cat conftest.err >&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); } &&
5545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5546 { (case "(($ac_try" in
5547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5548 *) ac_try_echo
=$ac_try;;
5550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5551 (eval "$ac_try") 2>&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; } &&
5555 { ac_try
='test -s conftest$ac_exeext'
5556 { (case "(($ac_try" in
5557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5558 *) ac_try_echo=$ac_try;;
5560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5561 (eval "$ac_try") 2>&5
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); }; }; then
5565 ac_cv_lib_socket_socket=yes
5567 echo "$as_me: failed program was:" >&5
5568 sed 's/^/| /' conftest.$ac_ext >&5
5570 ac_cv_lib_socket_socket=no
5573 rm -f core conftest.err conftest.$ac_objext \
5574 conftest$ac_exeext conftest.$ac_ext
5575 LIBS=$ac_check_lib_save_LIBS
5577 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
5578 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
5579 if test $ac_cv_lib_socket_socket = yes; then
5580 cat >>confdefs.h <<_ACEOF
5581 #define HAVE_LIBSOCKET 1
5584 LIBS="-lsocket $LIBS"
5589 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5590 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
5591 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5592 echo $ECHO_N "(cached) $ECHO_C" >&6
5594 ac_check_lib_save_LIBS=$LIBS
5596 cat >conftest.$ac_ext <<_ACEOF
5599 cat confdefs.h >>conftest.$ac_ext
5600 cat >>conftest.$ac_ext <<_ACEOF
5601 /* end confdefs.h. */
5603 /* Override any GCC internal prototype to avoid an error.
5604 Use char because int might match the return type of a GCC
5605 builtin and then its argument prototype would still apply. */
5609 char gethostbyname ();
5613 return gethostbyname ();
5618 rm -f conftest.$ac_objext conftest$ac_exeext
5619 if { (ac_try="$ac_link"
5621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5622 *) ac_try_echo
=$ac_try;;
5624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5625 (eval "$ac_link") 2>conftest.er1
5627 grep -v '^ *+' conftest.er1
>conftest.err
5629 cat conftest.err
>&5
5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631 (exit $ac_status); } &&
5632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5633 { (case "(($ac_try" in
5634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5635 *) ac_try_echo=$ac_try;;
5637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5638 (eval "$ac_try") 2>&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); }; } &&
5642 { ac_try='test -s conftest$ac_exeext'
5643 { (case "(($ac_try" in
5644 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5645 *) ac_try_echo
=$ac_try;;
5647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5648 (eval "$ac_try") 2>&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; }; then
5652 ac_cv_lib_nsl_gethostbyname
=yes
5654 echo "$as_me: failed program was:" >&5
5655 sed 's/^/| /' conftest.
$ac_ext >&5
5657 ac_cv_lib_nsl_gethostbyname
=no
5660 rm -f core conftest.err conftest.
$ac_objext \
5661 conftest
$ac_exeext conftest.
$ac_ext
5662 LIBS
=$ac_check_lib_save_LIBS
5664 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5665 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
5666 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5667 cat >>confdefs.h
<<_ACEOF
5668 #define HAVE_LIBNSL 1
5676 { echo "$as_me:$LINENO: checking for main in -lm" >&5
5677 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
5678 if test "${ac_cv_lib_m_main+set}" = set; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 ac_check_lib_save_LIBS
=$LIBS
5683 cat >conftest.
$ac_ext <<_ACEOF
5686 cat confdefs.h
>>conftest.
$ac_ext
5687 cat >>conftest.
$ac_ext <<_ACEOF
5688 /* end confdefs.h. */
5699 rm -f conftest.
$ac_objext conftest
$ac_exeext
5700 if { (ac_try
="$ac_link"
5702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5703 *) ac_try_echo=$ac_try;;
5705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5706 (eval "$ac_link") 2>conftest.er1
5708 grep -v '^ *+' conftest.er1 >conftest.err
5710 cat conftest.err >&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); } &&
5713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5714 { (case "(($ac_try" in
5715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5716 *) ac_try_echo
=$ac_try;;
5718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5719 (eval "$ac_try") 2>&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); }; } &&
5723 { ac_try
='test -s conftest$ac_exeext'
5724 { (case "(($ac_try" in
5725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5726 *) ac_try_echo=$ac_try;;
5728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5729 (eval "$ac_try") 2>&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); }; }; then
5733 ac_cv_lib_m_main=yes
5735 echo "$as_me: failed program was:" >&5
5736 sed 's/^/| /' conftest.$ac_ext >&5
5741 rm -f core conftest.err conftest.$ac_objext \
5742 conftest$ac_exeext conftest.$ac_ext
5743 LIBS=$ac_check_lib_save_LIBS
5745 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
5746 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
5747 if test $ac_cv_lib_m_main = yes; then
5748 cat >>confdefs.h <<_ACEOF
5757 { echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
5758 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6; }
5759 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
5760 echo $ECHO_N "(cached) $ECHO_C" >&6
5762 ac_check_lib_save_LIBS=$LIBS
5763 LIBS="-lGeoIP $LIBS"
5764 cat >conftest.$ac_ext <<_ACEOF
5767 cat confdefs.h >>conftest.$ac_ext
5768 cat >>conftest.$ac_ext <<_ACEOF
5769 /* end confdefs.h. */
5771 /* Override any GCC internal prototype to avoid an error.
5772 Use char because int might match the return type of a GCC
5773 builtin and then its argument prototype would still apply. */
5781 return GeoIP_open ();
5786 rm -f conftest.$ac_objext conftest$ac_exeext
5787 if { (ac_try="$ac_link"
5789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5790 *) ac_try_echo
=$ac_try;;
5792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5793 (eval "$ac_link") 2>conftest.er1
5795 grep -v '^ *+' conftest.er1
>conftest.err
5797 cat conftest.err
>&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); } &&
5800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5801 { (case "(($ac_try" in
5802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5803 *) ac_try_echo=$ac_try;;
5805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5806 (eval "$ac_try") 2>&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); }; } &&
5810 { ac_try='test -s conftest$ac_exeext'
5811 { (case "(($ac_try" in
5812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5813 *) ac_try_echo
=$ac_try;;
5815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5816 (eval "$ac_try") 2>&5
5818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819 (exit $ac_status); }; }; then
5820 ac_cv_lib_GeoIP_GeoIP_open
=yes
5822 echo "$as_me: failed program was:" >&5
5823 sed 's/^/| /' conftest.
$ac_ext >&5
5825 ac_cv_lib_GeoIP_GeoIP_open
=no
5828 rm -f core conftest.err conftest.
$ac_objext \
5829 conftest
$ac_exeext conftest.
$ac_ext
5830 LIBS
=$ac_check_lib_save_LIBS
5832 { echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
5833 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
5834 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
5835 cat >>confdefs.h
<<_ACEOF
5836 #define HAVE_LIBGEOIP 1
5839 LIBS
="-lGeoIP $LIBS"
5844 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5845 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5846 if test "${ac_cv_header_stdc+set}" = set; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5849 cat >conftest.
$ac_ext <<_ACEOF
5852 cat confdefs.h
>>conftest.
$ac_ext
5853 cat >>conftest.
$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5868 rm -f conftest.
$ac_objext
5869 if { (ac_try
="$ac_compile"
5871 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5872 *) ac_try_echo=$ac_try;;
5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5875 (eval "$ac_compile") 2>conftest.er1
5877 grep -v '^ *+' conftest.er1 >conftest.err
5879 cat conftest.err >&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); } &&
5882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5883 { (case "(($ac_try" in
5884 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5885 *) ac_try_echo
=$ac_try;;
5887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5888 (eval "$ac_try") 2>&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); }; } &&
5892 { ac_try
='test -s conftest.$ac_objext'
5893 { (case "(($ac_try" in
5894 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5895 *) ac_try_echo=$ac_try;;
5897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5898 (eval "$ac_try") 2>&5
5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901 (exit $ac_status); }; }; then
5902 ac_cv_header_stdc=yes
5904 echo "$as_me: failed program was:" >&5
5905 sed 's/^/| /' conftest.$ac_ext >&5
5907 ac_cv_header_stdc=no
5910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5912 if test $ac_cv_header_stdc = yes; then
5913 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5914 cat >conftest.$ac_ext <<_ACEOF
5917 cat confdefs.h >>conftest.$ac_ext
5918 cat >>conftest.$ac_ext <<_ACEOF
5919 /* end confdefs.h. */
5923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5924 $EGREP "memchr" >/dev/null 2>&1; then
5927 ac_cv_header_stdc=no
5933 if test $ac_cv_header_stdc = yes; then
5934 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5935 cat >conftest.$ac_ext <<_ACEOF
5938 cat confdefs.h >>conftest.$ac_ext
5939 cat >>conftest.$ac_ext <<_ACEOF
5940 /* end confdefs.h. */
5944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5945 $EGREP "free" >/dev/null 2>&1; then
5948 ac_cv_header_stdc=no
5954 if test $ac_cv_header_stdc = yes; then
5955 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5956 if test "$cross_compiling" = yes; then
5959 cat >conftest.$ac_ext <<_ACEOF
5962 cat confdefs.h >>conftest.$ac_ext
5963 cat >>conftest.$ac_ext <<_ACEOF
5964 /* end confdefs.h. */
5967 #if ((' ' & 0x0FF) == 0x020)
5968 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5969 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5971 # define ISLOWER(c) \
5972 (('a' <= (c) && (c) <= 'i') \
5973 || ('j' <= (c) && (c) <= 'r') \
5974 || ('s' <= (c) && (c) <= 'z'))
5975 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5978 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5983 for (i = 0; i < 256; i++)
5984 if (XOR (islower (i), ISLOWER (i))
5985 || toupper (i) != TOUPPER (i))
5990 rm -f conftest$ac_exeext
5991 if { (ac_try="$ac_link"
5993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5994 *) ac_try_echo
=$ac_try;;
5996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5997 (eval "$ac_link") 2>&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6001 { (case "(($ac_try" in
6002 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6003 *) ac_try_echo=$ac_try;;
6005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6006 (eval "$ac_try") 2>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }; }; then
6012 echo "$as_me: program exited with status $ac_status" >&5
6013 echo "$as_me: failed program was:" >&5
6014 sed 's/^/| /' conftest.$ac_ext >&5
6017 ac_cv_header_stdc=no
6019 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6025 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6026 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6027 if test $ac_cv_header_stdc = yes; then
6029 cat >>confdefs.h <<\_ACEOF
6030 #define STDC_HEADERS 1
6036 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6037 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6038 if test "${ac_cv_header_time+set}" = set; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6041 cat >conftest.$ac_ext <<_ACEOF
6044 cat confdefs.h >>conftest.$ac_ext
6045 cat >>conftest.$ac_ext <<_ACEOF
6046 /* end confdefs.h. */
6047 #include <sys/types.h>
6048 #include <sys/time.h>
6054 if ((struct tm *) 0)
6060 rm -f conftest.$ac_objext
6061 if { (ac_try="$ac_compile"
6063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6064 *) ac_try_echo
=$ac_try;;
6066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6067 (eval "$ac_compile") 2>conftest.er1
6069 grep -v '^ *+' conftest.er1
>conftest.err
6071 cat conftest.err
>&5
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); } &&
6074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6075 { (case "(($ac_try" in
6076 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6077 *) ac_try_echo=$ac_try;;
6079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6080 (eval "$ac_try") 2>&5
6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); }; } &&
6084 { ac_try='test -s conftest.$ac_objext'
6085 { (case "(($ac_try" in
6086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6087 *) ac_try_echo
=$ac_try;;
6089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6090 (eval "$ac_try") 2>&5
6092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093 (exit $ac_status); }; }; then
6094 ac_cv_header_time
=yes
6096 echo "$as_me: failed program was:" >&5
6097 sed 's/^/| /' conftest.
$ac_ext >&5
6099 ac_cv_header_time
=no
6102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6104 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6105 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6106 if test $ac_cv_header_time = yes; then
6108 cat >>confdefs.h
<<\_ACEOF
6109 #define TIME_WITH_SYS_TIME 1
6114 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6115 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6116 if test "${ac_cv_struct_tm+set}" = set; then
6117 echo $ECHO_N "(cached) $ECHO_C" >&6
6119 cat >conftest.
$ac_ext <<_ACEOF
6122 cat confdefs.h
>>conftest.
$ac_ext
6123 cat >>conftest.
$ac_ext <<_ACEOF
6124 /* end confdefs.h. */
6125 #include <sys/types.h>
6131 struct tm *tp; tp->tm_sec;
6136 rm -f conftest.
$ac_objext
6137 if { (ac_try
="$ac_compile"
6139 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6140 *) ac_try_echo=$ac_try;;
6142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6143 (eval "$ac_compile") 2>conftest.er1
6145 grep -v '^ *+' conftest.er1 >conftest.err
6147 cat conftest.err >&5
6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149 (exit $ac_status); } &&
6150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6151 { (case "(($ac_try" in
6152 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6153 *) ac_try_echo
=$ac_try;;
6155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6156 (eval "$ac_try") 2>&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; } &&
6160 { ac_try
='test -s conftest.$ac_objext'
6161 { (case "(($ac_try" in
6162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6163 *) ac_try_echo=$ac_try;;
6165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6166 (eval "$ac_try") 2>&5
6168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 (exit $ac_status); }; }; then
6170 ac_cv_struct_tm=time.h
6172 echo "$as_me: failed program was:" >&5
6173 sed 's/^/| /' conftest.$ac_ext >&5
6175 ac_cv_struct_tm=sys/time.h
6178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6180 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6181 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6182 if test $ac_cv_struct_tm = sys/time.h; then
6184 cat >>confdefs.h <<\_ACEOF
6185 #define TM_IN_SYS_TIME 1
6191 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6201 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6202 inttypes.h stdint.h unistd.h
6204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6205 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 cat >conftest.$ac_ext <<_ACEOF
6213 cat confdefs.h >>conftest.$ac_ext
6214 cat >>conftest.$ac_ext <<_ACEOF
6215 /* end confdefs.h. */
6216 $ac_includes_default
6218 #include <$ac_header>
6220 rm -f conftest.$ac_objext
6221 if { (ac_try="$ac_compile"
6223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6224 *) ac_try_echo
=$ac_try;;
6226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6227 (eval "$ac_compile") 2>conftest.er1
6229 grep -v '^ *+' conftest.er1
>conftest.err
6231 cat conftest.err
>&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); } &&
6234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6235 { (case "(($ac_try" in
6236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6237 *) ac_try_echo=$ac_try;;
6239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6240 (eval "$ac_try") 2>&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); }; } &&
6244 { ac_try='test -s conftest.$ac_objext'
6245 { (case "(($ac_try" in
6246 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6247 *) ac_try_echo
=$ac_try;;
6249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6250 (eval "$ac_try") 2>&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); }; }; then
6254 eval "$as_ac_Header=yes"
6256 echo "$as_me: failed program was:" >&5
6257 sed 's/^/| /' conftest.
$ac_ext >&5
6259 eval "$as_ac_Header=no"
6262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6264 ac_res
=`eval echo '${'$as_ac_Header'}'`
6265 { echo "$as_me:$LINENO: result: $ac_res" >&5
6266 echo "${ECHO_T}$ac_res" >&6; }
6267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6268 cat >>confdefs.h
<<_ACEOF
6269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6299 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
6301 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6302 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6303 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6305 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6306 echo $ECHO_N "(cached) $ECHO_C" >&6
6308 ac_res
=`eval echo '${'$as_ac_Header'}'`
6309 { echo "$as_me:$LINENO: result: $ac_res" >&5
6310 echo "${ECHO_T}$ac_res" >&6; }
6312 # Is the header compilable?
6313 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6314 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6315 cat >conftest.
$ac_ext <<_ACEOF
6318 cat confdefs.h
>>conftest.
$ac_ext
6319 cat >>conftest.
$ac_ext <<_ACEOF
6320 /* end confdefs.h. */
6321 $ac_includes_default
6322 #include <$ac_header>
6324 rm -f conftest.
$ac_objext
6325 if { (ac_try
="$ac_compile"
6327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6328 *) ac_try_echo=$ac_try;;
6330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6331 (eval "$ac_compile") 2>conftest.er1
6333 grep -v '^ *+' conftest.er1 >conftest.err
6335 cat conftest.err >&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } &&
6338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6339 { (case "(($ac_try" in
6340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6341 *) ac_try_echo
=$ac_try;;
6343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6344 (eval "$ac_try") 2>&5
6346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347 (exit $ac_status); }; } &&
6348 { ac_try
='test -s conftest.$ac_objext'
6349 { (case "(($ac_try" in
6350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6351 *) ac_try_echo=$ac_try;;
6353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6354 (eval "$ac_try") 2>&5
6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357 (exit $ac_status); }; }; then
6358 ac_header_compiler=yes
6360 echo "$as_me: failed program was:" >&5
6361 sed 's/^/| /' conftest.$ac_ext >&5
6363 ac_header_compiler=no
6366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6367 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6368 echo "${ECHO_T}$ac_header_compiler" >&6; }
6370 # Is the header present?
6371 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6373 cat >conftest.$ac_ext <<_ACEOF
6376 cat confdefs.h >>conftest.$ac_ext
6377 cat >>conftest.$ac_ext <<_ACEOF
6378 /* end confdefs.h. */
6379 #include <$ac_header>
6381 if { (ac_try="$ac_cpp conftest.$ac_ext"
6383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6384 *) ac_try_echo
=$ac_try;;
6386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6387 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6389 grep -v '^ *+' conftest.er1
>conftest.err
6391 cat conftest.err
>&5
6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); } >/dev
/null
; then
6394 if test -s conftest.err
; then
6395 ac_cpp_err
=$ac_c_preproc_warn_flag
6396 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6403 if test -z "$ac_cpp_err"; then
6404 ac_header_preproc
=yes
6406 echo "$as_me: failed program was:" >&5
6407 sed 's/^/| /' conftest.
$ac_ext >&5
6409 ac_header_preproc
=no
6412 rm -f conftest.err conftest.
$ac_ext
6413 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6414 echo "${ECHO_T}$ac_header_preproc" >&6; }
6416 # So? What about this header?
6417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6419 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6420 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6422 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6423 ac_header_preproc
=yes
6426 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6427 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6428 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6429 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6430 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6431 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6432 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6433 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6436 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6437 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6439 ## -------------------------------------------------- ##
6440 ## Report this to evilnet-devel@lists.sourceforge.net ##
6441 ## -------------------------------------------------- ##
6443 ) | sed "s/^/$as_me: WARNING: /" >&2
6446 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6448 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6449 echo $ECHO_N "(cached) $ECHO_C" >&6
6451 eval "$as_ac_Header=\$ac_header_preproc"
6453 ac_res
=`eval echo '${'$as_ac_Header'}'`
6454 { echo "$as_me:$LINENO: result: $ac_res" >&5
6455 echo "${ECHO_T}$ac_res" >&6; }
6458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6459 cat >>confdefs.h
<<_ACEOF
6460 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6468 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
6469 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
6470 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 cat >conftest.
$ac_ext <<_ACEOF
6476 cat confdefs.h
>>conftest.
$ac_ext
6477 cat >>conftest.
$ac_ext <<_ACEOF
6478 /* end confdefs.h. */
6479 #include <sys/types.h>
6480 #include <sys/socket.h>
6485 static struct sockaddr ac_aggr;
6492 rm -f conftest.
$ac_objext
6493 if { (ac_try
="$ac_compile"
6495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6496 *) ac_try_echo=$ac_try;;
6498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6499 (eval "$ac_compile") 2>conftest.er1
6501 grep -v '^ *+' conftest.er1 >conftest.err
6503 cat conftest.err >&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); } &&
6506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6507 { (case "(($ac_try" in
6508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6509 *) ac_try_echo
=$ac_try;;
6511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6512 (eval "$ac_try") 2>&5
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }; } &&
6516 { ac_try
='test -s conftest.$ac_objext'
6517 { (case "(($ac_try" in
6518 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6519 *) ac_try_echo=$ac_try;;
6521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6522 (eval "$ac_try") 2>&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; }; then
6526 ac_cv_member_struct_sockaddr_sa_len=yes
6528 echo "$as_me: failed program was:" >&5
6529 sed 's/^/| /' conftest.$ac_ext >&5
6531 cat >conftest.$ac_ext <<_ACEOF
6534 cat confdefs.h >>conftest.$ac_ext
6535 cat >>conftest.$ac_ext <<_ACEOF
6536 /* end confdefs.h. */
6537 #include <sys/types.h>
6538 #include <sys/socket.h>
6543 static struct sockaddr ac_aggr;
6544 if (sizeof ac_aggr.sa_len)
6550 rm -f conftest.$ac_objext
6551 if { (ac_try="$ac_compile"
6553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6554 *) ac_try_echo
=$ac_try;;
6556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6557 (eval "$ac_compile") 2>conftest.er1
6559 grep -v '^ *+' conftest.er1
>conftest.err
6561 cat conftest.err
>&5
6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563 (exit $ac_status); } &&
6564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6565 { (case "(($ac_try" in
6566 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6567 *) ac_try_echo=$ac_try;;
6569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6570 (eval "$ac_try") 2>&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); }; } &&
6574 { ac_try='test -s conftest.$ac_objext'
6575 { (case "(($ac_try" in
6576 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6577 *) ac_try_echo
=$ac_try;;
6579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6580 (eval "$ac_try") 2>&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); }; }; then
6584 ac_cv_member_struct_sockaddr_sa_len
=yes
6586 echo "$as_me: failed program was:" >&5
6587 sed 's/^/| /' conftest.
$ac_ext >&5
6589 ac_cv_member_struct_sockaddr_sa_len
=no
6592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6597 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
6598 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
6599 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
6601 cat >>confdefs.h
<<\_ACEOF
6602 #define HAVE_SOCKADDR_SA_LEN
6607 { echo "$as_me:$LINENO: checking for struct addrinfo.ai_flags" >&5
6608 echo $ECHO_N "checking for struct addrinfo.ai_flags... $ECHO_C" >&6; }
6609 if test "${ac_cv_member_struct_addrinfo_ai_flags+set}" = set; then
6610 echo $ECHO_N "(cached) $ECHO_C" >&6
6612 cat >conftest.
$ac_ext <<_ACEOF
6615 cat confdefs.h
>>conftest.
$ac_ext
6616 cat >>conftest.
$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6618 #include <sys/types.h>
6619 #include <sys/socket.h>
6625 static struct addrinfo ac_aggr;
6626 if (ac_aggr.ai_flags)
6632 rm -f conftest.
$ac_objext
6633 if { (ac_try
="$ac_compile"
6635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6636 *) ac_try_echo=$ac_try;;
6638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6639 (eval "$ac_compile") 2>conftest.er1
6641 grep -v '^ *+' conftest.er1 >conftest.err
6643 cat conftest.err >&5
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); } &&
6646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6647 { (case "(($ac_try" in
6648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6649 *) ac_try_echo
=$ac_try;;
6651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6652 (eval "$ac_try") 2>&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); }; } &&
6656 { ac_try
='test -s conftest.$ac_objext'
6657 { (case "(($ac_try" in
6658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6659 *) ac_try_echo=$ac_try;;
6661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6662 (eval "$ac_try") 2>&5
6664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 (exit $ac_status); }; }; then
6666 ac_cv_member_struct_addrinfo_ai_flags=yes
6668 echo "$as_me: failed program was:" >&5
6669 sed 's/^/| /' conftest.$ac_ext >&5
6671 cat >conftest.$ac_ext <<_ACEOF
6674 cat confdefs.h >>conftest.$ac_ext
6675 cat >>conftest.$ac_ext <<_ACEOF
6676 /* end confdefs.h. */
6677 #include <sys/types.h>
6678 #include <sys/socket.h>
6684 static struct addrinfo ac_aggr;
6685 if (sizeof ac_aggr.ai_flags)
6691 rm -f conftest.$ac_objext
6692 if { (ac_try="$ac_compile"
6694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6695 *) ac_try_echo
=$ac_try;;
6697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6698 (eval "$ac_compile") 2>conftest.er1
6700 grep -v '^ *+' conftest.er1
>conftest.err
6702 cat conftest.err
>&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); } &&
6705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6706 { (case "(($ac_try" in
6707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6708 *) ac_try_echo=$ac_try;;
6710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6711 (eval "$ac_try") 2>&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); }; } &&
6715 { ac_try='test -s conftest.$ac_objext'
6716 { (case "(($ac_try" in
6717 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6718 *) ac_try_echo
=$ac_try;;
6720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6721 (eval "$ac_try") 2>&5
6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724 (exit $ac_status); }; }; then
6725 ac_cv_member_struct_addrinfo_ai_flags
=yes
6727 echo "$as_me: failed program was:" >&5
6728 sed 's/^/| /' conftest.
$ac_ext >&5
6730 ac_cv_member_struct_addrinfo_ai_flags
=no
6733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6738 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_addrinfo_ai_flags" >&5
6739 echo "${ECHO_T}$ac_cv_member_struct_addrinfo_ai_flags" >&6; }
6740 if test $ac_cv_member_struct_addrinfo_ai_flags = yes; then
6742 cat >>confdefs.h
<<\_ACEOF
6743 #define HAVE_STRUCT_ADDRINFO
6750 for ac_func
in gettimeofday
6752 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6753 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6755 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6756 echo $ECHO_N "(cached) $ECHO_C" >&6
6758 cat >conftest.
$ac_ext <<_ACEOF
6761 cat confdefs.h
>>conftest.
$ac_ext
6762 cat >>conftest.
$ac_ext <<_ACEOF
6763 /* end confdefs.h. */
6764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6766 #define $ac_func innocuous_$ac_func
6768 /* System header to define __stub macros and hopefully few prototypes,
6769 which can conflict with char $ac_func (); below.
6770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6771 <limits.h> exists even on freestanding compilers. */
6774 # include <limits.h>
6776 # include <assert.h>
6781 /* Override any GCC internal prototype to avoid an error.
6782 Use char because int might match the return type of a GCC
6783 builtin and then its argument prototype would still apply. */
6788 /* The GNU C library defines this for functions which it implements
6789 to always fail with ENOSYS. Some functions are actually named
6790 something starting with __ and the normal name is an alias. */
6791 #if defined __stub_$ac_func || defined __stub___$ac_func
6803 rm -f conftest.
$ac_objext conftest
$ac_exeext
6804 if { (ac_try
="$ac_link"
6806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6807 *) ac_try_echo=$ac_try;;
6809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6810 (eval "$ac_link") 2>conftest.er1
6812 grep -v '^ *+' conftest.er1 >conftest.err
6814 cat conftest.err >&5
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); } &&
6817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6818 { (case "(($ac_try" in
6819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6820 *) ac_try_echo
=$ac_try;;
6822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6823 (eval "$ac_try") 2>&5
6825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826 (exit $ac_status); }; } &&
6827 { ac_try
='test -s conftest$ac_exeext'
6828 { (case "(($ac_try" in
6829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6830 *) ac_try_echo=$ac_try;;
6832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6833 (eval "$ac_try") 2>&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); }; }; then
6837 eval "$as_ac_var=yes"
6839 echo "$as_me: failed program was:" >&5
6840 sed 's/^/| /' conftest.$ac_ext >&5
6842 eval "$as_ac_var=no"
6845 rm -f core conftest.err conftest.$ac_objext \
6846 conftest$ac_exeext conftest.$ac_ext
6848 ac_res=`eval echo '${'$as_ac_var'}'`
6849 { echo "$as_me:$LINENO: result: $ac_res" >&5
6850 echo "${ECHO_T}$ac_res" >&6; }
6851 if test `eval echo '${'$as_ac_var'}'` = yes; then
6852 cat >>confdefs.h <<_ACEOF
6853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6859 if test $ac_cv_func_gettimeofday = no; then
6861 for ac_func in ftime
6863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6864 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6866 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6869 cat >conftest.$ac_ext <<_ACEOF
6872 cat confdefs.h >>conftest.$ac_ext
6873 cat >>conftest.$ac_ext <<_ACEOF
6874 /* end confdefs.h. */
6875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6877 #define $ac_func innocuous_$ac_func
6879 /* System header to define __stub macros and hopefully few prototypes,
6880 which can conflict with char $ac_func (); below.
6881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6882 <limits.h> exists even on freestanding compilers. */
6885 # include <limits.h>
6887 # include <assert.h>
6892 /* Override any GCC internal prototype to avoid an error.
6893 Use char because int might match the return type of a GCC
6894 builtin and then its argument prototype would still apply. */
6899 /* The GNU C library defines this for functions which it implements
6900 to always fail with ENOSYS. Some functions are actually named
6901 something starting with __ and the normal name is an alias. */
6902 #if defined __stub_$ac_func || defined __stub___$ac_func
6914 rm -f conftest.$ac_objext conftest$ac_exeext
6915 if { (ac_try="$ac_link"
6917 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6918 *) ac_try_echo
=$ac_try;;
6920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6921 (eval "$ac_link") 2>conftest.er1
6923 grep -v '^ *+' conftest.er1
>conftest.err
6925 cat conftest.err
>&5
6926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6927 (exit $ac_status); } &&
6928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6929 { (case "(($ac_try" in
6930 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6931 *) ac_try_echo=$ac_try;;
6933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6934 (eval "$ac_try") 2>&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); }; } &&
6938 { ac_try='test -s conftest$ac_exeext'
6939 { (case "(($ac_try" in
6940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6941 *) ac_try_echo
=$ac_try;;
6943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6944 (eval "$ac_try") 2>&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); }; }; then
6948 eval "$as_ac_var=yes"
6950 echo "$as_me: failed program was:" >&5
6951 sed 's/^/| /' conftest.
$ac_ext >&5
6953 eval "$as_ac_var=no"
6956 rm -f core conftest.err conftest.
$ac_objext \
6957 conftest
$ac_exeext conftest.
$ac_ext
6959 ac_res
=`eval echo '${'$as_ac_var'}'`
6960 { echo "$as_me:$LINENO: result: $ac_res" >&5
6961 echo "${ECHO_T}$ac_res" >&6; }
6962 if test `eval echo '${'$as_ac_var'}'` = yes; then
6963 cat >>confdefs.h
<<_ACEOF
6964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6968 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. X3 build will fail." >&5
6969 echo "$as_me: error: ftime or gettimeofday required. X3 build will fail." >&2;}
6970 { (exit 1); exit 1; }; }
6990 for ac_func
in freeaddrinfo getaddrinfo getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long sysconf
6992 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6993 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6995 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6996 echo $ECHO_N "(cached) $ECHO_C" >&6
6998 cat >conftest.
$ac_ext <<_ACEOF
7001 cat confdefs.h
>>conftest.
$ac_ext
7002 cat >>conftest.
$ac_ext <<_ACEOF
7003 /* end confdefs.h. */
7004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7006 #define $ac_func innocuous_$ac_func
7008 /* System header to define __stub macros and hopefully few prototypes,
7009 which can conflict with char $ac_func (); below.
7010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7011 <limits.h> exists even on freestanding compilers. */
7014 # include <limits.h>
7016 # include <assert.h>
7021 /* Override any GCC internal prototype to avoid an error.
7022 Use char because int might match the return type of a GCC
7023 builtin and then its argument prototype would still apply. */
7028 /* The GNU C library defines this for functions which it implements
7029 to always fail with ENOSYS. Some functions are actually named
7030 something starting with __ and the normal name is an alias. */
7031 #if defined __stub_$ac_func || defined __stub___$ac_func
7043 rm -f conftest.
$ac_objext conftest
$ac_exeext
7044 if { (ac_try
="$ac_link"
7046 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7047 *) ac_try_echo=$ac_try;;
7049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7050 (eval "$ac_link") 2>conftest.er1
7052 grep -v '^ *+' conftest.er1 >conftest.err
7054 cat conftest.err >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); } &&
7057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7058 { (case "(($ac_try" in
7059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7060 *) ac_try_echo
=$ac_try;;
7062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7063 (eval "$ac_try") 2>&5
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); }; } &&
7067 { ac_try
='test -s conftest$ac_exeext'
7068 { (case "(($ac_try" in
7069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7070 *) ac_try_echo=$ac_try;;
7072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7073 (eval "$ac_try") 2>&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; }; then
7077 eval "$as_ac_var=yes"
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.$ac_ext >&5
7082 eval "$as_ac_var=no"
7085 rm -f core conftest.err conftest.$ac_objext \
7086 conftest$ac_exeext conftest.$ac_ext
7088 ac_res=`eval echo '${'$as_ac_var'}'`
7089 { echo "$as_me:$LINENO: result: $ac_res" >&5
7090 echo "${ECHO_T}$ac_res" >&6; }
7091 if test `eval echo '${'$as_ac_var'}'` = yes; then
7092 cat >>confdefs.h <<_ACEOF
7093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7106 for ac_func in select socket strcspn strspn strtod strtoul
7108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7109 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7111 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7112 echo $ECHO_N "(cached) $ECHO_C" >&6
7114 cat >conftest.$ac_ext <<_ACEOF
7117 cat confdefs.h >>conftest.$ac_ext
7118 cat >>conftest.$ac_ext <<_ACEOF
7119 /* end confdefs.h. */
7120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7122 #define $ac_func innocuous_$ac_func
7124 /* System header to define __stub macros and hopefully few prototypes,
7125 which can conflict with char $ac_func (); below.
7126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7127 <limits.h> exists even on freestanding compilers. */
7130 # include <limits.h>
7132 # include <assert.h>
7137 /* Override any GCC internal prototype to avoid an error.
7138 Use char because int might match the return type of a GCC
7139 builtin and then its argument prototype would still apply. */
7144 /* The GNU C library defines this for functions which it implements
7145 to always fail with ENOSYS. Some functions are actually named
7146 something starting with __ and the normal name is an alias. */
7147 #if defined __stub_$ac_func || defined __stub___$ac_func
7159 rm -f conftest.$ac_objext conftest$ac_exeext
7160 if { (ac_try="$ac_link"
7162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7163 *) ac_try_echo
=$ac_try;;
7165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7166 (eval "$ac_link") 2>conftest.er1
7168 grep -v '^ *+' conftest.er1
>conftest.err
7170 cat conftest.err
>&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); } &&
7173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7174 { (case "(($ac_try" in
7175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7176 *) ac_try_echo=$ac_try;;
7178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179 (eval "$ac_try") 2>&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); }; } &&
7183 { ac_try='test -s conftest$ac_exeext'
7184 { (case "(($ac_try" in
7185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7186 *) ac_try_echo
=$ac_try;;
7188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7189 (eval "$ac_try") 2>&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); }; }; then
7193 eval "$as_ac_var=yes"
7195 echo "$as_me: failed program was:" >&5
7196 sed 's/^/| /' conftest.
$ac_ext >&5
7198 eval "$as_ac_var=no"
7201 rm -f core conftest.err conftest.
$ac_objext \
7202 conftest
$ac_exeext conftest.
$ac_ext
7204 ac_res
=`eval echo '${'$as_ac_var'}'`
7205 { echo "$as_me:$LINENO: result: $ac_res" >&5
7206 echo "${ECHO_T}$ac_res" >&6; }
7207 if test `eval echo '${'$as_ac_var'}'` = yes; then
7208 cat >>confdefs.h
<<_ACEOF
7209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7213 { { echo "$as_me:$LINENO: error: a required function was not found. X3 build will fail." >&5
7214 echo "$as_me: error: a required function was not found. X3 build will fail." >&2;}
7215 { (exit 1); exit 1; }; }
7220 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7221 # for constant arguments. Useless!
7222 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
7223 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
7224 if test "${ac_cv_working_alloca_h+set}" = set; then
7225 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 cat >conftest.
$ac_ext <<_ACEOF
7230 cat confdefs.h
>>conftest.
$ac_ext
7231 cat >>conftest.
$ac_ext <<_ACEOF
7232 /* end confdefs.h. */
7237 char *p = (char *) alloca (2 * sizeof (int));
7243 rm -f conftest.
$ac_objext conftest
$ac_exeext
7244 if { (ac_try
="$ac_link"
7246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7247 *) ac_try_echo=$ac_try;;
7249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7250 (eval "$ac_link") 2>conftest.er1
7252 grep -v '^ *+' conftest.er1 >conftest.err
7254 cat conftest.err >&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); } &&
7257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7258 { (case "(($ac_try" in
7259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7260 *) ac_try_echo
=$ac_try;;
7262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7263 (eval "$ac_try") 2>&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); }; } &&
7267 { ac_try
='test -s conftest$ac_exeext'
7268 { (case "(($ac_try" in
7269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7270 *) ac_try_echo=$ac_try;;
7272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7273 (eval "$ac_try") 2>&5
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); }; }; then
7277 ac_cv_working_alloca_h=yes
7279 echo "$as_me: failed program was:" >&5
7280 sed 's/^/| /' conftest.$ac_ext >&5
7282 ac_cv_working_alloca_h=no
7285 rm -f core conftest.err conftest.$ac_objext \
7286 conftest$ac_exeext conftest.$ac_ext
7288 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
7289 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
7290 if test $ac_cv_working_alloca_h = yes; then
7292 cat >>confdefs.h <<\_ACEOF
7293 #define HAVE_ALLOCA_H 1
7298 { echo "$as_me:$LINENO: checking for alloca" >&5
7299 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
7300 if test "${ac_cv_func_alloca_works+set}" = set; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6
7303 cat >conftest.$ac_ext <<_ACEOF
7306 cat confdefs.h >>conftest.$ac_ext
7307 cat >>conftest.$ac_ext <<_ACEOF
7308 /* end confdefs.h. */
7310 # define alloca __builtin_alloca
7313 # include <malloc.h>
7314 # define alloca _alloca
7317 # include <alloca.h>
7322 # ifndef alloca /* predefined by HP cc +Olibcalls */
7333 char *p = (char *) alloca (1);
7339 rm -f conftest.$ac_objext conftest$ac_exeext
7340 if { (ac_try="$ac_link"
7342 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7343 *) ac_try_echo
=$ac_try;;
7345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7346 (eval "$ac_link") 2>conftest.er1
7348 grep -v '^ *+' conftest.er1
>conftest.err
7350 cat conftest.err
>&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); } &&
7353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7354 { (case "(($ac_try" in
7355 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7356 *) ac_try_echo=$ac_try;;
7358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7359 (eval "$ac_try") 2>&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); }; } &&
7363 { ac_try='test -s conftest$ac_exeext'
7364 { (case "(($ac_try" in
7365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7366 *) ac_try_echo
=$ac_try;;
7368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7369 (eval "$ac_try") 2>&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); }; }; then
7373 ac_cv_func_alloca_works
=yes
7375 echo "$as_me: failed program was:" >&5
7376 sed 's/^/| /' conftest.
$ac_ext >&5
7378 ac_cv_func_alloca_works
=no
7381 rm -f core conftest.err conftest.
$ac_objext \
7382 conftest
$ac_exeext conftest.
$ac_ext
7384 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7385 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
7387 if test $ac_cv_func_alloca_works = yes; then
7389 cat >>confdefs.h
<<\_ACEOF
7390 #define HAVE_ALLOCA 1
7394 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7395 # that cause trouble. Some versions do not even contain alloca or
7396 # contain a buggy version. If you still want to use their alloca,
7397 # use ar to extract alloca.o from them instead of compiling alloca.c.
7399 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
7401 cat >>confdefs.h
<<\_ACEOF
7406 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7407 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
7408 if test "${ac_cv_os_cray+set}" = set; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7411 cat >conftest.
$ac_ext <<_ACEOF
7414 cat confdefs.h
>>conftest.
$ac_ext
7415 cat >>conftest.
$ac_ext <<_ACEOF
7416 /* end confdefs.h. */
7417 #if defined CRAY && ! defined CRAY2
7424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7425 $EGREP "webecray" >/dev
/null
2>&1; then
7433 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7434 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
7435 if test $ac_cv_os_cray = yes; then
7436 for ac_func
in _getb67 GETB67 getb67
; do
7437 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7438 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7440 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7441 echo $ECHO_N "(cached) $ECHO_C" >&6
7443 cat >conftest.
$ac_ext <<_ACEOF
7446 cat confdefs.h
>>conftest.
$ac_ext
7447 cat >>conftest.
$ac_ext <<_ACEOF
7448 /* end confdefs.h. */
7449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7451 #define $ac_func innocuous_$ac_func
7453 /* System header to define __stub macros and hopefully few prototypes,
7454 which can conflict with char $ac_func (); below.
7455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7456 <limits.h> exists even on freestanding compilers. */
7459 # include <limits.h>
7461 # include <assert.h>
7466 /* Override any GCC internal prototype to avoid an error.
7467 Use char because int might match the return type of a GCC
7468 builtin and then its argument prototype would still apply. */
7473 /* The GNU C library defines this for functions which it implements
7474 to always fail with ENOSYS. Some functions are actually named
7475 something starting with __ and the normal name is an alias. */
7476 #if defined __stub_$ac_func || defined __stub___$ac_func
7488 rm -f conftest.
$ac_objext conftest
$ac_exeext
7489 if { (ac_try
="$ac_link"
7491 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7492 *) ac_try_echo=$ac_try;;
7494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7495 (eval "$ac_link") 2>conftest.er1
7497 grep -v '^ *+' conftest.er1 >conftest.err
7499 cat conftest.err >&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); } &&
7502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7503 { (case "(($ac_try" in
7504 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7505 *) ac_try_echo
=$ac_try;;
7507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7508 (eval "$ac_try") 2>&5
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); }; } &&
7512 { ac_try
='test -s conftest$ac_exeext'
7513 { (case "(($ac_try" in
7514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7515 *) ac_try_echo=$ac_try;;
7517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7518 (eval "$ac_try") 2>&5
7520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7521 (exit $ac_status); }; }; then
7522 eval "$as_ac_var=yes"
7524 echo "$as_me: failed program was:" >&5
7525 sed 's/^/| /' conftest.$ac_ext >&5
7527 eval "$as_ac_var=no"
7530 rm -f core conftest.err conftest.$ac_objext \
7531 conftest$ac_exeext conftest.$ac_ext
7533 ac_res=`eval echo '${'$as_ac_var'}'`
7534 { echo "$as_me:$LINENO: result: $ac_res" >&5
7535 echo "${ECHO_T}$ac_res" >&6; }
7536 if test `eval echo '${'$as_ac_var'}'` = yes; then
7538 cat >>confdefs.h <<_ACEOF
7539 #define CRAY_STACKSEG_END $ac_func
7548 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7549 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
7550 if test "${ac_cv_c_stack_direction+set}" = set; then
7551 echo $ECHO_N "(cached) $ECHO_C" >&6
7553 if test "$cross_compiling" = yes; then
7554 ac_cv_c_stack_direction=0
7556 cat >conftest.$ac_ext <<_ACEOF
7559 cat confdefs.h >>conftest.$ac_ext
7560 cat >>conftest.$ac_ext <<_ACEOF
7561 /* end confdefs.h. */
7562 $ac_includes_default
7564 find_stack_direction ()
7566 static char *addr = 0;
7571 return find_stack_direction ();
7574 return (&dummy > addr) ? 1 : -1;
7580 return find_stack_direction () < 0;
7583 rm -f conftest$ac_exeext
7584 if { (ac_try="$ac_link"
7586 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7587 *) ac_try_echo
=$ac_try;;
7589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7590 (eval "$ac_link") 2>&5
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7594 { (case "(($ac_try" in
7595 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7596 *) ac_try_echo=$ac_try;;
7598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7599 (eval "$ac_try") 2>&5
7601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); }; }; then
7603 ac_cv_c_stack_direction=1
7605 echo "$as_me: program exited with status $ac_status" >&5
7606 echo "$as_me: failed program was:" >&5
7607 sed 's/^/| /' conftest.$ac_ext >&5
7610 ac_cv_c_stack_direction=-1
7612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7617 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7618 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
7620 cat >>confdefs.h <<_ACEOF
7621 #define STACK_DIRECTION $ac_cv_c_stack_direction
7629 for ac_header in stdlib.h unistd.h
7631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7636 echo $ECHO_N "(cached) $ECHO_C" >&6
7638 ac_res=`eval echo '${'$as_ac_Header'}'`
7639 { echo "$as_me:$LINENO: result: $ac_res" >&5
7640 echo "${ECHO_T}$ac_res" >&6; }
7642 # Is the header compilable?
7643 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7645 cat >conftest.$ac_ext <<_ACEOF
7648 cat confdefs.h >>conftest.$ac_ext
7649 cat >>conftest.$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7651 $ac_includes_default
7652 #include <$ac_header>
7654 rm -f conftest.$ac_objext
7655 if { (ac_try="$ac_compile"
7657 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7658 *) ac_try_echo
=$ac_try;;
7660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7661 (eval "$ac_compile") 2>conftest.er1
7663 grep -v '^ *+' conftest.er1
>conftest.err
7665 cat conftest.err
>&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); } &&
7668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7669 { (case "(($ac_try" in
7670 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7671 *) ac_try_echo=$ac_try;;
7673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7674 (eval "$ac_try") 2>&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); }; } &&
7678 { ac_try='test -s conftest.$ac_objext'
7679 { (case "(($ac_try" in
7680 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7681 *) ac_try_echo
=$ac_try;;
7683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7684 (eval "$ac_try") 2>&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); }; }; then
7688 ac_header_compiler
=yes
7690 echo "$as_me: failed program was:" >&5
7691 sed 's/^/| /' conftest.
$ac_ext >&5
7693 ac_header_compiler
=no
7696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7697 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7698 echo "${ECHO_T}$ac_header_compiler" >&6; }
7700 # Is the header present?
7701 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7703 cat >conftest.
$ac_ext <<_ACEOF
7706 cat confdefs.h
>>conftest.
$ac_ext
7707 cat >>conftest.
$ac_ext <<_ACEOF
7708 /* end confdefs.h. */
7709 #include <$ac_header>
7711 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7714 *) ac_try_echo=$ac_try;;
7716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7717 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7719 grep -v '^ *+' conftest.er1 >conftest.err
7721 cat conftest.err >&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } >/dev/null; then
7724 if test -s conftest.err; then
7725 ac_cpp_err=$ac_c_preproc_warn_flag
7726 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7733 if test -z "$ac_cpp_err"; then
7734 ac_header_preproc=yes
7736 echo "$as_me: failed program was:" >&5
7737 sed 's/^/| /' conftest.$ac_ext >&5
7739 ac_header_preproc=no
7742 rm -f conftest.err conftest.$ac_ext
7743 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7744 echo "${ECHO_T}$ac_header_preproc" >&6; }
7746 # So? What about this header?
7747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7749 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7750 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7752 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7753 ac_header_preproc=yes
7756 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7757 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7758 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7759 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7760 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7761 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7762 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7763 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7766 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7767 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7769 ## -------------------------------------------------- ##
7770 ## Report this to evilnet-devel@lists.sourceforge.net ##
7771 ## -------------------------------------------------- ##
7773 ) | sed "s/^/$as_me: WARNING: /" >&2
7776 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7778 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7779 echo $ECHO_N "(cached) $ECHO_C" >&6
7781 eval "$as_ac_Header=\$ac_header_preproc"
7783 ac_res=`eval echo '${'$as_ac_Header'}'`
7784 { echo "$as_me:$LINENO: result: $ac_res" >&5
7785 echo "${ECHO_T}$ac_res" >&6; }
7788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7789 cat >>confdefs.h <<_ACEOF
7790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7798 for ac_func in getpagesize
7800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7801 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7803 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7804 echo $ECHO_N "(cached) $ECHO_C" >&6
7806 cat >conftest.$ac_ext <<_ACEOF
7809 cat confdefs.h >>conftest.$ac_ext
7810 cat >>conftest.$ac_ext <<_ACEOF
7811 /* end confdefs.h. */
7812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7814 #define $ac_func innocuous_$ac_func
7816 /* System header to define __stub macros and hopefully few prototypes,
7817 which can conflict with char $ac_func (); below.
7818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7819 <limits.h> exists even on freestanding compilers. */
7822 # include <limits.h>
7824 # include <assert.h>
7829 /* Override any GCC internal prototype to avoid an error.
7830 Use char because int might match the return type of a GCC
7831 builtin and then its argument prototype would still apply. */
7836 /* The GNU C library defines this for functions which it implements
7837 to always fail with ENOSYS. Some functions are actually named
7838 something starting with __ and the normal name is an alias. */
7839 #if defined __stub_$ac_func || defined __stub___$ac_func
7851 rm -f conftest.$ac_objext conftest$ac_exeext
7852 if { (ac_try="$ac_link"
7854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7855 *) ac_try_echo
=$ac_try;;
7857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7858 (eval "$ac_link") 2>conftest.er1
7860 grep -v '^ *+' conftest.er1
>conftest.err
7862 cat conftest.err
>&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } &&
7865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7866 { (case "(($ac_try" in
7867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7868 *) ac_try_echo=$ac_try;;
7870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7871 (eval "$ac_try") 2>&5
7873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7874 (exit $ac_status); }; } &&
7875 { ac_try='test -s conftest$ac_exeext'
7876 { (case "(($ac_try" in
7877 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7878 *) ac_try_echo
=$ac_try;;
7880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7881 (eval "$ac_try") 2>&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }; }; then
7885 eval "$as_ac_var=yes"
7887 echo "$as_me: failed program was:" >&5
7888 sed 's/^/| /' conftest.
$ac_ext >&5
7890 eval "$as_ac_var=no"
7893 rm -f core conftest.err conftest.
$ac_objext \
7894 conftest
$ac_exeext conftest.
$ac_ext
7896 ac_res
=`eval echo '${'$as_ac_var'}'`
7897 { echo "$as_me:$LINENO: result: $ac_res" >&5
7898 echo "${ECHO_T}$ac_res" >&6; }
7899 if test `eval echo '${'$as_ac_var'}'` = yes; then
7900 cat >>confdefs.h
<<_ACEOF
7901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7907 { echo "$as_me:$LINENO: checking for working mmap" >&5
7908 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7909 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7910 echo $ECHO_N "(cached) $ECHO_C" >&6
7912 if test "$cross_compiling" = yes; then
7913 ac_cv_func_mmap_fixed_mapped
=no
7915 cat >conftest.
$ac_ext <<_ACEOF
7918 cat confdefs.h
>>conftest.
$ac_ext
7919 cat >>conftest.
$ac_ext <<_ACEOF
7920 /* end confdefs.h. */
7921 $ac_includes_default
7922 /* malloc might have been renamed as rpl_malloc. */
7925 /* Thanks to Mike Haertel and Jim Avera for this test.
7926 Here is a matrix of mmap possibilities:
7927 mmap private not fixed
7928 mmap private fixed at somewhere currently unmapped
7929 mmap private fixed at somewhere already mapped
7930 mmap shared not fixed
7931 mmap shared fixed at somewhere currently unmapped
7932 mmap shared fixed at somewhere already mapped
7933 For private mappings, we should verify that changes cannot be read()
7934 back from the file, nor mmap's back from the file at a different
7935 address. (There have been systems where private was not correctly
7936 implemented like the infamous i386 svr4.0, and systems where the
7937 VM page cache was not coherent with the file system buffer cache
7938 like early versions of FreeBSD and possibly contemporary NetBSD.)
7939 For shared mappings, we should conversely verify that changes get
7940 propagated back to all the places they're supposed to be.
7942 Grep wants private fixed already mapped.
7943 The main things grep needs to know about mmap are:
7944 * does it exist and is it safe to write into the mmap'd area
7945 * how to use it (BSD variants) */
7948 #include <sys/mman.h>
7950 #if !STDC_HEADERS && !HAVE_STDLIB_H
7954 /* This mess was copied from the GNU getpagesize.h. */
7955 #if !HAVE_GETPAGESIZE
7956 /* Assume that all systems that can run configure have sys/param.h. */
7957 # if !HAVE_SYS_PARAM_H
7958 # define HAVE_SYS_PARAM_H 1
7961 # ifdef _SC_PAGESIZE
7962 # define getpagesize() sysconf(_SC_PAGESIZE)
7963 # else /* no _SC_PAGESIZE */
7964 # if HAVE_SYS_PARAM_H
7965 # include <sys/param.h>
7966 # ifdef EXEC_PAGESIZE
7967 # define getpagesize() EXEC_PAGESIZE
7968 # else /* no EXEC_PAGESIZE */
7970 # define getpagesize() NBPG * CLSIZE
7973 # endif /* no CLSIZE */
7974 # else /* no NBPG */
7976 # define getpagesize() NBPC
7977 # else /* no NBPC */
7979 # define getpagesize() PAGESIZE
7980 # endif /* PAGESIZE */
7981 # endif /* no NBPC */
7982 # endif /* no NBPG */
7983 # endif /* no EXEC_PAGESIZE */
7984 # else /* no HAVE_SYS_PARAM_H */
7985 # define getpagesize() 8192 /* punt totally */
7986 # endif /* no HAVE_SYS_PARAM_H */
7987 # endif /* no _SC_PAGESIZE */
7989 #endif /* no HAVE_GETPAGESIZE */
7994 char *data, *data2, *data3;
7998 pagesize = getpagesize ();
8000 /* First, make a file with some known garbage in it. */
8001 data = (char *) malloc (pagesize);
8004 for (i = 0; i < pagesize; ++i)
8005 *(data + i) = rand ();
8007 fd = creat ("conftest.mmap", 0600);
8010 if (write (fd, data, pagesize) != pagesize)
8014 /* Next, try to mmap the file at a fixed address which already has
8015 something else allocated at it. If we can, also make sure that
8016 we see the same garbage. */
8017 fd = open ("conftest.mmap", O_RDWR);
8020 data2 = (char *) malloc (2 * pagesize);
8023 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8024 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8025 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8027 for (i = 0; i < pagesize; ++i)
8028 if (*(data + i) != *(data2 + i))
8031 /* Finally, make sure that changes to the mapped area do not
8032 percolate back to the file as seen by read(). (This is a bug on
8033 some variants of i386 svr4.0.) */
8034 for (i = 0; i < pagesize; ++i)
8035 *(data2 + i) = *(data2 + i) + 1;
8036 data3 = (char *) malloc (pagesize);
8039 if (read (fd, data3, pagesize) != pagesize)
8041 for (i = 0; i < pagesize; ++i)
8042 if (*(data + i) != *(data3 + i))
8048 rm -f conftest
$ac_exeext
8049 if { (ac_try
="$ac_link"
8051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8052 *) ac_try_echo=$ac_try;;
8054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8055 (eval "$ac_link") 2>&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8059 { (case "(($ac_try" in
8060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8061 *) ac_try_echo
=$ac_try;;
8063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8064 (eval "$ac_try") 2>&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); }; }; then
8068 ac_cv_func_mmap_fixed_mapped
=yes
8070 echo "$as_me: program exited with status $ac_status" >&5
8071 echo "$as_me: failed program was:" >&5
8072 sed 's/^/| /' conftest.
$ac_ext >&5
8075 ac_cv_func_mmap_fixed_mapped
=no
8077 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8082 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8083 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
8084 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8086 cat >>confdefs.h
<<\_ACEOF
8094 { echo "$as_me:$LINENO: checking for sin_len" >&5
8095 echo $ECHO_N "checking for sin_len... $ECHO_C" >&6; }
8096 if test "${ac_cv_sin_len+set}" = set; then
8097 echo $ECHO_N "(cached) $ECHO_C" >&6
8099 cat >conftest.
$ac_ext <<_ACEOF
8102 cat confdefs.h
>>conftest.
$ac_ext
8103 cat >>conftest.
$ac_ext <<_ACEOF
8104 /* end confdefs.h. */
8105 #include <sys/types.h>
8106 #include <netinet/in.h>
8110 struct sockaddr_in *sin; sin->sin_len = 0;
8115 rm -f conftest.
$ac_objext
8116 if { (ac_try
="$ac_compile"
8118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8119 *) ac_try_echo=$ac_try;;
8121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8122 (eval "$ac_compile") 2>conftest.er1
8124 grep -v '^ *+' conftest.er1 >conftest.err
8126 cat conftest.err >&5
8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 (exit $ac_status); } &&
8129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8130 { (case "(($ac_try" in
8131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8132 *) ac_try_echo
=$ac_try;;
8134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8135 (eval "$ac_try") 2>&5
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); }; } &&
8139 { ac_try
='test -s conftest.$ac_objext'
8140 { (case "(($ac_try" in
8141 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8142 *) ac_try_echo=$ac_try;;
8144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8145 (eval "$ac_try") 2>&5
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); }; }; then
8151 echo "$as_me: failed program was:" >&5
8152 sed 's/^/| /' conftest.$ac_ext >&5
8157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8159 { echo "$as_me:$LINENO: result: $ac_cv_sin_len" >&5
8160 echo "${ECHO_T}$ac_cv_sin_len" >&6; }
8161 if test $ac_cv_sin_len = yes ; then
8163 cat >>confdefs.h <<\_ACEOF
8164 #define HAVE_SIN_LEN 1
8169 { echo "$as_me:$LINENO: checking for socklen_t" >&5
8170 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
8171 if test "${ac_cv_type_socklen_t+set}" = set; then
8172 echo $ECHO_N "(cached) $ECHO_C" >&6
8174 cat >conftest.$ac_ext <<_ACEOF
8177 cat confdefs.h >>conftest.$ac_ext
8178 cat >>conftest.$ac_ext <<_ACEOF
8179 /* end confdefs.h. */
8180 #include <sys/types.h>
8181 #include<sys/socket.h>
8183 typedef socklen_t ac__type_new_;
8187 if ((ac__type_new_ *) 0)
8189 if (sizeof (ac__type_new_))
8195 rm -f conftest.$ac_objext
8196 if { (ac_try="$ac_compile"
8198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8199 *) ac_try_echo
=$ac_try;;
8201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8202 (eval "$ac_compile") 2>conftest.er1
8204 grep -v '^ *+' conftest.er1
>conftest.err
8206 cat conftest.err
>&5
8207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8208 (exit $ac_status); } &&
8209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8210 { (case "(($ac_try" in
8211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8212 *) ac_try_echo=$ac_try;;
8214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8215 (eval "$ac_try") 2>&5
8217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8218 (exit $ac_status); }; } &&
8219 { ac_try='test -s conftest.$ac_objext'
8220 { (case "(($ac_try" in
8221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8222 *) ac_try_echo
=$ac_try;;
8224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8225 (eval "$ac_try") 2>&5
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; }; then
8229 ac_cv_type_socklen_t
=yes
8231 echo "$as_me: failed program was:" >&5
8232 sed 's/^/| /' conftest.
$ac_ext >&5
8234 ac_cv_type_socklen_t
=no
8237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8239 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
8240 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
8241 if test $ac_cv_type_socklen_t = yes; then
8245 { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
8246 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; }
8247 if test "${curl_cv_socklen_t_equiv+set}" = set; then
8248 echo $ECHO_N "(cached) $ECHO_C" >&6
8251 curl_cv_socklen_t_equiv
=
8252 for arg2
in "struct sockaddr" void
; do
8253 for t
in int size_t unsigned long
"unsigned long" ; do
8254 cat >conftest.
$ac_ext <<_ACEOF
8257 cat confdefs.h
>>conftest.
$ac_ext
8258 cat >>conftest.
$ac_ext <<_ACEOF
8259 /* end confdefs.h. */
8260 #include <sys/types.h>
8261 #include <sys/socket.h>
8262 int getpeername (int $arg2 *, $t *);
8267 getpeername(0, 0, &len);
8272 rm -f conftest.
$ac_objext
8273 if { (ac_try
="$ac_compile"
8275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8276 *) ac_try_echo=$ac_try;;
8278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8279 (eval "$ac_compile") 2>conftest.er1
8281 grep -v '^ *+' conftest.er1 >conftest.err
8283 cat conftest.err >&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); } &&
8286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8287 { (case "(($ac_try" in
8288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8289 *) ac_try_echo
=$ac_try;;
8291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8292 (eval "$ac_try") 2>&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); }; } &&
8296 { ac_try
='test -s conftest.$ac_objext'
8297 { (case "(($ac_try" in
8298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8299 *) ac_try_echo=$ac_try;;
8301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8302 (eval "$ac_try") 2>&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); }; }; then
8306 curl_cv_socklen_t_equiv="$t"
8309 echo "$as_me: failed program was:" >&5
8310 sed 's/^/| /' conftest.$ac_ext >&5
8315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8321 { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
8322 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; }
8324 cat >>confdefs.h <<_ACEOF
8325 #define socklen_t $curl_cv_socklen_t_equiv
8332 CFLAGS="$CFLAGS -W -Wall -Werror"
8334 { echo "$as_me:$LINENO: checking for time_t format" >&5
8335 echo $ECHO_N "checking for time_t format... $ECHO_C" >&6; }
8336 if test "${ac_cv_fmt_time_t+set}" = set; then
8337 echo $ECHO_N "(cached) $ECHO_C" >&6
8341 cat >conftest.$ac_ext <<_ACEOF
8342 #include <sys/types.h>
8346 printf("%li", test);
8349 rm -f conftest.$ac_objext
8350 if { (ac_try="$ac_compile"
8352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8353 *) ac_try_echo
=$ac_try;;
8355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8356 (eval "$ac_compile") 2>conftest.er1
8358 grep -v '^ *+' conftest.er1
>conftest.err
8360 cat conftest.err
>&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); } &&
8363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8364 { (case "(($ac_try" in
8365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8366 *) ac_try_echo=$ac_try;;
8368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8369 (eval "$ac_try") 2>&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); }; } &&
8373 { ac_try='test -s conftest.$ac_objext'
8374 { (case "(($ac_try" in
8375 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8376 *) ac_try_echo
=$ac_try;;
8378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8379 (eval "$ac_try") 2>&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; }; then
8383 ac_cv_fmt_time_t
="\"%li\""
8385 echo "$as_me: failed program was:" >&5
8386 sed 's/^/| /' conftest.
$ac_ext >&5
8391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8392 if test $ac_cv_fmt_time_t = no
; then
8393 cat >conftest.
$ac_ext <<_ACEOF
8394 #include <sys/types.h>
8401 rm -f conftest.
$ac_objext
8402 if { (ac_try
="$ac_compile"
8404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8405 *) ac_try_echo=$ac_try;;
8407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8408 (eval "$ac_compile") 2>conftest.er1
8410 grep -v '^ *+' conftest.er1 >conftest.err
8412 cat conftest.err >&5
8413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8414 (exit $ac_status); } &&
8415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8416 { (case "(($ac_try" in
8417 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8418 *) ac_try_echo
=$ac_try;;
8420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8421 (eval "$ac_try") 2>&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); }; } &&
8425 { ac_try
='test -s conftest.$ac_objext'
8426 { (case "(($ac_try" in
8427 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8428 *) ac_try_echo=$ac_try;;
8430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8431 (eval "$ac_try") 2>&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); }; }; then
8435 ac_cv_fmt_time_t="\"%i\""
8437 echo "$as_me: failed program was:" >&5
8438 sed 's/^/| /' conftest.$ac_ext >&5
8443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8445 if test $ac_cv_fmt_time_t = no; then
8446 { { echo "$as_me:$LINENO: error: Cannot detect format string for time_t
8447 Please check sys/types.h for the typedef of time_t and submit to a developer" >&5
8448 echo "$as_me: error: Cannot detect format string for time_t
8449 Please check sys/types.h for the typedef of time_t and submit to a developer" >&2;}
8450 { (exit 1); exit 1; }; }
8456 cat >>confdefs.h <<_ACEOF
8457 #define FMT_TIME_T $ac_cv_fmt_time_t
8460 { echo "$as_me:$LINENO: result: $ac_cv_fmt_time_t" >&5
8461 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6; }
8463 { echo "$as_me:$LINENO: checking for va_copy" >&5
8464 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
8465 if test "${ac_cv_c_va_copy+set}" = set; then
8466 echo $ECHO_N "(cached) $ECHO_C" >&6
8468 cat >conftest.$ac_ext <<_ACEOF
8471 cat confdefs.h >>conftest.$ac_ext
8472 cat >>conftest.$ac_ext <<_ACEOF
8473 /* end confdefs.h. */
8478 va_list ap1, ap2; va_copy(ap1, ap2);
8483 rm -f conftest.$ac_objext conftest$ac_exeext
8484 if { (ac_try="$ac_link"
8486 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8487 *) ac_try_echo
=$ac_try;;
8489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8490 (eval "$ac_link") 2>conftest.er1
8492 grep -v '^ *+' conftest.er1
>conftest.err
8494 cat conftest.err
>&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); } &&
8497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8498 { (case "(($ac_try" in
8499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8500 *) ac_try_echo=$ac_try;;
8502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8503 (eval "$ac_try") 2>&5
8505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506 (exit $ac_status); }; } &&
8507 { ac_try='test -s conftest$ac_exeext'
8508 { (case "(($ac_try" in
8509 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8510 *) ac_try_echo
=$ac_try;;
8512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8513 (eval "$ac_try") 2>&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); }; }; then
8517 ac_cv_c_va_copy
="yes"
8519 echo "$as_me: failed program was:" >&5
8520 sed 's/^/| /' conftest.
$ac_ext >&5
8522 ac_cv_c_va_copy
="no"
8526 rm -f core conftest.err conftest.
$ac_objext \
8527 conftest
$ac_exeext conftest.
$ac_ext
8529 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
8530 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
8531 if test "$ac_cv_c_va_copy" = "yes" ; then
8533 cat >>confdefs.h
<<\_ACEOF
8534 #define HAVE_VA_COPY 1
8539 { echo "$as_me:$LINENO: checking for __va_copy" >&5
8540 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
8541 if test "${ac_cv_c___va_copy+set}" = set; then
8542 echo $ECHO_N "(cached) $ECHO_C" >&6
8544 cat >conftest.
$ac_ext <<_ACEOF
8547 cat confdefs.h
>>conftest.
$ac_ext
8548 cat >>conftest.
$ac_ext <<_ACEOF
8549 /* end confdefs.h. */
8554 va_list ap1, ap2; __va_copy(ap1, ap2);
8559 rm -f conftest.
$ac_objext conftest
$ac_exeext
8560 if { (ac_try
="$ac_link"
8562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_link") 2>conftest.er1
8568 grep -v '^ *+' conftest.er1 >conftest.err
8570 cat conftest.err >&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); } &&
8573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8574 { (case "(($ac_try" in
8575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8576 *) ac_try_echo
=$ac_try;;
8578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8579 (eval "$ac_try") 2>&5
8581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 (exit $ac_status); }; } &&
8583 { ac_try
='test -s conftest$ac_exeext'
8584 { (case "(($ac_try" in
8585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8586 *) ac_try_echo=$ac_try;;
8588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8589 (eval "$ac_try") 2>&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; }; then
8593 ac_cv_c___va_copy="yes"
8595 echo "$as_me: failed program was:" >&5
8596 sed 's/^/| /' conftest.$ac_ext >&5
8598 ac_cv_c___va_copy="no"
8602 rm -f core conftest.err conftest.$ac_objext \
8603 conftest$ac_exeext conftest.$ac_ext
8605 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
8606 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
8607 if test "$ac_cv_c___va_copy" = "yes" ; then
8609 cat >>confdefs.h <<\_ACEOF
8610 #define HAVE___VA_COPY 1
8617 { echo "$as_me:$LINENO: checking which malloc to use" >&5
8618 echo $ECHO_N "checking which malloc to use... $ECHO_C" >&6; }
8620 # Check whether --with-malloc was given.
8621 if test "${with_malloc+set}" = set; then
8622 withval=$with_malloc;
8627 if test "x$withval" = "xsystem" ; then
8628 { echo "$as_me:$LINENO: result: system" >&5
8629 echo "${ECHO_T}system" >&6; }
8631 cat >>confdefs.h <<\_ACEOF
8632 #define WITH_MALLOC_SYSTEM 1
8636 elif test "x$withval" = "xdmalloc" ; then
8637 { echo "$as_me:$LINENO: result: dmalloc" >&5
8638 echo "${ECHO_T}dmalloc" >&6; }
8640 for ac_header in dmalloc.h
8642 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8643 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8644 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8647 echo $ECHO_N "(cached) $ECHO_C" >&6
8649 ac_res=`eval echo '${'$as_ac_Header'}'`
8650 { echo "$as_me:$LINENO: result: $ac_res" >&5
8651 echo "${ECHO_T}$ac_res" >&6; }
8653 # Is the header compilable?
8654 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8655 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8656 cat >conftest.$ac_ext <<_ACEOF
8659 cat confdefs.h >>conftest.$ac_ext
8660 cat >>conftest.$ac_ext <<_ACEOF
8661 /* end confdefs.h. */
8662 $ac_includes_default
8663 #include <$ac_header>
8665 rm -f conftest.$ac_objext
8666 if { (ac_try="$ac_compile"
8668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8669 *) ac_try_echo
=$ac_try;;
8671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8672 (eval "$ac_compile") 2>conftest.er1
8674 grep -v '^ *+' conftest.er1
>conftest.err
8676 cat conftest.err
>&5
8677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678 (exit $ac_status); } &&
8679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8680 { (case "(($ac_try" in
8681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8682 *) ac_try_echo=$ac_try;;
8684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8685 (eval "$ac_try") 2>&5
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 (exit $ac_status); }; } &&
8689 { ac_try='test -s conftest.$ac_objext'
8690 { (case "(($ac_try" in
8691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8692 *) ac_try_echo
=$ac_try;;
8694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8695 (eval "$ac_try") 2>&5
8697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698 (exit $ac_status); }; }; then
8699 ac_header_compiler
=yes
8701 echo "$as_me: failed program was:" >&5
8702 sed 's/^/| /' conftest.
$ac_ext >&5
8704 ac_header_compiler
=no
8707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8708 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8709 echo "${ECHO_T}$ac_header_compiler" >&6; }
8711 # Is the header present?
8712 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8713 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8714 cat >conftest.
$ac_ext <<_ACEOF
8717 cat confdefs.h
>>conftest.
$ac_ext
8718 cat >>conftest.
$ac_ext <<_ACEOF
8719 /* end confdefs.h. */
8720 #include <$ac_header>
8722 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8725 *) ac_try_echo=$ac_try;;
8727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8730 grep -v '^ *+' conftest.er1 >conftest.err
8732 cat conftest.err >&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); } >/dev/null; then
8735 if test -s conftest.err; then
8736 ac_cpp_err=$ac_c_preproc_warn_flag
8737 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8744 if test -z "$ac_cpp_err"; then
8745 ac_header_preproc=yes
8747 echo "$as_me: failed program was:" >&5
8748 sed 's/^/| /' conftest.$ac_ext >&5
8750 ac_header_preproc=no
8753 rm -f conftest.err conftest.$ac_ext
8754 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8755 echo "${ECHO_T}$ac_header_preproc" >&6; }
8757 # So? What about this header?
8758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8764 ac_header_preproc=yes
8767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8780 ## -------------------------------------------------- ##
8781 ## Report this to evilnet-devel@lists.sourceforge.net ##
8782 ## -------------------------------------------------- ##
8784 ) | sed "s/^/$as_me: WARNING: /" >&2
8787 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8790 echo $ECHO_N "(cached) $ECHO_C" >&6
8792 eval "$as_ac_Header=\$ac_header_preproc"
8794 ac_res=`eval echo '${'$as_ac_Header'}'`
8795 { echo "$as_me:$LINENO: result: $ac_res" >&5
8796 echo "${ECHO_T}$ac_res" >&6; }
8799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8800 cat >>confdefs.h <<_ACEOF
8801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8805 { { echo "$as_me:$LINENO: error: dmalloc header file missing. dmalloc build will fail." >&5
8806 echo "$as_me: error: dmalloc header file missing. dmalloc build will fail." >&2;}
8807 { (exit 1); exit 1; }; }
8813 { echo "$as_me:$LINENO: checking for malloc in -ldmalloc" >&5
8814 echo $ECHO_N "checking for malloc in -ldmalloc... $ECHO_C" >&6; }
8815 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
8816 echo $ECHO_N "(cached) $ECHO_C" >&6
8818 ac_check_lib_save_LIBS=$LIBS
8819 LIBS="-ldmalloc $LIBS"
8820 cat >conftest.$ac_ext <<_ACEOF
8823 cat confdefs.h >>conftest.$ac_ext
8824 cat >>conftest.$ac_ext <<_ACEOF
8825 /* end confdefs.h. */
8827 /* Override any GCC internal prototype to avoid an error.
8828 Use char because int might match the return type of a GCC
8829 builtin and then its argument prototype would still apply. */
8842 rm -f conftest.$ac_objext conftest$ac_exeext
8843 if { (ac_try="$ac_link"
8845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8846 *) ac_try_echo
=$ac_try;;
8848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8849 (eval "$ac_link") 2>conftest.er1
8851 grep -v '^ *+' conftest.er1
>conftest.err
8853 cat conftest.err
>&5
8854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855 (exit $ac_status); } &&
8856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8857 { (case "(($ac_try" in
8858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8859 *) ac_try_echo=$ac_try;;
8861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8862 (eval "$ac_try") 2>&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }; } &&
8866 { ac_try='test -s conftest$ac_exeext'
8867 { (case "(($ac_try" in
8868 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8869 *) ac_try_echo
=$ac_try;;
8871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8872 (eval "$ac_try") 2>&5
8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 (exit $ac_status); }; }; then
8876 ac_cv_lib_dmalloc_malloc
=yes
8878 echo "$as_me: failed program was:" >&5
8879 sed 's/^/| /' conftest.
$ac_ext >&5
8881 ac_cv_lib_dmalloc_malloc
=no
8884 rm -f core conftest.err conftest.
$ac_objext \
8885 conftest
$ac_exeext conftest.
$ac_ext
8886 LIBS
=$ac_check_lib_save_LIBS
8888 { echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_malloc" >&5
8889 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6; }
8890 if test $ac_cv_lib_dmalloc_malloc = yes; then
8891 cat >>confdefs.h
<<_ACEOF
8892 #define HAVE_LIBDMALLOC 1
8895 LIBS
="-ldmalloc $LIBS"
8898 { { echo "$as_me:$LINENO: error: dmalloc library is missing. dmalloc build will fail." >&5
8899 echo "$as_me: error: dmalloc library is missing. dmalloc build will fail." >&2;}
8900 { (exit 1); exit 1; }; }
8904 cat >>confdefs.h
<<\_ACEOF
8905 #define WITH_MALLOC_DMALLOC 1
8909 elif test "x$withval" = "xmpatrol" ; then
8910 { echo "$as_me:$LINENO: result: mpatrol" >&5
8911 echo "${ECHO_T}mpatrol" >&6; }
8913 for ac_header
in mpatrol.h
8915 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8916 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8917 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8919 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8920 echo $ECHO_N "(cached) $ECHO_C" >&6
8922 ac_res
=`eval echo '${'$as_ac_Header'}'`
8923 { echo "$as_me:$LINENO: result: $ac_res" >&5
8924 echo "${ECHO_T}$ac_res" >&6; }
8926 # Is the header compilable?
8927 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8929 cat >conftest.
$ac_ext <<_ACEOF
8932 cat confdefs.h
>>conftest.
$ac_ext
8933 cat >>conftest.
$ac_ext <<_ACEOF
8934 /* end confdefs.h. */
8935 $ac_includes_default
8936 #include <$ac_header>
8938 rm -f conftest.
$ac_objext
8939 if { (ac_try
="$ac_compile"
8941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8942 *) ac_try_echo=$ac_try;;
8944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8945 (eval "$ac_compile") 2>conftest.er1
8947 grep -v '^ *+' conftest.er1 >conftest.err
8949 cat conftest.err >&5
8950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8951 (exit $ac_status); } &&
8952 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8953 { (case "(($ac_try" in
8954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8955 *) ac_try_echo
=$ac_try;;
8957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8958 (eval "$ac_try") 2>&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); }; } &&
8962 { ac_try
='test -s conftest.$ac_objext'
8963 { (case "(($ac_try" in
8964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8965 *) ac_try_echo=$ac_try;;
8967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8968 (eval "$ac_try") 2>&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); }; }; then
8972 ac_header_compiler=yes
8974 echo "$as_me: failed program was:" >&5
8975 sed 's/^/| /' conftest.$ac_ext >&5
8977 ac_header_compiler=no
8980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8981 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8982 echo "${ECHO_T}$ac_header_compiler" >&6; }
8984 # Is the header present?
8985 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8987 cat >conftest.$ac_ext <<_ACEOF
8990 cat confdefs.h >>conftest.$ac_ext
8991 cat >>conftest.$ac_ext <<_ACEOF
8992 /* end confdefs.h. */
8993 #include <$ac_header>
8995 if { (ac_try="$ac_cpp conftest.$ac_ext"
8997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8998 *) ac_try_echo
=$ac_try;;
9000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9003 grep -v '^ *+' conftest.er1
>conftest.err
9005 cat conftest.err
>&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); } >/dev
/null
; then
9008 if test -s conftest.err
; then
9009 ac_cpp_err
=$ac_c_preproc_warn_flag
9010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9017 if test -z "$ac_cpp_err"; then
9018 ac_header_preproc
=yes
9020 echo "$as_me: failed program was:" >&5
9021 sed 's/^/| /' conftest.
$ac_ext >&5
9023 ac_header_preproc
=no
9026 rm -f conftest.err conftest.
$ac_ext
9027 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9028 echo "${ECHO_T}$ac_header_preproc" >&6; }
9030 # So? What about this header?
9031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9033 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9034 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9036 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9037 ac_header_preproc
=yes
9040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9043 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9044 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9045 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9046 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9047 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9050 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9051 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9053 ## -------------------------------------------------- ##
9054 ## Report this to evilnet-devel@lists.sourceforge.net ##
9055 ## -------------------------------------------------- ##
9057 ) | sed "s/^/$as_me: WARNING: /" >&2
9060 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9062 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9063 echo $ECHO_N "(cached) $ECHO_C" >&6
9065 eval "$as_ac_Header=\$ac_header_preproc"
9067 ac_res
=`eval echo '${'$as_ac_Header'}'`
9068 { echo "$as_me:$LINENO: result: $ac_res" >&5
9069 echo "${ECHO_T}$ac_res" >&6; }
9072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9073 cat >>confdefs.h
<<_ACEOF
9074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9078 { { echo "$as_me:$LINENO: error: mpatrol header file missing. mpatrol build will fail." >&5
9079 echo "$as_me: error: mpatrol header file missing. mpatrol build will fail." >&2;}
9080 { (exit 1); exit 1; }; }
9086 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
9087 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
9088 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9089 echo $ECHO_N "(cached) $ECHO_C" >&6
9091 ac_check_lib_save_LIBS
=$LIBS
9093 cat >conftest.
$ac_ext <<_ACEOF
9096 cat confdefs.h
>>conftest.
$ac_ext
9097 cat >>conftest.
$ac_ext <<_ACEOF
9098 /* end confdefs.h. */
9100 /* Override any GCC internal prototype to avoid an error.
9101 Use char because int might match the return type of a GCC
9102 builtin and then its argument prototype would still apply. */
9110 return elf_begin ();
9115 rm -f conftest.
$ac_objext conftest
$ac_exeext
9116 if { (ac_try
="$ac_link"
9118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9119 *) ac_try_echo=$ac_try;;
9121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9122 (eval "$ac_link") 2>conftest.er1
9124 grep -v '^ *+' conftest.er1 >conftest.err
9126 cat conftest.err >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); } &&
9129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9130 { (case "(($ac_try" in
9131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9132 *) ac_try_echo
=$ac_try;;
9134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9135 (eval "$ac_try") 2>&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }; } &&
9139 { ac_try
='test -s conftest$ac_exeext'
9140 { (case "(($ac_try" in
9141 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9142 *) ac_try_echo=$ac_try;;
9144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9145 (eval "$ac_try") 2>&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); }; }; then
9149 ac_cv_lib_elf_elf_begin=yes
9151 echo "$as_me: failed program was:" >&5
9152 sed 's/^/| /' conftest.$ac_ext >&5
9154 ac_cv_lib_elf_elf_begin=no
9157 rm -f core conftest.err conftest.$ac_objext \
9158 conftest$ac_exeext conftest.$ac_ext
9159 LIBS=$ac_check_lib_save_LIBS
9161 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
9162 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
9163 if test $ac_cv_lib_elf_elf_begin = yes; then
9164 cat >>confdefs.h <<_ACEOF
9165 #define HAVE_LIBELF 1
9173 { echo "$as_me:$LINENO: checking for __mp_atexit in -lmpatrol" >&5
9174 echo $ECHO_N "checking for __mp_atexit in -lmpatrol... $ECHO_C" >&6; }
9175 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9178 ac_check_lib_save_LIBS=$LIBS
9179 LIBS="-lmpatrol $LIBS"
9180 cat >conftest.$ac_ext <<_ACEOF
9183 cat confdefs.h >>conftest.$ac_ext
9184 cat >>conftest.$ac_ext <<_ACEOF
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9193 char __mp_atexit ();
9197 return __mp_atexit ();
9202 rm -f conftest.$ac_objext conftest$ac_exeext
9203 if { (ac_try="$ac_link"
9205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9206 *) ac_try_echo
=$ac_try;;
9208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9209 (eval "$ac_link") 2>conftest.er1
9211 grep -v '^ *+' conftest.er1
>conftest.err
9213 cat conftest.err
>&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); } &&
9216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9217 { (case "(($ac_try" in
9218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9219 *) ac_try_echo=$ac_try;;
9221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9222 (eval "$ac_try") 2>&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); }; } &&
9226 { ac_try='test -s conftest$ac_exeext'
9227 { (case "(($ac_try" in
9228 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9229 *) ac_try_echo
=$ac_try;;
9231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9232 (eval "$ac_try") 2>&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); }; }; then
9236 ac_cv_lib_mpatrol___mp_atexit
=yes
9238 echo "$as_me: failed program was:" >&5
9239 sed 's/^/| /' conftest.
$ac_ext >&5
9241 ac_cv_lib_mpatrol___mp_atexit
=no
9244 rm -f core conftest.err conftest.
$ac_objext \
9245 conftest
$ac_exeext conftest.
$ac_ext
9246 LIBS
=$ac_check_lib_save_LIBS
9248 { echo "$as_me:$LINENO: result: $ac_cv_lib_mpatrol___mp_atexit" >&5
9249 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6; }
9250 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
9251 cat >>confdefs.h
<<_ACEOF
9252 #define HAVE_LIBMPATROL 1
9255 LIBS
="-lmpatrol $LIBS"
9258 { { echo "$as_me:$LINENO: error: mpatrol library is missing completely. mpatrol build will fail." >&5
9259 echo "$as_me: error: mpatrol library is missing completely. mpatrol build will fail." >&2;}
9260 { (exit 1); exit 1; }; }
9264 cat >>confdefs.h
<<\_ACEOF
9265 #define WITH_MALLOC_MPATROL 1
9269 elif test "x$withval" = "xboehm-gc" ; then
9270 { echo "$as_me:$LINENO: result: boehm-gc" >&5
9271 echo "${ECHO_T}boehm-gc" >&6; }
9273 for ac_header
in gc
/gc.h
9275 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9276 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9277 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9279 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9280 echo $ECHO_N "(cached) $ECHO_C" >&6
9282 ac_res
=`eval echo '${'$as_ac_Header'}'`
9283 { echo "$as_me:$LINENO: result: $ac_res" >&5
9284 echo "${ECHO_T}$ac_res" >&6; }
9286 # Is the header compilable?
9287 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9288 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9289 cat >conftest.
$ac_ext <<_ACEOF
9292 cat confdefs.h
>>conftest.
$ac_ext
9293 cat >>conftest.
$ac_ext <<_ACEOF
9294 /* end confdefs.h. */
9295 $ac_includes_default
9296 #include <$ac_header>
9298 rm -f conftest.
$ac_objext
9299 if { (ac_try
="$ac_compile"
9301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9302 *) ac_try_echo=$ac_try;;
9304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9305 (eval "$ac_compile") 2>conftest.er1
9307 grep -v '^ *+' conftest.er1 >conftest.err
9309 cat conftest.err >&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); } &&
9312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9313 { (case "(($ac_try" in
9314 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9315 *) ac_try_echo
=$ac_try;;
9317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9318 (eval "$ac_try") 2>&5
9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321 (exit $ac_status); }; } &&
9322 { ac_try
='test -s conftest.$ac_objext'
9323 { (case "(($ac_try" in
9324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9325 *) ac_try_echo=$ac_try;;
9327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9328 (eval "$ac_try") 2>&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); }; }; then
9332 ac_header_compiler=yes
9334 echo "$as_me: failed program was:" >&5
9335 sed 's/^/| /' conftest.$ac_ext >&5
9337 ac_header_compiler=no
9340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9341 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9342 echo "${ECHO_T}$ac_header_compiler" >&6; }
9344 # Is the header present?
9345 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9347 cat >conftest.$ac_ext <<_ACEOF
9350 cat confdefs.h >>conftest.$ac_ext
9351 cat >>conftest.$ac_ext <<_ACEOF
9352 /* end confdefs.h. */
9353 #include <$ac_header>
9355 if { (ac_try="$ac_cpp conftest.$ac_ext"
9357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9358 *) ac_try_echo
=$ac_try;;
9360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9361 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9363 grep -v '^ *+' conftest.er1
>conftest.err
9365 cat conftest.err
>&5
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); } >/dev
/null
; then
9368 if test -s conftest.err
; then
9369 ac_cpp_err
=$ac_c_preproc_warn_flag
9370 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9377 if test -z "$ac_cpp_err"; then
9378 ac_header_preproc
=yes
9380 echo "$as_me: failed program was:" >&5
9381 sed 's/^/| /' conftest.
$ac_ext >&5
9383 ac_header_preproc
=no
9386 rm -f conftest.err conftest.
$ac_ext
9387 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9388 echo "${ECHO_T}$ac_header_preproc" >&6; }
9390 # So? What about this header?
9391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9393 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9394 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9396 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9397 ac_header_preproc
=yes
9400 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9401 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9402 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9403 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9404 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9405 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9406 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9407 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9409 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9410 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9411 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9413 ## -------------------------------------------------- ##
9414 ## Report this to evilnet-devel@lists.sourceforge.net ##
9415 ## -------------------------------------------------- ##
9417 ) | sed "s/^/$as_me: WARNING: /" >&2
9420 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9422 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9423 echo $ECHO_N "(cached) $ECHO_C" >&6
9425 eval "$as_ac_Header=\$ac_header_preproc"
9427 ac_res
=`eval echo '${'$as_ac_Header'}'`
9428 { echo "$as_me:$LINENO: result: $ac_res" >&5
9429 echo "${ECHO_T}$ac_res" >&6; }
9432 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9433 cat >>confdefs.h
<<_ACEOF
9434 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9438 { { echo "$as_me:$LINENO: error: Boehm GC header file missing. boehm-gc build will fail." >&5
9439 echo "$as_me: error: Boehm GC header file missing. boehm-gc build will fail." >&2;}
9440 { (exit 1); exit 1; }; }
9446 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9447 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9448 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9449 echo $ECHO_N "(cached) $ECHO_C" >&6
9451 ac_check_lib_save_LIBS
=$LIBS
9453 cat >conftest.
$ac_ext <<_ACEOF
9456 cat confdefs.h
>>conftest.
$ac_ext
9457 cat >>conftest.
$ac_ext <<_ACEOF
9458 /* end confdefs.h. */
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9475 rm -f conftest.
$ac_objext conftest
$ac_exeext
9476 if { (ac_try
="$ac_link"
9478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9479 *) ac_try_echo=$ac_try;;
9481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9482 (eval "$ac_link") 2>conftest.er1
9484 grep -v '^ *+' conftest.er1 >conftest.err
9486 cat conftest.err >&5
9487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488 (exit $ac_status); } &&
9489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9490 { (case "(($ac_try" in
9491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9492 *) ac_try_echo
=$ac_try;;
9494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9495 (eval "$ac_try") 2>&5
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); }; } &&
9499 { ac_try
='test -s conftest$ac_exeext'
9500 { (case "(($ac_try" in
9501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9502 *) ac_try_echo=$ac_try;;
9504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9505 (eval "$ac_try") 2>&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); }; }; then
9509 ac_cv_lib_dl_dlopen=yes
9511 echo "$as_me: failed program was:" >&5
9512 sed 's/^/| /' conftest.$ac_ext >&5
9514 ac_cv_lib_dl_dlopen=no
9517 rm -f core conftest.err conftest.$ac_objext \
9518 conftest$ac_exeext conftest.$ac_ext
9519 LIBS=$ac_check_lib_save_LIBS
9521 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9522 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9523 if test $ac_cv_lib_dl_dlopen = yes; then
9524 cat >>confdefs.h <<_ACEOF
9525 #define HAVE_LIBDL 1
9531 { { echo "$as_me:$LINENO: error: libdl library is missing. boehm-gc build will fail." >&5
9532 echo "$as_me: error: libdl library is missing. boehm-gc build will fail." >&2;}
9533 { (exit 1); exit 1; }; }
9537 { echo "$as_me:$LINENO: checking for GC_gcollect in -lgc" >&5
9538 echo $ECHO_N "checking for GC_gcollect in -lgc... $ECHO_C" >&6; }
9539 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9542 ac_check_lib_save_LIBS=$LIBS
9544 cat >conftest.$ac_ext <<_ACEOF
9547 cat confdefs.h >>conftest.$ac_ext
9548 cat >>conftest.$ac_ext <<_ACEOF
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9557 char GC_gcollect ();
9561 return GC_gcollect ();
9566 rm -f conftest.$ac_objext conftest$ac_exeext
9567 if { (ac_try="$ac_link"
9569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9570 *) ac_try_echo
=$ac_try;;
9572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9573 (eval "$ac_link") 2>conftest.er1
9575 grep -v '^ *+' conftest.er1
>conftest.err
9577 cat conftest.err
>&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); } &&
9580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9581 { (case "(($ac_try" in
9582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9583 *) ac_try_echo=$ac_try;;
9585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9586 (eval "$ac_try") 2>&5
9588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 (exit $ac_status); }; } &&
9590 { ac_try='test -s conftest$ac_exeext'
9591 { (case "(($ac_try" in
9592 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9593 *) ac_try_echo
=$ac_try;;
9595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9596 (eval "$ac_try") 2>&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); }; }; then
9600 ac_cv_lib_gc_GC_gcollect
=yes
9602 echo "$as_me: failed program was:" >&5
9603 sed 's/^/| /' conftest.
$ac_ext >&5
9605 ac_cv_lib_gc_GC_gcollect
=no
9608 rm -f core conftest.err conftest.
$ac_objext \
9609 conftest
$ac_exeext conftest.
$ac_ext
9610 LIBS
=$ac_check_lib_save_LIBS
9612 { echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_gcollect" >&5
9613 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6; }
9614 if test $ac_cv_lib_gc_GC_gcollect = yes; then
9615 cat >>confdefs.h
<<_ACEOF
9616 #define HAVE_LIBGC 1
9622 { { echo "$as_me:$LINENO: error: Boehm GC library is missing. boehm-gc build will fail." >&5
9623 echo "$as_me: error: Boehm GC library is missing. boehm-gc build will fail." >&2;}
9624 { (exit 1); exit 1; }; }
9628 cat >>confdefs.h
<<\_ACEOF
9629 #define WITH_MALLOC_BOEHM_GC 1
9633 elif test "x$withval" = "xx3" ; then
9634 { echo "$as_me:$LINENO: result: x3" >&5
9635 echo "${ECHO_T}x3" >&6; }
9637 cat >>confdefs.h
<<\_ACEOF
9638 #define WITH_MALLOC_X3 1
9641 MODULE_OBJS
="$MODULE_OBJS alloc-x3.\$(OBJEXT)"
9643 elif test "x$withval" = "xslab" ; then
9644 { echo "$as_me:$LINENO: result: slab" >&5
9645 echo "${ECHO_T}slab" >&6; }
9647 cat >>confdefs.h
<<\_ACEOF
9648 #define WITH_MALLOC_SLAB 1
9651 MODULE_OBJS
="$MODULE_OBJS alloc-slab.\$(OBJEXT)"
9654 { { echo "$as_me:$LINENO: error: Unknown malloc type $withval" >&5
9655 echo "$as_me: error: Unknown malloc type $withval" >&2;}
9656 { (exit 1); exit 1; }; }
9659 { echo "$as_me:$LINENO: checking which protocol to use" >&5
9660 echo $ECHO_N "checking which protocol to use... $ECHO_C" >&6; }
9662 # Check whether --with-protocol was given.
9663 if test "${with_protocol+set}" = set; then
9664 withval
=$with_protocol;
9669 if test "x$withval" = "xp10" ; then
9670 { echo "$as_me:$LINENO: result: P10" >&5
9671 echo "${ECHO_T}P10" >&6; }
9673 cat >>confdefs.h
<<\_ACEOF
9674 #define WITH_PROTOCOL_P10 1
9677 MODULE_OBJS
="$MODULE_OBJS proto-p10.\$(OBJEXT)"
9678 PROTO_FILES
=proto
-p10.c
9681 { { echo "$as_me:$LINENO: error: Unknown IRC dialect $withval" >&5
9682 echo "$as_me: error: Unknown IRC dialect $withval" >&2;}
9683 { (exit 1); exit 1; }; }
9687 # Check whether --with-getopt was given.
9688 if test "${with_getopt+set}" = set; then
9689 withval
=$with_getopt; if test "$withval" = no
; then
9691 cat >>confdefs.h
<<\_ACEOF
9692 #define IGNORE_GETOPT 1
9699 { echo "$as_me:$LINENO: checking whether to enable tokenization" >&5
9700 echo $ECHO_N "checking whether to enable tokenization... $ECHO_C" >&6; }
9701 # Check whether --enable-tokens was given.
9702 if test "${enable_tokens+set}" = set; then
9703 enableval
=$enable_tokens;
9708 if test "z$enableval" = zno
; then
9709 { echo "$as_me:$LINENO: result: no" >&5
9710 echo "${ECHO_T}no" >&6; }
9713 cat >>confdefs.h
<<\_ACEOF
9714 #define ENABLE_TOKENS 1
9717 { echo "$as_me:$LINENO: result: yes" >&5
9718 echo "${ECHO_T}yes" >&6; }
9721 { echo "$as_me:$LINENO: checking whether to enable debug behaviors" >&5
9722 echo $ECHO_N "checking whether to enable debug behaviors... $ECHO_C" >&6; }
9723 # Check whether --enable-debug was given.
9724 if test "${enable_debug+set}" = set; then
9725 enableval
=$enable_debug;
9726 CPPFLAGS
="$CPPFLAGS"
9727 { echo "$as_me:$LINENO: result: yes" >&5
9728 echo "${ECHO_T}yes" >&6; }
9733 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
9734 { echo "$as_me:$LINENO: result: no" >&5
9735 echo "${ECHO_T}no" >&6; }
9741 if test -e src
; then
9742 if test ! -d src
; then
9743 { { echo "$as_me:$LINENO: error: src exists but is not a directory; please move it out of the way." >&5
9744 echo "$as_me: error: src exists but is not a directory; please move it out of the way." >&2;}
9745 { (exit 1); exit 1; }; }
9750 { echo "$as_me:$LINENO: checking for extra module files" >&5
9751 echo $ECHO_N "checking for extra module files... $ECHO_C" >&6; }
9752 MODULE_DEFINES
="src/modules-list.h"
9753 echo > $MODULE_DEFINES
9754 touch $MODULE_DEFINES
9755 # Check whether --enable-modules was given.
9756 if test "${enable_modules+set}" = set; then
9757 enableval
=$enable_modules;
9760 EXTRA_MODULE_OBJS
=""
9762 for module
in $enableval ; do
9763 module
=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
9764 EXTRA_MODULE_OBJS
="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
9765 module_list
="$module_list $module"
9766 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
9767 if test "x$module" = "xtrack" ; then
9768 TRACK
="-D HAVE_TRACK"
9772 MODULE_OBJS
="$MODULE_OBJS $EXTRA_MODULE_OBJS"
9773 { echo "$as_me:$LINENO: result: $module_list" >&5
9774 echo "${ECHO_T}$module_list" >&6; }
9778 { echo "$as_me:$LINENO: result: none" >&5
9779 echo "${ECHO_T}none" >&6; }
9787 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no
; then
9788 MY_SUBDIRS
="rx $MY_SUBDIRS"
9789 RX_INCLUDES
="-I../rx"
9790 RX_LIBS
="../rx/librx.a"
9792 MY_SUBDIRS
="$MY_SUBDIRS src"
9793 CFLAGS
="$CFLAGS $ANSI_SRC -W -Wall"
9794 if test "z$USE_MAINTAINER_MODE" = zyes
; then
9795 CFLAGS
="$CFLAGS -Werror"
9802 # Check whether --with-tre was given.
9803 if test "${with_tre+set}" = set; then
9807 if test "x$withval" != "x"; then
9808 { echo "$as_me:$LINENO: result: Using include dir $withval to find libtre" >&5
9809 echo "${ECHO_T}Using include dir $withval to find libtre" >&6; }
9810 CPPFLAGS
="-I$withval/include -L$withval/lib"
9811 LIBS
="$LIBS -L$withval/lib"
9813 { echo "$as_me:$LINENO: result: Looking for tre in system and home dirs (${HOME})..." >&5
9814 echo "${ECHO_T}Looking for tre in system and home dirs (${HOME})..." >&6; }
9815 CPPFLAGS
="-I${HOME}/include -L${HOME}/lib"
9816 LIBS
="$LIBS -L${HOME}/lib"
9818 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9819 { echo "$as_me:$LINENO: checking for tre/regex.h" >&5
9820 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6; }
9821 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9822 echo $ECHO_N "(cached) $ECHO_C" >&6
9824 { echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
9825 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
9827 # Is the header compilable?
9828 { echo "$as_me:$LINENO: checking tre/regex.h usability" >&5
9829 echo $ECHO_N "checking tre/regex.h usability... $ECHO_C" >&6; }
9830 cat >conftest.
$ac_ext <<_ACEOF
9833 cat confdefs.h
>>conftest.
$ac_ext
9834 cat >>conftest.
$ac_ext <<_ACEOF
9835 /* end confdefs.h. */
9836 $ac_includes_default
9837 #include <tre/regex.h>
9839 rm -f conftest.
$ac_objext
9840 if { (ac_try
="$ac_compile"
9842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9843 *) ac_try_echo=$ac_try;;
9845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9846 (eval "$ac_compile") 2>conftest.er1
9848 grep -v '^ *+' conftest.er1 >conftest.err
9850 cat conftest.err >&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); } &&
9853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9854 { (case "(($ac_try" in
9855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9856 *) ac_try_echo
=$ac_try;;
9858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9859 (eval "$ac_try") 2>&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); }; } &&
9863 { ac_try
='test -s conftest.$ac_objext'
9864 { (case "(($ac_try" in
9865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9866 *) ac_try_echo=$ac_try;;
9868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9869 (eval "$ac_try") 2>&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); }; }; then
9873 ac_header_compiler=yes
9875 echo "$as_me: failed program was:" >&5
9876 sed 's/^/| /' conftest.$ac_ext >&5
9878 ac_header_compiler=no
9881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9882 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9883 echo "${ECHO_T}$ac_header_compiler" >&6; }
9885 # Is the header present?
9886 { echo "$as_me:$LINENO: checking tre/regex.h presence" >&5
9887 echo $ECHO_N "checking tre/regex.h presence... $ECHO_C" >&6; }
9888 cat >conftest.$ac_ext <<_ACEOF
9891 cat confdefs.h >>conftest.$ac_ext
9892 cat >>conftest.$ac_ext <<_ACEOF
9893 /* end confdefs.h. */
9894 #include <tre/regex.h>
9896 if { (ac_try="$ac_cpp conftest.$ac_ext"
9898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9899 *) ac_try_echo
=$ac_try;;
9901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9902 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9904 grep -v '^ *+' conftest.er1
>conftest.err
9906 cat conftest.err
>&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); } >/dev
/null
; then
9909 if test -s conftest.err
; then
9910 ac_cpp_err
=$ac_c_preproc_warn_flag
9911 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9918 if test -z "$ac_cpp_err"; then
9919 ac_header_preproc
=yes
9921 echo "$as_me: failed program was:" >&5
9922 sed 's/^/| /' conftest.
$ac_ext >&5
9924 ac_header_preproc
=no
9927 rm -f conftest.err conftest.
$ac_ext
9928 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9929 echo "${ECHO_T}$ac_header_preproc" >&6; }
9931 # So? What about this header?
9932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9934 { echo "$as_me:$LINENO: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
9935 echo "$as_me: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9936 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the compiler's result" >&5
9937 echo "$as_me: WARNING: tre/regex.h: proceeding with the compiler's result" >&2;}
9938 ac_header_preproc
=yes
9941 { echo "$as_me:$LINENO: WARNING: tre/regex.h: present but cannot be compiled" >&5
9942 echo "$as_me: WARNING: tre/regex.h: present but cannot be compiled" >&2;}
9943 { echo "$as_me:$LINENO: WARNING: tre/regex.h: check for missing prerequisite headers?" >&5
9944 echo "$as_me: WARNING: tre/regex.h: check for missing prerequisite headers?" >&2;}
9945 { echo "$as_me:$LINENO: WARNING: tre/regex.h: see the Autoconf documentation" >&5
9946 echo "$as_me: WARNING: tre/regex.h: see the Autoconf documentation" >&2;}
9947 { echo "$as_me:$LINENO: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&5
9948 echo "$as_me: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
9949 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&5
9950 echo "$as_me: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&2;}
9951 { echo "$as_me:$LINENO: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&5
9952 echo "$as_me: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&2;}
9954 ## -------------------------------------------------- ##
9955 ## Report this to evilnet-devel@lists.sourceforge.net ##
9956 ## -------------------------------------------------- ##
9958 ) | sed "s/^/$as_me: WARNING: /" >&2
9961 { echo "$as_me:$LINENO: checking for tre/regex.h" >&5
9962 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6; }
9963 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9966 ac_cv_header_tre_regex_h
=$ac_header_preproc
9968 { echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
9969 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
9972 if test $ac_cv_header_tre_regex_h = yes; then
9975 { { 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
9976 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;}
9977 { (exit 1); exit 1; }; }
9982 { echo "$as_me:$LINENO: checking for regexec in -ltre" >&5
9983 echo $ECHO_N "checking for regexec in -ltre... $ECHO_C" >&6; }
9984 if test "${ac_cv_lib_tre_regexec+set}" = set; then
9985 echo $ECHO_N "(cached) $ECHO_C" >&6
9987 ac_check_lib_save_LIBS
=$LIBS
9989 cat >conftest.
$ac_ext <<_ACEOF
9992 cat confdefs.h
>>conftest.
$ac_ext
9993 cat >>conftest.
$ac_ext <<_ACEOF
9994 /* end confdefs.h. */
9996 /* Override any GCC internal prototype to avoid an error.
9997 Use char because int might match the return type of a GCC
9998 builtin and then its argument prototype would still apply. */
10011 rm -f conftest.
$ac_objext conftest
$ac_exeext
10012 if { (ac_try
="$ac_link"
10013 case "(($ac_try" in
10014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10015 *) ac_try_echo=$ac_try;;
10017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10018 (eval "$ac_link") 2>conftest.er1
10020 grep -v '^ *+' conftest.er1 >conftest.err
10022 cat conftest.err >&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } &&
10025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10026 { (case "(($ac_try" in
10027 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10028 *) ac_try_echo
=$ac_try;;
10030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10031 (eval "$ac_try") 2>&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); }; } &&
10035 { ac_try
='test -s conftest$ac_exeext'
10036 { (case "(($ac_try" in
10037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10038 *) ac_try_echo=$ac_try;;
10040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10041 (eval "$ac_try") 2>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; }; then
10045 ac_cv_lib_tre_regexec=yes
10047 echo "$as_me: failed program was:" >&5
10048 sed 's/^/| /' conftest.$ac_ext >&5
10050 ac_cv_lib_tre_regexec=no
10053 rm -f core conftest.err conftest.$ac_objext \
10054 conftest$ac_exeext conftest.$ac_ext
10055 LIBS=$ac_check_lib_save_LIBS
10057 { echo "$as_me:$LINENO: result: $ac_cv_lib_tre_regexec" >&5
10058 echo "${ECHO_T}$ac_cv_lib_tre_regexec" >&6; }
10059 if test $ac_cv_lib_tre_regexec = yes; then
10060 cat >>confdefs.h <<_ACEOF
10061 #define HAVE_LIBTRE 1
10067 { { 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
10068 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;}
10069 { (exit 1); exit 1; }; }
10076 # Check whether --with-coredumper was given.
10077 if test "${with_coredumper+set}" = set; then
10078 withval=$with_coredumper;
10081 if test "x$withval" != "x"; then
10082 { echo "$as_me:$LINENO: result: Using include dir $withval to find coredumper" >&5
10083 echo "${ECHO_T}Using include dir $withval to find coredumper" >&6; }
10084 CPPFLAGS="-I$withval/include -L$withval/lib"
10085 LIBS="$LIBS -L$withval/lib"
10087 { echo "$as_me:$LINENO: result: Looking for coredumper in system and home dirs (${HOME})..." >&5
10088 echo "${ECHO_T}Looking for coredumper in system and home dirs (${HOME})..." >&6; }
10089 CPPFLAGS="-I${HOME}/include -L${HOME}/lib"
10090 LIBS="$LIBS -L${HOME}/lib"
10092 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
10093 { echo "$as_me:$LINENO: checking for google/coredumper.h" >&5
10094 echo $ECHO_N "checking for google/coredumper.h... $ECHO_C" >&6; }
10095 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
10096 echo $ECHO_N "(cached) $ECHO_C" >&6
10098 { echo "$as_me:$LINENO: result: $ac_cv_header_google_coredumper_h" >&5
10099 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
10101 # Is the header compilable?
10102 { echo "$as_me:$LINENO: checking google/coredumper.h usability" >&5
10103 echo $ECHO_N "checking google/coredumper.h usability... $ECHO_C" >&6; }
10104 cat >conftest.$ac_ext <<_ACEOF
10107 cat confdefs.h >>conftest.$ac_ext
10108 cat >>conftest.$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10110 $ac_includes_default
10111 #include <google/coredumper.h>
10113 rm -f conftest.$ac_objext
10114 if { (ac_try="$ac_compile"
10115 case "(($ac_try" in
10116 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10117 *) ac_try_echo
=$ac_try;;
10119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10120 (eval "$ac_compile") 2>conftest.er1
10122 grep -v '^ *+' conftest.er1
>conftest.err
10124 cat conftest.err
>&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); } &&
10127 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10128 { (case "(($ac_try" in
10129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10130 *) ac_try_echo=$ac_try;;
10132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10133 (eval "$ac_try") 2>&5
10135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136 (exit $ac_status); }; } &&
10137 { ac_try='test -s conftest.$ac_objext'
10138 { (case "(($ac_try" in
10139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10140 *) ac_try_echo
=$ac_try;;
10142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10143 (eval "$ac_try") 2>&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }; }; then
10147 ac_header_compiler
=yes
10149 echo "$as_me: failed program was:" >&5
10150 sed 's/^/| /' conftest.
$ac_ext >&5
10152 ac_header_compiler
=no
10155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10156 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10157 echo "${ECHO_T}$ac_header_compiler" >&6; }
10159 # Is the header present?
10160 { echo "$as_me:$LINENO: checking google/coredumper.h presence" >&5
10161 echo $ECHO_N "checking google/coredumper.h presence... $ECHO_C" >&6; }
10162 cat >conftest.
$ac_ext <<_ACEOF
10165 cat confdefs.h
>>conftest.
$ac_ext
10166 cat >>conftest.
$ac_ext <<_ACEOF
10167 /* end confdefs.h. */
10168 #include <google/coredumper.h>
10170 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10171 case "(($ac_try" in
10172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10173 *) ac_try_echo=$ac_try;;
10175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10176 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10178 grep -v '^ *+' conftest.er1 >conftest.err
10180 cat conftest.err >&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); } >/dev/null; then
10183 if test -s conftest.err; then
10184 ac_cpp_err=$ac_c_preproc_warn_flag
10185 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10192 if test -z "$ac_cpp_err"; then
10193 ac_header_preproc=yes
10195 echo "$as_me: failed program was:" >&5
10196 sed 's/^/| /' conftest.$ac_ext >&5
10198 ac_header_preproc=no
10201 rm -f conftest.err conftest.$ac_ext
10202 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10203 echo "${ECHO_T}$ac_header_preproc" >&6; }
10205 # So? What about this header?
10206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10208 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: accepted by the compiler, rejected by the preprocessor!" >&5
10209 echo "$as_me: WARNING: google/coredumper.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10210 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: proceeding with the compiler's result" >&5
10211 echo "$as_me: WARNING: google/coredumper.h: proceeding with the compiler's result" >&2;}
10212 ac_header_preproc=yes
10215 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: present but cannot be compiled" >&5
10216 echo "$as_me: WARNING: google/coredumper.h: present but cannot be compiled" >&2;}
10217 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: check for missing prerequisite headers?" >&5
10218 echo "$as_me: WARNING: google/coredumper.h: check for missing prerequisite headers?" >&2;}
10219 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: see the Autoconf documentation" >&5
10220 echo "$as_me: WARNING: google/coredumper.h: see the Autoconf documentation" >&2;}
10221 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: section \"Present But Cannot Be Compiled\"" >&5
10222 echo "$as_me: WARNING: google/coredumper.h: section \"Present But Cannot Be Compiled\"" >&2;}
10223 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: proceeding with the preprocessor's result" >&5
10224 echo "$as_me: WARNING: google/coredumper.h: proceeding with the preprocessor's result" >&2;}
10225 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: in the future, the compiler will take precedence" >&5
10226 echo "$as_me: WARNING: google/coredumper.h: in the future, the compiler will take precedence" >&2;}
10228 ## -------------------------------------------------- ##
10229 ## Report this to evilnet-devel@lists.sourceforge.net ##
10230 ## -------------------------------------------------- ##
10232 ) | sed "s/^/$as_me: WARNING: /" >&2
10235 { echo "$as_me:$LINENO: checking for google/coredumper.h" >&5
10236 echo $ECHO_N "checking for google/coredumper.h... $ECHO_C" >&6; }
10237 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
10238 echo $ECHO_N "(cached) $ECHO_C" >&6
10240 ac_cv_header_google_coredumper_h=$ac_header_preproc
10242 { echo "$as_me:$LINENO: result: $ac_cv_header_google_coredumper_h" >&5
10243 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
10246 if test $ac_cv_header_google_coredumper_h = yes; then
10249 { 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
10250 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; }
10255 { echo "$as_me:$LINENO: checking for WriteCoreDump in -lcoredumper" >&5
10256 echo $ECHO_N "checking for WriteCoreDump in -lcoredumper... $ECHO_C" >&6; }
10257 if test "${ac_cv_lib_coredumper_WriteCoreDump+set}" = set; then
10258 echo $ECHO_N "(cached) $ECHO_C" >&6
10260 ac_check_lib_save_LIBS=$LIBS
10261 LIBS="-lcoredumper $LIBS"
10262 cat >conftest.$ac_ext <<_ACEOF
10265 cat confdefs.h >>conftest.$ac_ext
10266 cat >>conftest.$ac_ext <<_ACEOF
10267 /* end confdefs.h. */
10269 /* Override any GCC internal prototype to avoid an error.
10270 Use char because int might match the return type of a GCC
10271 builtin and then its argument prototype would still apply. */
10275 char WriteCoreDump ();
10279 return WriteCoreDump ();
10284 rm -f conftest.$ac_objext conftest$ac_exeext
10285 if { (ac_try="$ac_link"
10286 case "(($ac_try" in
10287 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10288 *) ac_try_echo
=$ac_try;;
10290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10291 (eval "$ac_link") 2>conftest.er1
10293 grep -v '^ *+' conftest.er1
>conftest.err
10295 cat conftest.err
>&5
10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); } &&
10298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10299 { (case "(($ac_try" in
10300 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10301 *) ac_try_echo=$ac_try;;
10303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10304 (eval "$ac_try") 2>&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); }; } &&
10308 { ac_try='test -s conftest$ac_exeext'
10309 { (case "(($ac_try" in
10310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10311 *) ac_try_echo
=$ac_try;;
10313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10314 (eval "$ac_try") 2>&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); }; }; then
10318 ac_cv_lib_coredumper_WriteCoreDump
=yes
10320 echo "$as_me: failed program was:" >&5
10321 sed 's/^/| /' conftest.
$ac_ext >&5
10323 ac_cv_lib_coredumper_WriteCoreDump
=no
10326 rm -f core conftest.err conftest.
$ac_objext \
10327 conftest
$ac_exeext conftest.
$ac_ext
10328 LIBS
=$ac_check_lib_save_LIBS
10330 { echo "$as_me:$LINENO: result: $ac_cv_lib_coredumper_WriteCoreDump" >&5
10331 echo "${ECHO_T}$ac_cv_lib_coredumper_WriteCoreDump" >&6; }
10332 if test $ac_cv_lib_coredumper_WriteCoreDump = yes; then
10333 cat >>confdefs.h
<<_ACEOF
10334 #define HAVE_LIBCOREDUMPER 1
10337 LIBS
="-lcoredumper $LIBS"
10340 { 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
10341 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; }
10346 cat >>confdefs.h
<<_ACEOF
10347 #define CODENAME "${CODENAME}"
10355 ac_config_files
="$ac_config_files Makefile rx/Makefile src/Makefile"
10357 cat >confcache
<<\_ACEOF
10358 # This file is a shell script that caches the results of configure
10359 # tests run on this system so they can be shared between configure
10360 # scripts and configure runs, see configure's option --config-cache.
10361 # It is not useful on other systems. If it contains results you don't
10362 # want to keep, you may remove or edit it.
10364 # config.status only pays attention to the cache file if you give it
10365 # the --recheck option to rerun configure.
10367 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10368 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10369 # following values.
10373 # The following way of writing the cache mishandles newlines in values,
10374 # but we know of no workaround that is simple, portable, and efficient.
10375 # So, we kill variables containing newlines.
10376 # Ultrix sh set writes to stderr and can't be redirected directly,
10377 # and sets the high bit in the cache file unless we assign to the vars.
10379 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10380 eval ac_val
=\$
$ac_var
10384 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10385 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10388 _
| IFS
| as_nl
) ;; #(
10389 *) $as_unset $ac_var ;;
10395 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10396 *${as_nl}ac_space
=\
*)
10397 # `set' does not quote correctly, so add quotes (double-quote
10398 # substitution turns \\\\ into \\, and sed turns \\ into \).
10401 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10404 # `set' quotes correctly as required by POSIX, so do not add quotes.
10405 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10414 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10416 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10418 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10419 if test -w "$cache_file"; then
10420 test "x$cache_file" != "x/dev/null" &&
10421 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10422 echo "$as_me: updating cache $cache_file" >&6;}
10423 cat confcache
>$cache_file
10425 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10426 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10431 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10432 # Let make expand exec_prefix.
10433 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10435 DEFS
=-DHAVE_CONFIG_H
10439 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10440 # 1. Remove the extension, and $U if already installed.
10441 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10442 ac_i
=`echo "$ac_i" | sed "$ac_script"`
10443 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10444 # will be set to the directory where LIBOBJS objects are built.
10445 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10446 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10448 LIBOBJS
=$ac_libobjs
10450 LTLIBOBJS
=$ac_ltlibobjs
10453 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10454 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10455 Usually this means the macro was only invoked conditionally." >&5
10456 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10457 Usually this means the macro was only invoked conditionally." >&2;}
10458 { (exit 1); exit 1; }; }
10460 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10461 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10462 Usually this means the macro was only invoked conditionally." >&5
10463 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10464 Usually this means the macro was only invoked conditionally." >&2;}
10465 { (exit 1); exit 1; }; }
10467 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10468 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10469 Usually this means the macro was only invoked conditionally." >&5
10470 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10471 Usually this means the macro was only invoked conditionally." >&2;}
10472 { (exit 1); exit 1; }; }
10474 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10475 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10476 Usually this means the macro was only invoked conditionally." >&5
10477 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10478 Usually this means the macro was only invoked conditionally." >&2;}
10479 { (exit 1); exit 1; }; }
10482 : ${CONFIG_STATUS=./config.status}
10483 ac_clean_files_save
=$ac_clean_files
10484 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10485 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10486 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10487 cat >$CONFIG_STATUS <<_ACEOF
10489 # Generated by $as_me.
10490 # Run this file to recreate the current configuration.
10491 # Compiler output produced by configure, useful for debugging
10492 # configure, is in config.log if it exists.
10495 ac_cs_recheck=false
10497 SHELL=\${CONFIG_SHELL-$SHELL}
10500 cat >>$CONFIG_STATUS <<\_ACEOF
10501 ## --------------------- ##
10502 ## M4sh Initialization. ##
10503 ## --------------------- ##
10505 # Be Bourne compatible
10506 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10509 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10510 # is contrary to our usage. Disable this feature.
10511 alias -g '${1+"$@"}'='"$@"'
10512 setopt NO_GLOB_SUBST
10514 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
10516 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
10517 DUALCASE
=1; export DUALCASE
# for MKS sh
10521 # Avoid depending upon Character Ranges.
10522 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10523 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10524 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10525 as_cr_digits
='0123456789'
10526 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10528 # The user is always right.
10529 if test "${PATH_SEPARATOR+set}" != set; then
10530 echo "#! /bin/sh" >conf$$.sh
10531 echo "exit 0" >>conf$$.sh
10533 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10541 # Support unset when possible.
10542 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
10550 # We need space, tab and new line, in precisely that order. Quoting is
10551 # there to prevent editors from complaining about space-tab.
10552 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10553 # splitting by setting IFS to empty value.)
10558 # Find who we are. Look in the path if we contain no directory separator.
10560 *[\\/]* ) as_myself
=$0 ;;
10561 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10562 for as_dir
in $PATH
10565 test -z "$as_dir" && as_dir
=.
10566 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10572 # We did not find ourselves, most probably we were run as `sh COMMAND'
10573 # in which case we are not to be found in the path.
10574 if test "x$as_myself" = x
; then
10577 if test ! -f "$as_myself"; then
10578 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10579 { (exit 1); exit 1; }
10582 # Work around bugs in pre-3.0 UWIN ksh.
10583 for as_var
in ENV MAIL MAILPATH
10584 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10592 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10593 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10594 LC_TELEPHONE LC_TIME
10596 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10597 eval $as_var=C
; export $as_var
10599 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10603 # Required to use basename.
10604 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10605 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10611 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10612 as_basename
=basename
10618 # Name of the executable.
10619 as_me
=`$as_basename -- "$0" ||
10620 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10621 X"$0" : 'X\(//\)$' \| \
10622 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10624 sed '/^.*\/\([^/][^/]*\)\/*$/{
10643 as_lineno_1
=$LINENO
10644 as_lineno_2
=$LINENO
10645 test "x$as_lineno_1" != "x$as_lineno_2" &&
10646 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10648 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10649 # uniformly replaced by the line number. The first 'sed' inserts a
10650 # line-number line after each line using $LINENO; the second 'sed'
10651 # does the real work. The second script uses 'N' to pair each
10652 # line-number line with the line containing $LINENO, and appends
10653 # trailing '-' during substitution so that $LINENO is not a special
10654 # case at line end.
10655 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10656 # scripts with optimization help from Paolo Bonzini. Blame Lee
10657 # E. McMahon (1931-1989) for sed's syntax. :-)
10669 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10672 ' >$as_me.lineno
&&
10673 chmod +x
"$as_me.lineno" ||
10674 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10675 { (exit 1); exit 1; }; }
10677 # Don't try to exec as it changes $[0], causing all sort of problems
10678 # (the dirname of $[0] is not the place where we might find the
10679 # original and so on. Autoconf is especially sensitive to this).
10680 .
"./$as_me.lineno"
10681 # Exit status is that of the last command.
10686 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10692 ECHO_C
= ECHO_N
= ECHO_T
=
10693 case `echo -n x` in
10695 case `echo 'x\c'` in
10696 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10703 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10704 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10710 rm -f conf$$ conf$$.exe conf$$.
file
10711 if test -d conf$$.dir
; then
10712 rm -f conf$$.dir
/conf$$.
file
10718 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10720 # ... but there are two gotchas:
10721 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10722 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10723 # In both cases, we have to default to `cp -p'.
10724 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
10726 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10731 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10732 rmdir conf$$.dir
2>/dev
/null
10734 if mkdir -p .
2>/dev
/null
; then
10737 test -d .
/-p && rmdir .
/-p
10741 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
10742 # systems may use methods other than mode bits to determine executability.
10743 cat >conf$$.
file <<_ASEOF
10747 chmod +x conf$$.
file
10748 if test -x conf$$.
file >/dev
/null
2>&1; then
10749 as_executable_p
="test -x"
10755 # Sed expression to map a string onto a valid CPP name.
10756 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10758 # Sed expression to map a string onto a valid variable name.
10759 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10764 # Save the log message, to keep $[0] and so on meaningful, and to
10765 # report actual input values of CONFIG_FILES etc. instead of their
10766 # values after options handling.
10768 This file was extended by X3 $as_me 1.5, which was
10769 generated by GNU Autoconf 2.60. Invocation command line was
10771 CONFIG_FILES = $CONFIG_FILES
10772 CONFIG_HEADERS = $CONFIG_HEADERS
10773 CONFIG_LINKS = $CONFIG_LINKS
10774 CONFIG_COMMANDS = $CONFIG_COMMANDS
10777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10782 cat >>$CONFIG_STATUS <<_ACEOF
10783 # Files that config.status was made for.
10784 config_files="$ac_config_files"
10785 config_headers="$ac_config_headers"
10786 config_commands="$ac_config_commands"
10790 cat >>$CONFIG_STATUS <<\_ACEOF
10792 \`$as_me' instantiates files from templates according to the
10793 current configuration.
10795 Usage: $0 [OPTIONS] [FILE]...
10797 -h, --help print this help, then exit
10798 -V, --version print version number, then exit
10799 -q, --quiet do not print progress messages
10800 -d, --debug don't remove temporary files
10801 --recheck update $as_me by reconfiguring in the same conditions
10802 --file=FILE[:TEMPLATE]
10803 instantiate the configuration file FILE
10804 --header=FILE[:TEMPLATE]
10805 instantiate the configuration header FILE
10807 Configuration files:
10810 Configuration headers:
10813 Configuration commands:
10816 Report bugs to <bug-autoconf@gnu.org>."
10819 cat >>$CONFIG_STATUS <<_ACEOF
10821 X3 config.status 1.5
10822 configured by $0, generated by GNU Autoconf 2.60,
10823 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10825 Copyright (C) 2006 Free Software Foundation, Inc.
10826 This config.status script is free software; the Free Software Foundation
10827 gives unlimited permission to copy, distribute and modify it."
10834 cat >>$CONFIG_STATUS <<\_ACEOF
10835 # If no file are specified by the user, then we need to provide default
10836 # value. By we need to know if files were specified by the user.
10842 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10843 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10854 # Handling of the options.
10855 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10857 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10858 echo "$ac_cs_version"; exit ;;
10859 --debug | --debu | --deb | --de | --d | -d )
10861 --file | --fil | --fi | --f )
10863 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10864 ac_need_defaults
=false
;;
10865 --header | --heade | --head | --hea )
10867 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10868 ac_need_defaults
=false
;;
10870 # Conflict between --help and --header
10871 { echo "$as_me: error: ambiguous option: $1
10872 Try \`$0 --help' for more information." >&2
10873 { (exit 1); exit 1; }; };;
10874 --help | --hel | -h )
10875 echo "$ac_cs_usage"; exit ;;
10876 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10877 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10880 # This is an error.
10881 -*) { echo "$as_me: error: unrecognized option: $1
10882 Try \`$0 --help' for more information." >&2
10883 { (exit 1); exit 1; }; } ;;
10885 *) ac_config_targets
="$ac_config_targets $1"
10886 ac_need_defaults
=false
;;
10892 ac_configure_extra_args
=
10894 if $ac_cs_silent; then
10896 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10900 cat >>$CONFIG_STATUS <<_ACEOF
10901 if \$ac_cs_recheck; then
10902 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10903 CONFIG_SHELL=$SHELL
10904 export CONFIG_SHELL
10905 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10909 cat >>$CONFIG_STATUS <<\_ACEOF
10913 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10914 ## Running $as_me. ##
10920 cat >>$CONFIG_STATUS <<_ACEOF
10924 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10928 cat >>$CONFIG_STATUS <<\_ACEOF
10930 # Handling of arguments.
10931 for ac_config_target
in $ac_config_targets
10933 case $ac_config_target in
10934 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
10935 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10936 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10937 "rx/Makefile") CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
10938 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
10940 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10941 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10942 { (exit 1); exit 1; }; };;
10947 # If the user did not use the arguments to specify the items to instantiate,
10948 # then the envvar interface is used. Set only those that are not.
10949 # We use the long form for the default assignment because of an extremely
10950 # bizarre bug on SunOS 4.1.3.
10951 if $ac_need_defaults; then
10952 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10953 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10954 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10957 # Have a temporary directory for convenience. Make it in the build tree
10958 # simply because there is no reason against having it here, and in addition,
10959 # creating and moving files from /tmp can sometimes cause problems.
10960 # Hook for its removal unless debugging.
10961 # Note that there is a small window in which the directory will not be cleaned:
10962 # after its creation but before its name has been assigned to `$tmp'.
10966 trap 'exit_status=$?
10967 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10969 trap '{ (exit 1); exit 1; }' 1 2 13 15
10971 # Create a (secure) tmp directory for tmp files.
10974 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10975 test -n "$tmp" && test -d "$tmp"
10978 tmp
=.
/conf$$
-$RANDOM
10979 (umask 077 && mkdir "$tmp")
10982 echo "$me: cannot create a temporary directory in ." >&2
10983 { (exit 1); exit 1; }
10987 # Set up the sed scripts for CONFIG_FILES section.
10990 # No need to generate the scripts if there are no CONFIG_FILES.
10991 # This happens for instance when ./config.status config.h
10992 if test -n "$CONFIG_FILES"; then
10999 for ac_last_try
in false false false false false
:; do
11000 cat >conf$
$subs.
sed <<_ACEOF
11001 SHELL!$SHELL$ac_delim
11002 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11003 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11004 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11005 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11006 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11007 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11008 exec_prefix!$exec_prefix$ac_delim
11009 prefix!$prefix$ac_delim
11010 program_transform_name!$program_transform_name$ac_delim
11011 bindir!$bindir$ac_delim
11012 sbindir!$sbindir$ac_delim
11013 libexecdir!$libexecdir$ac_delim
11014 datarootdir!$datarootdir$ac_delim
11015 datadir!$datadir$ac_delim
11016 sysconfdir!$sysconfdir$ac_delim
11017 sharedstatedir!$sharedstatedir$ac_delim
11018 localstatedir!$localstatedir$ac_delim
11019 includedir!$includedir$ac_delim
11020 oldincludedir!$oldincludedir$ac_delim
11021 docdir!$docdir$ac_delim
11022 infodir!$infodir$ac_delim
11023 htmldir!$htmldir$ac_delim
11024 dvidir!$dvidir$ac_delim
11025 pdfdir!$pdfdir$ac_delim
11026 psdir!$psdir$ac_delim
11027 libdir!$libdir$ac_delim
11028 localedir!$localedir$ac_delim
11029 mandir!$mandir$ac_delim
11030 DEFS!$DEFS$ac_delim
11031 ECHO_C!$ECHO_C$ac_delim
11032 ECHO_N!$ECHO_N$ac_delim
11033 ECHO_T!$ECHO_T$ac_delim
11034 LIBS!$LIBS$ac_delim
11035 build_alias!$build_alias$ac_delim
11036 host_alias!$host_alias$ac_delim
11037 target_alias!$target_alias$ac_delim
11038 build!$build$ac_delim
11039 build_cpu!$build_cpu$ac_delim
11040 build_vendor!$build_vendor$ac_delim
11041 build_os!$build_os$ac_delim
11042 host!$host$ac_delim
11043 host_cpu!$host_cpu$ac_delim
11044 host_vendor!$host_vendor$ac_delim
11045 host_os!$host_os$ac_delim
11046 target!$target$ac_delim
11047 target_cpu!$target_cpu$ac_delim
11048 target_vendor!$target_vendor$ac_delim
11049 target_os!$target_os$ac_delim
11050 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
11051 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
11052 INSTALL_DATA!$INSTALL_DATA$ac_delim
11053 CYGPATH_W!$CYGPATH_W$ac_delim
11054 PACKAGE!$PACKAGE$ac_delim
11055 VERSION!$VERSION$ac_delim
11056 ACLOCAL!$ACLOCAL$ac_delim
11057 AUTOCONF!$AUTOCONF$ac_delim
11058 AUTOMAKE!$AUTOMAKE$ac_delim
11059 AUTOHEADER!$AUTOHEADER$ac_delim
11060 MAKEINFO!$MAKEINFO$ac_delim
11061 install_sh!$install_sh$ac_delim
11062 STRIP!$STRIP$ac_delim
11063 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
11064 mkdir_p!$mkdir_p$ac_delim
11066 SET_MAKE!$SET_MAKE$ac_delim
11067 am__leading_dot!$am__leading_dot$ac_delim
11068 AMTAR!$AMTAR$ac_delim
11069 am__tar!$am__tar$ac_delim
11070 am__untar!$am__untar$ac_delim
11071 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
11072 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
11073 MAINT!$MAINT$ac_delim
11075 CFLAGS!$CFLAGS$ac_delim
11076 LDFLAGS!$LDFLAGS$ac_delim
11077 CPPFLAGS!$CPPFLAGS$ac_delim
11078 ac_ct_CC!$ac_ct_CC$ac_delim
11079 EXEEXT!$EXEEXT$ac_delim
11080 OBJEXT!$OBJEXT$ac_delim
11081 DEPDIR!$DEPDIR$ac_delim
11082 am__include!$am__include$ac_delim
11083 am__quote!$am__quote$ac_delim
11084 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
11085 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
11086 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
11087 CCDEPMODE!$CCDEPMODE$ac_delim
11088 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
11089 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
11090 RANLIB!$RANLIB$ac_delim
11091 LN_S!$LN_S$ac_delim
11093 GREP!$GREP$ac_delim
11094 EGREP!$EGREP$ac_delim
11095 MAKER!$MAKER$ac_delim
11096 ALLOCA!$ALLOCA$ac_delim
11097 MODULE_OBJS!$MODULE_OBJS$ac_delim
11100 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
11102 elif $ac_last_try; then
11103 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11104 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11105 { (exit 1); exit 1; }; }
11107 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
11111 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11112 if test -n "$ac_eof"; then
11113 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
11114 ac_eof
=`expr $ac_eof + 1`
11117 cat >>$CONFIG_STATUS <<_ACEOF
11118 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11122 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11123 s/^/s,@/; s/!/@,|#_!!_#|/
11126 s/'"$ac_delim"'$/,g/; t
11128 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11129 ' >>$CONFIG_STATUS <conf$
$subs.
sed
11130 rm -f conf$
$subs.
sed
11131 cat >>$CONFIG_STATUS <<_ACEOF
11137 for ac_last_try
in false false false false false
:; do
11138 cat >conf$
$subs.
sed <<_ACEOF
11139 MY_SUBDIRS!$MY_SUBDIRS$ac_delim
11140 RX_INCLUDES!$RX_INCLUDES$ac_delim
11141 RX_LIBS!$RX_LIBS$ac_delim
11142 TRACK!$TRACK$ac_delim
11143 LIBOBJS!$LIBOBJS$ac_delim
11144 LTLIBOBJS!$LTLIBOBJS$ac_delim
11147 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
11149 elif $ac_last_try; then
11150 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11151 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11152 { (exit 1); exit 1; }; }
11154 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
11158 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11159 if test -n "$ac_eof"; then
11160 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
11161 ac_eof
=`expr $ac_eof + 1`
11164 cat >>$CONFIG_STATUS <<_ACEOF
11165 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
11166 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11169 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11170 s/^/s,@/; s/!/@,|#_!!_#|/
11173 s/'"$ac_delim"'$/,g/; t
11175 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11176 ' >>$CONFIG_STATUS <conf$
$subs.
sed
11177 rm -f conf$
$subs.
sed
11178 cat >>$CONFIG_STATUS <<_ACEOF
11185 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11186 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11187 # trailing colons and then remove the whole line if VPATH becomes empty
11188 # (actually we leave an empty line to preserve line numbers).
11189 if test "x$srcdir" = x.
; then
11190 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11191 s/:*\$(srcdir):*/:/
11192 s/:*\${srcdir}:*/:/
11194 s/^\([^=]*=[ ]*\):*/\1/
11200 cat >>$CONFIG_STATUS <<\_ACEOF
11201 fi # test -n "$CONFIG_FILES"
11204 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
11207 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11209 case $ac_mode$ac_tag in
11211 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11212 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11213 { (exit 1); exit 1; }; };;
11214 :[FH
]-) ac_tag
=-:-;;
11215 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11232 -) ac_f
="$tmp/stdin";;
11233 *) # Look for the file first in the build tree, then in the source tree
11234 # (if the path is not absolute). The absolute path cannot be DOS-style,
11235 # because $ac_f cannot contain `:'.
11239 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11241 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11242 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11243 { (exit 1); exit 1; }; };;
11245 ac_file_inputs
="$ac_file_inputs $ac_f"
11248 # Let's still pretend it is `configure' which instantiates (i.e., don't
11249 # use $as_me), people would be surprised to read:
11250 # /* config.h. Generated by config.status. */
11251 configure_input
="Generated from "`IFS=:
11252 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11253 if test x
"$ac_file" != x
-; then
11254 configure_input
="$ac_file. $configure_input"
11255 { echo "$as_me:$LINENO: creating $ac_file" >&5
11256 echo "$as_me: creating $ac_file" >&6;}
11260 *:-:* | *:-) cat >"$tmp/stdin";;
11265 ac_dir
=`$as_dirname -- "$ac_file" ||
11266 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11267 X"$ac_file" : 'X\(//\)[^/]' \| \
11268 X"$ac_file" : 'X\(//\)$' \| \
11269 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11275 /^X\(\/\/\)[^/].*/{
11290 -*) as_dir
=.
/$as_dir;;
11292 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11296 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11297 *) as_qdir
=$as_dir;;
11299 as_dirs
="'$as_qdir' $as_dirs"
11300 as_dir
=`$as_dirname -- "$as_dir" ||
11301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11302 X"$as_dir" : 'X\(//\)[^/]' \| \
11303 X"$as_dir" : 'X\(//\)$' \| \
11304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11310 /^X\(\/\/\)[^/].*/{
11323 test -d "$as_dir" && break
11325 test -z "$as_dirs" || eval "mkdir $as_dirs"
11326 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11327 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11328 { (exit 1); exit 1; }; }; }
11332 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11334 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11335 # A ".." for each directory in $ac_dir_suffix.
11336 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11337 case $ac_top_builddir_sub in
11338 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11339 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11342 ac_abs_top_builddir
=$ac_pwd
11343 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11344 # for backward compatibility:
11345 ac_top_builddir
=$ac_top_build_prefix
11348 .
) # We are building in place.
11350 ac_top_srcdir
=$ac_top_builddir_sub
11351 ac_abs_top_srcdir
=$ac_pwd ;;
11352 [\\/]* | ?
:[\\/]* ) # Absolute name.
11353 ac_srcdir
=$srcdir$ac_dir_suffix;
11354 ac_top_srcdir
=$srcdir
11355 ac_abs_top_srcdir
=$srcdir ;;
11356 *) # Relative name.
11357 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11358 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11359 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11361 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11371 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11372 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
11376 cat >>$CONFIG_STATUS <<\_ACEOF
11377 # If the template does not know about datarootdir, expand it.
11378 # FIXME: This hack should be removed a few years after 2.60.
11379 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11381 case `sed -n '/datarootdir/ {
11390 ' $ac_file_inputs` in
11391 *datarootdir
*) ac_datarootdir_seen
=yes;;
11392 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
11393 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11394 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11396 cat >>$CONFIG_STATUS <<_ACEOF
11397 ac_datarootdir_hack='
11398 s&@datadir@&$datadir&g
11399 s&@docdir@&$docdir&g
11400 s&@infodir@&$infodir&g
11401 s&@localedir@&$localedir&g
11402 s&@mandir@&$mandir&g
11403 s&\\\${datarootdir}&$datarootdir&g' ;;
11407 # Neutralize VPATH when `$srcdir' = `.'.
11408 # Shell code in configure.ac might set extrasub.
11409 # FIXME: do we really want to maintain this feature?
11410 cat >>$CONFIG_STATUS <<_ACEOF
11414 cat >>$CONFIG_STATUS <<\_ACEOF
11416 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
11417 s
&@configure_input@
&$configure_input&;t t
11418 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11419 s
&@srcdir@
&$ac_srcdir&;t t
11420 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11421 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11422 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11423 s
&@builddir@
&$ac_builddir&;t t
11424 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11425 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11426 s
&@INSTALL@
&$ac_INSTALL&;t t
11427 $ac_datarootdir_hack
11428 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out
11430 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11431 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11432 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11433 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11434 which seems to be undefined. Please make sure it is defined." >&5
11435 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11436 which seems to be undefined. Please make sure it is defined." >&2;}
11440 -) cat "$tmp/out"; rm -f "$tmp/out";;
11441 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11450 # Transform confdefs.h into a sed script `conftest.defines', that
11451 # substitutes the proper values into config.h.in to produce config.h.
11452 rm -f conftest.defines conftest.
tail
11453 # First, append a space to every undef/define line, to ease matching.
11454 echo 's/$/ /' >conftest.defines
11455 # Then, protect against being on the right side of a sed subst, or in
11456 # an unquoted here document, in config.status. If some macros were
11457 # called several times there might be several #defines for the same
11458 # symbol, which is useless. But do not sort them, since the last
11459 # AC_DEFINE must be honored.
11460 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
11461 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11462 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11463 # PARAMS is the parameter list in the macro definition--in most cases, it's
11464 # just an empty string.
11465 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11466 ac_dB
='\\)[ (].*,\\1define\\2'
11474 s/^[ ]*#[ ]*define[ ][ ]*//
11479 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11480 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11481 ' >>conftest.defines
11483 # Remove the space that was appended to ease matching.
11484 # Then replace #undef with comments. This is necessary, for
11485 # example, in the case of _POSIX_SOURCE, which is predefined and required
11486 # on some systems where configure will not decide to define it.
11487 # (The regexp can be short, since the line contains either #define or #undef.)
11489 s,^[ #]*u.*,/* & */,' >>conftest.defines
11491 # Break up conftest.defines:
11492 ac_max_sed_lines
=50
11494 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11495 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11496 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11498 ac_in
='$ac_file_inputs'
11499 ac_out
='"$tmp/out1"'
11500 ac_nxt
='"$tmp/out2"'
11504 # Write a here document:
11505 cat >>$CONFIG_STATUS <<_ACEOF
11506 # First, check the format of the line:
11507 cat >"\$tmp/defines.sed" <<\\CEOF
11508 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11509 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11513 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
11515 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11516 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
11517 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
11518 grep . conftest.
tail >/dev
/null
|| break
11519 rm -f conftest.defines
11520 mv conftest.
tail conftest.defines
11522 rm -f conftest.defines conftest.
tail
11524 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11525 cat >>$CONFIG_STATUS <<\_ACEOF
11526 if test x
"$ac_file" != x
-; then
11527 echo "/* $configure_input */" >"$tmp/config.h"
11528 cat "$ac_result" >>"$tmp/config.h"
11529 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
11530 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11531 echo "$as_me: $ac_file is unchanged" >&6;}
11534 mv "$tmp/config.h" $ac_file
11537 echo "/* $configure_input */"
11541 # Compute $ac_file's index in $config_headers.
11543 for _am_header
in $config_headers :; do
11544 case $_am_header in
11545 $ac_file | $ac_file:* )
11548 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
11551 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
11552 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11553 X$ac_file : 'X\(//\)[^/]' \| \
11554 X$ac_file : 'X\(//\)$' \| \
11555 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
11557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11561 /^X\(\/\/\)[^/].*/{
11573 s/.*/./; q'`/stamp
-h$_am_stamp_count
11576 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11577 echo "$as_me: executing $ac_file commands" >&6;}
11582 case $ac_file$ac_mode in
11583 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
11584 # Strip MF so we end up with the name of the file.
11585 mf
=`echo "$mf" | sed -e 's/:.*$//'`
11586 # Check whether this is an Automake generated Makefile or not.
11587 # We used to match only the files named `Makefile.in', but
11588 # some people rename them; so instead we look at the file content.
11589 # Grep'ing the first line is not enough: some people post-process
11590 # each Makefile.in and add a new line on top of each file to say so.
11591 # So let's grep whole file.
11592 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
11593 dirpart
=`$as_dirname -- "$mf" ||
11594 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11595 X"$mf" : 'X\(//\)[^/]' \| \
11596 X"$mf" : 'X\(//\)$' \| \
11597 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11603 /^X\(\/\/\)[^/].*/{
11619 # Extract the definition of DEPDIR, am__include, and am__quote
11620 # from the Makefile without running `make'.
11621 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
11622 test -z "$DEPDIR" && continue
11623 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
11624 test -z "am__include" && continue
11625 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
11626 # When using ansi2knr, U may be empty or an underscore; expand it
11627 U
=`sed -n 's/^U = //p' < "$mf"`
11628 # Find all dependency output files, they are included files with
11629 # $(DEPDIR) in their names. We invoke sed twice because it is the
11630 # simplest approach to changing $(DEPDIR) to its actual value in the
11632 for file in `sed -n "
11633 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11634 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11635 # Make sure the directory exists.
11636 test -f "$dirpart/$file" && continue
11637 fdir
=`$as_dirname -- "$file" ||
11638 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11639 X"$file" : 'X\(//\)[^/]' \| \
11640 X"$file" : 'X\(//\)$' \| \
11641 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11647 /^X\(\/\/\)[^/].*/{
11660 { as_dir
=$dirpart/$fdir
11662 -*) as_dir
=.
/$as_dir;;
11664 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11668 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11669 *) as_qdir
=$as_dir;;
11671 as_dirs
="'$as_qdir' $as_dirs"
11672 as_dir
=`$as_dirname -- "$as_dir" ||
11673 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11674 X"$as_dir" : 'X\(//\)[^/]' \| \
11675 X"$as_dir" : 'X\(//\)$' \| \
11676 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11682 /^X\(\/\/\)[^/].*/{
11695 test -d "$as_dir" && break
11697 test -z "$as_dirs" || eval "mkdir $as_dirs"
11698 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11699 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11700 { (exit 1); exit 1; }; }; }
11701 # echo "creating $dirpart/$file"
11702 echo '# dummy' > "$dirpart/$file"
11711 { (exit 0); exit 0; }
11713 chmod +x
$CONFIG_STATUS
11714 ac_clean_files
=$ac_clean_files_save
11717 # configure is writing to config.log, and then calls config.status.
11718 # config.status does its own redirection, appending to config.log.
11719 # Unfortunately, on DOS this fails, as config.log is still kept open
11720 # by configure, so config.status won't be able to write to it; its
11721 # output is simply discarded. So we exec the FD to /dev/null,
11722 # effectively closing config.log, so it can be properly (re)opened and
11723 # appended to by config.status. When coming back to configure, we
11724 # need to make the FD available again.
11725 if test "$no_create" != yes; then
11727 ac_config_status_args
=
11728 test "$silent" = yes &&
11729 ac_config_status_args
="$ac_config_status_args --quiet"
11731 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11733 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11734 # would make configure fail if this is the last instruction.
11735 $ac_cs_success || { (exit 1); exit 1; }
11743 Configuration summary
11744 =====================
11746 X3 is now configured as follows:
11748 * Compilation environment
11753 CPPFLAGS = $CPPFLAGS
11761 Extra Modules: $module_list
11764 Regexp Library TRE $tre_version
11765 Coredumper Library Coredumper $core_version
11767 Install to: $prefix
11769 Now you can proceed with compiling X3