2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.64 for X3 1.8.
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, 2007, 2008, 2009 Free Software
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
220 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 if test x
$as_have_required = xno
; then :
226 $as_echo "$0: This script requires a shell more modern than all"
227 $as_echo "$0: the shells that I found on your system."
228 if test x
${ZSH_VERSION+set} = xset
; then
229 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 $as_echo "$0: Please tell bug-autoconf@gnu.org and
233 $0: evilnet-devel@lists.sourceforge.net about your system,
234 $0: including any error possibly output before this
235 $0: message. Then install a modern shell, or manually run
236 $0: the script under such a shell if you do have one."
242 SHELL
=${CONFIG_SHELL-/bin/sh}
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE
= GREP_OPTIONS
=
246 unset CLICOLOR_FORCE GREP_OPTIONS
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
253 # Portably unset VAR.
256 { eval $1=; unset $1;}
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 # Create "$as_dir" as a directory, including parents if necessary.
285 -*) as_dir
=.
/$as_dir;;
287 test -d "$as_dir" || eval $as_mkdir_p || {
291 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 as_dirs
="'$as_qdir' $as_dirs"
295 as_dir
=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
318 test -d "$as_dir" && break
320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
332 eval 'as_fn_append ()
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
356 as_val
=`expr "$@" || test $? -eq 1`
361 # as_fn_error ERROR [LINENO LOG_FD]
362 # ---------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with status $?, using 1 if that was 0.
368 as_status
=$?
; test $as_status -eq 0 && as_status
=1
370 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373 $as_echo "$as_me: error: $1" >&2
374 as_fn_exit
$as_status
377 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
378 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
384 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
396 as_me
=`$as_basename -- "$0" ||
397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398 X"$0" : 'X\(//\)$' \| \
399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 sed '/^.*\/\([^/][^/]*\)\/*$/{
415 # Avoid depending upon Character Ranges.
416 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits
='0123456789'
420 as_cr_alnum
=$as_cr_Letters$as_cr_digits
423 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
424 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
443 chmod +x
"$as_me.lineno" ||
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
446 # Don't try to exec as it changes $[0], causing all sort of problems
447 # (the dirname of $[0] is not the place where we might find the
448 # original and so on. Autoconf is especially sensitive to this).
450 # Exit status is that of the last command.
454 ECHO_C
= ECHO_N
= ECHO_T
=
455 case `echo -n x` in #(((((
457 case `echo 'xy\c'` in
458 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
467 rm -f conf$$ conf$$.exe conf$$.
file
468 if test -d conf$$.dir
; then
469 rm -f conf$$.dir
/conf$$.
file
472 mkdir conf$$.dir
2>/dev
/null
474 if (echo >conf$$.
file) 2>/dev
/null
; then
475 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
477 # ... but there are two gotchas:
478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480 # In both cases, we have to default to `cp -p'.
481 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
483 elif ln conf$$.
file conf$$
2>/dev
/null
; then
491 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
492 rmdir conf$$.dir
2>/dev
/null
494 if mkdir -p .
2>/dev
/null
; then
495 as_mkdir_p
='mkdir -p "$as_dir"'
497 test -d .
/-p && rmdir .
/-p
501 if test -x / >/dev
/null
2>&1; then
504 if ls -dL / >/dev
/null
2>&1; then
511 if test -d "$1"; then
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518 ???[sx]*):;;*)false;;esac;fi
522 as_executable_p
=$as_test_x
524 # Sed expression to map a string onto a valid CPP name.
525 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527 # Sed expression to map a string onto a valid variable name.
528 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531 exec 7<&0 </dev
/null
6>&1
534 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
535 # so uname gets run too.
536 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
541 ac_default_prefix
=/usr
/local
543 ac_config_libobj_dir
=.
550 # Identity of this package.
553 PACKAGE_VERSION
='1.8'
554 PACKAGE_STRING
='X3 1.8'
555 PACKAGE_BUGREPORT
='evilnet-devel@lists.sourceforge.net'
558 ac_unique_file
="src/opserv.c"
559 # Factoring default headers for most tests.
560 ac_includes_default
="\
562 #ifdef HAVE_SYS_TYPES_H
563 # include <sys/types.h>
565 #ifdef HAVE_SYS_STAT_H
566 # include <sys/stat.h>
572 # ifdef HAVE_STDLIB_H
577 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
582 #ifdef HAVE_STRINGS_H
583 # include <strings.h>
585 #ifdef HAVE_INTTYPES_H
586 # include <inttypes.h>
595 ac_subst_vars
='am__EXEEXT_FALSE
634 MAINTAINER_MODE_FALSE
644 INSTALL_STRIP_PROGRAM
698 program_transform_name
711 enable_option_checking
712 enable_maintainer_mode
713 enable_dependency_tracking
729 ac_precious_vars
='build_alias
740 # Initialize some variables set by options.
742 ac_init_version
=false
743 ac_unrecognized_opts
=
745 # The variables have the same names as the options, with
746 # dashes changed to underlines.
754 program_transform_name
=s
,x
,x
,
762 # Installation directory options.
763 # These are left unexpanded so users can "make install exec_prefix=/foo"
764 # and all the variables that are supposed to be based on exec_prefix
765 # by default will actually change.
766 # Use braces instead of parens because sh, perl, etc. also accept them.
767 # (The list follows the same order as the GNU Coding Standards.)
768 bindir
='${exec_prefix}/bin'
769 sbindir
='${exec_prefix}/sbin'
770 libexecdir
='${exec_prefix}/libexec'
771 datarootdir
='${prefix}/share'
772 datadir
='${datarootdir}'
773 sysconfdir
='${prefix}/etc'
774 sharedstatedir
='${prefix}/com'
775 localstatedir
='${prefix}/var'
776 includedir
='${prefix}/include'
777 oldincludedir
='/usr/include'
778 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
779 infodir
='${datarootdir}/info'
784 libdir
='${exec_prefix}/lib'
785 localedir
='${datarootdir}/locale'
786 mandir
='${datarootdir}/man'
792 # If the previous option needs an argument, assign it.
793 if test -n "$ac_prev"; then
794 eval $ac_prev=\
$ac_option
800 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
804 # Accept the important Cygnus configure options, so we can diagnose typos.
806 case $ac_dashdash$ac_option in
810 -bindir | --bindir | --bindi | --bind | --bin | --bi)
812 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
815 -build | --build | --buil | --bui | --bu)
816 ac_prev
=build_alias
;;
817 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
818 build_alias
=$ac_optarg ;;
820 -cache-file | --cache-file | --cache-fil | --cache-fi \
821 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
822 ac_prev
=cache_file
;;
823 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
824 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
825 cache_file
=$ac_optarg ;;
828 cache_file
=config.cache
;;
830 -datadir | --datadir | --datadi | --datad)
832 -datadir=* | --datadir=* | --datadi=* | --datad=*)
833 datadir
=$ac_optarg ;;
835 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
836 | --dataroo | --dataro | --datar)
837 ac_prev
=datarootdir
;;
838 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
839 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
840 datarootdir
=$ac_optarg ;;
842 -disable-* | --disable-*)
843 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
844 # Reject names that are not valid shell variable names.
845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
846 as_fn_error
"invalid feature name: $ac_useropt"
847 ac_useropt_orig
=$ac_useropt
848 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
849 case $ac_user_opts in
853 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
854 ac_unrecognized_sep
=', ';;
856 eval enable_
$ac_useropt=no
;;
858 -docdir | --docdir | --docdi | --doc | --do)
860 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
863 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
865 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
868 -enable-* | --enable-*)
869 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
872 as_fn_error
"invalid feature name: $ac_useropt"
873 ac_useropt_orig
=$ac_useropt
874 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
879 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
880 ac_unrecognized_sep
=', ';;
882 eval enable_
$ac_useropt=\
$ac_optarg ;;
884 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
885 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
886 | --exec | --exe | --ex)
887 ac_prev
=exec_prefix
;;
888 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
889 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
890 | --exec=* | --exe=* | --ex=*)
891 exec_prefix
=$ac_optarg ;;
893 -gas | --gas | --ga | --g)
894 # Obsolete; use --with-gas.
897 -help | --help | --hel | --he | -h)
899 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
900 ac_init_help
=recursive
;;
901 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
902 ac_init_help
=short
;;
904 -host | --host | --hos | --ho)
905 ac_prev
=host_alias
;;
906 -host=* | --host=* | --hos=* | --ho=*)
907 host_alias
=$ac_optarg ;;
909 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
911 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
913 htmldir
=$ac_optarg ;;
915 -includedir | --includedir | --includedi | --included | --include \
916 | --includ | --inclu | --incl | --inc)
917 ac_prev
=includedir
;;
918 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
919 | --includ=* | --inclu=* | --incl=* | --inc=*)
920 includedir
=$ac_optarg ;;
922 -infodir | --infodir | --infodi | --infod | --info | --inf)
924 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
925 infodir
=$ac_optarg ;;
927 -libdir | --libdir | --libdi | --libd)
929 -libdir=* | --libdir=* | --libdi=* | --libd=*)
932 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
933 | --libexe | --libex | --libe)
934 ac_prev
=libexecdir
;;
935 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
936 | --libexe=* | --libex=* | --libe=*)
937 libexecdir
=$ac_optarg ;;
939 -localedir | --localedir | --localedi | --localed | --locale)
941 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
942 localedir
=$ac_optarg ;;
944 -localstatedir | --localstatedir | --localstatedi | --localstated \
945 | --localstate | --localstat | --localsta | --localst | --locals)
946 ac_prev
=localstatedir
;;
947 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
948 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
949 localstatedir
=$ac_optarg ;;
951 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
953 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
957 # Obsolete; use --without-fp.
960 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
961 | --no-cr | --no-c | -n)
964 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
965 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
968 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
969 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
970 | --oldin | --oldi | --old | --ol | --o)
971 ac_prev
=oldincludedir
;;
972 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
973 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
974 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
975 oldincludedir
=$ac_optarg ;;
977 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
979 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
982 -program-prefix | --program-prefix | --program-prefi | --program-pref \
983 | --program-pre | --program-pr | --program-p)
984 ac_prev
=program_prefix
;;
985 -program-prefix=* | --program-prefix=* | --program-prefi=* \
986 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
987 program_prefix
=$ac_optarg ;;
989 -program-suffix | --program-suffix | --program-suffi | --program-suff \
990 | --program-suf | --program-su | --program-s)
991 ac_prev
=program_suffix
;;
992 -program-suffix=* | --program-suffix=* | --program-suffi=* \
993 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
994 program_suffix
=$ac_optarg ;;
996 -program-transform-name | --program-transform-name \
997 | --program-transform-nam | --program-transform-na \
998 | --program-transform-n | --program-transform- \
999 | --program-transform | --program-transfor \
1000 | --program-transfo | --program-transf \
1001 | --program-trans | --program-tran \
1002 | --progr-tra | --program-tr | --program-t)
1003 ac_prev
=program_transform_name
;;
1004 -program-transform-name=* | --program-transform-name=* \
1005 | --program-transform-nam=* | --program-transform-na=* \
1006 | --program-transform-n=* | --program-transform-=* \
1007 | --program-transform=* | --program-transfor=* \
1008 | --program-transfo=* | --program-transf=* \
1009 | --program-trans=* | --program-tran=* \
1010 | --progr-tra=* | --program-tr=* | --program-t=*)
1011 program_transform_name
=$ac_optarg ;;
1013 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1015 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1016 pdfdir
=$ac_optarg ;;
1018 -psdir | --psdir | --psdi | --psd | --ps)
1020 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1024 | -silent | --silent | --silen | --sile | --sil)
1027 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1029 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1031 sbindir
=$ac_optarg ;;
1033 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1034 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1035 | --sharedst | --shareds | --shared | --share | --shar \
1037 ac_prev
=sharedstatedir
;;
1038 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1039 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1040 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1042 sharedstatedir
=$ac_optarg ;;
1044 -site | --site | --sit)
1046 -site=* | --site=* | --sit=*)
1049 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1051 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1052 srcdir
=$ac_optarg ;;
1054 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1055 | --syscon | --sysco | --sysc | --sys | --sy)
1056 ac_prev
=sysconfdir
;;
1057 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1058 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1059 sysconfdir
=$ac_optarg ;;
1061 -target | --target | --targe | --targ | --tar | --ta | --t)
1062 ac_prev
=target_alias
;;
1063 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1064 target_alias
=$ac_optarg ;;
1066 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1069 -version | --version | --versio | --versi | --vers | -V)
1070 ac_init_version
=: ;;
1073 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1076 as_fn_error
"invalid package name: $ac_useropt"
1077 ac_useropt_orig
=$ac_useropt
1078 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1083 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1084 ac_unrecognized_sep
=', ';;
1086 eval with_
$ac_useropt=\
$ac_optarg ;;
1088 -without-* | --without-*)
1089 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1092 as_fn_error
"invalid package name: $ac_useropt"
1093 ac_useropt_orig
=$ac_useropt
1094 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1099 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1100 ac_unrecognized_sep
=', ';;
1102 eval with_
$ac_useropt=no
;;
1105 # Obsolete; use --with-x.
1108 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1109 | --x-incl | --x-inc | --x-in | --x-i)
1110 ac_prev
=x_includes
;;
1111 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1112 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1113 x_includes
=$ac_optarg ;;
1115 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1116 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1117 ac_prev
=x_libraries
;;
1118 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1119 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1120 x_libraries
=$ac_optarg ;;
1122 -*) as_fn_error
"unrecognized option: \`$ac_option'
1123 Try \`$0 --help' for more information."
1127 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1128 # Reject names that are not valid shell variable names.
1129 case $ac_envvar in #(
1130 '' | [0-9]* | *[!_$as_cr_alnum]* )
1131 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1133 eval $ac_envvar=\
$ac_optarg
1134 export $ac_envvar ;;
1137 # FIXME: should be removed in autoconf 3.0.
1138 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1139 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1140 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1141 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1147 if test -n "$ac_prev"; then
1148 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1149 as_fn_error
"missing argument to $ac_option"
1152 if test -n "$ac_unrecognized_opts"; then
1153 case $enable_option_checking in
1155 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1156 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1160 # Check all directory arguments for consistency.
1161 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1162 datadir sysconfdir sharedstatedir localstatedir includedir \
1163 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1164 libdir localedir mandir
1166 eval ac_val
=\$
$ac_var
1167 # Remove trailing slashes.
1170 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1171 eval $ac_var=\
$ac_val;;
1173 # Be sure to have absolute directory names.
1175 [\\/$
]* | ?
:[\\/]* ) continue;;
1176 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1178 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1181 # There might be people who depend on the old broken behavior: `$host'
1182 # used to hold the argument of --host etc.
1183 # FIXME: To remove some day.
1186 target
=$target_alias
1188 # FIXME: To remove some day.
1189 if test "x$host_alias" != x
; then
1190 if test "x$build_alias" = x
; then
1191 cross_compiling
=maybe
1192 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1193 If a cross compiler is detected then cross compile mode will be used." >&2
1194 elif test "x$build_alias" != "x$host_alias"; then
1200 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1202 test "$silent" = yes && exec 6>/dev
/null
1205 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di
=`ls -di .` &&
1207 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1208 as_fn_error
"working directory cannot be determined"
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 as_fn_error
"pwd does not report name of working directory"
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted
=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir
=`$as_dirname -- "$as_myself" ||
1218 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$as_myself" : 'X\(//\)[^/]' \| \
1220 X"$as_myself" : 'X\(//\)$' \| \
1221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1222 $as_echo X"$as_myself" |
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1245 ac_srcdir_defaulted
=no
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1249 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1251 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1255 # When building in place, set srcdir=.
1256 if test "$ac_abs_confdir" = "$ac_pwd"; then
1259 # Remove unnecessary trailing slashes from srcdir.
1260 # Double slashes in file names in object file debugging info
1261 # mess up M-x gdb in Emacs.
1263 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265 for ac_var
in $ac_precious_vars; do
1266 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1267 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1268 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1269 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1273 # Report the --help message.
1275 if test "$ac_init_help" = "long"; then
1276 # Omit some internal or obsolete options to make the list less imposing.
1277 # This message is too long to be a string in the A/UX 3.1 sh.
1279 \`configure' configures X3 1.8 to adapt to many kinds of systems.
1281 Usage: $0 [OPTION]... [VAR=VALUE]...
1283 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1284 VAR=VALUE. See below for descriptions of some of the useful variables.
1286 Defaults for the options are specified in brackets.
1289 -h, --help display this help and exit
1290 --help=short display options specific to this package
1291 --help=recursive display the short help of all the included packages
1292 -V, --version display version information and exit
1293 -q, --quiet, --silent do not print \`checking...' messages
1294 --cache-file=FILE cache test results in FILE [disabled]
1295 -C, --config-cache alias for \`--cache-file=config.cache'
1296 -n, --no-create do not create output files
1297 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1299 Installation directories:
1300 --prefix=PREFIX install architecture-independent files in PREFIX
1301 [$ac_default_prefix]
1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1305 By default, \`make install' will install all the files in
1306 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1307 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1308 for instance \`--prefix=\$HOME'.
1310 For better control, use the options below.
1312 Fine tuning of the installation directories:
1313 --bindir=DIR user executables [EPREFIX/bin]
1314 --sbindir=DIR system admin executables [EPREFIX/sbin]
1315 --libexecdir=DIR program executables [EPREFIX/libexec]
1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1319 --libdir=DIR object code libraries [EPREFIX/lib]
1320 --includedir=DIR C header files [PREFIX/include]
1321 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1322 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1323 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1324 --infodir=DIR info documentation [DATAROOTDIR/info]
1325 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1326 --mandir=DIR man documentation [DATAROOTDIR/man]
1327 --docdir=DIR documentation root [DATAROOTDIR/doc/x3]
1328 --htmldir=DIR html documentation [DOCDIR]
1329 --dvidir=DIR dvi documentation [DOCDIR]
1330 --pdfdir=DIR pdf documentation [DOCDIR]
1331 --psdir=DIR ps documentation [DOCDIR]
1337 --program-prefix=PREFIX prepend PREFIX to installed program names
1338 --program-suffix=SUFFIX append SUFFIX to installed program names
1339 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1342 --build=BUILD configure
for building on BUILD
[guessed
]
1343 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1344 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1348 if test -n "$ac_init_help"; then
1349 case $ac_init_help in
1350 short
| recursive
) echo "Configuration of X3 1.8:";;
1355 --disable-option-checking ignore unrecognized
--enable/--with options
1356 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1357 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1358 --enable-maintainer-mode enable make rules and dependencies not useful
1359 (and sometimes confusing
) to the casual installer
1360 --disable-dependency-tracking speeds up one
-time build
1361 --enable-dependency-tracking do not reject slow dependency extractors
1362 --disable-tokens Disables tokenization of P10 protocol output
1363 (tokens required
if linking to ircu
2.10.11)
1364 --enable-debug Enables debugging behaviors
1365 --enable-modules=list
,of
,modules Enable extra modules
1366 --disable-python don
't build the python plugin
1369 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1370 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1371 --with-malloc=type Enables use of a special malloc library; one of:
1372 system (the default), boehm-gc, dmalloc, mpatrol, x3, slab
1373 --with-protocol=name Choose IRC dialect to support; one of:
1375 --with-mail=name How to send mail; one of:
1376 sendmail (the default), smtp
1377 --without-epoll Disables the epoll_*() I/O backend
1378 --without-kevent Disables the kevent() I/O backend
1379 --without-getopt Disables building of the GNU getopt library
1380 --with-tre=PATH Base path to where libtre is installed, such that
1381 PATH/lib/libtre.so and PATH/include/tre/regex.h exist.
1382 --with-coredumper=PATH Base path to where core dumper is installed, such
1383 that PATH/lib/libcoredumper.so and
1384 PATH/include/google/coredumper.h exist.
1385 --with-ssl=PATH Base path to where openssl is installed
1386 --with-ldap=PATH Base path to where the ldap library and headers are installed,
1387 such that PATH/include/ldap.h and PATH/lib/libldap.so exist.
1389 Some influential environment variables:
1390 CC C compiler command
1391 CFLAGS C compiler flags
1392 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1393 nonstandard directory <lib dir>
1394 LIBS libraries to pass to the linker, e.g. -l<library>
1395 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1396 you have headers in a nonstandard directory <include dir>
1399 Use these variables to override the choices made by `configure' or to
help
1400 it to
find libraries and programs with nonstandard names
/locations.
1402 Report bugs to
<evilnet
-devel@lists.sourceforge.net
>.
1407 if test "$ac_init_help" = "recursive"; then
1408 # If there are subdirs, report their specific --help.
1409 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1410 test -d "$ac_dir" ||
1411 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1416 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1418 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1419 # A ".." for each directory in $ac_dir_suffix.
1420 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1421 case $ac_top_builddir_sub in
1422 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1423 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1426 ac_abs_top_builddir
=$ac_pwd
1427 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1428 # for backward compatibility:
1429 ac_top_builddir
=$ac_top_build_prefix
1432 .
) # We are building in place.
1434 ac_top_srcdir
=$ac_top_builddir_sub
1435 ac_abs_top_srcdir
=$ac_pwd ;;
1436 [\\/]* | ?
:[\\/]* ) # Absolute name.
1437 ac_srcdir
=$srcdir$ac_dir_suffix;
1438 ac_top_srcdir
=$srcdir
1439 ac_abs_top_srcdir
=$srcdir ;;
1441 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1442 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1443 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1445 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1447 cd "$ac_dir" || { ac_status
=$?
; continue; }
1448 # Check for guested configure.
1449 if test -f "$ac_srcdir/configure.gnu"; then
1451 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1452 elif test -f "$ac_srcdir/configure"; then
1454 $SHELL "$ac_srcdir/configure" --help=recursive
1456 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1458 cd "$ac_pwd" || { ac_status
=$?
; break; }
1462 test -n "$ac_init_help" && exit $ac_status
1463 if $ac_init_version; then
1466 generated by GNU Autoconf
2.64
1468 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1469 This configure
script is free software
; the Free Software Foundation
1470 gives unlimited permission to copy
, distribute and modify it.
1475 ## ------------------------ ##
1476 ## Autoconf initialization. ##
1477 ## ------------------------ ##
1479 # ac_fn_c_try_compile LINENO
1480 # --------------------------
1481 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1482 ac_fn_c_try_compile
()
1484 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1485 rm -f conftest.
$ac_objext
1486 if { { ac_try
="$ac_compile"
1488 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1489 *) ac_try_echo=$ac_try;;
1491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1492 $as_echo "$ac_try_echo"; } >&5
1493 (eval "$ac_compile") 2>conftest.err
1495 if test -s conftest.err; then
1496 grep -v '^ *+' conftest.err >conftest.er1
1497 cat conftest.er1 >&5
1498 mv -f conftest.er1 conftest.err
1500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1501 test $ac_status = 0; } && {
1502 test -z "$ac_c_werror_flag" ||
1503 test ! -s conftest.err
1504 } && test -s conftest.$ac_objext; then :
1507 $as_echo "$as_me: failed program was:" >&5
1508 sed 's/^/| /' conftest.$ac_ext >&5
1512 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1515 } # ac_fn_c_try_compile
1517 # ac_fn_c_try_cpp LINENO
1518 # ----------------------
1519 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1523 if { { ac_try="$ac_cpp conftest.$ac_ext"
1525 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1526 *) ac_try_echo
=$ac_try;;
1528 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529 $as_echo "$ac_try_echo"; } >&5
1530 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1532 if test -s conftest.err
; then
1533 grep -v '^ *+' conftest.err
>conftest.er1
1534 cat conftest.er1
>&5
1535 mv -f conftest.er1 conftest.err
1537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1538 test $ac_status = 0; } >/dev
/null
&& {
1539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1540 test ! -s conftest.err
1544 $as_echo "$as_me: failed program was:" >&5
1545 sed 's/^/| /' conftest.
$ac_ext >&5
1549 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1554 # ac_fn_c_try_link LINENO
1555 # -----------------------
1556 # Try to link conftest.$ac_ext, and return whether this succeeded.
1559 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1560 rm -f conftest.
$ac_objext conftest
$ac_exeext
1561 if { { ac_try
="$ac_link"
1563 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1564 *) ac_try_echo=$ac_try;;
1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_link") 2>conftest.err
1570 if test -s conftest.err; then
1571 grep -v '^ *+' conftest.err >conftest.er1
1572 cat conftest.er1 >&5
1573 mv -f conftest.er1 conftest.err
1575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576 test $ac_status = 0; } && {
1577 test -z "$ac_c_werror_flag" ||
1578 test ! -s conftest.err
1579 } && test -s conftest$ac_exeext && {
1580 test "$cross_compiling" = yes ||
1581 $as_test_x conftest$ac_exeext
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1590 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1591 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1592 # interfere with the next link command; also delete a directory that is
1593 # left behind by Apple's compiler. We do this before executing the actions.
1594 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1595 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1598 } # ac_fn_c_try_link
1600 # ac_fn_c_try_run LINENO
1601 # ----------------------
1602 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1603 # that executables *can* be run.
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 if { { ac_try="$ac_link"
1609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1610 *) ac_try_echo
=$ac_try;;
1612 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614 (eval "$ac_link") 2>&5
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1618 { { case "(($ac_try" in
1619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1620 *) ac_try_echo=$ac_try;;
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624 (eval "$ac_try") 2>&5
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; }; }; then :
1630 $as_echo "$as_me: program exited with status $ac_status" >&5
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1634 ac_retval=$ac_status
1636 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1637 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1642 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1643 # -------------------------------------------------------
1644 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1645 # the include files in INCLUDES and setting the cache variable VAR
1647 ac_fn_c_check_header_mongrel ()
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1652 $as_echo_n "checking for $2... " >&6; }
1653 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1654 $as_echo_n "(cached) " >&6
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1658 $as_echo "$ac_res" >&6; }
1660 # Is the header compilable?
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1662 $as_echo_n "checking $2 usability... " >&6; }
1663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664 /* end confdefs.h. */
1668 if ac_fn_c_try_compile "$LINENO"; then :
1669 ac_header_compiler=yes
1671 ac_header_compiler=no
1673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1675 $as_echo "$ac_header_compiler" >&6; }
1677 # Is the header present?
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1679 $as_echo_n "checking $2 presence... " >&6; }
1680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1681 /* end confdefs.h. */
1684 if ac_fn_c_try_cpp "$LINENO"; then :
1685 ac_header_preproc=yes
1687 ac_header_preproc=no
1689 rm -f conftest.err conftest.$ac_ext
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1691 $as_echo "$ac_header_preproc" >&6; }
1693 # So? What about this header?
1694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1697 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1699 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1703 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1705 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1707 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1709 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1711 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1713 ## -------------------------------------------------- ##
1714 ## Report this to evilnet-devel@lists.sourceforge.net ##
1715 ## -------------------------------------------------- ##
1717 ) | sed "s/^/$as_me: WARNING: /" >&2
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721 $as_echo_n "checking for $2... " >&6; }
1722 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1723 $as_echo_n "(cached) " >&6
1725 eval "$3=\$ac_header_compiler"
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 $as_echo "$ac_res" >&6; }
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1733 } # ac_fn_c_check_header_mongrel
1735 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1736 # -------------------------------------------------------
1737 # Tests whether HEADER exists and can be compiled using the include files in
1738 # INCLUDES, setting the cache variable VAR accordingly.
1739 ac_fn_c_check_header_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745 $as_echo_n "(cached) " >&6
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1752 if ac_fn_c_try_compile "$LINENO"; then :
1757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1764 } # ac_fn_c_check_header_compile
1766 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1767 # ----------------------------------------------------
1768 # Tries to find if the field MEMBER exists in type AGGR, after including
1769 # INCLUDES, setting cache variable VAR accordingly.
1770 ac_fn_c_check_member ()
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1774 $as_echo_n "checking for $2.$3... " >&6; }
1775 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1776 $as_echo_n "(cached) " >&6
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1791 if ac_fn_c_try_compile "$LINENO"; then :
1794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */
1801 if (sizeof ac_aggr.$3)
1807 if ac_fn_c_try_compile "$LINENO"; then :
1812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 $as_echo "$ac_res" >&6; }
1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1821 } # ac_fn_c_check_member
1823 # ac_fn_c_check_func LINENO FUNC VAR
1824 # ----------------------------------
1825 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1826 ac_fn_c_check_func ()
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830 $as_echo_n "checking for $2... " >&6; }
1831 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1832 $as_echo_n "(cached) " >&6
1834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1836 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1838 #define $2 innocuous_$2
1840 /* System header to define __stub macros and hopefully few prototypes,
1841 which can conflict with char $2 (); below.
1842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1843 <limits.h> exists even on freestanding compilers. */
1846 # include <limits.h>
1848 # include <assert.h>
1853 /* Override any GCC internal prototype to avoid an error.
1854 Use char because int might match the return type of a GCC
1855 builtin and then its argument prototype would still apply. */
1860 /* The GNU C library defines this for functions which it implements
1861 to always fail with ENOSYS. Some functions are actually named
1862 something starting with __ and the normal name is an alias. */
1863 #if defined __stub_$2 || defined __stub___$2
1875 if ac_fn_c_try_link "$LINENO"; then :
1880 rm -f core conftest.err conftest.$ac_objext \
1881 conftest$ac_exeext conftest.$ac_ext
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1885 $as_echo "$ac_res" >&6; }
1886 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888 } # ac_fn_c_check_func
1890 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1891 # -------------------------------------------
1892 # Tests whether TYPE exists after having included INCLUDES, setting cache
1893 # variable VAR accordingly.
1894 ac_fn_c_check_type ()
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898 $as_echo_n "checking for $2... " >&6; }
1899 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1900 $as_echo_n "(cached) " >&6
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1915 if ac_fn_c_try_compile "$LINENO"; then :
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1928 if ac_fn_c_try_compile "$LINENO"; then :
1933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1940 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 } # ac_fn_c_check_type
1943 cat >config.log <<_ACEOF
1944 This file contains any messages produced by compilers while
1945 running configure, to aid debugging if configure makes a mistake.
1947 It was created by X3 $as_me 1.8, which was
1948 generated by GNU Autoconf 2.64. Invocation command line was
1960 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1961 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1962 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1963 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1964 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1966 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1967 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1969 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1970 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1971 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1972 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1973 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1974 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1975 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983 test -z "$as_dir" && as_dir=.
1984 $as_echo "PATH: $as_dir"
2000 # Keep a trace of the command line.
2001 # Strip out --no-create and --no-recursion so they do not pile up.
2002 # Strip out --silent because we don't want to record it for future runs.
2003 # Also quote any args containing shell meta-characters.
2004 # Make two passes to allow for proper duplicate-argument suppression.
2008 ac_must_keep_next=false
2014 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2016 | -silent | --silent | --silen | --sile | --sil)
2019 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2022 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2024 as_fn_append ac_configure_args1 " '$ac_arg'"
2025 if test $ac_must_keep_next = true; then
2026 ac_must_keep_next=false # Got value, back to normal.
2029 *=* | --config-cache | -C | -disable-* | --disable-* \
2030 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2031 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2032 | -with-* | --with-* | -without-* | --without-* | --x)
2033 case "$ac_configure_args0 " in
2034 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2037 -* ) ac_must_keep_next=true ;;
2040 as_fn_append ac_configure_args " '$ac_arg'"
2045 { ac_configure_args0=; unset ac_configure_args0;}
2046 { ac_configure_args1=; unset ac_configure_args1;}
2048 # When interrupted or exit'd, cleanup temporary files, and complete
2049 # config.log. We remove comments because anyway the quotes in there
2050 # would cause problems or look ugly.
2051 # WARNING: Use '\'' to represent an apostrophe within the trap.
2052 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2053 trap 'exit_status=$?
2054 # Save into config.log some information that might help in debugging.
2059 ## ---------------- ##
2060 ## Cache variables. ##
2061 ## ---------------- ##
2064 # The following way of writing the cache mishandles newlines in values,
2066 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2067 eval ac_val=\$$ac_var
2071 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2072 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2075 _ | IFS | as_nl) ;; #(
2076 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2077 *) { eval $ac_var=; unset $ac_var;} ;;
2082 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2083 *${as_nl}ac_space=\ *)
2085 "s/'\''/'\''\\\\'\'''\''/g;
2086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2089 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2097 ## ----------------- ##
2098 ## Output variables. ##
2099 ## ----------------- ##
2102 for ac_var in $ac_subst_vars
2104 eval ac_val=\$$ac_var
2106 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2108 $as_echo "$ac_var='\''$ac_val'\''"
2112 if test -n "$ac_subst_files"; then
2114 ## ------------------- ##
2115 ## File substitutions. ##
2116 ## ------------------- ##
2119 for ac_var in $ac_subst_files
2121 eval ac_val=\$$ac_var
2123 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2125 $as_echo "$ac_var='\''$ac_val'\''"
2130 if test -s confdefs.h; then
2140 test "$ac_signal" != 0 &&
2141 $as_echo "$as_me: caught signal $ac_signal"
2142 $as_echo "$as_me: exit $exit_status"
2144 rm -f core *.core core.conftest.* &&
2145 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2148 for ac_signal in 1 2 13 15; do
2149 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2153 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2154 rm -f -r conftest* confdefs.h
2156 $as_echo "/* confdefs.h */" > confdefs.h
2158 # Predefined preprocessor variables.
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_NAME "$PACKAGE_NAME"
2164 cat >>confdefs.h <<_ACEOF
2165 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2168 cat >>confdefs.h <<_ACEOF
2169 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2172 cat >>confdefs.h <<_ACEOF
2173 #define PACKAGE_STRING "$PACKAGE_STRING"
2176 cat >>confdefs.h <<_ACEOF
2177 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2180 cat >>confdefs.h <<_ACEOF
2181 #define PACKAGE_URL "$PACKAGE_URL"
2185 # Let the site file select an alternate cache file if it wants to.
2186 # Prefer an explicitly selected file to automatically selected ones.
2189 if test -n "$CONFIG_SITE"; then
2190 ac_site_file1=$CONFIG_SITE
2191 elif test "x$prefix" != xNONE; then
2192 ac_site_file1=$prefix/share/config.site
2193 ac_site_file2=$prefix/etc/config.site
2195 ac_site_file1=$ac_default_prefix/share/config.site
2196 ac_site_file2=$ac_default_prefix/etc/config.site
2198 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2200 test "x$ac_site_file" = xNONE && continue
2201 if test -r "$ac_site_file"; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2203 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2204 sed 's/^/| /' "$ac_site_file" >&5
2209 if test -r "$cache_file"; then
2210 # Some versions of bash will fail to source /dev/null (special
2211 # files actually), so we avoid doing that.
2212 if test -f "$cache_file"; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2214 $as_echo "$as_me: loading cache $cache_file" >&6;}
2216 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2217 *) . "./$cache_file";;
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2222 $as_echo "$as_me: creating cache $cache_file" >&6;}
2226 # Check that the precious variables saved in the cache have kept the same
2228 ac_cache_corrupted=false
2229 for ac_var in $ac_precious_vars; do
2230 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2231 eval ac_new_set=\$ac_env_${ac_var}_set
2232 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2233 eval ac_new_val=\$ac_env_${ac_var}_value
2234 case $ac_old_set,$ac_new_set in
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2237 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2238 ac_cache_corrupted=: ;;
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2241 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2242 ac_cache_corrupted=: ;;
2245 if test "x$ac_old_val" != "x$ac_new_val"; then
2246 # differences in whitespace do not lead to failure.
2247 ac_old_val_w=`echo x
$ac_old_val`
2248 ac_new_val_w=`echo x
$ac_new_val`
2249 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2251 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2252 ac_cache_corrupted=:
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2255 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2256 eval $ac_var=\$ac_old_val
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2259 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2261 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2264 # Pass precious variables to config.status.
2265 if test "$ac_new_set" = set; then
2267 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2268 *) ac_arg=$ac_var=$ac_new_val ;;
2270 case " $ac_configure_args " in
2271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2272 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2276 if $ac_cache_corrupted; then
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2280 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2281 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2283 ## -------------------- ##
2284 ## Main body of script. ##
2285 ## -------------------- ##
2288 ac_cpp='$CPP $CPPFLAGS'
2289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2295 ac_config_headers="$ac_config_headers src/config.h"
2299 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2300 for ac_t in install-sh install.sh shtool; do
2301 if test -f "$ac_dir/$ac_t"; then
2303 ac_install_sh="$ac_aux_dir/$ac_t -c"
2308 if test -z "$ac_aux_dir"; then
2309 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2312 # These three variables are undocumented and unsupported,
2313 # and are intended to be withdrawn in a future Autoconf release.
2314 # They can cause serious problems if a builder's source tree is in a directory
2315 # whose full name contains unusual characters.
2316 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2317 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2318 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2321 # Make sure we can run config.sub.
2322 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2323 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2326 $as_echo_n "checking build system type... " >&6; }
2327 if test "${ac_cv_build+set}" = set; then :
2328 $as_echo_n "(cached) " >&6
2330 ac_build_alias=$build_alias
2331 test "x$ac_build_alias" = x &&
2332 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2333 test "x$ac_build_alias" = x &&
2334 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2335 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2336 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2340 $as_echo "$ac_cv_build" >&6; }
2341 case $ac_cv_build in
2343 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2346 ac_save_IFS=$IFS; IFS='-'
2352 # Remember, the first character of IFS is used to create $*,
2353 # except with old shells:
2356 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2360 $as_echo_n "checking host system type... " >&6; }
2361 if test "${ac_cv_host+set}" = set; then :
2362 $as_echo_n "(cached) " >&6
2364 if test "x$host_alias" = x; then
2365 ac_cv_host=$ac_cv_build
2367 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2368 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2373 $as_echo "$ac_cv_host" >&6; }
2376 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2379 ac_save_IFS=$IFS; IFS='-'
2385 # Remember, the first character of IFS is used to create $*,
2386 # except with old shells:
2389 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2393 $as_echo_n "checking target system type... " >&6; }
2394 if test "${ac_cv_target+set}" = set; then :
2395 $as_echo_n "(cached) " >&6
2397 if test "x$target_alias" = x; then
2398 ac_cv_target=$ac_cv_host
2400 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2401 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2406 $as_echo "$ac_cv_target" >&6; }
2407 case $ac_cv_target in
2409 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2411 target=$ac_cv_target
2412 ac_save_IFS=$IFS; IFS='-'
2418 # Remember, the first character of IFS is used to create $*,
2419 # except with old shells:
2422 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2425 # The aliases save the names the user supplied, while $host etc.
2426 # will get canonicalized.
2427 test -n "$target_alias" &&
2428 test "$program_prefix$program_suffix$program_transform_name" = \
2430 program_prefix=${target_alias}-
2431 am__api_version='1.11'
2433 # Find a good install program. We prefer a C program (faster),
2434 # so one script is as good as another. But avoid the broken or
2435 # incompatible versions:
2436 # SysV /etc/install, /usr/sbin/install
2437 # SunOS /usr/etc/install
2438 # IRIX /sbin/install
2440 # AmigaOS /C/install, which installs bootblocks on floppy discs
2441 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2442 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2443 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2444 # OS/2's system install, which has a completely different semantic
2445 # ./install, which can be erroneously created by make from ./install.sh.
2446 # Reject install programs that cannot install multiple files.
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2448 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2449 if test -z "$INSTALL"; then
2450 if test "${ac_cv_path_install+set}" = set; then :
2451 $as_echo_n "(cached) " >&6
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 test -z "$as_dir" && as_dir=.
2458 # Account for people who put trailing slashes in PATH elements.
2459 case $as_dir/ in #((
2460 ./ | .// | /[cC]/* | \
2461 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2462 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2465 # OSF1 and SCO ODT 3.0 have their own names for install.
2466 # Don't use installbsd from OSF since it installs stuff as root
2468 for ac_prog in ginstall scoinst install; do
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2471 if test $ac_prog = install &&
2472 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2473 # AIX install. It has an incompatible calling convention.
2475 elif test $ac_prog = install &&
2476 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2477 # program-specific install script used by HP pwplus--don't use.
2480 rm -rf conftest.one conftest.two conftest.dir
2481 echo one > conftest.one
2482 echo two > conftest.two
2484 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2485 test -s conftest.one && test -s conftest.two &&
2486 test -s conftest.dir/conftest.one &&
2487 test -s conftest.dir/conftest.two
2489 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2502 rm -rf conftest.one conftest.two conftest.dir
2505 if test "${ac_cv_path_install+set}" = set; then
2506 INSTALL=$ac_cv_path_install
2508 # As a last resort, use the slow shell script. Don't cache a
2509 # value for INSTALL within a source directory, because that will
2510 # break other packages using the cache if that directory is
2511 # removed, or if the value is a relative name.
2512 INSTALL=$ac_install_sh
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2516 $as_echo "$INSTALL" >&6; }
2518 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2519 # It thinks the first close brace ends the variable substitution.
2520 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2522 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2524 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2527 $as_echo_n "checking whether build environment is sane... " >&6; }
2530 echo timestamp > conftest.file
2531 # Reject unsafe characters in $srcdir or the absolute working directory
2532 # name. Accept space and tab only in the latter.
2536 *[\\\"\#\$\&\'\`$am_lf]*)
2537 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2540 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2541 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2544 # Do `set' in a subshell so we don
't clobber the current shell's
2545 # arguments. Must try -L first in case configure is actually a
2546 # symlink; some systems play weird games with the mod time of symlinks
2547 # (eg FreeBSD returns the mod time of the symlink's containing
2550 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2551 if test "$*" = "X"; then
2553 set X
`ls -t "$srcdir/configure" conftest.file`
2556 if test "$*" != "X $srcdir/configure conftest.file" \
2557 && test "$*" != "X conftest.file $srcdir/configure"; then
2559 # If neither matched, then we have a broken ls. This can happen
2560 # if, for instance, CONFIG_SHELL is bash and it inherits a
2561 # broken ls alias from the environment. This has actually
2562 # happened. Such a system could not be considered "sane".
2563 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2564 alias in your environment" "$LINENO" 5
2567 test "$2" = conftest.
file
2573 as_fn_error
"newly created file is older than distributed files!
2574 Check your system clock" "$LINENO" 5
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2577 $as_echo "yes" >&6; }
2578 test "$program_prefix" != NONE
&&
2579 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2580 # Use a double $ so make ignores it.
2581 test "$program_suffix" != NONE
&&
2582 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2583 # Double any \ or $.
2584 # By default was `s,x,x', remove it if useless.
2585 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2586 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2588 # expand $ac_aux_dir to an absolute path
2589 am_aux_dir
=`cd $ac_aux_dir && pwd`
2591 if test x
"${MISSING+set}" != xset
; then
2594 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2596 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2599 # Use eval to expand $SHELL
2600 if eval "$MISSING --run true"; then
2601 am_missing_run
="$MISSING --run "
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2605 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2608 if test x
"${install_sh}" != xset
; then
2611 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2613 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2617 # Installed binaries are usually stripped using `strip' when the user
2618 # run `make install-strip'. However `strip' might not be the right
2619 # tool to use in cross-compilation environments, therefore Automake
2620 # will honor the `STRIP' environment variable to overrule this program.
2621 if test "$cross_compiling" != no
; then
2622 if test -n "$ac_tool_prefix"; then
2623 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2624 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2626 $as_echo_n "checking for $ac_word... " >&6; }
2627 if test "${ac_cv_prog_STRIP+set}" = set; then :
2628 $as_echo_n "(cached) " >&6
2630 if test -n "$STRIP"; then
2631 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir
=.
2638 for ac_exec_ext
in '' $ac_executable_extensions; do
2639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2640 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 STRIP
=$ac_cv_prog_STRIP
2651 if test -n "$STRIP"; then
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2653 $as_echo "$STRIP" >&6; }
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2656 $as_echo "no" >&6; }
2661 if test -z "$ac_cv_prog_STRIP"; then
2663 # Extract the first word of "strip", so it can be a program name with args.
2664 set dummy strip
; ac_word
=$2
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2666 $as_echo_n "checking for $ac_word... " >&6; }
2667 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2668 $as_echo_n "(cached) " >&6
2670 if test -n "$ac_ct_STRIP"; then
2671 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 ac_cv_prog_ac_ct_STRIP
="strip"
2681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2691 if test -n "$ac_ct_STRIP"; then
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2693 $as_echo "$ac_ct_STRIP" >&6; }
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2696 $as_echo "no" >&6; }
2699 if test "x$ac_ct_STRIP" = x
; then
2702 case $cross_compiling:$ac_tool_warned in
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2706 ac_tool_warned
=yes ;;
2711 STRIP
="$ac_cv_prog_STRIP"
2715 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2718 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2719 if test -z "$MKDIR_P"; then
2720 if test "${ac_cv_path_mkdir+set}" = set; then :
2721 $as_echo_n "(cached) " >&6
2723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2724 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2727 test -z "$as_dir" && as_dir
=.
2728 for ac_prog
in mkdir gmkdir
; do
2729 for ac_exec_ext
in '' $ac_executable_extensions; do
2730 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2731 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2732 'mkdir (GNU coreutils) '* | \
2733 'mkdir (coreutils) '* | \
2734 'mkdir (fileutils) '4.1*)
2735 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2745 if test "${ac_cv_path_mkdir+set}" = set; then
2746 MKDIR_P
="$ac_cv_path_mkdir -p"
2748 # As a last resort, use the slow shell script. Don't cache a
2749 # value for MKDIR_P within a source directory, because that will
2750 # break other packages using the cache if that directory is
2751 # removed, or if the value is a relative name.
2752 test -d .
/--version && rmdir .
/--version
2753 MKDIR_P
="$ac_install_sh -d"
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2757 $as_echo "$MKDIR_P" >&6; }
2761 [\\/$
]* | ?
:[\\/]*) ;;
2762 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2765 for ac_prog
in gawk mawk nawk
awk
2767 # Extract the first word of "$ac_prog", so it can be a program name with args.
2768 set dummy
$ac_prog; ac_word
=$2
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770 $as_echo_n "checking for $ac_word... " >&6; }
2771 if test "${ac_cv_prog_AWK+set}" = set; then :
2772 $as_echo_n "(cached) " >&6
2774 if test -n "$AWK"; then
2775 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir
=.
2782 for ac_exec_ext
in '' $ac_executable_extensions; do
2783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2784 ac_cv_prog_AWK
="$ac_prog"
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 if test -n "$AWK"; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2797 $as_echo "$AWK" >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800 $as_echo "no" >&6; }
2804 test -n "$AWK" && break
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2808 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2810 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2811 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then :
2812 $as_echo_n "(cached) " >&6
2814 cat >conftest.
make <<\_ACEOF
2817 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2819 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2820 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2822 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2824 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2828 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2830 $as_echo "yes" >&6; }
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834 $as_echo "no" >&6; }
2835 SET_MAKE
="MAKE=${MAKE-make}"
2838 rm -rf .tst
2>/dev
/null
2839 mkdir .tst
2>/dev
/null
2840 if test -d .tst
; then
2845 rmdir .tst
2>/dev
/null
2847 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2848 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2849 # is not polluted with repeated "-I."
2850 am__isrc
=' -I$(srcdir)'
2851 # test to see if srcdir already configured
2852 if test -f $srcdir/config.status
; then
2853 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2857 # test whether we have cygpath
2858 if test -z "$CYGPATH_W"; then
2859 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2860 CYGPATH_W
='cygpath -w'
2867 # Define the identity of the package.
2872 cat >>confdefs.h
<<_ACEOF
2873 #define PACKAGE "$PACKAGE"
2877 cat >>confdefs.h
<<_ACEOF
2878 #define VERSION "$VERSION"
2881 # Some tools Automake needs.
2883 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2886 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2889 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2892 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2895 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2897 # We need awk for the "check" target. The system "awk" is bad on
2899 # Always define AMTAR for backward compatibility.
2901 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2903 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2911 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2912 # Check whether --enable-maintainer-mode was given.
2913 if test "${enable_maintainer_mode+set}" = set; then :
2914 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2916 USE_MAINTAINER_MODE
=no
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2920 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2921 if test $USE_MAINTAINER_MODE = yes; then
2922 MAINTAINER_MODE_TRUE
=
2923 MAINTAINER_MODE_FALSE
='#'
2925 MAINTAINER_MODE_TRUE
='#'
2926 MAINTAINER_MODE_FALSE
=
2929 MAINT
=$MAINTAINER_MODE_TRUE
2933 DEPDIR
="${am__leading_dot}deps"
2935 ac_config_commands
="$ac_config_commands depfiles"
2938 am_make
=${MAKE-make}
2939 cat > confinc
<< 'END'
2941 @echo this is the am__doit target
2944 # If we don't find an include directive, just comment out the code.
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2946 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2950 # First try GNU make style include.
2951 echo "include confinc" > confmf
2952 # Ignore all kinds of additional output from `make'.
2953 case `$am_make -s -f confmf 2> /dev/null` in #(
2954 *the\ am__doit\ target
*)
2960 # Now try BSD make style include.
2961 if test "$am__include" = "#"; then
2962 echo '.include "confinc"' > confmf
2963 case `$am_make -s -f confmf 2> /dev/null` in #(
2964 *the\ am__doit\ target
*)
2965 am__include
=.include
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2974 $as_echo "$_am_result" >&6; }
2975 rm -f confinc confmf
2977 # Check whether --enable-dependency-tracking was given.
2978 if test "${enable_dependency_tracking+set}" = set; then :
2979 enableval
=$enable_dependency_tracking;
2982 if test "x$enable_dependency_tracking" != xno
; then
2983 am_depcomp
="$ac_aux_dir/depcomp"
2986 if test "x$enable_dependency_tracking" != xno; then
2996 ac_cpp
='$CPP $CPPFLAGS'
2997 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2998 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2999 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3000 if test -n "$ac_tool_prefix"; then
3001 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3002 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004 $as_echo_n "checking for $ac_word... " >&6; }
3005 if test "${ac_cv_prog_CC+set}" = set; then :
3006 $as_echo_n "(cached) " >&6
3008 if test -n "$CC"; then
3009 ac_cv_prog_CC
="$CC" # Let the user override the test.
3011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir
=.
3016 for ac_exec_ext
in '' $ac_executable_extensions; do
3017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3018 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029 if test -n "$CC"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3031 $as_echo "$CC" >&6; }
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034 $as_echo "no" >&6; }
3039 if test -z "$ac_cv_prog_CC"; then
3041 # Extract the first word of "gcc", so it can be a program name with args.
3042 set dummy gcc
; ac_word
=$2
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3044 $as_echo_n "checking for $ac_word... " >&6; }
3045 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3046 $as_echo_n "(cached) " >&6
3048 if test -n "$ac_ct_CC"; then
3049 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3055 test -z "$as_dir" && as_dir
=.
3056 for ac_exec_ext
in '' $ac_executable_extensions; do
3057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3058 ac_cv_prog_ac_ct_CC
="gcc"
3059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3069 if test -n "$ac_ct_CC"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3071 $as_echo "$ac_ct_CC" >&6; }
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074 $as_echo "no" >&6; }
3077 if test "x$ac_ct_CC" = x
; then
3080 case $cross_compiling:$ac_tool_warned in
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3084 ac_tool_warned
=yes ;;
3092 if test -z "$CC"; then
3093 if test -n "$ac_tool_prefix"; then
3094 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3095 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097 $as_echo_n "checking for $ac_word... " >&6; }
3098 if test "${ac_cv_prog_CC+set}" = set; then :
3099 $as_echo_n "(cached) " >&6
3101 if test -n "$CC"; then
3102 ac_cv_prog_CC
="$CC" # Let the user override the test.
3104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir
=.
3109 for ac_exec_ext
in '' $ac_executable_extensions; do
3110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 if test -n "$CC"; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3124 $as_echo "$CC" >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3133 if test -z "$CC"; then
3134 # Extract the first word of "cc", so it can be a program name with args.
3135 set dummy cc
; ac_word
=$2
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137 $as_echo_n "checking for $ac_word... " >&6; }
3138 if test "${ac_cv_prog_CC+set}" = set; then :
3139 $as_echo_n "(cached) " >&6
3141 if test -n "$CC"; then
3142 ac_cv_prog_CC
="$CC" # Let the user override the test.
3145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3149 test -z "$as_dir" && as_dir
=.
3150 for ac_exec_ext
in '' $ac_executable_extensions; do
3151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3152 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3153 ac_prog_rejected
=yes
3157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 if test $ac_prog_rejected = yes; then
3165 # We found a bogon in the path, so make sure we never use it.
3166 set dummy
$ac_cv_prog_CC
3168 if test $# != 0; then
3169 # We chose a different compiler from the bogus one.
3170 # However, it has the same basename, so the bogon will be chosen
3171 # first if we set CC to just the basename; use the full file name.
3173 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3179 if test -n "$CC"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3181 $as_echo "$CC" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3189 if test -z "$CC"; then
3190 if test -n "$ac_tool_prefix"; then
3191 for ac_prog
in cl.exe
3193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3194 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if test "${ac_cv_prog_CC+set}" = set; then :
3198 $as_echo_n "(cached) " >&6
3200 if test -n "$CC"; then
3201 ac_cv_prog_CC
="$CC" # Let the user override the test.
3203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3207 test -z "$as_dir" && as_dir
=.
3208 for ac_exec_ext
in '' $ac_executable_extensions; do
3209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3210 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3221 if test -n "$CC"; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3223 $as_echo "$CC" >&6; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3230 test -n "$CC" && break
3233 if test -z "$CC"; then
3235 for ac_prog
in cl.exe
3237 # Extract the first word of "$ac_prog", so it can be a program name with args.
3238 set dummy
$ac_prog; ac_word
=$2
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240 $as_echo_n "checking for $ac_word... " >&6; }
3241 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3242 $as_echo_n "(cached) " >&6
3244 if test -n "$ac_ct_CC"; then
3245 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir
=.
3252 for ac_exec_ext
in '' $ac_executable_extensions; do
3253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3254 ac_cv_prog_ac_ct_CC
="$ac_prog"
3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3265 if test -n "$ac_ct_CC"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3267 $as_echo "$ac_ct_CC" >&6; }
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3274 test -n "$ac_ct_CC" && break
3277 if test "x$ac_ct_CC" = x
; then
3280 case $cross_compiling:$ac_tool_warned in
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3284 ac_tool_warned
=yes ;;
3293 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3295 as_fn_error
"no acceptable C compiler found in \$PATH
3296 See \`config.log' for more details." "$LINENO" 5; }
3298 # Provide some information about the compiler.
3299 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3302 for ac_option
in --version -v -V -qversion; do
3303 { { ac_try
="$ac_compiler $ac_option >&5"
3305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3306 *) ac_try_echo=$ac_try;;
3308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3309 $as_echo "$ac_try_echo"; } >&5
3310 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3312 if test -s conftest.err; then
3314 ... rest of stderr output deleted ...
3315 10q' conftest.err >conftest.er1
3316 cat conftest.er1 >&5
3317 rm -f conftest.er1 conftest.err
3319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3320 test $ac_status = 0; }
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3329 FILE *f = fopen ("conftest.out", "w");
3330 return ferror (f) || fclose (f) != 0;
3336 ac_clean_files_save=$ac_clean_files
3337 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3338 # Try to create an executable without -o first, disregard a.out.
3339 # It will help us diagnose broken compilers, and finding out an intuition
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3342 $as_echo_n "checking for C compiler default output file name... " >&6; }
3343 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3345 # The possible output files:
3346 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3349 for ac_file in $ac_files
3352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3353 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3358 if { { ac_try="$ac_link_default"
3360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3361 *) ac_try_echo
=$ac_try;;
3363 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3364 $as_echo "$ac_try_echo"; } >&5
3365 (eval "$ac_link_default") 2>&5
3367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3368 test $ac_status = 0; }; then :
3369 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3370 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3371 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3372 # so that the user can short-circuit this test for compilers unknown to
3374 for ac_file
in $ac_files ''
3376 test -f "$ac_file" || continue
3378 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3381 # We found the default executable, but exeext='' is most
3385 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3387 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3389 # We set ac_cv_exeext here because the later test for it is not
3390 # safe: cross compilers may not add the suffix if given an `-o'
3391 # argument, so we may need to know it at that point already.
3392 # Even if this section looks crufty: it has the advantage of
3399 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3405 $as_echo "$ac_file" >&6; }
3406 if test -z "$ac_file"; then :
3407 $as_echo "$as_me: failed program was:" >&5
3408 sed 's/^/| /' conftest.
$ac_ext >&5
3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 { as_fn_set_status
77
3413 as_fn_error
"C compiler cannot create executables
3414 See \`config.log' for more details." "$LINENO" 5; }; }
3416 ac_exeext
=$ac_cv_exeext
3418 # Check that the compiler produces executables we can run. If not, either
3419 # the compiler is broken, or we cross compile.
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3421 $as_echo_n "checking whether the C compiler works... " >&6; }
3422 # If not cross compiling, check that we can run a simple program.
3423 if test "$cross_compiling" != yes; then
3424 if { ac_try
='./$ac_file'
3425 { { case "(($ac_try" in
3426 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3427 *) ac_try_echo=$ac_try;;
3429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3430 $as_echo "$ac_try_echo"; } >&5
3431 (eval "$ac_try") 2>&5
3433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3434 test $ac_status = 0; }; }; then
3437 if test "$cross_compiling" = maybe; then
3440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3442 as_fn_error "cannot run C compiled programs.
3443 If you meant to cross compile
, use \
`--host'.
3444 See \`config.log
' for more details." "$LINENO" 5; }
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3449 $as_echo "yes" >&6; }
3451 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3452 ac_clean_files=$ac_clean_files_save
3453 # Check that the compiler produces executables we can run. If not, either
3454 # the compiler is broken, or we cross compile.
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3456 $as_echo_n "checking whether we are cross compiling... " >&6; }
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3458 $as_echo "$cross_compiling" >&6; }
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3461 $as_echo_n "checking for suffix of executables... " >&6; }
3462 if { { ac_try="$ac_link"
3464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469 (eval "$ac_link") 2>&5
3471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472 test $ac_status = 0; }; then :
3473 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3474 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3475 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3477 for ac_file
in conftest.exe conftest conftest.
*; do
3478 test -f "$ac_file" || continue
3480 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3481 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3487 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3489 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3490 See \`config.log' for more details." "$LINENO" 5; }
3492 rm -f conftest
$ac_cv_exeext
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3494 $as_echo "$ac_cv_exeext" >&6; }
3496 rm -f conftest.
$ac_ext
3497 EXEEXT
=$ac_cv_exeext
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3500 $as_echo_n "checking for suffix of object files... " >&6; }
3501 if test "${ac_cv_objext+set}" = set; then :
3502 $as_echo_n "(cached) " >&6
3504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3515 rm -f conftest.o conftest.obj
3516 if { { ac_try
="$ac_compile"
3518 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
3523 (eval "$ac_compile") 2>&5
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; then :
3527 for ac_file in conftest.o conftest.obj conftest.*; do
3528 test -f "$ac_file" || continue;
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3531 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3536 $as_echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3541 as_fn_error "cannot compute suffix of object files
: cannot compile
3542 See \
`config.log' for more details." "$LINENO" 5; }
3544 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3547 $as_echo "$ac_cv_objext" >&6; }
3548 OBJEXT=$ac_cv_objext
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3551 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3552 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3553 $as_echo_n "(cached) " >&6
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3569 if ac_fn_c_try_compile "$LINENO"; then :
3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3579 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3580 if test $ac_compiler_gnu = yes; then
3585 ac_test_CFLAGS=${CFLAGS+set}
3586 ac_save_CFLAGS=$CFLAGS
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3588 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3589 if test "${ac_cv_prog_cc_g+set}" = set; then :
3590 $as_echo_n "(cached) " >&6
3592 ac_save_c_werror_flag=$ac_c_werror_flag
3593 ac_c_werror_flag=yes
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3607 if ac_fn_c_try_compile "$LINENO"; then :
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3622 if ac_fn_c_try_compile "$LINENO"; then :
3625 ac_c_werror_flag=$ac_save_c_werror_flag
3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3628 /* end confdefs.h. */
3638 if ac_fn_c_try_compile "$LINENO"; then :
3641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646 ac_c_werror_flag=$ac_save_c_werror_flag
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3649 $as_echo "$ac_cv_prog_cc_g" >&6; }
3650 if test "$ac_test_CFLAGS" = set; then
3651 CFLAGS=$ac_save_CFLAGS
3652 elif test $ac_cv_prog_cc_g = yes; then
3653 if test "$GCC" = yes; then
3659 if test "$GCC" = yes; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3666 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3667 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3668 $as_echo_n "(cached) " >&6
3670 ac_cv_prog_cc_c89=no
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3676 #include <sys/types.h>
3677 #include <sys/stat.h>
3678 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3679 struct buf { int x; };
3680 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3681 static char *e (p, i)
3687 static char *f (char * (*g) (char **, int), char **p, ...)
3692 s = g (p, va_arg (v,int));
3697 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3698 function prototypes and stuff, but not '\xHH' hex character constants.
3699 These don't provoke an error unfortunately, instead are silently treated
3700 as 'x'. The following induces an error, until -std is added to get
3701 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3702 array size at least. It's necessary to write '\x00'==0 to get something
3703 that's true only with -std. */
3704 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3706 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3707 inside strings and character constants. */
3709 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3711 int test (int i, double x);
3712 struct s1 {int (*f) (int a);};
3713 struct s2 {int (*f) (double a);};
3714 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3720 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3725 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3726 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3728 CC="$ac_save_CC $ac_arg"
3729 if ac_fn_c_try_compile "$LINENO"; then :
3730 ac_cv_prog_cc_c89=$ac_arg
3732 rm -f core conftest.err conftest.$ac_objext
3733 test "x$ac_cv_prog_cc_c89" != "xno" && break
3735 rm -f conftest.$ac_ext
3740 case "x$ac_cv_prog_cc_c89" in
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3743 $as_echo "none needed" >&6; } ;;
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3746 $as_echo "unsupported" >&6; } ;;
3748 CC="$CC $ac_cv_prog_cc_c89"
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3750 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3752 if test "x$ac_cv_prog_cc_c89" != xno; then :
3757 ac_cpp='$CPP $CPPFLAGS'
3758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3762 depcc="$CC" am_compiler_list=
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3765 $as_echo_n "checking dependency style of $depcc... " >&6; }
3766 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3767 $as_echo_n "(cached) " >&6
3769 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3770 # We make a subdir and do the tests there. Otherwise we can end up
3771 # making bogus files that we don't know about and never remove. For
3772 # instance it was reported that on HP-UX the gcc test will end up
3773 # making a dummy file named `D
' -- because `-MD' means
`put the output
3776 # Copy depcomp to subdir because otherwise we won't find it if we're
3777 # using a relative directory.
3778 cp "$am_depcomp" conftest.dir
3780 # We will build objects and dependencies in a subdirectory because
3781 # it helps to detect inapplicable dependency modes. For instance
3782 # both Tru64's cc and ICC support -MD to output dependencies as a
3783 # side effect of compilation, but ICC will put the dependencies in
3784 # the current directory while Tru64 will put them in the object
3788 am_cv_CC_dependencies_compiler_type=none
3789 if test "$am_compiler_list" = ""; then
3790 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3793 case " $depcc " in #(
3794 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3797 for depmode in $am_compiler_list; do
3798 # Setup a source with many dependencies, because some compilers
3799 # like to wrap large dependency lists on column 80 (with \), and
3800 # we should not choose a depcomp mode which is confused by this.
3802 # We need to recreate these files for each test, as the compiler may
3803 # overwrite some of them when testing with obscure command lines.
3804 # This happens at least with the AIX C compiler.
3806 for i in 1 2 3 4 5 6; do
3807 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3808 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3809 # Solaris 8's
{/usr
,}/bin
/sh.
3810 touch sub
/conftst
$i.h
3812 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3814 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3815 # mode. It turns out that the SunPro C++ compiler does not properly
3816 # handle `-M -o', and we need to detect this. Also, some Intel
3817 # versions had trouble with output in subdirs
3818 am__obj
=sub
/conftest.
${OBJEXT-o}
3819 am__minus_obj
="-o $am__obj"
3822 # This depmode causes a compiler race in universal mode.
3823 test "$am__universal" = false
|| continue
3826 # after this tag, mechanisms are not by side-effect, so they'll
3827 # only be used when explicitly requested
3828 if test "x$enable_dependency_tracking" = xyes
; then
3834 msvisualcpp
| msvcmsys
)
3835 # This compiler won't grok `-c -o', but also, the minuso test has
3836 # not run yet. These depmodes are late enough in the game, and
3837 # so weak that their functioning should not be impacted.
3838 am__obj
=conftest.
${OBJEXT-o}
3843 if depmode
=$depmode \
3844 source=sub
/conftest.c object
=$am__obj \
3845 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3846 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3847 >/dev
/null
2>conftest.err
&&
3848 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3849 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3850 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3851 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3852 # icc doesn't choke on unknown options, it will just issue warnings
3853 # or remarks (even with -Werror). So we grep stderr for any message
3854 # that says an option was ignored or not supported.
3855 # When given -MP, icc 7.0 and 7.1 complain thusly:
3856 # icc: Command line warning: ignoring option '-M'; no argument required
3857 # The diagnosis changed in icc 8.0:
3858 # icc: Command line remark: option '-MP' not supported
3859 if (grep 'ignoring option' conftest.err
||
3860 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3861 am_cv_CC_dependencies_compiler_type
=$depmode
3870 am_cv_CC_dependencies_compiler_type
=none
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3875 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3876 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3879 test "x$enable_dependency_tracking" != xno \
3880 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3882 am__fastdepCC_FALSE
='#'
3884 am__fastdepCC_TRUE
='#'
3885 am__fastdepCC_FALSE
=
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
3891 $as_echo_n "checking return type of signal handlers... " >&6; }
3892 if test "${ac_cv_type_signal+set}" = set; then :
3893 $as_echo_n "(cached) " >&6
3895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3897 #include <sys/types.h>
3903 return *(signal (0, 0)) (0) == 1;
3908 if ac_fn_c_try_compile
"$LINENO"; then :
3909 ac_cv_type_signal
=int
3911 ac_cv_type_signal
=void
3913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
3916 $as_echo "$ac_cv_type_signal" >&6; }
3918 cat >>confdefs.h
<<_ACEOF
3919 #define RETSIGTYPE $ac_cv_type_signal
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3924 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3925 if test "${ac_cv_c_const+set}" = set; then :
3926 $as_echo_n "(cached) " >&6
3928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3934 /* FIXME: Include the comments suggested by Paul. */
3936 /* Ultrix mips cc rejects this. */
3937 typedef int charset[2];
3939 /* SunOS 4.1.1 cc rejects this. */
3940 char const *const *pcpcc;
3942 /* NEC SVR4.0.2 mips cc rejects this. */
3943 struct point {int x, y;};
3944 static struct point const zero = {0,0};
3945 /* AIX XL C 1.02.0.0 rejects this.
3946 It does not let you subtract one const X* pointer from another in
3947 an arm of an if-expression whose if-part is not a constant
3949 const char *g = "string";
3950 pcpcc = &g + (g ? g-g : 0);
3951 /* HPUX 7.0 cc rejects these. */
3953 ppc = (char**) pcpcc;
3954 pcpcc = (char const *const *) ppc;
3955 { /* SCO 3.2v4 cc rejects this. */
3957 char const *s = 0 ? (char *) 0 : (char const *) 0;
3962 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3964 const int *foo = &x[0];
3967 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3968 typedef const int *iptr;
3972 { /* AIX XL C 1.02.0.0 rejects this saying
3973 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3974 struct s { int j; const int *ap[3]; };
3975 struct s *b; b->j = 5;
3977 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3981 return !cs[0] && !zero.x;
3988 if ac_fn_c_try_compile
"$LINENO"; then :
3993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3996 $as_echo "$ac_cv_c_const" >&6; }
3997 if test $ac_cv_c_const = no
; then
3999 $as_echo "#define const /**/" >>confdefs.h
4004 for ac_prog
in gawk mawk nawk
awk
4006 # Extract the first word of "$ac_prog", so it can be a program name with args.
4007 set dummy
$ac_prog; ac_word
=$2
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4009 $as_echo_n "checking for $ac_word... " >&6; }
4010 if test "${ac_cv_prog_AWK+set}" = set; then :
4011 $as_echo_n "(cached) " >&6
4013 if test -n "$AWK"; then
4014 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4020 test -z "$as_dir" && as_dir
=.
4021 for ac_exec_ext
in '' $ac_executable_extensions; do
4022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4023 ac_cv_prog_AWK
="$ac_prog"
4024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4034 if test -n "$AWK"; then
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4036 $as_echo "$AWK" >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4043 test -n "$AWK" && break
4047 ac_cpp
='$CPP $CPPFLAGS'
4048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4051 if test -n "$ac_tool_prefix"; then
4052 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4053 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055 $as_echo_n "checking for $ac_word... " >&6; }
4056 if test "${ac_cv_prog_CC+set}" = set; then :
4057 $as_echo_n "(cached) " >&6
4059 if test -n "$CC"; then
4060 ac_cv_prog_CC
="$CC" # Let the user override the test.
4062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4066 test -z "$as_dir" && as_dir
=.
4067 for ac_exec_ext
in '' $ac_executable_extensions; do
4068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4069 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 if test -n "$CC"; then
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4082 $as_echo "$CC" >&6; }
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4085 $as_echo "no" >&6; }
4090 if test -z "$ac_cv_prog_CC"; then
4092 # Extract the first word of "gcc", so it can be a program name with args.
4093 set dummy gcc
; ac_word
=$2
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4095 $as_echo_n "checking for $ac_word... " >&6; }
4096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4097 $as_echo_n "(cached) " >&6
4099 if test -n "$ac_ct_CC"; then
4100 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4106 test -z "$as_dir" && as_dir
=.
4107 for ac_exec_ext
in '' $ac_executable_extensions; do
4108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4109 ac_cv_prog_ac_ct_CC
="gcc"
4110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4119 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4120 if test -n "$ac_ct_CC"; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4122 $as_echo "$ac_ct_CC" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4125 $as_echo "no" >&6; }
4128 if test "x$ac_ct_CC" = x
; then
4131 case $cross_compiling:$ac_tool_warned in
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4135 ac_tool_warned
=yes ;;
4143 if test -z "$CC"; then
4144 if test -n "$ac_tool_prefix"; then
4145 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4146 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4148 $as_echo_n "checking for $ac_word... " >&6; }
4149 if test "${ac_cv_prog_CC+set}" = set; then :
4150 $as_echo_n "(cached) " >&6
4152 if test -n "$CC"; then
4153 ac_cv_prog_CC
="$CC" # Let the user override the test.
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4162 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4173 if test -n "$CC"; then
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4175 $as_echo "$CC" >&6; }
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4178 $as_echo "no" >&6; }
4184 if test -z "$CC"; then
4185 # Extract the first word of "cc", so it can be a program name with args.
4186 set dummy cc
; ac_word
=$2
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4188 $as_echo_n "checking for $ac_word... " >&6; }
4189 if test "${ac_cv_prog_CC+set}" = set; then :
4190 $as_echo_n "(cached) " >&6
4192 if test -n "$CC"; then
4193 ac_cv_prog_CC
="$CC" # Let the user override the test.
4196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4200 test -z "$as_dir" && as_dir
=.
4201 for ac_exec_ext
in '' $ac_executable_extensions; do
4202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4203 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4204 ac_prog_rejected
=yes
4208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 if test $ac_prog_rejected = yes; then
4216 # We found a bogon in the path, so make sure we never use it.
4217 set dummy
$ac_cv_prog_CC
4219 if test $# != 0; then
4220 # We chose a different compiler from the bogus one.
4221 # However, it has the same basename, so the bogon will be chosen
4222 # first if we set CC to just the basename; use the full file name.
4224 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4230 if test -n "$CC"; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4232 $as_echo "$CC" >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235 $as_echo "no" >&6; }
4240 if test -z "$CC"; then
4241 if test -n "$ac_tool_prefix"; then
4242 for ac_prog
in cl.exe
4244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4245 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4247 $as_echo_n "checking for $ac_word... " >&6; }
4248 if test "${ac_cv_prog_CC+set}" = set; then :
4249 $as_echo_n "(cached) " >&6
4251 if test -n "$CC"; then
4252 ac_cv_prog_CC
="$CC" # Let the user override the test.
4254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4258 test -z "$as_dir" && as_dir
=.
4259 for ac_exec_ext
in '' $ac_executable_extensions; do
4260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4261 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 if test -n "$CC"; then
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4274 $as_echo "$CC" >&6; }
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4277 $as_echo "no" >&6; }
4281 test -n "$CC" && break
4284 if test -z "$CC"; then
4286 for ac_prog
in cl.exe
4288 # Extract the first word of "$ac_prog", so it can be a program name with args.
4289 set dummy
$ac_prog; ac_word
=$2
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4291 $as_echo_n "checking for $ac_word... " >&6; }
4292 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4293 $as_echo_n "(cached) " >&6
4295 if test -n "$ac_ct_CC"; then
4296 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4302 test -z "$as_dir" && as_dir
=.
4303 for ac_exec_ext
in '' $ac_executable_extensions; do
4304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4305 ac_cv_prog_ac_ct_CC
="$ac_prog"
4306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4316 if test -n "$ac_ct_CC"; then
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4318 $as_echo "$ac_ct_CC" >&6; }
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4321 $as_echo "no" >&6; }
4325 test -n "$ac_ct_CC" && break
4328 if test "x$ac_ct_CC" = x
; then
4331 case $cross_compiling:$ac_tool_warned in
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4335 ac_tool_warned
=yes ;;
4344 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4346 as_fn_error
"no acceptable C compiler found in \$PATH
4347 See \`config.log' for more details." "$LINENO" 5; }
4349 # Provide some information about the compiler.
4350 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4353 for ac_option
in --version -v -V -qversion; do
4354 { { ac_try
="$ac_compiler $ac_option >&5"
4356 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4357 *) ac_try_echo=$ac_try;;
4359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4360 $as_echo "$ac_try_echo"; } >&5
4361 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4363 if test -s conftest.err; then
4365 ... rest of stderr output deleted ...
4366 10q' conftest.err >conftest.er1
4367 cat conftest.er1 >&5
4368 rm -f conftest.er1 conftest.err
4370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4371 test $ac_status = 0; }
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4375 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4376 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4377 $as_echo_n "(cached) " >&6
4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4393 if ac_fn_c_try_compile "$LINENO"; then :
4398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4403 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4404 if test $ac_compiler_gnu = yes; then
4409 ac_test_CFLAGS=${CFLAGS+set}
4410 ac_save_CFLAGS=$CFLAGS
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4412 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4413 if test "${ac_cv_prog_cc_g+set}" = set; then :
4414 $as_echo_n "(cached) " >&6
4416 ac_save_c_werror_flag=$ac_c_werror_flag
4417 ac_c_werror_flag=yes
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4431 if ac_fn_c_try_compile "$LINENO"; then :
4435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h. */
4446 if ac_fn_c_try_compile "$LINENO"; then :
4449 ac_c_werror_flag=$ac_save_c_werror_flag
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */
4462 if ac_fn_c_try_compile "$LINENO"; then :
4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4470 ac_c_werror_flag=$ac_save_c_werror_flag
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4473 $as_echo "$ac_cv_prog_cc_g" >&6; }
4474 if test "$ac_test_CFLAGS" = set; then
4475 CFLAGS=$ac_save_CFLAGS
4476 elif test $ac_cv_prog_cc_g = yes; then
4477 if test "$GCC" = yes; then
4483 if test "$GCC" = yes; then
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4490 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4491 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4492 $as_echo_n "(cached) " >&6
4494 ac_cv_prog_cc_c89=no
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4500 #include <sys/types.h>
4501 #include <sys/stat.h>
4502 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4503 struct buf { int x; };
4504 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4505 static char *e (p, i)
4511 static char *f (char * (*g) (char **, int), char **p, ...)
4516 s = g (p, va_arg (v,int));
4521 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4522 function prototypes and stuff, but not '\xHH' hex character constants.
4523 These don't provoke an error unfortunately, instead are silently treated
4524 as 'x'. The following induces an error, until -std is added to get
4525 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4526 array size at least. It's necessary to write '\x00'==0 to get something
4527 that's true only with -std. */
4528 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4530 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4531 inside strings and character constants. */
4533 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4535 int test (int i, double x);
4536 struct s1 {int (*f) (int a);};
4537 struct s2 {int (*f) (double a);};
4538 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4544 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4549 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4550 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4552 CC="$ac_save_CC $ac_arg"
4553 if ac_fn_c_try_compile "$LINENO"; then :
4554 ac_cv_prog_cc_c89=$ac_arg
4556 rm -f core conftest.err conftest.$ac_objext
4557 test "x$ac_cv_prog_cc_c89" != "xno" && break
4559 rm -f conftest.$ac_ext
4564 case "x$ac_cv_prog_cc_c89" in
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4567 $as_echo "none needed" >&6; } ;;
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4570 $as_echo "unsupported" >&6; } ;;
4572 CC="$CC $ac_cv_prog_cc_c89"
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4574 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4576 if test "x$ac_cv_prog_cc_c89" != xno; then :
4581 ac_cpp='$CPP $CPPFLAGS'
4582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4586 depcc="$CC" am_compiler_list=
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4589 $as_echo_n "checking dependency style of $depcc... " >&6; }
4590 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4591 $as_echo_n "(cached) " >&6
4593 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4594 # We make a subdir and do the tests there. Otherwise we can end up
4595 # making bogus files that we don't know about and never remove. For
4596 # instance it was reported that on HP-UX the gcc test will end up
4597 # making a dummy file named `D
' -- because `-MD' means
`put the output
4600 # Copy depcomp to subdir because otherwise we won't find it if we're
4601 # using a relative directory.
4602 cp "$am_depcomp" conftest.dir
4604 # We will build objects and dependencies in a subdirectory because
4605 # it helps to detect inapplicable dependency modes. For instance
4606 # both Tru64's cc and ICC support -MD to output dependencies as a
4607 # side effect of compilation, but ICC will put the dependencies in
4608 # the current directory while Tru64 will put them in the object
4612 am_cv_CC_dependencies_compiler_type=none
4613 if test "$am_compiler_list" = ""; then
4614 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4617 case " $depcc " in #(
4618 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4621 for depmode in $am_compiler_list; do
4622 # Setup a source with many dependencies, because some compilers
4623 # like to wrap large dependency lists on column 80 (with \), and
4624 # we should not choose a depcomp mode which is confused by this.
4626 # We need to recreate these files for each test, as the compiler may
4627 # overwrite some of them when testing with obscure command lines.
4628 # This happens at least with the AIX C compiler.
4630 for i in 1 2 3 4 5 6; do
4631 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4632 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4633 # Solaris 8's
{/usr
,}/bin
/sh.
4634 touch sub
/conftst
$i.h
4636 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4638 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4639 # mode. It turns out that the SunPro C++ compiler does not properly
4640 # handle `-M -o', and we need to detect this. Also, some Intel
4641 # versions had trouble with output in subdirs
4642 am__obj
=sub
/conftest.
${OBJEXT-o}
4643 am__minus_obj
="-o $am__obj"
4646 # This depmode causes a compiler race in universal mode.
4647 test "$am__universal" = false
|| continue
4650 # after this tag, mechanisms are not by side-effect, so they'll
4651 # only be used when explicitly requested
4652 if test "x$enable_dependency_tracking" = xyes
; then
4658 msvisualcpp
| msvcmsys
)
4659 # This compiler won't grok `-c -o', but also, the minuso test has
4660 # not run yet. These depmodes are late enough in the game, and
4661 # so weak that their functioning should not be impacted.
4662 am__obj
=conftest.
${OBJEXT-o}
4667 if depmode
=$depmode \
4668 source=sub
/conftest.c object
=$am__obj \
4669 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4670 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4671 >/dev
/null
2>conftest.err
&&
4672 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4673 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4674 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4675 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4676 # icc doesn't choke on unknown options, it will just issue warnings
4677 # or remarks (even with -Werror). So we grep stderr for any message
4678 # that says an option was ignored or not supported.
4679 # When given -MP, icc 7.0 and 7.1 complain thusly:
4680 # icc: Command line warning: ignoring option '-M'; no argument required
4681 # The diagnosis changed in icc 8.0:
4682 # icc: Command line remark: option '-MP' not supported
4683 if (grep 'ignoring option' conftest.err
||
4684 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4685 am_cv_CC_dependencies_compiler_type
=$depmode
4694 am_cv_CC_dependencies_compiler_type
=none
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4699 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4700 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4703 test "x$enable_dependency_tracking" != xno \
4704 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4706 am__fastdepCC_FALSE
='#'
4708 am__fastdepCC_TRUE
='#'
4709 am__fastdepCC_FALSE
=
4715 # Extract the first word of "cp", so it can be a program name with args.
4716 set dummy
cp; ac_word
=$2
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4718 $as_echo_n "checking for $ac_word... " >&6; }
4719 if test "${ac_cv_path_CP+set}" = set; then :
4720 $as_echo_n "(cached) " >&6
4724 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
4727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4731 test -z "$as_dir" && as_dir
=.
4732 for ac_exec_ext
in '' $ac_executable_extensions; do
4733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4734 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
4735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 if test -n "$CP"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4748 $as_echo "$CP" >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 $as_echo "no" >&6; }
4756 if test -n "$ac_tool_prefix"; then
4757 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4758 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 $as_echo_n "checking for $ac_word... " >&6; }
4761 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4762 $as_echo_n "(cached) " >&6
4764 if test -n "$RANLIB"; then
4765 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir
=.
4772 for ac_exec_ext
in '' $ac_executable_extensions; do
4773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4774 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 RANLIB
=$ac_cv_prog_RANLIB
4785 if test -n "$RANLIB"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4787 $as_echo "$RANLIB" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4795 if test -z "$ac_cv_prog_RANLIB"; then
4796 ac_ct_RANLIB
=$RANLIB
4797 # Extract the first word of "ranlib", so it can be a program name with args.
4798 set dummy ranlib
; ac_word
=$2
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4800 $as_echo_n "checking for $ac_word... " >&6; }
4801 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4802 $as_echo_n "(cached) " >&6
4804 if test -n "$ac_ct_RANLIB"; then
4805 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4811 test -z "$as_dir" && as_dir
=.
4812 for ac_exec_ext
in '' $ac_executable_extensions; do
4813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4814 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4825 if test -n "$ac_ct_RANLIB"; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4827 $as_echo "$ac_ct_RANLIB" >&6; }
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4833 if test "x$ac_ct_RANLIB" = x
; then
4836 case $cross_compiling:$ac_tool_warned in
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4840 ac_tool_warned
=yes ;;
4842 RANLIB
=$ac_ct_RANLIB
4845 RANLIB
="$ac_cv_prog_RANLIB"
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4850 $as_echo_n "checking whether ln -s works... " >&6; }
4852 if test "$LN_S" = "ln -s"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4854 $as_echo "yes" >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4857 $as_echo "no, using $LN_S" >&6; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4861 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4863 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4864 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then :
4865 $as_echo_n "(cached) " >&6
4867 cat >conftest.
make <<\_ACEOF
4870 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4872 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4873 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4875 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4877 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4881 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4883 $as_echo "yes" >&6; }
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 $as_echo "no" >&6; }
4888 SET_MAKE
="MAKE=${MAKE-make}"
4892 ac_cpp
='$CPP $CPPFLAGS'
4893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4897 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4898 # On Suns, sometimes $CPP names a directory.
4899 if test -n "$CPP" && test -d "$CPP"; then
4902 if test -z "$CPP"; then
4903 if test "${ac_cv_prog_CPP+set}" = set; then :
4904 $as_echo_n "(cached) " >&6
4906 # Double quotes because CPP needs to be expanded
4907 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4910 for ac_c_preproc_warn_flag
in '' yes
4912 # Use a header file that comes with gcc, so configuring glibc
4913 # with a fresh cross-compiler works.
4914 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4915 # <limits.h> exists even on freestanding compilers.
4916 # On the NeXT, cc -E runs the code through the compiler's parser,
4917 # not just through cpp. "Syntax error" is here to catch this case.
4918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4919 /* end confdefs.h. */
4921 # include <limits.h>
4923 # include <assert.h>
4927 if ac_fn_c_try_cpp
"$LINENO"; then :
4930 # Broken: fails on valid input.
4933 rm -f conftest.err conftest.
$ac_ext
4935 # OK, works on sane cases. Now check whether nonexistent headers
4936 # can be detected and how.
4937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4939 #include <ac_nonexistent.h>
4941 if ac_fn_c_try_cpp
"$LINENO"; then :
4942 # Broken: success on invalid input.
4945 # Passes both tests.
4949 rm -f conftest.err conftest.
$ac_ext
4952 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4953 rm -f conftest.err conftest.
$ac_ext
4954 if $ac_preproc_ok; then :
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4967 $as_echo "$CPP" >&6; }
4969 for ac_c_preproc_warn_flag
in '' yes
4971 # Use a header file that comes with gcc, so configuring glibc
4972 # with a fresh cross-compiler works.
4973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4974 # <limits.h> exists even on freestanding compilers.
4975 # On the NeXT, cc -E runs the code through the compiler's parser,
4976 # not just through cpp. "Syntax error" is here to catch this case.
4977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4980 # include <limits.h>
4982 # include <assert.h>
4986 if ac_fn_c_try_cpp
"$LINENO"; then :
4989 # Broken: fails on valid input.
4992 rm -f conftest.err conftest.
$ac_ext
4994 # OK, works on sane cases. Now check whether nonexistent headers
4995 # can be detected and how.
4996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4997 /* end confdefs.h. */
4998 #include <ac_nonexistent.h>
5000 if ac_fn_c_try_cpp
"$LINENO"; then :
5001 # Broken: success on invalid input.
5004 # Passes both tests.
5008 rm -f conftest.err conftest.
$ac_ext
5011 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5012 rm -f conftest.err conftest.
$ac_ext
5013 if $ac_preproc_ok; then :
5016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5018 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5019 See \`config.log' for more details." "$LINENO" 5; }
5023 ac_cpp
='$CPP $CPPFLAGS'
5024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5030 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5031 if test "${ac_cv_path_GREP+set}" = set; then :
5032 $as_echo_n "(cached) " >&6
5034 if test -z "$GREP"; then
5035 ac_path_GREP_found
=false
5036 # Loop through the user's path and test for each of PROGNAME-LIST
5037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5038 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5041 test -z "$as_dir" && as_dir
=.
5042 for ac_prog
in grep ggrep
; do
5043 for ac_exec_ext
in '' $ac_executable_extensions; do
5044 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5045 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5046 # Check for GNU ac_path_GREP and select it if it is found.
5047 # Check for GNU $ac_path_GREP
5048 case `"$ac_path_GREP" --version 2>&1` in
5050 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5053 $as_echo_n 0123456789 >"conftest.in"
5056 cat "conftest.in" "conftest.in" >"conftest.tmp"
5057 mv "conftest.tmp" "conftest.in"
5058 cp "conftest.in" "conftest.nl"
5059 $as_echo 'GREP' >> "conftest.nl"
5060 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5061 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5062 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5063 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5064 # Best one so far, save it but keep looking for a better one
5065 ac_cv_path_GREP
="$ac_path_GREP"
5066 ac_path_GREP_max
=$ac_count
5068 # 10*(2^10) chars as input seems more than enough
5069 test $ac_count -gt 10 && break
5071 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5074 $ac_path_GREP_found && break 3
5079 if test -z "$ac_cv_path_GREP"; then
5080 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5083 ac_cv_path_GREP
=$GREP
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5088 $as_echo "$ac_cv_path_GREP" >&6; }
5089 GREP
="$ac_cv_path_GREP"
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5093 $as_echo_n "checking for egrep... " >&6; }
5094 if test "${ac_cv_path_EGREP+set}" = set; then :
5095 $as_echo_n "(cached) " >&6
5097 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
5098 then ac_cv_path_EGREP
="$GREP -E"
5100 if test -z "$EGREP"; then
5101 ac_path_EGREP_found
=false
5102 # Loop through the user's path and test for each of PROGNAME-LIST
5103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5104 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5107 test -z "$as_dir" && as_dir
=.
5108 for ac_prog
in egrep; do
5109 for ac_exec_ext
in '' $ac_executable_extensions; do
5110 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5111 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5112 # Check for GNU ac_path_EGREP and select it if it is found.
5113 # Check for GNU $ac_path_EGREP
5114 case `"$ac_path_EGREP" --version 2>&1` in
5116 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5119 $as_echo_n 0123456789 >"conftest.in"
5122 cat "conftest.in" "conftest.in" >"conftest.tmp"
5123 mv "conftest.tmp" "conftest.in"
5124 cp "conftest.in" "conftest.nl"
5125 $as_echo 'EGREP' >> "conftest.nl"
5126 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5127 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5128 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5129 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5130 # Best one so far, save it but keep looking for a better one
5131 ac_cv_path_EGREP
="$ac_path_EGREP"
5132 ac_path_EGREP_max
=$ac_count
5134 # 10*(2^10) chars as input seems more than enough
5135 test $ac_count -gt 10 && break
5137 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5140 $ac_path_EGREP_found && break 3
5145 if test -z "$ac_cv_path_EGREP"; then
5146 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5149 ac_cv_path_EGREP
=$EGREP
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5155 $as_echo "$ac_cv_path_EGREP" >&6; }
5156 EGREP
="$ac_cv_path_EGREP"
5159 if test $ac_cv_c_compiler_gnu = yes; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5161 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
5162 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
5163 $as_echo_n "(cached) " >&6
5165 ac_pattern
="Autoconf.*'x'"
5166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h. */
5171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5172 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
5173 ac_cv_prog_gcc_traditional
=yes
5175 ac_cv_prog_gcc_traditional
=no
5180 if test $ac_cv_prog_gcc_traditional = no
; then
5181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5182 /* end confdefs.h. */
5186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5187 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
5188 ac_cv_prog_gcc_traditional
=yes
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5195 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5196 if test $ac_cv_prog_gcc_traditional = yes; then
5197 CC
="$CC -traditional"
5201 # Extract the first word of "gmake", so it can be a program name with args.
5202 set dummy gmake
; ac_word
=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if test "${ac_cv_prog_MAKER+set}" = set; then :
5206 $as_echo_n "(cached) " >&6
5208 if test -n "$MAKER"; then
5209 ac_cv_prog_MAKER
="$MAKER" # Let the user override the test.
5211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5215 test -z "$as_dir" && as_dir
=.
5216 for ac_exec_ext
in '' $ac_executable_extensions; do
5217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218 ac_cv_prog_MAKER
="gmake"
5219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 test -z "$ac_cv_prog_MAKER" && ac_cv_prog_MAKER
="make"
5229 MAKER
=$ac_cv_prog_MAKER
5230 if test -n "$MAKER"; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKER" >&5
5232 $as_echo "$MAKER" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5241 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
5244 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
5248 EXTRA_DEFINE
="-D__SOLARIS__"
5249 ANSI_SRC
="-fno-builtin"
5252 ANSI_SRC
="-fno-builtin"
5255 EXTRA_DEFINE
="-D_GNU_SOURCE"
5262 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
5265 $as_echo_n "checking for socket in -lsocket... " >&6; }
5266 if test "${ac_cv_lib_socket_socket+set}" = set; then :
5267 $as_echo_n "(cached) " >&6
5269 ac_check_lib_save_LIBS
=$LIBS
5270 LIBS
="-lsocket $LIBS"
5271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5272 /* end confdefs.h. */
5274 /* Override any GCC internal prototype to avoid an error.
5275 Use char because int might match the return type of a GCC
5276 builtin and then its argument prototype would still apply. */
5289 if ac_fn_c_try_link
"$LINENO"; then :
5290 ac_cv_lib_socket_socket
=yes
5292 ac_cv_lib_socket_socket
=no
5294 rm -f core conftest.err conftest.
$ac_objext \
5295 conftest
$ac_exeext conftest.
$ac_ext
5296 LIBS
=$ac_check_lib_save_LIBS
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
5299 $as_echo "$ac_cv_lib_socket_socket" >&6; }
5300 if test "x$ac_cv_lib_socket_socket" = x
""yes; then :
5301 cat >>confdefs.h
<<_ACEOF
5302 #define HAVE_LIBSOCKET 1
5305 LIBS
="-lsocket $LIBS"
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5310 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5311 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
5312 $as_echo_n "(cached) " >&6
5314 ac_check_lib_save_LIBS
=$LIBS
5316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5319 /* Override any GCC internal prototype to avoid an error.
5320 Use char because int might match the return type of a GCC
5321 builtin and then its argument prototype would still apply. */
5325 char gethostbyname ();
5329 return gethostbyname ();
5334 if ac_fn_c_try_link
"$LINENO"; then :
5335 ac_cv_lib_nsl_gethostbyname
=yes
5337 ac_cv_lib_nsl_gethostbyname
=no
5339 rm -f core conftest.err conftest.
$ac_objext \
5340 conftest
$ac_exeext conftest.
$ac_ext
5341 LIBS
=$ac_check_lib_save_LIBS
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5344 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5345 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
5346 cat >>confdefs.h
<<_ACEOF
5347 #define HAVE_LIBNSL 1
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
5355 $as_echo_n "checking for main in -lm... " >&6; }
5356 if test "${ac_cv_lib_m_main+set}" = set; then :
5357 $as_echo_n "(cached) " >&6
5359 ac_check_lib_save_LIBS
=$LIBS
5361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5373 if ac_fn_c_try_link
"$LINENO"; then :
5374 ac_cv_lib_m_main
=yes
5378 rm -f core conftest.err conftest.
$ac_objext \
5379 conftest
$ac_exeext conftest.
$ac_ext
5380 LIBS
=$ac_check_lib_save_LIBS
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
5383 $as_echo "$ac_cv_lib_m_main" >&6; }
5384 if test "x$ac_cv_lib_m_main" = x
""yes; then :
5385 cat >>confdefs.h
<<_ACEOF
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GeoIP_open in -lGeoIP" >&5
5394 $as_echo_n "checking for GeoIP_open in -lGeoIP... " >&6; }
5395 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then :
5396 $as_echo_n "(cached) " >&6
5398 ac_check_lib_save_LIBS
=$LIBS
5399 LIBS
="-lGeoIP $LIBS"
5400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5403 /* Override any GCC internal prototype to avoid an error.
5404 Use char because int might match the return type of a GCC
5405 builtin and then its argument prototype would still apply. */
5413 return GeoIP_open ();
5418 if ac_fn_c_try_link
"$LINENO"; then :
5419 ac_cv_lib_GeoIP_GeoIP_open
=yes
5421 ac_cv_lib_GeoIP_GeoIP_open
=no
5423 rm -f core conftest.err conftest.
$ac_objext \
5424 conftest
$ac_exeext conftest.
$ac_ext
5425 LIBS
=$ac_check_lib_save_LIBS
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
5428 $as_echo "$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
5429 if test "x$ac_cv_lib_GeoIP_GeoIP_open" = x
""yes; then :
5430 cat >>confdefs.h
<<_ACEOF
5431 #define HAVE_LIBGEOIP 1
5434 LIBS
="-lGeoIP $LIBS"
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5440 $as_echo_n "checking for ANSI C header files... " >&6; }
5441 if test "${ac_cv_header_stdc+set}" = set; then :
5442 $as_echo_n "(cached) " >&6
5444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5445 /* end confdefs.h. */
5459 if ac_fn_c_try_compile
"$LINENO"; then :
5460 ac_cv_header_stdc
=yes
5462 ac_cv_header_stdc
=no
5464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5466 if test $ac_cv_header_stdc = yes; then
5467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5469 /* end confdefs.h. */
5473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5474 $EGREP "memchr" >/dev
/null
2>&1; then :
5477 ac_cv_header_stdc
=no
5483 if test $ac_cv_header_stdc = yes; then
5484 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5486 /* end confdefs.h. */
5490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5491 $EGREP "free" >/dev
/null
2>&1; then :
5494 ac_cv_header_stdc
=no
5500 if test $ac_cv_header_stdc = yes; then
5501 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5502 if test "$cross_compiling" = yes; then :
5505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5509 #if ((' ' & 0x0FF) == 0x020)
5510 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5511 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5513 # define ISLOWER(c) \
5514 (('a' <= (c) && (c) <= 'i') \
5515 || ('j' <= (c) && (c) <= 'r') \
5516 || ('s' <= (c) && (c) <= 'z'))
5517 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5520 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5525 for (i = 0; i < 256; i++)
5526 if (XOR (islower (i), ISLOWER (i))
5527 || toupper (i) != TOUPPER (i))
5532 if ac_fn_c_try_run
"$LINENO"; then :
5535 ac_cv_header_stdc
=no
5537 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5538 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5544 $as_echo "$ac_cv_header_stdc" >&6; }
5545 if test $ac_cv_header_stdc = yes; then
5547 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5553 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5554 if test "${ac_cv_header_time+set}" = set; then :
5555 $as_echo_n "(cached) " >&6
5557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5558 /* end confdefs.h. */
5559 #include <sys/types.h>
5560 #include <sys/time.h>
5566 if ((struct tm *) 0)
5572 if ac_fn_c_try_compile
"$LINENO"; then :
5573 ac_cv_header_time
=yes
5575 ac_cv_header_time
=no
5577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5580 $as_echo "$ac_cv_header_time" >&6; }
5581 if test $ac_cv_header_time = yes; then
5583 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5588 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5589 if test "${ac_cv_struct_tm+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5594 #include <sys/types.h>
5601 int *p = &tm.tm_sec;
5607 if ac_fn_c_try_compile
"$LINENO"; then :
5608 ac_cv_struct_tm
=time.h
5610 ac_cv_struct_tm
=sys
/time.h
5612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5615 $as_echo "$ac_cv_struct_tm" >&6; }
5616 if test $ac_cv_struct_tm = sys
/time.h
; then
5618 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5623 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5624 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5625 inttypes.h stdint.h unistd.h
5627 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5628 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5630 eval as_val
=\$
$as_ac_Header
5631 if test "x$as_val" = x
""yes; then :
5632 cat >>confdefs.h
<<_ACEOF
5633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5641 for ac_header
in GeoIP.h GeoIPCity.h arpa
/inet.h fcntl.h math.h tgmath.h malloc.h netdb.h netinet
/in.h sys
/resource.h sys
/timeb.h sys
/times.h sys
/param.h sys
/socket.h sys
/time.h sys
/types.h sys
/wait.h unistd.h getopt.h memory.h arpa
/inet.h sys
/mman.h sys
/stat.h dirent.h sys
/epoll.h sys
/event.h
5643 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5644 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5645 eval as_val
=\$
$as_ac_Header
5646 if test "x$as_val" = x
""yes; then :
5647 cat >>confdefs.h
<<_ACEOF
5648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5656 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
5657 #include <sys/socket.h>
5659 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x
""yes; then :
5661 $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
5665 ac_fn_c_check_member
"$LINENO" "struct addrinfo" "ai_flags" "ac_cv_member_struct_addrinfo_ai_flags" "#include <sys/types.h>
5666 #include <sys/socket.h>
5669 if test "x$ac_cv_member_struct_addrinfo_ai_flags" = x
""yes; then :
5671 $as_echo "#define HAVE_STRUCT_ADDRINFO 1" >>confdefs.h
5676 for ac_func
in freeaddrinfo getaddrinfo gai_strerror getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long regcomp regexec regfree sysconf inet_aton epoll_create kqueue kevent
select gettimeofday
times GetProcessTimes mprotect
5678 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5679 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5680 eval as_val
=\$
$as_ac_var
5681 if test "x$as_val" = x
""yes; then :
5682 cat >>confdefs.h
<<_ACEOF
5683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5691 if test $ac_cv_func_gettimeofday = no
; then
5692 for ac_func
in ftime
5694 ac_fn_c_check_func
"$LINENO" "ftime" "ac_cv_func_ftime"
5695 if test "x$ac_cv_func_ftime" = x
""yes; then :
5696 cat >>confdefs.h
<<_ACEOF
5697 #define HAVE_FTIME 1
5701 as_fn_error
"ftime or gettimeofday required. X3 build will fail." "$LINENO" 5
5707 for ac_func
in socket strcspn strspn strtod strtoul
5709 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5710 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5711 eval as_val
=\$
$as_ac_var
5712 if test "x$as_val" = x
""yes; then :
5713 cat >>confdefs.h
<<_ACEOF
5714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5718 as_fn_error
"a required function was not found. X3 build will fail." "$LINENO" 5
5723 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5724 # for constant arguments. Useless!
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5726 $as_echo_n "checking for working alloca.h... " >&6; }
5727 if test "${ac_cv_working_alloca_h+set}" = set; then :
5728 $as_echo_n "(cached) " >&6
5730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5731 /* end confdefs.h. */
5736 char *p = (char *) alloca (2 * sizeof (int));
5742 if ac_fn_c_try_link
"$LINENO"; then :
5743 ac_cv_working_alloca_h
=yes
5745 ac_cv_working_alloca_h
=no
5747 rm -f core conftest.err conftest.
$ac_objext \
5748 conftest
$ac_exeext conftest.
$ac_ext
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5751 $as_echo "$ac_cv_working_alloca_h" >&6; }
5752 if test $ac_cv_working_alloca_h = yes; then
5754 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5759 $as_echo_n "checking for alloca... " >&6; }
5760 if test "${ac_cv_func_alloca_works+set}" = set; then :
5761 $as_echo_n "(cached) " >&6
5763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5764 /* end confdefs.h. */
5766 # define alloca __builtin_alloca
5769 # include <malloc.h>
5770 # define alloca _alloca
5772 # ifdef HAVE_ALLOCA_H
5773 # include <alloca.h>
5778 # ifndef alloca /* predefined by HP cc +Olibcalls */
5789 char *p = (char *) alloca (1);
5795 if ac_fn_c_try_link
"$LINENO"; then :
5796 ac_cv_func_alloca_works
=yes
5798 ac_cv_func_alloca_works
=no
5800 rm -f core conftest.err conftest.
$ac_objext \
5801 conftest
$ac_exeext conftest.
$ac_ext
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5804 $as_echo "$ac_cv_func_alloca_works" >&6; }
5806 if test $ac_cv_func_alloca_works = yes; then
5808 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5811 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5812 # that cause trouble. Some versions do not even contain alloca or
5813 # contain a buggy version. If you still want to use their alloca,
5814 # use ar to extract alloca.o from them instead of compiling alloca.c.
5816 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5818 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5822 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5823 if test "${ac_cv_os_cray+set}" = set; then :
5824 $as_echo_n "(cached) " >&6
5826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5827 /* end confdefs.h. */
5828 #if defined CRAY && ! defined CRAY2
5835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5836 $EGREP "webecray" >/dev
/null
2>&1; then :
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5845 $as_echo "$ac_cv_os_cray" >&6; }
5846 if test $ac_cv_os_cray = yes; then
5847 for ac_func
in _getb67 GETB67 getb67
; do
5848 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5849 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5850 eval as_val
=\$
$as_ac_var
5851 if test "x$as_val" = x
""yes; then :
5853 cat >>confdefs.h
<<_ACEOF
5854 #define CRAY_STACKSEG_END $ac_func
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5864 $as_echo_n "checking stack direction for C alloca... " >&6; }
5865 if test "${ac_cv_c_stack_direction+set}" = set; then :
5866 $as_echo_n "(cached) " >&6
5868 if test "$cross_compiling" = yes; then :
5869 ac_cv_c_stack_direction
=0
5871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5873 $ac_includes_default
5875 find_stack_direction ()
5877 static char *addr = 0;
5882 return find_stack_direction ();
5885 return (&dummy > addr) ? 1 : -1;
5891 return find_stack_direction () < 0;
5894 if ac_fn_c_try_run
"$LINENO"; then :
5895 ac_cv_c_stack_direction
=1
5897 ac_cv_c_stack_direction
=-1
5899 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5900 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5905 $as_echo "$ac_cv_c_stack_direction" >&6; }
5906 cat >>confdefs.h
<<_ACEOF
5907 #define STACK_DIRECTION $ac_cv_c_stack_direction
5913 for ac_header
in stdlib.h unistd.h
5915 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5916 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5917 eval as_val
=\$
$as_ac_Header
5918 if test "x$as_val" = x
""yes; then :
5919 cat >>confdefs.h
<<_ACEOF
5920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5927 for ac_func
in getpagesize
5929 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
5930 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
5931 cat >>confdefs.h
<<_ACEOF
5932 #define HAVE_GETPAGESIZE 1
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
5939 $as_echo_n "checking for working mmap... " >&6; }
5940 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
5941 $as_echo_n "(cached) " >&6
5943 if test "$cross_compiling" = yes; then :
5944 ac_cv_func_mmap_fixed_mapped
=no
5946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5947 /* end confdefs.h. */
5948 $ac_includes_default
5949 /* malloc might have been renamed as rpl_malloc. */
5952 /* Thanks to Mike Haertel and Jim Avera for this test.
5953 Here is a matrix of mmap possibilities:
5954 mmap private not fixed
5955 mmap private fixed at somewhere currently unmapped
5956 mmap private fixed at somewhere already mapped
5957 mmap shared not fixed
5958 mmap shared fixed at somewhere currently unmapped
5959 mmap shared fixed at somewhere already mapped
5960 For private mappings, we should verify that changes cannot be read()
5961 back from the file, nor mmap's back from the file at a different
5962 address. (There have been systems where private was not correctly
5963 implemented like the infamous i386 svr4.0, and systems where the
5964 VM page cache was not coherent with the file system buffer cache
5965 like early versions of FreeBSD and possibly contemporary NetBSD.)
5966 For shared mappings, we should conversely verify that changes get
5967 propagated back to all the places they're supposed to be.
5969 Grep wants private fixed already mapped.
5970 The main things grep needs to know about mmap are:
5971 * does it exist and is it safe to write into the mmap'd area
5972 * how to use it (BSD variants) */
5975 #include <sys/mman.h>
5977 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
5981 /* This mess was copied from the GNU getpagesize.h. */
5982 #ifndef HAVE_GETPAGESIZE
5983 /* Assume that all systems that can run configure have sys/param.h. */
5984 # ifndef HAVE_SYS_PARAM_H
5985 # define HAVE_SYS_PARAM_H 1
5988 # ifdef _SC_PAGESIZE
5989 # define getpagesize() sysconf(_SC_PAGESIZE)
5990 # else /* no _SC_PAGESIZE */
5991 # ifdef HAVE_SYS_PARAM_H
5992 # include <sys/param.h>
5993 # ifdef EXEC_PAGESIZE
5994 # define getpagesize() EXEC_PAGESIZE
5995 # else /* no EXEC_PAGESIZE */
5997 # define getpagesize() NBPG * CLSIZE
6000 # endif /* no CLSIZE */
6001 # else /* no NBPG */
6003 # define getpagesize() NBPC
6004 # else /* no NBPC */
6006 # define getpagesize() PAGESIZE
6007 # endif /* PAGESIZE */
6008 # endif /* no NBPC */
6009 # endif /* no NBPG */
6010 # endif /* no EXEC_PAGESIZE */
6011 # else /* no HAVE_SYS_PARAM_H */
6012 # define getpagesize() 8192 /* punt totally */
6013 # endif /* no HAVE_SYS_PARAM_H */
6014 # endif /* no _SC_PAGESIZE */
6016 #endif /* no HAVE_GETPAGESIZE */
6021 char *data, *data2, *data3;
6025 pagesize = getpagesize ();
6027 /* First, make a file with some known garbage in it. */
6028 data = (char *) malloc (pagesize);
6031 for (i = 0; i < pagesize; ++i)
6032 *(data + i) = rand ();
6034 fd = creat ("conftest.mmap", 0600);
6037 if (write (fd, data, pagesize) != pagesize)
6041 /* Next, try to mmap the file at a fixed address which already has
6042 something else allocated at it. If we can, also make sure that
6043 we see the same garbage. */
6044 fd = open ("conftest.mmap", O_RDWR);
6047 data2 = (char *) malloc (2 * pagesize);
6050 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
6051 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6052 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6054 for (i = 0; i < pagesize; ++i)
6055 if (*(data + i) != *(data2 + i))
6058 /* Finally, make sure that changes to the mapped area do not
6059 percolate back to the file as seen by read(). (This is a bug on
6060 some variants of i386 svr4.0.) */
6061 for (i = 0; i < pagesize; ++i)
6062 *(data2 + i) = *(data2 + i) + 1;
6063 data3 = (char *) malloc (pagesize);
6066 if (read (fd, data3, pagesize) != pagesize)
6068 for (i = 0; i < pagesize; ++i)
6069 if (*(data + i) != *(data3 + i))
6075 if ac_fn_c_try_run
"$LINENO"; then :
6076 ac_cv_func_mmap_fixed_mapped
=yes
6078 ac_cv_func_mmap_fixed_mapped
=no
6080 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6081 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6086 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6087 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6089 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin_len" >&5
6096 $as_echo_n "checking for sin_len... " >&6; }
6097 if test "${ac_cv_sin_len+set}" = set; then :
6098 $as_echo_n "(cached) " >&6
6100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6102 #include <sys/types.h>
6103 #include <netinet/in.h>
6107 struct sockaddr_in *sin; sin->sin_len = 0;
6112 if ac_fn_c_try_compile
"$LINENO"; then :
6117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sin_len" >&5
6120 $as_echo "$ac_cv_sin_len" >&6; }
6121 if test $ac_cv_sin_len = yes ; then
6123 $as_echo "#define HAVE_SIN_LEN 1" >>confdefs.h
6127 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
6128 #include<sys/socket.h>
6130 if test "x$ac_cv_type_socklen_t" = x
""yes; then :
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
6135 $as_echo_n "checking for socklen_t equivalent... " >&6; }
6136 if test "${curl_cv_socklen_t_equiv+set}" = set; then :
6137 $as_echo_n "(cached) " >&6
6140 curl_cv_socklen_t_equiv
=
6141 for arg2
in "struct sockaddr" void
; do
6142 for t
in int size_t unsigned long
"unsigned long" ; do
6143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6144 /* end confdefs.h. */
6145 #include <sys/types.h>
6146 #include <sys/socket.h>
6147 int getpeername (int $arg2 *, $t *);
6152 getpeername(0, 0, &len);
6157 if ac_fn_c_try_compile
"$LINENO"; then :
6158 curl_cv_socklen_t_equiv
="$t"
6161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_socklen_t_equiv" >&5
6168 $as_echo "$curl_cv_socklen_t_equiv" >&6; }
6170 cat >>confdefs.h
<<_ACEOF
6171 #define socklen_t $curl_cv_socklen_t_equiv
6178 CFLAGS
="$CFLAGS -W -Wall -Werror"
6180 if test "z$USE_MAINTAINER_MODE" = zyes
; then
6181 CFLAGS
="$CFLAGS -ansi"
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6185 $as_echo_n "checking for inline... " >&6; }
6186 if test "${ac_cv_c_inline+set}" = set; then :
6187 $as_echo_n "(cached) " >&6
6190 for ac_kw
in inline __inline__ __inline
; do
6191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6195 static $ac_kw foo_t static_foo () {return 0; }
6196 $ac_kw foo_t foo () {return 0; }
6200 if ac_fn_c_try_compile
"$LINENO"; then :
6201 ac_cv_c_inline
=$ac_kw
6203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6204 test "$ac_cv_c_inline" != no
&& break
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6209 $as_echo "$ac_cv_c_inline" >&6; }
6211 case $ac_cv_c_inline in
6214 case $ac_cv_c_inline in
6216 *) ac_val
=$ac_cv_c_inline;;
6218 cat >>confdefs.h
<<_ACEOF
6220 #define inline $ac_val
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for time_t format" >&5
6228 $as_echo_n "checking for time_t format... " >&6; }
6229 if test "${ac_cv_fmt_time_t+set}" = set; then :
6230 $as_echo_n "(cached) " >&6
6234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6235 /* end confdefs.h. */
6236 #include <sys/types.h>
6240 printf("%li", test);
6243 if ac_fn_c_try_compile
"$LINENO"; then :
6244 ac_cv_fmt_time_t
="\"%li\""
6246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6247 if test $ac_cv_fmt_time_t = no
; then
6248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6250 #include <sys/types.h>
6257 if ac_fn_c_try_compile
"$LINENO"; then :
6258 ac_cv_fmt_time_t
="\"%i\""
6260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6262 if test $ac_cv_fmt_time_t = no
; then
6263 as_fn_error
"Cannot detect format string for time_t
6264 Please check sys/types.h for the typedef of time_t and submit to a developer" "$LINENO" 5
6270 cat >>confdefs.h
<<_ACEOF
6271 #define FMT_TIME_T $ac_cv_fmt_time_t
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fmt_time_t" >&5
6275 $as_echo "$ac_cv_fmt_time_t" >&6; }
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
6278 $as_echo_n "checking for va_copy... " >&6; }
6279 if test "${ac_cv_c_va_copy+set}" = set; then :
6280 $as_echo_n "(cached) " >&6
6282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6288 va_list ap1, ap2; va_copy(ap1, ap2);
6293 if ac_fn_c_try_link
"$LINENO"; then :
6294 ac_cv_c_va_copy
="yes"
6296 ac_cv_c_va_copy
="no"
6299 rm -f core conftest.err conftest.
$ac_objext \
6300 conftest
$ac_exeext conftest.
$ac_ext
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_va_copy" >&5
6303 $as_echo "$ac_cv_c_va_copy" >&6; }
6304 if test "$ac_cv_c_va_copy" = "yes" ; then
6306 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
6311 $as_echo_n "checking for __va_copy... " >&6; }
6312 if test "${ac_cv_c___va_copy+set}" = set; then :
6313 $as_echo_n "(cached) " >&6
6315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6321 va_list ap1, ap2; __va_copy(ap1, ap2);
6326 if ac_fn_c_try_link
"$LINENO"; then :
6327 ac_cv_c___va_copy
="yes"
6329 ac_cv_c___va_copy
="no"
6332 rm -f core conftest.err conftest.
$ac_objext \
6333 conftest
$ac_exeext conftest.
$ac_ext
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c___va_copy" >&5
6336 $as_echo "$ac_cv_c___va_copy" >&6; }
6337 if test "$ac_cv_c___va_copy" = "yes" ; then
6339 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which malloc to use" >&5
6346 $as_echo_n "checking which malloc to use... " >&6; }
6348 # Check whether --with-malloc was given.
6349 if test "${with_malloc+set}" = set; then :
6350 withval
=$with_malloc;
6355 if test "x$withval" = "xsystem" ; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system" >&5
6357 $as_echo "system" >&6; }
6359 $as_echo "#define WITH_MALLOC_SYSTEM 1" >>confdefs.h
6362 elif test "x$withval" = "xdmalloc" ; then
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dmalloc" >&5
6364 $as_echo "dmalloc" >&6; }
6365 for ac_header
in dmalloc.h
6367 ac_fn_c_check_header_mongrel
"$LINENO" "dmalloc.h" "ac_cv_header_dmalloc_h" "$ac_includes_default"
6368 if test "x$ac_cv_header_dmalloc_h" = x
""yes; then :
6369 cat >>confdefs.h
<<_ACEOF
6370 #define HAVE_DMALLOC_H 1
6374 as_fn_error
"dmalloc header file missing. dmalloc build will fail." "$LINENO" 5
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -ldmalloc" >&5
6380 $as_echo_n "checking for malloc in -ldmalloc... " >&6; }
6381 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then :
6382 $as_echo_n "(cached) " >&6
6384 ac_check_lib_save_LIBS
=$LIBS
6385 LIBS
="-ldmalloc $LIBS"
6386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6387 /* end confdefs.h. */
6389 /* Override any GCC internal prototype to avoid an error.
6390 Use char because int might match the return type of a GCC
6391 builtin and then its argument prototype would still apply. */
6404 if ac_fn_c_try_link
"$LINENO"; then :
6405 ac_cv_lib_dmalloc_malloc
=yes
6407 ac_cv_lib_dmalloc_malloc
=no
6409 rm -f core conftest.err conftest.
$ac_objext \
6410 conftest
$ac_exeext conftest.
$ac_ext
6411 LIBS
=$ac_check_lib_save_LIBS
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dmalloc_malloc" >&5
6414 $as_echo "$ac_cv_lib_dmalloc_malloc" >&6; }
6415 if test "x$ac_cv_lib_dmalloc_malloc" = x
""yes; then :
6416 cat >>confdefs.h
<<_ACEOF
6417 #define HAVE_LIBDMALLOC 1
6420 LIBS
="-ldmalloc $LIBS"
6423 as_fn_error
"dmalloc library is missing. dmalloc build will fail." "$LINENO" 5
6427 $as_echo "#define WITH_MALLOC_DMALLOC 1" >>confdefs.h
6430 elif test "x$withval" = "xmpatrol" ; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mpatrol" >&5
6432 $as_echo "mpatrol" >&6; }
6433 for ac_header
in mpatrol.h
6435 ac_fn_c_check_header_mongrel
"$LINENO" "mpatrol.h" "ac_cv_header_mpatrol_h" "$ac_includes_default"
6436 if test "x$ac_cv_header_mpatrol_h" = x
""yes; then :
6437 cat >>confdefs.h
<<_ACEOF
6438 #define HAVE_MPATROL_H 1
6442 as_fn_error
"mpatrol header file missing. mpatrol build will fail." "$LINENO" 5
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
6448 $as_echo_n "checking for elf_begin in -lelf... " >&6; }
6449 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then :
6450 $as_echo_n "(cached) " >&6
6452 ac_check_lib_save_LIBS
=$LIBS
6454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6457 /* Override any GCC internal prototype to avoid an error.
6458 Use char because int might match the return type of a GCC
6459 builtin and then its argument prototype would still apply. */
6467 return elf_begin ();
6472 if ac_fn_c_try_link
"$LINENO"; then :
6473 ac_cv_lib_elf_elf_begin
=yes
6475 ac_cv_lib_elf_elf_begin
=no
6477 rm -f core conftest.err conftest.
$ac_objext \
6478 conftest
$ac_exeext conftest.
$ac_ext
6479 LIBS
=$ac_check_lib_save_LIBS
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
6482 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
6483 if test "x$ac_cv_lib_elf_elf_begin" = x
""yes; then :
6484 cat >>confdefs.h
<<_ACEOF
6485 #define HAVE_LIBELF 1
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __mp_atexit in -lmpatrol" >&5
6493 $as_echo_n "checking for __mp_atexit in -lmpatrol... " >&6; }
6494 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then :
6495 $as_echo_n "(cached) " >&6
6497 ac_check_lib_save_LIBS
=$LIBS
6498 LIBS
="-lmpatrol $LIBS"
6499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6500 /* end confdefs.h. */
6502 /* Override any GCC internal prototype to avoid an error.
6503 Use char because int might match the return type of a GCC
6504 builtin and then its argument prototype would still apply. */
6508 char __mp_atexit ();
6512 return __mp_atexit ();
6517 if ac_fn_c_try_link
"$LINENO"; then :
6518 ac_cv_lib_mpatrol___mp_atexit
=yes
6520 ac_cv_lib_mpatrol___mp_atexit
=no
6522 rm -f core conftest.err conftest.
$ac_objext \
6523 conftest
$ac_exeext conftest.
$ac_ext
6524 LIBS
=$ac_check_lib_save_LIBS
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpatrol___mp_atexit" >&5
6527 $as_echo "$ac_cv_lib_mpatrol___mp_atexit" >&6; }
6528 if test "x$ac_cv_lib_mpatrol___mp_atexit" = x
""yes; then :
6529 cat >>confdefs.h
<<_ACEOF
6530 #define HAVE_LIBMPATROL 1
6533 LIBS
="-lmpatrol $LIBS"
6536 as_fn_error
"mpatrol library is missing completely. mpatrol build will fail." "$LINENO" 5
6540 $as_echo "#define WITH_MALLOC_MPATROL 1" >>confdefs.h
6543 elif test "x$withval" = "xboehm-gc" ; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: boehm-gc" >&5
6545 $as_echo "boehm-gc" >&6; }
6546 for ac_header
in gc
/gc.h
6548 ac_fn_c_check_header_mongrel
"$LINENO" "gc/gc.h" "ac_cv_header_gc_gc_h" "$ac_includes_default"
6549 if test "x$ac_cv_header_gc_gc_h" = x
""yes; then :
6550 cat >>confdefs.h
<<_ACEOF
6551 #define HAVE_GC_GC_H 1
6555 as_fn_error
"Boehm GC header file missing. boehm-gc build will fail." "$LINENO" 5
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6561 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6562 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
6563 $as_echo_n "(cached) " >&6
6565 ac_check_lib_save_LIBS
=$LIBS
6567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6570 /* Override any GCC internal prototype to avoid an error.
6571 Use char because int might match the return type of a GCC
6572 builtin and then its argument prototype would still apply. */
6585 if ac_fn_c_try_link
"$LINENO"; then :
6586 ac_cv_lib_dl_dlopen
=yes
6588 ac_cv_lib_dl_dlopen
=no
6590 rm -f core conftest.err conftest.
$ac_objext \
6591 conftest
$ac_exeext conftest.
$ac_ext
6592 LIBS
=$ac_check_lib_save_LIBS
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6595 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6596 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
6597 cat >>confdefs.h
<<_ACEOF
6598 #define HAVE_LIBDL 1
6604 as_fn_error
"libdl library is missing. boehm-gc build will fail." "$LINENO" 5
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GC_gcollect in -lgc" >&5
6608 $as_echo_n "checking for GC_gcollect in -lgc... " >&6; }
6609 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6612 ac_check_lib_save_LIBS
=$LIBS
6614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6617 /* Override any GCC internal prototype to avoid an error.
6618 Use char because int might match the return type of a GCC
6619 builtin and then its argument prototype would still apply. */
6623 char GC_gcollect ();
6627 return GC_gcollect ();
6632 if ac_fn_c_try_link
"$LINENO"; then :
6633 ac_cv_lib_gc_GC_gcollect
=yes
6635 ac_cv_lib_gc_GC_gcollect
=no
6637 rm -f core conftest.err conftest.
$ac_objext \
6638 conftest
$ac_exeext conftest.
$ac_ext
6639 LIBS
=$ac_check_lib_save_LIBS
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gc_GC_gcollect" >&5
6642 $as_echo "$ac_cv_lib_gc_GC_gcollect" >&6; }
6643 if test "x$ac_cv_lib_gc_GC_gcollect" = x
""yes; then :
6644 cat >>confdefs.h
<<_ACEOF
6645 #define HAVE_LIBGC 1
6651 as_fn_error
"Boehm GC library is missing. boehm-gc build will fail." "$LINENO" 5
6655 $as_echo "#define WITH_MALLOC_BOEHM_GC 1" >>confdefs.h
6658 elif test "x$withval" = "xx3" ; then
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: x3" >&5
6660 $as_echo "x3" >&6; }
6662 $as_echo "#define WITH_MALLOC_X3 1" >>confdefs.h
6664 MODULE_OBJS
="$MODULE_OBJS alloc-x3.\$(OBJEXT)"
6666 elif test "x$withval" = "xslab" ; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: slab" >&5
6668 $as_echo "slab" >&6; }
6670 $as_echo "#define WITH_MALLOC_SLAB 1" >>confdefs.h
6672 MODULE_OBJS
="$MODULE_OBJS alloc-slab.\$(OBJEXT)"
6675 as_fn_error
"Unknown malloc type $withval" "$LINENO" 5
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which protocol to use" >&5
6679 $as_echo_n "checking which protocol to use... " >&6; }
6681 # Check whether --with-protocol was given.
6682 if test "${with_protocol+set}" = set; then :
6683 withval
=$with_protocol;
6688 if test "x$withval" = "xp10" ; then
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: P10" >&5
6690 $as_echo "P10" >&6; }
6692 $as_echo "#define WITH_PROTOCOL_P10 1" >>confdefs.h
6694 MODULE_OBJS
="$MODULE_OBJS proto-p10.\$(OBJEXT)"
6695 PROTO_FILES
=proto
-p10.c
6698 as_fn_error
"Unknown IRC dialect $withval" "$LINENO" 5
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to send mail" >&5
6702 $as_echo_n "checking how to send mail... " >&6; }
6704 # Check whether --with-mail was given.
6705 if test "${with_mail+set}" = set; then :
6711 if test -r "${srcdir}/src/mail-${withval}.c" ; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
6713 $as_echo "$withval" >&6; }
6714 MODULE_OBJS
="$MODULE_OBJS mail-${withval}.\$(OBJEXT)"
6716 as_fn_error
"Unknown mail method $withval" "$LINENO" 5
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking I/O multiplexing backends" >&5
6720 $as_echo_n "checking I/O multiplexing backends... " >&6; }
6723 if test "x$ac_cv_func_select" = xyes
; then
6725 $as_echo "#define WITH_IOSET_SELECT 1" >>confdefs.h
6727 MODULE_OBJS
="$MODULE_OBJS ioset-select.\$(OBJEXT)"
6728 IOMUXES
="$IOMUXES select"
6732 # Check whether --with-epoll was given.
6733 if test "${with_epoll+set}" = set; then :
6734 withval
=$with_epoll;
6736 withval
="$ac_cv_func_epoll_create"
6739 if test "x$withval" = xyes
; then
6741 $as_echo "#define WITH_IOSET_EPOLL 1" >>confdefs.h
6743 MODULE_OBJS
="$MODULE_OBJS ioset-epoll.\$(OBJEXT)"
6744 IOMUXES
="$IOMUXES epoll"
6748 # Check whether --with-kevent was given.
6749 if test "${with_kevent+set}" = set; then :
6750 withval
=$with_kevent;
6752 withval
="$ac_cv_func_kevent"
6755 if test "x$withval" = xyes
; then
6757 $as_echo "#define WITH_IOSET_KEVENT 1" >>confdefs.h
6759 MODULE_OBJS
="$MODULE_OBJS ioset-kevent.\$(OBJEXT)"
6760 IOMUXES
="$IOMUXES kevent"
6763 IOMUXES
=`echo $IOMUXES | sed 's/^ +//'`
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IOMUXES" >&5
6765 $as_echo "$IOMUXES" >&6; }
6766 if test "x$IOMUXES" = "x" ; then
6767 as_fn_error
"No supported I/O multiplexing backend found" "$LINENO" 5
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IOMUXES" >&5
6770 $as_echo "$IOMUXES" >&6; }
6774 # Check whether --with-getopt was given.
6775 if test "${with_getopt+set}" = set; then :
6776 withval
=$with_getopt; if test "$withval" = no
; then
6778 $as_echo "#define IGNORE_GETOPT 1" >>confdefs.h
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable tokenization" >&5
6785 $as_echo_n "checking whether to enable tokenization... " >&6; }
6786 # Check whether --enable-tokens was given.
6787 if test "${enable_tokens+set}" = set; then :
6788 enableval
=$enable_tokens;
6793 if test "z$enableval" = zno
; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795 $as_echo "no" >&6; }
6798 $as_echo "#define ENABLE_TOKENS 1" >>confdefs.h
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6801 $as_echo "yes" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug behaviors" >&5
6805 $as_echo_n "checking whether to enable debug behaviors... " >&6; }
6806 # Check whether --enable-debug was given.
6807 if test "${enable_debug+set}" = set; then :
6808 enableval
=$enable_debug;
6809 CPPFLAGS
="$CPPFLAGS"
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6811 $as_echo "yes" >&6; }
6816 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6818 $as_echo "no" >&6; }
6824 if test -e src
; then
6825 if test ! -d src
; then
6826 as_fn_error
"src exists but is not a directory; please move it out of the way." "$LINENO" 5
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra module files" >&5
6832 $as_echo_n "checking for extra module files... " >&6; }
6833 MODULE_DEFINES
="src/modules-list.h"
6834 echo > $MODULE_DEFINES
6835 touch $MODULE_DEFINES
6836 # Check whether --enable-modules was given.
6837 if test "${enable_modules+set}" = set; then :
6838 enableval
=$enable_modules;
6841 EXTRA_MODULE_OBJS
=""
6843 for module
in $enableval ; do
6844 module
=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
6845 EXTRA_MODULE_OBJS
="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
6846 module_list
="$module_list $module"
6847 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
6848 if test "x$module" = "xtrack" ; then
6849 TRACK
="-D HAVE_TRACK"
6851 $as_echo "#define HAVE_TRACK 1" >>confdefs.h
6854 if test "x$module" = "xhelpserv" ; then
6855 TRACK
="-D HAVE_HELPSERV"
6857 $as_echo "#define HAVE_HELPSERV 1" >>confdefs.h
6862 MODULE_OBJS
="$MODULE_OBJS $EXTRA_MODULE_OBJS"
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $module_list" >&5
6864 $as_echo "$module_list" >&6; }
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6869 $as_echo "none" >&6; }
6874 # Check whether --enable-python was given.
6875 if test "${enable_python+set}" = set; then :
6876 enableval
=$enable_python; python
=$enableval
6886 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no
; then
6887 MY_SUBDIRS
="rx $MY_SUBDIRS"
6888 RX_INCLUDES
="-I../rx"
6889 RX_LIBS
="../rx/librx.a"
6891 MY_SUBDIRS
="$MY_SUBDIRS src"
6892 CFLAGS
="$CFLAGS $ANSI_SRC -W -Wall"
6893 if test "z$USE_MAINTAINER_MODE" = zyes
; then
6894 CFLAGS
="$CFLAGS -Werror"
6901 # Check whether --with-tre was given.
6902 if test "${with_tre+set}" = set; then :
6906 if test "x$withval" != "x"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using include dir $withval to find libtre" >&5
6908 $as_echo "Using include dir $withval to find libtre" >&6; }
6909 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
6910 LIBS
="$LIBS -L$withval/lib"
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Looking for tre in system and home dirs (${HOME})..." >&5
6913 $as_echo "Looking for tre in system and home dirs (${HOME})..." >&6; }
6914 CPPFLAGS
="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
6915 LIBS
="$LIBS -L${HOME}/lib"
6917 ac_fn_c_check_header_mongrel
"$LINENO" "tre/regex.h" "ac_cv_header_tre_regex_h" "$ac_includes_default"
6918 if test "x$ac_cv_header_tre_regex_h" = x
""yes; then :
6921 as_fn_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." "$LINENO" 5
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regexec in -ltre" >&5
6926 $as_echo_n "checking for regexec in -ltre... " >&6; }
6927 if test "${ac_cv_lib_tre_regexec+set}" = set; then :
6928 $as_echo_n "(cached) " >&6
6930 ac_check_lib_save_LIBS
=$LIBS
6932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6933 /* end confdefs.h. */
6935 /* Override any GCC internal prototype to avoid an error.
6936 Use char because int might match the return type of a GCC
6937 builtin and then its argument prototype would still apply. */
6950 if ac_fn_c_try_link
"$LINENO"; then :
6951 ac_cv_lib_tre_regexec
=yes
6953 ac_cv_lib_tre_regexec
=no
6955 rm -f core conftest.err conftest.
$ac_objext \
6956 conftest
$ac_exeext conftest.
$ac_ext
6957 LIBS
=$ac_check_lib_save_LIBS
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tre_regexec" >&5
6960 $as_echo "$ac_cv_lib_tre_regexec" >&6; }
6961 if test "x$ac_cv_lib_tre_regexec" = x
""yes; then :
6962 cat >>confdefs.h
<<_ACEOF
6963 #define HAVE_LIBTRE 1
6969 as_fn_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." "$LINENO" 5
6976 # Check whether --with-coredumper was given.
6977 if test "${with_coredumper+set}" = set; then :
6978 withval
=$with_coredumper;
6981 if test "x$withval" != "x"; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using include dir $withval to find coredumper" >&5
6983 $as_echo "Using include dir $withval to find coredumper" >&6; }
6984 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
6985 LIBS
="$LIBS -L$withval/lib"
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Looking for coredumper in system and home dirs (${HOME})..." >&5
6988 $as_echo "Looking for coredumper in system and home dirs (${HOME})..." >&6; }
6989 CPPFLAGS
="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
6990 LIBS
="$LIBS -Wl,--rpath -Wl,${HOME}/lib"
6992 ac_fn_c_check_header_mongrel
"$LINENO" "google/coredumper.h" "ac_cv_header_google_coredumper_h" "$ac_includes_default"
6993 if test "x$ac_cv_header_google_coredumper_h" = x
""yes; then :
6996 { $as_echo "$as_me:${as_lineno-$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
6997 $as_echo "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; }
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WriteCoreDump in -lcoredumper" >&5
7002 $as_echo_n "checking for WriteCoreDump in -lcoredumper... " >&6; }
7003 if test "${ac_cv_lib_coredumper_WriteCoreDump+set}" = set; then :
7004 $as_echo_n "(cached) " >&6
7006 ac_check_lib_save_LIBS
=$LIBS
7007 LIBS
="-lcoredumper $LIBS"
7008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7009 /* end confdefs.h. */
7011 /* Override any GCC internal prototype to avoid an error.
7012 Use char because int might match the return type of a GCC
7013 builtin and then its argument prototype would still apply. */
7017 char WriteCoreDump ();
7021 return WriteCoreDump ();
7026 if ac_fn_c_try_link
"$LINENO"; then :
7027 ac_cv_lib_coredumper_WriteCoreDump
=yes
7029 ac_cv_lib_coredumper_WriteCoreDump
=no
7031 rm -f core conftest.err conftest.
$ac_objext \
7032 conftest
$ac_exeext conftest.
$ac_ext
7033 LIBS
=$ac_check_lib_save_LIBS
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_coredumper_WriteCoreDump" >&5
7036 $as_echo "$ac_cv_lib_coredumper_WriteCoreDump" >&6; }
7037 if test "x$ac_cv_lib_coredumper_WriteCoreDump" = x
""yes; then :
7038 cat >>confdefs.h
<<_ACEOF
7039 #define HAVE_LIBCOREDUMPER 1
7042 LIBS
="-lcoredumper $LIBS"
7045 { $as_echo "$as_me:${as_lineno-$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
7046 $as_echo "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; }
7052 # Check whether --with-ssl was given.
7053 if test "${with_ssl+set}" = set; then :
7057 if test "x$withval" != "x"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using include dir $withval to find openssl" >&5
7059 $as_echo "Using include dir $withval to find openssl" >&6; }
7060 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
7061 LIBS
="$LIBS -L$withval/lib"
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Looking for openssl in system " >&5
7064 $as_echo "Looking for openssl in system " >&6; }
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BIO_new in -lssl" >&5
7068 $as_echo_n "checking for BIO_new in -lssl... " >&6; }
7069 if test "${ac_cv_lib_ssl_BIO_new+set}" = set; then :
7070 $as_echo_n "(cached) " >&6
7072 ac_check_lib_save_LIBS
=$LIBS
7074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7075 /* end confdefs.h. */
7077 /* Override any GCC internal prototype to avoid an error.
7078 Use char because int might match the return type of a GCC
7079 builtin and then its argument prototype would still apply. */
7092 if ac_fn_c_try_link
"$LINENO"; then :
7093 ac_cv_lib_ssl_BIO_new
=yes
7095 ac_cv_lib_ssl_BIO_new
=no
7097 rm -f core conftest.err conftest.
$ac_objext \
7098 conftest
$ac_exeext conftest.
$ac_ext
7099 LIBS
=$ac_check_lib_save_LIBS
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_BIO_new" >&5
7102 $as_echo "$ac_cv_lib_ssl_BIO_new" >&6; }
7103 if test "x$ac_cv_lib_ssl_BIO_new" = x
""yes; then :
7106 for ac_header
in openssl
/bio.h
7108 ac_fn_c_check_header_mongrel
"$LINENO" "openssl/bio.h" "ac_cv_header_openssl_bio_h" "$ac_includes_default"
7109 if test "x$ac_cv_header_openssl_bio_h" = x
""yes; then :
7110 cat >>confdefs.h
<<_ACEOF
7111 #define HAVE_OPENSSL_BIO_H 1
7115 $as_echo "#define WITH_SSL 1" >>confdefs.h
7117 ssl_message
="LDAP library: enabled"
7121 if test "x$withval" != "x"; then
7122 as_fn_error
"ssl headers not found" "$LINENO" 5
7132 if test "x$withval" != "x"; then
7133 as_fn_error
"libldap not found or not valid" "$LINENO" 5
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBS" >&5
7140 $as_echo "$LIBS" >&6; }
7145 # Check whether --with-ldap was given.
7146 if test "${with_ldap+set}" = set; then :
7150 if test "x$withval" != "x"; then
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using include dir $withval to find libldap" >&5
7152 $as_echo "Using include dir $withval to find libldap" >&6; }
7153 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
7154 LIBS
="$LIBS -L$withval/lib"
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Looking for ldap in system " >&5
7157 $as_echo "Looking for ldap in system " >&6; }
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_simple_bind_s in -lldap" >&5
7161 $as_echo_n "checking for ldap_simple_bind_s in -lldap... " >&6; }
7162 if test "${ac_cv_lib_ldap_ldap_simple_bind_s+set}" = set; then :
7163 $as_echo_n "(cached) " >&6
7165 ac_check_lib_save_LIBS
=$LIBS
7167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7168 /* end confdefs.h. */
7170 /* Override any GCC internal prototype to avoid an error.
7171 Use char because int might match the return type of a GCC
7172 builtin and then its argument prototype would still apply. */
7176 char ldap_simple_bind_s ();
7180 return ldap_simple_bind_s ();
7185 if ac_fn_c_try_link
"$LINENO"; then :
7186 ac_cv_lib_ldap_ldap_simple_bind_s
=yes
7188 ac_cv_lib_ldap_ldap_simple_bind_s
=no
7190 rm -f core conftest.err conftest.
$ac_objext \
7191 conftest
$ac_exeext conftest.
$ac_ext
7192 LIBS
=$ac_check_lib_save_LIBS
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_simple_bind_s" >&5
7195 $as_echo "$ac_cv_lib_ldap_ldap_simple_bind_s" >&6; }
7196 if test "x$ac_cv_lib_ldap_ldap_simple_bind_s" = x
""yes; then :
7199 for ac_header
in ldap.h
7201 ac_fn_c_check_header_mongrel
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
7202 if test "x$ac_cv_header_ldap_h" = x
""yes; then :
7203 cat >>confdefs.h
<<_ACEOF
7204 #define HAVE_LDAP_H 1
7208 $as_echo "#define WITH_LDAP 1" >>confdefs.h
7210 ldap_message
="LDAP library: enabled"
7214 if test "x$withval" != "x"; then
7215 as_fn_error
"ldap.h not found" "$LINENO" 5
7225 if test "x$withval" != "x"; then
7226 as_fn_error
"libldap not found or not valid" "$LINENO" 5
7234 if test "$python" = yes; then
7235 # Extract the first word of "python2", so it can be a program name with args.
7236 set dummy python2
; ac_word
=$2
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 $as_echo_n "checking for $ac_word... " >&6; }
7239 if test "${ac_cv_path_pythonpath+set}" = set; then :
7240 $as_echo_n "(cached) " >&6
7244 ac_cv_path_pythonpath
="$pythonpath" # Let the user override the test with a path.
7247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7251 test -z "$as_dir" && as_dir
=.
7252 for ac_exec_ext
in '' $ac_executable_extensions; do
7253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7254 ac_cv_path_pythonpath
="$as_dir/$ac_word$ac_exec_ext"
7255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265 pythonpath
=$ac_cv_path_pythonpath
7266 if test -n "$pythonpath"; then
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pythonpath" >&5
7268 $as_echo "$pythonpath" >&6; }
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7271 $as_echo "no" >&6; }
7275 if test "_$pythonpath" = _
; then
7276 # Extract the first word of "python", so it can be a program name with args.
7277 set dummy python
; ac_word
=$2
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7279 $as_echo_n "checking for $ac_word... " >&6; }
7280 if test "${ac_cv_path_pythonpath+set}" = set; then :
7281 $as_echo_n "(cached) " >&6
7285 ac_cv_path_pythonpath
="$pythonpath" # Let the user override the test with a path.
7288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7292 test -z "$as_dir" && as_dir
=.
7293 for ac_exec_ext
in '' $ac_executable_extensions; do
7294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7295 ac_cv_path_pythonpath
="$as_dir/$ac_word$ac_exec_ext"
7296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306 pythonpath
=$ac_cv_path_pythonpath
7307 if test -n "$pythonpath"; then
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pythonpath" >&5
7309 $as_echo "$pythonpath" >&6; }
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7312 $as_echo "no" >&6; }
7317 if test "_$pythonpath" = _
; then
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python version" >&5
7321 $as_echo_n "checking Python version... " >&6; }
7322 PY_VER
=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("VERSION")[0];'`
7323 PY_LIB
=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(standard_lib=1);'`
7324 PY_INC
=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("INCLUDEPY")[0];'`
7325 $pythonpath -c "import sys; map(int,sys.version[:3].split('.')) >= [2,2] or sys.exit(1)"
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_VER" >&5
7327 $as_echo "$PY_VER" >&6; }
7328 if test "$?" != "1"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python compile flags" >&5
7330 $as_echo_n "checking Python compile flags... " >&6; }
7331 PY_PREFIX
=`$pythonpath -c 'import sys; print sys.prefix'`
7332 PY_EXEC_PREFIX
=`$pythonpath -c 'import sys; print sys.exec_prefix'`
7333 if test -f $PY_INC/Python.h
; then
7335 $as_echo "#define WITH_PYTHON 1" >>confdefs.h
7337 PY_LIBS
="-L$PY_LIB/config -lpython$PY_VER -lpthread -lutil"
7338 PY_CFLAGS
="-I$PY_INC"
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7340 $as_echo "ok" >&6; }
7341 CFLAGS
="$CFLAGS $PY_CFLAGS"
7342 LIBS
="$LIBS $PY_LIBS"
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Can't find Python.h" >&5
7346 $as_echo "Can't find Python.h" >&6; }
7349 echo "Python too old. Only 2.2 or above is supported."
7355 if test "x$python" = "xyes"; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBS" >&5
7365 $as_echo "$LIBS" >&6; }
7368 cat >>confdefs.h
<<_ACEOF
7369 #define CODENAME "${CODENAME}"
7380 ac_config_files
="$ac_config_files Makefile rx/Makefile src/Makefile"
7382 cat >confcache
<<\_ACEOF
7383 # This file is a shell script that caches the results of configure
7384 # tests run on this system so they can be shared between configure
7385 # scripts and configure runs, see configure's option --config-cache.
7386 # It is not useful on other systems. If it contains results you don't
7387 # want to keep, you may remove or edit it.
7389 # config.status only pays attention to the cache file if you give it
7390 # the --recheck option to rerun configure.
7392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7398 # The following way of writing the cache mishandles newlines in values,
7399 # but we know of no workaround that is simple, portable, and efficient.
7400 # So, we kill variables containing newlines.
7401 # Ultrix sh set writes to stderr and can't be redirected directly,
7402 # and sets the high bit in the cache file unless we assign to the vars.
7404 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7405 eval ac_val
=\$
$ac_var
7409 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7410 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7413 _
| IFS
| as_nl
) ;; #(
7414 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
7415 *) { eval $ac_var=; unset $ac_var;} ;;
7421 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7422 *${as_nl}ac_space
=\
*)
7423 # `set' does not quote correctly, so add quotes: double-quote
7424 # substitution turns \\\\ into \\, and sed turns \\ into \.
7427 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7430 # `set' quotes correctly as required by POSIX, so do not add quotes.
7431 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7440 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7442 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7444 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7445 if test -w "$cache_file"; then
7446 test "x$cache_file" != "x/dev/null" &&
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7448 $as_echo "$as_me: updating cache $cache_file" >&6;}
7449 cat confcache
>$cache_file
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7452 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7457 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7458 # Let make expand exec_prefix.
7459 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7461 DEFS
=-DHAVE_CONFIG_H
7465 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7466 # 1. Remove the extension, and $U if already installed.
7467 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7468 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7469 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7470 # will be set to the directory where LIBOBJS objects are built.
7471 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7472 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7476 LTLIBOBJS
=$ac_ltlibobjs
7479 if test -n "$EXEEXT"; then
7481 am__EXEEXT_FALSE
='#'
7487 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7488 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
7489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7491 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7492 as_fn_error
"conditional \"AMDEP\" was never defined.
7493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7495 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7496 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
7497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7499 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7500 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
7501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7503 if test -z "${DO_PYTHON_TRUE}" && test -z "${DO_PYTHON_FALSE}"; then
7504 as_fn_error
"conditional \"DO_PYTHON\" was never defined.
7505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7508 : ${CONFIG_STATUS=./config.status}
7510 ac_clean_files_save
=$ac_clean_files
7511 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7513 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7515 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7517 # Generated by $as_me.
7518 # Run this file to recreate the current configuration.
7519 # Compiler output produced by configure, useful for debugging
7520 # configure, is in config.log if it exists.
7526 SHELL=\${CONFIG_SHELL-$SHELL}
7529 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
7530 ## -------------------- ##
7531 ## M4sh Initialization. ##
7532 ## -------------------- ##
7534 # Be more Bourne compatible
7535 DUALCASE
=1; export DUALCASE
# for MKS sh
7536 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7539 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7540 # is contrary to our usage. Disable this feature.
7541 alias -g '${1+"$@"}'='"$@"'
7542 setopt NO_GLOB_SUBST
7544 case `(set -o) 2>/dev/null` in #(
7556 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7557 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7558 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7559 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7560 # Prefer a ksh shell builtin over an external printf program on Solaris,
7561 # but without wasting forks for bash or zsh.
7562 if test -z "$BASH_VERSION$ZSH_VERSION" \
7563 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7564 as_echo='print
-r --'
7565 as_echo_n='print
-rn --'
7566 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7567 as_echo='printf %s
\n'
7568 as_echo_n='printf %s
'
7570 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7571 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7572 as_echo_n='/usr
/ucb
/echo -n'
7574 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7575 as_echo_n_body='eval
7579 expr "X$arg" : "X\\(.*\\)$as_nl";
7580 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7582 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7584 export as_echo_n_body
7585 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7588 as_echo='sh
-c $as_echo_body as_echo
'
7591 # The user is always right.
7592 if test "${PATH_SEPARATOR+set}" != set; then
7594 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7595 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7602 # We need space, tab and new line, in precisely that order. Quoting is
7603 # there to prevent editors from complaining about space-tab.
7604 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7605 # splitting by setting IFS to empty value.)
7608 # Find who we are. Look in the path if we contain no directory separator.
7610 *[\\/]* ) as_myself=$0 ;;
7611 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615 test -z "$as_dir" && as_dir=.
7616 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7622 # We did not find ourselves, most probably we were run as `sh COMMAND'
7623 # in which case we are not to be found in the path.
7624 if test "x$as_myself" = x
; then
7627 if test ! -f "$as_myself"; then
7628 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7632 # Unset variables that we do not need and which cause bugs (e.g. in
7633 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7634 # suppresses any "Segmentation fault" message there. '((' could
7635 # trigger a bug in pdksh 5.2.14.
7636 for as_var
in BASH_ENV ENV MAIL MAILPATH
7637 do eval test x\
${$as_var+set} = xset \
7638 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
7651 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7654 # as_fn_error ERROR [LINENO LOG_FD]
7655 # ---------------------------------
7656 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7657 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7658 # script with status $?, using 1 if that was 0.
7661 as_status
=$?
; test $as_status -eq 0 && as_status
=1
7663 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7664 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7666 $as_echo "$as_me: error: $1" >&2
7667 as_fn_exit
$as_status
7671 # as_fn_set_status STATUS
7672 # -----------------------
7673 # Set $? to STATUS, without forking.
7677 } # as_fn_set_status
7681 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7691 # Portably unset VAR.
7694 { eval $1=; unset $1;}
7696 as_unset
=as_fn_unset
7697 # as_fn_append VAR VALUE
7698 # ----------------------
7699 # Append the text in VALUE to the end of the definition contained in VAR. Take
7700 # advantage of any shell optimizations that allow amortized linear growth over
7701 # repeated appends, instead of the typical quadratic growth present in naive
7703 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7704 eval 'as_fn_append ()
7715 # as_fn_arith ARG...
7716 # ------------------
7717 # Perform arithmetic evaluation on the ARGs, and store the result in the
7718 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7719 # must be portable across $(()) and expr.
7720 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7721 eval 'as_fn_arith ()
7728 as_val
=`expr "$@" || test $? -eq 1`
7733 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7734 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7740 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7741 as_basename
=basename
7746 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7752 as_me
=`$as_basename -- "$0" ||
7753 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7754 X"$0" : 'X\(//\)$' \| \
7755 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7757 sed '/^.*\/\([^/][^/]*\)\/*$/{
7771 # Avoid depending upon Character Ranges.
7772 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7773 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7774 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7775 as_cr_digits
='0123456789'
7776 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7778 ECHO_C
= ECHO_N
= ECHO_T
=
7779 case `echo -n x` in #(((((
7781 case `echo 'xy\c'` in
7782 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7784 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7791 rm -f conf$$ conf$$.exe conf$$.
file
7792 if test -d conf$$.dir
; then
7793 rm -f conf$$.dir
/conf$$.
file
7796 mkdir conf$$.dir
2>/dev
/null
7798 if (echo >conf$$.
file) 2>/dev
/null
; then
7799 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7801 # ... but there are two gotchas:
7802 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7803 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7804 # In both cases, we have to default to `cp -p'.
7805 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
7807 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7815 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7816 rmdir conf$$.dir
2>/dev
/null
7821 # Create "$as_dir" as a directory, including parents if necessary.
7826 -*) as_dir
=.
/$as_dir;;
7828 test -d "$as_dir" || eval $as_mkdir_p || {
7832 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7833 *) as_qdir
=$as_dir;;
7835 as_dirs
="'$as_qdir' $as_dirs"
7836 as_dir
=`$as_dirname -- "$as_dir" ||
7837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7838 X"$as_dir" : 'X\(//\)[^/]' \| \
7839 X"$as_dir" : 'X\(//\)$' \| \
7840 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7841 $as_echo X"$as_dir" |
7842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7859 test -d "$as_dir" && break
7861 test -z "$as_dirs" || eval "mkdir $as_dirs"
7862 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
7866 if mkdir -p .
2>/dev
/null
; then
7867 as_mkdir_p
='mkdir -p "$as_dir"'
7869 test -d .
/-p && rmdir .
/-p
7873 if test -x / >/dev
/null
2>&1; then
7876 if ls -dL / >/dev
/null
2>&1; then
7883 if test -d "$1"; then
7889 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7890 ???[sx]*):;;*)false;;esac;fi
7894 as_executable_p
=$as_test_x
7896 # Sed expression to map a string onto a valid CPP name.
7897 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7899 # Sed expression to map a string onto a valid variable name.
7900 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7904 ## ----------------------------------- ##
7905 ## Main body of $CONFIG_STATUS script. ##
7906 ## ----------------------------------- ##
7908 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7910 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
7911 # Save the log message, to keep $0 and so on meaningful, and to
7912 # report actual input values of CONFIG_FILES etc. instead of their
7913 # values after options handling.
7915 This file was extended by X3 $as_me 1.8, which was
7916 generated by GNU Autoconf 2.64. Invocation command line was
7918 CONFIG_FILES = $CONFIG_FILES
7919 CONFIG_HEADERS = $CONFIG_HEADERS
7920 CONFIG_LINKS = $CONFIG_LINKS
7921 CONFIG_COMMANDS = $CONFIG_COMMANDS
7924 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7929 case $ac_config_files in *"
7930 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7933 case $ac_config_headers in *"
7934 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7939 # Files that config.status was made for.
7940 config_files="$ac_config_files"
7941 config_headers="$ac_config_headers"
7942 config_commands="$ac_config_commands"
7946 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
7948 \`$as_me' instantiates files and other configuration actions
7949 from templates according to the current configuration. Unless the files
7950 and actions are specified as TAGs, all are instantiated by default.
7952 Usage: $0 [OPTION]... [TAG]...
7954 -h, --help print this help, then exit
7955 -V, --version print version number and configuration settings, then exit
7956 -q, --quiet, --silent
7957 do not print progress messages
7958 -d, --debug don't remove temporary files
7959 --recheck update $as_me by reconfiguring in the same conditions
7960 --file=FILE[:TEMPLATE]
7961 instantiate the configuration file FILE
7962 --header=FILE[:TEMPLATE]
7963 instantiate the configuration header FILE
7965 Configuration files:
7968 Configuration headers:
7971 Configuration commands:
7974 Report bugs to <evilnet-devel@lists.sourceforge.net>."
7977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7979 X3 config.status 1.8
7980 configured by $0, generated by GNU Autoconf 2.64,
7981 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7983 Copyright (C) 2009 Free Software Foundation, Inc.
7984 This config.status script is free software; the Free Software Foundation
7985 gives unlimited permission to copy, distribute and modify it."
7992 test -n "\$AWK" || AWK=awk
7995 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
7996 # The default lists apply if the user does not specify any file.
8002 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8003 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8014 # Handling of the options.
8015 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8017 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8018 $as_echo "$ac_cs_version"; exit ;;
8019 --debug | --debu | --deb | --de | --d | -d )
8021 --file | --fil | --fi | --f )
8024 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8026 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8027 ac_need_defaults
=false
;;
8028 --header | --heade | --head | --hea )
8031 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8033 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8034 ac_need_defaults
=false
;;
8036 # Conflict between --help and --header
8037 as_fn_error
"ambiguous option: \`$1'
8038 Try \`$0 --help' for more information.";;
8039 --help | --hel | -h )
8040 $as_echo "$ac_cs_usage"; exit ;;
8041 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8042 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8046 -*) as_fn_error
"unrecognized option: \`$1'
8047 Try \`$0 --help' for more information." ;;
8049 *) as_fn_append ac_config_targets
" $1"
8050 ac_need_defaults
=false
;;
8056 ac_configure_extra_args
=
8058 if $ac_cs_silent; then
8060 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8065 if \$ac_cs_recheck; then
8066 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8068 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8069 CONFIG_SHELL='$SHELL'
8075 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8079 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8080 ## Running $as_me. ##
8086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8090 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8094 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8096 # Handling of arguments.
8097 for ac_config_target
in $ac_config_targets
8099 case $ac_config_target in
8100 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
8101 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8102 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8103 "rx/Makefile") CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
8104 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
8106 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8111 # If the user did not use the arguments to specify the items to instantiate,
8112 # then the envvar interface is used. Set only those that are not.
8113 # We use the long form for the default assignment because of an extremely
8114 # bizarre bug on SunOS 4.1.3.
8115 if $ac_need_defaults; then
8116 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8117 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8118 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8121 # Have a temporary directory for convenience. Make it in the build tree
8122 # simply because there is no reason against having it here, and in addition,
8123 # creating and moving files from /tmp can sometimes cause problems.
8124 # Hook for its removal unless debugging.
8125 # Note that there is a small window in which the directory will not be cleaned:
8126 # after its creation but before its name has been assigned to `$tmp'.
8130 trap 'exit_status=$?
8131 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8133 trap 'as_fn_exit 1' 1 2 13 15
8135 # Create a (secure) tmp directory for tmp files.
8138 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8139 test -n "$tmp" && test -d "$tmp"
8142 tmp
=.
/conf$$
-$RANDOM
8143 (umask 077 && mkdir "$tmp")
8144 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8146 # Set up the scripts for CONFIG_FILES section.
8147 # No need to generate them if there are no CONFIG_FILES.
8148 # This happens for instance with `./config.status config.h'.
8149 if test -n "$CONFIG_FILES"; then
8152 ac_cr
=`echo X | tr X '\015'`
8153 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8154 # But we know of no other shell where ac_cr would be empty at this
8155 # point, so we can use a bashism as a fallback.
8156 if test "x$ac_cr" = x
; then
8157 eval ac_cr
=\$
\'\\r
\'
8159 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8160 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8166 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8171 echo "cat >conf$$subs.awk <<_ACEOF" &&
8172 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8175 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8176 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8178 for ac_last_try in false false false false false :; do
8179 . ./conf$$subs.sh ||
8180 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8182 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8183 if test $ac_delim_n = $ac_delim_num; then
8185 elif $ac_last_try; then
8186 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8188 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8194 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8198 s/^/S["/; s
/!.
*/"]=/
8208 s/\(.\{148\}\).*/\1/
8210 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8215 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8222 s/\(.\{148\}\).*/\1/
8224 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8228 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8233 ' <conf$$subs.awk | sed '
8238 ' >>$CONFIG_STATUS || ac_write_fail=1
8239 rm -f conf$$subs.awk
8240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8242 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8243 for (key in S) S_is_set[key] = 1
8249 nfields = split(line, field, "@
")
8251 len = length(field[1])
8252 for (i = 2; i < nfields; i++) {
8254 keylen = length(key)
8255 if (S_is_set[key]) {
8257 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8258 len += length(value) + length(field[++i])
8269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8270 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8271 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8274 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8275 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8278 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8279 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8280 # trailing colons and then remove the whole line if VPATH becomes empty
8281 # (actually we leave an empty line to preserve line numbers).
8282 if test "x
$srcdir" = x.; then
8283 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8287 s/^\([^=]*=[ ]*\):*/\1/
8293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8294 fi # test -n "$CONFIG_FILES"
8296 # Set up the scripts for CONFIG_HEADERS section.
8297 # No need to generate them if there are no CONFIG_HEADERS.
8298 # This happens for instance with `./config.status Makefile'.
8299 if test -n "$CONFIG_HEADERS"; then
8300 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8304 # Transform confdefs.h into an awk script `defines.awk', embedded as
8305 # here-document in config.status, that substitutes the proper values into
8306 # config.h.in to produce config.h.
8308 # Create a delimiter string that does not exist in confdefs.h, to ease
8309 # handling of long lines.
8311 for ac_last_try in false false :; do
8312 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8313 if test -z "$ac_t"; then
8315 elif $ac_last_try; then
8316 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8318 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8322 # For the awk script, D is an array of macro values keyed by name,
8323 # likewise P contains macro parameters if any. Preserve backslash
8324 # newline sequences.
8326 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8328 s/.\{148\}/&'"$ac_delim"'/g
8331 s/^[ ]*#[ ]*define[ ][ ]*/ /
8338 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8340 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8344 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8345 D["\
1"]=" \
3\\\\\\n
"\\/p
8347 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8352 s/.\{148\}/&'"$ac_delim"'/g
8357 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8360 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8362 ' <confdefs.h | sed '
8363 s/'"$ac_delim"'/"\\\
8364 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8367 for (key in D) D_is_set[key] = 1
8370 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8372 split(line, arg, " ")
8373 if (arg[1] == "#") {
8377 defundef
= substr
(arg
[1], 2)
8380 split(mac1
, mac2
, "(") #)
8382 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8383 if (D_is_set
[macro
]) {
8384 # Preserve the white space surrounding the "#".
8385 print prefix
"define", macro P
[macro
] D
[macro
]
8388 # Replace #undef with comments. This is necessary, for example,
8389 # in the case of _POSIX_SOURCE, which is predefined and required
8390 # on some systems where configure will not decide to define it.
8391 if (defundef
== "undef") {
8392 print
"/*", prefix defundef
, macro
, "*/"
8400 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8401 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8402 fi # test -n "$CONFIG_HEADERS"
8405 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8410 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8412 case $ac_mode$ac_tag in
8414 :L
* | :C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8415 :[FH
]-) ac_tag
=-:-;;
8416 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8433 -) ac_f
="$tmp/stdin";;
8434 *) # Look for the file first in the build tree, then in the source tree
8435 # (if the path is not absolute). The absolute path cannot be DOS-style,
8436 # because $ac_f cannot contain `:'.
8440 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8442 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8444 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8445 as_fn_append ac_file_inputs
" '$ac_f'"
8448 # Let's still pretend it is `configure' which instantiates (i.e., don't
8449 # use $as_me), people would be surprised to read:
8450 # /* config.h. Generated by config.status. */
8451 configure_input
='Generated from '`
8452 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8454 if test x
"$ac_file" != x
-; then
8455 configure_input
="$ac_file. $configure_input"
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8457 $as_echo "$as_me: creating $ac_file" >&6;}
8459 # Neutralize special characters interpreted by sed in replacement strings.
8460 case $configure_input in #(
8461 *\
&* | *\
|* | *\\* )
8462 ac_sed_conf_input
=`$as_echo "$configure_input" |
8463 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8464 *) ac_sed_conf_input
=$configure_input;;
8468 *:-:* | *:-) cat >"$tmp/stdin" \
8469 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8474 ac_dir
=`$as_dirname -- "$ac_file" ||
8475 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8476 X"$ac_file" : 'X\(//\)[^/]' \| \
8477 X"$ac_file" : 'X\(//\)$' \| \
8478 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8479 $as_echo X"$ac_file" |
8480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8497 as_dir
="$ac_dir"; as_fn_mkdir_p
8501 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8503 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8504 # A ".." for each directory in $ac_dir_suffix.
8505 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8506 case $ac_top_builddir_sub in
8507 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8508 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8511 ac_abs_top_builddir
=$ac_pwd
8512 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8513 # for backward compatibility:
8514 ac_top_builddir
=$ac_top_build_prefix
8517 .
) # We are building in place.
8519 ac_top_srcdir
=$ac_top_builddir_sub
8520 ac_abs_top_srcdir
=$ac_pwd ;;
8521 [\\/]* | ?
:[\\/]* ) # Absolute name.
8522 ac_srcdir
=$srcdir$ac_dir_suffix;
8523 ac_top_srcdir
=$srcdir
8524 ac_abs_top_srcdir
=$srcdir ;;
8526 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8527 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8528 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8530 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8540 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8541 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8545 [\\/$
]* | ?
:[\\/]* ) ;;
8546 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8550 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8551 # If the template does not know about datarootdir, expand it.
8552 # FIXME: This hack should be removed a few years after 2.60.
8553 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8564 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8565 *datarootdir
*) ac_datarootdir_seen
=yes;;
8566 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8568 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8571 ac_datarootdir_hack='
8572 s&@datadir@&$datadir&g
8573 s&@docdir@&$docdir&g
8574 s&@infodir@&$infodir&g
8575 s&@localedir@&$localedir&g
8576 s&@mandir@&$mandir&g
8577 s&\\\${datarootdir}&$datarootdir&g' ;;
8581 # Neutralize VPATH when `$srcdir' = `.'.
8582 # Shell code in configure.ac might set extrasub.
8583 # FIXME: do we really want to maintain this feature?
8584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8585 ac_sed_extra="$ac_vpsub
8588 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8590 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
8591 s
|@configure_input@
|$ac_sed_conf_input|;t t
8592 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8593 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8594 s
&@srcdir@
&$ac_srcdir&;t t
8595 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8596 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8597 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8598 s
&@builddir@
&$ac_builddir&;t t
8599 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8600 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8601 s
&@INSTALL@
&$ac_INSTALL&;t t
8602 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8603 $ac_datarootdir_hack
8605 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
8606 || as_fn_error "could not create
$ac_file" "$LINENO" 5
8608 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8609 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8610 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8612 which seems to be undefined. Please make sure it is defined." >&5
8613 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8614 which seems to be undefined. Please make sure it is defined." >&2;}
8618 -) cat "$tmp/out" && rm -f "$tmp/out";;
8619 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8621 || as_fn_error "could not create $ac_file" "$LINENO" 5
8627 if test x"$ac_file" != x-; then
8629 $as_echo "/* $configure_input */" \
8630 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8631 } >"$tmp/config.h" \
8632 || as_fn_error "could not create $ac_file" "$LINENO" 5
8633 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8635 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8638 mv "$tmp/config.h" "$ac_file" \
8639 || as_fn_error "could not create $ac_file" "$LINENO" 5
8642 $as_echo "/* $configure_input */" \
8643 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8644 || as_fn_error "could not create -" "$LINENO" 5
8646 # Compute "$ac_file"'s index
in $config_headers.
8649 for _am_header
in $config_headers :; do
8651 $_am_arg | $_am_arg:* )
8654 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8657 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8658 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8659 X"$_am_arg" : 'X\(//\)[^/]' \| \
8660 X"$_am_arg" : 'X\(//\)$' \| \
8661 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8662 $as_echo X"$_am_arg" |
8663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8679 s/.*/./; q'`/stamp
-h$_am_stamp_count
8682 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8683 $as_echo "$as_me: executing $ac_file commands" >&6;}
8688 case $ac_file$ac_mode in
8689 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
8690 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8691 # are listed without --file. Let's play safe and only enable the eval
8692 # if we detect the quoting.
8693 case $CONFIG_FILES in
8694 *\'*) eval set x
"$CONFIG_FILES" ;;
8695 *) set x
$CONFIG_FILES ;;
8700 # Strip MF so we end up with the name of the file.
8701 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8702 # Check whether this is an Automake generated Makefile or not.
8703 # We used to match only the files named `Makefile.in', but
8704 # some people rename them; so instead we look at the file content.
8705 # Grep'ing the first line is not enough: some people post-process
8706 # each Makefile.in and add a new line on top of each file to say so.
8707 # Grep'ing the whole file is not good either: AIX grep has a line
8708 # limit of 2048, but all sed's we know have understand at least 4000.
8709 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
8710 dirpart
=`$as_dirname -- "$mf" ||
8711 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8712 X"$mf" : 'X\(//\)[^/]' \| \
8713 X"$mf" : 'X\(//\)$' \| \
8714 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8736 # Extract the definition of DEPDIR, am__include, and am__quote
8737 # from the Makefile without running `make'.
8738 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8739 test -z "$DEPDIR" && continue
8740 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8741 test -z "am__include" && continue
8742 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8743 # When using ansi2knr, U may be empty or an underscore; expand it
8744 U
=`sed -n 's/^U = //p' < "$mf"`
8745 # Find all dependency output files, they are included files with
8746 # $(DEPDIR) in their names. We invoke sed twice because it is the
8747 # simplest approach to changing $(DEPDIR) to its actual value in the
8749 for file in `sed -n "
8750 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8751 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8752 # Make sure the directory exists.
8753 test -f "$dirpart/$file" && continue
8754 fdir
=`$as_dirname -- "$file" ||
8755 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8756 X"$file" : 'X\(//\)[^/]' \| \
8757 X"$file" : 'X\(//\)$' \| \
8758 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8777 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8778 # echo "creating $dirpart/$file"
8779 echo '# dummy' > "$dirpart/$file"
8791 ac_clean_files
=$ac_clean_files_save
8793 test $ac_write_fail = 0 ||
8794 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8797 # configure is writing to config.log, and then calls config.status.
8798 # config.status does its own redirection, appending to config.log.
8799 # Unfortunately, on DOS this fails, as config.log is still kept open
8800 # by configure, so config.status won't be able to write to it; its
8801 # output is simply discarded. So we exec the FD to /dev/null,
8802 # effectively closing config.log, so it can be properly (re)opened and
8803 # appended to by config.status. When coming back to configure, we
8804 # need to make the FD available again.
8805 if test "$no_create" != yes; then
8807 ac_config_status_args
=
8808 test "$silent" = yes &&
8809 ac_config_status_args
="$ac_config_status_args --quiet"
8811 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8813 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8814 # would make configure fail if this is the last instruction.
8815 $ac_cs_success || as_fn_exit $?
8817 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8819 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8827 Configuration summary
8828 =====================
8830 X3 is now configured as follows:
8832 * Compilation environment
8837 CPPFLAGS = $CPPFLAGS
8845 Extra Modules: $module_list
8848 Regexp Library TRE $tre_version
8849 Coredumper Library Coredumper $core_version
8855 Now you can proceed with compiling X3