2 # From configure.in Id: configure.in 2427 2009-01-23 23:27:32Z rubin .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for X3 1.6.
6 # Report bugs to <evilnet-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
578 PACKAGE_VERSION
='1.6'
579 PACKAGE_STRING
='X3 1.6'
580 PACKAGE_BUGREPORT
='evilnet-devel@lists.sourceforge.net'
582 ac_unique_file
="src/opserv.c"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
682 INSTALL_STRIP_PROGRAM
691 MAINTAINER_MODE_FALSE
730 ac_precious_vars
='build_alias
741 # Initialize some variables set by options.
743 ac_init_version
=false
744 # The variables have the same names as the options, with
745 # dashes changed to underlines.
753 program_transform_name
=s
,x
,x
,
761 # Installation directory options.
762 # These are left unexpanded so users can "make install exec_prefix=/foo"
763 # and all the variables that are supposed to be based on exec_prefix
764 # by default will actually change.
765 # Use braces instead of parens because sh, perl, etc. also accept them.
766 # (The list follows the same order as the GNU Coding Standards.)
767 bindir
='${exec_prefix}/bin'
768 sbindir
='${exec_prefix}/sbin'
769 libexecdir
='${exec_prefix}/libexec'
770 datarootdir
='${prefix}/share'
771 datadir
='${datarootdir}'
772 sysconfdir
='${prefix}/etc'
773 sharedstatedir
='${prefix}/com'
774 localstatedir
='${prefix}/var'
775 includedir
='${prefix}/include'
776 oldincludedir
='/usr/include'
777 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
778 infodir
='${datarootdir}/info'
783 libdir
='${exec_prefix}/lib'
784 localedir
='${datarootdir}/locale'
785 mandir
='${datarootdir}/man'
791 # If the previous option needs an argument, assign it.
792 if test -n "$ac_prev"; then
793 eval $ac_prev=\
$ac_option
799 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
803 # Accept the important Cygnus configure options, so we can diagnose typos.
805 case $ac_dashdash$ac_option in
809 -bindir | --bindir | --bindi | --bind | --bin | --bi)
811 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
814 -build | --build | --buil | --bui | --bu)
815 ac_prev
=build_alias
;;
816 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
817 build_alias
=$ac_optarg ;;
819 -cache-file | --cache-file | --cache-fil | --cache-fi \
820 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
821 ac_prev
=cache_file
;;
822 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
823 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
824 cache_file
=$ac_optarg ;;
827 cache_file
=config.cache
;;
829 -datadir | --datadir | --datadi | --datad)
831 -datadir=* | --datadir=* | --datadi=* | --datad=*)
832 datadir
=$ac_optarg ;;
834 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
835 | --dataroo | --dataro | --datar)
836 ac_prev
=datarootdir
;;
837 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
838 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
839 datarootdir
=$ac_optarg ;;
841 -disable-* | --disable-*)
842 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
843 # Reject names that are not valid shell variable names.
844 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
845 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
846 { (exit 1); exit 1; }; }
847 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
848 eval enable_
$ac_feature=no
;;
850 -docdir | --docdir | --docdi | --doc | --do)
852 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
855 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
857 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
860 -enable-* | --enable-*)
861 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
862 # Reject names that are not valid shell variable names.
863 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
864 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
865 { (exit 1); exit 1; }; }
866 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
867 eval enable_
$ac_feature=\
$ac_optarg ;;
869 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
870 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
871 | --exec | --exe | --ex)
872 ac_prev
=exec_prefix
;;
873 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
874 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
875 | --exec=* | --exe=* | --ex=*)
876 exec_prefix
=$ac_optarg ;;
878 -gas | --gas | --ga | --g)
879 # Obsolete; use --with-gas.
882 -help | --help | --hel | --he | -h)
884 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
885 ac_init_help
=recursive
;;
886 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
887 ac_init_help
=short
;;
889 -host | --host | --hos | --ho)
890 ac_prev
=host_alias
;;
891 -host=* | --host=* | --hos=* | --ho=*)
892 host_alias
=$ac_optarg ;;
894 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
896 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
898 htmldir
=$ac_optarg ;;
900 -includedir | --includedir | --includedi | --included | --include \
901 | --includ | --inclu | --incl | --inc)
902 ac_prev
=includedir
;;
903 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
904 | --includ=* | --inclu=* | --incl=* | --inc=*)
905 includedir
=$ac_optarg ;;
907 -infodir | --infodir | --infodi | --infod | --info | --inf)
909 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
910 infodir
=$ac_optarg ;;
912 -libdir | --libdir | --libdi | --libd)
914 -libdir=* | --libdir=* | --libdi=* | --libd=*)
917 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
918 | --libexe | --libex | --libe)
919 ac_prev
=libexecdir
;;
920 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
921 | --libexe=* | --libex=* | --libe=*)
922 libexecdir
=$ac_optarg ;;
924 -localedir | --localedir | --localedi | --localed | --locale)
926 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
927 localedir
=$ac_optarg ;;
929 -localstatedir | --localstatedir | --localstatedi | --localstated \
930 | --localstate | --localstat | --localsta | --localst | --locals)
931 ac_prev
=localstatedir
;;
932 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
933 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
934 localstatedir
=$ac_optarg ;;
936 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
938 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
942 # Obsolete; use --without-fp.
945 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
946 | --no-cr | --no-c | -n)
949 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
950 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
953 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
954 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
955 | --oldin | --oldi | --old | --ol | --o)
956 ac_prev
=oldincludedir
;;
957 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
958 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
959 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
960 oldincludedir
=$ac_optarg ;;
962 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
964 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
967 -program-prefix | --program-prefix | --program-prefi | --program-pref \
968 | --program-pre | --program-pr | --program-p)
969 ac_prev
=program_prefix
;;
970 -program-prefix=* | --program-prefix=* | --program-prefi=* \
971 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
972 program_prefix
=$ac_optarg ;;
974 -program-suffix | --program-suffix | --program-suffi | --program-suff \
975 | --program-suf | --program-su | --program-s)
976 ac_prev
=program_suffix
;;
977 -program-suffix=* | --program-suffix=* | --program-suffi=* \
978 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
979 program_suffix
=$ac_optarg ;;
981 -program-transform-name | --program-transform-name \
982 | --program-transform-nam | --program-transform-na \
983 | --program-transform-n | --program-transform- \
984 | --program-transform | --program-transfor \
985 | --program-transfo | --program-transf \
986 | --program-trans | --program-tran \
987 | --progr-tra | --program-tr | --program-t)
988 ac_prev
=program_transform_name
;;
989 -program-transform-name=* | --program-transform-name=* \
990 | --program-transform-nam=* | --program-transform-na=* \
991 | --program-transform-n=* | --program-transform-=* \
992 | --program-transform=* | --program-transfor=* \
993 | --program-transfo=* | --program-transf=* \
994 | --program-trans=* | --program-tran=* \
995 | --progr-tra=* | --program-tr=* | --program-t=*)
996 program_transform_name
=$ac_optarg ;;
998 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1000 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1001 pdfdir
=$ac_optarg ;;
1003 -psdir | --psdir | --psdi | --psd | --ps)
1005 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1009 | -silent | --silent | --silen | --sile | --sil)
1012 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1014 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1016 sbindir
=$ac_optarg ;;
1018 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1019 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1020 | --sharedst | --shareds | --shared | --share | --shar \
1022 ac_prev
=sharedstatedir
;;
1023 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1024 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1025 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1027 sharedstatedir
=$ac_optarg ;;
1029 -site | --site | --sit)
1031 -site=* | --site=* | --sit=*)
1034 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1036 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1037 srcdir
=$ac_optarg ;;
1039 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1040 | --syscon | --sysco | --sysc | --sys | --sy)
1041 ac_prev
=sysconfdir
;;
1042 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1043 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1044 sysconfdir
=$ac_optarg ;;
1046 -target | --target | --targe | --targ | --tar | --ta | --t)
1047 ac_prev
=target_alias
;;
1048 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1049 target_alias
=$ac_optarg ;;
1051 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1054 -version | --version | --versio | --versi | --vers | -V)
1055 ac_init_version
=: ;;
1058 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1061 { echo "$as_me: error: invalid package name: $ac_package" >&2
1062 { (exit 1); exit 1; }; }
1063 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1064 eval with_
$ac_package=\
$ac_optarg ;;
1066 -without-* | --without-*)
1067 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1068 # Reject names that are not valid shell variable names.
1069 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1070 { echo "$as_me: error: invalid package name: $ac_package" >&2
1071 { (exit 1); exit 1; }; }
1072 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1073 eval with_
$ac_package=no
;;
1076 # Obsolete; use --with-x.
1079 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1080 | --x-incl | --x-inc | --x-in | --x-i)
1081 ac_prev
=x_includes
;;
1082 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1083 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1084 x_includes
=$ac_optarg ;;
1086 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1087 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1088 ac_prev
=x_libraries
;;
1089 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1090 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1091 x_libraries
=$ac_optarg ;;
1093 -*) { echo "$as_me: error: unrecognized option: $ac_option
1094 Try \`$0 --help' for more information." >&2
1095 { (exit 1); exit 1; }; }
1099 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1102 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1103 { (exit 1); exit 1; }; }
1104 eval $ac_envvar=\
$ac_optarg
1105 export $ac_envvar ;;
1108 # FIXME: should be removed in autoconf 3.0.
1109 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1110 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1111 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1112 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1118 if test -n "$ac_prev"; then
1119 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1120 { echo "$as_me: error: missing argument to $ac_option" >&2
1121 { (exit 1); exit 1; }; }
1124 # Be sure to have absolute directory names.
1125 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1126 datadir sysconfdir sharedstatedir localstatedir includedir \
1127 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1128 libdir localedir mandir
1130 eval ac_val
=\$
$ac_var
1132 [\\/$
]* | ?
:[\\/]* ) continue;;
1133 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1135 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1136 { (exit 1); exit 1; }; }
1139 # There might be people who depend on the old broken behavior: `$host'
1140 # used to hold the argument of --host etc.
1141 # FIXME: To remove some day.
1144 target
=$target_alias
1146 # FIXME: To remove some day.
1147 if test "x$host_alias" != x
; then
1148 if test "x$build_alias" = x
; then
1149 cross_compiling
=maybe
1150 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1151 If a cross compiler is detected then cross compile mode will be used." >&2
1152 elif test "x$build_alias" != "x$host_alias"; then
1158 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1160 test "$silent" = yes && exec 6>/dev
/null
1163 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1164 ac_ls_di
=`ls -di .` &&
1165 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1166 { echo "$as_me: error: Working directory cannot be determined" >&2
1167 { (exit 1); exit 1; }; }
1168 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1169 { echo "$as_me: error: pwd does not report name of working directory" >&2
1170 { (exit 1); exit 1; }; }
1173 # Find the source files, if location was not specified.
1174 if test -z "$srcdir"; then
1175 ac_srcdir_defaulted
=yes
1176 # Try the directory containing this script, then the parent directory.
1177 ac_confdir
=`$as_dirname -- "$0" ||
1178 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179 X"$0" : 'X\(//\)[^/]' \| \
1180 X"$0" : 'X\(//\)$' \| \
1181 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1205 ac_srcdir_defaulted
=no
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1209 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1210 { (exit 1); exit 1; }; }
1212 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1215 { (exit 1); exit 1; }; }
1217 # When building in place, set srcdir=.
1218 if test "$ac_abs_confdir" = "$ac_pwd"; then
1221 # Remove unnecessary trailing slashes from srcdir.
1222 # Double slashes in file names in object file debugging info
1223 # mess up M-x gdb in Emacs.
1225 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1227 for ac_var
in $ac_precious_vars; do
1228 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1229 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1230 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1231 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1235 # Report the --help message.
1237 if test "$ac_init_help" = "long"; then
1238 # Omit some internal or obsolete options to make the list less imposing.
1239 # This message is too long to be a string in the A/UX 3.1 sh.
1241 \`configure' configures X3 1.6 to adapt to many kinds of systems.
1243 Usage: $0 [OPTION]... [VAR=VALUE]...
1245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1246 VAR=VALUE. See below for descriptions of some of the useful variables.
1248 Defaults for the options are specified in brackets.
1251 -h, --help display this help and exit
1252 --help=short display options specific to this package
1253 --help=recursive display the short help of all the included packages
1254 -V, --version display version information and exit
1255 -q, --quiet, --silent do not print \`checking...' messages
1256 --cache-file=FILE cache test results in FILE [disabled]
1257 -C, --config-cache alias for \`--cache-file=config.cache'
1258 -n, --no-create do not create output files
1259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1261 Installation directories:
1262 --prefix=PREFIX install architecture-independent files in PREFIX
1263 [$ac_default_prefix]
1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1267 By default, \`make install' will install all the files in
1268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1270 for instance \`--prefix=\$HOME'.
1272 For better control, use the options below.
1274 Fine tuning of the installation directories:
1275 --bindir=DIR user executables [EPREFIX/bin]
1276 --sbindir=DIR system admin executables [EPREFIX/sbin]
1277 --libexecdir=DIR program executables [EPREFIX/libexec]
1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1281 --libdir=DIR object code libraries [EPREFIX/lib]
1282 --includedir=DIR C header files [PREFIX/include]
1283 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1286 --infodir=DIR info documentation [DATAROOTDIR/info]
1287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1288 --mandir=DIR man documentation [DATAROOTDIR/man]
1289 --docdir=DIR documentation root [DATAROOTDIR/doc/x3]
1290 --htmldir=DIR html documentation [DOCDIR]
1291 --dvidir=DIR dvi documentation [DOCDIR]
1292 --pdfdir=DIR pdf documentation [DOCDIR]
1293 --psdir=DIR ps documentation [DOCDIR]
1299 --program-prefix=PREFIX prepend PREFIX to installed program names
1300 --program-suffix=SUFFIX append SUFFIX to installed program names
1301 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1304 --build=BUILD configure
for building on BUILD
[guessed
]
1305 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1306 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1310 if test -n "$ac_init_help"; then
1311 case $ac_init_help in
1312 short
| recursive
) echo "Configuration of X3 1.6:";;
1317 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1318 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1319 --enable-maintainer-mode enable make rules and dependencies not useful
1320 (and sometimes confusing
) to the casual installer
1321 --disable-dependency-tracking speeds up one
-time build
1322 --enable-dependency-tracking do not reject slow dependency extractors
1323 --disable-tokens Disables tokenization of P10 protocol output
1324 (tokens required
if linking to ircu
2.10.11)
1325 --enable-debug Enables debugging behaviors
1326 --enable-modules=list
,of
,modules Enable extra modules
1327 --disable-python don
't build the python plugin
1330 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1331 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1332 --with-malloc=type Enables use of a special malloc library; one of:
1333 system (the default), boehm-gc, dmalloc, mpatrol, x3, slab
1334 --with-protocol=name Choose IRC dialect to support; one of:
1336 --without-getopt Disables building of the GNU getopt library
1337 --with-tre=PATH Base path to where libtre is installed, such that
1338 PATH/lib/libtre.so and PATH/include/tre/regex.h exist.
1339 --with-coredumper=PATH Base path to where core dumper is installed, such
1340 that PATH/lib/libcoredumper.so and
1341 PATH/include/google/coredumper.h exist.
1342 --with-ssl=PATH Base path to where openssl is installed
1343 --with-ldap=PATH Base path to where the ldap library and headers are installed,
1344 such that PATH/include/ldap.h and PATH/lib/libldap.so exist.
1346 Some influential environment variables:
1347 CC C compiler command
1348 CFLAGS C compiler flags
1349 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1350 nonstandard directory <lib dir>
1351 LIBS libraries to pass to the linker, e.g. -l<library>
1352 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1353 you have headers in a nonstandard directory <include dir>
1356 Use these variables to override the choices made by `configure' or to
help
1357 it to
find libraries and programs with nonstandard names
/locations.
1359 Report bugs to
<evilnet
-devel@lists.sourceforge.net
>.
1364 if test "$ac_init_help" = "recursive"; then
1365 # If there are subdirs, report their specific --help.
1366 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1367 test -d "$ac_dir" || continue
1371 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1373 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1374 # A ".." for each directory in $ac_dir_suffix.
1375 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1376 case $ac_top_builddir_sub in
1377 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1378 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1381 ac_abs_top_builddir
=$ac_pwd
1382 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1383 # for backward compatibility:
1384 ac_top_builddir
=$ac_top_build_prefix
1387 .
) # We are building in place.
1389 ac_top_srcdir
=$ac_top_builddir_sub
1390 ac_abs_top_srcdir
=$ac_pwd ;;
1391 [\\/]* | ?
:[\\/]* ) # Absolute name.
1392 ac_srcdir
=$srcdir$ac_dir_suffix;
1393 ac_top_srcdir
=$srcdir
1394 ac_abs_top_srcdir
=$srcdir ;;
1396 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1397 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1398 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1400 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1402 cd "$ac_dir" || { ac_status
=$?
; continue; }
1403 # Check for guested configure.
1404 if test -f "$ac_srcdir/configure.gnu"; then
1406 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1407 elif test -f "$ac_srcdir/configure"; then
1409 $SHELL "$ac_srcdir/configure" --help=recursive
1411 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1413 cd "$ac_pwd" || { ac_status
=$?
; break; }
1417 test -n "$ac_init_help" && exit $ac_status
1418 if $ac_init_version; then
1421 generated by GNU Autoconf
2.61
1423 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1424 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1425 This configure
script is free software
; the Free Software Foundation
1426 gives unlimited permission to copy
, distribute and modify it.
1430 cat >config.log
<<_ACEOF
1431 This file contains any messages produced by compilers while
1432 running configure, to aid debugging if configure makes a mistake.
1434 It was created by X3 $as_me 1.6, which was
1435 generated by GNU Autoconf 2.61. Invocation command line was
1447 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1448 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1449 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1450 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1451 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1453 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1454 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1456 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1457 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1458 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1459 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1460 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1461 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1462 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1470 test -z "$as_dir" && as_dir
=.
1471 echo "PATH: $as_dir"
1487 # Keep a trace of the command line.
1488 # Strip out --no-create and --no-recursion so they do not pile up.
1489 # Strip out --silent because we don't want to record it for future runs.
1490 # Also quote any args containing shell meta-characters.
1491 # Make two passes to allow for proper duplicate-argument suppression.
1495 ac_must_keep_next
=false
1501 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1503 | -silent | --silent | --silen | --sile | --sil)
1506 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1509 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1511 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1512 if test $ac_must_keep_next = true
; then
1513 ac_must_keep_next
=false
# Got value, back to normal.
1516 *=* | --config-cache | -C | -disable-* | --disable-* \
1517 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1518 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1519 | -with-* | --with-* | -without-* | --without-* | --x)
1520 case "$ac_configure_args0 " in
1521 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1524 -* ) ac_must_keep_next
=true
;;
1527 ac_configure_args
="$ac_configure_args '$ac_arg'"
1532 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1533 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1535 # When interrupted or exit'd, cleanup temporary files, and complete
1536 # config.log. We remove comments because anyway the quotes in there
1537 # would cause problems or look ugly.
1538 # WARNING: Use '\'' to represent an apostrophe within the trap.
1539 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1540 trap 'exit_status=$?
1541 # Save into config.log some information that might help in debugging.
1546 ## ---------------- ##
1547 ## Cache variables. ##
1548 ## ---------------- ##
1551 # The following way of writing the cache mishandles newlines in values,
1553 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1554 eval ac_val=\$$ac_var
1558 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1559 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1562 _ | IFS | as_nl) ;; #(
1563 *) $as_unset $ac_var ;;
1568 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1569 *${as_nl}ac_space=\ *)
1571 "s/'\''/'\''\\\\'\'''\''/g;
1572 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1575 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1583 ## ----------------- ##
1584 ## Output variables. ##
1585 ## ----------------- ##
1588 for ac_var in $ac_subst_vars
1590 eval ac_val=\$$ac_var
1592 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1594 echo "$ac_var='\''$ac_val'\''"
1598 if test -n "$ac_subst_files"; then
1600 ## ------------------- ##
1601 ## File substitutions. ##
1602 ## ------------------- ##
1605 for ac_var
in $ac_subst_files
1607 eval ac_val
=\$
$ac_var
1609 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1611 echo "$ac_var='\''$ac_val'\''"
1616 if test -s confdefs.h; then
1626 test "$ac_signal" != 0 &&
1627 echo "$as_me: caught signal $ac_signal"
1628 echo "$as_me: exit $exit_status"
1630 rm -f core *.core core.conftest.* &&
1631 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1634 for ac_signal
in 1 2 13 15; do
1635 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1639 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1640 rm -f -r conftest
* confdefs.h
1642 # Predefined preprocessor variables.
1644 cat >>confdefs.h
<<_ACEOF
1645 #define PACKAGE_NAME "$PACKAGE_NAME"
1649 cat >>confdefs.h
<<_ACEOF
1650 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1654 cat >>confdefs.h
<<_ACEOF
1655 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1659 cat >>confdefs.h
<<_ACEOF
1660 #define PACKAGE_STRING "$PACKAGE_STRING"
1664 cat >>confdefs.h
<<_ACEOF
1665 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1669 # Let the site file select an alternate cache file if it wants to.
1670 # Prefer explicitly selected file to automatically selected ones.
1671 if test -n "$CONFIG_SITE"; then
1672 set x
"$CONFIG_SITE"
1673 elif test "x$prefix" != xNONE
; then
1674 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1676 set x
"$ac_default_prefix/share/config.site" \
1677 "$ac_default_prefix/etc/config.site"
1682 if test -r "$ac_site_file"; then
1683 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1684 echo "$as_me: loading site script $ac_site_file" >&6;}
1685 sed 's/^/| /' "$ac_site_file" >&5
1690 if test -r "$cache_file"; then
1691 # Some versions of bash will fail to source /dev/null (special
1692 # files actually), so we avoid doing that.
1693 if test -f "$cache_file"; then
1694 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1695 echo "$as_me: loading cache $cache_file" >&6;}
1697 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1698 *) .
"./$cache_file";;
1702 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1703 echo "$as_me: creating cache $cache_file" >&6;}
1707 # Check that the precious variables saved in the cache have kept the same
1709 ac_cache_corrupted
=false
1710 for ac_var
in $ac_precious_vars; do
1711 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1712 eval ac_new_set
=\
$ac_env_${ac_var}_set
1713 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1714 eval ac_new_val
=\
$ac_env_${ac_var}_value
1715 case $ac_old_set,$ac_new_set in
1717 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1718 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1719 ac_cache_corrupted
=: ;;
1721 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1722 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1723 ac_cache_corrupted
=: ;;
1726 if test "x$ac_old_val" != "x$ac_new_val"; then
1727 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1728 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1729 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1730 echo "$as_me: former value: $ac_old_val" >&2;}
1731 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1732 echo "$as_me: current value: $ac_new_val" >&2;}
1733 ac_cache_corrupted
=:
1736 # Pass precious variables to config.status.
1737 if test "$ac_new_set" = set; then
1739 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1740 *) ac_arg
=$ac_var=$ac_new_val ;;
1742 case " $ac_configure_args " in
1743 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1744 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1748 if $ac_cache_corrupted; then
1749 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1750 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1751 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1752 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1753 { (exit 1); exit 1; }; }
1781 ac_cpp
='$CPP $CPPFLAGS'
1782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1788 ac_config_headers
="$ac_config_headers src/config.h"
1792 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1793 if test -f "$ac_dir/install-sh"; then
1795 ac_install_sh
="$ac_aux_dir/install-sh -c"
1797 elif test -f "$ac_dir/install.sh"; then
1799 ac_install_sh
="$ac_aux_dir/install.sh -c"
1801 elif test -f "$ac_dir/shtool"; then
1803 ac_install_sh
="$ac_aux_dir/shtool install -c"
1807 if test -z "$ac_aux_dir"; then
1808 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1809 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1810 { (exit 1); exit 1; }; }
1813 # These three variables are undocumented and unsupported,
1814 # and are intended to be withdrawn in a future Autoconf release.
1815 # They can cause serious problems if a builder's source tree is in a directory
1816 # whose full name contains unusual characters.
1817 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1818 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1819 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1822 # Make sure we can run config.sub.
1823 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1824 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1825 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1826 { (exit 1); exit 1; }; }
1828 { echo "$as_me:$LINENO: checking build system type" >&5
1829 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1830 if test "${ac_cv_build+set}" = set; then
1831 echo $ECHO_N "(cached) $ECHO_C" >&6
1833 ac_build_alias
=$build_alias
1834 test "x$ac_build_alias" = x
&&
1835 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1836 test "x$ac_build_alias" = x
&&
1837 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1838 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1839 { (exit 1); exit 1; }; }
1840 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1841 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1842 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1843 { (exit 1); exit 1; }; }
1846 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1847 echo "${ECHO_T}$ac_cv_build" >&6; }
1848 case $ac_cv_build in
1850 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1851 echo "$as_me: error: invalid value of canonical build" >&2;}
1852 { (exit 1); exit 1; }; };;
1855 ac_save_IFS
=$IFS; IFS
='-'
1861 # Remember, the first character of IFS is used to create $*,
1862 # except with old shells:
1865 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1868 { echo "$as_me:$LINENO: checking host system type" >&5
1869 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1870 if test "${ac_cv_host+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 if test "x$host_alias" = x
; then
1874 ac_cv_host
=$ac_cv_build
1876 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1877 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1878 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1879 { (exit 1); exit 1; }; }
1883 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1884 echo "${ECHO_T}$ac_cv_host" >&6; }
1887 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1888 echo "$as_me: error: invalid value of canonical host" >&2;}
1889 { (exit 1); exit 1; }; };;
1892 ac_save_IFS
=$IFS; IFS
='-'
1898 # Remember, the first character of IFS is used to create $*,
1899 # except with old shells:
1902 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1905 { echo "$as_me:$LINENO: checking target system type" >&5
1906 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1907 if test "${ac_cv_target+set}" = set; then
1908 echo $ECHO_N "(cached) $ECHO_C" >&6
1910 if test "x$target_alias" = x
; then
1911 ac_cv_target
=$ac_cv_host
1913 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1914 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1915 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1916 { (exit 1); exit 1; }; }
1920 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1921 echo "${ECHO_T}$ac_cv_target" >&6; }
1922 case $ac_cv_target in
1924 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1925 echo "$as_me: error: invalid value of canonical target" >&2;}
1926 { (exit 1); exit 1; }; };;
1928 target
=$ac_cv_target
1929 ac_save_IFS
=$IFS; IFS
='-'
1935 # Remember, the first character of IFS is used to create $*,
1936 # except with old shells:
1939 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
1942 # The aliases save the names the user supplied, while $host etc.
1943 # will get canonicalized.
1944 test -n "$target_alias" &&
1945 test "$program_prefix$program_suffix$program_transform_name" = \
1947 program_prefix
=${target_alias}-
1948 am__api_version
='1.10'
1950 # Find a good install program. We prefer a C program (faster),
1951 # so one script is as good as another. But avoid the broken or
1952 # incompatible versions:
1953 # SysV /etc/install, /usr/sbin/install
1954 # SunOS /usr/etc/install
1955 # IRIX /sbin/install
1957 # AmigaOS /C/install, which installs bootblocks on floppy discs
1958 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1959 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1960 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1961 # OS/2's system install, which has a completely different semantic
1962 # ./install, which can be erroneously created by make from ./install.sh.
1963 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1964 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1965 if test -z "$INSTALL"; then
1966 if test "${ac_cv_path_install+set}" = set; then
1967 echo $ECHO_N "(cached) $ECHO_C" >&6
1969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1973 test -z "$as_dir" && as_dir
=.
1974 # Account for people who put trailing slashes in PATH elements.
1976 .
/ | .
// | /cC
/* | \
1977 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
1978 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1981 # OSF1 and SCO ODT 3.0 have their own names for install.
1982 # Don't use installbsd from OSF since it installs stuff as root
1984 for ac_prog
in ginstall scoinst
install; do
1985 for ac_exec_ext
in '' $ac_executable_extensions; do
1986 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1987 if test $ac_prog = install &&
1988 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1989 # AIX install. It has an incompatible calling convention.
1991 elif test $ac_prog = install &&
1992 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1993 # program-specific install script used by HP pwplus--don't use.
1996 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2009 if test "${ac_cv_path_install+set}" = set; then
2010 INSTALL
=$ac_cv_path_install
2012 # As a last resort, use the slow shell script. Don't cache a
2013 # value for INSTALL within a source directory, because that will
2014 # break other packages using the cache if that directory is
2015 # removed, or if the value is a relative name.
2016 INSTALL
=$ac_install_sh
2019 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2020 echo "${ECHO_T}$INSTALL" >&6; }
2022 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2023 # It thinks the first close brace ends the variable substitution.
2024 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2026 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2028 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2030 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2031 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2034 echo timestamp
> conftest.
file
2035 # Do `set' in a subshell so we don't clobber the current shell's
2036 # arguments. Must try -L first in case configure is actually a
2037 # symlink; some systems play weird games with the mod time of symlinks
2038 # (eg FreeBSD returns the mod time of the symlink's containing
2041 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2042 if test "$*" = "X"; then
2044 set X
`ls -t $srcdir/configure conftest.file`
2047 if test "$*" != "X $srcdir/configure conftest.file" \
2048 && test "$*" != "X conftest.file $srcdir/configure"; then
2050 # If neither matched, then we have a broken ls. This can happen
2051 # if, for instance, CONFIG_SHELL is bash and it inherits a
2052 # broken ls alias from the environment. This has actually
2053 # happened. Such a system could not be considered "sane".
2054 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2055 alias in your environment" >&5
2056 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2057 alias in your environment" >&2;}
2058 { (exit 1); exit 1; }; }
2061 test "$2" = conftest.
file
2067 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2068 Check your system clock" >&5
2069 echo "$as_me: error: newly created file is older than distributed files!
2070 Check your system clock" >&2;}
2071 { (exit 1); exit 1; }; }
2073 { echo "$as_me:$LINENO: result: yes" >&5
2074 echo "${ECHO_T}yes" >&6; }
2075 test "$program_prefix" != NONE
&&
2076 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2077 # Use a double $ so make ignores it.
2078 test "$program_suffix" != NONE
&&
2079 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2080 # Double any \ or $. echo might interpret backslashes.
2081 # By default was `s,x,x', remove it if useless.
2082 cat <<\_ACEOF
>conftest.
sed
2083 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2085 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2088 # expand $ac_aux_dir to an absolute path
2089 am_aux_dir
=`cd $ac_aux_dir && pwd`
2091 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
2092 # Use eval to expand $SHELL
2093 if eval "$MISSING --run true"; then
2094 am_missing_run
="$MISSING --run "
2097 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2098 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2101 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2102 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2103 if test -z "$MKDIR_P"; then
2104 if test "${ac_cv_path_mkdir+set}" = set; then
2105 echo $ECHO_N "(cached) $ECHO_C" >&6
2107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2108 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2111 test -z "$as_dir" && as_dir
=.
2112 for ac_prog
in mkdir gmkdir
; do
2113 for ac_exec_ext
in '' $ac_executable_extensions; do
2114 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2115 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2116 'mkdir (GNU coreutils) '* | \
2117 'mkdir (coreutils) '* | \
2118 'mkdir (fileutils) '4.1*)
2119 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2129 if test "${ac_cv_path_mkdir+set}" = set; then
2130 MKDIR_P
="$ac_cv_path_mkdir -p"
2132 # As a last resort, use the slow shell script. Don't cache a
2133 # value for MKDIR_P within a source directory, because that will
2134 # break other packages using the cache if that directory is
2135 # removed, or if the value is a relative name.
2136 test -d .
/--version && rmdir .
/--version
2137 MKDIR_P
="$ac_install_sh -d"
2140 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2141 echo "${ECHO_T}$MKDIR_P" >&6; }
2145 [\\/$
]* | ?
:[\\/]*) ;;
2146 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2149 for ac_prog
in gawk mawk nawk
awk
2151 # Extract the first word of "$ac_prog", so it can be a program name with args.
2152 set dummy
$ac_prog; ac_word
=$2
2153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2155 if test "${ac_cv_prog_AWK+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 if test -n "$AWK"; then
2159 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir
=.
2166 for ac_exec_ext
in '' $ac_executable_extensions; do
2167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168 ac_cv_prog_AWK
="$ac_prog"
2169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 if test -n "$AWK"; then
2180 { echo "$as_me:$LINENO: result: $AWK" >&5
2181 echo "${ECHO_T}$AWK" >&6; }
2183 { echo "$as_me:$LINENO: result: no" >&5
2184 echo "${ECHO_T}no" >&6; }
2188 test -n "$AWK" && break
2191 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2192 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2193 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2194 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
2195 echo $ECHO_N "(cached) $ECHO_C" >&6
2197 cat >conftest.
make <<\_ACEOF
2200 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2202 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2203 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2205 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2207 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2211 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2212 { echo "$as_me:$LINENO: result: yes" >&5
2213 echo "${ECHO_T}yes" >&6; }
2216 { echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6; }
2218 SET_MAKE
="MAKE=${MAKE-make}"
2221 rm -rf .tst
2>/dev
/null
2222 mkdir .tst
2>/dev
/null
2223 if test -d .tst
; then
2228 rmdir .tst
2>/dev
/null
2230 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2231 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2232 # is not polluted with repeated "-I."
2233 am__isrc
=' -I$(srcdir)'
2234 # test to see if srcdir already configured
2235 if test -f $srcdir/config.status
; then
2236 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2237 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2238 { (exit 1); exit 1; }; }
2242 # test whether we have cygpath
2243 if test -z "$CYGPATH_W"; then
2244 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2245 CYGPATH_W
='cygpath -w'
2252 # Define the identity of the package.
2257 cat >>confdefs.h
<<_ACEOF
2258 #define PACKAGE "$PACKAGE"
2262 cat >>confdefs.h
<<_ACEOF
2263 #define VERSION "$VERSION"
2266 # Some tools Automake needs.
2268 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2271 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2274 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2277 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2280 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2282 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2284 # Installed binaries are usually stripped using `strip' when the user
2285 # run `make install-strip'. However `strip' might not be the right
2286 # tool to use in cross-compilation environments, therefore Automake
2287 # will honor the `STRIP' environment variable to overrule this program.
2288 if test "$cross_compiling" != no
; then
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2291 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2294 if test "${ac_cv_prog_STRIP+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$STRIP"; then
2298 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 STRIP
=$ac_cv_prog_STRIP
2318 if test -n "$STRIP"; then
2319 { echo "$as_me:$LINENO: result: $STRIP" >&5
2320 echo "${ECHO_T}$STRIP" >&6; }
2322 { echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6; }
2328 if test -z "$ac_cv_prog_STRIP"; then
2330 # Extract the first word of "strip", so it can be a program name with args.
2331 set dummy strip
; ac_word
=$2
2332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2334 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2335 echo $ECHO_N "(cached) $ECHO_C" >&6
2337 if test -n "$ac_ct_STRIP"; then
2338 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir
=.
2345 for ac_exec_ext
in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_prog_ac_ct_STRIP
="strip"
2348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2358 if test -n "$ac_ct_STRIP"; then
2359 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2360 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2362 { echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6; }
2366 if test "x$ac_ct_STRIP" = x
; then
2369 case $cross_compiling:$ac_tool_warned in
2371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2372 whose name does not start with the host triplet. If you think this
2373 configuration is useful to you, please write to autoconf@gnu.org." >&5
2374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2375 whose name does not start with the host triplet. If you think this
2376 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2377 ac_tool_warned
=yes ;;
2382 STRIP
="$ac_cv_prog_STRIP"
2386 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2388 # We need awk for the "check" target. The system "awk" is bad on
2390 # Always define AMTAR for backward compatibility.
2392 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2394 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2400 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2401 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2402 # Check whether --enable-maintainer-mode was given.
2403 if test "${enable_maintainer_mode+set}" = set; then
2404 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2406 USE_MAINTAINER_MODE
=no
2409 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2410 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2411 if test $USE_MAINTAINER_MODE = yes; then
2412 MAINTAINER_MODE_TRUE
=
2413 MAINTAINER_MODE_FALSE
='#'
2415 MAINTAINER_MODE_TRUE
='#'
2416 MAINTAINER_MODE_FALSE
=
2419 MAINT
=$MAINTAINER_MODE_TRUE
2423 DEPDIR
="${am__leading_dot}deps"
2425 ac_config_commands
="$ac_config_commands depfiles"
2428 am_make
=${MAKE-make}
2429 cat > confinc
<< 'END'
2434 # If we don't find an include directive, just comment out the code.
2435 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2436 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2440 # First try GNU make style include.
2441 echo "include confinc" > confmf
2442 # We grep out `Entering directory' and `Leaving directory'
2443 # messages which can occur if `w' ends up in MAKEFLAGS.
2444 # In particular we don't look at `^make:' because GNU make might
2445 # be invoked under some other name (usually "gmake"), in which
2446 # case it prints its new name instead of `make'.
2447 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2452 # Now try BSD make style include.
2453 if test "$am__include" = "#"; then
2454 echo '.include "confinc"' > confmf
2455 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2456 am__include
=.include
2463 { echo "$as_me:$LINENO: result: $_am_result" >&5
2464 echo "${ECHO_T}$_am_result" >&6; }
2465 rm -f confinc confmf
2467 # Check whether --enable-dependency-tracking was given.
2468 if test "${enable_dependency_tracking+set}" = set; then
2469 enableval
=$enable_dependency_tracking;
2472 if test "x$enable_dependency_tracking" != xno
; then
2473 am_depcomp
="$ac_aux_dir/depcomp"
2476 if test "x$enable_dependency_tracking" != xno; then
2486 ac_cpp
='$CPP $CPPFLAGS'
2487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2490 if test -n "$ac_tool_prefix"; then
2491 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2492 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2495 if test "${ac_cv_prog_CC+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 if test -n "$CC"; then
2499 ac_cv_prog_CC
="$CC" # Let the user override the test.
2501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir
=.
2506 for ac_exec_ext
in '' $ac_executable_extensions; do
2507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2508 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2519 if test -n "$CC"; then
2520 { echo "$as_me:$LINENO: result: $CC" >&5
2521 echo "${ECHO_T}$CC" >&6; }
2523 { echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6; }
2529 if test -z "$ac_cv_prog_CC"; then
2531 # Extract the first word of "gcc", so it can be a program name with args.
2532 set dummy gcc
; ac_word
=$2
2533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2535 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 if test -n "$ac_ct_CC"; then
2539 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir
=.
2546 for ac_exec_ext
in '' $ac_executable_extensions; do
2547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2548 ac_cv_prog_ac_ct_CC
="gcc"
2549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2559 if test -n "$ac_ct_CC"; then
2560 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2561 echo "${ECHO_T}$ac_ct_CC" >&6; }
2563 { echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6; }
2567 if test "x$ac_ct_CC" = x
; then
2570 case $cross_compiling:$ac_tool_warned in
2572 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2573 whose name does not start with the host triplet. If you think this
2574 configuration is useful to you, please write to autoconf@gnu.org." >&5
2575 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2576 whose name does not start with the host triplet. If you think this
2577 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2578 ac_tool_warned
=yes ;;
2586 if test -z "$CC"; then
2587 if test -n "$ac_tool_prefix"; then
2588 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2589 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2592 if test "${ac_cv_prog_CC+set}" = set; then
2593 echo $ECHO_N "(cached) $ECHO_C" >&6
2595 if test -n "$CC"; then
2596 ac_cv_prog_CC
="$CC" # Let the user override the test.
2598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2602 test -z "$as_dir" && as_dir
=.
2603 for ac_exec_ext
in '' $ac_executable_extensions; do
2604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2605 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 if test -n "$CC"; then
2617 { echo "$as_me:$LINENO: result: $CC" >&5
2618 echo "${ECHO_T}$CC" >&6; }
2620 { echo "$as_me:$LINENO: result: no" >&5
2621 echo "${ECHO_T}no" >&6; }
2627 if test -z "$CC"; then
2628 # Extract the first word of "cc", so it can be a program name with args.
2629 set dummy cc
; ac_word
=$2
2630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2632 if test "${ac_cv_prog_CC+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 if test -n "$CC"; then
2636 ac_cv_prog_CC
="$CC" # Let the user override the test.
2639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2643 test -z "$as_dir" && as_dir
=.
2644 for ac_exec_ext
in '' $ac_executable_extensions; do
2645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2646 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2647 ac_prog_rejected
=yes
2651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 if test $ac_prog_rejected = yes; then
2659 # We found a bogon in the path, so make sure we never use it.
2660 set dummy
$ac_cv_prog_CC
2662 if test $# != 0; then
2663 # We chose a different compiler from the bogus one.
2664 # However, it has the same basename, so the bogon will be chosen
2665 # first if we set CC to just the basename; use the full file name.
2667 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2673 if test -n "$CC"; then
2674 { echo "$as_me:$LINENO: result: $CC" >&5
2675 echo "${ECHO_T}$CC" >&6; }
2677 { echo "$as_me:$LINENO: result: no" >&5
2678 echo "${ECHO_T}no" >&6; }
2683 if test -z "$CC"; then
2684 if test -n "$ac_tool_prefix"; then
2685 for ac_prog
in cl.exe
2687 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2688 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2691 if test "${ac_cv_prog_CC+set}" = set; then
2692 echo $ECHO_N "(cached) $ECHO_C" >&6
2694 if test -n "$CC"; then
2695 ac_cv_prog_CC
="$CC" # Let the user override the test.
2697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir
=.
2702 for ac_exec_ext
in '' $ac_executable_extensions; do
2703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 if test -n "$CC"; then
2716 { echo "$as_me:$LINENO: result: $CC" >&5
2717 echo "${ECHO_T}$CC" >&6; }
2719 { echo "$as_me:$LINENO: result: no" >&5
2720 echo "${ECHO_T}no" >&6; }
2724 test -n "$CC" && break
2727 if test -z "$CC"; then
2729 for ac_prog
in cl.exe
2731 # Extract the first word of "$ac_prog", so it can be a program name with args.
2732 set dummy
$ac_prog; ac_word
=$2
2733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2735 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2736 echo $ECHO_N "(cached) $ECHO_C" >&6
2738 if test -n "$ac_ct_CC"; then
2739 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir
=.
2746 for ac_exec_ext
in '' $ac_executable_extensions; do
2747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748 ac_cv_prog_ac_ct_CC
="$ac_prog"
2749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2759 if test -n "$ac_ct_CC"; then
2760 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2761 echo "${ECHO_T}$ac_ct_CC" >&6; }
2763 { echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6; }
2768 test -n "$ac_ct_CC" && break
2771 if test "x$ac_ct_CC" = x
; then
2774 case $cross_compiling:$ac_tool_warned in
2776 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2777 whose name does not start with the host triplet. If you think this
2778 configuration is useful to you, please write to autoconf@gnu.org." >&5
2779 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2780 whose name does not start with the host triplet. If you think this
2781 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2782 ac_tool_warned
=yes ;;
2791 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: no acceptable C compiler found in \$PATH
2794 See \`config.log' for more details." >&2;}
2795 { (exit 1); exit 1; }; }
2797 # Provide some information about the compiler.
2798 echo "$as_me:$LINENO: checking for C compiler version" >&5
2799 ac_compiler
=`set X $ac_compile; echo $2`
2800 { (ac_try
="$ac_compiler --version >&5"
2802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2806 (eval "$ac_compiler --version >&5") 2>&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); }
2810 { (ac_try="$ac_compiler -v >&5"
2812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2813 *) ac_try_echo
=$ac_try;;
2815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2816 (eval "$ac_compiler -v >&5") 2>&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }
2820 { (ac_try
="$ac_compiler -V >&5"
2822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2826 (eval "$ac_compiler -V >&5") 2>&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }
2831 cat >conftest.$ac_ext <<_ACEOF
2834 cat confdefs.h >>conftest.$ac_ext
2835 cat >>conftest.$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2846 ac_clean_files_save=$ac_clean_files
2847 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2848 # Try to create an executable without -o first, disregard a.out.
2849 # It will help us diagnose broken compilers, and finding out an intuition
2851 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2852 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2853 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2855 # List of possible output files, starting from the most likely.
2856 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2857 # only as a last resort. b.out is created by i960 compilers.
2858 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2860 # The IRIX 6 linker writes into existing files which may not be
2861 # executable, retaining their permissions. Remove them first so a
2862 # subsequent execution test works.
2864 for ac_file in $ac_files
2867 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2868 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2873 if { (ac_try="$ac_link_default"
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2879 (eval "$ac_link_default") 2>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; then
2883 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2884 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2885 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2886 # so that the user can short-circuit this test for compilers unknown to
2888 for ac_file
in $ac_files ''
2890 test -f "$ac_file" || continue
2892 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
2895 # We found the default executable, but exeext='' is most
2899 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2901 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2903 # We set ac_cv_exeext here because the later test for it is not
2904 # safe: cross compilers may not add the suffix if given an `-o'
2905 # argument, so we may need to know it at that point already.
2906 # Even if this section looks crufty: it has the advantage of
2913 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2919 { echo "$as_me:$LINENO: result: $ac_file" >&5
2920 echo "${ECHO_T}$ac_file" >&6; }
2921 if test -z "$ac_file"; then
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.
$ac_ext >&5
2925 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2926 See \`config.log' for more details." >&5
2927 echo "$as_me: error: C compiler cannot create executables
2928 See \`config.log' for more details." >&2;}
2929 { (exit 77); exit 77; }; }
2932 ac_exeext
=$ac_cv_exeext
2934 # Check that the compiler produces executables we can run. If not, either
2935 # the compiler is broken, or we cross compile.
2936 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2937 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2938 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2939 # If not cross compiling, check that we can run a simple program.
2940 if test "$cross_compiling" != yes; then
2941 if { ac_try
='./$ac_file'
2942 { (case "(($ac_try" in
2943 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2947 (eval "$ac_try") 2>&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); }; }; then
2953 if test "$cross_compiling" = maybe; then
2956 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2957 If you meant to cross compile, use \`--host'.
2958 See \`config.log' for more details.
" >&5
2959 echo "$as_me: error
: cannot run C compiled programs.
2960 If you meant to cross compile
, use \
`--host'.
2961 See \`config.log
' for more details." >&2;}
2962 { (exit 1); exit 1; }; }
2966 { echo "$as_me:$LINENO: result: yes" >&5
2967 echo "${ECHO_T}yes" >&6; }
2969 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2970 ac_clean_files=$ac_clean_files_save
2971 # Check that the compiler produces executables we can run. If not, either
2972 # the compiler is broken, or we cross compile.
2973 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2974 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2975 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2976 echo "${ECHO_T}$cross_compiling" >&6; }
2978 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2979 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2980 if { (ac_try="$ac_link"
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_link") 2>&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; then
2990 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2991 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2992 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2994 for ac_file
in conftest.exe conftest conftest.
*; do
2995 test -f "$ac_file" || continue
2997 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
2998 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3004 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3005 See \`config.log' for more details." >&5
3006 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3007 See \`config.log' for more details." >&2;}
3008 { (exit 1); exit 1; }; }
3011 rm -f conftest
$ac_cv_exeext
3012 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3013 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3015 rm -f conftest.
$ac_ext
3016 EXEEXT
=$ac_cv_exeext
3018 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3019 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3020 if test "${ac_cv_objext+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 cat >conftest.
$ac_ext <<_ACEOF
3026 cat confdefs.h
>>conftest.
$ac_ext
3027 cat >>conftest.
$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3038 rm -f conftest.o conftest.obj
3039 if { (ac_try
="$ac_compile"
3041 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3045 (eval "$ac_compile") 2>&5
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); }; then
3049 for ac_file in conftest.o conftest.obj conftest.*; do
3050 test -f "$ac_file" || continue;
3052 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3053 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3058 echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3061 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3062 See \`config.log
' for more details." >&5
3063 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3064 See \`config.log' for more details.
" >&2;}
3065 { (exit 1); exit 1; }; }
3068 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3070 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3071 echo "${ECHO_T}$ac_cv_objext" >&6; }
3072 OBJEXT=$ac_cv_objext
3074 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3075 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3076 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3077 echo $ECHO_N "(cached
) $ECHO_C" >&6
3079 cat >conftest.$ac_ext <<_ACEOF
3082 cat confdefs.h >>conftest.$ac_ext
3083 cat >>conftest.$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3097 rm -f conftest.$ac_objext
3098 if { (ac_try="$ac_compile"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_compile") 2>conftest.er1
3106 grep -v '^ *+' conftest.er1 >conftest.err
3108 cat conftest.err >&5
3109 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3110 (exit $ac_status); } && {
3111 test -z "$ac_c_werror_flag" ||
3112 test ! -s conftest.err
3113 } && test -s conftest.$ac_objext; then
3116 echo "$as_me: failed program was
:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3123 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3126 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3127 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3128 GCC=`test $ac_compiler_gnu = yes && echo yes`
3129 ac_test_CFLAGS=${CFLAGS+set}
3130 ac_save_CFLAGS=$CFLAGS
3131 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3132 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3133 if test "${ac_cv_prog_cc_g+set}" = set; then
3134 echo $ECHO_N "(cached
) $ECHO_C" >&6
3136 ac_save_c_werror_flag=$ac_c_werror_flag
3137 ac_c_werror_flag=yes
3140 cat >conftest.$ac_ext <<_ACEOF
3143 cat confdefs.h >>conftest.$ac_ext
3144 cat >>conftest.$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3155 rm -f conftest.$ac_objext
3156 if { (ac_try="$ac_compile"
3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159 *) ac_try_echo=$ac_try;;
3161 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3162 (eval "$ac_compile") 2>conftest.er1
3164 grep -v '^ *+' conftest.er1 >conftest.err
3166 cat conftest.err >&5
3167 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3168 (exit $ac_status); } && {
3169 test -z "$ac_c_werror_flag" ||
3170 test ! -s conftest.err
3171 } && test -s conftest.$ac_objext; then
3174 echo "$as_me: failed program was
:" >&5
3175 sed 's/^/| /' conftest.$ac_ext >&5
3178 cat >conftest.$ac_ext <<_ACEOF
3181 cat confdefs.h >>conftest.$ac_ext
3182 cat >>conftest.$ac_ext <<_ACEOF
3183 /* end confdefs.h. */
3193 rm -f conftest.$ac_objext
3194 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
3202 grep -v '^ *+' conftest.er1 >conftest.err
3204 cat conftest.err >&5
3205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3206 (exit $ac_status); } && {
3207 test -z "$ac_c_werror_flag" ||
3208 test ! -s conftest.err
3209 } && test -s conftest.$ac_objext; then
3212 echo "$as_me: failed program was
:" >&5
3213 sed 's/^/| /' conftest.$ac_ext >&5
3215 ac_c_werror_flag=$ac_save_c_werror_flag
3217 cat >conftest.$ac_ext <<_ACEOF
3220 cat confdefs.h >>conftest.$ac_ext
3221 cat >>conftest.$ac_ext <<_ACEOF
3222 /* end confdefs.h. */
3232 rm -f conftest.$ac_objext
3233 if { (ac_try="$ac_compile"
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3238 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3239 (eval "$ac_compile") 2>conftest.er1
3241 grep -v '^ *+' conftest.er1 >conftest.err
3243 cat conftest.err >&5
3244 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3245 (exit $ac_status); } && {
3246 test -z "$ac_c_werror_flag" ||
3247 test ! -s conftest.err
3248 } && test -s conftest.$ac_objext; then
3251 echo "$as_me: failed program was
:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264 ac_c_werror_flag=$ac_save_c_werror_flag
3266 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3267 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3268 if test "$ac_test_CFLAGS" = set; then
3269 CFLAGS=$ac_save_CFLAGS
3270 elif test $ac_cv_prog_cc_g = yes; then
3271 if test "$GCC" = yes; then
3277 if test "$GCC" = yes; then
3283 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3284 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3285 if test "${ac_cv_prog_cc_c89+set}" = set; then
3286 echo $ECHO_N "(cached
) $ECHO_C" >&6
3288 ac_cv_prog_cc_c89=no
3290 cat >conftest.$ac_ext <<_ACEOF
3293 cat confdefs.h >>conftest.$ac_ext
3294 cat >>conftest.$ac_ext <<_ACEOF
3295 /* end confdefs.h. */
3298 #include <sys/types.h>
3299 #include <sys/stat.h>
3300 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3301 struct buf { int x; };
3302 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3303 static char *e (p, i)
3309 static char *f (char * (*g) (char **, int), char **p, ...)
3314 s = g (p, va_arg (v,int));
3319 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3320 function prototypes and stuff, but not '\xHH' hex character constants.
3321 These don't provoke an error unfortunately, instead are silently treated
3322 as 'x'. The following induces an error, until -std is added to get
3323 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3324 array size at least. It's necessary to write '\x00'==0 to get something
3325 that's true only with -std. */
3326 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3328 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3329 inside strings and character constants. */
3331 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3333 int test (int i, double x);
3334 struct s1 {int (*f) (int a);};
3335 struct s2 {int (*f) (double a);};
3336 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3342 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3347 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3348 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3350 CC="$ac_save_CC $ac_arg"
3351 rm -f conftest.$ac_objext
3352 if { (ac_try="$ac_compile"
3354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355 *) ac_try_echo=$ac_try;;
3357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3358 (eval "$ac_compile") 2>conftest.er1
3360 grep -v '^ *+' conftest.er1 >conftest.err
3362 cat conftest.err >&5
3363 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3364 (exit $ac_status); } && {
3365 test -z "$ac_c_werror_flag" ||
3366 test ! -s conftest.err
3367 } && test -s conftest.$ac_objext; then
3368 ac_cv_prog_cc_c89=$ac_arg
3370 echo "$as_me: failed program was
:" >&5
3371 sed 's/^/| /' conftest.$ac_ext >&5
3376 rm -f core conftest.err conftest.$ac_objext
3377 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3379 rm -f conftest.$ac_ext
3384 case "x
$ac_cv_prog_cc_c89" in
3386 { echo "$as_me:$LINENO: result
: none needed
" >&5
3387 echo "${ECHO_T}none needed
" >&6; } ;;
3389 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3390 echo "${ECHO_T}unsupported
" >&6; } ;;
3392 CC="$CC $ac_cv_prog_cc_c89"
3393 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3394 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3399 ac_cpp='$CPP $CPPFLAGS'
3400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3404 depcc="$CC" am_compiler_list=
3406 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3407 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3408 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3409 echo $ECHO_N "(cached
) $ECHO_C" >&6
3411 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3412 # We make a subdir and do the tests there. Otherwise we can end up
3413 # making bogus files that we don't know about and never remove. For
3414 # instance it was reported that on HP-UX the gcc test will end up
3415 # making a dummy file named `D' -- because `-MD' means `put the output
3418 # Copy depcomp to subdir because otherwise we won't find it if we're
3419 # using a relative directory.
3420 cp "$am_depcomp" conftest.dir
3422 # We will build objects and dependencies in a subdirectory because
3423 # it helps to detect inapplicable dependency modes. For instance
3424 # both Tru64's cc and ICC support -MD to output dependencies as a
3425 # side effect of compilation, but ICC will put the dependencies in
3426 # the current directory while Tru64 will put them in the object
3430 am_cv_CC_dependencies_compiler_type=none
3431 if test "$am_compiler_list" = ""; then
3432 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3434 for depmode in $am_compiler_list; do
3435 # Setup a source with many dependencies, because some compilers
3436 # like to wrap large dependency lists on column 80 (with \), and
3437 # we should not choose a depcomp mode which is confused by this.
3439 # We need to recreate these files for each test, as the compiler may
3440 # overwrite some of them when testing with obscure command lines.
3441 # This happens at least with the AIX C compiler.
3443 for i in 1 2 3 4 5 6; do
3444 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3445 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3446 # Solaris 8's {/usr,}/bin/sh.
3447 touch sub/conftst$i.h
3449 echo "${am__include} ${am__quote}sub
/conftest.Po
${am__quote}" > confmf
3453 # after this tag, mechanisms are not by side-effect, so they'll
3454 # only be used when explicitly requested
3455 if test "x
$enable_dependency_tracking" = xyes; then
3463 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3464 # mode. It turns out that the SunPro C++ compiler does not properly
3465 # handle `-M -o', and we need to detect this.
3466 if depmode=$depmode \
3467 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3468 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3469 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3470 >/dev/null 2>conftest.err &&
3471 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3472 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3473 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3474 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3475 # icc doesn't choke on unknown options, it will just issue warnings
3476 # or remarks (even with -Werror). So we grep stderr for any message
3477 # that says an option was ignored or not supported.
3478 # When given -MP, icc 7.0 and 7.1 complain thusly:
3479 # icc: Command line warning: ignoring option '-M'; no argument required
3480 # The diagnosis changed in icc 8.0:
3481 # icc: Command line remark: option '-MP' not supported
3482 if (grep 'ignoring option' conftest.err ||
3483 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3484 am_cv_CC_dependencies_compiler_type=$depmode
3493 am_cv_CC_dependencies_compiler_type=none
3497 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3498 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3499 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3502 test "x
$enable_dependency_tracking" != xno \
3503 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3505 am__fastdepCC_FALSE='#'
3507 am__fastdepCC_TRUE='#'
3508 am__fastdepCC_FALSE=
3513 { echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
3514 echo $ECHO_N "checking
return type of signal handlers...
$ECHO_C" >&6; }
3515 if test "${ac_cv_type_signal+set}" = set; then
3516 echo $ECHO_N "(cached
) $ECHO_C" >&6
3518 cat >conftest.$ac_ext <<_ACEOF
3521 cat confdefs.h >>conftest.$ac_ext
3522 cat >>conftest.$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 #include <sys/types.h>
3530 return *(signal (0, 0)) (0) == 1;
3535 rm -f conftest.$ac_objext
3536 if { (ac_try="$ac_compile"
3538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3539 *) ac_try_echo=$ac_try;;
3541 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3542 (eval "$ac_compile") 2>conftest.er1
3544 grep -v '^ *+' conftest.er1 >conftest.err
3546 cat conftest.err >&5
3547 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3548 (exit $ac_status); } && {
3549 test -z "$ac_c_werror_flag" ||
3550 test ! -s conftest.err
3551 } && test -s conftest.$ac_objext; then
3552 ac_cv_type_signal=int
3554 echo "$as_me: failed program was
:" >&5
3555 sed 's/^/| /' conftest.$ac_ext >&5
3557 ac_cv_type_signal=void
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3562 { echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
3563 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
3565 cat >>confdefs.h <<_ACEOF
3566 #define RETSIGTYPE $ac_cv_type_signal
3570 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
3571 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
3572 if test "${ac_cv_c_const+set}" = set; then
3573 echo $ECHO_N "(cached
) $ECHO_C" >&6
3575 cat >conftest.$ac_ext <<_ACEOF
3578 cat confdefs.h >>conftest.$ac_ext
3579 cat >>conftest.$ac_ext <<_ACEOF
3580 /* end confdefs.h. */
3585 /* FIXME: Include the comments suggested by Paul. */
3587 /* Ultrix mips cc rejects this. */
3588 typedef int charset[2];
3590 /* SunOS 4.1.1 cc rejects this. */
3591 char const *const *pcpcc;
3593 /* NEC SVR4.0.2 mips cc rejects this. */
3594 struct point {int x, y;};
3595 static struct point const zero = {0,0};
3596 /* AIX XL C 1.02.0.0 rejects this.
3597 It does not let you subtract one const X* pointer from another in
3598 an arm of an if-expression whose if-part is not a constant
3600 const char *g = "string
";
3601 pcpcc = &g + (g ? g-g : 0);
3602 /* HPUX 7.0 cc rejects these. */
3604 ppc = (char**) pcpcc;
3605 pcpcc = (char const *const *) ppc;
3606 { /* SCO 3.2v4 cc rejects this. */
3608 char const *s = 0 ? (char *) 0 : (char const *) 0;
3613 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3615 const int *foo = &x[0];
3618 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3619 typedef const int *iptr;
3623 { /* AIX XL C 1.02.0.0 rejects this saying
3624 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3625 struct s { int j; const int *ap[3]; };
3626 struct s *b; b->j = 5;
3628 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3632 return !cs[0] && !zero.x;
3639 rm -f conftest.$ac_objext
3640 if { (ac_try="$ac_compile"
3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643 *) ac_try_echo=$ac_try;;
3645 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3646 (eval "$ac_compile") 2>conftest.er1
3648 grep -v '^ *+' conftest.er1 >conftest.err
3650 cat conftest.err >&5
3651 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3652 (exit $ac_status); } && {
3653 test -z "$ac_c_werror_flag" ||
3654 test ! -s conftest.err
3655 } && test -s conftest.$ac_objext; then
3658 echo "$as_me: failed program was
:" >&5
3659 sed 's/^/| /' conftest.$ac_ext >&5
3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3666 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
3667 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3668 if test $ac_cv_c_const = no; then
3670 cat >>confdefs.h <<\_ACEOF
3676 { echo "$as_me:$LINENO: checking
for inline
" >&5
3677 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
3678 if test "${ac_cv_c_inline+set}" = set; then
3679 echo $ECHO_N "(cached
) $ECHO_C" >&6
3682 for ac_kw in inline __inline__ __inline; do
3683 cat >conftest.$ac_ext <<_ACEOF
3686 cat confdefs.h >>conftest.$ac_ext
3687 cat >>conftest.$ac_ext <<_ACEOF
3688 /* end confdefs.h. */
3691 static $ac_kw foo_t static_foo () {return 0; }
3692 $ac_kw foo_t foo () {return 0; }
3696 rm -f conftest.$ac_objext
3697 if { (ac_try="$ac_compile"
3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700 *) ac_try_echo=$ac_try;;
3702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3703 (eval "$ac_compile") 2>conftest.er1
3705 grep -v '^ *+' conftest.er1 >conftest.err
3707 cat conftest.err >&5
3708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3709 (exit $ac_status); } && {
3710 test -z "$ac_c_werror_flag" ||
3711 test ! -s conftest.err
3712 } && test -s conftest.$ac_objext; then
3713 ac_cv_c_inline=$ac_kw
3715 echo "$as_me: failed program was
:" >&5
3716 sed 's/^/| /' conftest.$ac_ext >&5
3721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3722 test "$ac_cv_c_inline" != no && break
3726 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
3727 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3730 case $ac_cv_c_inline in
3733 case $ac_cv_c_inline in
3735 *) ac_val=$ac_cv_c_inline;;
3737 cat >>confdefs.h <<_ACEOF
3739 #define inline $ac_val
3746 for ac_prog in gawk mawk nawk awk
3748 # Extract the first word of "$ac_prog", so it can be a program name with args.
3749 set dummy $ac_prog; ac_word=$2
3750 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3751 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3752 if test "${ac_cv_prog_AWK+set}" = set; then
3753 echo $ECHO_N "(cached
) $ECHO_C" >&6
3755 if test -n "$AWK"; then
3756 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 test -z "$as_dir" && as_dir=.
3763 for ac_exec_ext in '' $ac_executable_extensions; do
3764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3765 ac_cv_prog_AWK="$ac_prog"
3766 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3776 if test -n "$AWK"; then
3777 { echo "$as_me:$LINENO: result
: $AWK" >&5
3778 echo "${ECHO_T}$AWK" >&6; }
3780 { echo "$as_me:$LINENO: result
: no
" >&5
3781 echo "${ECHO_T}no
" >&6; }
3785 test -n "$AWK" && break
3789 ac_cpp='$CPP $CPPFLAGS'
3790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3793 if test -n "$ac_tool_prefix"; then
3794 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3795 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3796 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3797 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3798 if test "${ac_cv_prog_CC+set}" = set; then
3799 echo $ECHO_N "(cached
) $ECHO_C" >&6
3801 if test -n "$CC"; then
3802 ac_cv_prog_CC="$CC" # Let the user override the test.
3804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 test -z "$as_dir" && as_dir=.
3809 for ac_exec_ext in '' $ac_executable_extensions; do
3810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3811 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3812 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3822 if test -n "$CC"; then
3823 { echo "$as_me:$LINENO: result
: $CC" >&5
3824 echo "${ECHO_T}$CC" >&6; }
3826 { echo "$as_me:$LINENO: result
: no
" >&5
3827 echo "${ECHO_T}no
" >&6; }
3832 if test -z "$ac_cv_prog_CC"; then
3834 # Extract the first word of "gcc
", so it can be a program name with args.
3835 set dummy gcc; ac_word=$2
3836 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3837 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3838 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3839 echo $ECHO_N "(cached
) $ECHO_C" >&6
3841 if test -n "$ac_ct_CC"; then
3842 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 test -z "$as_dir" && as_dir=.
3849 for ac_exec_ext in '' $ac_executable_extensions; do
3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3851 ac_cv_prog_ac_ct_CC="gcc
"
3852 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3861 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3862 if test -n "$ac_ct_CC"; then
3863 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3864 echo "${ECHO_T}$ac_ct_CC" >&6; }
3866 { echo "$as_me:$LINENO: result
: no
" >&5
3867 echo "${ECHO_T}no
" >&6; }
3870 if test "x
$ac_ct_CC" = x; then
3873 case $cross_compiling:$ac_tool_warned in
3875 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
3876 whose name does not start with the
host triplet. If you think this
3877 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3878 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
3879 whose name does not start with the
host triplet. If you think this
3880 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3881 ac_tool_warned=yes ;;
3889 if test -z "$CC"; then
3890 if test -n "$ac_tool_prefix"; then
3891 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3892 set dummy ${ac_tool_prefix}cc; ac_word=$2
3893 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3894 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3895 if test "${ac_cv_prog_CC+set}" = set; then
3896 echo $ECHO_N "(cached
) $ECHO_C" >&6
3898 if test -n "$CC"; then
3899 ac_cv_prog_CC="$CC" # Let the user override the test.
3901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905 test -z "$as_dir" && as_dir=.
3906 for ac_exec_ext in '' $ac_executable_extensions; do
3907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3908 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3909 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3919 if test -n "$CC"; then
3920 { echo "$as_me:$LINENO: result
: $CC" >&5
3921 echo "${ECHO_T}$CC" >&6; }
3923 { echo "$as_me:$LINENO: result
: no
" >&5
3924 echo "${ECHO_T}no
" >&6; }
3930 if test -z "$CC"; then
3931 # Extract the first word of "cc
", so it can be a program name with args.
3932 set dummy cc; ac_word=$2
3933 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3934 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3935 if test "${ac_cv_prog_CC+set}" = set; then
3936 echo $ECHO_N "(cached
) $ECHO_C" >&6
3938 if test -n "$CC"; then
3939 ac_cv_prog_CC="$CC" # Let the user override the test.
3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 test -z "$as_dir" && as_dir=.
3947 for ac_exec_ext in '' $ac_executable_extensions; do
3948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3949 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3950 ac_prog_rejected=yes
3954 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3961 if test $ac_prog_rejected = yes; then
3962 # We found a bogon in the path, so make sure we never use it.
3963 set dummy $ac_cv_prog_CC
3965 if test $# != 0; then
3966 # We chose a different compiler from the bogus one.
3967 # However, it has the same basename, so the bogon will be chosen
3968 # first if we set CC to just the basename; use the full file name.
3970 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
3976 if test -n "$CC"; then
3977 { echo "$as_me:$LINENO: result
: $CC" >&5
3978 echo "${ECHO_T}$CC" >&6; }
3980 { echo "$as_me:$LINENO: result
: no
" >&5
3981 echo "${ECHO_T}no
" >&6; }
3986 if test -z "$CC"; then
3987 if test -n "$ac_tool_prefix"; then
3988 for ac_prog in cl.exe
3990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3992 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3993 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3994 if test "${ac_cv_prog_CC+set}" = set; then
3995 echo $ECHO_N "(cached
) $ECHO_C" >&6
3997 if test -n "$CC"; then
3998 ac_cv_prog_CC="$CC" # Let the user override the test.
4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir=.
4005 for ac_exec_ext in '' $ac_executable_extensions; do
4006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4007 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4008 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4018 if test -n "$CC"; then
4019 { echo "$as_me:$LINENO: result
: $CC" >&5
4020 echo "${ECHO_T}$CC" >&6; }
4022 { echo "$as_me:$LINENO: result
: no
" >&5
4023 echo "${ECHO_T}no
" >&6; }
4027 test -n "$CC" && break
4030 if test -z "$CC"; then
4032 for ac_prog in cl.exe
4034 # Extract the first word of "$ac_prog", so it can be a program name with args.
4035 set dummy $ac_prog; ac_word=$2
4036 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4037 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4038 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4039 echo $ECHO_N "(cached
) $ECHO_C" >&6
4041 if test -n "$ac_ct_CC"; then
4042 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir=.
4049 for ac_exec_ext in '' $ac_executable_extensions; do
4050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051 ac_cv_prog_ac_ct_CC="$ac_prog"
4052 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4061 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4062 if test -n "$ac_ct_CC"; then
4063 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
4064 echo "${ECHO_T}$ac_ct_CC" >&6; }
4066 { echo "$as_me:$LINENO: result
: no
" >&5
4067 echo "${ECHO_T}no
" >&6; }
4071 test -n "$ac_ct_CC" && break
4074 if test "x
$ac_ct_CC" = x; then
4077 case $cross_compiling:$ac_tool_warned in
4079 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
4080 whose name does not start with the
host triplet. If you think this
4081 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4082 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
4083 whose name does not start with the
host triplet. If you think this
4084 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4085 ac_tool_warned=yes ;;
4094 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4095 See \
`config.log' for more details." >&5
4096 echo "$as_me: error: no acceptable C compiler found in \$PATH
4097 See \`config.log
' for more details." >&2;}
4098 { (exit 1); exit 1; }; }
4100 # Provide some information about the compiler.
4101 echo "$as_me:$LINENO: checking for C compiler version" >&5
4102 ac_compiler=`set X $ac_compile; echo $2`
4103 { (ac_try="$ac_compiler --version >&5"
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4109 (eval "$ac_compiler --version >&5") 2>&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); }
4113 { (ac_try="$ac_compiler -v >&5"
4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4116 *) ac_try_echo=$ac_try;;
4118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4119 (eval "$ac_compiler -v >&5") 2>&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); }
4123 { (ac_try="$ac_compiler -V >&5"
4125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4126 *) ac_try_echo=$ac_try;;
4128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4129 (eval "$ac_compiler -V >&5") 2>&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); }
4134 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4135 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4136 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 cat >conftest.$ac_ext <<_ACEOF
4142 cat confdefs.h >>conftest.$ac_ext
4143 cat >>conftest.$ac_ext <<_ACEOF
4144 /* end confdefs.h. */
4157 rm -f conftest.$ac_objext
4158 if { (ac_try="$ac_compile"
4160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161 *) ac_try_echo=$ac_try;;
4163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4164 (eval "$ac_compile") 2>conftest.er1
4166 grep -v '^
*+' conftest.er1 >conftest.err
4168 cat conftest.err >&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); } && {
4171 test -z "$ac_c_werror_flag" ||
4172 test ! -s conftest.err
4173 } && test -s conftest.$ac_objext; then
4176 echo "$as_me: failed program was:" >&5
4177 sed 's
/^
/| /' conftest.$ac_ext >&5
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4186 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4187 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4188 GCC=`test $ac_compiler_gnu = yes && echo yes`
4189 ac_test_CFLAGS=${CFLAGS+set}
4190 ac_save_CFLAGS=$CFLAGS
4191 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4192 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4193 if test "${ac_cv_prog_cc_g+set}" = set; then
4194 echo $ECHO_N "(cached) $ECHO_C" >&6
4196 ac_save_c_werror_flag=$ac_c_werror_flag
4197 ac_c_werror_flag=yes
4200 cat >conftest.$ac_ext <<_ACEOF
4203 cat confdefs.h >>conftest.$ac_ext
4204 cat >>conftest.$ac_ext <<_ACEOF
4205 /* end confdefs.h. */
4215 rm -f conftest.$ac_objext
4216 if { (ac_try="$ac_compile"
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4222 (eval "$ac_compile") 2>conftest.er1
4224 grep -v '^
*+' conftest.er1 >conftest.err
4226 cat conftest.err >&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); } && {
4229 test -z "$ac_c_werror_flag" ||
4230 test ! -s conftest.err
4231 } && test -s conftest.$ac_objext; then
4234 echo "$as_me: failed program was:" >&5
4235 sed 's
/^
/| /' conftest.$ac_ext >&5
4238 cat >conftest.$ac_ext <<_ACEOF
4241 cat confdefs.h >>conftest.$ac_ext
4242 cat >>conftest.$ac_ext <<_ACEOF
4243 /* end confdefs.h. */
4253 rm -f conftest.$ac_objext
4254 if { (ac_try="$ac_compile"
4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4260 (eval "$ac_compile") 2>conftest.er1
4262 grep -v '^
*+' conftest.er1 >conftest.err
4264 cat conftest.err >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); } && {
4267 test -z "$ac_c_werror_flag" ||
4268 test ! -s conftest.err
4269 } && test -s conftest.$ac_objext; then
4272 echo "$as_me: failed program was:" >&5
4273 sed 's
/^
/| /' conftest.$ac_ext >&5
4275 ac_c_werror_flag=$ac_save_c_werror_flag
4277 cat >conftest.$ac_ext <<_ACEOF
4280 cat confdefs.h >>conftest.$ac_ext
4281 cat >>conftest.$ac_ext <<_ACEOF
4282 /* end confdefs.h. */
4292 rm -f conftest.$ac_objext
4293 if { (ac_try="$ac_compile"
4295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_compile") 2>conftest.er1
4301 grep -v '^
*+' conftest.er1 >conftest.err
4303 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } && {
4306 test -z "$ac_c_werror_flag" ||
4307 test ! -s conftest.err
4308 } && test -s conftest.$ac_objext; then
4311 echo "$as_me: failed program was:" >&5
4312 sed 's
/^
/| /' conftest.$ac_ext >&5
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4324 ac_c_werror_flag=$ac_save_c_werror_flag
4326 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4327 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4328 if test "$ac_test_CFLAGS" = set; then
4329 CFLAGS=$ac_save_CFLAGS
4330 elif test $ac_cv_prog_cc_g = yes; then
4331 if test "$GCC" = yes; then
4337 if test "$GCC" = yes; then
4343 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4344 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4345 if test "${ac_cv_prog_cc_c89+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 ac_cv_prog_cc_c89=no
4350 cat >conftest.$ac_ext <<_ACEOF
4353 cat confdefs.h >>conftest.$ac_ext
4354 cat >>conftest.$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4358 #include <sys/types.h>
4359 #include <sys/stat.h>
4360 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4361 struct buf
{ int x
; };
4362 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4363 static char
*e
(p
, i
)
4369 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4374 s
= g
(p
, va_arg
(v
,int
));
4379 /* OSF
4.0 Compaq cc is some
sort of almost
-ANSI by default. It has
4380 function prototypes and stuff
, but not
'\xHH' hex character constants.
4381 These don
't provoke an error unfortunately, instead are silently treated
4382 as 'x
'. The following induces an error, until -std is added to get
4383 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4384 array size at least. It's necessary to
write '\x00'==0 to get something
4385 that
's true only with -std. */
4386 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4388 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4389 inside strings and character constants. */
4391 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4393 int test (int i, double x);
4394 struct s1 {int (*f) (int a);};
4395 struct s2 {int (*f) (double a);};
4396 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4402 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4407 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4408 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4410 CC="$ac_save_CC $ac_arg"
4411 rm -f conftest.$ac_objext
4412 if { (ac_try="$ac_compile"
4414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4415 *) ac_try_echo=$ac_try;;
4417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4418 (eval "$ac_compile") 2>conftest.er1
4420 grep -v '^
*+' conftest.er1 >conftest.err
4422 cat conftest.err >&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); } && {
4425 test -z "$ac_c_werror_flag" ||
4426 test ! -s conftest.err
4427 } && test -s conftest.$ac_objext; then
4428 ac_cv_prog_cc_c89=$ac_arg
4430 echo "$as_me: failed program was:" >&5
4431 sed 's
/^
/| /' conftest.$ac_ext >&5
4436 rm -f core conftest.err conftest.$ac_objext
4437 test "x$ac_cv_prog_cc_c89" != "xno" && break
4439 rm -f conftest.$ac_ext
4444 case "x$ac_cv_prog_cc_c89" in
4446 { echo "$as_me:$LINENO: result: none needed" >&5
4447 echo "${ECHO_T}none needed" >&6; } ;;
4449 { echo "$as_me:$LINENO: result: unsupported" >&5
4450 echo "${ECHO_T}unsupported" >&6; } ;;
4452 CC="$CC $ac_cv_prog_cc_c89"
4453 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4454 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4459 ac_cpp='$CPP $CPPFLAGS'
4460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4461 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4464 depcc="$CC" am_compiler_list=
4466 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4467 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4468 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4472 # We make a subdir and do the tests there. Otherwise we can end up
4473 # making bogus files that we don't know about and never remove. For
4474 # instance it was reported that on HP-UX the gcc test will end up
4475 # making a dummy file named `D' -- because `-MD' means `put the output
4478 # Copy depcomp to subdir because otherwise we won't find it if we're
4479 # using a relative directory.
4480 cp "$am_depcomp" conftest.dir
4482 # We will build objects and dependencies in a subdirectory because
4483 # it helps to detect inapplicable dependency modes. For instance
4484 # both Tru64's cc and ICC support -MD to output dependencies as a
4485 # side effect of compilation, but ICC will put the dependencies in
4486 # the current directory while Tru64 will put them in the object
4490 am_cv_CC_dependencies_compiler_type
=none
4491 if test "$am_compiler_list" = ""; then
4492 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4494 for depmode
in $am_compiler_list; do
4495 # Setup a source with many dependencies, because some compilers
4496 # like to wrap large dependency lists on column 80 (with \), and
4497 # we should not choose a depcomp mode which is confused by this.
4499 # We need to recreate these files for each test, as the compiler may
4500 # overwrite some of them when testing with obscure command lines.
4501 # This happens at least with the AIX C compiler.
4503 for i
in 1 2 3 4 5 6; do
4504 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4505 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4506 # Solaris 8's {/usr,}/bin/sh.
4507 touch sub
/conftst
$i.h
4509 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4513 # after this tag, mechanisms are not by side-effect, so they'll
4514 # only be used when explicitly requested
4515 if test "x$enable_dependency_tracking" = xyes
; then
4523 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4524 # mode. It turns out that the SunPro C++ compiler does not properly
4525 # handle `-M -o', and we need to detect this.
4526 if depmode
=$depmode \
4527 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4528 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4529 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4530 >/dev
/null
2>conftest.err
&&
4531 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4532 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4533 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4534 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4535 # icc doesn't choke on unknown options, it will just issue warnings
4536 # or remarks (even with -Werror). So we grep stderr for any message
4537 # that says an option was ignored or not supported.
4538 # When given -MP, icc 7.0 and 7.1 complain thusly:
4539 # icc: Command line warning: ignoring option '-M'; no argument required
4540 # The diagnosis changed in icc 8.0:
4541 # icc: Command line remark: option '-MP' not supported
4542 if (grep 'ignoring option' conftest.err
||
4543 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4544 am_cv_CC_dependencies_compiler_type
=$depmode
4553 am_cv_CC_dependencies_compiler_type
=none
4557 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4558 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4559 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4562 test "x$enable_dependency_tracking" != xno \
4563 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4565 am__fastdepCC_FALSE
='#'
4567 am__fastdepCC_TRUE
='#'
4568 am__fastdepCC_FALSE
=
4572 # Find a good install program. We prefer a C program (faster),
4573 # so one script is as good as another. But avoid the broken or
4574 # incompatible versions:
4575 # SysV /etc/install, /usr/sbin/install
4576 # SunOS /usr/etc/install
4577 # IRIX /sbin/install
4579 # AmigaOS /C/install, which installs bootblocks on floppy discs
4580 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4581 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4582 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4583 # OS/2's system install, which has a completely different semantic
4584 # ./install, which can be erroneously created by make from ./install.sh.
4585 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4586 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4587 if test -z "$INSTALL"; then
4588 if test "${ac_cv_path_install+set}" = set; then
4589 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4595 test -z "$as_dir" && as_dir
=.
4596 # Account for people who put trailing slashes in PATH elements.
4598 .
/ | .
// | /cC
/* | \
4599 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4600 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4603 # OSF1 and SCO ODT 3.0 have their own names for install.
4604 # Don't use installbsd from OSF since it installs stuff as root
4606 for ac_prog
in ginstall scoinst
install; do
4607 for ac_exec_ext
in '' $ac_executable_extensions; do
4608 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4609 if test $ac_prog = install &&
4610 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4611 # AIX install. It has an incompatible calling convention.
4613 elif test $ac_prog = install &&
4614 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4615 # program-specific install script used by HP pwplus--don't use.
4618 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4631 if test "${ac_cv_path_install+set}" = set; then
4632 INSTALL
=$ac_cv_path_install
4634 # As a last resort, use the slow shell script. Don't cache a
4635 # value for INSTALL within a source directory, because that will
4636 # break other packages using the cache if that directory is
4637 # removed, or if the value is a relative name.
4638 INSTALL
=$ac_install_sh
4641 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4642 echo "${ECHO_T}$INSTALL" >&6; }
4644 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4645 # It thinks the first close brace ends the variable substitution.
4646 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4648 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4650 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4653 # Extract the first word of "cp", so it can be a program name with args.
4654 set dummy
cp; ac_word
=$2
4655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4657 if test "${ac_cv_path_CP+set}" = set; then
4658 echo $ECHO_N "(cached) $ECHO_C" >&6
4662 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
4665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4669 test -z "$as_dir" && as_dir
=.
4670 for ac_exec_ext
in '' $ac_executable_extensions; do
4671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4672 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
4673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 if test -n "$CP"; then
4685 { echo "$as_me:$LINENO: result: $CP" >&5
4686 echo "${ECHO_T}$CP" >&6; }
4688 { echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6; }
4694 if test -n "$ac_tool_prefix"; then
4695 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4696 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4697 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4699 if test "${ac_cv_prog_RANLIB+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 if test -n "$RANLIB"; then
4703 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4709 test -z "$as_dir" && as_dir
=.
4710 for ac_exec_ext
in '' $ac_executable_extensions; do
4711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4712 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 RANLIB
=$ac_cv_prog_RANLIB
4723 if test -n "$RANLIB"; then
4724 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4725 echo "${ECHO_T}$RANLIB" >&6; }
4727 { echo "$as_me:$LINENO: result: no" >&5
4728 echo "${ECHO_T}no" >&6; }
4733 if test -z "$ac_cv_prog_RANLIB"; then
4734 ac_ct_RANLIB
=$RANLIB
4735 # Extract the first word of "ranlib", so it can be a program name with args.
4736 set dummy ranlib
; ac_word
=$2
4737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4739 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4740 echo $ECHO_N "(cached) $ECHO_C" >&6
4742 if test -n "$ac_ct_RANLIB"; then
4743 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4749 test -z "$as_dir" && as_dir
=.
4750 for ac_exec_ext
in '' $ac_executable_extensions; do
4751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4752 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4763 if test -n "$ac_ct_RANLIB"; then
4764 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4765 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4767 { echo "$as_me:$LINENO: result: no" >&5
4768 echo "${ECHO_T}no" >&6; }
4771 if test "x$ac_ct_RANLIB" = x
; then
4774 case $cross_compiling:$ac_tool_warned in
4776 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4777 whose name does not start with the host triplet. If you think this
4778 configuration is useful to you, please write to autoconf@gnu.org." >&5
4779 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4780 whose name does not start with the host triplet. If you think this
4781 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4782 ac_tool_warned
=yes ;;
4784 RANLIB
=$ac_ct_RANLIB
4787 RANLIB
="$ac_cv_prog_RANLIB"
4791 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4792 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4794 if test "$LN_S" = "ln -s"; then
4795 { echo "$as_me:$LINENO: result: yes" >&5
4796 echo "${ECHO_T}yes" >&6; }
4798 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4799 echo "${ECHO_T}no, using $LN_S" >&6; }
4802 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4803 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4804 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4805 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
4806 echo $ECHO_N "(cached) $ECHO_C" >&6
4808 cat >conftest.
make <<\_ACEOF
4811 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4813 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4814 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4816 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4818 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4822 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4823 { echo "$as_me:$LINENO: result: yes" >&5
4824 echo "${ECHO_T}yes" >&6; }
4827 { echo "$as_me:$LINENO: result: no" >&5
4828 echo "${ECHO_T}no" >&6; }
4829 SET_MAKE
="MAKE=${MAKE-make}"
4833 ac_cpp
='$CPP $CPPFLAGS'
4834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4837 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4838 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4839 # On Suns, sometimes $CPP names a directory.
4840 if test -n "$CPP" && test -d "$CPP"; then
4843 if test -z "$CPP"; then
4844 if test "${ac_cv_prog_CPP+set}" = set; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4847 # Double quotes because CPP needs to be expanded
4848 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4851 for ac_c_preproc_warn_flag
in '' yes
4853 # Use a header file that comes with gcc, so configuring glibc
4854 # with a fresh cross-compiler works.
4855 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4856 # <limits.h> exists even on freestanding compilers.
4857 # On the NeXT, cc -E runs the code through the compiler's parser,
4858 # not just through cpp. "Syntax error" is here to catch this case.
4859 cat >conftest.
$ac_ext <<_ACEOF
4862 cat confdefs.h
>>conftest.
$ac_ext
4863 cat >>conftest.
$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4866 # include <limits.h>
4868 # include <assert.h>
4872 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4874 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4875 *) ac_try_echo=$ac_try;;
4877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4878 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4880 grep -v '^ *+' conftest.er1 >conftest.err
4882 cat conftest.err >&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); } >/dev/null && {
4885 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4886 test ! -s conftest.err
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4893 # Broken: fails on valid input.
4897 rm -f conftest.err conftest.$ac_ext
4899 # OK, works on sane cases. Now check whether nonexistent headers
4900 # can be detected and how.
4901 cat >conftest.$ac_ext <<_ACEOF
4904 cat confdefs.h >>conftest.$ac_ext
4905 cat >>conftest.$ac_ext <<_ACEOF
4906 /* end confdefs.h. */
4907 #include <ac_nonexistent.h>
4909 if { (ac_try="$ac_cpp conftest.$ac_ext"
4911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4912 *) ac_try_echo
=$ac_try;;
4914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4915 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4917 grep -v '^ *+' conftest.er1
>conftest.err
4919 cat conftest.err
>&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } >/dev
/null
&& {
4922 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4923 test ! -s conftest.err
4925 # Broken: success on invalid input.
4928 echo "$as_me: failed program was:" >&5
4929 sed 's/^/| /' conftest.
$ac_ext >&5
4931 # Passes both tests.
4936 rm -f conftest.err conftest.
$ac_ext
4939 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4940 rm -f conftest.err conftest.
$ac_ext
4941 if $ac_preproc_ok; then
4953 { echo "$as_me:$LINENO: result: $CPP" >&5
4954 echo "${ECHO_T}$CPP" >&6; }
4956 for ac_c_preproc_warn_flag
in '' yes
4958 # Use a header file that comes with gcc, so configuring glibc
4959 # with a fresh cross-compiler works.
4960 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4961 # <limits.h> exists even on freestanding compilers.
4962 # On the NeXT, cc -E runs the code through the compiler's parser,
4963 # not just through cpp. "Syntax error" is here to catch this case.
4964 cat >conftest.
$ac_ext <<_ACEOF
4967 cat confdefs.h
>>conftest.
$ac_ext
4968 cat >>conftest.
$ac_ext <<_ACEOF
4969 /* end confdefs.h. */
4971 # include <limits.h>
4973 # include <assert.h>
4977 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4979 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4980 *) ac_try_echo=$ac_try;;
4982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4985 grep -v '^ *+' conftest.er1 >conftest.err
4987 cat conftest.err >&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); } >/dev/null && {
4990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4991 test ! -s conftest.err
4995 echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.$ac_ext >&5
4998 # Broken: fails on valid input.
5002 rm -f conftest.err conftest.$ac_ext
5004 # OK, works on sane cases. Now check whether nonexistent headers
5005 # can be detected and how.
5006 cat >conftest.$ac_ext <<_ACEOF
5009 cat confdefs.h >>conftest.$ac_ext
5010 cat >>conftest.$ac_ext <<_ACEOF
5011 /* end confdefs.h. */
5012 #include <ac_nonexistent.h>
5014 if { (ac_try="$ac_cpp conftest.$ac_ext"
5016 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5017 *) ac_try_echo
=$ac_try;;
5019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5022 grep -v '^ *+' conftest.er1
>conftest.err
5024 cat conftest.err
>&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } >/dev
/null
&& {
5027 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5028 test ! -s conftest.err
5030 # Broken: success on invalid input.
5033 echo "$as_me: failed program was:" >&5
5034 sed 's/^/| /' conftest.
$ac_ext >&5
5036 # Passes both tests.
5041 rm -f conftest.err conftest.
$ac_ext
5044 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5045 rm -f conftest.err conftest.
$ac_ext
5046 if $ac_preproc_ok; then
5049 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5050 See \`config.log' for more details." >&5
5051 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5052 See \`config.log' for more details." >&2;}
5053 { (exit 1); exit 1; }; }
5057 ac_cpp
='$CPP $CPPFLAGS'
5058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5063 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5064 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5065 if test "${ac_cv_path_GREP+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 # Extract the first word of "grep ggrep" to use in msg output
5069 if test -z "$GREP"; then
5070 set dummy
grep ggrep
; ac_prog_name
=$2
5071 if test "${ac_cv_path_GREP+set}" = set; then
5072 echo $ECHO_N "(cached) $ECHO_C" >&6
5074 ac_path_GREP_found
=false
5075 # Loop through the user's path and test for each of PROGNAME-LIST
5076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5077 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5080 test -z "$as_dir" && as_dir
=.
5081 for ac_prog
in grep ggrep
; do
5082 for ac_exec_ext
in '' $ac_executable_extensions; do
5083 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5084 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5085 # Check for GNU ac_path_GREP and select it if it is found.
5086 # Check for GNU $ac_path_GREP
5087 case `"$ac_path_GREP" --version 2>&1` in
5089 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5092 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5095 cat "conftest.in" "conftest.in" >"conftest.tmp"
5096 mv "conftest.tmp" "conftest.in"
5097 cp "conftest.in" "conftest.nl"
5098 echo 'GREP' >> "conftest.nl"
5099 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5100 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5101 ac_count
=`expr $ac_count + 1`
5102 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5103 # Best one so far, save it but keep looking for a better one
5104 ac_cv_path_GREP
="$ac_path_GREP"
5105 ac_path_GREP_max
=$ac_count
5107 # 10*(2^10) chars as input seems more than enough
5108 test $ac_count -gt 10 && break
5110 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5114 $ac_path_GREP_found && break 3
5124 GREP
="$ac_cv_path_GREP"
5125 if test -z "$GREP"; then
5126 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5127 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5128 { (exit 1); exit 1; }; }
5132 ac_cv_path_GREP
=$GREP
5137 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5138 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5139 GREP
="$ac_cv_path_GREP"
5142 { echo "$as_me:$LINENO: checking for egrep" >&5
5143 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5144 if test "${ac_cv_path_EGREP+set}" = set; then
5145 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
5148 then ac_cv_path_EGREP
="$GREP -E"
5150 # Extract the first word of "egrep" to use in msg output
5151 if test -z "$EGREP"; then
5152 set dummy
egrep; ac_prog_name
=$2
5153 if test "${ac_cv_path_EGREP+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 ac_path_EGREP_found
=false
5157 # Loop through the user's path and test for each of PROGNAME-LIST
5158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5162 test -z "$as_dir" && as_dir
=.
5163 for ac_prog
in egrep; do
5164 for ac_exec_ext
in '' $ac_executable_extensions; do
5165 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5166 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5167 # Check for GNU ac_path_EGREP and select it if it is found.
5168 # Check for GNU $ac_path_EGREP
5169 case `"$ac_path_EGREP" --version 2>&1` in
5171 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5174 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5177 cat "conftest.in" "conftest.in" >"conftest.tmp"
5178 mv "conftest.tmp" "conftest.in"
5179 cp "conftest.in" "conftest.nl"
5180 echo 'EGREP' >> "conftest.nl"
5181 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5182 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5183 ac_count
=`expr $ac_count + 1`
5184 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5185 # Best one so far, save it but keep looking for a better one
5186 ac_cv_path_EGREP
="$ac_path_EGREP"
5187 ac_path_EGREP_max
=$ac_count
5189 # 10*(2^10) chars as input seems more than enough
5190 test $ac_count -gt 10 && break
5192 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5196 $ac_path_EGREP_found && break 3
5206 EGREP
="$ac_cv_path_EGREP"
5207 if test -z "$EGREP"; then
5208 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5209 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5210 { (exit 1); exit 1; }; }
5214 ac_cv_path_EGREP
=$EGREP
5220 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5221 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5222 EGREP
="$ac_cv_path_EGREP"
5225 if test $ac_cv_c_compiler_gnu = yes; then
5226 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
5227 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
5228 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5229 echo $ECHO_N "(cached) $ECHO_C" >&6
5231 ac_pattern
="Autoconf.*'x'"
5232 cat >conftest.
$ac_ext <<_ACEOF
5235 cat confdefs.h
>>conftest.
$ac_ext
5236 cat >>conftest.
$ac_ext <<_ACEOF
5237 /* end confdefs.h. */
5241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5242 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5243 ac_cv_prog_gcc_traditional
=yes
5245 ac_cv_prog_gcc_traditional
=no
5250 if test $ac_cv_prog_gcc_traditional = no
; then
5251 cat >conftest.
$ac_ext <<_ACEOF
5254 cat confdefs.h
>>conftest.
$ac_ext
5255 cat >>conftest.
$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5261 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5262 ac_cv_prog_gcc_traditional
=yes
5268 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
5269 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
5270 if test $ac_cv_prog_gcc_traditional = yes; then
5271 CC
="$CC -traditional"
5275 # Extract the first word of "gmake", so it can be a program name with args.
5276 set dummy gmake
; ac_word
=$2
5277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5279 if test "${ac_cv_prog_MAKER+set}" = set; then
5280 echo $ECHO_N "(cached) $ECHO_C" >&6
5282 if test -n "$MAKER"; then
5283 ac_cv_prog_MAKER
="$MAKER" # Let the user override the test.
5285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5289 test -z "$as_dir" && as_dir
=.
5290 for ac_exec_ext
in '' $ac_executable_extensions; do
5291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5292 ac_cv_prog_MAKER
="gmake"
5293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 test -z "$ac_cv_prog_MAKER" && ac_cv_prog_MAKER
="make"
5303 MAKER
=$ac_cv_prog_MAKER
5304 if test -n "$MAKER"; then
5305 { echo "$as_me:$LINENO: result: $MAKER" >&5
5306 echo "${ECHO_T}$MAKER" >&6; }
5308 { echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6; }
5315 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
5318 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
5322 EXTRA_DEFINE
="-D__SOLARIS__"
5323 ANSI_SRC
="-fno-builtin"
5326 ANSI_SRC
="-fno-builtin"
5329 EXTRA_DEFINE
="-D_GNU_SOURCE"
5336 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
5339 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
5340 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
5341 if test "${ac_cv_lib_socket_socket+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 ac_check_lib_save_LIBS
=$LIBS
5345 LIBS
="-lsocket $LIBS"
5346 cat >conftest.
$ac_ext <<_ACEOF
5349 cat confdefs.h
>>conftest.
$ac_ext
5350 cat >>conftest.
$ac_ext <<_ACEOF
5351 /* end confdefs.h. */
5353 /* Override any GCC internal prototype to avoid an error.
5354 Use char because int might match the return type of a GCC
5355 builtin and then its argument prototype would still apply. */
5368 rm -f conftest.
$ac_objext conftest
$ac_exeext
5369 if { (ac_try
="$ac_link"
5371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5372 *) ac_try_echo=$ac_try;;
5374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5375 (eval "$ac_link") 2>conftest.er1
5377 grep -v '^ *+' conftest.er1 >conftest.err
5379 cat conftest.err >&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); } && {
5382 test -z "$ac_c_werror_flag" ||
5383 test ! -s conftest.err
5384 } && test -s conftest$ac_exeext &&
5385 $as_test_x conftest$ac_exeext; then
5386 ac_cv_lib_socket_socket=yes
5388 echo "$as_me: failed program was:" >&5
5389 sed 's/^/| /' conftest.$ac_ext >&5
5391 ac_cv_lib_socket_socket=no
5394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5395 conftest$ac_exeext conftest.$ac_ext
5396 LIBS=$ac_check_lib_save_LIBS
5398 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
5399 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
5400 if test $ac_cv_lib_socket_socket = yes; then
5401 cat >>confdefs.h <<_ACEOF
5402 #define HAVE_LIBSOCKET 1
5405 LIBS="-lsocket $LIBS"
5410 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5411 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
5412 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5415 ac_check_lib_save_LIBS=$LIBS
5417 cat >conftest.$ac_ext <<_ACEOF
5420 cat confdefs.h >>conftest.$ac_ext
5421 cat >>conftest.$ac_ext <<_ACEOF
5422 /* end confdefs.h. */
5424 /* Override any GCC internal prototype to avoid an error.
5425 Use char because int might match the return type of a GCC
5426 builtin and then its argument prototype would still apply. */
5430 char gethostbyname ();
5434 return gethostbyname ();
5439 rm -f conftest.$ac_objext conftest$ac_exeext
5440 if { (ac_try="$ac_link"
5442 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5443 *) ac_try_echo
=$ac_try;;
5445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5446 (eval "$ac_link") 2>conftest.er1
5448 grep -v '^ *+' conftest.er1
>conftest.err
5450 cat conftest.err
>&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); } && {
5453 test -z "$ac_c_werror_flag" ||
5454 test ! -s conftest.err
5455 } && test -s conftest
$ac_exeext &&
5456 $as_test_x conftest
$ac_exeext; then
5457 ac_cv_lib_nsl_gethostbyname
=yes
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.
$ac_ext >&5
5462 ac_cv_lib_nsl_gethostbyname
=no
5465 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5466 conftest
$ac_exeext conftest.
$ac_ext
5467 LIBS
=$ac_check_lib_save_LIBS
5469 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5470 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
5471 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5472 cat >>confdefs.h
<<_ACEOF
5473 #define HAVE_LIBNSL 1
5481 { echo "$as_me:$LINENO: checking for main in -lm" >&5
5482 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
5483 if test "${ac_cv_lib_m_main+set}" = set; then
5484 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 ac_check_lib_save_LIBS
=$LIBS
5488 cat >conftest.
$ac_ext <<_ACEOF
5491 cat confdefs.h
>>conftest.
$ac_ext
5492 cat >>conftest.
$ac_ext <<_ACEOF
5493 /* end confdefs.h. */
5504 rm -f conftest.
$ac_objext conftest
$ac_exeext
5505 if { (ac_try
="$ac_link"
5507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5508 *) ac_try_echo=$ac_try;;
5510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5511 (eval "$ac_link") 2>conftest.er1
5513 grep -v '^ *+' conftest.er1 >conftest.err
5515 cat conftest.err >&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); } && {
5518 test -z "$ac_c_werror_flag" ||
5519 test ! -s conftest.err
5520 } && test -s conftest$ac_exeext &&
5521 $as_test_x conftest$ac_exeext; then
5522 ac_cv_lib_m_main=yes
5524 echo "$as_me: failed program was:" >&5
5525 sed 's/^/| /' conftest.$ac_ext >&5
5530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5531 conftest$ac_exeext conftest.$ac_ext
5532 LIBS=$ac_check_lib_save_LIBS
5534 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
5535 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
5536 if test $ac_cv_lib_m_main = yes; then
5537 cat >>confdefs.h <<_ACEOF
5546 { echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
5547 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6; }
5548 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 ac_check_lib_save_LIBS=$LIBS
5552 LIBS="-lGeoIP $LIBS"
5553 cat >conftest.$ac_ext <<_ACEOF
5556 cat confdefs.h >>conftest.$ac_ext
5557 cat >>conftest.$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5560 /* Override any GCC internal prototype to avoid an error.
5561 Use char because int might match the return type of a GCC
5562 builtin and then its argument prototype would still apply. */
5570 return GeoIP_open ();
5575 rm -f conftest.$ac_objext conftest$ac_exeext
5576 if { (ac_try="$ac_link"
5578 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5579 *) ac_try_echo
=$ac_try;;
5581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5582 (eval "$ac_link") 2>conftest.er1
5584 grep -v '^ *+' conftest.er1
>conftest.err
5586 cat conftest.err
>&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); } && {
5589 test -z "$ac_c_werror_flag" ||
5590 test ! -s conftest.err
5591 } && test -s conftest
$ac_exeext &&
5592 $as_test_x conftest
$ac_exeext; then
5593 ac_cv_lib_GeoIP_GeoIP_open
=yes
5595 echo "$as_me: failed program was:" >&5
5596 sed 's/^/| /' conftest.
$ac_ext >&5
5598 ac_cv_lib_GeoIP_GeoIP_open
=no
5601 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5602 conftest
$ac_exeext conftest.
$ac_ext
5603 LIBS
=$ac_check_lib_save_LIBS
5605 { echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
5606 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
5607 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
5608 cat >>confdefs.h
<<_ACEOF
5609 #define HAVE_LIBGEOIP 1
5612 LIBS
="-lGeoIP $LIBS"
5617 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5618 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5619 if test "${ac_cv_header_stdc+set}" = set; then
5620 echo $ECHO_N "(cached) $ECHO_C" >&6
5622 cat >conftest.
$ac_ext <<_ACEOF
5625 cat confdefs.h
>>conftest.
$ac_ext
5626 cat >>conftest.
$ac_ext <<_ACEOF
5627 /* end confdefs.h. */
5641 rm -f conftest.
$ac_objext
5642 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
5650 grep -v '^ *+' conftest.er1 >conftest.err
5652 cat conftest.err >&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); } && {
5655 test -z "$ac_c_werror_flag" ||
5656 test ! -s conftest.err
5657 } && test -s conftest.$ac_objext; then
5658 ac_cv_header_stdc=yes
5660 echo "$as_me: failed program was:" >&5
5661 sed 's/^/| /' conftest.$ac_ext >&5
5663 ac_cv_header_stdc=no
5666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5668 if test $ac_cv_header_stdc = yes; then
5669 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5670 cat >conftest.$ac_ext <<_ACEOF
5673 cat confdefs.h >>conftest.$ac_ext
5674 cat >>conftest.$ac_ext <<_ACEOF
5675 /* end confdefs.h. */
5679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5680 $EGREP "memchr" >/dev/null 2>&1; then
5683 ac_cv_header_stdc=no
5689 if test $ac_cv_header_stdc = yes; then
5690 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5691 cat >conftest.$ac_ext <<_ACEOF
5694 cat confdefs.h >>conftest.$ac_ext
5695 cat >>conftest.$ac_ext <<_ACEOF
5696 /* end confdefs.h. */
5700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5701 $EGREP "free" >/dev/null 2>&1; then
5704 ac_cv_header_stdc=no
5710 if test $ac_cv_header_stdc = yes; then
5711 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5712 if test "$cross_compiling" = yes; then
5715 cat >conftest.$ac_ext <<_ACEOF
5718 cat confdefs.h >>conftest.$ac_ext
5719 cat >>conftest.$ac_ext <<_ACEOF
5720 /* end confdefs.h. */
5723 #if ((' ' & 0x0FF) == 0x020)
5724 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5725 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5727 # define ISLOWER(c) \
5728 (('a' <= (c) && (c) <= 'i') \
5729 || ('j' <= (c) && (c) <= 'r') \
5730 || ('s' <= (c) && (c) <= 'z'))
5731 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5734 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5739 for (i = 0; i < 256; i++)
5740 if (XOR (islower (i), ISLOWER (i))
5741 || toupper (i) != TOUPPER (i))
5746 rm -f conftest$ac_exeext
5747 if { (ac_try="$ac_link"
5749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5750 *) ac_try_echo
=$ac_try;;
5752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5753 (eval "$ac_link") 2>&5
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5757 { (case "(($ac_try" in
5758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5759 *) ac_try_echo=$ac_try;;
5761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5762 (eval "$ac_try") 2>&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; }; then
5768 echo "$as_me: program exited with status $ac_status" >&5
5769 echo "$as_me: failed program was:" >&5
5770 sed 's/^/| /' conftest.$ac_ext >&5
5773 ac_cv_header_stdc=no
5775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5781 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5782 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5783 if test $ac_cv_header_stdc = yes; then
5785 cat >>confdefs.h <<\_ACEOF
5786 #define STDC_HEADERS 1
5792 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5793 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5794 if test "${ac_cv_header_time+set}" = set; then
5795 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 cat >conftest.$ac_ext <<_ACEOF
5800 cat confdefs.h >>conftest.$ac_ext
5801 cat >>conftest.$ac_ext <<_ACEOF
5802 /* end confdefs.h. */
5803 #include <sys/types.h>
5804 #include <sys/time.h>
5810 if ((struct tm *) 0)
5816 rm -f conftest.$ac_objext
5817 if { (ac_try="$ac_compile"
5819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5820 *) ac_try_echo
=$ac_try;;
5822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5823 (eval "$ac_compile") 2>conftest.er1
5825 grep -v '^ *+' conftest.er1
>conftest.err
5827 cat conftest.err
>&5
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); } && {
5830 test -z "$ac_c_werror_flag" ||
5831 test ! -s conftest.err
5832 } && test -s conftest.
$ac_objext; then
5833 ac_cv_header_time
=yes
5835 echo "$as_me: failed program was:" >&5
5836 sed 's/^/| /' conftest.
$ac_ext >&5
5838 ac_cv_header_time
=no
5841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5843 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5844 echo "${ECHO_T}$ac_cv_header_time" >&6; }
5845 if test $ac_cv_header_time = yes; then
5847 cat >>confdefs.h
<<\_ACEOF
5848 #define TIME_WITH_SYS_TIME 1
5853 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5854 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5855 if test "${ac_cv_struct_tm+set}" = set; then
5856 echo $ECHO_N "(cached) $ECHO_C" >&6
5858 cat >conftest.
$ac_ext <<_ACEOF
5861 cat confdefs.h
>>conftest.
$ac_ext
5862 cat >>conftest.
$ac_ext <<_ACEOF
5863 /* end confdefs.h. */
5864 #include <sys/types.h>
5871 int *p = &tm.tm_sec;
5877 rm -f conftest.
$ac_objext
5878 if { (ac_try
="$ac_compile"
5880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5881 *) ac_try_echo=$ac_try;;
5883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5884 (eval "$ac_compile") 2>conftest.er1
5886 grep -v '^ *+' conftest.er1 >conftest.err
5888 cat conftest.err >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } && {
5891 test -z "$ac_c_werror_flag" ||
5892 test ! -s conftest.err
5893 } && test -s conftest.$ac_objext; then
5894 ac_cv_struct_tm=time.h
5896 echo "$as_me: failed program was:" >&5
5897 sed 's/^/| /' conftest.$ac_ext >&5
5899 ac_cv_struct_tm=sys/time.h
5902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5904 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5905 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5906 if test $ac_cv_struct_tm = sys/time.h; then
5908 cat >>confdefs.h <<\_ACEOF
5909 #define TM_IN_SYS_TIME 1
5915 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5925 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5926 inttypes.h stdint.h unistd.h
5928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5929 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5931 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5932 echo $ECHO_N "(cached) $ECHO_C" >&6
5934 cat >conftest.$ac_ext <<_ACEOF
5937 cat confdefs.h >>conftest.$ac_ext
5938 cat >>conftest.$ac_ext <<_ACEOF
5939 /* end confdefs.h. */
5940 $ac_includes_default
5942 #include <$ac_header>
5944 rm -f conftest.$ac_objext
5945 if { (ac_try="$ac_compile"
5947 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5948 *) ac_try_echo
=$ac_try;;
5950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5951 (eval "$ac_compile") 2>conftest.er1
5953 grep -v '^ *+' conftest.er1
>conftest.err
5955 cat conftest.err
>&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); } && {
5958 test -z "$ac_c_werror_flag" ||
5959 test ! -s conftest.err
5960 } && test -s conftest.
$ac_objext; then
5961 eval "$as_ac_Header=yes"
5963 echo "$as_me: failed program was:" >&5
5964 sed 's/^/| /' conftest.
$ac_ext >&5
5966 eval "$as_ac_Header=no"
5969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5971 ac_res
=`eval echo '${'$as_ac_Header'}'`
5972 { echo "$as_me:$LINENO: result: $ac_res" >&5
5973 echo "${ECHO_T}$ac_res" >&6; }
5974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5975 cat >>confdefs.h
<<_ACEOF
5976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6007 for ac_header
in GeoIP.h GeoIPCity.h fcntl.h math.h tgmath.h malloc.h netdb.h netinet
/in.h sys
/resource.h sys
/timeb.h sys
/times.h sys
/param.h sys
/socket.h sys
/time.h sys
/types.h sys
/wait.h unistd.h getopt.h memory.h arpa
/inet.h sys
/mman.h sys
/stat.h dirent.h
6009 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6010 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6011 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6013 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 ac_res
=`eval echo '${'$as_ac_Header'}'`
6017 { echo "$as_me:$LINENO: result: $ac_res" >&5
6018 echo "${ECHO_T}$ac_res" >&6; }
6020 # Is the header compilable?
6021 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6023 cat >conftest.
$ac_ext <<_ACEOF
6026 cat confdefs.h
>>conftest.
$ac_ext
6027 cat >>conftest.
$ac_ext <<_ACEOF
6028 /* end confdefs.h. */
6029 $ac_includes_default
6030 #include <$ac_header>
6032 rm -f conftest.
$ac_objext
6033 if { (ac_try
="$ac_compile"
6035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6036 *) ac_try_echo=$ac_try;;
6038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6039 (eval "$ac_compile") 2>conftest.er1
6041 grep -v '^ *+' conftest.er1 >conftest.err
6043 cat conftest.err >&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); } && {
6046 test -z "$ac_c_werror_flag" ||
6047 test ! -s conftest.err
6048 } && test -s conftest.$ac_objext; then
6049 ac_header_compiler=yes
6051 echo "$as_me: failed program was:" >&5
6052 sed 's/^/| /' conftest.$ac_ext >&5
6054 ac_header_compiler=no
6057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6058 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6059 echo "${ECHO_T}$ac_header_compiler" >&6; }
6061 # Is the header present?
6062 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6063 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6064 cat >conftest.$ac_ext <<_ACEOF
6067 cat confdefs.h >>conftest.$ac_ext
6068 cat >>conftest.$ac_ext <<_ACEOF
6069 /* end confdefs.h. */
6070 #include <$ac_header>
6072 if { (ac_try="$ac_cpp conftest.$ac_ext"
6074 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6075 *) ac_try_echo
=$ac_try;;
6077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6080 grep -v '^ *+' conftest.er1
>conftest.err
6082 cat conftest.err
>&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); } >/dev
/null
&& {
6085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6086 test ! -s conftest.err
6088 ac_header_preproc
=yes
6090 echo "$as_me: failed program was:" >&5
6091 sed 's/^/| /' conftest.
$ac_ext >&5
6093 ac_header_preproc
=no
6096 rm -f conftest.err conftest.
$ac_ext
6097 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6098 echo "${ECHO_T}$ac_header_preproc" >&6; }
6100 # So? What about this header?
6101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6103 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6104 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6106 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6107 ac_header_preproc
=yes
6110 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6111 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6112 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6113 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6114 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6115 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6116 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6117 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6119 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6120 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6121 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6123 ## -------------------------------------------------- ##
6124 ## Report this to evilnet-devel@lists.sourceforge.net ##
6125 ## -------------------------------------------------- ##
6127 ) | sed "s/^/$as_me: WARNING: /" >&2
6130 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6132 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6133 echo $ECHO_N "(cached) $ECHO_C" >&6
6135 eval "$as_ac_Header=\$ac_header_preproc"
6137 ac_res
=`eval echo '${'$as_ac_Header'}'`
6138 { echo "$as_me:$LINENO: result: $ac_res" >&5
6139 echo "${ECHO_T}$ac_res" >&6; }
6142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6143 cat >>confdefs.h
<<_ACEOF
6144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6152 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
6153 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
6154 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
6155 echo $ECHO_N "(cached) $ECHO_C" >&6
6157 cat >conftest.
$ac_ext <<_ACEOF
6160 cat confdefs.h
>>conftest.
$ac_ext
6161 cat >>conftest.
$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6163 #include <sys/types.h>
6164 #include <sys/socket.h>
6169 static struct sockaddr ac_aggr;
6176 rm -f conftest.
$ac_objext
6177 if { (ac_try
="$ac_compile"
6179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6180 *) ac_try_echo=$ac_try;;
6182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6183 (eval "$ac_compile") 2>conftest.er1
6185 grep -v '^ *+' conftest.er1 >conftest.err
6187 cat conftest.err >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); } && {
6190 test -z "$ac_c_werror_flag" ||
6191 test ! -s conftest.err
6192 } && test -s conftest.$ac_objext; then
6193 ac_cv_member_struct_sockaddr_sa_len=yes
6195 echo "$as_me: failed program was:" >&5
6196 sed 's/^/| /' conftest.$ac_ext >&5
6198 cat >conftest.$ac_ext <<_ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
6203 /* end confdefs.h. */
6204 #include <sys/types.h>
6205 #include <sys/socket.h>
6210 static struct sockaddr ac_aggr;
6211 if (sizeof ac_aggr.sa_len)
6217 rm -f conftest.$ac_objext
6218 if { (ac_try="$ac_compile"
6220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6221 *) ac_try_echo
=$ac_try;;
6223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6224 (eval "$ac_compile") 2>conftest.er1
6226 grep -v '^ *+' conftest.er1
>conftest.err
6228 cat conftest.err
>&5
6229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6230 (exit $ac_status); } && {
6231 test -z "$ac_c_werror_flag" ||
6232 test ! -s conftest.err
6233 } && test -s conftest.
$ac_objext; then
6234 ac_cv_member_struct_sockaddr_sa_len
=yes
6236 echo "$as_me: failed program was:" >&5
6237 sed 's/^/| /' conftest.
$ac_ext >&5
6239 ac_cv_member_struct_sockaddr_sa_len
=no
6242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6247 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
6248 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
6249 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
6251 cat >>confdefs.h
<<\_ACEOF
6252 #define HAVE_SOCKADDR_SA_LEN
6257 { echo "$as_me:$LINENO: checking for struct addrinfo.ai_flags" >&5
6258 echo $ECHO_N "checking for struct addrinfo.ai_flags... $ECHO_C" >&6; }
6259 if test "${ac_cv_member_struct_addrinfo_ai_flags+set}" = set; then
6260 echo $ECHO_N "(cached) $ECHO_C" >&6
6262 cat >conftest.
$ac_ext <<_ACEOF
6265 cat confdefs.h
>>conftest.
$ac_ext
6266 cat >>conftest.
$ac_ext <<_ACEOF
6267 /* end confdefs.h. */
6268 #include <sys/types.h>
6269 #include <sys/socket.h>
6275 static struct addrinfo ac_aggr;
6276 if (ac_aggr.ai_flags)
6282 rm -f conftest.
$ac_objext
6283 if { (ac_try
="$ac_compile"
6285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6286 *) ac_try_echo=$ac_try;;
6288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6289 (eval "$ac_compile") 2>conftest.er1
6291 grep -v '^ *+' conftest.er1 >conftest.err
6293 cat conftest.err >&5
6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295 (exit $ac_status); } && {
6296 test -z "$ac_c_werror_flag" ||
6297 test ! -s conftest.err
6298 } && test -s conftest.$ac_objext; then
6299 ac_cv_member_struct_addrinfo_ai_flags=yes
6301 echo "$as_me: failed program was:" >&5
6302 sed 's/^/| /' conftest.$ac_ext >&5
6304 cat >conftest.$ac_ext <<_ACEOF
6307 cat confdefs.h >>conftest.$ac_ext
6308 cat >>conftest.$ac_ext <<_ACEOF
6309 /* end confdefs.h. */
6310 #include <sys/types.h>
6311 #include <sys/socket.h>
6317 static struct addrinfo ac_aggr;
6318 if (sizeof ac_aggr.ai_flags)
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 test -z "$ac_c_werror_flag" ||
6339 test ! -s conftest.err
6340 } && test -s conftest.
$ac_objext; then
6341 ac_cv_member_struct_addrinfo_ai_flags
=yes
6343 echo "$as_me: failed program was:" >&5
6344 sed 's/^/| /' conftest.
$ac_ext >&5
6346 ac_cv_member_struct_addrinfo_ai_flags
=no
6349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6354 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_addrinfo_ai_flags" >&5
6355 echo "${ECHO_T}$ac_cv_member_struct_addrinfo_ai_flags" >&6; }
6356 if test $ac_cv_member_struct_addrinfo_ai_flags = yes; then
6358 cat >>confdefs.h
<<\_ACEOF
6359 #define HAVE_STRUCT_ADDRINFO
6366 for ac_func
in gettimeofday
6368 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6369 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6371 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6372 echo $ECHO_N "(cached) $ECHO_C" >&6
6374 cat >conftest.
$ac_ext <<_ACEOF
6377 cat confdefs.h
>>conftest.
$ac_ext
6378 cat >>conftest.
$ac_ext <<_ACEOF
6379 /* end confdefs.h. */
6380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6382 #define $ac_func innocuous_$ac_func
6384 /* System header to define __stub macros and hopefully few prototypes,
6385 which can conflict with char $ac_func (); below.
6386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6387 <limits.h> exists even on freestanding compilers. */
6390 # include <limits.h>
6392 # include <assert.h>
6397 /* Override any GCC internal prototype to avoid an error.
6398 Use char because int might match the return type of a GCC
6399 builtin and then its argument prototype would still apply. */
6404 /* The GNU C library defines this for functions which it implements
6405 to always fail with ENOSYS. Some functions are actually named
6406 something starting with __ and the normal name is an alias. */
6407 #if defined __stub_$ac_func || defined __stub___$ac_func
6419 rm -f conftest.
$ac_objext conftest
$ac_exeext
6420 if { (ac_try
="$ac_link"
6422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6423 *) ac_try_echo=$ac_try;;
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426 (eval "$ac_link") 2>conftest.er1
6428 grep -v '^ *+' conftest.er1 >conftest.err
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } && {
6433 test -z "$ac_c_werror_flag" ||
6434 test ! -s conftest.err
6435 } && test -s conftest$ac_exeext &&
6436 $as_test_x conftest$ac_exeext; then
6437 eval "$as_ac_var=yes"
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 eval "$as_ac_var=no"
6445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6446 conftest$ac_exeext conftest.$ac_ext
6448 ac_res=`eval echo '${'$as_ac_var'}'`
6449 { echo "$as_me:$LINENO: result: $ac_res" >&5
6450 echo "${ECHO_T}$ac_res" >&6; }
6451 if test `eval echo '${'$as_ac_var'}'` = yes; then
6452 cat >>confdefs.h <<_ACEOF
6453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6459 if test $ac_cv_func_gettimeofday = no; then
6461 for ac_func in ftime
6463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6464 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6466 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 cat >conftest.$ac_ext <<_ACEOF
6472 cat confdefs.h >>conftest.$ac_ext
6473 cat >>conftest.$ac_ext <<_ACEOF
6474 /* end confdefs.h. */
6475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6477 #define $ac_func innocuous_$ac_func
6479 /* System header to define __stub macros and hopefully few prototypes,
6480 which can conflict with char $ac_func (); below.
6481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6482 <limits.h> exists even on freestanding compilers. */
6485 # include <limits.h>
6487 # include <assert.h>
6492 /* Override any GCC internal prototype to avoid an error.
6493 Use char because int might match the return type of a GCC
6494 builtin and then its argument prototype would still apply. */
6499 /* The GNU C library defines this for functions which it implements
6500 to always fail with ENOSYS. Some functions are actually named
6501 something starting with __ and the normal name is an alias. */
6502 #if defined __stub_$ac_func || defined __stub___$ac_func
6514 rm -f conftest.$ac_objext conftest$ac_exeext
6515 if { (ac_try="$ac_link"
6517 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6518 *) ac_try_echo
=$ac_try;;
6520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6521 (eval "$ac_link") 2>conftest.er1
6523 grep -v '^ *+' conftest.er1
>conftest.err
6525 cat conftest.err
>&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); } && {
6528 test -z "$ac_c_werror_flag" ||
6529 test ! -s conftest.err
6530 } && test -s conftest
$ac_exeext &&
6531 $as_test_x conftest
$ac_exeext; then
6532 eval "$as_ac_var=yes"
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.
$ac_ext >&5
6537 eval "$as_ac_var=no"
6540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6541 conftest
$ac_exeext conftest.
$ac_ext
6543 ac_res
=`eval echo '${'$as_ac_var'}'`
6544 { echo "$as_me:$LINENO: result: $ac_res" >&5
6545 echo "${ECHO_T}$ac_res" >&6; }
6546 if test `eval echo '${'$as_ac_var'}'` = yes; then
6547 cat >>confdefs.h
<<_ACEOF
6548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6552 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. X3 build will fail." >&5
6553 echo "$as_me: error: ftime or gettimeofday required. X3 build will fail." >&2;}
6554 { (exit 1); exit 1; }; }
6574 for ac_func
in freeaddrinfo getaddrinfo getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long sysconf
6576 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6577 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6579 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 cat >conftest.
$ac_ext <<_ACEOF
6585 cat confdefs.h
>>conftest.
$ac_ext
6586 cat >>conftest.
$ac_ext <<_ACEOF
6587 /* end confdefs.h. */
6588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6590 #define $ac_func innocuous_$ac_func
6592 /* System header to define __stub macros and hopefully few prototypes,
6593 which can conflict with char $ac_func (); below.
6594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6595 <limits.h> exists even on freestanding compilers. */
6598 # include <limits.h>
6600 # include <assert.h>
6605 /* Override any GCC internal prototype to avoid an error.
6606 Use char because int might match the return type of a GCC
6607 builtin and then its argument prototype would still apply. */
6612 /* The GNU C library defines this for functions which it implements
6613 to always fail with ENOSYS. Some functions are actually named
6614 something starting with __ and the normal name is an alias. */
6615 #if defined __stub_$ac_func || defined __stub___$ac_func
6627 rm -f conftest.
$ac_objext conftest
$ac_exeext
6628 if { (ac_try
="$ac_link"
6630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6631 *) ac_try_echo=$ac_try;;
6633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6634 (eval "$ac_link") 2>conftest.er1
6636 grep -v '^ *+' conftest.er1 >conftest.err
6638 cat conftest.err >&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); } && {
6641 test -z "$ac_c_werror_flag" ||
6642 test ! -s conftest.err
6643 } && test -s conftest$ac_exeext &&
6644 $as_test_x conftest$ac_exeext; then
6645 eval "$as_ac_var=yes"
6647 echo "$as_me: failed program was:" >&5
6648 sed 's/^/| /' conftest.$ac_ext >&5
6650 eval "$as_ac_var=no"
6653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6654 conftest$ac_exeext conftest.$ac_ext
6656 ac_res=`eval echo '${'$as_ac_var'}'`
6657 { echo "$as_me:$LINENO: result: $ac_res" >&5
6658 echo "${ECHO_T}$ac_res" >&6; }
6659 if test `eval echo '${'$as_ac_var'}'` = yes; then
6660 cat >>confdefs.h <<_ACEOF
6661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6674 for ac_func in select socket strcspn strspn strtod strtoul
6676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6677 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6679 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6680 echo $ECHO_N "(cached) $ECHO_C" >&6
6682 cat >conftest.$ac_ext <<_ACEOF
6685 cat confdefs.h >>conftest.$ac_ext
6686 cat >>conftest.$ac_ext <<_ACEOF
6687 /* end confdefs.h. */
6688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6690 #define $ac_func innocuous_$ac_func
6692 /* System header to define __stub macros and hopefully few prototypes,
6693 which can conflict with char $ac_func (); below.
6694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6695 <limits.h> exists even on freestanding compilers. */
6698 # include <limits.h>
6700 # include <assert.h>
6705 /* Override any GCC internal prototype to avoid an error.
6706 Use char because int might match the return type of a GCC
6707 builtin and then its argument prototype would still apply. */
6712 /* The GNU C library defines this for functions which it implements
6713 to always fail with ENOSYS. Some functions are actually named
6714 something starting with __ and the normal name is an alias. */
6715 #if defined __stub_$ac_func || defined __stub___$ac_func
6727 rm -f conftest.$ac_objext conftest$ac_exeext
6728 if { (ac_try="$ac_link"
6730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6731 *) ac_try_echo
=$ac_try;;
6733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6734 (eval "$ac_link") 2>conftest.er1
6736 grep -v '^ *+' conftest.er1
>conftest.err
6738 cat conftest.err
>&5
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); } && {
6741 test -z "$ac_c_werror_flag" ||
6742 test ! -s conftest.err
6743 } && test -s conftest
$ac_exeext &&
6744 $as_test_x conftest
$ac_exeext; then
6745 eval "$as_ac_var=yes"
6747 echo "$as_me: failed program was:" >&5
6748 sed 's/^/| /' conftest.
$ac_ext >&5
6750 eval "$as_ac_var=no"
6753 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6754 conftest
$ac_exeext conftest.
$ac_ext
6756 ac_res
=`eval echo '${'$as_ac_var'}'`
6757 { echo "$as_me:$LINENO: result: $ac_res" >&5
6758 echo "${ECHO_T}$ac_res" >&6; }
6759 if test `eval echo '${'$as_ac_var'}'` = yes; then
6760 cat >>confdefs.h
<<_ACEOF
6761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6765 { { echo "$as_me:$LINENO: error: a required function was not found. X3 build will fail." >&5
6766 echo "$as_me: error: a required function was not found. X3 build will fail." >&2;}
6767 { (exit 1); exit 1; }; }
6772 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6773 # for constant arguments. Useless!
6774 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
6775 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6776 if test "${ac_cv_working_alloca_h+set}" = set; then
6777 echo $ECHO_N "(cached) $ECHO_C" >&6
6779 cat >conftest.
$ac_ext <<_ACEOF
6782 cat confdefs.h
>>conftest.
$ac_ext
6783 cat >>conftest.
$ac_ext <<_ACEOF
6784 /* end confdefs.h. */
6789 char *p = (char *) alloca (2 * sizeof (int));
6795 rm -f conftest.
$ac_objext conftest
$ac_exeext
6796 if { (ac_try
="$ac_link"
6798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6799 *) ac_try_echo=$ac_try;;
6801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6802 (eval "$ac_link") 2>conftest.er1
6804 grep -v '^ *+' conftest.er1 >conftest.err
6806 cat conftest.err >&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); } && {
6809 test -z "$ac_c_werror_flag" ||
6810 test ! -s conftest.err
6811 } && test -s conftest$ac_exeext &&
6812 $as_test_x conftest$ac_exeext; then
6813 ac_cv_working_alloca_h=yes
6815 echo "$as_me: failed program was:" >&5
6816 sed 's/^/| /' conftest.$ac_ext >&5
6818 ac_cv_working_alloca_h=no
6821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6822 conftest$ac_exeext conftest.$ac_ext
6824 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6825 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6826 if test $ac_cv_working_alloca_h = yes; then
6828 cat >>confdefs.h <<\_ACEOF
6829 #define HAVE_ALLOCA_H 1
6834 { echo "$as_me:$LINENO: checking for alloca" >&5
6835 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6836 if test "${ac_cv_func_alloca_works+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6839 cat >conftest.$ac_ext <<_ACEOF
6842 cat confdefs.h >>conftest.$ac_ext
6843 cat >>conftest.$ac_ext <<_ACEOF
6844 /* end confdefs.h. */
6846 # define alloca __builtin_alloca
6849 # include <malloc.h>
6850 # define alloca _alloca
6852 # ifdef HAVE_ALLOCA_H
6853 # include <alloca.h>
6858 # ifndef alloca /* predefined by HP cc +Olibcalls */
6869 char *p = (char *) alloca (1);
6875 rm -f conftest.$ac_objext conftest$ac_exeext
6876 if { (ac_try="$ac_link"
6878 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6879 *) ac_try_echo
=$ac_try;;
6881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6882 (eval "$ac_link") 2>conftest.er1
6884 grep -v '^ *+' conftest.er1
>conftest.err
6886 cat conftest.err
>&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); } && {
6889 test -z "$ac_c_werror_flag" ||
6890 test ! -s conftest.err
6891 } && test -s conftest
$ac_exeext &&
6892 $as_test_x conftest
$ac_exeext; then
6893 ac_cv_func_alloca_works
=yes
6895 echo "$as_me: failed program was:" >&5
6896 sed 's/^/| /' conftest.
$ac_ext >&5
6898 ac_cv_func_alloca_works
=no
6901 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6902 conftest
$ac_exeext conftest.
$ac_ext
6904 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6905 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
6907 if test $ac_cv_func_alloca_works = yes; then
6909 cat >>confdefs.h
<<\_ACEOF
6910 #define HAVE_ALLOCA 1
6914 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6915 # that cause trouble. Some versions do not even contain alloca or
6916 # contain a buggy version. If you still want to use their alloca,
6917 # use ar to extract alloca.o from them instead of compiling alloca.c.
6919 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6921 cat >>confdefs.h
<<\_ACEOF
6926 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6927 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
6928 if test "${ac_cv_os_cray+set}" = set; then
6929 echo $ECHO_N "(cached) $ECHO_C" >&6
6931 cat >conftest.
$ac_ext <<_ACEOF
6934 cat confdefs.h
>>conftest.
$ac_ext
6935 cat >>conftest.
$ac_ext <<_ACEOF
6936 /* end confdefs.h. */
6937 #if defined CRAY && ! defined CRAY2
6944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6945 $EGREP "webecray" >/dev
/null
2>&1; then
6953 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6954 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6955 if test $ac_cv_os_cray = yes; then
6956 for ac_func
in _getb67 GETB67 getb67
; do
6957 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6958 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6960 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6961 echo $ECHO_N "(cached) $ECHO_C" >&6
6963 cat >conftest.
$ac_ext <<_ACEOF
6966 cat confdefs.h
>>conftest.
$ac_ext
6967 cat >>conftest.
$ac_ext <<_ACEOF
6968 /* end confdefs.h. */
6969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6971 #define $ac_func innocuous_$ac_func
6973 /* System header to define __stub macros and hopefully few prototypes,
6974 which can conflict with char $ac_func (); below.
6975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6976 <limits.h> exists even on freestanding compilers. */
6979 # include <limits.h>
6981 # include <assert.h>
6986 /* Override any GCC internal prototype to avoid an error.
6987 Use char because int might match the return type of a GCC
6988 builtin and then its argument prototype would still apply. */
6993 /* The GNU C library defines this for functions which it implements
6994 to always fail with ENOSYS. Some functions are actually named
6995 something starting with __ and the normal name is an alias. */
6996 #if defined __stub_$ac_func || defined __stub___$ac_func
7008 rm -f conftest.
$ac_objext conftest
$ac_exeext
7009 if { (ac_try
="$ac_link"
7011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7012 *) ac_try_echo=$ac_try;;
7014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7015 (eval "$ac_link") 2>conftest.er1
7017 grep -v '^ *+' conftest.er1 >conftest.err
7019 cat conftest.err >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); } && {
7022 test -z "$ac_c_werror_flag" ||
7023 test ! -s conftest.err
7024 } && test -s conftest$ac_exeext &&
7025 $as_test_x conftest$ac_exeext; then
7026 eval "$as_ac_var=yes"
7028 echo "$as_me: failed program was:" >&5
7029 sed 's/^/| /' conftest.$ac_ext >&5
7031 eval "$as_ac_var=no"
7034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7035 conftest$ac_exeext conftest.$ac_ext
7037 ac_res=`eval echo '${'$as_ac_var'}'`
7038 { echo "$as_me:$LINENO: result: $ac_res" >&5
7039 echo "${ECHO_T}$ac_res" >&6; }
7040 if test `eval echo '${'$as_ac_var'}'` = yes; then
7042 cat >>confdefs.h <<_ACEOF
7043 #define CRAY_STACKSEG_END $ac_func
7052 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7053 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
7054 if test "${ac_cv_c_stack_direction+set}" = set; then
7055 echo $ECHO_N "(cached) $ECHO_C" >&6
7057 if test "$cross_compiling" = yes; then
7058 ac_cv_c_stack_direction=0
7060 cat >conftest.$ac_ext <<_ACEOF
7063 cat confdefs.h >>conftest.$ac_ext
7064 cat >>conftest.$ac_ext <<_ACEOF
7065 /* end confdefs.h. */
7066 $ac_includes_default
7068 find_stack_direction ()
7070 static char *addr = 0;
7075 return find_stack_direction ();
7078 return (&dummy > addr) ? 1 : -1;
7084 return find_stack_direction () < 0;
7087 rm -f conftest$ac_exeext
7088 if { (ac_try="$ac_link"
7090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7091 *) ac_try_echo
=$ac_try;;
7093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7094 (eval "$ac_link") 2>&5
7096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7098 { (case "(($ac_try" in
7099 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7100 *) ac_try_echo=$ac_try;;
7102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7103 (eval "$ac_try") 2>&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; }; then
7107 ac_cv_c_stack_direction=1
7109 echo "$as_me: program exited with status $ac_status" >&5
7110 echo "$as_me: failed program was:" >&5
7111 sed 's/^/| /' conftest.$ac_ext >&5
7114 ac_cv_c_stack_direction=-1
7116 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7121 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7122 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
7124 cat >>confdefs.h <<_ACEOF
7125 #define STACK_DIRECTION $ac_cv_c_stack_direction
7133 for ac_header in stdlib.h unistd.h
7135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7137 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7139 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7140 echo $ECHO_N "(cached) $ECHO_C" >&6
7142 ac_res=`eval echo '${'$as_ac_Header'}'`
7143 { echo "$as_me:$LINENO: result: $ac_res" >&5
7144 echo "${ECHO_T}$ac_res" >&6; }
7146 # Is the header compilable?
7147 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7149 cat >conftest.$ac_ext <<_ACEOF
7152 cat confdefs.h >>conftest.$ac_ext
7153 cat >>conftest.$ac_ext <<_ACEOF
7154 /* end confdefs.h. */
7155 $ac_includes_default
7156 #include <$ac_header>
7158 rm -f conftest.$ac_objext
7159 if { (ac_try="$ac_compile"
7161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7162 *) ac_try_echo
=$ac_try;;
7164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7165 (eval "$ac_compile") 2>conftest.er1
7167 grep -v '^ *+' conftest.er1
>conftest.err
7169 cat conftest.err
>&5
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); } && {
7172 test -z "$ac_c_werror_flag" ||
7173 test ! -s conftest.err
7174 } && test -s conftest.
$ac_objext; then
7175 ac_header_compiler
=yes
7177 echo "$as_me: failed program was:" >&5
7178 sed 's/^/| /' conftest.
$ac_ext >&5
7180 ac_header_compiler
=no
7183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7184 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7185 echo "${ECHO_T}$ac_header_compiler" >&6; }
7187 # Is the header present?
7188 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7190 cat >conftest.
$ac_ext <<_ACEOF
7193 cat confdefs.h
>>conftest.
$ac_ext
7194 cat >>conftest.
$ac_ext <<_ACEOF
7195 /* end confdefs.h. */
7196 #include <$ac_header>
7198 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7201 *) ac_try_echo=$ac_try;;
7203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7206 grep -v '^ *+' conftest.er1 >conftest.err
7208 cat conftest.err >&5
7209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210 (exit $ac_status); } >/dev/null && {
7211 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7212 test ! -s conftest.err
7214 ac_header_preproc=yes
7216 echo "$as_me: failed program was:" >&5
7217 sed 's/^/| /' conftest.$ac_ext >&5
7219 ac_header_preproc=no
7222 rm -f conftest.err conftest.$ac_ext
7223 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7224 echo "${ECHO_T}$ac_header_preproc" >&6; }
7226 # So? What about this header?
7227 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7229 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7230 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7232 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7233 ac_header_preproc=yes
7236 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7237 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7238 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7239 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7240 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7241 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7242 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7243 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7245 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7246 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7247 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7249 ## -------------------------------------------------- ##
7250 ## Report this to evilnet-devel@lists.sourceforge.net ##
7251 ## -------------------------------------------------- ##
7253 ) | sed "s/^/$as_me: WARNING: /" >&2
7256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7259 echo $ECHO_N "(cached) $ECHO_C" >&6
7261 eval "$as_ac_Header=\$ac_header_preproc"
7263 ac_res=`eval echo '${'$as_ac_Header'}'`
7264 { echo "$as_me:$LINENO: result: $ac_res" >&5
7265 echo "${ECHO_T}$ac_res" >&6; }
7268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7269 cat >>confdefs.h <<_ACEOF
7270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7278 for ac_func in getpagesize
7280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7281 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7283 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7284 echo $ECHO_N "(cached) $ECHO_C" >&6
7286 cat >conftest.$ac_ext <<_ACEOF
7289 cat confdefs.h >>conftest.$ac_ext
7290 cat >>conftest.$ac_ext <<_ACEOF
7291 /* end confdefs.h. */
7292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7294 #define $ac_func innocuous_$ac_func
7296 /* System header to define __stub macros and hopefully few prototypes,
7297 which can conflict with char $ac_func (); below.
7298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7299 <limits.h> exists even on freestanding compilers. */
7302 # include <limits.h>
7304 # include <assert.h>
7309 /* Override any GCC internal prototype to avoid an error.
7310 Use char because int might match the return type of a GCC
7311 builtin and then its argument prototype would still apply. */
7316 /* The GNU C library defines this for functions which it implements
7317 to always fail with ENOSYS. Some functions are actually named
7318 something starting with __ and the normal name is an alias. */
7319 #if defined __stub_$ac_func || defined __stub___$ac_func
7331 rm -f conftest.$ac_objext conftest$ac_exeext
7332 if { (ac_try="$ac_link"
7334 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7335 *) ac_try_echo
=$ac_try;;
7337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7338 (eval "$ac_link") 2>conftest.er1
7340 grep -v '^ *+' conftest.er1
>conftest.err
7342 cat conftest.err
>&5
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); } && {
7345 test -z "$ac_c_werror_flag" ||
7346 test ! -s conftest.err
7347 } && test -s conftest
$ac_exeext &&
7348 $as_test_x conftest
$ac_exeext; then
7349 eval "$as_ac_var=yes"
7351 echo "$as_me: failed program was:" >&5
7352 sed 's/^/| /' conftest.
$ac_ext >&5
7354 eval "$as_ac_var=no"
7357 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7358 conftest
$ac_exeext conftest.
$ac_ext
7360 ac_res
=`eval echo '${'$as_ac_var'}'`
7361 { echo "$as_me:$LINENO: result: $ac_res" >&5
7362 echo "${ECHO_T}$ac_res" >&6; }
7363 if test `eval echo '${'$as_ac_var'}'` = yes; then
7364 cat >>confdefs.h
<<_ACEOF
7365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7371 { echo "$as_me:$LINENO: checking for working mmap" >&5
7372 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7373 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7374 echo $ECHO_N "(cached) $ECHO_C" >&6
7376 if test "$cross_compiling" = yes; then
7377 ac_cv_func_mmap_fixed_mapped
=no
7379 cat >conftest.
$ac_ext <<_ACEOF
7382 cat confdefs.h
>>conftest.
$ac_ext
7383 cat >>conftest.
$ac_ext <<_ACEOF
7384 /* end confdefs.h. */
7385 $ac_includes_default
7386 /* malloc might have been renamed as rpl_malloc. */
7389 /* Thanks to Mike Haertel and Jim Avera for this test.
7390 Here is a matrix of mmap possibilities:
7391 mmap private not fixed
7392 mmap private fixed at somewhere currently unmapped
7393 mmap private fixed at somewhere already mapped
7394 mmap shared not fixed
7395 mmap shared fixed at somewhere currently unmapped
7396 mmap shared fixed at somewhere already mapped
7397 For private mappings, we should verify that changes cannot be read()
7398 back from the file, nor mmap's back from the file at a different
7399 address. (There have been systems where private was not correctly
7400 implemented like the infamous i386 svr4.0, and systems where the
7401 VM page cache was not coherent with the file system buffer cache
7402 like early versions of FreeBSD and possibly contemporary NetBSD.)
7403 For shared mappings, we should conversely verify that changes get
7404 propagated back to all the places they're supposed to be.
7406 Grep wants private fixed already mapped.
7407 The main things grep needs to know about mmap are:
7408 * does it exist and is it safe to write into the mmap'd area
7409 * how to use it (BSD variants) */
7412 #include <sys/mman.h>
7414 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7418 /* This mess was copied from the GNU getpagesize.h. */
7419 #ifndef HAVE_GETPAGESIZE
7420 /* Assume that all systems that can run configure have sys/param.h. */
7421 # ifndef HAVE_SYS_PARAM_H
7422 # define HAVE_SYS_PARAM_H 1
7425 # ifdef _SC_PAGESIZE
7426 # define getpagesize() sysconf(_SC_PAGESIZE)
7427 # else /* no _SC_PAGESIZE */
7428 # ifdef HAVE_SYS_PARAM_H
7429 # include <sys/param.h>
7430 # ifdef EXEC_PAGESIZE
7431 # define getpagesize() EXEC_PAGESIZE
7432 # else /* no EXEC_PAGESIZE */
7434 # define getpagesize() NBPG * CLSIZE
7437 # endif /* no CLSIZE */
7438 # else /* no NBPG */
7440 # define getpagesize() NBPC
7441 # else /* no NBPC */
7443 # define getpagesize() PAGESIZE
7444 # endif /* PAGESIZE */
7445 # endif /* no NBPC */
7446 # endif /* no NBPG */
7447 # endif /* no EXEC_PAGESIZE */
7448 # else /* no HAVE_SYS_PARAM_H */
7449 # define getpagesize() 8192 /* punt totally */
7450 # endif /* no HAVE_SYS_PARAM_H */
7451 # endif /* no _SC_PAGESIZE */
7453 #endif /* no HAVE_GETPAGESIZE */
7458 char *data, *data2, *data3;
7462 pagesize = getpagesize ();
7464 /* First, make a file with some known garbage in it. */
7465 data = (char *) malloc (pagesize);
7468 for (i = 0; i < pagesize; ++i)
7469 *(data + i) = rand ();
7471 fd = creat ("conftest.mmap", 0600);
7474 if (write (fd, data, pagesize) != pagesize)
7478 /* Next, try to mmap the file at a fixed address which already has
7479 something else allocated at it. If we can, also make sure that
7480 we see the same garbage. */
7481 fd = open ("conftest.mmap", O_RDWR);
7484 data2 = (char *) malloc (2 * pagesize);
7487 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7488 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7489 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7491 for (i = 0; i < pagesize; ++i)
7492 if (*(data + i) != *(data2 + i))
7495 /* Finally, make sure that changes to the mapped area do not
7496 percolate back to the file as seen by read(). (This is a bug on
7497 some variants of i386 svr4.0.) */
7498 for (i = 0; i < pagesize; ++i)
7499 *(data2 + i) = *(data2 + i) + 1;
7500 data3 = (char *) malloc (pagesize);
7503 if (read (fd, data3, pagesize) != pagesize)
7505 for (i = 0; i < pagesize; ++i)
7506 if (*(data + i) != *(data3 + i))
7512 rm -f conftest
$ac_exeext
7513 if { (ac_try
="$ac_link"
7515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7516 *) ac_try_echo=$ac_try;;
7518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7519 (eval "$ac_link") 2>&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7523 { (case "(($ac_try" in
7524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7525 *) ac_try_echo
=$ac_try;;
7527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7528 (eval "$ac_try") 2>&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); }; }; then
7532 ac_cv_func_mmap_fixed_mapped
=yes
7534 echo "$as_me: program exited with status $ac_status" >&5
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.
$ac_ext >&5
7539 ac_cv_func_mmap_fixed_mapped
=no
7541 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7546 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7547 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7548 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7550 cat >>confdefs.h
<<\_ACEOF
7558 { echo "$as_me:$LINENO: checking for sin_len" >&5
7559 echo $ECHO_N "checking for sin_len... $ECHO_C" >&6; }
7560 if test "${ac_cv_sin_len+set}" = set; then
7561 echo $ECHO_N "(cached) $ECHO_C" >&6
7563 cat >conftest.
$ac_ext <<_ACEOF
7566 cat confdefs.h
>>conftest.
$ac_ext
7567 cat >>conftest.
$ac_ext <<_ACEOF
7568 /* end confdefs.h. */
7569 #include <sys/types.h>
7570 #include <netinet/in.h>
7574 struct sockaddr_in *sin; sin->sin_len = 0;
7579 rm -f conftest.
$ac_objext
7580 if { (ac_try
="$ac_compile"
7582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7583 *) ac_try_echo=$ac_try;;
7585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7586 (eval "$ac_compile") 2>conftest.er1
7588 grep -v '^ *+' conftest.er1 >conftest.err
7590 cat conftest.err >&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); } && {
7593 test -z "$ac_c_werror_flag" ||
7594 test ! -s conftest.err
7595 } && test -s conftest.$ac_objext; then
7598 echo "$as_me: failed program was:" >&5
7599 sed 's/^/| /' conftest.$ac_ext >&5
7604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7606 { echo "$as_me:$LINENO: result: $ac_cv_sin_len" >&5
7607 echo "${ECHO_T}$ac_cv_sin_len" >&6; }
7608 if test $ac_cv_sin_len = yes ; then
7610 cat >>confdefs.h <<\_ACEOF
7611 #define HAVE_SIN_LEN 1
7616 { echo "$as_me:$LINENO: checking for socklen_t" >&5
7617 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
7618 if test "${ac_cv_type_socklen_t+set}" = set; then
7619 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 cat >conftest.$ac_ext <<_ACEOF
7624 cat confdefs.h >>conftest.$ac_ext
7625 cat >>conftest.$ac_ext <<_ACEOF
7626 /* end confdefs.h. */
7627 #include <sys/types.h>
7628 #include<sys/socket.h>
7630 typedef socklen_t ac__type_new_;
7634 if ((ac__type_new_ *) 0)
7636 if (sizeof (ac__type_new_))
7642 rm -f conftest.$ac_objext
7643 if { (ac_try="$ac_compile"
7645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7646 *) ac_try_echo
=$ac_try;;
7648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7649 (eval "$ac_compile") 2>conftest.er1
7651 grep -v '^ *+' conftest.er1
>conftest.err
7653 cat conftest.err
>&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } && {
7656 test -z "$ac_c_werror_flag" ||
7657 test ! -s conftest.err
7658 } && test -s conftest.
$ac_objext; then
7659 ac_cv_type_socklen_t
=yes
7661 echo "$as_me: failed program was:" >&5
7662 sed 's/^/| /' conftest.
$ac_ext >&5
7664 ac_cv_type_socklen_t
=no
7667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7669 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7670 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
7671 if test $ac_cv_type_socklen_t = yes; then
7675 { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
7676 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; }
7677 if test "${curl_cv_socklen_t_equiv+set}" = set; then
7678 echo $ECHO_N "(cached) $ECHO_C" >&6
7681 curl_cv_socklen_t_equiv
=
7682 for arg2
in "struct sockaddr" void
; do
7683 for t
in int size_t unsigned long
"unsigned long" ; do
7684 cat >conftest.
$ac_ext <<_ACEOF
7687 cat confdefs.h
>>conftest.
$ac_ext
7688 cat >>conftest.
$ac_ext <<_ACEOF
7689 /* end confdefs.h. */
7690 #include <sys/types.h>
7691 #include <sys/socket.h>
7692 int getpeername (int $arg2 *, $t *);
7697 getpeername(0, 0, &len);
7702 rm -f conftest.
$ac_objext
7703 if { (ac_try
="$ac_compile"
7705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7706 *) ac_try_echo=$ac_try;;
7708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7709 (eval "$ac_compile") 2>conftest.er1
7711 grep -v '^ *+' conftest.er1 >conftest.err
7713 cat conftest.err >&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); } && {
7716 test -z "$ac_c_werror_flag" ||
7717 test ! -s conftest.err
7718 } && test -s conftest.$ac_objext; then
7719 curl_cv_socklen_t_equiv="$t"
7722 echo "$as_me: failed program was:" >&5
7723 sed 's/^/| /' conftest.$ac_ext >&5
7728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7734 { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
7735 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; }
7737 cat >>confdefs.h <<_ACEOF
7738 #define socklen_t $curl_cv_socklen_t_equiv
7745 CFLAGS="$CFLAGS -W -Wall -Werror"
7747 { echo "$as_me:$LINENO: checking for time_t format" >&5
7748 echo $ECHO_N "checking for time_t format... $ECHO_C" >&6; }
7749 if test "${ac_cv_fmt_time_t+set}" = set; then
7750 echo $ECHO_N "(cached) $ECHO_C" >&6
7754 cat >conftest.$ac_ext <<_ACEOF
7755 #include <sys/types.h>
7759 printf("%li", test);
7762 rm -f conftest.$ac_objext
7763 if { (ac_try="$ac_compile"
7765 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7766 *) ac_try_echo
=$ac_try;;
7768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7769 (eval "$ac_compile") 2>conftest.er1
7771 grep -v '^ *+' conftest.er1
>conftest.err
7773 cat conftest.err
>&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); } && {
7776 test -z "$ac_c_werror_flag" ||
7777 test ! -s conftest.err
7778 } && test -s conftest.
$ac_objext; then
7779 ac_cv_fmt_time_t
="\"%li\""
7781 echo "$as_me: failed program was:" >&5
7782 sed 's/^/| /' conftest.
$ac_ext >&5
7787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7788 if test $ac_cv_fmt_time_t = no
; then
7789 cat >conftest.
$ac_ext <<_ACEOF
7790 #include <sys/types.h>
7797 rm -f conftest.
$ac_objext
7798 if { (ac_try
="$ac_compile"
7800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7801 *) ac_try_echo=$ac_try;;
7803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7804 (eval "$ac_compile") 2>conftest.er1
7806 grep -v '^ *+' conftest.er1 >conftest.err
7808 cat conftest.err >&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); } && {
7811 test -z "$ac_c_werror_flag" ||
7812 test ! -s conftest.err
7813 } && test -s conftest.$ac_objext; then
7814 ac_cv_fmt_time_t="\"%i\""
7816 echo "$as_me: failed program was:" >&5
7817 sed 's/^/| /' conftest.$ac_ext >&5
7822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7824 if test $ac_cv_fmt_time_t = no; then
7825 { { echo "$as_me:$LINENO: error: Cannot detect format string for time_t
7826 Please check sys/types.h for the typedef of time_t and submit to a developer" >&5
7827 echo "$as_me: error: Cannot detect format string for time_t
7828 Please check sys/types.h for the typedef of time_t and submit to a developer" >&2;}
7829 { (exit 1); exit 1; }; }
7835 cat >>confdefs.h <<_ACEOF
7836 #define FMT_TIME_T $ac_cv_fmt_time_t
7839 { echo "$as_me:$LINENO: result: $ac_cv_fmt_time_t" >&5
7840 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6; }
7842 { echo "$as_me:$LINENO: checking for va_copy" >&5
7843 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
7844 if test "${ac_cv_c_va_copy+set}" = set; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
7847 cat >conftest.$ac_ext <<_ACEOF
7850 cat confdefs.h >>conftest.$ac_ext
7851 cat >>conftest.$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7857 va_list ap1, ap2; va_copy(ap1, ap2);
7862 rm -f conftest.$ac_objext conftest$ac_exeext
7863 if { (ac_try="$ac_link"
7865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7866 *) ac_try_echo
=$ac_try;;
7868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7869 (eval "$ac_link") 2>conftest.er1
7871 grep -v '^ *+' conftest.er1
>conftest.err
7873 cat conftest.err
>&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 (exit $ac_status); } && {
7876 test -z "$ac_c_werror_flag" ||
7877 test ! -s conftest.err
7878 } && test -s conftest
$ac_exeext &&
7879 $as_test_x conftest
$ac_exeext; then
7880 ac_cv_c_va_copy
="yes"
7882 echo "$as_me: failed program was:" >&5
7883 sed 's/^/| /' conftest.
$ac_ext >&5
7885 ac_cv_c_va_copy
="no"
7889 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7890 conftest
$ac_exeext conftest.
$ac_ext
7892 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
7893 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
7894 if test "$ac_cv_c_va_copy" = "yes" ; then
7896 cat >>confdefs.h
<<\_ACEOF
7897 #define HAVE_VA_COPY 1
7902 { echo "$as_me:$LINENO: checking for __va_copy" >&5
7903 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
7904 if test "${ac_cv_c___va_copy+set}" = set; then
7905 echo $ECHO_N "(cached) $ECHO_C" >&6
7907 cat >conftest.
$ac_ext <<_ACEOF
7910 cat confdefs.h
>>conftest.
$ac_ext
7911 cat >>conftest.
$ac_ext <<_ACEOF
7912 /* end confdefs.h. */
7917 va_list ap1, ap2; __va_copy(ap1, ap2);
7922 rm -f conftest.
$ac_objext conftest
$ac_exeext
7923 if { (ac_try
="$ac_link"
7925 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7926 *) ac_try_echo=$ac_try;;
7928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7929 (eval "$ac_link") 2>conftest.er1
7931 grep -v '^ *+' conftest.er1 >conftest.err
7933 cat conftest.err >&5
7934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935 (exit $ac_status); } && {
7936 test -z "$ac_c_werror_flag" ||
7937 test ! -s conftest.err
7938 } && test -s conftest$ac_exeext &&
7939 $as_test_x conftest$ac_exeext; then
7940 ac_cv_c___va_copy="yes"
7942 echo "$as_me: failed program was:" >&5
7943 sed 's/^/| /' conftest.$ac_ext >&5
7945 ac_cv_c___va_copy="no"
7949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7950 conftest$ac_exeext conftest.$ac_ext
7952 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
7953 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
7954 if test "$ac_cv_c___va_copy" = "yes" ; then
7956 cat >>confdefs.h <<\_ACEOF
7957 #define HAVE___VA_COPY 1
7964 { echo "$as_me:$LINENO: checking which malloc to use" >&5
7965 echo $ECHO_N "checking which malloc to use... $ECHO_C" >&6; }
7967 # Check whether --with-malloc was given.
7968 if test "${with_malloc+set}" = set; then
7969 withval=$with_malloc;
7974 if test "x$withval" = "xsystem" ; then
7975 { echo "$as_me:$LINENO: result: system" >&5
7976 echo "${ECHO_T}system" >&6; }
7978 cat >>confdefs.h <<\_ACEOF
7979 #define WITH_MALLOC_SYSTEM 1
7983 elif test "x$withval" = "xdmalloc" ; then
7984 { echo "$as_me:$LINENO: result: dmalloc" >&5
7985 echo "${ECHO_T}dmalloc" >&6; }
7987 for ac_header in dmalloc.h
7989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7991 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7993 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7994 echo $ECHO_N "(cached) $ECHO_C" >&6
7996 ac_res=`eval echo '${'$as_ac_Header'}'`
7997 { echo "$as_me:$LINENO: result: $ac_res" >&5
7998 echo "${ECHO_T}$ac_res" >&6; }
8000 # Is the header compilable?
8001 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8003 cat >conftest.$ac_ext <<_ACEOF
8006 cat confdefs.h >>conftest.$ac_ext
8007 cat >>conftest.$ac_ext <<_ACEOF
8008 /* end confdefs.h. */
8009 $ac_includes_default
8010 #include <$ac_header>
8012 rm -f conftest.$ac_objext
8013 if { (ac_try="$ac_compile"
8015 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8016 *) ac_try_echo
=$ac_try;;
8018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8019 (eval "$ac_compile") 2>conftest.er1
8021 grep -v '^ *+' conftest.er1
>conftest.err
8023 cat conftest.err
>&5
8024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025 (exit $ac_status); } && {
8026 test -z "$ac_c_werror_flag" ||
8027 test ! -s conftest.err
8028 } && test -s conftest.
$ac_objext; then
8029 ac_header_compiler
=yes
8031 echo "$as_me: failed program was:" >&5
8032 sed 's/^/| /' conftest.
$ac_ext >&5
8034 ac_header_compiler
=no
8037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8038 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8039 echo "${ECHO_T}$ac_header_compiler" >&6; }
8041 # Is the header present?
8042 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8043 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8044 cat >conftest.
$ac_ext <<_ACEOF
8047 cat confdefs.h
>>conftest.
$ac_ext
8048 cat >>conftest.
$ac_ext <<_ACEOF
8049 /* end confdefs.h. */
8050 #include <$ac_header>
8052 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8055 *) ac_try_echo=$ac_try;;
8057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8060 grep -v '^ *+' conftest.er1 >conftest.err
8062 cat conftest.err >&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); } >/dev/null && {
8065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8066 test ! -s conftest.err
8068 ac_header_preproc=yes
8070 echo "$as_me: failed program was:" >&5
8071 sed 's/^/| /' conftest.$ac_ext >&5
8073 ac_header_preproc=no
8076 rm -f conftest.err conftest.$ac_ext
8077 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8078 echo "${ECHO_T}$ac_header_preproc" >&6; }
8080 # So? What about this header?
8081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8083 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8084 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8086 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8087 ac_header_preproc=yes
8090 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8091 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8092 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8093 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8094 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8095 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8096 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8097 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8099 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8100 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8101 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8103 ## -------------------------------------------------- ##
8104 ## Report this to evilnet-devel@lists.sourceforge.net ##
8105 ## -------------------------------------------------- ##
8107 ) | sed "s/^/$as_me: WARNING: /" >&2
8110 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8113 echo $ECHO_N "(cached) $ECHO_C" >&6
8115 eval "$as_ac_Header=\$ac_header_preproc"
8117 ac_res=`eval echo '${'$as_ac_Header'}'`
8118 { echo "$as_me:$LINENO: result: $ac_res" >&5
8119 echo "${ECHO_T}$ac_res" >&6; }
8122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8123 cat >>confdefs.h <<_ACEOF
8124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8128 { { echo "$as_me:$LINENO: error: dmalloc header file missing. dmalloc build will fail." >&5
8129 echo "$as_me: error: dmalloc header file missing. dmalloc build will fail." >&2;}
8130 { (exit 1); exit 1; }; }
8136 { echo "$as_me:$LINENO: checking for malloc in -ldmalloc" >&5
8137 echo $ECHO_N "checking for malloc in -ldmalloc... $ECHO_C" >&6; }
8138 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
8139 echo $ECHO_N "(cached) $ECHO_C" >&6
8141 ac_check_lib_save_LIBS=$LIBS
8142 LIBS="-ldmalloc $LIBS"
8143 cat >conftest.$ac_ext <<_ACEOF
8146 cat confdefs.h >>conftest.$ac_ext
8147 cat >>conftest.$ac_ext <<_ACEOF
8148 /* end confdefs.h. */
8150 /* Override any GCC internal prototype to avoid an error.
8151 Use char because int might match the return type of a GCC
8152 builtin and then its argument prototype would still apply. */
8165 rm -f conftest.$ac_objext conftest$ac_exeext
8166 if { (ac_try="$ac_link"
8168 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8169 *) ac_try_echo
=$ac_try;;
8171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8172 (eval "$ac_link") 2>conftest.er1
8174 grep -v '^ *+' conftest.er1
>conftest.err
8176 cat conftest.err
>&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); } && {
8179 test -z "$ac_c_werror_flag" ||
8180 test ! -s conftest.err
8181 } && test -s conftest
$ac_exeext &&
8182 $as_test_x conftest
$ac_exeext; then
8183 ac_cv_lib_dmalloc_malloc
=yes
8185 echo "$as_me: failed program was:" >&5
8186 sed 's/^/| /' conftest.
$ac_ext >&5
8188 ac_cv_lib_dmalloc_malloc
=no
8191 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8192 conftest
$ac_exeext conftest.
$ac_ext
8193 LIBS
=$ac_check_lib_save_LIBS
8195 { echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_malloc" >&5
8196 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6; }
8197 if test $ac_cv_lib_dmalloc_malloc = yes; then
8198 cat >>confdefs.h
<<_ACEOF
8199 #define HAVE_LIBDMALLOC 1
8202 LIBS
="-ldmalloc $LIBS"
8205 { { echo "$as_me:$LINENO: error: dmalloc library is missing. dmalloc build will fail." >&5
8206 echo "$as_me: error: dmalloc library is missing. dmalloc build will fail." >&2;}
8207 { (exit 1); exit 1; }; }
8211 cat >>confdefs.h
<<\_ACEOF
8212 #define WITH_MALLOC_DMALLOC 1
8216 elif test "x$withval" = "xmpatrol" ; then
8217 { echo "$as_me:$LINENO: result: mpatrol" >&5
8218 echo "${ECHO_T}mpatrol" >&6; }
8220 for ac_header
in mpatrol.h
8222 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8223 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8226 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8229 ac_res
=`eval echo '${'$as_ac_Header'}'`
8230 { echo "$as_me:$LINENO: result: $ac_res" >&5
8231 echo "${ECHO_T}$ac_res" >&6; }
8233 # Is the header compilable?
8234 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8236 cat >conftest.
$ac_ext <<_ACEOF
8239 cat confdefs.h
>>conftest.
$ac_ext
8240 cat >>conftest.
$ac_ext <<_ACEOF
8241 /* end confdefs.h. */
8242 $ac_includes_default
8243 #include <$ac_header>
8245 rm -f conftest.
$ac_objext
8246 if { (ac_try
="$ac_compile"
8248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8249 *) ac_try_echo=$ac_try;;
8251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8252 (eval "$ac_compile") 2>conftest.er1
8254 grep -v '^ *+' conftest.er1 >conftest.err
8256 cat conftest.err >&5
8257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8258 (exit $ac_status); } && {
8259 test -z "$ac_c_werror_flag" ||
8260 test ! -s conftest.err
8261 } && test -s conftest.$ac_objext; then
8262 ac_header_compiler=yes
8264 echo "$as_me: failed program was:" >&5
8265 sed 's/^/| /' conftest.$ac_ext >&5
8267 ac_header_compiler=no
8270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8271 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8272 echo "${ECHO_T}$ac_header_compiler" >&6; }
8274 # Is the header present?
8275 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8276 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8277 cat >conftest.$ac_ext <<_ACEOF
8280 cat confdefs.h >>conftest.$ac_ext
8281 cat >>conftest.$ac_ext <<_ACEOF
8282 /* end confdefs.h. */
8283 #include <$ac_header>
8285 if { (ac_try="$ac_cpp conftest.$ac_ext"
8287 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8288 *) ac_try_echo
=$ac_try;;
8290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8293 grep -v '^ *+' conftest.er1
>conftest.err
8295 cat conftest.err
>&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); } >/dev
/null
&& {
8298 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8299 test ! -s conftest.err
8301 ac_header_preproc
=yes
8303 echo "$as_me: failed program was:" >&5
8304 sed 's/^/| /' conftest.
$ac_ext >&5
8306 ac_header_preproc
=no
8309 rm -f conftest.err conftest.
$ac_ext
8310 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8311 echo "${ECHO_T}$ac_header_preproc" >&6; }
8313 # So? What about this header?
8314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8316 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8317 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8319 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8320 ac_header_preproc
=yes
8323 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8324 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8325 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8326 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8327 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8328 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8329 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8330 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8332 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8333 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8334 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8336 ## -------------------------------------------------- ##
8337 ## Report this to evilnet-devel@lists.sourceforge.net ##
8338 ## -------------------------------------------------- ##
8340 ) | sed "s/^/$as_me: WARNING: /" >&2
8343 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8345 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8348 eval "$as_ac_Header=\$ac_header_preproc"
8350 ac_res
=`eval echo '${'$as_ac_Header'}'`
8351 { echo "$as_me:$LINENO: result: $ac_res" >&5
8352 echo "${ECHO_T}$ac_res" >&6; }
8355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8356 cat >>confdefs.h
<<_ACEOF
8357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8361 { { echo "$as_me:$LINENO: error: mpatrol header file missing. mpatrol build will fail." >&5
8362 echo "$as_me: error: mpatrol header file missing. mpatrol build will fail." >&2;}
8363 { (exit 1); exit 1; }; }
8369 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
8370 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
8371 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8372 echo $ECHO_N "(cached) $ECHO_C" >&6
8374 ac_check_lib_save_LIBS
=$LIBS
8376 cat >conftest.
$ac_ext <<_ACEOF
8379 cat confdefs.h
>>conftest.
$ac_ext
8380 cat >>conftest.
$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8383 /* Override any GCC internal prototype to avoid an error.
8384 Use char because int might match the return type of a GCC
8385 builtin and then its argument prototype would still apply. */
8393 return elf_begin ();
8398 rm -f conftest.
$ac_objext conftest
$ac_exeext
8399 if { (ac_try
="$ac_link"
8401 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8402 *) ac_try_echo=$ac_try;;
8404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8405 (eval "$ac_link") 2>conftest.er1
8407 grep -v '^ *+' conftest.er1 >conftest.err
8409 cat conftest.err >&5
8410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411 (exit $ac_status); } && {
8412 test -z "$ac_c_werror_flag" ||
8413 test ! -s conftest.err
8414 } && test -s conftest$ac_exeext &&
8415 $as_test_x conftest$ac_exeext; then
8416 ac_cv_lib_elf_elf_begin=yes
8418 echo "$as_me: failed program was:" >&5
8419 sed 's/^/| /' conftest.$ac_ext >&5
8421 ac_cv_lib_elf_elf_begin=no
8424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8425 conftest$ac_exeext conftest.$ac_ext
8426 LIBS=$ac_check_lib_save_LIBS
8428 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
8429 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
8430 if test $ac_cv_lib_elf_elf_begin = yes; then
8431 cat >>confdefs.h <<_ACEOF
8432 #define HAVE_LIBELF 1
8440 { echo "$as_me:$LINENO: checking for __mp_atexit in -lmpatrol" >&5
8441 echo $ECHO_N "checking for __mp_atexit in -lmpatrol... $ECHO_C" >&6; }
8442 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
8443 echo $ECHO_N "(cached) $ECHO_C" >&6
8445 ac_check_lib_save_LIBS=$LIBS
8446 LIBS="-lmpatrol $LIBS"
8447 cat >conftest.$ac_ext <<_ACEOF
8450 cat confdefs.h >>conftest.$ac_ext
8451 cat >>conftest.$ac_ext <<_ACEOF
8452 /* end confdefs.h. */
8454 /* Override any GCC internal prototype to avoid an error.
8455 Use char because int might match the return type of a GCC
8456 builtin and then its argument prototype would still apply. */
8460 char __mp_atexit ();
8464 return __mp_atexit ();
8469 rm -f conftest.$ac_objext conftest$ac_exeext
8470 if { (ac_try="$ac_link"
8472 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8473 *) ac_try_echo
=$ac_try;;
8475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8476 (eval "$ac_link") 2>conftest.er1
8478 grep -v '^ *+' conftest.er1
>conftest.err
8480 cat conftest.err
>&5
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); } && {
8483 test -z "$ac_c_werror_flag" ||
8484 test ! -s conftest.err
8485 } && test -s conftest
$ac_exeext &&
8486 $as_test_x conftest
$ac_exeext; then
8487 ac_cv_lib_mpatrol___mp_atexit
=yes
8489 echo "$as_me: failed program was:" >&5
8490 sed 's/^/| /' conftest.
$ac_ext >&5
8492 ac_cv_lib_mpatrol___mp_atexit
=no
8495 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8496 conftest
$ac_exeext conftest.
$ac_ext
8497 LIBS
=$ac_check_lib_save_LIBS
8499 { echo "$as_me:$LINENO: result: $ac_cv_lib_mpatrol___mp_atexit" >&5
8500 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6; }
8501 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
8502 cat >>confdefs.h
<<_ACEOF
8503 #define HAVE_LIBMPATROL 1
8506 LIBS
="-lmpatrol $LIBS"
8509 { { echo "$as_me:$LINENO: error: mpatrol library is missing completely. mpatrol build will fail." >&5
8510 echo "$as_me: error: mpatrol library is missing completely. mpatrol build will fail." >&2;}
8511 { (exit 1); exit 1; }; }
8515 cat >>confdefs.h
<<\_ACEOF
8516 #define WITH_MALLOC_MPATROL 1
8520 elif test "x$withval" = "xboehm-gc" ; then
8521 { echo "$as_me:$LINENO: result: boehm-gc" >&5
8522 echo "${ECHO_T}boehm-gc" >&6; }
8524 for ac_header
in gc
/gc.h
8526 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8527 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8528 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8530 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8531 echo $ECHO_N "(cached) $ECHO_C" >&6
8533 ac_res
=`eval echo '${'$as_ac_Header'}'`
8534 { echo "$as_me:$LINENO: result: $ac_res" >&5
8535 echo "${ECHO_T}$ac_res" >&6; }
8537 # Is the header compilable?
8538 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8539 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8540 cat >conftest.
$ac_ext <<_ACEOF
8543 cat confdefs.h
>>conftest.
$ac_ext
8544 cat >>conftest.
$ac_ext <<_ACEOF
8545 /* end confdefs.h. */
8546 $ac_includes_default
8547 #include <$ac_header>
8549 rm -f conftest.
$ac_objext
8550 if { (ac_try
="$ac_compile"
8552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8553 *) ac_try_echo=$ac_try;;
8555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8556 (eval "$ac_compile") 2>conftest.er1
8558 grep -v '^ *+' conftest.er1 >conftest.err
8560 cat conftest.err >&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); } && {
8563 test -z "$ac_c_werror_flag" ||
8564 test ! -s conftest.err
8565 } && test -s conftest.$ac_objext; then
8566 ac_header_compiler=yes
8568 echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.$ac_ext >&5
8571 ac_header_compiler=no
8574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8575 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8576 echo "${ECHO_T}$ac_header_compiler" >&6; }
8578 # Is the header present?
8579 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8580 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8581 cat >conftest.$ac_ext <<_ACEOF
8584 cat confdefs.h >>conftest.$ac_ext
8585 cat >>conftest.$ac_ext <<_ACEOF
8586 /* end confdefs.h. */
8587 #include <$ac_header>
8589 if { (ac_try="$ac_cpp conftest.$ac_ext"
8591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8592 *) ac_try_echo
=$ac_try;;
8594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8595 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8597 grep -v '^ *+' conftest.er1
>conftest.err
8599 cat conftest.err
>&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } >/dev
/null
&& {
8602 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8603 test ! -s conftest.err
8605 ac_header_preproc
=yes
8607 echo "$as_me: failed program was:" >&5
8608 sed 's/^/| /' conftest.
$ac_ext >&5
8610 ac_header_preproc
=no
8613 rm -f conftest.err conftest.
$ac_ext
8614 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8615 echo "${ECHO_T}$ac_header_preproc" >&6; }
8617 # So? What about this header?
8618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8620 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8621 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8623 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8624 ac_header_preproc
=yes
8627 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8628 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8629 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8630 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8631 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8632 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8633 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8634 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8637 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8638 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8640 ## -------------------------------------------------- ##
8641 ## Report this to evilnet-devel@lists.sourceforge.net ##
8642 ## -------------------------------------------------- ##
8644 ) | sed "s/^/$as_me: WARNING: /" >&2
8647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8649 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8652 eval "$as_ac_Header=\$ac_header_preproc"
8654 ac_res
=`eval echo '${'$as_ac_Header'}'`
8655 { echo "$as_me:$LINENO: result: $ac_res" >&5
8656 echo "${ECHO_T}$ac_res" >&6; }
8659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8660 cat >>confdefs.h
<<_ACEOF
8661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8665 { { echo "$as_me:$LINENO: error: Boehm GC header file missing. boehm-gc build will fail." >&5
8666 echo "$as_me: error: Boehm GC header file missing. boehm-gc build will fail." >&2;}
8667 { (exit 1); exit 1; }; }
8673 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8674 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8675 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 ac_check_lib_save_LIBS
=$LIBS
8680 cat >conftest.
$ac_ext <<_ACEOF
8683 cat confdefs.h
>>conftest.
$ac_ext
8684 cat >>conftest.
$ac_ext <<_ACEOF
8685 /* end confdefs.h. */
8687 /* Override any GCC internal prototype to avoid an error.
8688 Use char because int might match the return type of a GCC
8689 builtin and then its argument prototype would still apply. */
8702 rm -f conftest.
$ac_objext conftest
$ac_exeext
8703 if { (ac_try
="$ac_link"
8705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8706 *) ac_try_echo=$ac_try;;
8708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8709 (eval "$ac_link") 2>conftest.er1
8711 grep -v '^ *+' conftest.er1 >conftest.err
8713 cat conftest.err >&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } && {
8716 test -z "$ac_c_werror_flag" ||
8717 test ! -s conftest.err
8718 } && test -s conftest$ac_exeext &&
8719 $as_test_x conftest$ac_exeext; then
8720 ac_cv_lib_dl_dlopen=yes
8722 echo "$as_me: failed program was:" >&5
8723 sed 's/^/| /' conftest.$ac_ext >&5
8725 ac_cv_lib_dl_dlopen=no
8728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8729 conftest$ac_exeext conftest.$ac_ext
8730 LIBS=$ac_check_lib_save_LIBS
8732 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8733 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8734 if test $ac_cv_lib_dl_dlopen = yes; then
8735 cat >>confdefs.h <<_ACEOF
8736 #define HAVE_LIBDL 1
8742 { { echo "$as_me:$LINENO: error: libdl library is missing. boehm-gc build will fail." >&5
8743 echo "$as_me: error: libdl library is missing. boehm-gc build will fail." >&2;}
8744 { (exit 1); exit 1; }; }
8748 { echo "$as_me:$LINENO: checking for GC_gcollect in -lgc" >&5
8749 echo $ECHO_N "checking for GC_gcollect in -lgc... $ECHO_C" >&6; }
8750 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
8751 echo $ECHO_N "(cached) $ECHO_C" >&6
8753 ac_check_lib_save_LIBS=$LIBS
8755 cat >conftest.$ac_ext <<_ACEOF
8758 cat confdefs.h >>conftest.$ac_ext
8759 cat >>conftest.$ac_ext <<_ACEOF
8760 /* end confdefs.h. */
8762 /* Override any GCC internal prototype to avoid an error.
8763 Use char because int might match the return type of a GCC
8764 builtin and then its argument prototype would still apply. */
8768 char GC_gcollect ();
8772 return GC_gcollect ();
8777 rm -f conftest.$ac_objext conftest$ac_exeext
8778 if { (ac_try="$ac_link"
8780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8781 *) ac_try_echo
=$ac_try;;
8783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8784 (eval "$ac_link") 2>conftest.er1
8786 grep -v '^ *+' conftest.er1
>conftest.err
8788 cat conftest.err
>&5
8789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8790 (exit $ac_status); } && {
8791 test -z "$ac_c_werror_flag" ||
8792 test ! -s conftest.err
8793 } && test -s conftest
$ac_exeext &&
8794 $as_test_x conftest
$ac_exeext; then
8795 ac_cv_lib_gc_GC_gcollect
=yes
8797 echo "$as_me: failed program was:" >&5
8798 sed 's/^/| /' conftest.
$ac_ext >&5
8800 ac_cv_lib_gc_GC_gcollect
=no
8803 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8804 conftest
$ac_exeext conftest.
$ac_ext
8805 LIBS
=$ac_check_lib_save_LIBS
8807 { echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_gcollect" >&5
8808 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6; }
8809 if test $ac_cv_lib_gc_GC_gcollect = yes; then
8810 cat >>confdefs.h
<<_ACEOF
8811 #define HAVE_LIBGC 1
8817 { { echo "$as_me:$LINENO: error: Boehm GC library is missing. boehm-gc build will fail." >&5
8818 echo "$as_me: error: Boehm GC library is missing. boehm-gc build will fail." >&2;}
8819 { (exit 1); exit 1; }; }
8823 cat >>confdefs.h
<<\_ACEOF
8824 #define WITH_MALLOC_BOEHM_GC 1
8828 elif test "x$withval" = "xx3" ; then
8829 { echo "$as_me:$LINENO: result: x3" >&5
8830 echo "${ECHO_T}x3" >&6; }
8832 cat >>confdefs.h
<<\_ACEOF
8833 #define WITH_MALLOC_X3 1
8836 MODULE_OBJS
="$MODULE_OBJS alloc-x3.\$(OBJEXT)"
8838 elif test "x$withval" = "xslab" ; then
8839 { echo "$as_me:$LINENO: result: slab" >&5
8840 echo "${ECHO_T}slab" >&6; }
8842 cat >>confdefs.h
<<\_ACEOF
8843 #define WITH_MALLOC_SLAB 1
8846 MODULE_OBJS
="$MODULE_OBJS alloc-slab.\$(OBJEXT)"
8849 { { echo "$as_me:$LINENO: error: Unknown malloc type $withval" >&5
8850 echo "$as_me: error: Unknown malloc type $withval" >&2;}
8851 { (exit 1); exit 1; }; }
8854 { echo "$as_me:$LINENO: checking which protocol to use" >&5
8855 echo $ECHO_N "checking which protocol to use... $ECHO_C" >&6; }
8857 # Check whether --with-protocol was given.
8858 if test "${with_protocol+set}" = set; then
8859 withval
=$with_protocol;
8864 if test "x$withval" = "xp10" ; then
8865 { echo "$as_me:$LINENO: result: P10" >&5
8866 echo "${ECHO_T}P10" >&6; }
8868 cat >>confdefs.h
<<\_ACEOF
8869 #define WITH_PROTOCOL_P10 1
8872 MODULE_OBJS
="$MODULE_OBJS proto-p10.\$(OBJEXT)"
8873 PROTO_FILES
=proto
-p10.c
8876 { { echo "$as_me:$LINENO: error: Unknown IRC dialect $withval" >&5
8877 echo "$as_me: error: Unknown IRC dialect $withval" >&2;}
8878 { (exit 1); exit 1; }; }
8882 # Check whether --with-getopt was given.
8883 if test "${with_getopt+set}" = set; then
8884 withval
=$with_getopt; if test "$withval" = no
; then
8886 cat >>confdefs.h
<<\_ACEOF
8887 #define IGNORE_GETOPT 1
8894 { echo "$as_me:$LINENO: checking whether to enable tokenization" >&5
8895 echo $ECHO_N "checking whether to enable tokenization... $ECHO_C" >&6; }
8896 # Check whether --enable-tokens was given.
8897 if test "${enable_tokens+set}" = set; then
8898 enableval
=$enable_tokens;
8903 if test "z$enableval" = zno
; then
8904 { echo "$as_me:$LINENO: result: no" >&5
8905 echo "${ECHO_T}no" >&6; }
8908 cat >>confdefs.h
<<\_ACEOF
8909 #define ENABLE_TOKENS 1
8912 { echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6; }
8916 { echo "$as_me:$LINENO: checking whether to enable debug behaviors" >&5
8917 echo $ECHO_N "checking whether to enable debug behaviors... $ECHO_C" >&6; }
8918 # Check whether --enable-debug was given.
8919 if test "${enable_debug+set}" = set; then
8920 enableval
=$enable_debug;
8921 CPPFLAGS
="$CPPFLAGS"
8922 { echo "$as_me:$LINENO: result: yes" >&5
8923 echo "${ECHO_T}yes" >&6; }
8928 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
8929 { echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6; }
8936 if test -e src
; then
8937 if test ! -d src
; then
8938 { { echo "$as_me:$LINENO: error: src exists but is not a directory; please move it out of the way." >&5
8939 echo "$as_me: error: src exists but is not a directory; please move it out of the way." >&2;}
8940 { (exit 1); exit 1; }; }
8945 { echo "$as_me:$LINENO: checking for extra module files" >&5
8946 echo $ECHO_N "checking for extra module files... $ECHO_C" >&6; }
8947 MODULE_DEFINES
="src/modules-list.h"
8948 echo > $MODULE_DEFINES
8949 touch $MODULE_DEFINES
8950 # Check whether --enable-modules was given.
8951 if test "${enable_modules+set}" = set; then
8952 enableval
=$enable_modules;
8955 EXTRA_MODULE_OBJS
=""
8957 for module
in $enableval ; do
8958 module
=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
8959 EXTRA_MODULE_OBJS
="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
8960 module_list
="$module_list $module"
8961 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
8962 if test "x$module" = "xtrack" ; then
8963 TRACK
="-D HAVE_TRACK"
8965 cat >>confdefs.h
<<\_ACEOF
8966 #define HAVE_TRACK 1
8970 if test "x$module" = "xhelpserv" ; then
8971 TRACK
="-D HAVE_HELPSERV"
8973 cat >>confdefs.h
<<\_ACEOF
8974 #define HAVE_HELPSERV 1
8980 MODULE_OBJS
="$MODULE_OBJS $EXTRA_MODULE_OBJS"
8981 { echo "$as_me:$LINENO: result: $module_list" >&5
8982 echo "${ECHO_T}$module_list" >&6; }
8986 { echo "$as_me:$LINENO: result: none" >&5
8987 echo "${ECHO_T}none" >&6; }
8992 # Check whether --enable-python was given.
8993 if test "${enable_python+set}" = set; then
8994 enableval
=$enable_python; python
=$enableval
9004 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no
; then
9005 MY_SUBDIRS
="rx $MY_SUBDIRS"
9006 RX_INCLUDES
="-I../rx"
9007 RX_LIBS
="../rx/librx.a"
9009 MY_SUBDIRS
="$MY_SUBDIRS src"
9010 CFLAGS
="$CFLAGS $ANSI_SRC -W -Wall"
9011 if test "z$USE_MAINTAINER_MODE" = zyes
; then
9012 CFLAGS
="$CFLAGS -Werror"
9019 # Check whether --with-tre was given.
9020 if test "${with_tre+set}" = set; then
9024 if test "x$withval" != "x"; then
9025 { echo "$as_me:$LINENO: result: Using include dir $withval to find libtre" >&5
9026 echo "${ECHO_T}Using include dir $withval to find libtre" >&6; }
9027 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
9028 LIBS
="$LIBS -L$withval/lib"
9030 { echo "$as_me:$LINENO: result: Looking for tre in system and home dirs (${HOME})..." >&5
9031 echo "${ECHO_T}Looking for tre in system and home dirs (${HOME})..." >&6; }
9032 CPPFLAGS
="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
9033 LIBS
="$LIBS -L${HOME}/lib"
9035 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9036 { echo "$as_me:$LINENO: checking for tre/regex.h" >&5
9037 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6; }
9038 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9039 echo $ECHO_N "(cached) $ECHO_C" >&6
9041 { echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
9042 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
9044 # Is the header compilable?
9045 { echo "$as_me:$LINENO: checking tre/regex.h usability" >&5
9046 echo $ECHO_N "checking tre/regex.h usability... $ECHO_C" >&6; }
9047 cat >conftest.
$ac_ext <<_ACEOF
9050 cat confdefs.h
>>conftest.
$ac_ext
9051 cat >>conftest.
$ac_ext <<_ACEOF
9052 /* end confdefs.h. */
9053 $ac_includes_default
9054 #include <tre/regex.h>
9056 rm -f conftest.
$ac_objext
9057 if { (ac_try
="$ac_compile"
9059 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9060 *) ac_try_echo=$ac_try;;
9062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9063 (eval "$ac_compile") 2>conftest.er1
9065 grep -v '^ *+' conftest.er1 >conftest.err
9067 cat conftest.err >&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } && {
9070 test -z "$ac_c_werror_flag" ||
9071 test ! -s conftest.err
9072 } && test -s conftest.$ac_objext; then
9073 ac_header_compiler=yes
9075 echo "$as_me: failed program was:" >&5
9076 sed 's/^/| /' conftest.$ac_ext >&5
9078 ac_header_compiler=no
9081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9082 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9083 echo "${ECHO_T}$ac_header_compiler" >&6; }
9085 # Is the header present?
9086 { echo "$as_me:$LINENO: checking tre/regex.h presence" >&5
9087 echo $ECHO_N "checking tre/regex.h presence... $ECHO_C" >&6; }
9088 cat >conftest.$ac_ext <<_ACEOF
9091 cat confdefs.h >>conftest.$ac_ext
9092 cat >>conftest.$ac_ext <<_ACEOF
9093 /* end confdefs.h. */
9094 #include <tre/regex.h>
9096 if { (ac_try="$ac_cpp conftest.$ac_ext"
9098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9099 *) ac_try_echo
=$ac_try;;
9101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9104 grep -v '^ *+' conftest.er1
>conftest.err
9106 cat conftest.err
>&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); } >/dev
/null
&& {
9109 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9110 test ! -s conftest.err
9112 ac_header_preproc
=yes
9114 echo "$as_me: failed program was:" >&5
9115 sed 's/^/| /' conftest.
$ac_ext >&5
9117 ac_header_preproc
=no
9120 rm -f conftest.err conftest.
$ac_ext
9121 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9122 echo "${ECHO_T}$ac_header_preproc" >&6; }
9124 # So? What about this header?
9125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9127 { echo "$as_me:$LINENO: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
9128 echo "$as_me: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9129 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the compiler's result" >&5
9130 echo "$as_me: WARNING: tre/regex.h: proceeding with the compiler's result" >&2;}
9131 ac_header_preproc
=yes
9134 { echo "$as_me:$LINENO: WARNING: tre/regex.h: present but cannot be compiled" >&5
9135 echo "$as_me: WARNING: tre/regex.h: present but cannot be compiled" >&2;}
9136 { echo "$as_me:$LINENO: WARNING: tre/regex.h: check for missing prerequisite headers?" >&5
9137 echo "$as_me: WARNING: tre/regex.h: check for missing prerequisite headers?" >&2;}
9138 { echo "$as_me:$LINENO: WARNING: tre/regex.h: see the Autoconf documentation" >&5
9139 echo "$as_me: WARNING: tre/regex.h: see the Autoconf documentation" >&2;}
9140 { echo "$as_me:$LINENO: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&5
9141 echo "$as_me: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
9142 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&5
9143 echo "$as_me: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&2;}
9144 { echo "$as_me:$LINENO: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&5
9145 echo "$as_me: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&2;}
9147 ## -------------------------------------------------- ##
9148 ## Report this to evilnet-devel@lists.sourceforge.net ##
9149 ## -------------------------------------------------- ##
9151 ) | sed "s/^/$as_me: WARNING: /" >&2
9154 { echo "$as_me:$LINENO: checking for tre/regex.h" >&5
9155 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6; }
9156 if test "${ac_cv_header_tre_regex_h+set}" = set; then
9157 echo $ECHO_N "(cached) $ECHO_C" >&6
9159 ac_cv_header_tre_regex_h
=$ac_header_preproc
9161 { echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
9162 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
9165 if test $ac_cv_header_tre_regex_h = yes; then
9168 { { echo "$as_me:$LINENO: error: tre/regex.h, the TRE regex headers, were not found. Install tre or use --with-tre=PATH to tell me how to find it, where PATH/include/tre/regex.h exists. For convenience, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&5
9169 echo "$as_me: error: tre/regex.h, the TRE regex headers, were not found. Install tre or use --with-tre=PATH to tell me how to find it, where PATH/include/tre/regex.h exists. For convenience, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&2;}
9170 { (exit 1); exit 1; }; }
9175 { echo "$as_me:$LINENO: checking for regexec in -ltre" >&5
9176 echo $ECHO_N "checking for regexec in -ltre... $ECHO_C" >&6; }
9177 if test "${ac_cv_lib_tre_regexec+set}" = set; then
9178 echo $ECHO_N "(cached) $ECHO_C" >&6
9180 ac_check_lib_save_LIBS
=$LIBS
9182 cat >conftest.
$ac_ext <<_ACEOF
9185 cat confdefs.h
>>conftest.
$ac_ext
9186 cat >>conftest.
$ac_ext <<_ACEOF
9187 /* end confdefs.h. */
9189 /* Override any GCC internal prototype to avoid an error.
9190 Use char because int might match the return type of a GCC
9191 builtin and then its argument prototype would still apply. */
9204 rm -f conftest.
$ac_objext conftest
$ac_exeext
9205 if { (ac_try
="$ac_link"
9207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9208 *) ac_try_echo=$ac_try;;
9210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9211 (eval "$ac_link") 2>conftest.er1
9213 grep -v '^ *+' conftest.er1 >conftest.err
9215 cat conftest.err >&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); } && {
9218 test -z "$ac_c_werror_flag" ||
9219 test ! -s conftest.err
9220 } && test -s conftest$ac_exeext &&
9221 $as_test_x conftest$ac_exeext; then
9222 ac_cv_lib_tre_regexec=yes
9224 echo "$as_me: failed program was:" >&5
9225 sed 's/^/| /' conftest.$ac_ext >&5
9227 ac_cv_lib_tre_regexec=no
9230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9231 conftest$ac_exeext conftest.$ac_ext
9232 LIBS=$ac_check_lib_save_LIBS
9234 { echo "$as_me:$LINENO: result: $ac_cv_lib_tre_regexec" >&5
9235 echo "${ECHO_T}$ac_cv_lib_tre_regexec" >&6; }
9236 if test $ac_cv_lib_tre_regexec = yes; then
9237 cat >>confdefs.h <<_ACEOF
9238 #define HAVE_LIBTRE 1
9244 { { echo "$as_me:$LINENO: error: TRE regex library not found. Install tre, or use --with-tre=PATH to tell me how to find it, where PATH/lib/libtre.so exists. For convenience, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&5
9245 echo "$as_me: error: TRE regex library not found. Install tre, or use --with-tre=PATH to tell me how to find it, where PATH/lib/libtre.so exists. For convenience, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&2;}
9246 { (exit 1); exit 1; }; }
9253 # Check whether --with-coredumper was given.
9254 if test "${with_coredumper+set}" = set; then
9255 withval=$with_coredumper;
9258 if test "x$withval" != "x"; then
9259 { echo "$as_me:$LINENO: result: Using include dir $withval to find coredumper" >&5
9260 echo "${ECHO_T}Using include dir $withval to find coredumper" >&6; }
9261 CPPFLAGS="$CPPFLAGS -I$withval/include -L$withval/lib"
9262 LIBS="$LIBS -L$withval/lib"
9264 { echo "$as_me:$LINENO: result: Looking for coredumper in system and home dirs (${HOME})..." >&5
9265 echo "${ECHO_T}Looking for coredumper in system and home dirs (${HOME})..." >&6; }
9266 CPPFLAGS="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
9267 LIBS="$LIBS -Wl,--rpath -Wl,${HOME}/lib"
9269 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
9270 { echo "$as_me:$LINENO: checking for google/coredumper.h" >&5
9271 echo $ECHO_N "checking for google/coredumper.h... $ECHO_C" >&6; }
9272 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 { echo "$as_me:$LINENO: result: $ac_cv_header_google_coredumper_h" >&5
9276 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
9278 # Is the header compilable?
9279 { echo "$as_me:$LINENO: checking google/coredumper.h usability" >&5
9280 echo $ECHO_N "checking google/coredumper.h usability... $ECHO_C" >&6; }
9281 cat >conftest.$ac_ext <<_ACEOF
9284 cat confdefs.h >>conftest.$ac_ext
9285 cat >>conftest.$ac_ext <<_ACEOF
9286 /* end confdefs.h. */
9287 $ac_includes_default
9288 #include <google/coredumper.h>
9290 rm -f conftest.$ac_objext
9291 if { (ac_try="$ac_compile"
9293 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9294 *) ac_try_echo
=$ac_try;;
9296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9297 (eval "$ac_compile") 2>conftest.er1
9299 grep -v '^ *+' conftest.er1
>conftest.err
9301 cat conftest.err
>&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); } && {
9304 test -z "$ac_c_werror_flag" ||
9305 test ! -s conftest.err
9306 } && test -s conftest.
$ac_objext; then
9307 ac_header_compiler
=yes
9309 echo "$as_me: failed program was:" >&5
9310 sed 's/^/| /' conftest.
$ac_ext >&5
9312 ac_header_compiler
=no
9315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9316 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9317 echo "${ECHO_T}$ac_header_compiler" >&6; }
9319 # Is the header present?
9320 { echo "$as_me:$LINENO: checking google/coredumper.h presence" >&5
9321 echo $ECHO_N "checking google/coredumper.h presence... $ECHO_C" >&6; }
9322 cat >conftest.
$ac_ext <<_ACEOF
9325 cat confdefs.h
>>conftest.
$ac_ext
9326 cat >>conftest.
$ac_ext <<_ACEOF
9327 /* end confdefs.h. */
9328 #include <google/coredumper.h>
9330 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9333 *) ac_try_echo=$ac_try;;
9335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9336 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9338 grep -v '^ *+' conftest.er1 >conftest.err
9340 cat conftest.err >&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); } >/dev/null && {
9343 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9344 test ! -s conftest.err
9346 ac_header_preproc=yes
9348 echo "$as_me: failed program was:" >&5
9349 sed 's/^/| /' conftest.$ac_ext >&5
9351 ac_header_preproc=no
9354 rm -f conftest.err conftest.$ac_ext
9355 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9356 echo "${ECHO_T}$ac_header_preproc" >&6; }
9358 # So? What about this header?
9359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9361 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: accepted by the compiler, rejected by the preprocessor!" >&5
9362 echo "$as_me: WARNING: google/coredumper.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9363 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: proceeding with the compiler's result" >&5
9364 echo "$as_me: WARNING: google/coredumper.h: proceeding with the compiler's result" >&2;}
9365 ac_header_preproc=yes
9368 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: present but cannot be compiled" >&5
9369 echo "$as_me: WARNING: google/coredumper.h: present but cannot be compiled" >&2;}
9370 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: check for missing prerequisite headers?" >&5
9371 echo "$as_me: WARNING: google/coredumper.h: check for missing prerequisite headers?" >&2;}
9372 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: see the Autoconf documentation" >&5
9373 echo "$as_me: WARNING: google/coredumper.h: see the Autoconf documentation" >&2;}
9374 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: section \"Present But Cannot Be Compiled\"" >&5
9375 echo "$as_me: WARNING: google/coredumper.h: section \"Present But Cannot Be Compiled\"" >&2;}
9376 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: proceeding with the preprocessor's result" >&5
9377 echo "$as_me: WARNING: google/coredumper.h: proceeding with the preprocessor's result" >&2;}
9378 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: in the future, the compiler will take precedence" >&5
9379 echo "$as_me: WARNING: google/coredumper.h: in the future, the compiler will take precedence" >&2;}
9381 ## -------------------------------------------------- ##
9382 ## Report this to evilnet-devel@lists.sourceforge.net ##
9383 ## -------------------------------------------------- ##
9385 ) | sed "s/^/$as_me: WARNING: /" >&2
9388 { echo "$as_me:$LINENO: checking for google/coredumper.h" >&5
9389 echo $ECHO_N "checking for google/coredumper.h... $ECHO_C" >&6; }
9390 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
9391 echo $ECHO_N "(cached) $ECHO_C" >&6
9393 ac_cv_header_google_coredumper_h=$ac_header_preproc
9395 { echo "$as_me:$LINENO: result: $ac_cv_header_google_coredumper_h" >&5
9396 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
9399 if test $ac_cv_header_google_coredumper_h = yes; then
9402 { echo "$as_me:$LINENO: result: google/coredumper.h, the coredumper headers, were not found. Install coredumper or use --with-coredumper=PATH to tell me how to find it, where PATH/include/google/coredumper.h exists. For convenience, just type 'tools/core_install.sh' now, to install coredumper in your home directory." >&5
9403 echo "${ECHO_T}google/coredumper.h, the coredumper headers, were not found. Install coredumper or use --with-coredumper=PATH to tell me how to find it, where PATH/include/google/coredumper.h exists. For convenience, just type 'tools/core_install.sh' now, to install coredumper in your home directory." >&6; }
9408 { echo "$as_me:$LINENO: checking for WriteCoreDump in -lcoredumper" >&5
9409 echo $ECHO_N "checking for WriteCoreDump in -lcoredumper... $ECHO_C" >&6; }
9410 if test "${ac_cv_lib_coredumper_WriteCoreDump+set}" = set; then
9411 echo $ECHO_N "(cached) $ECHO_C" >&6
9413 ac_check_lib_save_LIBS=$LIBS
9414 LIBS="-lcoredumper $LIBS"
9415 cat >conftest.$ac_ext <<_ACEOF
9418 cat confdefs.h >>conftest.$ac_ext
9419 cat >>conftest.$ac_ext <<_ACEOF
9420 /* end confdefs.h. */
9422 /* Override any GCC internal prototype to avoid an error.
9423 Use char because int might match the return type of a GCC
9424 builtin and then its argument prototype would still apply. */
9428 char WriteCoreDump ();
9432 return WriteCoreDump ();
9437 rm -f conftest.$ac_objext conftest$ac_exeext
9438 if { (ac_try="$ac_link"
9440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9441 *) ac_try_echo
=$ac_try;;
9443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9444 (eval "$ac_link") 2>conftest.er1
9446 grep -v '^ *+' conftest.er1
>conftest.err
9448 cat conftest.err
>&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); } && {
9451 test -z "$ac_c_werror_flag" ||
9452 test ! -s conftest.err
9453 } && test -s conftest
$ac_exeext &&
9454 $as_test_x conftest
$ac_exeext; then
9455 ac_cv_lib_coredumper_WriteCoreDump
=yes
9457 echo "$as_me: failed program was:" >&5
9458 sed 's/^/| /' conftest.
$ac_ext >&5
9460 ac_cv_lib_coredumper_WriteCoreDump
=no
9463 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9464 conftest
$ac_exeext conftest.
$ac_ext
9465 LIBS
=$ac_check_lib_save_LIBS
9467 { echo "$as_me:$LINENO: result: $ac_cv_lib_coredumper_WriteCoreDump" >&5
9468 echo "${ECHO_T}$ac_cv_lib_coredumper_WriteCoreDump" >&6; }
9469 if test $ac_cv_lib_coredumper_WriteCoreDump = yes; then
9470 cat >>confdefs.h
<<_ACEOF
9471 #define HAVE_LIBCOREDUMPER 1
9474 LIBS
="-lcoredumper $LIBS"
9477 { echo "$as_me:$LINENO: result: Coredumper library not found. Install coredumper, or use --with-coredumper=PATH to tell me how to find it, where PATH/lib/libcoredumper.so exists. For convenience, just type 'tools/core_install.sh' now, to install coredumper in your home directory." >&5
9478 echo "${ECHO_T}Coredumper library not found. Install coredumper, or use --with-coredumper=PATH to tell me how to find it, where PATH/lib/libcoredumper.so exists. For convenience, just type 'tools/core_install.sh' now, to install coredumper in your home directory." >&6; }
9484 # Check whether --with-ssl was given.
9485 if test "${with_ssl+set}" = set; then
9489 if test "x$withval" != "x"; then
9490 { echo "$as_me:$LINENO: result: Using include dir $withval to find openssl" >&5
9491 echo "${ECHO_T}Using include dir $withval to find openssl" >&6; }
9492 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
9493 LIBS
="$LIBS -L$withval/lib"
9495 { echo "$as_me:$LINENO: result: Looking for openssl in system " >&5
9496 echo "${ECHO_T}Looking for openssl in system " >&6; }
9499 { echo "$as_me:$LINENO: checking for BIO_new in -lssl" >&5
9500 echo $ECHO_N "checking for BIO_new in -lssl... $ECHO_C" >&6; }
9501 if test "${ac_cv_lib_ssl_BIO_new+set}" = set; then
9502 echo $ECHO_N "(cached) $ECHO_C" >&6
9504 ac_check_lib_save_LIBS
=$LIBS
9506 cat >conftest.
$ac_ext <<_ACEOF
9509 cat confdefs.h
>>conftest.
$ac_ext
9510 cat >>conftest.
$ac_ext <<_ACEOF
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9528 rm -f conftest.
$ac_objext conftest
$ac_exeext
9529 if { (ac_try
="$ac_link"
9531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9532 *) ac_try_echo=$ac_try;;
9534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9535 (eval "$ac_link") 2>conftest.er1
9537 grep -v '^ *+' conftest.er1 >conftest.err
9539 cat conftest.err >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } && {
9542 test -z "$ac_c_werror_flag" ||
9543 test ! -s conftest.err
9544 } && test -s conftest$ac_exeext &&
9545 $as_test_x conftest$ac_exeext; then
9546 ac_cv_lib_ssl_BIO_new=yes
9548 echo "$as_me: failed program was:" >&5
9549 sed 's/^/| /' conftest.$ac_ext >&5
9551 ac_cv_lib_ssl_BIO_new=no
9554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9555 conftest$ac_exeext conftest.$ac_ext
9556 LIBS=$ac_check_lib_save_LIBS
9558 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_BIO_new" >&5
9559 echo "${ECHO_T}$ac_cv_lib_ssl_BIO_new" >&6; }
9560 if test $ac_cv_lib_ssl_BIO_new = yes; then
9564 for ac_header in openssl/bio.h
9566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9567 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9571 echo $ECHO_N "(cached) $ECHO_C" >&6
9573 ac_res=`eval echo '${'$as_ac_Header'}'`
9574 { echo "$as_me:$LINENO: result: $ac_res" >&5
9575 echo "${ECHO_T}$ac_res" >&6; }
9577 # Is the header compilable?
9578 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9579 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9580 cat >conftest.$ac_ext <<_ACEOF
9583 cat confdefs.h >>conftest.$ac_ext
9584 cat >>conftest.$ac_ext <<_ACEOF
9585 /* end confdefs.h. */
9586 $ac_includes_default
9587 #include <$ac_header>
9589 rm -f conftest.$ac_objext
9590 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
9598 grep -v '^ *+' conftest.er1
>conftest.err
9600 cat conftest.err
>&5
9601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9602 (exit $ac_status); } && {
9603 test -z "$ac_c_werror_flag" ||
9604 test ! -s conftest.err
9605 } && test -s conftest.
$ac_objext; then
9606 ac_header_compiler
=yes
9608 echo "$as_me: failed program was:" >&5
9609 sed 's/^/| /' conftest.
$ac_ext >&5
9611 ac_header_compiler
=no
9614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9615 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9616 echo "${ECHO_T}$ac_header_compiler" >&6; }
9618 # Is the header present?
9619 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9621 cat >conftest.
$ac_ext <<_ACEOF
9624 cat confdefs.h
>>conftest.
$ac_ext
9625 cat >>conftest.
$ac_ext <<_ACEOF
9626 /* end confdefs.h. */
9627 #include <$ac_header>
9629 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9631 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9632 *) ac_try_echo=$ac_try;;
9634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9637 grep -v '^ *+' conftest.er1 >conftest.err
9639 cat conftest.err >&5
9640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641 (exit $ac_status); } >/dev/null && {
9642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9643 test ! -s conftest.err
9645 ac_header_preproc=yes
9647 echo "$as_me: failed program was:" >&5
9648 sed 's/^/| /' conftest.$ac_ext >&5
9650 ac_header_preproc=no
9653 rm -f conftest.err conftest.$ac_ext
9654 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9655 echo "${ECHO_T}$ac_header_preproc" >&6; }
9657 # So? What about this header?
9658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9660 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9661 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9663 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9664 ac_header_preproc=yes
9667 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9668 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9669 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9670 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9671 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9672 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9673 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9674 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9676 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9677 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9678 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9680 ## -------------------------------------------------- ##
9681 ## Report this to evilnet-devel@lists.sourceforge.net ##
9682 ## -------------------------------------------------- ##
9684 ) | sed "s/^/$as_me: WARNING: /" >&2
9687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9690 echo $ECHO_N "(cached) $ECHO_C" >&6
9692 eval "$as_ac_Header=\$ac_header_preproc"
9694 ac_res=`eval echo '${'$as_ac_Header'}'`
9695 { echo "$as_me:$LINENO: result: $ac_res" >&5
9696 echo "${ECHO_T}$ac_res" >&6; }
9699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9700 cat >>confdefs.h <<_ACEOF
9701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9705 cat >>confdefs.h <<\_ACEOF
9709 ssl_message="LDAP library: enabled"
9713 if test "x$withval" != "x"; then
9714 { { echo "$as_me:$LINENO: error: ssl headers not found" >&5
9715 echo "$as_me: error: ssl headers not found" >&2;}
9716 { (exit 1); exit 1; }; }
9726 if test "x$withval" != "x"; then
9727 { { echo "$as_me:$LINENO: error: libldap not found or not valid" >&5
9728 echo "$as_me: error: libldap not found or not valid" >&2;}
9729 { (exit 1); exit 1; }; }
9735 { echo "$as_me:$LINENO: result: $LIBS" >&5
9736 echo "${ECHO_T}$LIBS" >&6; }
9741 # Check whether --with-ldap was given.
9742 if test "${with_ldap+set}" = set; then
9746 if test "x$withval" != "x"; then
9747 { echo "$as_me:$LINENO: result: Using include dir $withval to find libldap" >&5
9748 echo "${ECHO_T}Using include dir $withval to find libldap" >&6; }
9749 CPPFLAGS="$CPPFLAGS -I$withval/include -L$withval/lib"
9750 LIBS="$LIBS -L$withval/lib"
9752 { echo "$as_me:$LINENO: result: Looking for ldap in system " >&5
9753 echo "${ECHO_T}Looking for ldap in system " >&6; }
9756 { echo "$as_me:$LINENO: checking for ldap_simple_bind_s in -lldap" >&5
9757 echo $ECHO_N "checking for ldap_simple_bind_s in -lldap... $ECHO_C" >&6; }
9758 if test "${ac_cv_lib_ldap_ldap_simple_bind_s+set}" = set; then
9759 echo $ECHO_N "(cached) $ECHO_C" >&6
9761 ac_check_lib_save_LIBS=$LIBS
9763 cat >conftest.$ac_ext <<_ACEOF
9766 cat confdefs.h >>conftest.$ac_ext
9767 cat >>conftest.$ac_ext <<_ACEOF
9768 /* end confdefs.h. */
9770 /* Override any GCC internal prototype to avoid an error.
9771 Use char because int might match the return type of a GCC
9772 builtin and then its argument prototype would still apply. */
9776 char ldap_simple_bind_s ();
9780 return ldap_simple_bind_s ();
9785 rm -f conftest.$ac_objext conftest$ac_exeext
9786 if { (ac_try="$ac_link"
9788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9789 *) ac_try_echo
=$ac_try;;
9791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9792 (eval "$ac_link") 2>conftest.er1
9794 grep -v '^ *+' conftest.er1
>conftest.err
9796 cat conftest.err
>&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); } && {
9799 test -z "$ac_c_werror_flag" ||
9800 test ! -s conftest.err
9801 } && test -s conftest
$ac_exeext &&
9802 $as_test_x conftest
$ac_exeext; then
9803 ac_cv_lib_ldap_ldap_simple_bind_s
=yes
9805 echo "$as_me: failed program was:" >&5
9806 sed 's/^/| /' conftest.
$ac_ext >&5
9808 ac_cv_lib_ldap_ldap_simple_bind_s
=no
9811 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9812 conftest
$ac_exeext conftest.
$ac_ext
9813 LIBS
=$ac_check_lib_save_LIBS
9815 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_simple_bind_s" >&5
9816 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_simple_bind_s" >&6; }
9817 if test $ac_cv_lib_ldap_ldap_simple_bind_s = yes; then
9821 for ac_header
in ldap.h
9823 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9824 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9825 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9827 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9828 echo $ECHO_N "(cached) $ECHO_C" >&6
9830 ac_res
=`eval echo '${'$as_ac_Header'}'`
9831 { echo "$as_me:$LINENO: result: $ac_res" >&5
9832 echo "${ECHO_T}$ac_res" >&6; }
9834 # Is the header compilable?
9835 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9837 cat >conftest.
$ac_ext <<_ACEOF
9840 cat confdefs.h
>>conftest.
$ac_ext
9841 cat >>conftest.
$ac_ext <<_ACEOF
9842 /* end confdefs.h. */
9843 $ac_includes_default
9844 #include <$ac_header>
9846 rm -f conftest.
$ac_objext
9847 if { (ac_try
="$ac_compile"
9849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9850 *) ac_try_echo=$ac_try;;
9852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9853 (eval "$ac_compile") 2>conftest.er1
9855 grep -v '^ *+' conftest.er1 >conftest.err
9857 cat conftest.err >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } && {
9860 test -z "$ac_c_werror_flag" ||
9861 test ! -s conftest.err
9862 } && test -s conftest.$ac_objext; then
9863 ac_header_compiler=yes
9865 echo "$as_me: failed program was:" >&5
9866 sed 's/^/| /' conftest.$ac_ext >&5
9868 ac_header_compiler=no
9871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9872 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9873 echo "${ECHO_T}$ac_header_compiler" >&6; }
9875 # Is the header present?
9876 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9878 cat >conftest.$ac_ext <<_ACEOF
9881 cat confdefs.h >>conftest.$ac_ext
9882 cat >>conftest.$ac_ext <<_ACEOF
9883 /* end confdefs.h. */
9884 #include <$ac_header>
9886 if { (ac_try="$ac_cpp conftest.$ac_ext"
9888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9889 *) ac_try_echo
=$ac_try;;
9891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9892 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9894 grep -v '^ *+' conftest.er1
>conftest.err
9896 cat conftest.err
>&5
9897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9898 (exit $ac_status); } >/dev
/null
&& {
9899 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9900 test ! -s conftest.err
9902 ac_header_preproc
=yes
9904 echo "$as_me: failed program was:" >&5
9905 sed 's/^/| /' conftest.
$ac_ext >&5
9907 ac_header_preproc
=no
9910 rm -f conftest.err conftest.
$ac_ext
9911 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9912 echo "${ECHO_T}$ac_header_preproc" >&6; }
9914 # So? What about this header?
9915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9920 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9921 ac_header_preproc
=yes
9924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9928 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9929 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9930 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9931 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9934 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9935 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9937 ## -------------------------------------------------- ##
9938 ## Report this to evilnet-devel@lists.sourceforge.net ##
9939 ## -------------------------------------------------- ##
9941 ) | sed "s/^/$as_me: WARNING: /" >&2
9944 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9946 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9947 echo $ECHO_N "(cached) $ECHO_C" >&6
9949 eval "$as_ac_Header=\$ac_header_preproc"
9951 ac_res
=`eval echo '${'$as_ac_Header'}'`
9952 { echo "$as_me:$LINENO: result: $ac_res" >&5
9953 echo "${ECHO_T}$ac_res" >&6; }
9956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9957 cat >>confdefs.h
<<_ACEOF
9958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9962 cat >>confdefs.h
<<\_ACEOF
9966 ldap_message
="LDAP library: enabled"
9970 if test "x$withval" != "x"; then
9971 { { echo "$as_me:$LINENO: error: ldap.h not found" >&5
9972 echo "$as_me: error: ldap.h not found" >&2;}
9973 { (exit 1); exit 1; }; }
9983 if test "x$withval" != "x"; then
9984 { { echo "$as_me:$LINENO: error: libldap not found or not valid" >&5
9985 echo "$as_me: error: libldap not found or not valid" >&2;}
9986 { (exit 1); exit 1; }; }
9994 if test "$python" = yes; then
9995 # Extract the first word of "python2", so it can be a program name with args.
9996 set dummy python2
; ac_word
=$2
9997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9999 if test "${ac_cv_path_pythonpath+set}" = set; then
10000 echo $ECHO_N "(cached) $ECHO_C" >&6
10002 case $pythonpath in
10004 ac_cv_path_pythonpath
="$pythonpath" # Let the user override the test with a path.
10007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10008 for as_dir
in $PATH
10011 test -z "$as_dir" && as_dir
=.
10012 for ac_exec_ext
in '' $ac_executable_extensions; do
10013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10014 ac_cv_path_pythonpath
="$as_dir/$ac_word$ac_exec_ext"
10015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10025 pythonpath
=$ac_cv_path_pythonpath
10026 if test -n "$pythonpath"; then
10027 { echo "$as_me:$LINENO: result: $pythonpath" >&5
10028 echo "${ECHO_T}$pythonpath" >&6; }
10030 { echo "$as_me:$LINENO: result: no" >&5
10031 echo "${ECHO_T}no" >&6; }
10035 if test "_$pythonpath" = _
; then
10036 # Extract the first word of "python", so it can be a program name with args.
10037 set dummy python
; ac_word
=$2
10038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10040 if test "${ac_cv_path_pythonpath+set}" = set; then
10041 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 case $pythonpath in
10045 ac_cv_path_pythonpath
="$pythonpath" # Let the user override the test with a path.
10048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10049 for as_dir
in $PATH
10052 test -z "$as_dir" && as_dir
=.
10053 for ac_exec_ext
in '' $ac_executable_extensions; do
10054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10055 ac_cv_path_pythonpath
="$as_dir/$ac_word$ac_exec_ext"
10056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10066 pythonpath
=$ac_cv_path_pythonpath
10067 if test -n "$pythonpath"; then
10068 { echo "$as_me:$LINENO: result: $pythonpath" >&5
10069 echo "${ECHO_T}$pythonpath" >&6; }
10071 { echo "$as_me:$LINENO: result: no" >&5
10072 echo "${ECHO_T}no" >&6; }
10077 if test "_$pythonpath" = _
; then
10080 { echo "$as_me:$LINENO: checking Python version" >&5
10081 echo $ECHO_N "checking Python version... $ECHO_C" >&6; }
10082 PY_VER
=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("VERSION")[0];'`
10083 PY_LIB
=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(standard_lib=1);'`
10084 PY_INC
=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("INCLUDEPY")[0];'`
10085 $pythonpath -c "import sys; map(int,sys.version[:3].split('.')) >= [2,2] or sys.exit(1)"
10086 { echo "$as_me:$LINENO: result: $PY_VER" >&5
10087 echo "${ECHO_T}$PY_VER" >&6; }
10088 if test "$?" != "1"; then
10089 { echo "$as_me:$LINENO: checking Python compile flags" >&5
10090 echo $ECHO_N "checking Python compile flags... $ECHO_C" >&6; }
10091 PY_PREFIX
=`$pythonpath -c 'import sys; print sys.prefix'`
10092 PY_EXEC_PREFIX
=`$pythonpath -c 'import sys; print sys.exec_prefix'`
10093 if test -f $PY_INC/Python.h
; then
10095 cat >>confdefs.h
<<\_ACEOF
10096 #define WITH_PYTHON 1
10099 PY_LIBS
="-L$PY_LIB/config -lpython$PY_VER -lpthread -lutil"
10100 PY_CFLAGS
="-I$PY_INC"
10101 { echo "$as_me:$LINENO: result: ok" >&5
10102 echo "${ECHO_T}ok" >&6; }
10103 CFLAGS
="$CFLAGS $PY_CFLAGS"
10104 LIBS
="$LIBS $PY_LIBS"
10107 { echo "$as_me:$LINENO: result: Can't find Python.h" >&5
10108 echo "${ECHO_T}Can't find Python.h" >&6; }
10111 echo "Python too old. Only 2.2 or above is supported."
10117 if test "x$python" = "xyes"; then
10119 DO_PYTHON_FALSE
='#'
10126 { echo "$as_me:$LINENO: result: $LIBS" >&5
10127 echo "${ECHO_T}$LIBS" >&6; }
10130 cat >>confdefs.h
<<_ACEOF
10131 #define CODENAME "${CODENAME}"
10142 ac_config_files
="$ac_config_files Makefile rx/Makefile src/Makefile"
10144 cat >confcache
<<\_ACEOF
10145 # This file is a shell script that caches the results of configure
10146 # tests run on this system so they can be shared between configure
10147 # scripts and configure runs, see configure's option --config-cache.
10148 # It is not useful on other systems. If it contains results you don't
10149 # want to keep, you may remove or edit it.
10151 # config.status only pays attention to the cache file if you give it
10152 # the --recheck option to rerun configure.
10154 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10155 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10156 # following values.
10160 # The following way of writing the cache mishandles newlines in values,
10161 # but we know of no workaround that is simple, portable, and efficient.
10162 # So, we kill variables containing newlines.
10163 # Ultrix sh set writes to stderr and can't be redirected directly,
10164 # and sets the high bit in the cache file unless we assign to the vars.
10166 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10167 eval ac_val
=\$
$ac_var
10171 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10172 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10175 _
| IFS
| as_nl
) ;; #(
10176 *) $as_unset $ac_var ;;
10182 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10183 *${as_nl}ac_space
=\
*)
10184 # `set' does not quote correctly, so add quotes (double-quote
10185 # substitution turns \\\\ into \\, and sed turns \\ into \).
10188 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10191 # `set' quotes correctly as required by POSIX, so do not add quotes.
10192 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10201 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10203 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10205 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10206 if test -w "$cache_file"; then
10207 test "x$cache_file" != "x/dev/null" &&
10208 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10209 echo "$as_me: updating cache $cache_file" >&6;}
10210 cat confcache
>$cache_file
10212 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10213 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10218 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10219 # Let make expand exec_prefix.
10220 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10222 DEFS
=-DHAVE_CONFIG_H
10226 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10227 # 1. Remove the extension, and $U if already installed.
10228 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10229 ac_i
=`echo "$ac_i" | sed "$ac_script"`
10230 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10231 # will be set to the directory where LIBOBJS objects are built.
10232 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10233 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10235 LIBOBJS
=$ac_libobjs
10237 LTLIBOBJS
=$ac_ltlibobjs
10240 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10241 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10242 Usually this means the macro was only invoked conditionally." >&5
10243 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10244 Usually this means the macro was only invoked conditionally." >&2;}
10245 { (exit 1); exit 1; }; }
10247 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10248 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10249 Usually this means the macro was only invoked conditionally." >&5
10250 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10251 Usually this means the macro was only invoked conditionally." >&2;}
10252 { (exit 1); exit 1; }; }
10254 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10255 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10256 Usually this means the macro was only invoked conditionally." >&5
10257 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10258 Usually this means the macro was only invoked conditionally." >&2;}
10259 { (exit 1); exit 1; }; }
10261 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10262 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10263 Usually this means the macro was only invoked conditionally." >&5
10264 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10265 Usually this means the macro was only invoked conditionally." >&2;}
10266 { (exit 1); exit 1; }; }
10268 if test -z "${DO_PYTHON_TRUE}" && test -z "${DO_PYTHON_FALSE}"; then
10269 { { echo "$as_me:$LINENO: error: conditional \"DO_PYTHON\" was never defined.
10270 Usually this means the macro was only invoked conditionally." >&5
10271 echo "$as_me: error: conditional \"DO_PYTHON\" was never defined.
10272 Usually this means the macro was only invoked conditionally." >&2;}
10273 { (exit 1); exit 1; }; }
10276 : ${CONFIG_STATUS=./config.status}
10277 ac_clean_files_save
=$ac_clean_files
10278 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10279 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10280 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10281 cat >$CONFIG_STATUS <<_ACEOF
10283 # Generated by $as_me.
10284 # Run this file to recreate the current configuration.
10285 # Compiler output produced by configure, useful for debugging
10286 # configure, is in config.log if it exists.
10289 ac_cs_recheck=false
10291 SHELL=\${CONFIG_SHELL-$SHELL}
10294 cat >>$CONFIG_STATUS <<\_ACEOF
10295 ## --------------------- ##
10296 ## M4sh Initialization. ##
10297 ## --------------------- ##
10299 # Be more Bourne compatible
10300 DUALCASE
=1; export DUALCASE
# for MKS sh
10301 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10304 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10305 # is contrary to our usage. Disable this feature.
10306 alias -g '${1+"$@"}'='"$@"'
10307 setopt NO_GLOB_SUBST
10309 case `(set -o) 2>/dev/null` in
10310 *posix
*) set -o posix
;;
10319 # Avoid depending upon Character Ranges.
10320 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10321 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10322 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10323 as_cr_digits
='0123456789'
10324 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10326 # The user is always right.
10327 if test "${PATH_SEPARATOR+set}" != set; then
10328 echo "#! /bin/sh" >conf$$.sh
10329 echo "exit 0" >>conf$$.sh
10331 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10339 # Support unset when possible.
10340 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
10348 # We need space, tab and new line, in precisely that order. Quoting is
10349 # there to prevent editors from complaining about space-tab.
10350 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10351 # splitting by setting IFS to empty value.)
10356 # Find who we are. Look in the path if we contain no directory separator.
10358 *[\\/]* ) as_myself
=$0 ;;
10359 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10360 for as_dir
in $PATH
10363 test -z "$as_dir" && as_dir
=.
10364 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10370 # We did not find ourselves, most probably we were run as `sh COMMAND'
10371 # in which case we are not to be found in the path.
10372 if test "x$as_myself" = x
; then
10375 if test ! -f "$as_myself"; then
10376 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10377 { (exit 1); exit 1; }
10380 # Work around bugs in pre-3.0 UWIN ksh.
10381 for as_var
in ENV MAIL MAILPATH
10382 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10390 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10391 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10392 LC_TELEPHONE LC_TIME
10394 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10395 eval $as_var=C
; export $as_var
10397 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10401 # Required to use basename.
10402 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10403 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10409 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10410 as_basename
=basename
10416 # Name of the executable.
10417 as_me
=`$as_basename -- "$0" ||
10418 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10419 X"$0" : 'X\(//\)$' \| \
10420 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10422 sed '/^.*\/\([^/][^/]*\)\/*$/{
10441 as_lineno_1
=$LINENO
10442 as_lineno_2
=$LINENO
10443 test "x$as_lineno_1" != "x$as_lineno_2" &&
10444 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10446 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10447 # uniformly replaced by the line number. The first 'sed' inserts a
10448 # line-number line after each line using $LINENO; the second 'sed'
10449 # does the real work. The second script uses 'N' to pair each
10450 # line-number line with the line containing $LINENO, and appends
10451 # trailing '-' during substitution so that $LINENO is not a special
10452 # case at line end.
10453 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10454 # scripts with optimization help from Paolo Bonzini. Blame Lee
10455 # E. McMahon (1931-1989) for sed's syntax. :-)
10467 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10470 ' >$as_me.lineno
&&
10471 chmod +x
"$as_me.lineno" ||
10472 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10473 { (exit 1); exit 1; }; }
10475 # Don't try to exec as it changes $[0], causing all sort of problems
10476 # (the dirname of $[0] is not the place where we might find the
10477 # original and so on. Autoconf is especially sensitive to this).
10478 .
"./$as_me.lineno"
10479 # Exit status is that of the last command.
10484 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10490 ECHO_C
= ECHO_N
= ECHO_T
=
10491 case `echo -n x` in
10493 case `echo 'x\c'` in
10494 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10501 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10502 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10508 rm -f conf$$ conf$$.exe conf$$.
file
10509 if test -d conf$$.dir
; then
10510 rm -f conf$$.dir
/conf$$.
file
10516 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10518 # ... but there are two gotchas:
10519 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10520 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10521 # In both cases, we have to default to `cp -p'.
10522 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
10524 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10529 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10530 rmdir conf$$.dir
2>/dev
/null
10532 if mkdir -p .
2>/dev
/null
; then
10535 test -d .
/-p && rmdir .
/-p
10539 if test -x / >/dev
/null
2>&1; then
10540 as_test_x
='test -x'
10542 if ls -dL / >/dev
/null
2>&1; then
10549 if test -d "$1"; then
10555 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10556 ???[sx]*):;;*)false;;esac;fi
10560 as_executable_p
=$as_test_x
10562 # Sed expression to map a string onto a valid CPP name.
10563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10565 # Sed expression to map a string onto a valid variable name.
10566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10571 # Save the log message, to keep $[0] and so on meaningful, and to
10572 # report actual input values of CONFIG_FILES etc. instead of their
10573 # values after options handling.
10575 This file was extended by X3 $as_me 1.6, which was
10576 generated by GNU Autoconf 2.61. Invocation command line was
10578 CONFIG_FILES = $CONFIG_FILES
10579 CONFIG_HEADERS = $CONFIG_HEADERS
10580 CONFIG_LINKS = $CONFIG_LINKS
10581 CONFIG_COMMANDS = $CONFIG_COMMANDS
10584 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10589 cat >>$CONFIG_STATUS <<_ACEOF
10590 # Files that config.status was made for.
10591 config_files="$ac_config_files"
10592 config_headers="$ac_config_headers"
10593 config_commands="$ac_config_commands"
10597 cat >>$CONFIG_STATUS <<\_ACEOF
10599 \`$as_me' instantiates files from templates according to the
10600 current configuration.
10602 Usage: $0 [OPTIONS] [FILE]...
10604 -h, --help print this help, then exit
10605 -V, --version print version number and configuration settings, then exit
10606 -q, --quiet do not print progress messages
10607 -d, --debug don't remove temporary files
10608 --recheck update $as_me by reconfiguring in the same conditions
10609 --file=FILE[:TEMPLATE]
10610 instantiate the configuration file FILE
10611 --header=FILE[:TEMPLATE]
10612 instantiate the configuration header FILE
10614 Configuration files:
10617 Configuration headers:
10620 Configuration commands:
10623 Report bugs to <bug-autoconf@gnu.org>."
10626 cat >>$CONFIG_STATUS <<_ACEOF
10628 X3 config.status 1.6
10629 configured by $0, generated by GNU Autoconf 2.61,
10630 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10632 Copyright (C) 2006 Free Software Foundation, Inc.
10633 This config.status script is free software; the Free Software Foundation
10634 gives unlimited permission to copy, distribute and modify it."
10642 cat >>$CONFIG_STATUS <<\_ACEOF
10643 # If no file are specified by the user, then we need to provide default
10644 # value. By we need to know if files were specified by the user.
10650 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10651 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10662 # Handling of the options.
10663 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10665 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10666 echo "$ac_cs_version"; exit ;;
10667 --debug | --debu | --deb | --de | --d | -d )
10669 --file | --fil | --fi | --f )
10671 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10672 ac_need_defaults
=false
;;
10673 --header | --heade | --head | --hea )
10675 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10676 ac_need_defaults
=false
;;
10678 # Conflict between --help and --header
10679 { echo "$as_me: error: ambiguous option: $1
10680 Try \`$0 --help' for more information." >&2
10681 { (exit 1); exit 1; }; };;
10682 --help | --hel | -h )
10683 echo "$ac_cs_usage"; exit ;;
10684 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10685 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10688 # This is an error.
10689 -*) { echo "$as_me: error: unrecognized option: $1
10690 Try \`$0 --help' for more information." >&2
10691 { (exit 1); exit 1; }; } ;;
10693 *) ac_config_targets
="$ac_config_targets $1"
10694 ac_need_defaults
=false
;;
10700 ac_configure_extra_args
=
10702 if $ac_cs_silent; then
10704 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10708 cat >>$CONFIG_STATUS <<_ACEOF
10709 if \$ac_cs_recheck; then
10710 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10711 CONFIG_SHELL=$SHELL
10712 export CONFIG_SHELL
10713 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10717 cat >>$CONFIG_STATUS <<\_ACEOF
10721 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10722 ## Running $as_me. ##
10728 cat >>$CONFIG_STATUS <<_ACEOF
10732 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10736 cat >>$CONFIG_STATUS <<\_ACEOF
10738 # Handling of arguments.
10739 for ac_config_target
in $ac_config_targets
10741 case $ac_config_target in
10742 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
10743 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10744 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10745 "rx/Makefile") CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
10746 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
10748 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10749 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10750 { (exit 1); exit 1; }; };;
10755 # If the user did not use the arguments to specify the items to instantiate,
10756 # then the envvar interface is used. Set only those that are not.
10757 # We use the long form for the default assignment because of an extremely
10758 # bizarre bug on SunOS 4.1.3.
10759 if $ac_need_defaults; then
10760 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10761 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10762 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10765 # Have a temporary directory for convenience. Make it in the build tree
10766 # simply because there is no reason against having it here, and in addition,
10767 # creating and moving files from /tmp can sometimes cause problems.
10768 # Hook for its removal unless debugging.
10769 # Note that there is a small window in which the directory will not be cleaned:
10770 # after its creation but before its name has been assigned to `$tmp'.
10774 trap 'exit_status=$?
10775 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10777 trap '{ (exit 1); exit 1; }' 1 2 13 15
10779 # Create a (secure) tmp directory for tmp files.
10782 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10783 test -n "$tmp" && test -d "$tmp"
10786 tmp
=.
/conf$$
-$RANDOM
10787 (umask 077 && mkdir "$tmp")
10790 echo "$me: cannot create a temporary directory in ." >&2
10791 { (exit 1); exit 1; }
10795 # Set up the sed scripts for CONFIG_FILES section.
10798 # No need to generate the scripts if there are no CONFIG_FILES.
10799 # This happens for instance when ./config.status config.h
10800 if test -n "$CONFIG_FILES"; then
10807 for ac_last_try
in false false false false false
:; do
10808 cat >conf$
$subs.
sed <<_ACEOF
10809 SHELL!$SHELL$ac_delim
10810 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10811 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10812 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10813 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10814 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10815 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10816 exec_prefix!$exec_prefix$ac_delim
10817 prefix!$prefix$ac_delim
10818 program_transform_name!$program_transform_name$ac_delim
10819 bindir!$bindir$ac_delim
10820 sbindir!$sbindir$ac_delim
10821 libexecdir!$libexecdir$ac_delim
10822 datarootdir!$datarootdir$ac_delim
10823 datadir!$datadir$ac_delim
10824 sysconfdir!$sysconfdir$ac_delim
10825 sharedstatedir!$sharedstatedir$ac_delim
10826 localstatedir!$localstatedir$ac_delim
10827 includedir!$includedir$ac_delim
10828 oldincludedir!$oldincludedir$ac_delim
10829 docdir!$docdir$ac_delim
10830 infodir!$infodir$ac_delim
10831 htmldir!$htmldir$ac_delim
10832 dvidir!$dvidir$ac_delim
10833 pdfdir!$pdfdir$ac_delim
10834 psdir!$psdir$ac_delim
10835 libdir!$libdir$ac_delim
10836 localedir!$localedir$ac_delim
10837 mandir!$mandir$ac_delim
10838 DEFS!$DEFS$ac_delim
10839 ECHO_C!$ECHO_C$ac_delim
10840 ECHO_N!$ECHO_N$ac_delim
10841 ECHO_T!$ECHO_T$ac_delim
10842 LIBS!$LIBS$ac_delim
10843 build_alias!$build_alias$ac_delim
10844 host_alias!$host_alias$ac_delim
10845 target_alias!$target_alias$ac_delim
10846 build!$build$ac_delim
10847 build_cpu!$build_cpu$ac_delim
10848 build_vendor!$build_vendor$ac_delim
10849 build_os!$build_os$ac_delim
10850 host!$host$ac_delim
10851 host_cpu!$host_cpu$ac_delim
10852 host_vendor!$host_vendor$ac_delim
10853 host_os!$host_os$ac_delim
10854 target!$target$ac_delim
10855 target_cpu!$target_cpu$ac_delim
10856 target_vendor!$target_vendor$ac_delim
10857 target_os!$target_os$ac_delim
10858 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10859 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10860 INSTALL_DATA!$INSTALL_DATA$ac_delim
10861 am__isrc!$am__isrc$ac_delim
10862 CYGPATH_W!$CYGPATH_W$ac_delim
10863 PACKAGE!$PACKAGE$ac_delim
10864 VERSION!$VERSION$ac_delim
10865 ACLOCAL!$ACLOCAL$ac_delim
10866 AUTOCONF!$AUTOCONF$ac_delim
10867 AUTOMAKE!$AUTOMAKE$ac_delim
10868 AUTOHEADER!$AUTOHEADER$ac_delim
10869 MAKEINFO!$MAKEINFO$ac_delim
10870 install_sh!$install_sh$ac_delim
10871 STRIP!$STRIP$ac_delim
10872 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10873 mkdir_p!$mkdir_p$ac_delim
10875 SET_MAKE!$SET_MAKE$ac_delim
10876 am__leading_dot!$am__leading_dot$ac_delim
10877 AMTAR!$AMTAR$ac_delim
10878 am__tar!$am__tar$ac_delim
10879 am__untar!$am__untar$ac_delim
10880 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
10881 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
10882 MAINT!$MAINT$ac_delim
10884 CFLAGS!$CFLAGS$ac_delim
10885 LDFLAGS!$LDFLAGS$ac_delim
10886 CPPFLAGS!$CPPFLAGS$ac_delim
10887 ac_ct_CC!$ac_ct_CC$ac_delim
10888 EXEEXT!$EXEEXT$ac_delim
10889 OBJEXT!$OBJEXT$ac_delim
10890 DEPDIR!$DEPDIR$ac_delim
10891 am__include!$am__include$ac_delim
10892 am__quote!$am__quote$ac_delim
10893 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10894 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10895 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10896 CCDEPMODE!$CCDEPMODE$ac_delim
10897 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
10898 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
10900 RANLIB!$RANLIB$ac_delim
10901 LN_S!$LN_S$ac_delim
10903 GREP!$GREP$ac_delim
10904 EGREP!$EGREP$ac_delim
10905 MAKER!$MAKER$ac_delim
10908 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10910 elif $ac_last_try; then
10911 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10912 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10913 { (exit 1); exit 1; }; }
10915 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10919 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10920 if test -n "$ac_eof"; then
10921 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10922 ac_eof
=`expr $ac_eof + 1`
10925 cat >>$CONFIG_STATUS <<_ACEOF
10926 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10927 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10930 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10931 s/^/s,@/; s/!/@,|#_!!_#|/
10934 s/'"$ac_delim"'$/,g/; t
10936 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10937 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10938 rm -f conf$
$subs.
sed
10939 cat >>$CONFIG_STATUS <<_ACEOF
10945 for ac_last_try
in false false false false false
:; do
10946 cat >conf$
$subs.
sed <<_ACEOF
10947 ALLOCA!$ALLOCA$ac_delim
10948 pythonpath!$pythonpath$ac_delim
10949 DO_PYTHON_TRUE!$DO_PYTHON_TRUE$ac_delim
10950 DO_PYTHON_FALSE!$DO_PYTHON_FALSE$ac_delim
10951 MODULE_OBJS!$MODULE_OBJS$ac_delim
10952 MY_SUBDIRS!$MY_SUBDIRS$ac_delim
10953 RX_INCLUDES!$RX_INCLUDES$ac_delim
10954 RX_LIBS!$RX_LIBS$ac_delim
10955 TRACK!$TRACK$ac_delim
10956 PY_CFLAGS!$PY_CFLAGS$ac_delim
10957 PY_LIBS!$PY_LIBS$ac_delim
10958 LIBOBJS!$LIBOBJS$ac_delim
10959 LTLIBOBJS!$LTLIBOBJS$ac_delim
10962 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
10964 elif $ac_last_try; then
10965 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10966 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10967 { (exit 1); exit 1; }; }
10969 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10973 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10974 if test -n "$ac_eof"; then
10975 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10976 ac_eof
=`expr $ac_eof + 1`
10979 cat >>$CONFIG_STATUS <<_ACEOF
10980 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10981 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10984 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10985 s/^/s,@/; s/!/@,|#_!!_#|/
10988 s/'"$ac_delim"'$/,g/; t
10990 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10991 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10992 rm -f conf$
$subs.
sed
10993 cat >>$CONFIG_STATUS <<_ACEOF
11000 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11001 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11002 # trailing colons and then remove the whole line if VPATH becomes empty
11003 # (actually we leave an empty line to preserve line numbers).
11004 if test "x$srcdir" = x.
; then
11005 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11006 s/:*\$(srcdir):*/:/
11007 s/:*\${srcdir}:*/:/
11009 s/^\([^=]*=[ ]*\):*/\1/
11015 cat >>$CONFIG_STATUS <<\_ACEOF
11016 fi # test -n "$CONFIG_FILES"
11019 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
11022 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11024 case $ac_mode$ac_tag in
11026 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11027 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11028 { (exit 1); exit 1; }; };;
11029 :[FH
]-) ac_tag
=-:-;;
11030 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11047 -) ac_f
="$tmp/stdin";;
11048 *) # Look for the file first in the build tree, then in the source tree
11049 # (if the path is not absolute). The absolute path cannot be DOS-style,
11050 # because $ac_f cannot contain `:'.
11054 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11056 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11057 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11058 { (exit 1); exit 1; }; };;
11060 ac_file_inputs
="$ac_file_inputs $ac_f"
11063 # Let's still pretend it is `configure' which instantiates (i.e., don't
11064 # use $as_me), people would be surprised to read:
11065 # /* config.h. Generated by config.status. */
11066 configure_input
="Generated from "`IFS=:
11067 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11068 if test x
"$ac_file" != x
-; then
11069 configure_input
="$ac_file. $configure_input"
11070 { echo "$as_me:$LINENO: creating $ac_file" >&5
11071 echo "$as_me: creating $ac_file" >&6;}
11075 *:-:* | *:-) cat >"$tmp/stdin";;
11080 ac_dir
=`$as_dirname -- "$ac_file" ||
11081 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11082 X"$ac_file" : 'X\(//\)[^/]' \| \
11083 X"$ac_file" : 'X\(//\)$' \| \
11084 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11090 /^X\(\/\/\)[^/].*/{
11105 -*) as_dir
=.
/$as_dir;;
11107 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11111 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11112 *) as_qdir
=$as_dir;;
11114 as_dirs
="'$as_qdir' $as_dirs"
11115 as_dir
=`$as_dirname -- "$as_dir" ||
11116 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11117 X"$as_dir" : 'X\(//\)[^/]' \| \
11118 X"$as_dir" : 'X\(//\)$' \| \
11119 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11125 /^X\(\/\/\)[^/].*/{
11138 test -d "$as_dir" && break
11140 test -z "$as_dirs" || eval "mkdir $as_dirs"
11141 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11142 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11143 { (exit 1); exit 1; }; }; }
11147 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11149 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11150 # A ".." for each directory in $ac_dir_suffix.
11151 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11152 case $ac_top_builddir_sub in
11153 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11154 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11157 ac_abs_top_builddir
=$ac_pwd
11158 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11159 # for backward compatibility:
11160 ac_top_builddir
=$ac_top_build_prefix
11163 .
) # We are building in place.
11165 ac_top_srcdir
=$ac_top_builddir_sub
11166 ac_abs_top_srcdir
=$ac_pwd ;;
11167 [\\/]* | ?
:[\\/]* ) # Absolute name.
11168 ac_srcdir
=$srcdir$ac_dir_suffix;
11169 ac_top_srcdir
=$srcdir
11170 ac_abs_top_srcdir
=$srcdir ;;
11171 *) # Relative name.
11172 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11173 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11174 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11176 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11186 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11187 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
11189 ac_MKDIR_P
=$MKDIR_P
11191 [\\/$
]* | ?
:[\\/]* ) ;;
11192 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
11196 cat >>$CONFIG_STATUS <<\_ACEOF
11197 # If the template does not know about datarootdir, expand it.
11198 # FIXME: This hack should be removed a few years after 2.60.
11199 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11201 case `sed -n '/datarootdir/ {
11210 ' $ac_file_inputs` in
11211 *datarootdir
*) ac_datarootdir_seen
=yes;;
11212 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
11213 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11214 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11216 cat >>$CONFIG_STATUS <<_ACEOF
11217 ac_datarootdir_hack='
11218 s&@datadir@&$datadir&g
11219 s&@docdir@&$docdir&g
11220 s&@infodir@&$infodir&g
11221 s&@localedir@&$localedir&g
11222 s&@mandir@&$mandir&g
11223 s&\\\${datarootdir}&$datarootdir&g' ;;
11227 # Neutralize VPATH when `$srcdir' = `.'.
11228 # Shell code in configure.ac might set extrasub.
11229 # FIXME: do we really want to maintain this feature?
11230 cat >>$CONFIG_STATUS <<_ACEOF
11234 cat >>$CONFIG_STATUS <<\_ACEOF
11236 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
11237 s
&@configure_input@
&$configure_input&;t t
11238 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11239 s
&@srcdir@
&$ac_srcdir&;t t
11240 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11241 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11242 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11243 s
&@builddir@
&$ac_builddir&;t t
11244 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11245 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11246 s
&@INSTALL@
&$ac_INSTALL&;t t
11247 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
11248 $ac_datarootdir_hack
11249 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out
11251 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11252 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11253 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11254 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11255 which seems to be undefined. Please make sure it is defined." >&5
11256 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11257 which seems to be undefined. Please make sure it is defined." >&2;}
11261 -) cat "$tmp/out"; rm -f "$tmp/out";;
11262 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11271 # Transform confdefs.h into a sed script `conftest.defines', that
11272 # substitutes the proper values into config.h.in to produce config.h.
11273 rm -f conftest.defines conftest.
tail
11274 # First, append a space to every undef/define line, to ease matching.
11275 echo 's/$/ /' >conftest.defines
11276 # Then, protect against being on the right side of a sed subst, or in
11277 # an unquoted here document, in config.status. If some macros were
11278 # called several times there might be several #defines for the same
11279 # symbol, which is useless. But do not sort them, since the last
11280 # AC_DEFINE must be honored.
11281 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
11282 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11283 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11284 # PARAMS is the parameter list in the macro definition--in most cases, it's
11285 # just an empty string.
11286 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11287 ac_dB
='\\)[ (].*,\\1define\\2'
11295 s/^[ ]*#[ ]*define[ ][ ]*//
11300 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11301 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11302 ' >>conftest.defines
11304 # Remove the space that was appended to ease matching.
11305 # Then replace #undef with comments. This is necessary, for
11306 # example, in the case of _POSIX_SOURCE, which is predefined and required
11307 # on some systems where configure will not decide to define it.
11308 # (The regexp can be short, since the line contains either #define or #undef.)
11310 s,^[ #]*u.*,/* & */,' >>conftest.defines
11312 # Break up conftest.defines:
11313 ac_max_sed_lines
=50
11315 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11316 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11317 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11319 ac_in
='$ac_file_inputs'
11320 ac_out
='"$tmp/out1"'
11321 ac_nxt
='"$tmp/out2"'
11325 # Write a here document:
11326 cat >>$CONFIG_STATUS <<_ACEOF
11327 # First, check the format of the line:
11328 cat >"\$tmp/defines.sed" <<\\CEOF
11329 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11330 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11334 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
11336 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11337 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
11338 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
11339 grep . conftest.
tail >/dev
/null
|| break
11340 rm -f conftest.defines
11341 mv conftest.
tail conftest.defines
11343 rm -f conftest.defines conftest.
tail
11345 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11346 cat >>$CONFIG_STATUS <<\_ACEOF
11347 if test x
"$ac_file" != x
-; then
11348 echo "/* $configure_input */" >"$tmp/config.h"
11349 cat "$ac_result" >>"$tmp/config.h"
11350 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
11351 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11352 echo "$as_me: $ac_file is unchanged" >&6;}
11355 mv "$tmp/config.h" $ac_file
11358 echo "/* $configure_input */"
11362 # Compute $ac_file's index in $config_headers.
11365 for _am_header
in $config_headers :; do
11366 case $_am_header in
11367 $_am_arg | $_am_arg:* )
11370 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
11373 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
11374 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11375 X"$_am_arg" : 'X\(//\)[^/]' \| \
11376 X"$_am_arg" : 'X\(//\)$' \| \
11377 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
11379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11383 /^X\(\/\/\)[^/].*/{
11395 s/.*/./; q'`/stamp
-h$_am_stamp_count
11398 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11399 echo "$as_me: executing $ac_file commands" >&6;}
11404 case $ac_file$ac_mode in
11405 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
11406 # Strip MF so we end up with the name of the file.
11407 mf
=`echo "$mf" | sed -e 's/:.*$//'`
11408 # Check whether this is an Automake generated Makefile or not.
11409 # We used to match only the files named `Makefile.in', but
11410 # some people rename them; so instead we look at the file content.
11411 # Grep'ing the first line is not enough: some people post-process
11412 # each Makefile.in and add a new line on top of each file to say so.
11413 # Grep'ing the whole file is not good either: AIX grep has a line
11414 # limit of 2048, but all sed's we know have understand at least 4000.
11415 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
11416 dirpart
=`$as_dirname -- "$mf" ||
11417 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11418 X"$mf" : 'X\(//\)[^/]' \| \
11419 X"$mf" : 'X\(//\)$' \| \
11420 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11426 /^X\(\/\/\)[^/].*/{
11442 # Extract the definition of DEPDIR, am__include, and am__quote
11443 # from the Makefile without running `make'.
11444 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
11445 test -z "$DEPDIR" && continue
11446 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
11447 test -z "am__include" && continue
11448 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
11449 # When using ansi2knr, U may be empty or an underscore; expand it
11450 U
=`sed -n 's/^U = //p' < "$mf"`
11451 # Find all dependency output files, they are included files with
11452 # $(DEPDIR) in their names. We invoke sed twice because it is the
11453 # simplest approach to changing $(DEPDIR) to its actual value in the
11455 for file in `sed -n "
11456 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11457 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11458 # Make sure the directory exists.
11459 test -f "$dirpart/$file" && continue
11460 fdir
=`$as_dirname -- "$file" ||
11461 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11462 X"$file" : 'X\(//\)[^/]' \| \
11463 X"$file" : 'X\(//\)$' \| \
11464 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11470 /^X\(\/\/\)[^/].*/{
11483 { as_dir
=$dirpart/$fdir
11485 -*) as_dir
=.
/$as_dir;;
11487 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11491 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11492 *) as_qdir
=$as_dir;;
11494 as_dirs
="'$as_qdir' $as_dirs"
11495 as_dir
=`$as_dirname -- "$as_dir" ||
11496 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11497 X"$as_dir" : 'X\(//\)[^/]' \| \
11498 X"$as_dir" : 'X\(//\)$' \| \
11499 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11505 /^X\(\/\/\)[^/].*/{
11518 test -d "$as_dir" && break
11520 test -z "$as_dirs" || eval "mkdir $as_dirs"
11521 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11522 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11523 { (exit 1); exit 1; }; }; }
11524 # echo "creating $dirpart/$file"
11525 echo '# dummy' > "$dirpart/$file"
11534 { (exit 0); exit 0; }
11536 chmod +x
$CONFIG_STATUS
11537 ac_clean_files
=$ac_clean_files_save
11540 # configure is writing to config.log, and then calls config.status.
11541 # config.status does its own redirection, appending to config.log.
11542 # Unfortunately, on DOS this fails, as config.log is still kept open
11543 # by configure, so config.status won't be able to write to it; its
11544 # output is simply discarded. So we exec the FD to /dev/null,
11545 # effectively closing config.log, so it can be properly (re)opened and
11546 # appended to by config.status. When coming back to configure, we
11547 # need to make the FD available again.
11548 if test "$no_create" != yes; then
11550 ac_config_status_args
=
11551 test "$silent" = yes &&
11552 ac_config_status_args
="$ac_config_status_args --quiet"
11554 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11556 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11557 # would make configure fail if this is the last instruction.
11558 $ac_cs_success || { (exit 1); exit 1; }
11566 Configuration summary
11567 =====================
11569 X3 is now configured as follows:
11571 * Compilation environment
11576 CPPFLAGS = $CPPFLAGS
11584 Extra Modules: $module_list
11587 Regexp Library TRE $tre_version
11588 Coredumper Library Coredumper $core_version
11592 Install to: $prefix
11594 Now you can proceed with compiling X3