2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68 for X3 1.9.
6 # Report bugs to <evilnet-devel@lists.sourceforge.net>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE
=1; export DUALCASE
# for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print
-rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
58 as_echo_n='/usr
/ucb
/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh
-c $as_echo_n_body as_echo
'
74 as_echo='sh
-c $as_echo_body as_echo
'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x
; then
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there. '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var
in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\
${$as_var+set} = xset \
125 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
138 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
140 if test "x$CONFIG_SHELL" = x
; then
141 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145 # is contrary to our usage. Disable this feature.
146 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 case \`(set -o) 2>/dev/null\` in #(
157 as_required
="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
171 exitcode=1; echo positional parameters were not saved.
173 test x\$exitcode = x0 || exit 1"
174 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
175 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test \$(( 1 + 1 )) = 2 || exit 1"
179 if (eval "$as_required") 2>/dev
/null
; then :
184 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
189 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
192 test -z "$as_dir" && as_dir
=.
196 for as_base
in sh bash ksh sh5
; do
197 # Try only shells that exist, to save several forks.
198 as_shell
=$as_dir/$as_base
199 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
200 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
201 CONFIG_SHELL
=$as_shell as_have_required
=yes
202 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
210 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
211 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
212 CONFIG_SHELL
=$SHELL as_have_required
=yes
217 if test "x$CONFIG_SHELL" != x
; then :
218 # We cannot yet assume a decent shell, so we have to provide a
219 # neutralization value for shells without unset; and this also
220 # works around shells that cannot unset nonexistent variables.
221 # Preserve -v and -x to the replacement shell.
224 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
232 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
235 if test x
$as_have_required = xno
; then :
236 $as_echo "$0: This script requires a shell more modern than all"
237 $as_echo "$0: the shells that I found on your system."
238 if test x
${ZSH_VERSION+set} = xset
; then
239 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
240 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
242 $as_echo "$0: Please tell bug-autoconf@gnu.org and
243 $0: evilnet-devel@lists.sourceforge.net about your system,
244 $0: including any error possibly output before this
245 $0: message. Then install a modern shell, or manually run
246 $0: the script under such a shell if you do have one."
252 SHELL
=${CONFIG_SHELL-/bin/sh}
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE
= GREP_OPTIONS
=
256 unset CLICOLOR_FORCE GREP_OPTIONS
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
263 # Portably unset VAR.
266 { eval $1=; unset $1;}
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
290 # Create "$as_dir" as a directory, including parents if necessary.
295 -*) as_dir
=.
/$as_dir;;
297 test -d "$as_dir" || eval $as_mkdir_p || {
301 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
304 as_dirs
="'$as_qdir' $as_dirs"
305 as_dir
=`$as_dirname -- "$as_dir" ||
306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307 X"$as_dir" : 'X\(//\)[^/]' \| \
308 X"$as_dir" : 'X\(//\)$' \| \
309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310 $as_echo X"$as_dir" |
311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
328 test -d "$as_dir" && break
330 test -z "$as_dirs" || eval "mkdir $as_dirs"
331 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
335 # as_fn_append VAR VALUE
336 # ----------------------
337 # Append the text in VALUE to the end of the definition contained in VAR. Take
338 # advantage of any shell optimizations that allow amortized linear growth over
339 # repeated appends, instead of the typical quadratic growth present in naive
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
342 eval 'as_fn_append ()
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
366 as_val
=`expr "$@" || test $? -eq 1`
371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
372 # ----------------------------------------
373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375 # script with STATUS, using 1 if that was 0.
378 as_status
=$1; test $as_status -eq 0 && as_status
=1
380 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
381 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
383 $as_echo "$as_me: error: $2" >&2
384 as_fn_exit
$as_status
387 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
388 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
394 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
400 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
406 as_me
=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408 X"$0" : 'X\(//\)$' \| \
409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
411 sed '/^.*\/\([^/][^/]*\)\/*$/{
425 # Avoid depending upon Character Ranges.
426 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits
='0123456789'
430 as_cr_alnum
=$as_cr_Letters$as_cr_digits
433 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
434 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
435 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
456 # Don't try to exec as it changes $[0], causing all sort of problems
457 # (the dirname of $[0] is not the place where we might find the
458 # original and so on. Autoconf is especially sensitive to this).
460 # Exit status is that of the last command.
464 ECHO_C
= ECHO_N
= ECHO_T
=
465 case `echo -n x` in #(((((
467 case `echo 'xy\c'` in
468 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
470 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
477 rm -f conf$$ conf$$.exe conf$$.
file
478 if test -d conf$$.dir
; then
479 rm -f conf$$.dir
/conf$$.
file
482 mkdir conf$$.dir
2>/dev
/null
484 if (echo >conf$$.
file) 2>/dev
/null
; then
485 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
487 # ... but there are two gotchas:
488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490 # In both cases, we have to default to `cp -p'.
491 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
493 elif ln conf$$.
file conf$$
2>/dev
/null
; then
501 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
502 rmdir conf$$.dir
2>/dev
/null
504 if mkdir -p .
2>/dev
/null
; then
505 as_mkdir_p
='mkdir -p "$as_dir"'
507 test -d .
/-p && rmdir .
/-p
511 if test -x / >/dev
/null
2>&1; then
514 if ls -dL / >/dev
/null
2>&1; then
521 if test -d "$1"; then
527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528 ???[sx]*):;;*)false;;esac;fi
532 as_executable_p
=$as_test_x
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
541 test -n "$DJDIR" || exec 7<&0 </dev
/null
545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546 # so uname gets run too.
547 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
552 ac_default_prefix
=/usr
/local
554 ac_config_libobj_dir
=.
561 # Identity of this package.
564 PACKAGE_VERSION
='1.9'
565 PACKAGE_STRING
='X3 1.9'
566 PACKAGE_BUGREPORT
='evilnet-devel@lists.sourceforge.net'
569 ac_unique_file
="src/opserv.c"
570 # Factoring default headers for most tests.
571 ac_includes_default
="\
573 #ifdef HAVE_SYS_TYPES_H
574 # include <sys/types.h>
576 #ifdef HAVE_SYS_STAT_H
577 # include <sys/stat.h>
583 # ifdef HAVE_STDLIB_H
588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
593 #ifdef HAVE_STRINGS_H
594 # include <strings.h>
596 #ifdef HAVE_INTTYPES_H
597 # include <inttypes.h>
607 ac_subst_vars
='am__EXEEXT_FALSE
647 MAINTAINER_MODE_FALSE
657 INSTALL_STRIP_PROGRAM
711 program_transform_name
724 enable_option_checking
725 enable_maintainer_mode
726 enable_dependency_tracking
742 ac_precious_vars
='build_alias
753 # Initialize some variables set by options.
755 ac_init_version
=false
756 ac_unrecognized_opts
=
758 # The variables have the same names as the options, with
759 # dashes changed to underlines.
767 program_transform_name
=s
,x
,x
,
775 # Installation directory options.
776 # These are left unexpanded so users can "make install exec_prefix=/foo"
777 # and all the variables that are supposed to be based on exec_prefix
778 # by default will actually change.
779 # Use braces instead of parens because sh, perl, etc. also accept them.
780 # (The list follows the same order as the GNU Coding Standards.)
781 bindir
='${exec_prefix}/bin'
782 sbindir
='${exec_prefix}/sbin'
783 libexecdir
='${exec_prefix}/libexec'
784 datarootdir
='${prefix}/share'
785 datadir
='${datarootdir}'
786 sysconfdir
='${prefix}/etc'
787 sharedstatedir
='${prefix}/com'
788 localstatedir
='${prefix}/var'
789 includedir
='${prefix}/include'
790 oldincludedir
='/usr/include'
791 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
792 infodir
='${datarootdir}/info'
797 libdir
='${exec_prefix}/lib'
798 localedir
='${datarootdir}/locale'
799 mandir
='${datarootdir}/man'
805 # If the previous option needs an argument, assign it.
806 if test -n "$ac_prev"; then
807 eval $ac_prev=\
$ac_option
813 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818 # Accept the important Cygnus configure options, so we can diagnose typos.
820 case $ac_dashdash$ac_option in
824 -bindir | --bindir | --bindi | --bind | --bin | --bi)
826 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
829 -build | --build | --buil | --bui | --bu)
830 ac_prev
=build_alias
;;
831 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
832 build_alias
=$ac_optarg ;;
834 -cache-file | --cache-file | --cache-fil | --cache-fi \
835 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
836 ac_prev
=cache_file
;;
837 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
838 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
839 cache_file
=$ac_optarg ;;
842 cache_file
=config.cache
;;
844 -datadir | --datadir | --datadi | --datad)
846 -datadir=* | --datadir=* | --datadi=* | --datad=*)
847 datadir
=$ac_optarg ;;
849 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
850 | --dataroo | --dataro | --datar)
851 ac_prev
=datarootdir
;;
852 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
853 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
854 datarootdir
=$ac_optarg ;;
856 -disable-* | --disable-*)
857 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
860 as_fn_error $?
"invalid feature name: $ac_useropt"
861 ac_useropt_orig
=$ac_useropt
862 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863 case $ac_user_opts in
867 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
868 ac_unrecognized_sep
=', ';;
870 eval enable_
$ac_useropt=no
;;
872 -docdir | --docdir | --docdi | --doc | --do)
874 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
877 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
879 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
882 -enable-* | --enable-*)
883 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
886 as_fn_error $?
"invalid feature name: $ac_useropt"
887 ac_useropt_orig
=$ac_useropt
888 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894 ac_unrecognized_sep
=', ';;
896 eval enable_
$ac_useropt=\
$ac_optarg ;;
898 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900 | --exec | --exe | --ex)
901 ac_prev
=exec_prefix
;;
902 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904 | --exec=* | --exe=* | --ex=*)
905 exec_prefix
=$ac_optarg ;;
907 -gas | --gas | --ga | --g)
908 # Obsolete; use --with-gas.
911 -help | --help | --hel | --he | -h)
913 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
914 ac_init_help
=recursive
;;
915 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
916 ac_init_help
=short
;;
918 -host | --host | --hos | --ho)
919 ac_prev
=host_alias
;;
920 -host=* | --host=* | --hos=* | --ho=*)
921 host_alias
=$ac_optarg ;;
923 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
925 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
927 htmldir
=$ac_optarg ;;
929 -includedir | --includedir | --includedi | --included | --include \
930 | --includ | --inclu | --incl | --inc)
931 ac_prev
=includedir
;;
932 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933 | --includ=* | --inclu=* | --incl=* | --inc=*)
934 includedir
=$ac_optarg ;;
936 -infodir | --infodir | --infodi | --infod | --info | --inf)
938 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939 infodir
=$ac_optarg ;;
941 -libdir | --libdir | --libdi | --libd)
943 -libdir=* | --libdir=* | --libdi=* | --libd=*)
946 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947 | --libexe | --libex | --libe)
948 ac_prev
=libexecdir
;;
949 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950 | --libexe=* | --libex=* | --libe=*)
951 libexecdir
=$ac_optarg ;;
953 -localedir | --localedir | --localedi | --localed | --locale)
955 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956 localedir
=$ac_optarg ;;
958 -localstatedir | --localstatedir | --localstatedi | --localstated \
959 | --localstate | --localstat | --localsta | --localst | --locals)
960 ac_prev
=localstatedir
;;
961 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963 localstatedir
=$ac_optarg ;;
965 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
967 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
971 # Obsolete; use --without-fp.
974 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975 | --no-cr | --no-c | -n)
978 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
982 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984 | --oldin | --oldi | --old | --ol | --o)
985 ac_prev
=oldincludedir
;;
986 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989 oldincludedir
=$ac_optarg ;;
991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
996 -program-prefix | --program-prefix | --program-prefi | --program-pref \
997 | --program-pre | --program-pr | --program-p)
998 ac_prev
=program_prefix
;;
999 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001 program_prefix
=$ac_optarg ;;
1003 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004 | --program-suf | --program-su | --program-s)
1005 ac_prev
=program_suffix
;;
1006 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008 program_suffix
=$ac_optarg ;;
1010 -program-transform-name | --program-transform-name \
1011 | --program-transform-nam | --program-transform-na \
1012 | --program-transform-n | --program-transform- \
1013 | --program-transform | --program-transfor \
1014 | --program-transfo | --program-transf \
1015 | --program-trans | --program-tran \
1016 | --progr-tra | --program-tr | --program-t)
1017 ac_prev
=program_transform_name
;;
1018 -program-transform-name=* | --program-transform-name=* \
1019 | --program-transform-nam=* | --program-transform-na=* \
1020 | --program-transform-n=* | --program-transform-=* \
1021 | --program-transform=* | --program-transfor=* \
1022 | --program-transfo=* | --program-transf=* \
1023 | --program-trans=* | --program-tran=* \
1024 | --progr-tra=* | --program-tr=* | --program-t=*)
1025 program_transform_name
=$ac_optarg ;;
1027 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1029 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030 pdfdir
=$ac_optarg ;;
1032 -psdir | --psdir | --psdi | --psd | --ps)
1034 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1041 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1043 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1045 sbindir
=$ac_optarg ;;
1047 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1048 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1049 | --sharedst | --shareds | --shared | --share | --shar \
1051 ac_prev
=sharedstatedir
;;
1052 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1053 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1054 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1056 sharedstatedir
=$ac_optarg ;;
1058 -site | --site | --sit)
1060 -site=* | --site=* | --sit=*)
1063 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1065 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1066 srcdir
=$ac_optarg ;;
1068 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1069 | --syscon | --sysco | --sysc | --sys | --sy)
1070 ac_prev
=sysconfdir
;;
1071 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1072 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1073 sysconfdir
=$ac_optarg ;;
1075 -target | --target | --targe | --targ | --tar | --ta | --t)
1076 ac_prev
=target_alias
;;
1077 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1078 target_alias
=$ac_optarg ;;
1080 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1083 -version | --version | --versio | --versi | --vers | -V)
1084 ac_init_version
=: ;;
1087 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1090 as_fn_error $?
"invalid package name: $ac_useropt"
1091 ac_useropt_orig
=$ac_useropt
1092 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1097 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1098 ac_unrecognized_sep
=', ';;
1100 eval with_
$ac_useropt=\
$ac_optarg ;;
1102 -without-* | --without-*)
1103 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1106 as_fn_error $?
"invalid package name: $ac_useropt"
1107 ac_useropt_orig
=$ac_useropt
1108 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1113 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1114 ac_unrecognized_sep
=', ';;
1116 eval with_
$ac_useropt=no
;;
1119 # Obsolete; use --with-x.
1122 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1123 | --x-incl | --x-inc | --x-in | --x-i)
1124 ac_prev
=x_includes
;;
1125 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1126 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1127 x_includes
=$ac_optarg ;;
1129 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1130 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1131 ac_prev
=x_libraries
;;
1132 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1133 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1134 x_libraries
=$ac_optarg ;;
1136 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1137 Try \`$0 --help' for more information"
1141 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1142 # Reject names that are not valid shell variable names.
1143 case $ac_envvar in #(
1144 '' | [0-9]* | *[!_$as_cr_alnum]* )
1145 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1147 eval $ac_envvar=\
$ac_optarg
1148 export $ac_envvar ;;
1151 # FIXME: should be removed in autoconf 3.0.
1152 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1154 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1155 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1161 if test -n "$ac_prev"; then
1162 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1163 as_fn_error $?
"missing argument to $ac_option"
1166 if test -n "$ac_unrecognized_opts"; then
1167 case $enable_option_checking in
1169 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1170 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1174 # Check all directory arguments for consistency.
1175 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val
=\$
$ac_var
1181 # Remove trailing slashes.
1184 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1185 eval $ac_var=\
$ac_val;;
1187 # Be sure to have absolute directory names.
1189 [\\/$
]* | ?
:[\\/]* ) continue;;
1190 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1192 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1195 # There might be people who depend on the old broken behavior: `$host'
1196 # used to hold the argument of --host etc.
1197 # FIXME: To remove some day.
1200 target
=$target_alias
1202 # FIXME: To remove some day.
1203 if test "x$host_alias" != x
; then
1204 if test "x$build_alias" = x
; then
1205 cross_compiling
=maybe
1206 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1207 If a cross compiler is detected then cross compile mode will be used" >&2
1208 elif test "x$build_alias" != "x$host_alias"; then
1214 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1216 test "$silent" = yes && exec 6>/dev
/null
1219 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1220 ac_ls_di
=`ls -di .` &&
1221 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1222 as_fn_error $?
"working directory cannot be determined"
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 as_fn_error $?
"pwd does not report name of working directory"
1227 # Find the source files, if location was not specified.
1228 if test -z "$srcdir"; then
1229 ac_srcdir_defaulted
=yes
1230 # Try the directory containing this script, then the parent directory.
1231 ac_confdir
=`$as_dirname -- "$as_myself" ||
1232 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233 X"$as_myself" : 'X\(//\)[^/]' \| \
1234 X"$as_myself" : 'X\(//\)$' \| \
1235 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1236 $as_echo X"$as_myself" |
1237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1259 ac_srcdir_defaulted
=no
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1262 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1263 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1265 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1277 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 for ac_var
in $ac_precious_vars; do
1280 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1281 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1282 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1283 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1293 \`configure' configures X3 1.9 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking ...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/x3]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1351 --program-prefix=PREFIX prepend PREFIX to installed program names
1352 --program-suffix=SUFFIX append SUFFIX to installed program names
1353 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1356 --build=BUILD configure
for building on BUILD
[guessed
]
1357 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1358 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1362 if test -n "$ac_init_help"; then
1363 case $ac_init_help in
1364 short
| recursive
) echo "Configuration of X3 1.9:";;
1369 --disable-option-checking ignore unrecognized
--enable/--with options
1370 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1371 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1372 --enable-maintainer-mode enable make rules and dependencies not useful
1373 (and sometimes confusing
) to the casual installer
1374 --disable-dependency-tracking speeds up one
-time build
1375 --enable-dependency-tracking do not reject slow dependency extractors
1376 --disable-tokens Disables tokenization of P10 protocol output
1377 (tokens required
if linking to ircu
2.10.11)
1378 --enable-debug Enables debugging behaviors
1379 --enable-modules=list
,of
,modules Enable extra modules
1380 --disable-python don
't build the python plugin
1383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1385 --with-malloc=type Enables use of a special malloc library; one of:
1386 system (the default), boehm-gc, dmalloc, mpatrol, x3, slab
1387 --with-protocol=name Choose IRC dialect to support; one of:
1389 --with-mail=name How to send mail; one of:
1390 sendmail (the default), smtp
1391 --without-epoll Disables the epoll_*() I/O backend
1392 --without-kevent Disables the kevent() I/O backend
1393 --without-getopt Disables building of the GNU getopt library
1394 --with-tre=PATH Base path to where libtre is installed, such that
1395 PATH/lib/libtre.so and PATH/include/tre/regex.h exist.
1396 --with-coredumper=PATH Base path to where core dumper is installed, such
1397 that PATH/lib/libcoredumper.so and
1398 PATH/include/google/coredumper.h exist.
1399 --with-ssl=PATH Base path to where openssl is installed
1400 --with-ldap=PATH Base path to where the ldap library and headers are installed,
1401 such that PATH/include/ldap.h and PATH/lib/libldap.so exist.
1403 Some influential environment variables:
1404 CC C compiler command
1405 CFLAGS C compiler flags
1406 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1407 nonstandard directory <lib dir>
1408 LIBS libraries to pass to the linker, e.g. -l<library>
1409 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1410 you have headers in a nonstandard directory <include dir>
1413 Use these variables to override the choices made by `configure' or to
help
1414 it to
find libraries and programs with nonstandard names
/locations.
1416 Report bugs to
<evilnet
-devel@lists.sourceforge.net
>.
1421 if test "$ac_init_help" = "recursive"; then
1422 # If there are subdirs, report their specific --help.
1423 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1424 test -d "$ac_dir" ||
1425 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1430 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1432 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1433 # A ".." for each directory in $ac_dir_suffix.
1434 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1435 case $ac_top_builddir_sub in
1436 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1437 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1440 ac_abs_top_builddir
=$ac_pwd
1441 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1442 # for backward compatibility:
1443 ac_top_builddir
=$ac_top_build_prefix
1446 .
) # We are building in place.
1448 ac_top_srcdir
=$ac_top_builddir_sub
1449 ac_abs_top_srcdir
=$ac_pwd ;;
1450 [\\/]* | ?
:[\\/]* ) # Absolute name.
1451 ac_srcdir
=$srcdir$ac_dir_suffix;
1452 ac_top_srcdir
=$srcdir
1453 ac_abs_top_srcdir
=$srcdir ;;
1455 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1456 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1457 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1459 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1461 cd "$ac_dir" || { ac_status
=$?
; continue; }
1462 # Check for guested configure.
1463 if test -f "$ac_srcdir/configure.gnu"; then
1465 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1466 elif test -f "$ac_srcdir/configure"; then
1468 $SHELL "$ac_srcdir/configure" --help=recursive
1470 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472 cd "$ac_pwd" || { ac_status
=$?
; break; }
1476 test -n "$ac_init_help" && exit $ac_status
1477 if $ac_init_version; then
1480 generated by GNU Autoconf
2.68
1482 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1483 This configure
script is free software
; the Free Software Foundation
1484 gives unlimited permission to copy
, distribute and modify it.
1489 ## ------------------------ ##
1490 ## Autoconf initialization. ##
1491 ## ------------------------ ##
1493 # ac_fn_c_try_compile LINENO
1494 # --------------------------
1495 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1496 ac_fn_c_try_compile
()
1498 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1499 rm -f conftest.
$ac_objext
1500 if { { ac_try
="$ac_compile"
1502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1503 *) ac_try_echo=$ac_try;;
1505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1506 $as_echo "$ac_try_echo"; } >&5
1507 (eval "$ac_compile") 2>conftest.err
1509 if test -s conftest.err; then
1510 grep -v '^ *+' conftest.err >conftest.er1
1511 cat conftest.er1 >&5
1512 mv -f conftest.er1 conftest.err
1514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515 test $ac_status = 0; } && {
1516 test -z "$ac_c_werror_flag" ||
1517 test ! -s conftest.err
1518 } && test -s conftest.$ac_objext; then :
1521 $as_echo "$as_me: failed program was:" >&5
1522 sed 's/^/| /' conftest.$ac_ext >&5
1526 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1527 as_fn_set_status $ac_retval
1529 } # ac_fn_c_try_compile
1531 # ac_fn_c_try_cpp LINENO
1532 # ----------------------
1533 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1537 if { { ac_try="$ac_cpp conftest.$ac_ext"
1539 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1540 *) ac_try_echo
=$ac_try;;
1542 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1543 $as_echo "$ac_try_echo"; } >&5
1544 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1546 if test -s conftest.err
; then
1547 grep -v '^ *+' conftest.err
>conftest.er1
1548 cat conftest.er1
>&5
1549 mv -f conftest.er1 conftest.err
1551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1552 test $ac_status = 0; } > conftest.i
&& {
1553 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1554 test ! -s conftest.err
1558 $as_echo "$as_me: failed program was:" >&5
1559 sed 's/^/| /' conftest.
$ac_ext >&5
1563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1564 as_fn_set_status
$ac_retval
1568 # ac_fn_c_try_link LINENO
1569 # -----------------------
1570 # Try to link conftest.$ac_ext, and return whether this succeeded.
1573 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1574 rm -f conftest.
$ac_objext conftest
$ac_exeext
1575 if { { ac_try
="$ac_link"
1577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1578 *) ac_try_echo=$ac_try;;
1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1582 (eval "$ac_link") 2>conftest.err
1584 if test -s conftest.err; then
1585 grep -v '^ *+' conftest.err >conftest.er1
1586 cat conftest.er1 >&5
1587 mv -f conftest.er1 conftest.err
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590 test $ac_status = 0; } && {
1591 test -z "$ac_c_werror_flag" ||
1592 test ! -s conftest.err
1593 } && test -s conftest$ac_exeext && {
1594 test "$cross_compiling" = yes ||
1595 $as_test_x conftest$ac_exeext
1599 $as_echo "$as_me: failed program was:" >&5
1600 sed 's/^/| /' conftest.$ac_ext >&5
1604 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1605 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1606 # interfere with the next link command; also delete a directory that is
1607 # left behind by Apple's compiler. We do this before executing the actions.
1608 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1610 as_fn_set_status $ac_retval
1612 } # ac_fn_c_try_link
1614 # ac_fn_c_try_run LINENO
1615 # ----------------------
1616 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1617 # that executables *can* be run.
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 if { { ac_try="$ac_link"
1623 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1624 *) ac_try_echo
=$ac_try;;
1626 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1627 $as_echo "$ac_try_echo"; } >&5
1628 (eval "$ac_link") 2>&5
1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1632 { { case "(($ac_try" in
1633 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_try") 2>&5
1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; }; }; then :
1644 $as_echo "$as_me: program exited with status $ac_status" >&5
1645 $as_echo "$as_me: failed program was:" >&5
1646 sed 's/^/| /' conftest.$ac_ext >&5
1648 ac_retval=$ac_status
1650 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 as_fn_set_status $ac_retval
1656 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1657 # -------------------------------------------------------
1658 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1659 # the include files in INCLUDES and setting the cache variable VAR
1661 ac_fn_c_check_header_mongrel ()
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 if eval \${$3+:} false; then :
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666 $as_echo_n "checking for $2... " >&6; }
1667 if eval \${$3+:} false; then :
1668 $as_echo_n "(cached) " >&6
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1672 $as_echo "$ac_res" >&6; }
1674 # Is the header compilable?
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1676 $as_echo_n "checking $2 usability... " >&6; }
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1682 if ac_fn_c_try_compile "$LINENO"; then :
1683 ac_header_compiler=yes
1685 ac_header_compiler=no
1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1689 $as_echo "$ac_header_compiler" >&6; }
1691 # Is the header present?
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1693 $as_echo_n "checking $2 presence... " >&6; }
1694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1698 if ac_fn_c_try_cpp "$LINENO"; then :
1699 ac_header_preproc=yes
1701 ac_header_preproc=no
1703 rm -f conftest.err conftest.i conftest.$ac_ext
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1705 $as_echo "$ac_header_preproc" >&6; }
1707 # So? What about this header?
1708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1711 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1713 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1717 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1719 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1721 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1723 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1726 ( $as_echo "## -------------------------------------------------- ##
1727 ## Report this to evilnet-devel@lists.sourceforge.net ##
1728 ## -------------------------------------------------- ##"
1729 ) | sed "s/^/$as_me: WARNING: /" >&2
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if eval \${$3+:} false; then :
1735 $as_echo_n "(cached) " >&6
1737 eval "$3=\$ac_header_compiler"
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1741 $as_echo "$ac_res" >&6; }
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 } # ac_fn_c_check_header_mongrel
1747 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1748 # -------------------------------------------------------
1749 # Tests whether HEADER exists and can be compiled using the include files in
1750 # INCLUDES, setting the cache variable VAR accordingly.
1751 ac_fn_c_check_header_compile ()
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1755 $as_echo_n "checking for $2... " >&6; }
1756 if eval \${$3+:} false; then :
1757 $as_echo_n "(cached) " >&6
1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 /* end confdefs.h. */
1764 if ac_fn_c_try_compile "$LINENO"; then :
1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773 $as_echo "$ac_res" >&6; }
1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776 } # ac_fn_c_check_header_compile
1778 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1779 # ----------------------------------------------------
1780 # Tries to find if the field MEMBER exists in type AGGR, after including
1781 # INCLUDES, setting cache variable VAR accordingly.
1782 ac_fn_c_check_member ()
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1786 $as_echo_n "checking for $2.$3... " >&6; }
1787 if eval \${$4+:} false; then :
1788 $as_echo_n "(cached) " >&6
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1803 if ac_fn_c_try_compile "$LINENO"; then :
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1813 if (sizeof ac_aggr.$3)
1819 if ac_fn_c_try_compile "$LINENO"; then :
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833 } # ac_fn_c_check_member
1835 # ac_fn_c_check_func LINENO FUNC VAR
1836 # ----------------------------------
1837 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1838 ac_fn_c_check_func ()
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if eval \${$3+:} false; then :
1844 $as_echo_n "(cached) " >&6
1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1848 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1850 #define $2 innocuous_$2
1852 /* System header to define __stub macros and hopefully few prototypes,
1853 which can conflict with char $2 (); below.
1854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1855 <limits.h> exists even on freestanding compilers. */
1858 # include <limits.h>
1860 # include <assert.h>
1865 /* Override any GCC internal prototype to avoid an error.
1866 Use char because int might match the return type of a GCC
1867 builtin and then its argument prototype would still apply. */
1872 /* The GNU C library defines this for functions which it implements
1873 to always fail with ENOSYS. Some functions are actually named
1874 something starting with __ and the normal name is an alias. */
1875 #if defined __stub_$2 || defined __stub___$2
1887 if ac_fn_c_try_link "$LINENO"; then :
1892 rm -f core conftest.err conftest.$ac_objext \
1893 conftest$ac_exeext conftest.$ac_ext
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900 } # ac_fn_c_check_func
1902 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1903 # -------------------------------------------
1904 # Tests whether TYPE exists after having included INCLUDES, setting cache
1905 # variable VAR accordingly.
1906 ac_fn_c_check_type ()
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1910 $as_echo_n "checking for $2... " >&6; }
1911 if eval \${$3+:} false; then :
1912 $as_echo_n "(cached) " >&6
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h. */
1927 if ac_fn_c_try_compile "$LINENO"; then :
1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929 /* end confdefs.h. */
1940 if ac_fn_c_try_compile "$LINENO"; then :
1945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1951 $as_echo "$ac_res" >&6; }
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1954 } # ac_fn_c_check_type
1955 cat >config.log <<_ACEOF
1956 This file contains any messages produced by compilers while
1957 running configure, to aid debugging if configure makes a mistake.
1959 It was created by X3 $as_me 1.9, which was
1960 generated by GNU Autoconf 2.68. Invocation command line was
1972 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1973 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1974 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1975 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1976 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1978 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1979 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1981 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1982 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1983 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1984 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1985 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1986 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1987 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1995 test -z "$as_dir" && as_dir=.
1996 $as_echo "PATH: $as_dir"
2012 # Keep a trace of the command line.
2013 # Strip out --no-create and --no-recursion so they do not pile up.
2014 # Strip out --silent because we don't want to record it for future runs.
2015 # Also quote any args containing shell meta-characters.
2016 # Make two passes to allow for proper duplicate-argument suppression.
2020 ac_must_keep_next=false
2026 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2028 | -silent | --silent | --silen | --sile | --sil)
2031 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2034 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2036 as_fn_append ac_configure_args1 " '$ac_arg'"
2037 if test $ac_must_keep_next = true; then
2038 ac_must_keep_next=false # Got value, back to normal.
2041 *=* | --config-cache | -C | -disable-* | --disable-* \
2042 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2043 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2044 | -with-* | --with-* | -without-* | --without-* | --x)
2045 case "$ac_configure_args0 " in
2046 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2049 -* ) ac_must_keep_next=true ;;
2052 as_fn_append ac_configure_args " '$ac_arg'"
2057 { ac_configure_args0=; unset ac_configure_args0;}
2058 { ac_configure_args1=; unset ac_configure_args1;}
2060 # When interrupted or exit'd, cleanup temporary files, and complete
2061 # config.log. We remove comments because anyway the quotes in there
2062 # would cause problems or look ugly.
2063 # WARNING: Use '\'' to represent an apostrophe within the trap.
2064 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2065 trap 'exit_status=$?
2066 # Save into config.log some information that might help in debugging.
2070 $as_echo "## ---------------- ##
2071 ## Cache variables. ##
2072 ## ---------------- ##"
2074 # The following way of writing the cache mishandles newlines in values,
2076 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2077 eval ac_val=\$$ac_var
2081 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2082 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2085 _ | IFS | as_nl) ;; #(
2086 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2087 *) { eval $ac_var=; unset $ac_var;} ;;
2092 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2093 *${as_nl}ac_space=\ *)
2095 "s/'\''/'\''\\\\'\'''\''/g;
2096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2099 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2106 $as_echo "## ----------------- ##
2107 ## Output variables. ##
2108 ## ----------------- ##"
2110 for ac_var in $ac_subst_vars
2112 eval ac_val=\$$ac_var
2114 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2116 $as_echo "$ac_var='\''$ac_val'\''"
2120 if test -n "$ac_subst_files"; then
2121 $as_echo "## ------------------- ##
2122 ## File substitutions. ##
2123 ## ------------------- ##"
2125 for ac_var in $ac_subst_files
2127 eval ac_val=\$$ac_var
2129 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2131 $as_echo "$ac_var='\''$ac_val'\''"
2136 if test -s confdefs.h; then
2137 $as_echo "## ----------- ##
2144 test "$ac_signal" != 0 &&
2145 $as_echo "$as_me: caught signal $ac_signal"
2146 $as_echo "$as_me: exit $exit_status"
2148 rm -f core *.core core.conftest.* &&
2149 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2152 for ac_signal in 1 2 13 15; do
2153 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2157 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2158 rm -f -r conftest* confdefs.h
2160 $as_echo "/* confdefs.h */" > confdefs.h
2162 # Predefined preprocessor variables.
2164 cat >>confdefs.h <<_ACEOF
2165 #define PACKAGE_NAME "$PACKAGE_NAME"
2168 cat >>confdefs.h <<_ACEOF
2169 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2172 cat >>confdefs.h <<_ACEOF
2173 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2176 cat >>confdefs.h <<_ACEOF
2177 #define PACKAGE_STRING "$PACKAGE_STRING"
2180 cat >>confdefs.h <<_ACEOF
2181 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2184 cat >>confdefs.h <<_ACEOF
2185 #define PACKAGE_URL "$PACKAGE_URL"
2189 # Let the site file select an alternate cache file if it wants to.
2190 # Prefer an explicitly selected file to automatically selected ones.
2193 if test -n "$CONFIG_SITE"; then
2194 # We do not want a PATH search for config.site.
2195 case $CONFIG_SITE in #((
2196 -*) ac_site_file1=./$CONFIG_SITE;;
2197 */*) ac_site_file1=$CONFIG_SITE;;
2198 *) ac_site_file1=./$CONFIG_SITE;;
2200 elif test "x$prefix" != xNONE; then
2201 ac_site_file1=$prefix/share/config.site
2202 ac_site_file2=$prefix/etc/config.site
2204 ac_site_file1=$ac_default_prefix/share/config.site
2205 ac_site_file2=$ac_default_prefix/etc/config.site
2207 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2209 test "x$ac_site_file" = xNONE && continue
2210 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2212 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2213 sed 's/^/| /' "$ac_site_file" >&5
2215 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2217 as_fn_error $? "failed to load site
script $ac_site_file
2218 See \
`config.log' for more details" "$LINENO" 5; }
2222 if test -r "$cache_file"; then
2223 # Some versions of bash will fail to source /dev/null (special files
2224 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2225 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2227 $as_echo "$as_me: loading cache $cache_file" >&6;}
2229 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2230 *) . "./$cache_file";;
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2235 $as_echo "$as_me: creating cache $cache_file" >&6;}
2239 as_fn_append ac_header_list " stdlib.h"
2240 as_fn_append ac_header_list " unistd.h"
2241 as_fn_append ac_header_list " sys/param.h"
2242 # Check that the precious variables saved in the cache have kept the same
2244 ac_cache_corrupted=false
2245 for ac_var in $ac_precious_vars; do
2246 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2247 eval ac_new_set=\$ac_env_${ac_var}_set
2248 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2249 eval ac_new_val=\$ac_env_${ac_var}_value
2250 case $ac_old_set,$ac_new_set in
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2253 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2254 ac_cache_corrupted=: ;;
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2257 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2258 ac_cache_corrupted=: ;;
2261 if test "x$ac_old_val" != "x$ac_new_val"; then
2262 # differences in whitespace do not lead to failure.
2263 ac_old_val_w=`echo x
$ac_old_val`
2264 ac_new_val_w=`echo x
$ac_new_val`
2265 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2267 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2268 ac_cache_corrupted=:
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2271 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2272 eval $ac_var=\$ac_old_val
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2275 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2277 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2280 # Pass precious variables to config.status.
2281 if test "$ac_new_set" = set; then
2283 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2284 *) ac_arg=$ac_var=$ac_new_val ;;
2286 case " $ac_configure_args " in
2287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2288 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2292 if $ac_cache_corrupted; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2296 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2297 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2299 ## -------------------- ##
2300 ## Main body of script. ##
2301 ## -------------------- ##
2304 ac_cpp='$CPP $CPPFLAGS'
2305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2311 ac_config_headers="$ac_config_headers src/config.h"
2315 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2316 if test -f "$ac_dir/install-sh"; then
2318 ac_install_sh="$ac_aux_dir/install-sh -c"
2320 elif test -f "$ac_dir/install.sh"; then
2322 ac_install_sh="$ac_aux_dir/install.sh -c"
2324 elif test -f "$ac_dir/shtool"; then
2326 ac_install_sh="$ac_aux_dir/shtool install -c"
2330 if test -z "$ac_aux_dir"; then
2331 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2334 # These three variables are undocumented and unsupported,
2335 # and are intended to be withdrawn in a future Autoconf release.
2336 # They can cause serious problems if a builder's source tree is in a directory
2337 # whose full name contains unusual characters.
2338 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2339 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2340 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2343 # Make sure we can run config.sub.
2344 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2345 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2348 $as_echo_n "checking build system type... " >&6; }
2349 if ${ac_cv_build+:} false; then :
2350 $as_echo_n "(cached) " >&6
2352 ac_build_alias=$build_alias
2353 test "x$ac_build_alias" = x &&
2354 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2355 test "x$ac_build_alias" = x &&
2356 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2357 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2358 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2362 $as_echo "$ac_cv_build" >&6; }
2363 case $ac_cv_build in
2365 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2368 ac_save_IFS=$IFS; IFS='-'
2374 # Remember, the first character of IFS is used to create $*,
2375 # except with old shells:
2378 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2382 $as_echo_n "checking host system type... " >&6; }
2383 if ${ac_cv_host+:} false; then :
2384 $as_echo_n "(cached) " >&6
2386 if test "x$host_alias" = x; then
2387 ac_cv_host=$ac_cv_build
2389 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2390 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2395 $as_echo "$ac_cv_host" >&6; }
2398 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2401 ac_save_IFS=$IFS; IFS='-'
2407 # Remember, the first character of IFS is used to create $*,
2408 # except with old shells:
2411 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2415 $as_echo_n "checking target system type... " >&6; }
2416 if ${ac_cv_target+:} false; then :
2417 $as_echo_n "(cached) " >&6
2419 if test "x$target_alias" = x; then
2420 ac_cv_target=$ac_cv_host
2422 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2423 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2428 $as_echo "$ac_cv_target" >&6; }
2429 case $ac_cv_target in
2431 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2433 target=$ac_cv_target
2434 ac_save_IFS=$IFS; IFS='-'
2440 # Remember, the first character of IFS is used to create $*,
2441 # except with old shells:
2444 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2447 # The aliases save the names the user supplied, while $host etc.
2448 # will get canonicalized.
2449 test -n "$target_alias" &&
2450 test "$program_prefix$program_suffix$program_transform_name" = \
2452 program_prefix=${target_alias}-
2453 am__api_version='1.11'
2455 # Find a good install program. We prefer a C program (faster),
2456 # so one script is as good as another. But avoid the broken or
2457 # incompatible versions:
2458 # SysV /etc/install, /usr/sbin/install
2459 # SunOS /usr/etc/install
2460 # IRIX /sbin/install
2462 # AmigaOS /C/install, which installs bootblocks on floppy discs
2463 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2464 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2465 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2466 # OS/2's system install, which has a completely different semantic
2467 # ./install, which can be erroneously created by make from ./install.sh.
2468 # Reject install programs that cannot install multiple files.
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2470 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2471 if test -z "$INSTALL"; then
2472 if ${ac_cv_path_install+:} false; then :
2473 $as_echo_n "(cached) " >&6
2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2479 test -z "$as_dir" && as_dir=.
2480 # Account for people who put trailing slashes in PATH elements.
2481 case $as_dir/ in #((
2482 ./ | .// | /[cC]/* | \
2483 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2484 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2487 # OSF1 and SCO ODT 3.0 have their own names for install.
2488 # Don't use installbsd from OSF since it installs stuff as root
2490 for ac_prog in ginstall scoinst install; do
2491 for ac_exec_ext in '' $ac_executable_extensions; do
2492 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2493 if test $ac_prog = install &&
2494 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2495 # AIX install. It has an incompatible calling convention.
2497 elif test $ac_prog = install &&
2498 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2499 # program-specific install script used by HP pwplus--don't use.
2502 rm -rf conftest.one conftest.two conftest.dir
2503 echo one > conftest.one
2504 echo two > conftest.two
2506 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2507 test -s conftest.one && test -s conftest.two &&
2508 test -s conftest.dir/conftest.one &&
2509 test -s conftest.dir/conftest.two
2511 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2524 rm -rf conftest.one conftest.two conftest.dir
2527 if test "${ac_cv_path_install+set}" = set; then
2528 INSTALL=$ac_cv_path_install
2530 # As a last resort, use the slow shell script. Don't cache a
2531 # value for INSTALL within a source directory, because that will
2532 # break other packages using the cache if that directory is
2533 # removed, or if the value is a relative name.
2534 INSTALL=$ac_install_sh
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2538 $as_echo "$INSTALL" >&6; }
2540 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2541 # It thinks the first close brace ends the variable substitution.
2542 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2544 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2546 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2549 $as_echo_n "checking whether build environment is sane... " >&6; }
2552 echo timestamp > conftest.file
2553 # Reject unsafe characters in $srcdir or the absolute working directory
2554 # name. Accept space and tab only in the latter.
2558 *[\\\"\#\$\&\'\`$am_lf]*)
2559 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2562 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2563 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2566 # Do `set' in a subshell so we don
't clobber the current shell's
2567 # arguments. Must try -L first in case configure is actually a
2568 # symlink; some systems play weird games with the mod time of symlinks
2569 # (eg FreeBSD returns the mod time of the symlink's containing
2572 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2573 if test "$*" = "X"; then
2575 set X
`ls -t "$srcdir/configure" conftest.file`
2578 if test "$*" != "X $srcdir/configure conftest.file" \
2579 && test "$*" != "X conftest.file $srcdir/configure"; then
2581 # If neither matched, then we have a broken ls. This can happen
2582 # if, for instance, CONFIG_SHELL is bash and it inherits a
2583 # broken ls alias from the environment. This has actually
2584 # happened. Such a system could not be considered "sane".
2585 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2586 alias in your environment" "$LINENO" 5
2589 test "$2" = conftest.
file
2595 as_fn_error $?
"newly created file is older than distributed files!
2596 Check your system clock" "$LINENO" 5
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2599 $as_echo "yes" >&6; }
2600 test "$program_prefix" != NONE
&&
2601 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2602 # Use a double $ so make ignores it.
2603 test "$program_suffix" != NONE
&&
2604 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2605 # Double any \ or $.
2606 # By default was `s,x,x', remove it if useless.
2607 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2608 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2610 # expand $ac_aux_dir to an absolute path
2611 am_aux_dir
=`cd $ac_aux_dir && pwd`
2613 if test x
"${MISSING+set}" != xset
; then
2616 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2618 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2621 # Use eval to expand $SHELL
2622 if eval "$MISSING --run true"; then
2623 am_missing_run
="$MISSING --run "
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2627 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2630 if test x
"${install_sh}" != xset
; then
2633 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2635 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2639 # Installed binaries are usually stripped using `strip' when the user
2640 # run `make install-strip'. However `strip' might not be the right
2641 # tool to use in cross-compilation environments, therefore Automake
2642 # will honor the `STRIP' environment variable to overrule this program.
2643 if test "$cross_compiling" != no
; then
2644 if test -n "$ac_tool_prefix"; then
2645 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2646 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648 $as_echo_n "checking for $ac_word... " >&6; }
2649 if ${ac_cv_prog_STRIP+:} false
; then :
2650 $as_echo_n "(cached) " >&6
2652 if test -n "$STRIP"; then
2653 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2659 test -z "$as_dir" && as_dir
=.
2660 for ac_exec_ext
in '' $ac_executable_extensions; do
2661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2662 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 STRIP
=$ac_cv_prog_STRIP
2673 if test -n "$STRIP"; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2675 $as_echo "$STRIP" >&6; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678 $as_echo "no" >&6; }
2683 if test -z "$ac_cv_prog_STRIP"; then
2685 # Extract the first word of "strip", so it can be a program name with args.
2686 set dummy strip
; ac_word
=$2
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2688 $as_echo_n "checking for $ac_word... " >&6; }
2689 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2690 $as_echo_n "(cached) " >&6
2692 if test -n "$ac_ct_STRIP"; then
2693 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir
=.
2700 for ac_exec_ext
in '' $ac_executable_extensions; do
2701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2702 ac_cv_prog_ac_ct_STRIP
="strip"
2703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2713 if test -n "$ac_ct_STRIP"; then
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2715 $as_echo "$ac_ct_STRIP" >&6; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718 $as_echo "no" >&6; }
2721 if test "x$ac_ct_STRIP" = x
; then
2724 case $cross_compiling:$ac_tool_warned in
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2728 ac_tool_warned
=yes ;;
2733 STRIP
="$ac_cv_prog_STRIP"
2737 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2740 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2741 if test -z "$MKDIR_P"; then
2742 if ${ac_cv_path_mkdir+:} false
; then :
2743 $as_echo_n "(cached) " >&6
2745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2749 test -z "$as_dir" && as_dir
=.
2750 for ac_prog
in mkdir gmkdir
; do
2751 for ac_exec_ext
in '' $ac_executable_extensions; do
2752 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2753 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2754 'mkdir (GNU coreutils) '* | \
2755 'mkdir (coreutils) '* | \
2756 'mkdir (fileutils) '4.1*)
2757 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2767 test -d .
/--version && rmdir .
/--version
2768 if test "${ac_cv_path_mkdir+set}" = set; then
2769 MKDIR_P
="$ac_cv_path_mkdir -p"
2771 # As a last resort, use the slow shell script. Don't cache a
2772 # value for MKDIR_P within a source directory, because that will
2773 # break other packages using the cache if that directory is
2774 # removed, or if the value is a relative name.
2775 MKDIR_P
="$ac_install_sh -d"
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2779 $as_echo "$MKDIR_P" >&6; }
2783 [\\/$
]* | ?
:[\\/]*) ;;
2784 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2787 for ac_prog
in gawk mawk nawk
awk
2789 # Extract the first word of "$ac_prog", so it can be a program name with args.
2790 set dummy
$ac_prog; ac_word
=$2
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2792 $as_echo_n "checking for $ac_word... " >&6; }
2793 if ${ac_cv_prog_AWK+:} false
; then :
2794 $as_echo_n "(cached) " >&6
2796 if test -n "$AWK"; then
2797 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2803 test -z "$as_dir" && as_dir
=.
2804 for ac_exec_ext
in '' $ac_executable_extensions; do
2805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2806 ac_cv_prog_AWK
="$ac_prog"
2807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2817 if test -n "$AWK"; then
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2819 $as_echo "$AWK" >&6; }
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822 $as_echo "no" >&6; }
2826 test -n "$AWK" && break
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2830 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2832 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2833 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2834 $as_echo_n "(cached) " >&6
2836 cat >conftest.
make <<\_ACEOF
2839 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2841 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2842 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2844 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2846 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2850 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2852 $as_echo "yes" >&6; }
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2856 $as_echo "no" >&6; }
2857 SET_MAKE
="MAKE=${MAKE-make}"
2860 rm -rf .tst
2>/dev
/null
2861 mkdir .tst
2>/dev
/null
2862 if test -d .tst
; then
2867 rmdir .tst
2>/dev
/null
2869 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2870 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2871 # is not polluted with repeated "-I."
2872 am__isrc
=' -I$(srcdir)'
2873 # test to see if srcdir already configured
2874 if test -f $srcdir/config.status
; then
2875 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2879 # test whether we have cygpath
2880 if test -z "$CYGPATH_W"; then
2881 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2882 CYGPATH_W
='cygpath -w'
2889 # Define the identity of the package.
2894 cat >>confdefs.h
<<_ACEOF
2895 #define PACKAGE "$PACKAGE"
2899 cat >>confdefs.h
<<_ACEOF
2900 #define VERSION "$VERSION"
2903 # Some tools Automake needs.
2905 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2908 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2911 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2914 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2917 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2919 # We need awk for the "check" target. The system "awk" is bad on
2921 # Always define AMTAR for backward compatibility. Yes, it's still used
2922 # in the wild :-( We should find a proper way to deprecate it ...
2925 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2933 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2934 # Check whether --enable-maintainer-mode was given.
2935 if test "${enable_maintainer_mode+set}" = set; then :
2936 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2938 USE_MAINTAINER_MODE
=no
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2942 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2943 if test $USE_MAINTAINER_MODE = yes; then
2944 MAINTAINER_MODE_TRUE
=
2945 MAINTAINER_MODE_FALSE
='#'
2947 MAINTAINER_MODE_TRUE
='#'
2948 MAINTAINER_MODE_FALSE
=
2951 MAINT
=$MAINTAINER_MODE_TRUE
2955 DEPDIR
="${am__leading_dot}deps"
2957 ac_config_commands
="$ac_config_commands depfiles"
2960 am_make
=${MAKE-make}
2961 cat > confinc
<< 'END'
2963 @echo this is the am__doit target
2966 # If we don't find an include directive, just comment out the code.
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2968 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2972 # First try GNU make style include.
2973 echo "include confinc" > confmf
2974 # Ignore all kinds of additional output from `make'.
2975 case `$am_make -s -f confmf 2> /dev/null` in #(
2976 *the\ am__doit\ target
*)
2982 # Now try BSD make style include.
2983 if test "$am__include" = "#"; then
2984 echo '.include "confinc"' > confmf
2985 case `$am_make -s -f confmf 2> /dev/null` in #(
2986 *the\ am__doit\ target
*)
2987 am__include
=.include
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2996 $as_echo "$_am_result" >&6; }
2997 rm -f confinc confmf
2999 # Check whether --enable-dependency-tracking was given.
3000 if test "${enable_dependency_tracking+set}" = set; then :
3001 enableval
=$enable_dependency_tracking;
3004 if test "x$enable_dependency_tracking" != xno
; then
3005 am_depcomp
="$ac_aux_dir/depcomp"
3009 if test "x$enable_dependency_tracking" != xno; then
3019 ac_cpp
='$CPP $CPPFLAGS'
3020 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3023 if test -n "$ac_tool_prefix"; then
3024 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3025 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if ${ac_cv_prog_CC+:} false
; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -n "$CC"; then
3032 ac_cv_prog_CC
="$CC" # Let the user override the test.
3034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir
=.
3039 for ac_exec_ext
in '' $ac_executable_extensions; do
3040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3041 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 if test -n "$CC"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3054 $as_echo "$CC" >&6; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3062 if test -z "$ac_cv_prog_CC"; then
3064 # Extract the first word of "gcc", so it can be a program name with args.
3065 set dummy gcc
; ac_word
=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3069 $as_echo_n "(cached) " >&6
3071 if test -n "$ac_ct_CC"; then
3072 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3078 test -z "$as_dir" && as_dir
=.
3079 for ac_exec_ext
in '' $ac_executable_extensions; do
3080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3081 ac_cv_prog_ac_ct_CC
="gcc"
3082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3092 if test -n "$ac_ct_CC"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3094 $as_echo "$ac_ct_CC" >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3100 if test "x$ac_ct_CC" = x
; then
3103 case $cross_compiling:$ac_tool_warned in
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3107 ac_tool_warned
=yes ;;
3115 if test -z "$CC"; then
3116 if test -n "$ac_tool_prefix"; then
3117 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3118 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120 $as_echo_n "checking for $ac_word... " >&6; }
3121 if ${ac_cv_prog_CC+:} false
; then :
3122 $as_echo_n "(cached) " >&6
3124 if test -n "$CC"; then
3125 ac_cv_prog_CC
="$CC" # Let the user override the test.
3127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir
=.
3132 for ac_exec_ext
in '' $ac_executable_extensions; do
3133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3134 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 if test -n "$CC"; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3147 $as_echo "$CC" >&6; }
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3150 $as_echo "no" >&6; }
3156 if test -z "$CC"; then
3157 # Extract the first word of "cc", so it can be a program name with args.
3158 set dummy cc
; ac_word
=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if ${ac_cv_prog_CC+:} false
; then :
3162 $as_echo_n "(cached) " >&6
3164 if test -n "$CC"; then
3165 ac_cv_prog_CC
="$CC" # Let the user override the test.
3168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir
=.
3173 for ac_exec_ext
in '' $ac_executable_extensions; do
3174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3176 ac_prog_rejected
=yes
3180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 if test $ac_prog_rejected = yes; then
3188 # We found a bogon in the path, so make sure we never use it.
3189 set dummy
$ac_cv_prog_CC
3191 if test $# != 0; then
3192 # We chose a different compiler from the bogus one.
3193 # However, it has the same basename, so the bogon will be chosen
3194 # first if we set CC to just the basename; use the full file name.
3196 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3202 if test -n "$CC"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3204 $as_echo "$CC" >&6; }
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3212 if test -z "$CC"; then
3213 if test -n "$ac_tool_prefix"; then
3214 for ac_prog
in cl.exe
3216 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3217 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_CC+:} false
; then :
3221 $as_echo_n "(cached) " >&6
3223 if test -n "$CC"; then
3224 ac_cv_prog_CC
="$CC" # Let the user override the test.
3226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir
=.
3231 for ac_exec_ext
in '' $ac_executable_extensions; do
3232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3244 if test -n "$CC"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3246 $as_echo "$CC" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3253 test -n "$CC" && break
3256 if test -z "$CC"; then
3258 for ac_prog
in cl.exe
3260 # Extract the first word of "$ac_prog", so it can be a program name with args.
3261 set dummy
$ac_prog; ac_word
=$2
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263 $as_echo_n "checking for $ac_word... " >&6; }
3264 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3265 $as_echo_n "(cached) " >&6
3267 if test -n "$ac_ct_CC"; then
3268 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3274 test -z "$as_dir" && as_dir
=.
3275 for ac_exec_ext
in '' $ac_executable_extensions; do
3276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3277 ac_cv_prog_ac_ct_CC
="$ac_prog"
3278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3288 if test -n "$ac_ct_CC"; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3290 $as_echo "$ac_ct_CC" >&6; }
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3297 test -n "$ac_ct_CC" && break
3300 if test "x$ac_ct_CC" = x
; then
3303 case $cross_compiling:$ac_tool_warned in
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3307 ac_tool_warned
=yes ;;
3316 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3318 as_fn_error $?
"no acceptable C compiler found in \$PATH
3319 See \`config.log' for more details" "$LINENO" 5; }
3321 # Provide some information about the compiler.
3322 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3325 for ac_option
in --version -v -V -qversion; do
3326 { { ac_try
="$ac_compiler $ac_option >&5"
3328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3335 if test -s conftest.err; then
3337 ... rest of stderr output deleted ...
3338 10q' conftest.err >conftest.er1
3339 cat conftest.er1 >&5
3341 rm -f conftest.er1 conftest.err
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3357 ac_clean_files_save=$ac_clean_files
3358 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3359 # Try to create an executable without -o first, disregard a.out.
3360 # It will help us diagnose broken compilers, and finding out an intuition
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3363 $as_echo_n "checking whether the C compiler works... " >&6; }
3364 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3366 # The possible output files:
3367 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3370 for ac_file in $ac_files
3373 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3374 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3379 if { { ac_try="$ac_link_default"
3381 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3382 *) ac_try_echo
=$ac_try;;
3384 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3385 $as_echo "$ac_try_echo"; } >&5
3386 (eval "$ac_link_default") 2>&5
3388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389 test $ac_status = 0; }; then :
3390 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3391 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3392 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3393 # so that the user can short-circuit this test for compilers unknown to
3395 for ac_file
in $ac_files ''
3397 test -f "$ac_file" || continue
3399 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3402 # We found the default executable, but exeext='' is most
3406 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3408 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3410 # We set ac_cv_exeext here because the later test for it is not
3411 # safe: cross compilers may not add the suffix if given an `-o'
3412 # argument, so we may need to know it at that point already.
3413 # Even if this section looks crufty: it has the advantage of
3420 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3425 if test -z "$ac_file"; then :
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 $as_echo "$as_me: failed program was:" >&5
3429 sed 's/^/| /' conftest.
$ac_ext >&5
3431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433 as_fn_error
77 "C compiler cannot create executables
3434 See \`config.log' for more details" "$LINENO" 5; }
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3437 $as_echo "yes" >&6; }
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3440 $as_echo_n "checking for C compiler default output file name... " >&6; }
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3442 $as_echo "$ac_file" >&6; }
3443 ac_exeext
=$ac_cv_exeext
3445 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3446 ac_clean_files
=$ac_clean_files_save
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3448 $as_echo_n "checking for suffix of executables... " >&6; }
3449 if { { ac_try
="$ac_link"
3451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3452 *) ac_try_echo=$ac_try;;
3454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3455 $as_echo "$ac_try_echo"; } >&5
3456 (eval "$ac_link") 2>&5
3458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3459 test $ac_status = 0; }; then :
3460 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3461 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3462 # work properly (i.e., refer to `conftest.exe'), while it won't with
3464 for ac_file
in conftest.exe conftest conftest.
*; do
3465 test -f "$ac_file" || continue
3467 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3468 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3477 See \`config.log' for more details" "$LINENO" 5; }
3479 rm -f conftest conftest
$ac_cv_exeext
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3481 $as_echo "$ac_cv_exeext" >&6; }
3483 rm -f conftest.
$ac_ext
3484 EXEEXT
=$ac_cv_exeext
3486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3487 /* end confdefs.h. */
3492 FILE *f = fopen ("conftest.out", "w");
3493 return ferror (f) || fclose (f) != 0;
3499 ac_clean_files
="$ac_clean_files conftest.out"
3500 # Check that the compiler produces executables we can run. If not, either
3501 # the compiler is broken, or we cross compile.
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3503 $as_echo_n "checking whether we are cross compiling... " >&6; }
3504 if test "$cross_compiling" != yes; then
3505 { { ac_try
="$ac_link"
3507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3508 *) ac_try_echo=$ac_try;;
3510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3511 $as_echo "$ac_try_echo"; } >&5
3512 (eval "$ac_link") 2>&5
3514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3515 test $ac_status = 0; }
3516 if { ac_try='./conftest$ac_cv_exeext'
3517 { { case "(($ac_try" in
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_try") 2>&5
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; }; then
3529 if test "$cross_compiling" = maybe
; then
3532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534 as_fn_error $?
"cannot run C compiled programs.
3535 If you meant to cross compile, use \`--host'.
3536 See \`config.log' for more details" "$LINENO" 5; }
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3541 $as_echo "$cross_compiling" >&6; }
3543 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3544 ac_clean_files
=$ac_clean_files_save
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3546 $as_echo_n "checking for suffix of object files... " >&6; }
3547 if ${ac_cv_objext+:} false
; then :
3548 $as_echo_n "(cached) " >&6
3550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3561 rm -f conftest.o conftest.obj
3562 if { { ac_try
="$ac_compile"
3564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3565 *) ac_try_echo=$ac_try;;
3567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3568 $as_echo "$ac_try_echo"; } >&5
3569 (eval "$ac_compile") 2>&5
3571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3572 test $ac_status = 0; }; then :
3573 for ac_file in conftest.o conftest.obj conftest.*; do
3574 test -f "$ac_file" || continue;
3576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3577 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3582 $as_echo "$as_me: failed program was:" >&5
3583 sed 's/^/| /' conftest.$ac_ext >&5
3585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3588 See \
`config.log' for more details" "$LINENO" 5; }
3590 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3593 $as_echo "$ac_cv_objext" >&6; }
3594 OBJEXT=$ac_cv_objext
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3597 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3598 if ${ac_cv_c_compiler_gnu+:} false; then :
3599 $as_echo_n "(cached) " >&6
3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602 /* end confdefs.h. */
3615 if ac_fn_c_try_compile "$LINENO"; then :
3620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3621 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3625 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3626 if test $ac_compiler_gnu = yes; then
3631 ac_test_CFLAGS=${CFLAGS+set}
3632 ac_save_CFLAGS=$CFLAGS
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3634 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3635 if ${ac_cv_prog_cc_g+:} false; then :
3636 $as_echo_n "(cached) " >&6
3638 ac_save_c_werror_flag=$ac_c_werror_flag
3639 ac_c_werror_flag=yes
3642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3653 if ac_fn_c_try_compile "$LINENO"; then :
3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3668 if ac_fn_c_try_compile "$LINENO"; then :
3671 ac_c_werror_flag=$ac_save_c_werror_flag
3673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3674 /* end confdefs.h. */
3684 if ac_fn_c_try_compile "$LINENO"; then :
3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692 ac_c_werror_flag=$ac_save_c_werror_flag
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3695 $as_echo "$ac_cv_prog_cc_g" >&6; }
3696 if test "$ac_test_CFLAGS" = set; then
3697 CFLAGS=$ac_save_CFLAGS
3698 elif test $ac_cv_prog_cc_g = yes; then
3699 if test "$GCC" = yes; then
3705 if test "$GCC" = yes; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3712 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3713 if ${ac_cv_prog_cc_c89+:} false; then :
3714 $as_echo_n "(cached) " >&6
3716 ac_cv_prog_cc_c89=no
3718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3722 #include <sys/types.h>
3723 #include <sys/stat.h>
3724 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3725 struct buf { int x; };
3726 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3727 static char *e (p, i)
3733 static char *f (char * (*g) (char **, int), char **p, ...)
3738 s = g (p, va_arg (v,int));
3743 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3744 function prototypes and stuff, but not '\xHH' hex character constants.
3745 These don't provoke an error unfortunately, instead are silently treated
3746 as 'x'. The following induces an error, until -std is added to get
3747 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3748 array size at least. It's necessary to write '\x00'==0 to get something
3749 that's true only with -std. */
3750 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3752 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3753 inside strings and character constants. */
3755 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3757 int test (int i, double x);
3758 struct s1 {int (*f) (int a);};
3759 struct s2 {int (*f) (double a);};
3760 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3766 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3771 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3772 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3774 CC="$ac_save_CC $ac_arg"
3775 if ac_fn_c_try_compile "$LINENO"; then :
3776 ac_cv_prog_cc_c89=$ac_arg
3778 rm -f core conftest.err conftest.$ac_objext
3779 test "x$ac_cv_prog_cc_c89" != "xno" && break
3781 rm -f conftest.$ac_ext
3786 case "x$ac_cv_prog_cc_c89" in
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3789 $as_echo "none needed" >&6; } ;;
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3792 $as_echo "unsupported" >&6; } ;;
3794 CC="$CC $ac_cv_prog_cc_c89"
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3796 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3798 if test "x$ac_cv_prog_cc_c89" != xno; then :
3803 ac_cpp='$CPP $CPPFLAGS'
3804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3808 depcc="$CC" am_compiler_list=
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3811 $as_echo_n "checking dependency style of $depcc... " >&6; }
3812 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3813 $as_echo_n "(cached) " >&6
3815 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3816 # We make a subdir and do the tests there. Otherwise we can end up
3817 # making bogus files that we don't know about and never remove. For
3818 # instance it was reported that on HP-UX the gcc test will end up
3819 # making a dummy file named `D
' -- because `-MD' means
`put the output
3823 # Copy depcomp to subdir because otherwise we won't find it if we're
3824 # using a relative directory.
3825 cp "$am_depcomp" conftest.dir
3827 # We will build objects and dependencies in a subdirectory because
3828 # it helps to detect inapplicable dependency modes. For instance
3829 # both Tru64's cc and ICC support -MD to output dependencies as a
3830 # side effect of compilation, but ICC will put the dependencies in
3831 # the current directory while Tru64 will put them in the object
3835 am_cv_CC_dependencies_compiler_type=none
3836 if test "$am_compiler_list" = ""; then
3837 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3840 case " $depcc " in #(
3841 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3844 for depmode in $am_compiler_list; do
3845 # Setup a source with many dependencies, because some compilers
3846 # like to wrap large dependency lists on column 80 (with \), and
3847 # we should not choose a depcomp mode which is confused by this.
3849 # We need to recreate these files for each test, as the compiler may
3850 # overwrite some of them when testing with obscure command lines.
3851 # This happens at least with the AIX C compiler.
3853 for i in 1 2 3 4 5 6; do
3854 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3855 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3856 # Solaris 8's
{/usr
,}/bin
/sh.
3857 touch sub
/conftst
$i.h
3859 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3861 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3862 # mode. It turns out that the SunPro C++ compiler does not properly
3863 # handle `-M -o', and we need to detect this. Also, some Intel
3864 # versions had trouble with output in subdirs
3865 am__obj
=sub
/conftest.
${OBJEXT-o}
3866 am__minus_obj
="-o $am__obj"
3869 # This depmode causes a compiler race in universal mode.
3870 test "$am__universal" = false
|| continue
3873 # after this tag, mechanisms are not by side-effect, so they'll
3874 # only be used when explicitly requested
3875 if test "x$enable_dependency_tracking" = xyes
; then
3881 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
3882 # This compiler won't grok `-c -o', but also, the minuso test has
3883 # not run yet. These depmodes are late enough in the game, and
3884 # so weak that their functioning should not be impacted.
3885 am__obj
=conftest.
${OBJEXT-o}
3890 if depmode
=$depmode \
3891 source=sub
/conftest.c object
=$am__obj \
3892 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3893 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3894 >/dev
/null
2>conftest.err
&&
3895 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3896 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3897 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3898 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3899 # icc doesn't choke on unknown options, it will just issue warnings
3900 # or remarks (even with -Werror). So we grep stderr for any message
3901 # that says an option was ignored or not supported.
3902 # When given -MP, icc 7.0 and 7.1 complain thusly:
3903 # icc: Command line warning: ignoring option '-M'; no argument required
3904 # The diagnosis changed in icc 8.0:
3905 # icc: Command line remark: option '-MP' not supported
3906 if (grep 'ignoring option' conftest.err
||
3907 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3908 am_cv_CC_dependencies_compiler_type
=$depmode
3917 am_cv_CC_dependencies_compiler_type
=none
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3922 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3923 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3926 test "x$enable_dependency_tracking" != xno \
3927 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3929 am__fastdepCC_FALSE
='#'
3931 am__fastdepCC_TRUE
='#'
3932 am__fastdepCC_FALSE
=
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
3938 $as_echo_n "checking return type of signal handlers... " >&6; }
3939 if ${ac_cv_type_signal+:} false
; then :
3940 $as_echo_n "(cached) " >&6
3942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3944 #include <sys/types.h>
3950 return *(signal (0, 0)) (0) == 1;
3955 if ac_fn_c_try_compile
"$LINENO"; then :
3956 ac_cv_type_signal
=int
3958 ac_cv_type_signal
=void
3960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
3963 $as_echo "$ac_cv_type_signal" >&6; }
3965 cat >>confdefs.h
<<_ACEOF
3966 #define RETSIGTYPE $ac_cv_type_signal
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3971 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3972 if ${ac_cv_c_const+:} false
; then :
3973 $as_echo_n "(cached) " >&6
3975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3981 /* FIXME: Include the comments suggested by Paul. */
3983 /* Ultrix mips cc rejects this. */
3984 typedef int charset[2];
3986 /* SunOS 4.1.1 cc rejects this. */
3987 char const *const *pcpcc;
3989 /* NEC SVR4.0.2 mips cc rejects this. */
3990 struct point {int x, y;};
3991 static struct point const zero = {0,0};
3992 /* AIX XL C 1.02.0.0 rejects this.
3993 It does not let you subtract one const X* pointer from another in
3994 an arm of an if-expression whose if-part is not a constant
3996 const char *g = "string";
3997 pcpcc = &g + (g ? g-g : 0);
3998 /* HPUX 7.0 cc rejects these. */
4000 ppc = (char**) pcpcc;
4001 pcpcc = (char const *const *) ppc;
4002 { /* SCO 3.2v4 cc rejects this. */
4004 char const *s = 0 ? (char *) 0 : (char const *) 0;
4009 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4011 const int *foo = &x[0];
4014 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4015 typedef const int *iptr;
4019 { /* AIX XL C 1.02.0.0 rejects this saying
4020 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4021 struct s { int j; const int *ap[3]; };
4022 struct s *b; b->j = 5;
4024 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4028 return !cs[0] && !zero.x;
4035 if ac_fn_c_try_compile
"$LINENO"; then :
4040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4043 $as_echo "$ac_cv_c_const" >&6; }
4044 if test $ac_cv_c_const = no
; then
4046 $as_echo "#define const /**/" >>confdefs.h
4051 for ac_prog
in gawk mawk nawk
awk
4053 # Extract the first word of "$ac_prog", so it can be a program name with args.
4054 set dummy
$ac_prog; ac_word
=$2
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4056 $as_echo_n "checking for $ac_word... " >&6; }
4057 if ${ac_cv_prog_AWK+:} false
; then :
4058 $as_echo_n "(cached) " >&6
4060 if test -n "$AWK"; then
4061 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4067 test -z "$as_dir" && as_dir
=.
4068 for ac_exec_ext
in '' $ac_executable_extensions; do
4069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4070 ac_cv_prog_AWK
="$ac_prog"
4071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4081 if test -n "$AWK"; then
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4083 $as_echo "$AWK" >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4086 $as_echo "no" >&6; }
4090 test -n "$AWK" && break
4094 ac_cpp
='$CPP $CPPFLAGS'
4095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4098 if test -n "$ac_tool_prefix"; then
4099 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4100 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4102 $as_echo_n "checking for $ac_word... " >&6; }
4103 if ${ac_cv_prog_CC+:} false
; then :
4104 $as_echo_n "(cached) " >&6
4106 if test -n "$CC"; then
4107 ac_cv_prog_CC
="$CC" # Let the user override the test.
4109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir
=.
4114 for ac_exec_ext
in '' $ac_executable_extensions; do
4115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4116 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4127 if test -n "$CC"; then
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4129 $as_echo "$CC" >&6; }
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4132 $as_echo "no" >&6; }
4137 if test -z "$ac_cv_prog_CC"; then
4139 # Extract the first word of "gcc", so it can be a program name with args.
4140 set dummy gcc
; ac_word
=$2
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142 $as_echo_n "checking for $ac_word... " >&6; }
4143 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4144 $as_echo_n "(cached) " >&6
4146 if test -n "$ac_ct_CC"; then
4147 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4153 test -z "$as_dir" && as_dir
=.
4154 for ac_exec_ext
in '' $ac_executable_extensions; do
4155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4156 ac_cv_prog_ac_ct_CC
="gcc"
4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4166 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4167 if test -n "$ac_ct_CC"; then
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4169 $as_echo "$ac_ct_CC" >&6; }
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4175 if test "x$ac_ct_CC" = x
; then
4178 case $cross_compiling:$ac_tool_warned in
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4182 ac_tool_warned
=yes ;;
4190 if test -z "$CC"; then
4191 if test -n "$ac_tool_prefix"; then
4192 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4193 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4195 $as_echo_n "checking for $ac_word... " >&6; }
4196 if ${ac_cv_prog_CC+:} false
; then :
4197 $as_echo_n "(cached) " >&6
4199 if test -n "$CC"; then
4200 ac_cv_prog_CC
="$CC" # Let the user override the test.
4202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4206 test -z "$as_dir" && as_dir
=.
4207 for ac_exec_ext
in '' $ac_executable_extensions; do
4208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4209 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4220 if test -n "$CC"; then
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4222 $as_echo "$CC" >&6; }
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4225 $as_echo "no" >&6; }
4231 if test -z "$CC"; then
4232 # Extract the first word of "cc", so it can be a program name with args.
4233 set dummy cc
; ac_word
=$2
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4235 $as_echo_n "checking for $ac_word... " >&6; }
4236 if ${ac_cv_prog_CC+:} false
; then :
4237 $as_echo_n "(cached) " >&6
4239 if test -n "$CC"; then
4240 ac_cv_prog_CC
="$CC" # Let the user override the test.
4243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4247 test -z "$as_dir" && as_dir
=.
4248 for ac_exec_ext
in '' $ac_executable_extensions; do
4249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4250 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4251 ac_prog_rejected
=yes
4255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4262 if test $ac_prog_rejected = yes; then
4263 # We found a bogon in the path, so make sure we never use it.
4264 set dummy
$ac_cv_prog_CC
4266 if test $# != 0; then
4267 # We chose a different compiler from the bogus one.
4268 # However, it has the same basename, so the bogon will be chosen
4269 # first if we set CC to just the basename; use the full file name.
4271 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4277 if test -n "$CC"; then
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4279 $as_echo "$CC" >&6; }
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4282 $as_echo "no" >&6; }
4287 if test -z "$CC"; then
4288 if test -n "$ac_tool_prefix"; then
4289 for ac_prog
in cl.exe
4291 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4292 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4294 $as_echo_n "checking for $ac_word... " >&6; }
4295 if ${ac_cv_prog_CC+:} false
; then :
4296 $as_echo_n "(cached) " >&6
4298 if test -n "$CC"; then
4299 ac_cv_prog_CC
="$CC" # Let the user override the test.
4301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4305 test -z "$as_dir" && as_dir
=.
4306 for ac_exec_ext
in '' $ac_executable_extensions; do
4307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4308 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4319 if test -n "$CC"; then
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4321 $as_echo "$CC" >&6; }
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4324 $as_echo "no" >&6; }
4328 test -n "$CC" && break
4331 if test -z "$CC"; then
4333 for ac_prog
in cl.exe
4335 # Extract the first word of "$ac_prog", so it can be a program name with args.
4336 set dummy
$ac_prog; ac_word
=$2
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338 $as_echo_n "checking for $ac_word... " >&6; }
4339 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4340 $as_echo_n "(cached) " >&6
4342 if test -n "$ac_ct_CC"; then
4343 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4349 test -z "$as_dir" && as_dir
=.
4350 for ac_exec_ext
in '' $ac_executable_extensions; do
4351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4352 ac_cv_prog_ac_ct_CC
="$ac_prog"
4353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4363 if test -n "$ac_ct_CC"; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4365 $as_echo "$ac_ct_CC" >&6; }
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4372 test -n "$ac_ct_CC" && break
4375 if test "x$ac_ct_CC" = x
; then
4378 case $cross_compiling:$ac_tool_warned in
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4382 ac_tool_warned
=yes ;;
4391 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4393 as_fn_error $?
"no acceptable C compiler found in \$PATH
4394 See \`config.log' for more details" "$LINENO" 5; }
4396 # Provide some information about the compiler.
4397 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4400 for ac_option
in --version -v -V -qversion; do
4401 { { ac_try
="$ac_compiler $ac_option >&5"
4403 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4404 *) ac_try_echo=$ac_try;;
4406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4407 $as_echo "$ac_try_echo"; } >&5
4408 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4410 if test -s conftest.err; then
4412 ... rest of stderr output deleted ...
4413 10q' conftest.err >conftest.er1
4414 cat conftest.er1 >&5
4416 rm -f conftest.er1 conftest.err
4417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4418 test $ac_status = 0; }
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4422 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4423 if ${ac_cv_c_compiler_gnu+:} false; then :
4424 $as_echo_n "(cached) " >&6
4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4440 if ac_fn_c_try_compile "$LINENO"; then :
4445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4446 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4450 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4451 if test $ac_compiler_gnu = yes; then
4456 ac_test_CFLAGS=${CFLAGS+set}
4457 ac_save_CFLAGS=$CFLAGS
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4459 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4460 if ${ac_cv_prog_cc_g+:} false; then :
4461 $as_echo_n "(cached) " >&6
4463 ac_save_c_werror_flag=$ac_c_werror_flag
4464 ac_c_werror_flag=yes
4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4478 if ac_fn_c_try_compile "$LINENO"; then :
4482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4493 if ac_fn_c_try_compile "$LINENO"; then :
4496 ac_c_werror_flag=$ac_save_c_werror_flag
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4509 if ac_fn_c_try_compile "$LINENO"; then :
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4517 ac_c_werror_flag=$ac_save_c_werror_flag
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4520 $as_echo "$ac_cv_prog_cc_g" >&6; }
4521 if test "$ac_test_CFLAGS" = set; then
4522 CFLAGS=$ac_save_CFLAGS
4523 elif test $ac_cv_prog_cc_g = yes; then
4524 if test "$GCC" = yes; then
4530 if test "$GCC" = yes; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4537 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4538 if ${ac_cv_prog_cc_c89+:} false; then :
4539 $as_echo_n "(cached) " >&6
4541 ac_cv_prog_cc_c89=no
4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4547 #include <sys/types.h>
4548 #include <sys/stat.h>
4549 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4550 struct buf { int x; };
4551 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4552 static char *e (p, i)
4558 static char *f (char * (*g) (char **, int), char **p, ...)
4563 s = g (p, va_arg (v,int));
4568 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4569 function prototypes and stuff, but not '\xHH' hex character constants.
4570 These don't provoke an error unfortunately, instead are silently treated
4571 as 'x'. The following induces an error, until -std is added to get
4572 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4573 array size at least. It's necessary to write '\x00'==0 to get something
4574 that's true only with -std. */
4575 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4577 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4578 inside strings and character constants. */
4580 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4582 int test (int i, double x);
4583 struct s1 {int (*f) (int a);};
4584 struct s2 {int (*f) (double a);};
4585 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4591 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4596 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4597 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4599 CC="$ac_save_CC $ac_arg"
4600 if ac_fn_c_try_compile "$LINENO"; then :
4601 ac_cv_prog_cc_c89=$ac_arg
4603 rm -f core conftest.err conftest.$ac_objext
4604 test "x$ac_cv_prog_cc_c89" != "xno" && break
4606 rm -f conftest.$ac_ext
4611 case "x$ac_cv_prog_cc_c89" in
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4614 $as_echo "none needed" >&6; } ;;
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4617 $as_echo "unsupported" >&6; } ;;
4619 CC="$CC $ac_cv_prog_cc_c89"
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4621 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4623 if test "x$ac_cv_prog_cc_c89" != xno; then :
4628 ac_cpp='$CPP $CPPFLAGS'
4629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4633 depcc="$CC" am_compiler_list=
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4636 $as_echo_n "checking dependency style of $depcc... " >&6; }
4637 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4638 $as_echo_n "(cached) " >&6
4640 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4641 # We make a subdir and do the tests there. Otherwise we can end up
4642 # making bogus files that we don't know about and never remove. For
4643 # instance it was reported that on HP-UX the gcc test will end up
4644 # making a dummy file named `D
' -- because `-MD' means
`put the output
4648 # Copy depcomp to subdir because otherwise we won't find it if we're
4649 # using a relative directory.
4650 cp "$am_depcomp" conftest.dir
4652 # We will build objects and dependencies in a subdirectory because
4653 # it helps to detect inapplicable dependency modes. For instance
4654 # both Tru64's cc and ICC support -MD to output dependencies as a
4655 # side effect of compilation, but ICC will put the dependencies in
4656 # the current directory while Tru64 will put them in the object
4660 am_cv_CC_dependencies_compiler_type=none
4661 if test "$am_compiler_list" = ""; then
4662 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4665 case " $depcc " in #(
4666 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4669 for depmode in $am_compiler_list; do
4670 # Setup a source with many dependencies, because some compilers
4671 # like to wrap large dependency lists on column 80 (with \), and
4672 # we should not choose a depcomp mode which is confused by this.
4674 # We need to recreate these files for each test, as the compiler may
4675 # overwrite some of them when testing with obscure command lines.
4676 # This happens at least with the AIX C compiler.
4678 for i in 1 2 3 4 5 6; do
4679 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4680 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4681 # Solaris 8's
{/usr
,}/bin
/sh.
4682 touch sub
/conftst
$i.h
4684 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4686 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4687 # mode. It turns out that the SunPro C++ compiler does not properly
4688 # handle `-M -o', and we need to detect this. Also, some Intel
4689 # versions had trouble with output in subdirs
4690 am__obj
=sub
/conftest.
${OBJEXT-o}
4691 am__minus_obj
="-o $am__obj"
4694 # This depmode causes a compiler race in universal mode.
4695 test "$am__universal" = false
|| continue
4698 # after this tag, mechanisms are not by side-effect, so they'll
4699 # only be used when explicitly requested
4700 if test "x$enable_dependency_tracking" = xyes
; then
4706 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4707 # This compiler won't grok `-c -o', but also, the minuso test has
4708 # not run yet. These depmodes are late enough in the game, and
4709 # so weak that their functioning should not be impacted.
4710 am__obj
=conftest.
${OBJEXT-o}
4715 if depmode
=$depmode \
4716 source=sub
/conftest.c object
=$am__obj \
4717 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4718 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4719 >/dev
/null
2>conftest.err
&&
4720 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4721 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4722 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4723 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4724 # icc doesn't choke on unknown options, it will just issue warnings
4725 # or remarks (even with -Werror). So we grep stderr for any message
4726 # that says an option was ignored or not supported.
4727 # When given -MP, icc 7.0 and 7.1 complain thusly:
4728 # icc: Command line warning: ignoring option '-M'; no argument required
4729 # The diagnosis changed in icc 8.0:
4730 # icc: Command line remark: option '-MP' not supported
4731 if (grep 'ignoring option' conftest.err
||
4732 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4733 am_cv_CC_dependencies_compiler_type
=$depmode
4742 am_cv_CC_dependencies_compiler_type
=none
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4747 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4748 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4751 test "x$enable_dependency_tracking" != xno \
4752 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4754 am__fastdepCC_FALSE
='#'
4756 am__fastdepCC_TRUE
='#'
4757 am__fastdepCC_FALSE
=
4763 # Extract the first word of "cp", so it can be a program name with args.
4764 set dummy
cp; ac_word
=$2
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 $as_echo_n "checking for $ac_word... " >&6; }
4767 if ${ac_cv_path_CP+:} false
; then :
4768 $as_echo_n "(cached) " >&6
4772 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
4775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4779 test -z "$as_dir" && as_dir
=.
4780 for ac_exec_ext
in '' $ac_executable_extensions; do
4781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4782 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
4783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794 if test -n "$CP"; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4796 $as_echo "$CP" >&6; }
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4799 $as_echo "no" >&6; }
4804 if test -n "$ac_tool_prefix"; then
4805 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4806 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808 $as_echo_n "checking for $ac_word... " >&6; }
4809 if ${ac_cv_prog_RANLIB+:} false
; then :
4810 $as_echo_n "(cached) " >&6
4812 if test -n "$RANLIB"; then
4813 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4819 test -z "$as_dir" && as_dir
=.
4820 for ac_exec_ext
in '' $ac_executable_extensions; do
4821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4822 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4832 RANLIB
=$ac_cv_prog_RANLIB
4833 if test -n "$RANLIB"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4835 $as_echo "$RANLIB" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 $as_echo "no" >&6; }
4843 if test -z "$ac_cv_prog_RANLIB"; then
4844 ac_ct_RANLIB
=$RANLIB
4845 # Extract the first word of "ranlib", so it can be a program name with args.
4846 set dummy ranlib
; ac_word
=$2
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4848 $as_echo_n "checking for $ac_word... " >&6; }
4849 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4850 $as_echo_n "(cached) " >&6
4852 if test -n "$ac_ct_RANLIB"; then
4853 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4859 test -z "$as_dir" && as_dir
=.
4860 for ac_exec_ext
in '' $ac_executable_extensions; do
4861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4862 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4873 if test -n "$ac_ct_RANLIB"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4875 $as_echo "$ac_ct_RANLIB" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4881 if test "x$ac_ct_RANLIB" = x
; then
4884 case $cross_compiling:$ac_tool_warned in
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4888 ac_tool_warned
=yes ;;
4890 RANLIB
=$ac_ct_RANLIB
4893 RANLIB
="$ac_cv_prog_RANLIB"
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4898 $as_echo_n "checking whether ln -s works... " >&6; }
4900 if test "$LN_S" = "ln -s"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4902 $as_echo "yes" >&6; }
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4905 $as_echo "no, using $LN_S" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4909 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4911 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4912 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4913 $as_echo_n "(cached) " >&6
4915 cat >conftest.
make <<\_ACEOF
4918 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4920 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4921 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4923 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4925 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4929 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4931 $as_echo "yes" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4936 SET_MAKE
="MAKE=${MAKE-make}"
4940 ac_cpp
='$CPP $CPPFLAGS'
4941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4945 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4946 # On Suns, sometimes $CPP names a directory.
4947 if test -n "$CPP" && test -d "$CPP"; then
4950 if test -z "$CPP"; then
4951 if ${ac_cv_prog_CPP+:} false
; then :
4952 $as_echo_n "(cached) " >&6
4954 # Double quotes because CPP needs to be expanded
4955 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4958 for ac_c_preproc_warn_flag
in '' yes
4960 # Use a header file that comes with gcc, so configuring glibc
4961 # with a fresh cross-compiler works.
4962 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4963 # <limits.h> exists even on freestanding compilers.
4964 # On the NeXT, cc -E runs the code through the compiler's parser,
4965 # not just through cpp. "Syntax error" is here to catch this case.
4966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4969 # include <limits.h>
4971 # include <assert.h>
4975 if ac_fn_c_try_cpp
"$LINENO"; then :
4978 # Broken: fails on valid input.
4981 rm -f conftest.err conftest.i conftest.
$ac_ext
4983 # OK, works on sane cases. Now check whether nonexistent headers
4984 # can be detected and how.
4985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4987 #include <ac_nonexistent.h>
4989 if ac_fn_c_try_cpp
"$LINENO"; then :
4990 # Broken: success on invalid input.
4993 # Passes both tests.
4997 rm -f conftest.err conftest.i conftest.
$ac_ext
5000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5001 rm -f conftest.i conftest.err conftest.
$ac_ext
5002 if $ac_preproc_ok; then :
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5015 $as_echo "$CPP" >&6; }
5017 for ac_c_preproc_warn_flag
in '' yes
5019 # Use a header file that comes with gcc, so configuring glibc
5020 # with a fresh cross-compiler works.
5021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5022 # <limits.h> exists even on freestanding compilers.
5023 # On the NeXT, cc -E runs the code through the compiler's parser,
5024 # not just through cpp. "Syntax error" is here to catch this case.
5025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5028 # include <limits.h>
5030 # include <assert.h>
5034 if ac_fn_c_try_cpp
"$LINENO"; then :
5037 # Broken: fails on valid input.
5040 rm -f conftest.err conftest.i conftest.
$ac_ext
5042 # OK, works on sane cases. Now check whether nonexistent headers
5043 # can be detected and how.
5044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5046 #include <ac_nonexistent.h>
5048 if ac_fn_c_try_cpp
"$LINENO"; then :
5049 # Broken: success on invalid input.
5052 # Passes both tests.
5056 rm -f conftest.err conftest.i conftest.
$ac_ext
5059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5060 rm -f conftest.i conftest.err conftest.
$ac_ext
5061 if $ac_preproc_ok; then :
5064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5066 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5067 See \`config.log' for more details" "$LINENO" 5; }
5071 ac_cpp
='$CPP $CPPFLAGS'
5072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5078 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5079 if ${ac_cv_path_GREP+:} false
; then :
5080 $as_echo_n "(cached) " >&6
5082 if test -z "$GREP"; then
5083 ac_path_GREP_found
=false
5084 # Loop through the user's path and test for each of PROGNAME-LIST
5085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5086 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5089 test -z "$as_dir" && as_dir
=.
5090 for ac_prog
in grep ggrep
; do
5091 for ac_exec_ext
in '' $ac_executable_extensions; do
5092 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5093 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5094 # Check for GNU ac_path_GREP and select it if it is found.
5095 # Check for GNU $ac_path_GREP
5096 case `"$ac_path_GREP" --version 2>&1` in
5098 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5101 $as_echo_n 0123456789 >"conftest.in"
5104 cat "conftest.in" "conftest.in" >"conftest.tmp"
5105 mv "conftest.tmp" "conftest.in"
5106 cp "conftest.in" "conftest.nl"
5107 $as_echo 'GREP' >> "conftest.nl"
5108 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5109 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5110 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5111 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5112 # Best one so far, save it but keep looking for a better one
5113 ac_cv_path_GREP
="$ac_path_GREP"
5114 ac_path_GREP_max
=$ac_count
5116 # 10*(2^10) chars as input seems more than enough
5117 test $ac_count -gt 10 && break
5119 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5122 $ac_path_GREP_found && break 3
5127 if test -z "$ac_cv_path_GREP"; then
5128 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5131 ac_cv_path_GREP
=$GREP
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5136 $as_echo "$ac_cv_path_GREP" >&6; }
5137 GREP
="$ac_cv_path_GREP"
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5141 $as_echo_n "checking for egrep... " >&6; }
5142 if ${ac_cv_path_EGREP+:} false
; then :
5143 $as_echo_n "(cached) " >&6
5145 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
5146 then ac_cv_path_EGREP
="$GREP -E"
5148 if test -z "$EGREP"; then
5149 ac_path_EGREP_found
=false
5150 # Loop through the user's path and test for each of PROGNAME-LIST
5151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5152 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5155 test -z "$as_dir" && as_dir
=.
5156 for ac_prog
in egrep; do
5157 for ac_exec_ext
in '' $ac_executable_extensions; do
5158 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5159 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5160 # Check for GNU ac_path_EGREP and select it if it is found.
5161 # Check for GNU $ac_path_EGREP
5162 case `"$ac_path_EGREP" --version 2>&1` in
5164 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5167 $as_echo_n 0123456789 >"conftest.in"
5170 cat "conftest.in" "conftest.in" >"conftest.tmp"
5171 mv "conftest.tmp" "conftest.in"
5172 cp "conftest.in" "conftest.nl"
5173 $as_echo 'EGREP' >> "conftest.nl"
5174 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5175 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5176 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5177 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5178 # Best one so far, save it but keep looking for a better one
5179 ac_cv_path_EGREP
="$ac_path_EGREP"
5180 ac_path_EGREP_max
=$ac_count
5182 # 10*(2^10) chars as input seems more than enough
5183 test $ac_count -gt 10 && break
5185 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5188 $ac_path_EGREP_found && break 3
5193 if test -z "$ac_cv_path_EGREP"; then
5194 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5197 ac_cv_path_EGREP
=$EGREP
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5203 $as_echo "$ac_cv_path_EGREP" >&6; }
5204 EGREP
="$ac_cv_path_EGREP"
5207 if test $ac_cv_c_compiler_gnu = yes; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5209 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
5210 if ${ac_cv_prog_gcc_traditional+:} false
; then :
5211 $as_echo_n "(cached) " >&6
5213 ac_pattern
="Autoconf.*'x'"
5214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5215 /* end confdefs.h. */
5219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5220 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
5221 ac_cv_prog_gcc_traditional
=yes
5223 ac_cv_prog_gcc_traditional
=no
5228 if test $ac_cv_prog_gcc_traditional = no
; then
5229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5230 /* end confdefs.h. */
5234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5235 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
5236 ac_cv_prog_gcc_traditional
=yes
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5243 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5244 if test $ac_cv_prog_gcc_traditional = yes; then
5245 CC
="$CC -traditional"
5249 # Extract the first word of "gmake", so it can be a program name with args.
5250 set dummy gmake
; ac_word
=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if ${ac_cv_prog_MAKER+:} false
; then :
5254 $as_echo_n "(cached) " >&6
5256 if test -n "$MAKER"; then
5257 ac_cv_prog_MAKER
="$MAKER" # Let the user override the test.
5259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir
=.
5264 for ac_exec_ext
in '' $ac_executable_extensions; do
5265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5266 ac_cv_prog_MAKER
="gmake"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 test -z "$ac_cv_prog_MAKER" && ac_cv_prog_MAKER
="make"
5277 MAKER
=$ac_cv_prog_MAKER
5278 if test -n "$MAKER"; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKER" >&5
5280 $as_echo "$MAKER" >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5289 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
5292 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
5296 EXTRA_DEFINE
="-D__SOLARIS__"
5297 ANSI_SRC
="-fno-builtin"
5300 ANSI_SRC
="-fno-builtin"
5303 EXTRA_DEFINE
="-D_GNU_SOURCE"
5310 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
5313 $as_echo_n "checking for socket in -lsocket... " >&6; }
5314 if ${ac_cv_lib_socket_socket+:} false
; then :
5315 $as_echo_n "(cached) " >&6
5317 ac_check_lib_save_LIBS
=$LIBS
5318 LIBS
="-lsocket $LIBS"
5319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5322 /* Override any GCC internal prototype to avoid an error.
5323 Use char because int might match the return type of a GCC
5324 builtin and then its argument prototype would still apply. */
5337 if ac_fn_c_try_link
"$LINENO"; then :
5338 ac_cv_lib_socket_socket
=yes
5340 ac_cv_lib_socket_socket
=no
5342 rm -f core conftest.err conftest.
$ac_objext \
5343 conftest
$ac_exeext conftest.
$ac_ext
5344 LIBS
=$ac_check_lib_save_LIBS
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
5347 $as_echo "$ac_cv_lib_socket_socket" >&6; }
5348 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
5349 cat >>confdefs.h
<<_ACEOF
5350 #define HAVE_LIBSOCKET 1
5353 LIBS
="-lsocket $LIBS"
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5358 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5359 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
5360 $as_echo_n "(cached) " >&6
5362 ac_check_lib_save_LIBS
=$LIBS
5364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5367 /* Override any GCC internal prototype to avoid an error.
5368 Use char because int might match the return type of a GCC
5369 builtin and then its argument prototype would still apply. */
5373 char gethostbyname ();
5377 return gethostbyname ();
5382 if ac_fn_c_try_link
"$LINENO"; then :
5383 ac_cv_lib_nsl_gethostbyname
=yes
5385 ac_cv_lib_nsl_gethostbyname
=no
5387 rm -f core conftest.err conftest.
$ac_objext \
5388 conftest
$ac_exeext conftest.
$ac_ext
5389 LIBS
=$ac_check_lib_save_LIBS
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5392 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5393 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
5394 cat >>confdefs.h
<<_ACEOF
5395 #define HAVE_LIBNSL 1
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
5403 $as_echo_n "checking for main in -lm... " >&6; }
5404 if ${ac_cv_lib_m_main+:} false
; then :
5405 $as_echo_n "(cached) " >&6
5407 ac_check_lib_save_LIBS
=$LIBS
5409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h. */
5421 if ac_fn_c_try_link
"$LINENO"; then :
5422 ac_cv_lib_m_main
=yes
5426 rm -f core conftest.err conftest.
$ac_objext \
5427 conftest
$ac_exeext conftest.
$ac_ext
5428 LIBS
=$ac_check_lib_save_LIBS
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
5431 $as_echo "$ac_cv_lib_m_main" >&6; }
5432 if test "x$ac_cv_lib_m_main" = xyes
; then :
5433 cat >>confdefs.h
<<_ACEOF
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GeoIP_open in -lGeoIP" >&5
5442 $as_echo_n "checking for GeoIP_open in -lGeoIP... " >&6; }
5443 if ${ac_cv_lib_GeoIP_GeoIP_open+:} false
; then :
5444 $as_echo_n "(cached) " >&6
5446 ac_check_lib_save_LIBS
=$LIBS
5447 LIBS
="-lGeoIP $LIBS"
5448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5451 /* Override any GCC internal prototype to avoid an error.
5452 Use char because int might match the return type of a GCC
5453 builtin and then its argument prototype would still apply. */
5461 return GeoIP_open ();
5466 if ac_fn_c_try_link
"$LINENO"; then :
5467 ac_cv_lib_GeoIP_GeoIP_open
=yes
5469 ac_cv_lib_GeoIP_GeoIP_open
=no
5471 rm -f core conftest.err conftest.
$ac_objext \
5472 conftest
$ac_exeext conftest.
$ac_ext
5473 LIBS
=$ac_check_lib_save_LIBS
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
5476 $as_echo "$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
5477 if test "x$ac_cv_lib_GeoIP_GeoIP_open" = xyes
; then :
5478 cat >>confdefs.h
<<_ACEOF
5479 #define HAVE_LIBGEOIP 1
5482 LIBS
="-lGeoIP $LIBS"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5488 $as_echo_n "checking for ANSI C header files... " >&6; }
5489 if ${ac_cv_header_stdc+:} false
; then :
5490 $as_echo_n "(cached) " >&6
5492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5507 if ac_fn_c_try_compile
"$LINENO"; then :
5508 ac_cv_header_stdc
=yes
5510 ac_cv_header_stdc
=no
5512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5514 if test $ac_cv_header_stdc = yes; then
5515 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5522 $EGREP "memchr" >/dev
/null
2>&1; then :
5525 ac_cv_header_stdc
=no
5531 if test $ac_cv_header_stdc = yes; then
5532 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5534 /* end confdefs.h. */
5538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5539 $EGREP "free" >/dev
/null
2>&1; then :
5542 ac_cv_header_stdc
=no
5548 if test $ac_cv_header_stdc = yes; then
5549 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5550 if test "$cross_compiling" = yes; then :
5553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5557 #if ((' ' & 0x0FF) == 0x020)
5558 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5559 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5561 # define ISLOWER(c) \
5562 (('a' <= (c) && (c) <= 'i') \
5563 || ('j' <= (c) && (c) <= 'r') \
5564 || ('s' <= (c) && (c) <= 'z'))
5565 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5568 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5573 for (i = 0; i < 256; i++)
5574 if (XOR (islower (i), ISLOWER (i))
5575 || toupper (i) != TOUPPER (i))
5580 if ac_fn_c_try_run
"$LINENO"; then :
5583 ac_cv_header_stdc
=no
5585 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5586 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5592 $as_echo "$ac_cv_header_stdc" >&6; }
5593 if test $ac_cv_header_stdc = yes; then
5595 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5601 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5602 if ${ac_cv_header_time+:} false
; then :
5603 $as_echo_n "(cached) " >&6
5605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5606 /* end confdefs.h. */
5607 #include <sys/types.h>
5608 #include <sys/time.h>
5614 if ((struct tm *) 0)
5620 if ac_fn_c_try_compile
"$LINENO"; then :
5621 ac_cv_header_time
=yes
5623 ac_cv_header_time
=no
5625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5628 $as_echo "$ac_cv_header_time" >&6; }
5629 if test $ac_cv_header_time = yes; then
5631 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5636 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5637 if ${ac_cv_struct_tm+:} false
; then :
5638 $as_echo_n "(cached) " >&6
5640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5642 #include <sys/types.h>
5649 int *p = &tm.tm_sec;
5655 if ac_fn_c_try_compile
"$LINENO"; then :
5656 ac_cv_struct_tm
=time.h
5658 ac_cv_struct_tm
=sys
/time.h
5660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5663 $as_echo "$ac_cv_struct_tm" >&6; }
5664 if test $ac_cv_struct_tm = sys
/time.h
; then
5666 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5671 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5672 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5673 inttypes.h stdint.h unistd.h
5675 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5676 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5678 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5679 cat >>confdefs.h
<<_ACEOF
5680 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5688 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
5690 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5691 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5692 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5693 cat >>confdefs.h
<<_ACEOF
5694 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5702 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
5703 #include <sys/socket.h>
5705 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
5707 $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
5711 ac_fn_c_check_member
"$LINENO" "struct addrinfo" "ai_flags" "ac_cv_member_struct_addrinfo_ai_flags" "#include <sys/types.h>
5712 #include <sys/socket.h>
5715 if test "x$ac_cv_member_struct_addrinfo_ai_flags" = xyes
; then :
5717 $as_echo "#define HAVE_STRUCT_ADDRINFO 1" >>confdefs.h
5722 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
5724 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5725 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5726 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5727 cat >>confdefs.h
<<_ACEOF
5728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5736 if test $ac_cv_func_gettimeofday = no
; then
5737 for ac_func
in ftime
5739 ac_fn_c_check_func
"$LINENO" "ftime" "ac_cv_func_ftime"
5740 if test "x$ac_cv_func_ftime" = xyes
; then :
5741 cat >>confdefs.h
<<_ACEOF
5742 #define HAVE_FTIME 1
5746 as_fn_error $?
"ftime or gettimeofday required. X3 build will fail." "$LINENO" 5
5752 for ac_func
in socket strcspn strspn strtod strtoul
5754 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5755 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5756 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5757 cat >>confdefs.h
<<_ACEOF
5758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5762 as_fn_error $?
"a required function was not found. X3 build will fail." "$LINENO" 5
5767 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5768 if test "x$ac_cv_type_size_t" = xyes
; then :
5772 cat >>confdefs.h
<<_ACEOF
5773 #define size_t unsigned int
5778 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5779 # for constant arguments. Useless!
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5781 $as_echo_n "checking for working alloca.h... " >&6; }
5782 if ${ac_cv_working_alloca_h+:} false
; then :
5783 $as_echo_n "(cached) " >&6
5785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5786 /* end confdefs.h. */
5791 char *p = (char *) alloca (2 * sizeof (int));
5797 if ac_fn_c_try_link
"$LINENO"; then :
5798 ac_cv_working_alloca_h
=yes
5800 ac_cv_working_alloca_h
=no
5802 rm -f core conftest.err conftest.
$ac_objext \
5803 conftest
$ac_exeext conftest.
$ac_ext
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5806 $as_echo "$ac_cv_working_alloca_h" >&6; }
5807 if test $ac_cv_working_alloca_h = yes; then
5809 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5814 $as_echo_n "checking for alloca... " >&6; }
5815 if ${ac_cv_func_alloca_works+:} false
; then :
5816 $as_echo_n "(cached) " >&6
5818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5819 /* end confdefs.h. */
5821 # define alloca __builtin_alloca
5824 # include <malloc.h>
5825 # define alloca _alloca
5827 # ifdef HAVE_ALLOCA_H
5828 # include <alloca.h>
5833 # ifndef alloca /* predefined by HP cc +Olibcalls */
5834 void *alloca (size_t);
5844 char *p = (char *) alloca (1);
5850 if ac_fn_c_try_link
"$LINENO"; then :
5851 ac_cv_func_alloca_works
=yes
5853 ac_cv_func_alloca_works
=no
5855 rm -f core conftest.err conftest.
$ac_objext \
5856 conftest
$ac_exeext conftest.
$ac_ext
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5859 $as_echo "$ac_cv_func_alloca_works" >&6; }
5861 if test $ac_cv_func_alloca_works = yes; then
5863 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5866 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5867 # that cause trouble. Some versions do not even contain alloca or
5868 # contain a buggy version. If you still want to use their alloca,
5869 # use ar to extract alloca.o from them instead of compiling alloca.c.
5871 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5873 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5877 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5878 if ${ac_cv_os_cray+:} false
; then :
5879 $as_echo_n "(cached) " >&6
5881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5883 #if defined CRAY && ! defined CRAY2
5890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5891 $EGREP "webecray" >/dev
/null
2>&1; then :
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5900 $as_echo "$ac_cv_os_cray" >&6; }
5901 if test $ac_cv_os_cray = yes; then
5902 for ac_func
in _getb67 GETB67 getb67
; do
5903 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5904 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5905 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5907 cat >>confdefs.h
<<_ACEOF
5908 #define CRAY_STACKSEG_END $ac_func
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5918 $as_echo_n "checking stack direction for C alloca... " >&6; }
5919 if ${ac_cv_c_stack_direction+:} false
; then :
5920 $as_echo_n "(cached) " >&6
5922 if test "$cross_compiling" = yes; then :
5923 ac_cv_c_stack_direction
=0
5925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5926 /* end confdefs.h. */
5927 $ac_includes_default
5929 find_stack_direction ()
5931 static char *addr = 0;
5936 return find_stack_direction ();
5939 return (&dummy > addr) ? 1 : -1;
5945 return find_stack_direction () < 0;
5948 if ac_fn_c_try_run
"$LINENO"; then :
5949 ac_cv_c_stack_direction
=1
5951 ac_cv_c_stack_direction
=-1
5953 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5954 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5959 $as_echo "$ac_cv_c_stack_direction" >&6; }
5960 cat >>confdefs.h
<<_ACEOF
5961 #define STACK_DIRECTION $ac_cv_c_stack_direction
5970 for ac_header
in $ac_header_list
5972 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5973 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5975 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5976 cat >>confdefs.h
<<_ACEOF
5977 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5991 for ac_func
in getpagesize
5993 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
5994 if test "x$ac_cv_func_getpagesize" = xyes
; then :
5995 cat >>confdefs.h
<<_ACEOF
5996 #define HAVE_GETPAGESIZE 1
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6003 $as_echo_n "checking for working mmap... " >&6; }
6004 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6005 $as_echo_n "(cached) " >&6
6007 if test "$cross_compiling" = yes; then :
6008 ac_cv_func_mmap_fixed_mapped
=no
6010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6011 /* end confdefs.h. */
6012 $ac_includes_default
6013 /* malloc might have been renamed as rpl_malloc. */
6016 /* Thanks to Mike Haertel and Jim Avera for this test.
6017 Here is a matrix of mmap possibilities:
6018 mmap private not fixed
6019 mmap private fixed at somewhere currently unmapped
6020 mmap private fixed at somewhere already mapped
6021 mmap shared not fixed
6022 mmap shared fixed at somewhere currently unmapped
6023 mmap shared fixed at somewhere already mapped
6024 For private mappings, we should verify that changes cannot be read()
6025 back from the file, nor mmap's back from the file at a different
6026 address. (There have been systems where private was not correctly
6027 implemented like the infamous i386 svr4.0, and systems where the
6028 VM page cache was not coherent with the file system buffer cache
6029 like early versions of FreeBSD and possibly contemporary NetBSD.)
6030 For shared mappings, we should conversely verify that changes get
6031 propagated back to all the places they're supposed to be.
6033 Grep wants private fixed already mapped.
6034 The main things grep needs to know about mmap are:
6035 * does it exist and is it safe to write into the mmap'd area
6036 * how to use it (BSD variants) */
6039 #include <sys/mman.h>
6041 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6045 /* This mess was copied from the GNU getpagesize.h. */
6046 #ifndef HAVE_GETPAGESIZE
6047 # ifdef _SC_PAGESIZE
6048 # define getpagesize() sysconf(_SC_PAGESIZE)
6049 # else /* no _SC_PAGESIZE */
6050 # ifdef HAVE_SYS_PARAM_H
6051 # include <sys/param.h>
6052 # ifdef EXEC_PAGESIZE
6053 # define getpagesize() EXEC_PAGESIZE
6054 # else /* no EXEC_PAGESIZE */
6056 # define getpagesize() NBPG * CLSIZE
6059 # endif /* no CLSIZE */
6060 # else /* no NBPG */
6062 # define getpagesize() NBPC
6063 # else /* no NBPC */
6065 # define getpagesize() PAGESIZE
6066 # endif /* PAGESIZE */
6067 # endif /* no NBPC */
6068 # endif /* no NBPG */
6069 # endif /* no EXEC_PAGESIZE */
6070 # else /* no HAVE_SYS_PARAM_H */
6071 # define getpagesize() 8192 /* punt totally */
6072 # endif /* no HAVE_SYS_PARAM_H */
6073 # endif /* no _SC_PAGESIZE */
6075 #endif /* no HAVE_GETPAGESIZE */
6080 char *data, *data2, *data3;
6085 pagesize = getpagesize ();
6087 /* First, make a file with some known garbage in it. */
6088 data = (char *) malloc (pagesize);
6091 for (i = 0; i < pagesize; ++i)
6092 *(data + i) = rand ();
6094 fd = creat ("conftest.mmap", 0600);
6097 if (write (fd, data, pagesize) != pagesize)
6101 /* Next, check that the tail of a page is zero-filled. File must have
6102 non-zero length, otherwise we risk SIGBUS for entire page. */
6103 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6107 if (write (fd2, cdata2, 1) != 1)
6109 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6110 if (data2 == MAP_FAILED)
6112 for (i = 0; i < pagesize; ++i)
6116 if (munmap (data2, pagesize))
6119 /* Next, try to mmap the file at a fixed address which already has
6120 something else allocated at it. If we can, also make sure that
6121 we see the same garbage. */
6122 fd = open ("conftest.mmap", O_RDWR);
6125 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6126 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6128 for (i = 0; i < pagesize; ++i)
6129 if (*(data + i) != *(data2 + i))
6132 /* Finally, make sure that changes to the mapped area do not
6133 percolate back to the file as seen by read(). (This is a bug on
6134 some variants of i386 svr4.0.) */
6135 for (i = 0; i < pagesize; ++i)
6136 *(data2 + i) = *(data2 + i) + 1;
6137 data3 = (char *) malloc (pagesize);
6140 if (read (fd, data3, pagesize) != pagesize)
6142 for (i = 0; i < pagesize; ++i)
6143 if (*(data + i) != *(data3 + i))
6149 if ac_fn_c_try_run
"$LINENO"; then :
6150 ac_cv_func_mmap_fixed_mapped
=yes
6152 ac_cv_func_mmap_fixed_mapped
=no
6154 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6155 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6160 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6161 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6163 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6166 rm -f conftest.mmap conftest.txt
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin_len" >&5
6170 $as_echo_n "checking for sin_len... " >&6; }
6171 if ${ac_cv_sin_len+:} false
; then :
6172 $as_echo_n "(cached) " >&6
6174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6175 /* end confdefs.h. */
6176 #include <sys/types.h>
6177 #include <netinet/in.h>
6181 struct sockaddr_in *sin; sin->sin_len = 0;
6186 if ac_fn_c_try_compile
"$LINENO"; then :
6191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sin_len" >&5
6194 $as_echo "$ac_cv_sin_len" >&6; }
6195 if test $ac_cv_sin_len = yes ; then
6197 $as_echo "#define HAVE_SIN_LEN 1" >>confdefs.h
6201 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
6202 #include<sys/socket.h>
6204 if test "x$ac_cv_type_socklen_t" = xyes
; then :
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
6209 $as_echo_n "checking for socklen_t equivalent... " >&6; }
6210 if ${curl_cv_socklen_t_equiv+:} false
; then :
6211 $as_echo_n "(cached) " >&6
6214 curl_cv_socklen_t_equiv
=
6215 for arg2
in "struct sockaddr" void
; do
6216 for t
in int size_t unsigned long
"unsigned long" ; do
6217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6219 #include <sys/types.h>
6220 #include <sys/socket.h>
6221 int getpeername (int $arg2 *, $t *);
6226 getpeername(0, 0, &len);
6231 if ac_fn_c_try_compile
"$LINENO"; then :
6232 curl_cv_socklen_t_equiv
="$t"
6235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_socklen_t_equiv" >&5
6242 $as_echo "$curl_cv_socklen_t_equiv" >&6; }
6244 cat >>confdefs.h
<<_ACEOF
6245 #define socklen_t $curl_cv_socklen_t_equiv
6252 CFLAGS
="$CFLAGS -W -Wall -Werror"
6254 if test "z$USE_MAINTAINER_MODE" = zyes
; then
6255 CFLAGS
="$CFLAGS -ansi"
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6259 $as_echo_n "checking for inline... " >&6; }
6260 if ${ac_cv_c_inline+:} false
; then :
6261 $as_echo_n "(cached) " >&6
6264 for ac_kw
in inline __inline__ __inline
; do
6265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6269 static $ac_kw foo_t static_foo () {return 0; }
6270 $ac_kw foo_t foo () {return 0; }
6274 if ac_fn_c_try_compile
"$LINENO"; then :
6275 ac_cv_c_inline
=$ac_kw
6277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6278 test "$ac_cv_c_inline" != no
&& break
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6283 $as_echo "$ac_cv_c_inline" >&6; }
6285 case $ac_cv_c_inline in
6288 case $ac_cv_c_inline in
6290 *) ac_val
=$ac_cv_c_inline;;
6292 cat >>confdefs.h
<<_ACEOF
6294 #define inline $ac_val
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for time_t format" >&5
6302 $as_echo_n "checking for time_t format... " >&6; }
6303 if ${ac_cv_fmt_time_t+:} false
; then :
6304 $as_echo_n "(cached) " >&6
6308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6309 /* end confdefs.h. */
6310 #include <sys/types.h>
6314 printf("%li", test);
6317 if ac_fn_c_try_compile
"$LINENO"; then :
6318 ac_cv_fmt_time_t
="\"%li\""
6320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6321 if test $ac_cv_fmt_time_t = no
; then
6322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6323 /* end confdefs.h. */
6324 #include <sys/types.h>
6331 if ac_fn_c_try_compile
"$LINENO"; then :
6332 ac_cv_fmt_time_t
="\"%i\""
6334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6336 if test $ac_cv_fmt_time_t = no
; then
6337 as_fn_error $?
"Cannot detect format string for time_t
6338 Please check sys/types.h for the typedef of time_t and submit to a developer" "$LINENO" 5
6344 cat >>confdefs.h
<<_ACEOF
6345 #define FMT_TIME_T $ac_cv_fmt_time_t
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fmt_time_t" >&5
6349 $as_echo "$ac_cv_fmt_time_t" >&6; }
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
6352 $as_echo_n "checking for va_copy... " >&6; }
6353 if ${ac_cv_c_va_copy+:} false
; then :
6354 $as_echo_n "(cached) " >&6
6356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6362 va_list ap1, ap2; va_copy(ap1, ap2);
6367 if ac_fn_c_try_link
"$LINENO"; then :
6368 ac_cv_c_va_copy
="yes"
6370 ac_cv_c_va_copy
="no"
6373 rm -f core conftest.err conftest.
$ac_objext \
6374 conftest
$ac_exeext conftest.
$ac_ext
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_va_copy" >&5
6377 $as_echo "$ac_cv_c_va_copy" >&6; }
6378 if test "$ac_cv_c_va_copy" = "yes" ; then
6380 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
6385 $as_echo_n "checking for __va_copy... " >&6; }
6386 if ${ac_cv_c___va_copy+:} false
; then :
6387 $as_echo_n "(cached) " >&6
6389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6390 /* end confdefs.h. */
6395 va_list ap1, ap2; __va_copy(ap1, ap2);
6400 if ac_fn_c_try_link
"$LINENO"; then :
6401 ac_cv_c___va_copy
="yes"
6403 ac_cv_c___va_copy
="no"
6406 rm -f core conftest.err conftest.
$ac_objext \
6407 conftest
$ac_exeext conftest.
$ac_ext
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c___va_copy" >&5
6410 $as_echo "$ac_cv_c___va_copy" >&6; }
6411 if test "$ac_cv_c___va_copy" = "yes" ; then
6413 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which malloc to use" >&5
6420 $as_echo_n "checking which malloc to use... " >&6; }
6422 # Check whether --with-malloc was given.
6423 if test "${with_malloc+set}" = set; then :
6424 withval
=$with_malloc;
6429 if test "x$withval" = "xsystem" ; then
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system" >&5
6431 $as_echo "system" >&6; }
6433 $as_echo "#define WITH_MALLOC_SYSTEM 1" >>confdefs.h
6436 elif test "x$withval" = "xdmalloc" ; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dmalloc" >&5
6438 $as_echo "dmalloc" >&6; }
6439 for ac_header
in dmalloc.h
6441 ac_fn_c_check_header_mongrel
"$LINENO" "dmalloc.h" "ac_cv_header_dmalloc_h" "$ac_includes_default"
6442 if test "x$ac_cv_header_dmalloc_h" = xyes
; then :
6443 cat >>confdefs.h
<<_ACEOF
6444 #define HAVE_DMALLOC_H 1
6448 as_fn_error $?
"dmalloc header file missing. dmalloc build will fail." "$LINENO" 5
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -ldmalloc" >&5
6454 $as_echo_n "checking for malloc in -ldmalloc... " >&6; }
6455 if ${ac_cv_lib_dmalloc_malloc+:} false
; then :
6456 $as_echo_n "(cached) " >&6
6458 ac_check_lib_save_LIBS
=$LIBS
6459 LIBS
="-ldmalloc $LIBS"
6460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6461 /* end confdefs.h. */
6463 /* Override any GCC internal prototype to avoid an error.
6464 Use char because int might match the return type of a GCC
6465 builtin and then its argument prototype would still apply. */
6478 if ac_fn_c_try_link
"$LINENO"; then :
6479 ac_cv_lib_dmalloc_malloc
=yes
6481 ac_cv_lib_dmalloc_malloc
=no
6483 rm -f core conftest.err conftest.
$ac_objext \
6484 conftest
$ac_exeext conftest.
$ac_ext
6485 LIBS
=$ac_check_lib_save_LIBS
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dmalloc_malloc" >&5
6488 $as_echo "$ac_cv_lib_dmalloc_malloc" >&6; }
6489 if test "x$ac_cv_lib_dmalloc_malloc" = xyes
; then :
6490 cat >>confdefs.h
<<_ACEOF
6491 #define HAVE_LIBDMALLOC 1
6494 LIBS
="-ldmalloc $LIBS"
6497 as_fn_error $?
"dmalloc library is missing. dmalloc build will fail." "$LINENO" 5
6501 $as_echo "#define WITH_MALLOC_DMALLOC 1" >>confdefs.h
6504 elif test "x$withval" = "xmpatrol" ; then
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mpatrol" >&5
6506 $as_echo "mpatrol" >&6; }
6507 for ac_header
in mpatrol.h
6509 ac_fn_c_check_header_mongrel
"$LINENO" "mpatrol.h" "ac_cv_header_mpatrol_h" "$ac_includes_default"
6510 if test "x$ac_cv_header_mpatrol_h" = xyes
; then :
6511 cat >>confdefs.h
<<_ACEOF
6512 #define HAVE_MPATROL_H 1
6516 as_fn_error $?
"mpatrol header file missing. mpatrol build will fail." "$LINENO" 5
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
6522 $as_echo_n "checking for elf_begin in -lelf... " >&6; }
6523 if ${ac_cv_lib_elf_elf_begin+:} false
; then :
6524 $as_echo_n "(cached) " >&6
6526 ac_check_lib_save_LIBS
=$LIBS
6528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6529 /* end confdefs.h. */
6531 /* Override any GCC internal prototype to avoid an error.
6532 Use char because int might match the return type of a GCC
6533 builtin and then its argument prototype would still apply. */
6541 return elf_begin ();
6546 if ac_fn_c_try_link
"$LINENO"; then :
6547 ac_cv_lib_elf_elf_begin
=yes
6549 ac_cv_lib_elf_elf_begin
=no
6551 rm -f core conftest.err conftest.
$ac_objext \
6552 conftest
$ac_exeext conftest.
$ac_ext
6553 LIBS
=$ac_check_lib_save_LIBS
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
6556 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
6557 if test "x$ac_cv_lib_elf_elf_begin" = xyes
; then :
6558 cat >>confdefs.h
<<_ACEOF
6559 #define HAVE_LIBELF 1
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __mp_atexit in -lmpatrol" >&5
6567 $as_echo_n "checking for __mp_atexit in -lmpatrol... " >&6; }
6568 if ${ac_cv_lib_mpatrol___mp_atexit+:} false
; then :
6569 $as_echo_n "(cached) " >&6
6571 ac_check_lib_save_LIBS
=$LIBS
6572 LIBS
="-lmpatrol $LIBS"
6573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6576 /* Override any GCC internal prototype to avoid an error.
6577 Use char because int might match the return type of a GCC
6578 builtin and then its argument prototype would still apply. */
6582 char __mp_atexit ();
6586 return __mp_atexit ();
6591 if ac_fn_c_try_link
"$LINENO"; then :
6592 ac_cv_lib_mpatrol___mp_atexit
=yes
6594 ac_cv_lib_mpatrol___mp_atexit
=no
6596 rm -f core conftest.err conftest.
$ac_objext \
6597 conftest
$ac_exeext conftest.
$ac_ext
6598 LIBS
=$ac_check_lib_save_LIBS
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpatrol___mp_atexit" >&5
6601 $as_echo "$ac_cv_lib_mpatrol___mp_atexit" >&6; }
6602 if test "x$ac_cv_lib_mpatrol___mp_atexit" = xyes
; then :
6603 cat >>confdefs.h
<<_ACEOF
6604 #define HAVE_LIBMPATROL 1
6607 LIBS
="-lmpatrol $LIBS"
6610 as_fn_error $?
"mpatrol library is missing completely. mpatrol build will fail." "$LINENO" 5
6614 $as_echo "#define WITH_MALLOC_MPATROL 1" >>confdefs.h
6617 elif test "x$withval" = "xboehm-gc" ; then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: boehm-gc" >&5
6619 $as_echo "boehm-gc" >&6; }
6620 for ac_header
in gc
/gc.h
6622 ac_fn_c_check_header_mongrel
"$LINENO" "gc/gc.h" "ac_cv_header_gc_gc_h" "$ac_includes_default"
6623 if test "x$ac_cv_header_gc_gc_h" = xyes
; then :
6624 cat >>confdefs.h
<<_ACEOF
6625 #define HAVE_GC_GC_H 1
6629 as_fn_error $?
"Boehm GC header file missing. boehm-gc build will fail." "$LINENO" 5
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6635 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6636 if ${ac_cv_lib_dl_dlopen+:} false
; then :
6637 $as_echo_n "(cached) " >&6
6639 ac_check_lib_save_LIBS
=$LIBS
6641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6644 /* Override any GCC internal prototype to avoid an error.
6645 Use char because int might match the return type of a GCC
6646 builtin and then its argument prototype would still apply. */
6659 if ac_fn_c_try_link
"$LINENO"; then :
6660 ac_cv_lib_dl_dlopen
=yes
6662 ac_cv_lib_dl_dlopen
=no
6664 rm -f core conftest.err conftest.
$ac_objext \
6665 conftest
$ac_exeext conftest.
$ac_ext
6666 LIBS
=$ac_check_lib_save_LIBS
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6669 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6670 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
6671 cat >>confdefs.h
<<_ACEOF
6672 #define HAVE_LIBDL 1
6678 as_fn_error $?
"libdl library is missing. boehm-gc build will fail." "$LINENO" 5
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GC_gcollect in -lgc" >&5
6682 $as_echo_n "checking for GC_gcollect in -lgc... " >&6; }
6683 if ${ac_cv_lib_gc_GC_gcollect+:} false
; then :
6684 $as_echo_n "(cached) " >&6
6686 ac_check_lib_save_LIBS
=$LIBS
6688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6689 /* end confdefs.h. */
6691 /* Override any GCC internal prototype to avoid an error.
6692 Use char because int might match the return type of a GCC
6693 builtin and then its argument prototype would still apply. */
6697 char GC_gcollect ();
6701 return GC_gcollect ();
6706 if ac_fn_c_try_link
"$LINENO"; then :
6707 ac_cv_lib_gc_GC_gcollect
=yes
6709 ac_cv_lib_gc_GC_gcollect
=no
6711 rm -f core conftest.err conftest.
$ac_objext \
6712 conftest
$ac_exeext conftest.
$ac_ext
6713 LIBS
=$ac_check_lib_save_LIBS
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gc_GC_gcollect" >&5
6716 $as_echo "$ac_cv_lib_gc_GC_gcollect" >&6; }
6717 if test "x$ac_cv_lib_gc_GC_gcollect" = xyes
; then :
6718 cat >>confdefs.h
<<_ACEOF
6719 #define HAVE_LIBGC 1
6725 as_fn_error $?
"Boehm GC library is missing. boehm-gc build will fail." "$LINENO" 5
6729 $as_echo "#define WITH_MALLOC_BOEHM_GC 1" >>confdefs.h
6732 elif test "x$withval" = "xx3" ; then
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: x3" >&5
6734 $as_echo "x3" >&6; }
6736 $as_echo "#define WITH_MALLOC_X3 1" >>confdefs.h
6738 MODULE_OBJS
="$MODULE_OBJS alloc-x3.\$(OBJEXT)"
6740 elif test "x$withval" = "xslab" ; then
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: slab" >&5
6742 $as_echo "slab" >&6; }
6744 $as_echo "#define WITH_MALLOC_SLAB 1" >>confdefs.h
6746 MODULE_OBJS
="$MODULE_OBJS alloc-slab.\$(OBJEXT)"
6749 as_fn_error $?
"Unknown malloc type $withval" "$LINENO" 5
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which protocol to use" >&5
6753 $as_echo_n "checking which protocol to use... " >&6; }
6755 # Check whether --with-protocol was given.
6756 if test "${with_protocol+set}" = set; then :
6757 withval
=$with_protocol;
6762 if test "x$withval" = "xp10" ; then
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: P10" >&5
6764 $as_echo "P10" >&6; }
6766 $as_echo "#define WITH_PROTOCOL_P10 1" >>confdefs.h
6768 MODULE_OBJS
="$MODULE_OBJS proto-p10.\$(OBJEXT)"
6769 PROTO_FILES
=proto
-p10.c
6772 as_fn_error $?
"Unknown IRC dialect $withval" "$LINENO" 5
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to send mail" >&5
6776 $as_echo_n "checking how to send mail... " >&6; }
6778 # Check whether --with-mail was given.
6779 if test "${with_mail+set}" = set; then :
6785 if test -r "${srcdir}/src/mail-${withval}.c" ; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
6787 $as_echo "$withval" >&6; }
6788 MODULE_OBJS
="$MODULE_OBJS mail-${withval}.\$(OBJEXT)"
6790 as_fn_error $?
"Unknown mail method $withval" "$LINENO" 5
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking I/O multiplexing backends" >&5
6794 $as_echo_n "checking I/O multiplexing backends... " >&6; }
6797 if test "x$ac_cv_func_select" = xyes
; then
6799 $as_echo "#define WITH_IOSET_SELECT 1" >>confdefs.h
6801 MODULE_OBJS
="$MODULE_OBJS ioset-select.\$(OBJEXT)"
6802 IOMUXES
="$IOMUXES select"
6806 # Check whether --with-epoll was given.
6807 if test "${with_epoll+set}" = set; then :
6808 withval
=$with_epoll;
6810 withval
="$ac_cv_func_epoll_create"
6813 if test "x$withval" = xyes
; then
6815 $as_echo "#define WITH_IOSET_EPOLL 1" >>confdefs.h
6817 MODULE_OBJS
="$MODULE_OBJS ioset-epoll.\$(OBJEXT)"
6818 IOMUXES
="$IOMUXES epoll"
6822 # Check whether --with-kevent was given.
6823 if test "${with_kevent+set}" = set; then :
6824 withval
=$with_kevent;
6826 withval
="$ac_cv_func_kevent"
6829 if test "x$withval" = xyes
; then
6831 $as_echo "#define WITH_IOSET_KEVENT 1" >>confdefs.h
6833 MODULE_OBJS
="$MODULE_OBJS ioset-kevent.\$(OBJEXT)"
6834 IOMUXES
="$IOMUXES kevent"
6837 IOMUXES
=`echo $IOMUXES | sed 's/^ +//'`
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IOMUXES" >&5
6839 $as_echo "$IOMUXES" >&6; }
6840 if test "x$IOMUXES" = "x" ; then
6841 as_fn_error $?
"No supported I/O multiplexing backend found" "$LINENO" 5
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IOMUXES" >&5
6844 $as_echo "$IOMUXES" >&6; }
6848 # Check whether --with-getopt was given.
6849 if test "${with_getopt+set}" = set; then :
6850 withval
=$with_getopt; if test "$withval" = no
; then
6852 $as_echo "#define IGNORE_GETOPT 1" >>confdefs.h
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable tokenization" >&5
6859 $as_echo_n "checking whether to enable tokenization... " >&6; }
6860 # Check whether --enable-tokens was given.
6861 if test "${enable_tokens+set}" = set; then :
6862 enableval
=$enable_tokens;
6867 if test "z$enableval" = zno
; then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 $as_echo "no" >&6; }
6872 $as_echo "#define ENABLE_TOKENS 1" >>confdefs.h
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6875 $as_echo "yes" >&6; }
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug behaviors" >&5
6879 $as_echo_n "checking whether to enable debug behaviors... " >&6; }
6880 # Check whether --enable-debug was given.
6881 if test "${enable_debug+set}" = set; then :
6882 enableval
=$enable_debug;
6883 CPPFLAGS
="$CPPFLAGS"
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6885 $as_echo "yes" >&6; }
6890 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 $as_echo "no" >&6; }
6898 if test -e src
; then
6899 if test ! -d src
; then
6900 as_fn_error $?
"src exists but is not a directory; please move it out of the way." "$LINENO" 5
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra module files" >&5
6906 $as_echo_n "checking for extra module files... " >&6; }
6907 MODULE_DEFINES
="src/modules-list.h"
6908 echo > $MODULE_DEFINES
6909 touch $MODULE_DEFINES
6910 # Check whether --enable-modules was given.
6911 if test "${enable_modules+set}" = set; then :
6912 enableval
=$enable_modules;
6915 EXTRA_MODULE_OBJS
=""
6917 for module
in $enableval ; do
6918 module
=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
6919 EXTRA_MODULE_OBJS
="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
6920 module_list
="$module_list $module"
6921 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
6922 if test "x$module" = "xtrack" ; then
6923 TRACK
="-D HAVE_TRACK"
6925 $as_echo "#define HAVE_TRACK 1" >>confdefs.h
6928 if test "x$module" = "xhelpserv" ; then
6929 TRACK
="-D HAVE_HELPSERV"
6931 $as_echo "#define HAVE_HELPSERV 1" >>confdefs.h
6936 MODULE_OBJS
="$MODULE_OBJS $EXTRA_MODULE_OBJS"
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $module_list" >&5
6938 $as_echo "$module_list" >&6; }
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6943 $as_echo "none" >&6; }
6948 # Check whether --enable-python was given.
6949 if test "${enable_python+set}" = set; then :
6950 enableval
=$enable_python; python
=$enableval
6960 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no
; then
6961 MY_SUBDIRS
="rx $MY_SUBDIRS"
6962 RX_INCLUDES
="-I../rx"
6963 RX_LIBS
="../rx/librx.a"
6965 MY_SUBDIRS
="$MY_SUBDIRS src"
6966 CFLAGS
="$CFLAGS $ANSI_SRC -W -Wall"
6967 if test "z$USE_MAINTAINER_MODE" = zyes
; then
6968 CFLAGS
="$CFLAGS -Werror"
6975 # Check whether --with-tre was given.
6976 if test "${with_tre+set}" = set; then :
6980 if test "x$withval" != "x"; then
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using include dir $withval to find libtre" >&5
6982 $as_echo "Using include dir $withval to find libtre" >&6; }
6983 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
6984 LIBS
="$LIBS -L$withval/lib"
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Looking for tre in system and home dirs (${HOME})..." >&5
6987 $as_echo "Looking for tre in system and home dirs (${HOME})..." >&6; }
6988 CPPFLAGS
="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
6989 LIBS
="$LIBS -L${HOME}/lib"
6991 ac_fn_c_check_header_mongrel
"$LINENO" "tre/regex.h" "ac_cv_header_tre_regex_h" "$ac_includes_default"
6992 if test "x$ac_cv_header_tre_regex_h" = xyes
; then :
6995 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
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regexec in -ltre" >&5
7000 $as_echo_n "checking for regexec in -ltre... " >&6; }
7001 if ${ac_cv_lib_tre_regexec+:} false
; then :
7002 $as_echo_n "(cached) " >&6
7004 ac_check_lib_save_LIBS
=$LIBS
7006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7007 /* end confdefs.h. */
7009 /* Override any GCC internal prototype to avoid an error.
7010 Use char because int might match the return type of a GCC
7011 builtin and then its argument prototype would still apply. */
7024 if ac_fn_c_try_link
"$LINENO"; then :
7025 ac_cv_lib_tre_regexec
=yes
7027 ac_cv_lib_tre_regexec
=no
7029 rm -f core conftest.err conftest.
$ac_objext \
7030 conftest
$ac_exeext conftest.
$ac_ext
7031 LIBS
=$ac_check_lib_save_LIBS
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tre_regexec" >&5
7034 $as_echo "$ac_cv_lib_tre_regexec" >&6; }
7035 if test "x$ac_cv_lib_tre_regexec" = xyes
; then :
7036 cat >>confdefs.h
<<_ACEOF
7037 #define HAVE_LIBTRE 1
7043 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
7050 # Check whether --with-coredumper was given.
7051 if test "${with_coredumper+set}" = set; then :
7052 withval
=$with_coredumper;
7055 if test "x$withval" != "x"; then
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using include dir $withval to find coredumper" >&5
7057 $as_echo "Using include dir $withval to find coredumper" >&6; }
7058 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
7059 LIBS
="$LIBS -L$withval/lib"
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Looking for coredumper in system and home dirs (${HOME})..." >&5
7062 $as_echo "Looking for coredumper in system and home dirs (${HOME})..." >&6; }
7063 CPPFLAGS
="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
7064 LIBS
="$LIBS -Wl,--rpath -Wl,${HOME}/lib"
7066 ac_fn_c_check_header_mongrel
"$LINENO" "google/coredumper.h" "ac_cv_header_google_coredumper_h" "$ac_includes_default"
7067 if test "x$ac_cv_header_google_coredumper_h" = xyes
; then :
7070 { $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
7071 $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; }
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WriteCoreDump in -lcoredumper" >&5
7076 $as_echo_n "checking for WriteCoreDump in -lcoredumper... " >&6; }
7077 if ${ac_cv_lib_coredumper_WriteCoreDump+:} false
; then :
7078 $as_echo_n "(cached) " >&6
7080 ac_check_lib_save_LIBS
=$LIBS
7081 LIBS
="-lcoredumper $LIBS"
7082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7083 /* end confdefs.h. */
7085 /* Override any GCC internal prototype to avoid an error.
7086 Use char because int might match the return type of a GCC
7087 builtin and then its argument prototype would still apply. */
7091 char WriteCoreDump ();
7095 return WriteCoreDump ();
7100 if ac_fn_c_try_link
"$LINENO"; then :
7101 ac_cv_lib_coredumper_WriteCoreDump
=yes
7103 ac_cv_lib_coredumper_WriteCoreDump
=no
7105 rm -f core conftest.err conftest.
$ac_objext \
7106 conftest
$ac_exeext conftest.
$ac_ext
7107 LIBS
=$ac_check_lib_save_LIBS
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_coredumper_WriteCoreDump" >&5
7110 $as_echo "$ac_cv_lib_coredumper_WriteCoreDump" >&6; }
7111 if test "x$ac_cv_lib_coredumper_WriteCoreDump" = xyes
; then :
7112 cat >>confdefs.h
<<_ACEOF
7113 #define HAVE_LIBCOREDUMPER 1
7116 LIBS
="-lcoredumper $LIBS"
7119 { $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
7120 $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; }
7126 # Check whether --with-ssl was given.
7127 if test "${with_ssl+set}" = set; then :
7131 if test "x$withval" != "x"; then
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using include dir $withval to find openssl" >&5
7133 $as_echo "Using include dir $withval to find openssl" >&6; }
7134 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
7135 LIBS
="$LIBS -L$withval/lib"
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Looking for openssl in system " >&5
7138 $as_echo "Looking for openssl in system " >&6; }
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BIO_new in -lssl" >&5
7142 $as_echo_n "checking for BIO_new in -lssl... " >&6; }
7143 if ${ac_cv_lib_ssl_BIO_new+:} false
; then :
7144 $as_echo_n "(cached) " >&6
7146 ac_check_lib_save_LIBS
=$LIBS
7148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7149 /* end confdefs.h. */
7151 /* Override any GCC internal prototype to avoid an error.
7152 Use char because int might match the return type of a GCC
7153 builtin and then its argument prototype would still apply. */
7166 if ac_fn_c_try_link
"$LINENO"; then :
7167 ac_cv_lib_ssl_BIO_new
=yes
7169 ac_cv_lib_ssl_BIO_new
=no
7171 rm -f core conftest.err conftest.
$ac_objext \
7172 conftest
$ac_exeext conftest.
$ac_ext
7173 LIBS
=$ac_check_lib_save_LIBS
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_BIO_new" >&5
7176 $as_echo "$ac_cv_lib_ssl_BIO_new" >&6; }
7177 if test "x$ac_cv_lib_ssl_BIO_new" = xyes
; then :
7180 for ac_header
in openssl
/bio.h
7182 ac_fn_c_check_header_mongrel
"$LINENO" "openssl/bio.h" "ac_cv_header_openssl_bio_h" "$ac_includes_default"
7183 if test "x$ac_cv_header_openssl_bio_h" = xyes
; then :
7184 cat >>confdefs.h
<<_ACEOF
7185 #define HAVE_OPENSSL_BIO_H 1
7189 $as_echo "#define WITH_SSL 1" >>confdefs.h
7191 ssl_message
="LDAP library: enabled"
7195 if test "x$withval" != "x"; then
7196 as_fn_error $?
"ssl headers not found" "$LINENO" 5
7206 if test "x$withval" != "x"; then
7207 as_fn_error $?
"libldap not found or not valid" "$LINENO" 5
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBS" >&5
7214 $as_echo "$LIBS" >&6; }
7219 # Check whether --with-ldap was given.
7220 if test "${with_ldap+set}" = set; then :
7224 if test "x$withval" != "x"; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using include dir $withval to find libldap" >&5
7226 $as_echo "Using include dir $withval to find libldap" >&6; }
7227 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
7228 LIBS
="$LIBS -L$withval/lib"
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Looking for ldap in system " >&5
7231 $as_echo "Looking for ldap in system " >&6; }
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_simple_bind_s in -lldap" >&5
7235 $as_echo_n "checking for ldap_simple_bind_s in -lldap... " >&6; }
7236 if ${ac_cv_lib_ldap_ldap_simple_bind_s+:} false
; then :
7237 $as_echo_n "(cached) " >&6
7239 ac_check_lib_save_LIBS
=$LIBS
7241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7242 /* end confdefs.h. */
7244 /* Override any GCC internal prototype to avoid an error.
7245 Use char because int might match the return type of a GCC
7246 builtin and then its argument prototype would still apply. */
7250 char ldap_simple_bind_s ();
7254 return ldap_simple_bind_s ();
7259 if ac_fn_c_try_link
"$LINENO"; then :
7260 ac_cv_lib_ldap_ldap_simple_bind_s
=yes
7262 ac_cv_lib_ldap_ldap_simple_bind_s
=no
7264 rm -f core conftest.err conftest.
$ac_objext \
7265 conftest
$ac_exeext conftest.
$ac_ext
7266 LIBS
=$ac_check_lib_save_LIBS
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_simple_bind_s" >&5
7269 $as_echo "$ac_cv_lib_ldap_ldap_simple_bind_s" >&6; }
7270 if test "x$ac_cv_lib_ldap_ldap_simple_bind_s" = xyes
; then :
7273 for ac_header
in ldap.h
7275 ac_fn_c_check_header_mongrel
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
7276 if test "x$ac_cv_header_ldap_h" = xyes
; then :
7277 cat >>confdefs.h
<<_ACEOF
7278 #define HAVE_LDAP_H 1
7282 $as_echo "#define WITH_LDAP 1" >>confdefs.h
7284 ldap_message
="LDAP library: enabled"
7288 if test "x$withval" != "x"; then
7289 as_fn_error $?
"ldap.h not found" "$LINENO" 5
7299 if test "x$withval" != "x"; then
7300 as_fn_error $?
"libldap not found or not valid" "$LINENO" 5
7308 if test "$python" = yes; then
7309 # Extract the first word of "python2", so it can be a program name with args.
7310 set dummy python2
; ac_word
=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if ${ac_cv_path_pythonpath+:} false
; then :
7314 $as_echo_n "(cached) " >&6
7318 ac_cv_path_pythonpath
="$pythonpath" # Let the user override the test with a path.
7321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7325 test -z "$as_dir" && as_dir
=.
7326 for ac_exec_ext
in '' $ac_executable_extensions; do
7327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7328 ac_cv_path_pythonpath
="$as_dir/$ac_word$ac_exec_ext"
7329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339 pythonpath
=$ac_cv_path_pythonpath
7340 if test -n "$pythonpath"; then
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pythonpath" >&5
7342 $as_echo "$pythonpath" >&6; }
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7345 $as_echo "no" >&6; }
7349 if test "_$pythonpath" = _
; then
7350 # Extract the first word of "python", so it can be a program name with args.
7351 set dummy python
; ac_word
=$2
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 $as_echo_n "checking for $ac_word... " >&6; }
7354 if ${ac_cv_path_pythonpath+:} false
; then :
7355 $as_echo_n "(cached) " >&6
7359 ac_cv_path_pythonpath
="$pythonpath" # Let the user override the test with a path.
7362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7366 test -z "$as_dir" && as_dir
=.
7367 for ac_exec_ext
in '' $ac_executable_extensions; do
7368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7369 ac_cv_path_pythonpath
="$as_dir/$ac_word$ac_exec_ext"
7370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 pythonpath
=$ac_cv_path_pythonpath
7381 if test -n "$pythonpath"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pythonpath" >&5
7383 $as_echo "$pythonpath" >&6; }
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7391 if test "_$pythonpath" = _
; then
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python version" >&5
7395 $as_echo_n "checking Python version... " >&6; }
7396 PY_VER
=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("VERSION")[0];'`
7397 PY_LIB
=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(standard_lib=1);'`
7398 PY_INC
=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("INCLUDEPY")[0];'`
7399 $pythonpath -c "import sys; map(int,sys.version[:3].split('.')) >= [2,2] or sys.exit(1)"
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_VER" >&5
7401 $as_echo "$PY_VER" >&6; }
7402 if test "$?" != "1"; then
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python compile flags" >&5
7404 $as_echo_n "checking Python compile flags... " >&6; }
7405 PY_PREFIX
=`$pythonpath -c 'import sys; print sys.prefix'`
7406 PY_EXEC_PREFIX
=`$pythonpath -c 'import sys; print sys.exec_prefix'`
7407 if test -f $PY_INC/Python.h
; then
7409 $as_echo "#define WITH_PYTHON 1" >>confdefs.h
7411 PY_LIBS
="-L$PY_LIB/config -lpython$PY_VER -lpthread -lutil"
7412 PY_CFLAGS
="-I$PY_INC"
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7414 $as_echo "ok" >&6; }
7415 CFLAGS
="$CFLAGS $PY_CFLAGS"
7416 LIBS
="$LIBS $PY_LIBS"
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Can't find Python.h" >&5
7420 $as_echo "Can't find Python.h" >&6; }
7423 echo "Python too old. Only 2.2 or above is supported."
7429 if test "x$python" = "xyes"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBS" >&5
7439 $as_echo "$LIBS" >&6; }
7442 cat >>confdefs.h
<<_ACEOF
7443 #define CODENAME "${CODENAME}"
7454 ac_config_files
="$ac_config_files Makefile rx/Makefile src/Makefile"
7456 cat >confcache
<<\_ACEOF
7457 # This file is a shell script that caches the results of configure
7458 # tests run on this system so they can be shared between configure
7459 # scripts and configure runs, see configure's option --config-cache.
7460 # It is not useful on other systems. If it contains results you don't
7461 # want to keep, you may remove or edit it.
7463 # config.status only pays attention to the cache file if you give it
7464 # the --recheck option to rerun configure.
7466 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7467 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7472 # The following way of writing the cache mishandles newlines in values,
7473 # but we know of no workaround that is simple, portable, and efficient.
7474 # So, we kill variables containing newlines.
7475 # Ultrix sh set writes to stderr and can't be redirected directly,
7476 # and sets the high bit in the cache file unless we assign to the vars.
7478 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7479 eval ac_val
=\$
$ac_var
7483 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7484 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7487 _
| IFS
| as_nl
) ;; #(
7488 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
7489 *) { eval $ac_var=; unset $ac_var;} ;;
7495 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7496 *${as_nl}ac_space
=\
*)
7497 # `set' does not quote correctly, so add quotes: double-quote
7498 # substitution turns \\\\ into \\, and sed turns \\ into \.
7501 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7504 # `set' quotes correctly as required by POSIX, so do not add quotes.
7505 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7514 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7516 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7518 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7519 if test -w "$cache_file"; then
7520 if test "x$cache_file" != "x/dev/null"; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7522 $as_echo "$as_me: updating cache $cache_file" >&6;}
7523 if test ! -f "$cache_file" || test -h "$cache_file"; then
7524 cat confcache
>"$cache_file"
7526 case $cache_file in #(
7528 mv -f confcache
"$cache_file"$$
&&
7529 mv -f "$cache_file"$$
"$cache_file" ;; #(
7531 mv -f confcache
"$cache_file" ;;
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7537 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7542 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7543 # Let make expand exec_prefix.
7544 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7546 DEFS
=-DHAVE_CONFIG_H
7551 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7552 # 1. Remove the extension, and $U if already installed.
7553 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7554 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7555 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7556 # will be set to the directory where LIBOBJS objects are built.
7557 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7558 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7562 LTLIBOBJS
=$ac_ltlibobjs
7565 if test -n "$EXEEXT"; then
7567 am__EXEEXT_FALSE
='#'
7573 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7574 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
7575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7577 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7578 as_fn_error $?
"conditional \"AMDEP\" was never defined.
7579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7581 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7582 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
7583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7585 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7586 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
7587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7589 if test -z "${DO_PYTHON_TRUE}" && test -z "${DO_PYTHON_FALSE}"; then
7590 as_fn_error $?
"conditional \"DO_PYTHON\" was never defined.
7591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7594 : "${CONFIG_STATUS=./config.status}"
7596 ac_clean_files_save
=$ac_clean_files
7597 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7599 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7601 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7603 # Generated by $as_me.
7604 # Run this file to recreate the current configuration.
7605 # Compiler output produced by configure, useful for debugging
7606 # configure, is in config.log if it exists.
7612 SHELL=\${CONFIG_SHELL-$SHELL}
7615 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
7616 ## -------------------- ##
7617 ## M4sh Initialization. ##
7618 ## -------------------- ##
7620 # Be more Bourne compatible
7621 DUALCASE
=1; export DUALCASE
# for MKS sh
7622 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7625 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7626 # is contrary to our usage. Disable this feature.
7627 alias -g '${1+"$@"}'='"$@"'
7628 setopt NO_GLOB_SUBST
7630 case `(set -o) 2>/dev/null` in #(
7642 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7643 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7644 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7646 # Prefer a ksh shell builtin over an external printf program on Solaris,
7647 # but without wasting forks for bash or zsh.
7648 if test -z "$BASH_VERSION$ZSH_VERSION" \
7649 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7650 as_echo='print
-r --'
7651 as_echo_n='print
-rn --'
7652 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7653 as_echo='printf %s
\n'
7654 as_echo_n='printf %s
'
7656 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7657 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7658 as_echo_n='/usr
/ucb
/echo -n'
7660 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7661 as_echo_n_body='eval
7665 expr "X$arg" : "X\\(.*\\)$as_nl";
7666 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7668 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7670 export as_echo_n_body
7671 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7674 as_echo='sh
-c $as_echo_body as_echo
'
7677 # The user is always right.
7678 if test "${PATH_SEPARATOR+set}" != set; then
7680 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7681 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7688 # We need space, tab and new line, in precisely that order. Quoting is
7689 # there to prevent editors from complaining about space-tab.
7690 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7691 # splitting by setting IFS to empty value.)
7694 # Find who we are. Look in the path if we contain no directory separator.
7697 *[\\/]* ) as_myself=$0 ;;
7698 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir=.
7703 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7709 # We did not find ourselves, most probably we were run as `sh COMMAND'
7710 # in which case we are not to be found in the path.
7711 if test "x$as_myself" = x
; then
7714 if test ! -f "$as_myself"; then
7715 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7719 # Unset variables that we do not need and which cause bugs (e.g. in
7720 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7721 # suppresses any "Segmentation fault" message there. '((' could
7722 # trigger a bug in pdksh 5.2.14.
7723 for as_var
in BASH_ENV ENV MAIL MAILPATH
7724 do eval test x\
${$as_var+set} = xset \
7725 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
7738 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7741 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7742 # ----------------------------------------
7743 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7744 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7745 # script with STATUS, using 1 if that was 0.
7748 as_status
=$1; test $as_status -eq 0 && as_status
=1
7750 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7751 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7753 $as_echo "$as_me: error: $2" >&2
7754 as_fn_exit
$as_status
7758 # as_fn_set_status STATUS
7759 # -----------------------
7760 # Set $? to STATUS, without forking.
7764 } # as_fn_set_status
7768 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7778 # Portably unset VAR.
7781 { eval $1=; unset $1;}
7783 as_unset
=as_fn_unset
7784 # as_fn_append VAR VALUE
7785 # ----------------------
7786 # Append the text in VALUE to the end of the definition contained in VAR. Take
7787 # advantage of any shell optimizations that allow amortized linear growth over
7788 # repeated appends, instead of the typical quadratic growth present in naive
7790 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7791 eval 'as_fn_append ()
7802 # as_fn_arith ARG...
7803 # ------------------
7804 # Perform arithmetic evaluation on the ARGs, and store the result in the
7805 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7806 # must be portable across $(()) and expr.
7807 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7808 eval 'as_fn_arith ()
7815 as_val
=`expr "$@" || test $? -eq 1`
7820 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7821 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7827 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7828 as_basename
=basename
7833 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7839 as_me
=`$as_basename -- "$0" ||
7840 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7841 X"$0" : 'X\(//\)$' \| \
7842 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7844 sed '/^.*\/\([^/][^/]*\)\/*$/{
7858 # Avoid depending upon Character Ranges.
7859 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7860 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7861 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7862 as_cr_digits
='0123456789'
7863 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7865 ECHO_C
= ECHO_N
= ECHO_T
=
7866 case `echo -n x` in #(((((
7868 case `echo 'xy\c'` in
7869 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7871 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7878 rm -f conf$$ conf$$.exe conf$$.
file
7879 if test -d conf$$.dir
; then
7880 rm -f conf$$.dir
/conf$$.
file
7883 mkdir conf$$.dir
2>/dev
/null
7885 if (echo >conf$$.
file) 2>/dev
/null
; then
7886 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7888 # ... but there are two gotchas:
7889 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7890 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7891 # In both cases, we have to default to `cp -p'.
7892 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
7894 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7902 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7903 rmdir conf$$.dir
2>/dev
/null
7908 # Create "$as_dir" as a directory, including parents if necessary.
7913 -*) as_dir
=.
/$as_dir;;
7915 test -d "$as_dir" || eval $as_mkdir_p || {
7919 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7920 *) as_qdir
=$as_dir;;
7922 as_dirs
="'$as_qdir' $as_dirs"
7923 as_dir
=`$as_dirname -- "$as_dir" ||
7924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7925 X"$as_dir" : 'X\(//\)[^/]' \| \
7926 X"$as_dir" : 'X\(//\)$' \| \
7927 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7928 $as_echo X"$as_dir" |
7929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7946 test -d "$as_dir" && break
7948 test -z "$as_dirs" || eval "mkdir $as_dirs"
7949 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7953 if mkdir -p .
2>/dev
/null
; then
7954 as_mkdir_p
='mkdir -p "$as_dir"'
7956 test -d .
/-p && rmdir .
/-p
7960 if test -x / >/dev
/null
2>&1; then
7963 if ls -dL / >/dev
/null
2>&1; then
7970 if test -d "$1"; then
7976 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7977 ???[sx]*):;;*)false;;esac;fi
7981 as_executable_p
=$as_test_x
7983 # Sed expression to map a string onto a valid CPP name.
7984 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7986 # Sed expression to map a string onto a valid variable name.
7987 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7991 ## ----------------------------------- ##
7992 ## Main body of $CONFIG_STATUS script. ##
7993 ## ----------------------------------- ##
7995 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7997 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
7998 # Save the log message, to keep $0 and so on meaningful, and to
7999 # report actual input values of CONFIG_FILES etc. instead of their
8000 # values after options handling.
8002 This file was extended by X3 $as_me 1.9, which was
8003 generated by GNU Autoconf 2.68. Invocation command line was
8005 CONFIG_FILES = $CONFIG_FILES
8006 CONFIG_HEADERS = $CONFIG_HEADERS
8007 CONFIG_LINKS = $CONFIG_LINKS
8008 CONFIG_COMMANDS = $CONFIG_COMMANDS
8011 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8016 case $ac_config_files in *"
8017 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8020 case $ac_config_headers in *"
8021 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8026 # Files that config.status was made for.
8027 config_files="$ac_config_files"
8028 config_headers="$ac_config_headers"
8029 config_commands="$ac_config_commands"
8033 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8035 \`$as_me' instantiates files and other configuration actions
8036 from templates according to the current configuration. Unless the files
8037 and actions are specified as TAGs, all are instantiated by default.
8039 Usage: $0 [OPTION]... [TAG]...
8041 -h, --help print this help, then exit
8042 -V, --version print version number and configuration settings, then exit
8043 --config print configuration, then exit
8044 -q, --quiet, --silent
8045 do not print progress messages
8046 -d, --debug don't remove temporary files
8047 --recheck update $as_me by reconfiguring in the same conditions
8048 --file=FILE[:TEMPLATE]
8049 instantiate the configuration file FILE
8050 --header=FILE[:TEMPLATE]
8051 instantiate the configuration header FILE
8053 Configuration files:
8056 Configuration headers:
8059 Configuration commands:
8062 Report bugs to <evilnet-devel@lists.sourceforge.net>."
8065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8066 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8068 X3 config.status 1.9
8069 configured by $0, generated by GNU Autoconf 2.68,
8070 with options \\"\$ac_cs_config\\"
8072 Copyright (C) 2010 Free Software Foundation, Inc.
8073 This config.status script is free software; the Free Software Foundation
8074 gives unlimited permission to copy, distribute and modify it."
8081 test -n "\$AWK" || AWK=awk
8084 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8085 # The default lists apply if the user does not specify any file.
8091 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8092 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8096 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8108 # Handling of the options.
8109 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8111 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8112 $as_echo "$ac_cs_version"; exit ;;
8113 --config | --confi | --conf | --con | --co | --c )
8114 $as_echo "$ac_cs_config"; exit ;;
8115 --debug | --debu | --deb | --de | --d | -d )
8117 --file | --fil | --fi | --f )
8120 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8121 '') as_fn_error $?
"missing file argument" ;;
8123 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8124 ac_need_defaults
=false
;;
8125 --header | --heade | --head | --hea )
8128 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8130 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8131 ac_need_defaults
=false
;;
8133 # Conflict between --help and --header
8134 as_fn_error $?
"ambiguous option: \`$1'
8135 Try \`$0 --help' for more information.";;
8136 --help | --hel | -h )
8137 $as_echo "$ac_cs_usage"; exit ;;
8138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8139 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8143 -*) as_fn_error $?
"unrecognized option: \`$1'
8144 Try \`$0 --help' for more information." ;;
8146 *) as_fn_append ac_config_targets
" $1"
8147 ac_need_defaults
=false
;;
8153 ac_configure_extra_args
=
8155 if $ac_cs_silent; then
8157 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8162 if \$ac_cs_recheck; then
8163 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8165 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8166 CONFIG_SHELL='$SHELL'
8172 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8176 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8177 ## Running $as_me. ##
8183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8187 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8191 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8193 # Handling of arguments.
8194 for ac_config_target
in $ac_config_targets
8196 case $ac_config_target in
8197 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
8198 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8199 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8200 "rx/Makefile") CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
8201 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
8203 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8208 # If the user did not use the arguments to specify the items to instantiate,
8209 # then the envvar interface is used. Set only those that are not.
8210 # We use the long form for the default assignment because of an extremely
8211 # bizarre bug on SunOS 4.1.3.
8212 if $ac_need_defaults; then
8213 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8214 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8215 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8218 # Have a temporary directory for convenience. Make it in the build tree
8219 # simply because there is no reason against having it here, and in addition,
8220 # creating and moving files from /tmp can sometimes cause problems.
8221 # Hook for its removal unless debugging.
8222 # Note that there is a small window in which the directory will not be cleaned:
8223 # after its creation but before its name has been assigned to `$tmp'.
8227 trap 'exit_status=$?
8229 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8231 trap 'as_fn_exit 1' 1 2 13 15
8233 # Create a (secure) tmp directory for tmp files.
8236 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8240 tmp
=.
/conf$$
-$RANDOM
8241 (umask 077 && mkdir "$tmp")
8242 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
8245 # Set up the scripts for CONFIG_FILES section.
8246 # No need to generate them if there are no CONFIG_FILES.
8247 # This happens for instance with `./config.status config.h'.
8248 if test -n "$CONFIG_FILES"; then
8251 ac_cr
=`echo X | tr X '\015'`
8252 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8253 # But we know of no other shell where ac_cr would be empty at this
8254 # point, so we can use a bashism as a fallback.
8255 if test "x$ac_cr" = x
; then
8256 eval ac_cr
=\$
\'\\r
\'
8258 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8259 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8265 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8270 echo "cat >conf$$subs.awk <<_ACEOF" &&
8271 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8274 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8275 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8277 for ac_last_try in false false false false false :; do
8278 . ./conf$$subs.sh ||
8279 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8281 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8282 if test $ac_delim_n = $ac_delim_num; then
8284 elif $ac_last_try; then
8285 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8287 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8293 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
8297 s/^/S["/; s
/!.
*/"]=/
8307 s/\(.\{148\}\)..*/\1/
8309 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8314 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8321 s/\(.\{148\}\)..*/\1/
8323 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8327 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8332 ' <conf$$subs.awk | sed '
8337 ' >>$CONFIG_STATUS || ac_write_fail=1
8338 rm -f conf$$subs.awk
8339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8341 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8342 for (key in S) S_is_set[key] = 1
8348 nfields = split(line, field, "@
")
8350 len = length(field[1])
8351 for (i = 2; i < nfields; i++) {
8353 keylen = length(key)
8354 if (S_is_set[key]) {
8356 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8357 len += length(value) + length(field[++i])
8368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8369 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8370 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8373 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8374 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8377 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8378 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8379 # trailing colons and then remove the whole line if VPATH becomes empty
8380 # (actually we leave an empty line to preserve line numbers).
8381 if test "x
$srcdir" = x.; then
8382 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8401 fi # test -n "$CONFIG_FILES"
8403 # Set up the scripts for CONFIG_HEADERS section.
8404 # No need to generate them if there are no CONFIG_HEADERS.
8405 # This happens for instance with `./config.status Makefile'.
8406 if test -n "$CONFIG_HEADERS"; then
8407 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8411 # Transform confdefs.h into an awk script `defines.awk', embedded as
8412 # here-document in config.status, that substitutes the proper values into
8413 # config.h.in to produce config.h.
8415 # Create a delimiter string that does not exist in confdefs.h, to ease
8416 # handling of long lines.
8418 for ac_last_try in false false :; do
8419 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8420 if test -z "$ac_tt"; then
8422 elif $ac_last_try; then
8423 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8425 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8429 # For the awk script, D is an array of macro values keyed by name,
8430 # likewise P contains macro parameters if any. Preserve backslash
8431 # newline sequences.
8433 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8435 s/.\{148\}/&'"$ac_delim"'/g
8438 s/^[ ]*#[ ]*define[ ][ ]*/ /
8445 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8447 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8451 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8452 D["\
1"]=" \
3\\\\\\n
"\\/p
8454 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8459 s/.\{148\}/&'"$ac_delim"'/g
8464 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8467 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8469 ' <confdefs.h | sed '
8470 s/'"$ac_delim"'/"\\\
8471 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8474 for (key in D) D_is_set[key] = 1
8477 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8479 split(line, arg, " ")
8480 if (arg[1] == "#") {
8484 defundef
= substr
(arg
[1], 2)
8487 split(mac1
, mac2
, "(") #)
8489 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8490 if (D_is_set
[macro
]) {
8491 # Preserve the white space surrounding the "#".
8492 print prefix
"define", macro P
[macro
] D
[macro
]
8495 # Replace #undef with comments. This is necessary, for example,
8496 # in the case of _POSIX_SOURCE, which is predefined and required
8497 # on some systems where configure will not decide to define it.
8498 if (defundef
== "undef") {
8499 print
"/*", prefix defundef
, macro
, "*/"
8507 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8508 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8509 fi # test -n "$CONFIG_HEADERS"
8512 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8517 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8519 case $ac_mode$ac_tag in
8521 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8522 :[FH
]-) ac_tag
=-:-;;
8523 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8540 -) ac_f
="$ac_tmp/stdin";;
8541 *) # Look for the file first in the build tree, then in the source tree
8542 # (if the path is not absolute). The absolute path cannot be DOS-style,
8543 # because $ac_f cannot contain `:'.
8547 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8549 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8551 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8552 as_fn_append ac_file_inputs
" '$ac_f'"
8555 # Let's still pretend it is `configure' which instantiates (i.e., don't
8556 # use $as_me), people would be surprised to read:
8557 # /* config.h. Generated by config.status. */
8558 configure_input
='Generated from '`
8559 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8561 if test x
"$ac_file" != x
-; then
8562 configure_input
="$ac_file. $configure_input"
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8564 $as_echo "$as_me: creating $ac_file" >&6;}
8566 # Neutralize special characters interpreted by sed in replacement strings.
8567 case $configure_input in #(
8568 *\
&* | *\
|* | *\\* )
8569 ac_sed_conf_input
=`$as_echo "$configure_input" |
8570 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8571 *) ac_sed_conf_input
=$configure_input;;
8575 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8576 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8581 ac_dir
=`$as_dirname -- "$ac_file" ||
8582 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8583 X"$ac_file" : 'X\(//\)[^/]' \| \
8584 X"$ac_file" : 'X\(//\)$' \| \
8585 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8586 $as_echo X"$ac_file" |
8587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8604 as_dir
="$ac_dir"; as_fn_mkdir_p
8608 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8610 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8611 # A ".." for each directory in $ac_dir_suffix.
8612 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8613 case $ac_top_builddir_sub in
8614 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8615 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8618 ac_abs_top_builddir
=$ac_pwd
8619 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8620 # for backward compatibility:
8621 ac_top_builddir
=$ac_top_build_prefix
8624 .
) # We are building in place.
8626 ac_top_srcdir
=$ac_top_builddir_sub
8627 ac_abs_top_srcdir
=$ac_pwd ;;
8628 [\\/]* | ?
:[\\/]* ) # Absolute name.
8629 ac_srcdir
=$srcdir$ac_dir_suffix;
8630 ac_top_srcdir
=$srcdir
8631 ac_abs_top_srcdir
=$srcdir ;;
8633 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8634 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8635 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8637 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8647 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8648 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8652 [\\/$
]* | ?
:[\\/]* ) ;;
8653 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8657 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8658 # If the template does not know about datarootdir, expand it.
8659 # FIXME: This hack should be removed a few years after 2.60.
8660 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8671 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8672 *datarootdir
*) ac_datarootdir_seen
=yes;;
8673 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8675 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8678 ac_datarootdir_hack='
8679 s&@datadir@&$datadir&g
8680 s&@docdir@&$docdir&g
8681 s&@infodir@&$infodir&g
8682 s&@localedir@&$localedir&g
8683 s&@mandir@&$mandir&g
8684 s&\\\${datarootdir}&$datarootdir&g' ;;
8688 # Neutralize VPATH when `$srcdir' = `.'.
8689 # Shell code in configure.ac might set extrasub.
8690 # FIXME: do we really want to maintain this feature?
8691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8692 ac_sed_extra="$ac_vpsub
8695 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8697 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
8698 s
|@configure_input@
|$ac_sed_conf_input|;t t
8699 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8700 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8701 s
&@srcdir@
&$ac_srcdir&;t t
8702 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8703 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8704 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8705 s
&@builddir@
&$ac_builddir&;t t
8706 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8707 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8708 s
&@INSTALL@
&$ac_INSTALL&;t t
8709 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8710 $ac_datarootdir_hack
8712 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8713 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8715 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8716 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8717 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8718 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8720 which seems to be undefined. Please make sure it is defined" >&5
8721 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8722 which seems to be undefined. Please make sure it is defined" >&2;}
8724 rm -f "$ac_tmp/stdin"
8726 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8727 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8729 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8735 if test x"$ac_file" != x-; then
8737 $as_echo "/* $configure_input */" \
8738 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8739 } >"$ac_tmp/config.h" \
8740 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8741 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8743 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8746 mv "$ac_tmp/config.h" "$ac_file" \
8747 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8750 $as_echo "/* $configure_input */" \
8751 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8752 || as_fn_error $? "could not create -" "$LINENO" 5
8754 # Compute "$ac_file"'s index
in $config_headers.
8757 for _am_header
in $config_headers :; do
8759 $_am_arg | $_am_arg:* )
8762 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8765 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8766 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8767 X"$_am_arg" : 'X\(//\)[^/]' \| \
8768 X"$_am_arg" : 'X\(//\)$' \| \
8769 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8770 $as_echo X"$_am_arg" |
8771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8787 s/.*/./; q'`/stamp
-h$_am_stamp_count
8790 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8791 $as_echo "$as_me: executing $ac_file commands" >&6;}
8796 case $ac_file$ac_mode in
8797 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
8798 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8799 # are listed without --file. Let's play safe and only enable the eval
8800 # if we detect the quoting.
8801 case $CONFIG_FILES in
8802 *\'*) eval set x
"$CONFIG_FILES" ;;
8803 *) set x
$CONFIG_FILES ;;
8808 # Strip MF so we end up with the name of the file.
8809 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8810 # Check whether this is an Automake generated Makefile or not.
8811 # We used to match only the files named `Makefile.in', but
8812 # some people rename them; so instead we look at the file content.
8813 # Grep'ing the first line is not enough: some people post-process
8814 # each Makefile.in and add a new line on top of each file to say so.
8815 # Grep'ing the whole file is not good either: AIX grep has a line
8816 # limit of 2048, but all sed's we know have understand at least 4000.
8817 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
8818 dirpart
=`$as_dirname -- "$mf" ||
8819 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8820 X"$mf" : 'X\(//\)[^/]' \| \
8821 X"$mf" : 'X\(//\)$' \| \
8822 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8844 # Extract the definition of DEPDIR, am__include, and am__quote
8845 # from the Makefile without running `make'.
8846 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8847 test -z "$DEPDIR" && continue
8848 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8849 test -z "am__include" && continue
8850 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8851 # When using ansi2knr, U may be empty or an underscore; expand it
8852 U
=`sed -n 's/^U = //p' < "$mf"`
8853 # Find all dependency output files, they are included files with
8854 # $(DEPDIR) in their names. We invoke sed twice because it is the
8855 # simplest approach to changing $(DEPDIR) to its actual value in the
8857 for file in `sed -n "
8858 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8859 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8860 # Make sure the directory exists.
8861 test -f "$dirpart/$file" && continue
8862 fdir
=`$as_dirname -- "$file" ||
8863 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8864 X"$file" : 'X\(//\)[^/]' \| \
8865 X"$file" : 'X\(//\)$' \| \
8866 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8885 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8886 # echo "creating $dirpart/$file"
8887 echo '# dummy' > "$dirpart/$file"
8899 ac_clean_files
=$ac_clean_files_save
8901 test $ac_write_fail = 0 ||
8902 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8905 # configure is writing to config.log, and then calls config.status.
8906 # config.status does its own redirection, appending to config.log.
8907 # Unfortunately, on DOS this fails, as config.log is still kept open
8908 # by configure, so config.status won't be able to write to it; its
8909 # output is simply discarded. So we exec the FD to /dev/null,
8910 # effectively closing config.log, so it can be properly (re)opened and
8911 # appended to by config.status. When coming back to configure, we
8912 # need to make the FD available again.
8913 if test "$no_create" != yes; then
8915 ac_config_status_args
=
8916 test "$silent" = yes &&
8917 ac_config_status_args
="$ac_config_status_args --quiet"
8919 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8921 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8922 # would make configure fail if this is the last instruction.
8923 $ac_cs_success || as_fn_exit
1
8925 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8927 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8935 Configuration summary
8936 =====================
8938 X3 is now configured as follows:
8940 * Compilation environment
8945 CPPFLAGS = $CPPFLAGS
8953 Extra Modules: $module_list
8956 Regexp Library TRE $tre_version
8957 Coredumper Library Coredumper $core_version
8963 Now you can proceed with compiling X3