2 # From configure.in Id: configure.in 1718 2006-08-01 05:30:41Z sirvulcan .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for X3 1.5.
6 # Report bugs to <evilnet-devel@lists.sourceforge.net>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
273 PACKAGE_VERSION
='1.5'
274 PACKAGE_STRING
='X3 1.5'
275 PACKAGE_BUGREPORT
='evilnet-devel@lists.sourceforge.net'
277 ac_unique_file
="src/opserv.c"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB LN_S CPP EGREP MAKER ALLOCA MODULE_OBJS MY_SUBDIRS RX_INCLUDES RX_LIBS TRACK LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev
=build_alias
;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev
=cache_file
;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
438 ac_init_help
=short
;;
440 -host | --host | --hos | --ho)
441 ac_prev
=host_alias
;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev
=includedir
;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev
=target_alias
;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias
=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
778 # Report the --help message.
780 if test "$ac_init_help" = "long"; then
781 # Omit some internal or obsolete options to make the list less imposing.
782 # This message is too long to be a string in the A/UX 3.1 sh.
784 \`configure' configures X3 1.5 to adapt to many kinds of systems.
786 Usage: $0 [OPTION]... [VAR=VALUE]...
788 To assign environment variables (e.g., CC, CFLAGS...), specify them as
789 VAR=VALUE. See below for descriptions of some of the useful variables.
791 Defaults for the options are specified in brackets.
794 -h, --help display this help and exit
795 --help=short display options specific to this package
796 --help=recursive display the short help of all the included packages
797 -V, --version display version information and exit
798 -q, --quiet, --silent do not print \`checking...' messages
799 --cache-file=FILE cache test results in FILE [disabled]
800 -C, --config-cache alias for \`--cache-file=config.cache'
801 -n, --no-create do not create output files
802 --srcdir=DIR find the sources in DIR [configure dir or \`..']
807 Installation directories:
808 --prefix=PREFIX install architecture-independent files in PREFIX
810 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
813 By default, \`make install' will install all the files in
814 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
815 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
816 for instance \`--prefix=\$HOME'.
818 For better control, use the options below.
820 Fine tuning of the installation directories:
821 --bindir=DIR user executables [EPREFIX/bin]
822 --sbindir=DIR system admin executables [EPREFIX/sbin]
823 --libexecdir=DIR program executables [EPREFIX/libexec]
824 --datadir=DIR read-only architecture-independent data [PREFIX/share]
825 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
826 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
827 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
828 --libdir=DIR object code libraries [EPREFIX/lib]
829 --includedir=DIR C header files [PREFIX/include]
830 --oldincludedir=DIR C header files for non-gcc [/usr/include]
831 --infodir=DIR info documentation [PREFIX/info]
832 --mandir=DIR man documentation [PREFIX/man]
838 --program-prefix=PREFIX prepend PREFIX to installed program names
839 --program-suffix=SUFFIX append SUFFIX to installed program names
840 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
843 --build=BUILD configure
for building on BUILD
[guessed
]
844 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
845 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
849 if test -n "$ac_init_help"; then
850 case $ac_init_help in
851 short
| recursive
) echo "Configuration of X3 1.5:";;
856 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
857 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
858 --enable-maintainer-mode enable make rules and dependencies not useful
859 (and sometimes confusing
) to the casual installer
860 --disable-dependency-tracking speeds up one
-time build
861 --enable-dependency-tracking do not reject slow dependency extractors
862 --disable-tokens Disables tokenization of P10 protocol output
863 (tokens required
if linking to ircu
2.10.11)
864 --enable-debug Enables debugging behaviors
865 --enable-modules=list
,of
,modules Enable extra modules
868 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
869 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
870 --with-malloc=type Enables use of a special malloc library
; one of
:
871 system
(the default
), boehm
-gc, dmalloc
, mpatrol
, x3
, slab
872 --with-protocol=name Choose IRC dialect to support
; one of
:
874 --without-getopt Disables building of the GNU getopt library
875 --with-tre=PATH Base path to where libtre is installed
, such that PATH
/lib
/libtre.so and PATH
/include
/tre
/regex.h exist.
877 Some influential environment variables
:
878 CC C compiler
command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
881 nonstandard directory
<lib dir
>
882 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
883 headers
in a nonstandard directory
<include dir
>
886 Use these variables to override the choices made by
`configure' or to help
887 it to find libraries and programs with nonstandard names/locations.
889 Report bugs to <evilnet-devel@lists.sourceforge.net>.
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897 test -d $ac_dir || continue
900 if test "$ac_dir" != .; then
901 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
905 ac_dir_suffix= ac_top_builddir=
909 .) # No --srcdir option. We are building in place.
911 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
916 [\\/]* | ?:[\\/]* ) # Absolute path.
917 ac_srcdir=$srcdir$ac_dir_suffix;
918 ac_top_srcdir=$srcdir ;;
920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
924 # Do not use `cd foo
&& pwd` to compute absolute paths, because
925 # the directories may not exist.
927 .) ac_abs_builddir="$ac_dir";;
930 .) ac_abs_builddir=`pwd`;;
931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
935 case $ac_abs_builddir in
936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
938 case ${ac_top_builddir}. in
939 .) ac_abs_top_builddir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
944 case $ac_abs_builddir in
945 .) ac_abs_srcdir=$ac_srcdir;;
948 .) ac_abs_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
953 case $ac_abs_builddir in
954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
956 case $ac_top_srcdir in
957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu; then
967 $SHELL $ac_srcdir/configure.gnu --help=recursive
968 elif test -f $ac_srcdir/configure; then
970 $SHELL $ac_srcdir/configure --help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.in; then
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
986 generated by GNU Autoconf 2.59
988 Copyright (C) 2003 Free Software Foundation, Inc.
989 This configure script is free software; the Free Software Foundation
990 gives unlimited permission to copy, distribute and modify it.
996 This file contains any messages produced by compilers while
997 running configure, to aid debugging if configure makes a mistake.
999 It was created by X3 $as_me 1.5, which was
1000 generated by GNU Autoconf 2.59. Invocation command line was
1011 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1012 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1013 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1014 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1015 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1017 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1018 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1020 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1021 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1022 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1023 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1024 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1025 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1026 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1034 test -z "$as_dir" && as_dir=.
1035 echo "PATH: $as_dir"
1050 # Keep a trace of the command line.
1051 # Strip out --no-create and --no-recursion so they do not pile up.
1052 # Strip out --silent because we don't want to record it for future runs.
1053 # Also quote any args containing shell meta-characters.
1054 # Make two passes to allow for proper duplicate-argument suppression.
1059 ac_must_keep_next=false
1065 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067 | -silent | --silent | --silen | --sile | --sil)
1069 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1073 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1075 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1076 if test $ac_must_keep_next = true; then
1077 ac_must_keep_next=false # Got value, back to normal.
1080 *=* | --config-cache | -C | -disable-* | --disable-* \
1081 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1082 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1083 | -with-* | --with-* | -without-* | --without-* | --x)
1084 case "$ac_configure_args0 " in
1085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 -* ) ac_must_keep_next=true ;;
1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1092 # Get rid of the leading space.
1098 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1099 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1101 # When interrupted or exit'd, cleanup temporary files, and complete
1102 # config.log. We remove comments because anyway the quotes in there
1103 # would cause problems or look ugly.
1104 # WARNING: Be sure not to use single quotes in there, as some shells,
1105 # such as our DU 5.0 friend, will then `close
' the trap.
1106 trap 'exit_status
=$?
1107 # Save into config.log some information that might help in debugging.
1112 ## ---------------- ##
1113 ## Cache variables. ##
1114 ## ---------------- ##
1117 # The following way of writing the cache mishandles newlines in values,
1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1135 ## ----------------- ##
1136 ## Output variables. ##
1137 ## ----------------- ##
1140 for ac_var
in $ac_subst_vars
1142 eval ac_val
=$
`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1147 if test -n "$ac_subst_files"; then
1154 for ac_var
in $ac_subst_files
1156 eval ac_val
=$
`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -s confdefs.h
; then
1169 sed "/^$/d" confdefs.h
| sort
1172 test "$ac_signal" != 0 &&
1173 echo "$as_me: caught signal $ac_signal"
1174 echo "$as_me: exit $exit_status"
1176 rm -f core
*.core
&&
1177 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1180 for ac_signal in 1 2 13 15; do
1181 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1186 rm -rf conftest* confdefs.h
1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1190 # Predefined preprocessor variables.
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_NAME "$PACKAGE_NAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_STRING "$PACKAGE_STRING"
1212 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1217 # Let the site file select an alternate cache file if it wants to.
1218 # Prefer explicitly selected file to automatically selected ones.
1219 if test -z "$CONFIG_SITE"; then
1220 if test "x$prefix" != xNONE; then
1221 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1223 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1226 for ac_site_file in $CONFIG_SITE; do
1227 if test -r "$ac_site_file"; then
1228 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1229 echo "$as_me: loading site script $ac_site_file" >&6;}
1230 sed 's
/^
/| /' "$ac_site_file" >&5
1235 if test -r "$cache_file"; then
1236 # Some versions of bash will fail to source /dev/null (special
1237 # files actually), so we avoid doing that.
1238 if test -f "$cache_file"; then
1239 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1240 echo "$as_me: loading cache $cache_file" >&6;}
1242 [\\/]* | ?:[\\/]* ) . $cache_file;;
1243 *) . ./$cache_file;;
1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1248 echo "$as_me: creating cache $cache_file" >&6;}
1252 # Check that the precious variables saved in the cache have kept the same
1254 ac_cache_corrupted=false
1255 for ac_var in `(set) 2>&1 |
1256 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1258 eval ac_new_set=\$ac_env_${ac_var}_set
1259 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1260 eval ac_new_val="\$ac_env_${ac_var}_value"
1261 case $ac_old_set,$ac_new_set in
1263 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1265 ac_cache_corrupted=: ;;
1267 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1269 ac_cache_corrupted=: ;;
1272 if test "x$ac_old_val" != "x$ac_new_val"; then
1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1274 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1276 echo "$as_me: former value: $ac_old_val" >&2;}
1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1278 echo "$as_me: current value: $ac_new_val" >&2;}
1279 ac_cache_corrupted=:
1282 # Pass precious variables to config.status.
1283 if test "$ac_new_set" = set; then
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 *) ac_arg=$ac_var=$ac_new_val ;;
1289 case " $ac_configure_args " in
1290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1291 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1295 if $ac_cache_corrupted; then
1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1298 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1299 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1300 { (exit 1); exit 1; }; }
1304 ac_cpp='$CPP $CPPFLAGS'
1305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1306 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1336 ac_config_headers="$ac_config_headers src/config.h"
1340 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1341 if test -f $ac_dir/install-sh; then
1343 ac_install_sh="$ac_aux_dir/install-sh -c"
1345 elif test -f $ac_dir/install.sh; then
1347 ac_install_sh="$ac_aux_dir/install.sh -c"
1349 elif test -f $ac_dir/shtool; then
1351 ac_install_sh="$ac_aux_dir/shtool install -c"
1355 if test -z "$ac_aux_dir"; then
1356 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1357 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1358 { (exit 1); exit 1; }; }
1360 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1361 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1362 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1364 # Make sure we can run config.sub.
1365 $ac_config_sub sun4 >/dev/null 2>&1 ||
1366 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1367 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1368 { (exit 1); exit 1; }; }
1370 echo "$as_me:$LINENO: checking build system type" >&5
1371 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1372 if test "${ac_cv_build+set}" = set; then
1373 echo $ECHO_N "(cached) $ECHO_C" >&6
1375 ac_cv_build_alias=$build_alias
1376 test -z "$ac_cv_build_alias" &&
1377 ac_cv_build_alias=`$ac_config_guess`
1378 test -z "$ac_cv_build_alias" &&
1379 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1380 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1381 { (exit 1); exit 1; }; }
1382 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1383 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1384 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1385 { (exit 1); exit 1; }; }
1388 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1389 echo "${ECHO_T}$ac_cv_build" >&6
1391 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1392 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1393 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1396 echo "$as_me:$LINENO: checking host system type" >&5
1397 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1398 if test "${ac_cv_host+set}" = set; then
1399 echo $ECHO_N "(cached) $ECHO_C" >&6
1401 ac_cv_host_alias=$host_alias
1402 test -z "$ac_cv_host_alias" &&
1403 ac_cv_host_alias=$ac_cv_build_alias
1404 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1405 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1406 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1407 { (exit 1); exit 1; }; }
1410 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1411 echo "${ECHO_T}$ac_cv_host" >&6
1413 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1414 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1415 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1418 echo "$as_me:$LINENO: checking target system type" >&5
1419 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1420 if test "${ac_cv_target+set}" = set; then
1421 echo $ECHO_N "(cached) $ECHO_C" >&6
1423 ac_cv_target_alias=$target_alias
1424 test "x$ac_cv_target_alias" = "x" &&
1425 ac_cv_target_alias=$ac_cv_host_alias
1426 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1427 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1428 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1429 { (exit 1); exit 1; }; }
1432 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1433 echo "${ECHO_T}$ac_cv_target" >&6
1434 target=$ac_cv_target
1435 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1436 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1437 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1440 # The aliases save the names the user supplied, while $host etc.
1441 # will get canonicalized.
1442 test -n "$target_alias" &&
1443 test "$program_prefix$program_suffix$program_transform_name" = \
1445 program_prefix=${target_alias}-
1446 am__api_version="1.9"
1447 # Find a good install program. We prefer a C program (faster),
1448 # so one script is as good as another. But avoid the broken or
1449 # incompatible versions:
1450 # SysV /etc/install, /usr/sbin/install
1451 # SunOS /usr/etc/install
1452 # IRIX /sbin/install
1454 # AmigaOS /C/install, which installs bootblocks on floppy discs
1455 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1456 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1457 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1458 # OS/2's system install, which has a completely different semantic
1459 # ./install, which can be erroneously created by make from ./install.sh.
1460 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1461 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1462 if test -z "$INSTALL"; then
1463 if test "${ac_cv_path_install+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1470 test -z "$as_dir" && as_dir
=.
1471 # Account for people who put trailing slashes in PATH elements.
1473 .
/ | .
// | /cC
/* | \
1474 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
1475 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1478 # OSF1 and SCO ODT 3.0 have their own names for install.
1479 # Don't use installbsd from OSF since it installs stuff as root
1481 for ac_prog
in ginstall scoinst
install; do
1482 for ac_exec_ext
in '' $ac_executable_extensions; do
1483 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1484 if test $ac_prog = install &&
1485 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1486 # AIX install. It has an incompatible calling convention.
1488 elif test $ac_prog = install &&
1489 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1490 # program-specific install script used by HP pwplus--don't use.
1493 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1505 if test "${ac_cv_path_install+set}" = set; then
1506 INSTALL
=$ac_cv_path_install
1508 # As a last resort, use the slow shell script. We don't cache a
1509 # path for INSTALL within a source directory, because that will
1510 # break other packages using the cache if that directory is
1511 # removed, or if the path is relative.
1512 INSTALL
=$ac_install_sh
1515 echo "$as_me:$LINENO: result: $INSTALL" >&5
1516 echo "${ECHO_T}$INSTALL" >&6
1518 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1519 # It thinks the first close brace ends the variable substitution.
1520 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1522 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1524 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1526 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1527 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1530 echo timestamp
> conftest.
file
1531 # Do `set' in a subshell so we don't clobber the current shell's
1532 # arguments. Must try -L first in case configure is actually a
1533 # symlink; some systems play weird games with the mod time of symlinks
1534 # (eg FreeBSD returns the mod time of the symlink's containing
1537 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1538 if test "$*" = "X"; then
1540 set X
`ls -t $srcdir/configure conftest.file`
1543 if test "$*" != "X $srcdir/configure conftest.file" \
1544 && test "$*" != "X conftest.file $srcdir/configure"; then
1546 # If neither matched, then we have a broken ls. This can happen
1547 # if, for instance, CONFIG_SHELL is bash and it inherits a
1548 # broken ls alias from the environment. This has actually
1549 # happened. Such a system could not be considered "sane".
1550 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1551 alias in your environment" >&5
1552 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1553 alias in your environment" >&2;}
1554 { (exit 1); exit 1; }; }
1557 test "$2" = conftest.
file
1563 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1564 Check your system clock" >&5
1565 echo "$as_me: error: newly created file is older than distributed files!
1566 Check your system clock" >&2;}
1567 { (exit 1); exit 1; }; }
1569 echo "$as_me:$LINENO: result: yes" >&5
1570 echo "${ECHO_T}yes" >&6
1571 test "$program_prefix" != NONE
&&
1572 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1573 # Use a double $ so make ignores it.
1574 test "$program_suffix" != NONE
&&
1575 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1576 # Double any \ or $. echo might interpret backslashes.
1577 # By default was `s,x,x', remove it if useless.
1578 cat <<\_ACEOF
>conftest.
sed
1579 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1581 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1584 # expand $ac_aux_dir to an absolute path
1585 am_aux_dir
=`cd $ac_aux_dir && pwd`
1587 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
1588 # Use eval to expand $SHELL
1589 if eval "$MISSING --run true"; then
1590 am_missing_run
="$MISSING --run "
1593 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1594 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1597 if mkdir -p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1598 # We used to keeping the `.' as first argument, in order to
1599 # allow $(mkdir_p) to be used without argument. As in
1600 # $(mkdir_p) $(somedir)
1601 # where $(somedir) is conditionally defined. However this is wrong
1603 # 1. if the package is installed by a user who cannot write `.'
1604 # make install will fail,
1605 # 2. the above comment should most certainly read
1606 # $(mkdir_p) $(DESTDIR)$(somedir)
1607 # so it does not work when $(somedir) is undefined and
1608 # $(DESTDIR) is not.
1609 # To support the latter case, we have to write
1610 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1611 # so the `.' trick is pointless.
1612 mkdir_p
='mkdir -p --'
1614 # On NextStep and OpenStep, the `mkdir' command does not
1615 # recognize any option. It will interpret all options as
1616 # directories to create, and then abort because `.' already
1618 for d
in .
/-p .
/--version;
1620 test -d $d && rmdir $d
1622 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1623 if test -f "$ac_aux_dir/mkinstalldirs"; then
1624 mkdir_p
='$(mkinstalldirs)'
1626 mkdir_p
='$(install_sh) -d'
1630 for ac_prog
in gawk mawk nawk
awk
1632 # Extract the first word of "$ac_prog", so it can be a program name with args.
1633 set dummy
$ac_prog; ac_word
=$2
1634 echo "$as_me:$LINENO: checking for $ac_word" >&5
1635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1636 if test "${ac_cv_prog_AWK+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1639 if test -n "$AWK"; then
1640 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1646 test -z "$as_dir" && as_dir
=.
1647 for ac_exec_ext
in '' $ac_executable_extensions; do
1648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1649 ac_cv_prog_AWK
="$ac_prog"
1650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1659 if test -n "$AWK"; then
1660 echo "$as_me:$LINENO: result: $AWK" >&5
1661 echo "${ECHO_T}$AWK" >&6
1663 echo "$as_me:$LINENO: result: no" >&5
1664 echo "${ECHO_T}no" >&6
1667 test -n "$AWK" && break
1670 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1671 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1672 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1673 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1674 echo $ECHO_N "(cached) $ECHO_C" >&6
1676 cat >conftest.
make <<\_ACEOF
1678 @
echo 'ac_maketemp="$(MAKE)"'
1680 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1681 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1682 if test -n "$ac_maketemp"; then
1683 eval ac_cv_prog_make_
${ac_make}_set
=yes
1685 eval ac_cv_prog_make_
${ac_make}_set
=no
1689 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1690 echo "$as_me:$LINENO: result: yes" >&5
1691 echo "${ECHO_T}yes" >&6
1694 echo "$as_me:$LINENO: result: no" >&5
1695 echo "${ECHO_T}no" >&6
1696 SET_MAKE
="MAKE=${MAKE-make}"
1699 rm -rf .tst
2>/dev
/null
1700 mkdir .tst
2>/dev
/null
1701 if test -d .tst
; then
1706 rmdir .tst
2>/dev
/null
1708 # test to see if srcdir already configured
1709 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1710 test -f $srcdir/config.status
; then
1711 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1712 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1713 { (exit 1); exit 1; }; }
1716 # test whether we have cygpath
1717 if test -z "$CYGPATH_W"; then
1718 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1719 CYGPATH_W
='cygpath -w'
1726 # Define the identity of the package.
1731 cat >>confdefs.h
<<_ACEOF
1732 #define PACKAGE "$PACKAGE"
1736 cat >>confdefs.h
<<_ACEOF
1737 #define VERSION "$VERSION"
1740 # Some tools Automake needs.
1742 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1745 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1748 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1751 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1754 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1756 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1758 # Installed binaries are usually stripped using `strip' when the user
1759 # run `make install-strip'. However `strip' might not be the right
1760 # tool to use in cross-compilation environments, therefore Automake
1761 # will honor the `STRIP' environment variable to overrule this program.
1762 if test "$cross_compiling" != no
; then
1763 if test -n "$ac_tool_prefix"; then
1764 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1765 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768 if test "${ac_cv_prog_STRIP+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 if test -n "$STRIP"; then
1772 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1778 test -z "$as_dir" && as_dir
=.
1779 for ac_exec_ext
in '' $ac_executable_extensions; do
1780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1781 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1790 STRIP
=$ac_cv_prog_STRIP
1791 if test -n "$STRIP"; then
1792 echo "$as_me:$LINENO: result: $STRIP" >&5
1793 echo "${ECHO_T}$STRIP" >&6
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1800 if test -z "$ac_cv_prog_STRIP"; then
1802 # Extract the first word of "strip", so it can be a program name with args.
1803 set dummy strip
; ac_word
=$2
1804 echo "$as_me:$LINENO: checking for $ac_word" >&5
1805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1806 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1807 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 if test -n "$ac_ct_STRIP"; then
1810 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1816 test -z "$as_dir" && as_dir
=.
1817 for ac_exec_ext
in '' $ac_executable_extensions; do
1818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1819 ac_cv_prog_ac_ct_STRIP
="strip"
1820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1829 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1830 if test -n "$ac_ct_STRIP"; then
1831 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1832 echo "${ECHO_T}$ac_ct_STRIP" >&6
1834 echo "$as_me:$LINENO: result: no" >&5
1835 echo "${ECHO_T}no" >&6
1840 STRIP
="$ac_cv_prog_STRIP"
1844 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1846 # We need awk for the "check" target. The system "awk" is bad on
1848 # Always define AMTAR for backward compatibility.
1850 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1852 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1858 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1859 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1860 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1861 if test "${enable_maintainer_mode+set}" = set; then
1862 enableval
="$enable_maintainer_mode"
1863 USE_MAINTAINER_MODE
=$enableval
1865 USE_MAINTAINER_MODE
=no
1867 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1868 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1871 if test $USE_MAINTAINER_MODE = yes; then
1872 MAINTAINER_MODE_TRUE
=
1873 MAINTAINER_MODE_FALSE
='#'
1875 MAINTAINER_MODE_TRUE
='#'
1876 MAINTAINER_MODE_FALSE
=
1879 MAINT
=$MAINTAINER_MODE_TRUE
1883 DEPDIR
="${am__leading_dot}deps"
1885 ac_config_commands
="$ac_config_commands depfiles"
1888 am_make
=${MAKE-make}
1889 cat > confinc
<< 'END'
1894 # If we don't find an include directive, just comment out the code.
1895 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1896 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1900 # First try GNU make style include.
1901 echo "include confinc" > confmf
1902 # We grep out `Entering directory' and `Leaving directory'
1903 # messages which can occur if `w' ends up in MAKEFLAGS.
1904 # In particular we don't look at `^make:' because GNU make might
1905 # be invoked under some other name (usually "gmake"), in which
1906 # case it prints its new name instead of `make'.
1907 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1912 # Now try BSD make style include.
1913 if test "$am__include" = "#"; then
1914 echo '.include "confinc"' > confmf
1915 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1916 am__include
=.include
1923 echo "$as_me:$LINENO: result: $_am_result" >&5
1924 echo "${ECHO_T}$_am_result" >&6
1925 rm -f confinc confmf
1927 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1928 if test "${enable_dependency_tracking+set}" = set; then
1929 enableval
="$enable_dependency_tracking"
1932 if test "x$enable_dependency_tracking" != xno
; then
1933 am_depcomp
="$ac_aux_dir/depcomp"
1938 if test "x$enable_dependency_tracking" != xno; then
1949 ac_cpp
='$CPP $CPPFLAGS'
1950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1953 if test -n "$ac_tool_prefix"; then
1954 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1955 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1956 echo "$as_me:$LINENO: checking for $ac_word" >&5
1957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1958 if test "${ac_cv_prog_CC+set}" = set; then
1959 echo $ECHO_N "(cached) $ECHO_C" >&6
1961 if test -n "$CC"; then
1962 ac_cv_prog_CC
="$CC" # Let the user override the test.
1964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1968 test -z "$as_dir" && as_dir
=.
1969 for ac_exec_ext
in '' $ac_executable_extensions; do
1970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1971 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981 if test -n "$CC"; then
1982 echo "$as_me:$LINENO: result: $CC" >&5
1983 echo "${ECHO_T}$CC" >&6
1985 echo "$as_me:$LINENO: result: no" >&5
1986 echo "${ECHO_T}no" >&6
1990 if test -z "$ac_cv_prog_CC"; then
1992 # Extract the first word of "gcc", so it can be a program name with args.
1993 set dummy gcc
; ac_word
=$2
1994 echo "$as_me:$LINENO: checking for $ac_word" >&5
1995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1996 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 if test -n "$ac_ct_CC"; then
2000 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir
=.
2007 for ac_exec_ext
in '' $ac_executable_extensions; do
2008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2009 ac_cv_prog_ac_ct_CC
="gcc"
2010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2019 if test -n "$ac_ct_CC"; then
2020 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2021 echo "${ECHO_T}$ac_ct_CC" >&6
2023 echo "$as_me:$LINENO: result: no" >&5
2024 echo "${ECHO_T}no" >&6
2032 if test -z "$CC"; then
2033 if test -n "$ac_tool_prefix"; then
2034 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2035 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2036 echo "$as_me:$LINENO: checking for $ac_word" >&5
2037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2038 if test "${ac_cv_prog_CC+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 if test -n "$CC"; then
2042 ac_cv_prog_CC
="$CC" # Let the user override the test.
2044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2048 test -z "$as_dir" && as_dir
=.
2049 for ac_exec_ext
in '' $ac_executable_extensions; do
2050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2051 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 if test -n "$CC"; then
2062 echo "$as_me:$LINENO: result: $CC" >&5
2063 echo "${ECHO_T}$CC" >&6
2065 echo "$as_me:$LINENO: result: no" >&5
2066 echo "${ECHO_T}no" >&6
2070 if test -z "$ac_cv_prog_CC"; then
2072 # Extract the first word of "cc", so it can be a program name with args.
2073 set dummy cc
; ac_word
=$2
2074 echo "$as_me:$LINENO: checking for $ac_word" >&5
2075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2076 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2077 echo $ECHO_N "(cached) $ECHO_C" >&6
2079 if test -n "$ac_ct_CC"; then
2080 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir
=.
2087 for ac_exec_ext
in '' $ac_executable_extensions; do
2088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089 ac_cv_prog_ac_ct_CC
="cc"
2090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2099 if test -n "$ac_ct_CC"; then
2100 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2101 echo "${ECHO_T}$ac_ct_CC" >&6
2103 echo "$as_me:$LINENO: result: no" >&5
2104 echo "${ECHO_T}no" >&6
2113 if test -z "$CC"; then
2114 # Extract the first word of "cc", so it can be a program name with args.
2115 set dummy cc
; ac_word
=$2
2116 echo "$as_me:$LINENO: checking for $ac_word" >&5
2117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2118 if test "${ac_cv_prog_CC+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 if test -n "$CC"; then
2122 ac_cv_prog_CC
="$CC" # Let the user override the test.
2125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2129 test -z "$as_dir" && as_dir
=.
2130 for ac_exec_ext
in '' $ac_executable_extensions; do
2131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2133 ac_prog_rejected
=yes
2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143 if test $ac_prog_rejected = yes; then
2144 # We found a bogon in the path, so make sure we never use it.
2145 set dummy
$ac_cv_prog_CC
2147 if test $# != 0; then
2148 # We chose a different compiler from the bogus one.
2149 # However, it has the same basename, so the bogon will be chosen
2150 # first if we set CC to just the basename; use the full file name.
2152 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2158 if test -n "$CC"; then
2159 echo "$as_me:$LINENO: result: $CC" >&5
2160 echo "${ECHO_T}$CC" >&6
2162 echo "$as_me:$LINENO: result: no" >&5
2163 echo "${ECHO_T}no" >&6
2167 if test -z "$CC"; then
2168 if test -n "$ac_tool_prefix"; then
2171 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2172 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2173 echo "$as_me:$LINENO: checking for $ac_word" >&5
2174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2175 if test "${ac_cv_prog_CC+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 if test -n "$CC"; then
2179 ac_cv_prog_CC
="$CC" # Let the user override the test.
2181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2185 test -z "$as_dir" && as_dir
=.
2186 for ac_exec_ext
in '' $ac_executable_extensions; do
2187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2188 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 if test -n "$CC"; then
2199 echo "$as_me:$LINENO: result: $CC" >&5
2200 echo "${ECHO_T}$CC" >&6
2202 echo "$as_me:$LINENO: result: no" >&5
2203 echo "${ECHO_T}no" >&6
2206 test -n "$CC" && break
2209 if test -z "$CC"; then
2213 # Extract the first word of "$ac_prog", so it can be a program name with args.
2214 set dummy
$ac_prog; ac_word
=$2
2215 echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 if test -n "$ac_ct_CC"; then
2221 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir
=.
2228 for ac_exec_ext
in '' $ac_executable_extensions; do
2229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2230 ac_cv_prog_ac_ct_CC
="$ac_prog"
2231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2239 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2240 if test -n "$ac_ct_CC"; then
2241 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2242 echo "${ECHO_T}$ac_ct_CC" >&6
2244 echo "$as_me:$LINENO: result: no" >&5
2245 echo "${ECHO_T}no" >&6
2248 test -n "$ac_ct_CC" && break
2257 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2258 See \`config.log' for more details." >&5
2259 echo "$as_me: error: no acceptable C compiler found in \$PATH
2260 See \`config.log' for more details." >&2;}
2261 { (exit 1); exit 1; }; }
2263 # Provide some information about the compiler.
2264 echo "$as_me:$LINENO:" \
2265 "checking for C compiler version" >&5
2266 ac_compiler
=`set X $ac_compile; echo $2`
2267 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2268 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }
2272 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2273 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }
2277 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2278 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }
2283 cat >conftest.
$ac_ext <<_ACEOF
2286 cat confdefs.h
>>conftest.
$ac_ext
2287 cat >>conftest.
$ac_ext <<_ACEOF
2288 /* end confdefs.h. */
2298 ac_clean_files_save
=$ac_clean_files
2299 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2300 # Try to create an executable without -o first, disregard a.out.
2301 # It will help us diagnose broken compilers, and finding out an intuition
2303 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2304 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2305 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2306 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2307 (eval $ac_link_default) 2>&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }; then
2311 # Find the output, starting from the most likely. This scheme is
2312 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2315 # Be careful to initialize this variable, since it used to be cached.
2316 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2318 # b.out is created by i960 compilers.
2319 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2321 test -f "$ac_file" || continue
2323 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
2326 # This is the source file.
2329 # We found the default executable, but exeext='' is most
2333 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2334 # FIXME: I believe we export ac_cv_exeext for Libtool,
2335 # but it would be cool to find out if it's true. Does anybody
2336 # maintain Libtool? --akim.
2344 echo "$as_me: failed program was:" >&5
2345 sed 's/^/| /' conftest.
$ac_ext >&5
2347 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2348 See \`config.log' for more details." >&5
2349 echo "$as_me: error: C compiler cannot create executables
2350 See \`config.log' for more details." >&2;}
2351 { (exit 77); exit 77; }; }
2354 ac_exeext
=$ac_cv_exeext
2355 echo "$as_me:$LINENO: result: $ac_file" >&5
2356 echo "${ECHO_T}$ac_file" >&6
2358 # Check the compiler produces executables we can run. If not, either
2359 # the compiler is broken, or we cross compile.
2360 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2361 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2362 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2363 # If not cross compiling, check that we can run a simple program.
2364 if test "$cross_compiling" != yes; then
2365 if { ac_try
='./$ac_file'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; }; then
2373 if test "$cross_compiling" = maybe
; then
2376 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2377 If you meant to cross compile, use \`--host'.
2378 See \`config.log' for more details." >&5
2379 echo "$as_me: error: cannot run C compiled programs.
2380 If you meant to cross compile, use \`--host'.
2381 See \`config.log' for more details." >&2;}
2382 { (exit 1); exit 1; }; }
2386 echo "$as_me:$LINENO: result: yes" >&5
2387 echo "${ECHO_T}yes" >&6
2389 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2390 ac_clean_files
=$ac_clean_files_save
2391 # Check the compiler produces executables we can run. If not, either
2392 # the compiler is broken, or we cross compile.
2393 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2394 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2395 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2396 echo "${ECHO_T}$cross_compiling" >&6
2398 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2399 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2401 (eval $ac_link) 2>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; then
2405 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2406 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2407 # work properly (i.e., refer to `conftest.exe'), while it won't with
2409 for ac_file
in conftest.exe conftest conftest.
*; do
2410 test -f "$ac_file" || continue
2412 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
2413 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2420 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2421 See \`config.log' for more details." >&5
2422 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2423 See \`config.log' for more details." >&2;}
2424 { (exit 1); exit 1; }; }
2427 rm -f conftest
$ac_cv_exeext
2428 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2429 echo "${ECHO_T}$ac_cv_exeext" >&6
2431 rm -f conftest.
$ac_ext
2432 EXEEXT
=$ac_cv_exeext
2434 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2435 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2436 if test "${ac_cv_objext+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 cat >conftest.
$ac_ext <<_ACEOF
2442 cat confdefs.h
>>conftest.
$ac_ext
2443 cat >>conftest.
$ac_ext <<_ACEOF
2444 /* end confdefs.h. */
2454 rm -f conftest.o conftest.obj
2455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2456 (eval $ac_compile) 2>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2460 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2462 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
2463 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2468 echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.
$ac_ext >&5
2471 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2472 See \`config.log' for more details." >&5
2473 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2474 See \`config.log' for more details." >&2;}
2475 { (exit 1); exit 1; }; }
2478 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2480 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2481 echo "${ECHO_T}$ac_cv_objext" >&6
2482 OBJEXT
=$ac_cv_objext
2484 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2485 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2486 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 cat >conftest.
$ac_ext <<_ACEOF
2492 cat confdefs.h
>>conftest.
$ac_ext
2493 cat >>conftest.
$ac_ext <<_ACEOF
2494 /* end confdefs.h. */
2507 rm -f conftest.
$ac_objext
2508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2509 (eval $ac_compile) 2>conftest.er1
2511 grep -v '^ *+' conftest.er1
>conftest.err
2513 cat conftest.err
>&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); } &&
2516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; } &&
2522 { ac_try
='test -s conftest.$ac_objext'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; }; then
2530 echo "$as_me: failed program was:" >&5
2531 sed 's/^/| /' conftest.
$ac_ext >&5
2535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2536 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2539 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2540 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2541 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2542 ac_test_CFLAGS
=${CFLAGS+set}
2543 ac_save_CFLAGS
=$CFLAGS
2545 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2546 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2547 if test "${ac_cv_prog_cc_g+set}" = set; then
2548 echo $ECHO_N "(cached) $ECHO_C" >&6
2550 cat >conftest.
$ac_ext <<_ACEOF
2553 cat confdefs.h
>>conftest.
$ac_ext
2554 cat >>conftest.
$ac_ext <<_ACEOF
2555 /* end confdefs.h. */
2565 rm -f conftest.
$ac_objext
2566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2567 (eval $ac_compile) 2>conftest.er1
2569 grep -v '^ *+' conftest.er1
>conftest.err
2571 cat conftest.err
>&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); } &&
2574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); }; } &&
2580 { ac_try
='test -s conftest.$ac_objext'
2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; }; then
2588 echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.
$ac_ext >&5
2593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2595 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2596 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2597 if test "$ac_test_CFLAGS" = set; then
2598 CFLAGS
=$ac_save_CFLAGS
2599 elif test $ac_cv_prog_cc_g = yes; then
2600 if test "$GCC" = yes; then
2606 if test "$GCC" = yes; then
2612 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2613 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2614 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2615 echo $ECHO_N "(cached) $ECHO_C" >&6
2617 ac_cv_prog_cc_stdc
=no
2619 cat >conftest.
$ac_ext <<_ACEOF
2622 cat confdefs.h
>>conftest.
$ac_ext
2623 cat >>conftest.
$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2627 #include <sys/types.h>
2628 #include <sys/stat.h>
2629 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2630 struct buf { int x; };
2631 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2632 static char *e (p, i)
2638 static char *f (char * (*g) (char **, int), char **p, ...)
2643 s = g (p, va_arg (v,int));
2648 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2649 function prototypes and stuff, but not '\xHH' hex character constants.
2650 These don't provoke an error unfortunately, instead are silently treated
2651 as 'x'. The following induces an error, until -std1 is added to get
2652 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2653 array size at least. It's necessary to write '\x00'==0 to get something
2654 that's true only with -std1. */
2655 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2657 int test (int i, double x);
2658 struct s1 {int (*f) (int a);};
2659 struct s2 {int (*f) (double a);};
2660 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2666 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2671 # Don't try gcc -ansi; that turns off useful extensions and
2672 # breaks some systems' header files.
2673 # AIX -qlanglvl=ansi
2674 # Ultrix and OSF/1 -std1
2675 # HP-UX 10.20 and later -Ae
2676 # HP-UX older versions -Aa -D_HPUX_SOURCE
2677 # SVR4 -Xc -D__EXTENSIONS__
2678 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2680 CC
="$ac_save_CC $ac_arg"
2681 rm -f conftest.
$ac_objext
2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2683 (eval $ac_compile) 2>conftest.er1
2685 grep -v '^ *+' conftest.er1
>conftest.err
2687 cat conftest.err
>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } &&
2690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }; } &&
2696 { ac_try
='test -s conftest.$ac_objext'
2697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; }; then
2702 ac_cv_prog_cc_stdc
=$ac_arg
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.
$ac_ext >&5
2709 rm -f conftest.err conftest.
$ac_objext
2711 rm -f conftest.
$ac_ext conftest.
$ac_objext
2716 case "x$ac_cv_prog_cc_stdc" in
2718 echo "$as_me:$LINENO: result: none needed" >&5
2719 echo "${ECHO_T}none needed" >&6 ;;
2721 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2722 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2723 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2726 # Some people use a C++ compiler to compile C. Since we use `exit',
2727 # in C++ we need to declare it. In case someone uses the same compiler
2728 # for both compiling C and C++ we need to have the C++ compiler decide
2729 # the declaration of exit, since it's the most demanding environment.
2730 cat >conftest.
$ac_ext <<_ACEOF
2735 rm -f conftest.
$ac_objext
2736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2737 (eval $ac_compile) 2>conftest.er1
2739 grep -v '^ *+' conftest.er1
>conftest.err
2741 cat conftest.err
>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } &&
2744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; } &&
2750 { ac_try
='test -s conftest.$ac_objext'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; }; then
2756 for ac_declaration
in \
2758 'extern "C" void std::exit (int) throw (); using std::exit;' \
2759 'extern "C" void std::exit (int); using std::exit;' \
2760 'extern "C" void exit (int) throw ();' \
2761 'extern "C" void exit (int);' \
2764 cat >conftest.
$ac_ext <<_ACEOF
2767 cat confdefs.h
>>conftest.
$ac_ext
2768 cat >>conftest.
$ac_ext <<_ACEOF
2769 /* end confdefs.h. */
2780 rm -f conftest.
$ac_objext
2781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2782 (eval $ac_compile) 2>conftest.er1
2784 grep -v '^ *+' conftest.er1
>conftest.err
2786 cat conftest.err
>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); } &&
2789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; } &&
2795 { ac_try
='test -s conftest.$ac_objext'
2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; }; then
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.
$ac_ext >&5
2808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2809 cat >conftest.
$ac_ext <<_ACEOF
2812 cat confdefs.h
>>conftest.
$ac_ext
2813 cat >>conftest.
$ac_ext <<_ACEOF
2814 /* end confdefs.h. */
2824 rm -f conftest.
$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 (eval $ac_compile) 2>conftest.er1
2828 grep -v '^ *+' conftest.er1
>conftest.err
2830 cat conftest.err
>&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; } &&
2839 { ac_try
='test -s conftest.$ac_objext'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; }; then
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.
$ac_ext >&5
2851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2854 if test -n "$ac_declaration"; then
2855 echo '#ifdef __cplusplus' >>confdefs.h
2856 echo $ac_declaration >>confdefs.h
2857 echo '#endif' >>confdefs.h
2861 echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.
$ac_ext >&5
2865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2867 ac_cpp
='$CPP $CPPFLAGS'
2868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2872 depcc
="$CC" am_compiler_list
=
2874 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2875 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2876 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2880 # We make a subdir and do the tests there. Otherwise we can end up
2881 # making bogus files that we don't know about and never remove. For
2882 # instance it was reported that on HP-UX the gcc test will end up
2883 # making a dummy file named `D' -- because `-MD' means `put the output
2886 # Copy depcomp to subdir because otherwise we won't find it if we're
2887 # using a relative directory.
2888 cp "$am_depcomp" conftest.dir
2890 # We will build objects and dependencies in a subdirectory because
2891 # it helps to detect inapplicable dependency modes. For instance
2892 # both Tru64's cc and ICC support -MD to output dependencies as a
2893 # side effect of compilation, but ICC will put the dependencies in
2894 # the current directory while Tru64 will put them in the object
2898 am_cv_CC_dependencies_compiler_type
=none
2899 if test "$am_compiler_list" = ""; then
2900 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2902 for depmode
in $am_compiler_list; do
2903 # Setup a source with many dependencies, because some compilers
2904 # like to wrap large dependency lists on column 80 (with \), and
2905 # we should not choose a depcomp mode which is confused by this.
2907 # We need to recreate these files for each test, as the compiler may
2908 # overwrite some of them when testing with obscure command lines.
2909 # This happens at least with the AIX C compiler.
2911 for i
in 1 2 3 4 5 6; do
2912 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2913 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2914 # Solaris 8's {/usr,}/bin/sh.
2915 touch sub
/conftst
$i.h
2917 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2921 # after this tag, mechanisms are not by side-effect, so they'll
2922 # only be used when explicitly requested
2923 if test "x$enable_dependency_tracking" = xyes
; then
2931 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2932 # mode. It turns out that the SunPro C++ compiler does not properly
2933 # handle `-M -o', and we need to detect this.
2934 if depmode
=$depmode \
2935 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2936 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2937 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2938 >/dev
/null
2>conftest.err
&&
2939 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2940 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2941 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2942 # icc doesn't choke on unknown options, it will just issue warnings
2943 # or remarks (even with -Werror). So we grep stderr for any message
2944 # that says an option was ignored or not supported.
2945 # When given -MP, icc 7.0 and 7.1 complain thusly:
2946 # icc: Command line warning: ignoring option '-M'; no argument required
2947 # The diagnosis changed in icc 8.0:
2948 # icc: Command line remark: option '-MP' not supported
2949 if (grep 'ignoring option' conftest.err
||
2950 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2951 am_cv_CC_dependencies_compiler_type
=$depmode
2960 am_cv_CC_dependencies_compiler_type
=none
2964 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2965 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2966 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2971 test "x$enable_dependency_tracking" != xno \
2972 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2974 am__fastdepCC_FALSE
='#'
2976 am__fastdepCC_TRUE
='#'
2977 am__fastdepCC_FALSE
=
2982 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
2983 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
2984 if test "${ac_cv_type_signal+set}" = set; then
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2987 cat >conftest.
$ac_ext <<_ACEOF
2990 cat confdefs.h
>>conftest.
$ac_ext
2991 cat >>conftest.
$ac_ext <<_ACEOF
2992 /* end confdefs.h. */
2993 #include <sys/types.h>
2999 extern "C" void (*signal (int, void (*)(int)))(int);
3001 void (*signal ()) ();
3012 rm -f conftest.
$ac_objext
3013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3014 (eval $ac_compile) 2>conftest.er1
3016 grep -v '^ *+' conftest.er1
>conftest.err
3018 cat conftest.err
>&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); } &&
3021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; } &&
3027 { ac_try
='test -s conftest.$ac_objext'
3028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); }; }; then
3033 ac_cv_type_signal
=void
3035 echo "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.
$ac_ext >&5
3038 ac_cv_type_signal
=int
3040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3042 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3043 echo "${ECHO_T}$ac_cv_type_signal" >&6
3045 cat >>confdefs.h
<<_ACEOF
3046 #define RETSIGTYPE $ac_cv_type_signal
3050 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3051 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3052 if test "${ac_cv_c_const+set}" = set; then
3053 echo $ECHO_N "(cached) $ECHO_C" >&6
3055 cat >conftest.
$ac_ext <<_ACEOF
3058 cat confdefs.h
>>conftest.
$ac_ext
3059 cat >>conftest.
$ac_ext <<_ACEOF
3060 /* end confdefs.h. */
3065 /* FIXME: Include the comments suggested by Paul. */
3067 /* Ultrix mips cc rejects this. */
3068 typedef int charset[2];
3070 /* SunOS 4.1.1 cc rejects this. */
3071 char const *const *ccp;
3073 /* NEC SVR4.0.2 mips cc rejects this. */
3074 struct point {int x, y;};
3075 static struct point const zero = {0,0};
3076 /* AIX XL C 1.02.0.0 rejects this.
3077 It does not let you subtract one const X* pointer from another in
3078 an arm of an if-expression whose if-part is not a constant
3080 const char *g = "string";
3081 ccp = &g + (g ? g-g : 0);
3082 /* HPUX 7.0 cc rejects these. */
3085 ccp = (char const *const *) p;
3086 { /* SCO 3.2v4 cc rejects this. */
3088 char const *s = 0 ? (char *) 0 : (char const *) 0;
3092 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3094 const int *foo = &x[0];
3097 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3098 typedef const int *iptr;
3102 { /* AIX XL C 1.02.0.0 rejects this saying
3103 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3104 struct s { int j; const int *ap[3]; };
3105 struct s *b; b->j = 5;
3107 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3116 rm -f conftest.
$ac_objext
3117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3118 (eval $ac_compile) 2>conftest.er1
3120 grep -v '^ *+' conftest.er1
>conftest.err
3122 cat conftest.err
>&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } &&
3125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); }; } &&
3131 { ac_try
='test -s conftest.$ac_objext'
3132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); }; }; then
3139 echo "$as_me: failed program was:" >&5
3140 sed 's/^/| /' conftest.
$ac_ext >&5
3144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3146 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3147 echo "${ECHO_T}$ac_cv_c_const" >&6
3148 if test $ac_cv_c_const = no
; then
3150 cat >>confdefs.h
<<\_ACEOF
3156 echo "$as_me:$LINENO: checking for inline" >&5
3157 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3158 if test "${ac_cv_c_inline+set}" = set; then
3159 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 for ac_kw
in inline __inline__ __inline
; do
3163 cat >conftest.
$ac_ext <<_ACEOF
3166 cat confdefs.h
>>conftest.
$ac_ext
3167 cat >>conftest.
$ac_ext <<_ACEOF
3168 /* end confdefs.h. */
3171 static $ac_kw foo_t static_foo () {return 0; }
3172 $ac_kw foo_t foo () {return 0; }
3176 rm -f conftest.
$ac_objext
3177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3178 (eval $ac_compile) 2>conftest.er1
3180 grep -v '^ *+' conftest.er1
>conftest.err
3182 cat conftest.err
>&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; } &&
3191 { ac_try
='test -s conftest.$ac_objext'
3192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); }; }; then
3197 ac_cv_c_inline
=$ac_kw; break
3199 echo "$as_me: failed program was:" >&5
3200 sed 's/^/| /' conftest.
$ac_ext >&5
3203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3207 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3208 echo "${ECHO_T}$ac_cv_c_inline" >&6
3211 case $ac_cv_c_inline in
3214 case $ac_cv_c_inline in
3216 *) ac_val
=$ac_cv_c_inline;;
3218 cat >>confdefs.h
<<_ACEOF
3220 #define inline $ac_val
3227 for ac_prog
in gawk mawk nawk
awk
3229 # Extract the first word of "$ac_prog", so it can be a program name with args.
3230 set dummy
$ac_prog; ac_word
=$2
3231 echo "$as_me:$LINENO: checking for $ac_word" >&5
3232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3233 if test "${ac_cv_prog_AWK+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3236 if test -n "$AWK"; then
3237 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3243 test -z "$as_dir" && as_dir
=.
3244 for ac_exec_ext
in '' $ac_executable_extensions; do
3245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3246 ac_cv_prog_AWK
="$ac_prog"
3247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 if test -n "$AWK"; then
3257 echo "$as_me:$LINENO: result: $AWK" >&5
3258 echo "${ECHO_T}$AWK" >&6
3260 echo "$as_me:$LINENO: result: no" >&5
3261 echo "${ECHO_T}no" >&6
3264 test -n "$AWK" && break
3268 ac_cpp
='$CPP $CPPFLAGS'
3269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3274 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3275 echo "$as_me:$LINENO: checking for $ac_word" >&5
3276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3277 if test "${ac_cv_prog_CC+set}" = set; then
3278 echo $ECHO_N "(cached) $ECHO_C" >&6
3280 if test -n "$CC"; then
3281 ac_cv_prog_CC
="$CC" # Let the user override the test.
3283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3287 test -z "$as_dir" && as_dir
=.
3288 for ac_exec_ext
in '' $ac_executable_extensions; do
3289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3290 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3300 if test -n "$CC"; then
3301 echo "$as_me:$LINENO: result: $CC" >&5
3302 echo "${ECHO_T}$CC" >&6
3304 echo "$as_me:$LINENO: result: no" >&5
3305 echo "${ECHO_T}no" >&6
3309 if test -z "$ac_cv_prog_CC"; then
3311 # Extract the first word of "gcc", so it can be a program name with args.
3312 set dummy gcc
; ac_word
=$2
3313 echo "$as_me:$LINENO: checking for $ac_word" >&5
3314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3315 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3316 echo $ECHO_N "(cached) $ECHO_C" >&6
3318 if test -n "$ac_ct_CC"; then
3319 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3325 test -z "$as_dir" && as_dir
=.
3326 for ac_exec_ext
in '' $ac_executable_extensions; do
3327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3328 ac_cv_prog_ac_ct_CC
="gcc"
3329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3337 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3338 if test -n "$ac_ct_CC"; then
3339 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3340 echo "${ECHO_T}$ac_ct_CC" >&6
3342 echo "$as_me:$LINENO: result: no" >&5
3343 echo "${ECHO_T}no" >&6
3351 if test -z "$CC"; then
3352 if test -n "$ac_tool_prefix"; then
3353 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3354 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3355 echo "$as_me:$LINENO: checking for $ac_word" >&5
3356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3357 if test "${ac_cv_prog_CC+set}" = set; then
3358 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 if test -n "$CC"; then
3361 ac_cv_prog_CC
="$CC" # Let the user override the test.
3363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3367 test -z "$as_dir" && as_dir
=.
3368 for ac_exec_ext
in '' $ac_executable_extensions; do
3369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3370 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 if test -n "$CC"; then
3381 echo "$as_me:$LINENO: result: $CC" >&5
3382 echo "${ECHO_T}$CC" >&6
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3389 if test -z "$ac_cv_prog_CC"; then
3391 # Extract the first word of "cc", so it can be a program name with args.
3392 set dummy cc
; ac_word
=$2
3393 echo "$as_me:$LINENO: checking for $ac_word" >&5
3394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3395 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3396 echo $ECHO_N "(cached) $ECHO_C" >&6
3398 if test -n "$ac_ct_CC"; then
3399 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir
=.
3406 for ac_exec_ext
in '' $ac_executable_extensions; do
3407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3408 ac_cv_prog_ac_ct_CC
="cc"
3409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3417 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3418 if test -n "$ac_ct_CC"; then
3419 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3420 echo "${ECHO_T}$ac_ct_CC" >&6
3422 echo "$as_me:$LINENO: result: no" >&5
3423 echo "${ECHO_T}no" >&6
3432 if test -z "$CC"; then
3433 # Extract the first word of "cc", so it can be a program name with args.
3434 set dummy cc
; ac_word
=$2
3435 echo "$as_me:$LINENO: checking for $ac_word" >&5
3436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3437 if test "${ac_cv_prog_CC+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3440 if test -n "$CC"; then
3441 ac_cv_prog_CC
="$CC" # Let the user override the test.
3444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3448 test -z "$as_dir" && as_dir
=.
3449 for ac_exec_ext
in '' $ac_executable_extensions; do
3450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3451 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3452 ac_prog_rejected
=yes
3456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 if test $ac_prog_rejected = yes; then
3463 # We found a bogon in the path, so make sure we never use it.
3464 set dummy
$ac_cv_prog_CC
3466 if test $# != 0; then
3467 # We chose a different compiler from the bogus one.
3468 # However, it has the same basename, so the bogon will be chosen
3469 # first if we set CC to just the basename; use the full file name.
3471 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3477 if test -n "$CC"; then
3478 echo "$as_me:$LINENO: result: $CC" >&5
3479 echo "${ECHO_T}$CC" >&6
3481 echo "$as_me:$LINENO: result: no" >&5
3482 echo "${ECHO_T}no" >&6
3486 if test -z "$CC"; then
3487 if test -n "$ac_tool_prefix"; then
3490 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3491 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3492 echo "$as_me:$LINENO: checking for $ac_word" >&5
3493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3494 if test "${ac_cv_prog_CC+set}" = set; then
3495 echo $ECHO_N "(cached) $ECHO_C" >&6
3497 if test -n "$CC"; then
3498 ac_cv_prog_CC
="$CC" # Let the user override the test.
3500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3504 test -z "$as_dir" && as_dir
=.
3505 for ac_exec_ext
in '' $ac_executable_extensions; do
3506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3507 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 if test -n "$CC"; then
3518 echo "$as_me:$LINENO: result: $CC" >&5
3519 echo "${ECHO_T}$CC" >&6
3521 echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3525 test -n "$CC" && break
3528 if test -z "$CC"; then
3532 # Extract the first word of "$ac_prog", so it can be a program name with args.
3533 set dummy
$ac_prog; ac_word
=$2
3534 echo "$as_me:$LINENO: checking for $ac_word" >&5
3535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3536 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 if test -n "$ac_ct_CC"; then
3540 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3546 test -z "$as_dir" && as_dir
=.
3547 for ac_exec_ext
in '' $ac_executable_extensions; do
3548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3549 ac_cv_prog_ac_ct_CC
="$ac_prog"
3550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3559 if test -n "$ac_ct_CC"; then
3560 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3561 echo "${ECHO_T}$ac_ct_CC" >&6
3563 echo "$as_me:$LINENO: result: no" >&5
3564 echo "${ECHO_T}no" >&6
3567 test -n "$ac_ct_CC" && break
3576 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3577 See \`config.log' for more details." >&5
3578 echo "$as_me: error: no acceptable C compiler found in \$PATH
3579 See \`config.log' for more details." >&2;}
3580 { (exit 1); exit 1; }; }
3582 # Provide some information about the compiler.
3583 echo "$as_me:$LINENO:" \
3584 "checking for C compiler version" >&5
3585 ac_compiler
=`set X $ac_compile; echo $2`
3586 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3587 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }
3591 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3592 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }
3596 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3597 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); }
3602 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3603 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3605 echo $ECHO_N "(cached) $ECHO_C" >&6
3607 cat >conftest.
$ac_ext <<_ACEOF
3610 cat confdefs.h
>>conftest.
$ac_ext
3611 cat >>conftest.
$ac_ext <<_ACEOF
3612 /* end confdefs.h. */
3625 rm -f conftest.
$ac_objext
3626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3627 (eval $ac_compile) 2>conftest.er1
3629 grep -v '^ *+' conftest.er1
>conftest.err
3631 cat conftest.err
>&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } &&
3634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); }; } &&
3640 { ac_try
='test -s conftest.$ac_objext'
3641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); }; }; then
3648 echo "$as_me: failed program was:" >&5
3649 sed 's/^/| /' conftest.
$ac_ext >&5
3653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3654 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3657 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3658 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3659 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3660 ac_test_CFLAGS
=${CFLAGS+set}
3661 ac_save_CFLAGS
=$CFLAGS
3663 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3664 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3665 if test "${ac_cv_prog_cc_g+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 cat >conftest.
$ac_ext <<_ACEOF
3671 cat confdefs.h
>>conftest.
$ac_ext
3672 cat >>conftest.
$ac_ext <<_ACEOF
3673 /* end confdefs.h. */
3683 rm -f conftest.
$ac_objext
3684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3685 (eval $ac_compile) 2>conftest.er1
3687 grep -v '^ *+' conftest.er1
>conftest.err
3689 cat conftest.err
>&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); } &&
3692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; } &&
3698 { ac_try
='test -s conftest.$ac_objext'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3706 echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.
$ac_ext >&5
3711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3713 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3714 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3715 if test "$ac_test_CFLAGS" = set; then
3716 CFLAGS
=$ac_save_CFLAGS
3717 elif test $ac_cv_prog_cc_g = yes; then
3718 if test "$GCC" = yes; then
3724 if test "$GCC" = yes; then
3730 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3731 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3732 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3733 echo $ECHO_N "(cached) $ECHO_C" >&6
3735 ac_cv_prog_cc_stdc
=no
3737 cat >conftest.
$ac_ext <<_ACEOF
3740 cat confdefs.h
>>conftest.
$ac_ext
3741 cat >>conftest.
$ac_ext <<_ACEOF
3742 /* end confdefs.h. */
3745 #include <sys/types.h>
3746 #include <sys/stat.h>
3747 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3748 struct buf { int x; };
3749 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3750 static char *e (p, i)
3756 static char *f (char * (*g) (char **, int), char **p, ...)
3761 s = g (p, va_arg (v,int));
3766 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3767 function prototypes and stuff, but not '\xHH' hex character constants.
3768 These don't provoke an error unfortunately, instead are silently treated
3769 as 'x'. The following induces an error, until -std1 is added to get
3770 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3771 array size at least. It's necessary to write '\x00'==0 to get something
3772 that's true only with -std1. */
3773 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3775 int test (int i, double x);
3776 struct s1 {int (*f) (int a);};
3777 struct s2 {int (*f) (double a);};
3778 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3784 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3789 # Don't try gcc -ansi; that turns off useful extensions and
3790 # breaks some systems' header files.
3791 # AIX -qlanglvl=ansi
3792 # Ultrix and OSF/1 -std1
3793 # HP-UX 10.20 and later -Ae
3794 # HP-UX older versions -Aa -D_HPUX_SOURCE
3795 # SVR4 -Xc -D__EXTENSIONS__
3796 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3798 CC
="$ac_save_CC $ac_arg"
3799 rm -f conftest.
$ac_objext
3800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3801 (eval $ac_compile) 2>conftest.er1
3803 grep -v '^ *+' conftest.er1
>conftest.err
3805 cat conftest.err
>&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } &&
3808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }; } &&
3814 { ac_try
='test -s conftest.$ac_objext'
3815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); }; }; then
3820 ac_cv_prog_cc_stdc
=$ac_arg
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.
$ac_ext >&5
3827 rm -f conftest.err conftest.
$ac_objext
3829 rm -f conftest.
$ac_ext conftest.
$ac_objext
3834 case "x$ac_cv_prog_cc_stdc" in
3836 echo "$as_me:$LINENO: result: none needed" >&5
3837 echo "${ECHO_T}none needed" >&6 ;;
3839 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3840 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3841 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3844 # Some people use a C++ compiler to compile C. Since we use `exit',
3845 # in C++ we need to declare it. In case someone uses the same compiler
3846 # for both compiling C and C++ we need to have the C++ compiler decide
3847 # the declaration of exit, since it's the most demanding environment.
3848 cat >conftest.
$ac_ext <<_ACEOF
3853 rm -f conftest.
$ac_objext
3854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3855 (eval $ac_compile) 2>conftest.er1
3857 grep -v '^ *+' conftest.er1
>conftest.err
3859 cat conftest.err
>&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); } &&
3862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }; } &&
3868 { ac_try
='test -s conftest.$ac_objext'
3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); }; }; then
3874 for ac_declaration
in \
3876 'extern "C" void std::exit (int) throw (); using std::exit;' \
3877 'extern "C" void std::exit (int); using std::exit;' \
3878 'extern "C" void exit (int) throw ();' \
3879 'extern "C" void exit (int);' \
3882 cat >conftest.
$ac_ext <<_ACEOF
3885 cat confdefs.h
>>conftest.
$ac_ext
3886 cat >>conftest.
$ac_ext <<_ACEOF
3887 /* end confdefs.h. */
3898 rm -f conftest.
$ac_objext
3899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3900 (eval $ac_compile) 2>conftest.er1
3902 grep -v '^ *+' conftest.er1
>conftest.err
3904 cat conftest.err
>&5
3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); } &&
3907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); }; } &&
3913 { ac_try
='test -s conftest.$ac_objext'
3914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); }; }; then
3921 echo "$as_me: failed program was:" >&5
3922 sed 's/^/| /' conftest.
$ac_ext >&5
3926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3927 cat >conftest.
$ac_ext <<_ACEOF
3930 cat confdefs.h
>>conftest.
$ac_ext
3931 cat >>conftest.
$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3942 rm -f conftest.
$ac_objext
3943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3944 (eval $ac_compile) 2>conftest.er1
3946 grep -v '^ *+' conftest.er1
>conftest.err
3948 cat conftest.err
>&5
3949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3950 (exit $ac_status); } &&
3951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); }; } &&
3957 { ac_try
='test -s conftest.$ac_objext'
3958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); }; }; then
3965 echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.
$ac_ext >&5
3969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3972 if test -n "$ac_declaration"; then
3973 echo '#ifdef __cplusplus' >>confdefs.h
3974 echo $ac_declaration >>confdefs.h
3975 echo '#endif' >>confdefs.h
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.
$ac_ext >&5
3983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3985 ac_cpp
='$CPP $CPPFLAGS'
3986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3990 depcc
="$CC" am_compiler_list
=
3992 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3993 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3994 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3995 echo $ECHO_N "(cached) $ECHO_C" >&6
3997 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3998 # We make a subdir and do the tests there. Otherwise we can end up
3999 # making bogus files that we don't know about and never remove. For
4000 # instance it was reported that on HP-UX the gcc test will end up
4001 # making a dummy file named `D' -- because `-MD' means `put the output
4004 # Copy depcomp to subdir because otherwise we won't find it if we're
4005 # using a relative directory.
4006 cp "$am_depcomp" conftest.dir
4008 # We will build objects and dependencies in a subdirectory because
4009 # it helps to detect inapplicable dependency modes. For instance
4010 # both Tru64's cc and ICC support -MD to output dependencies as a
4011 # side effect of compilation, but ICC will put the dependencies in
4012 # the current directory while Tru64 will put them in the object
4016 am_cv_CC_dependencies_compiler_type
=none
4017 if test "$am_compiler_list" = ""; then
4018 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4020 for depmode
in $am_compiler_list; do
4021 # Setup a source with many dependencies, because some compilers
4022 # like to wrap large dependency lists on column 80 (with \), and
4023 # we should not choose a depcomp mode which is confused by this.
4025 # We need to recreate these files for each test, as the compiler may
4026 # overwrite some of them when testing with obscure command lines.
4027 # This happens at least with the AIX C compiler.
4029 for i
in 1 2 3 4 5 6; do
4030 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4031 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4032 # Solaris 8's {/usr,}/bin/sh.
4033 touch sub
/conftst
$i.h
4035 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4039 # after this tag, mechanisms are not by side-effect, so they'll
4040 # only be used when explicitly requested
4041 if test "x$enable_dependency_tracking" = xyes
; then
4049 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4050 # mode. It turns out that the SunPro C++ compiler does not properly
4051 # handle `-M -o', and we need to detect this.
4052 if depmode
=$depmode \
4053 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4054 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4055 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4056 >/dev
/null
2>conftest.err
&&
4057 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4058 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4059 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4060 # icc doesn't choke on unknown options, it will just issue warnings
4061 # or remarks (even with -Werror). So we grep stderr for any message
4062 # that says an option was ignored or not supported.
4063 # When given -MP, icc 7.0 and 7.1 complain thusly:
4064 # icc: Command line warning: ignoring option '-M'; no argument required
4065 # The diagnosis changed in icc 8.0:
4066 # icc: Command line remark: option '-MP' not supported
4067 if (grep 'ignoring option' conftest.err
||
4068 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4069 am_cv_CC_dependencies_compiler_type
=$depmode
4078 am_cv_CC_dependencies_compiler_type
=none
4082 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4083 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4084 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4089 test "x$enable_dependency_tracking" != xno \
4090 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4092 am__fastdepCC_FALSE
='#'
4094 am__fastdepCC_TRUE
='#'
4095 am__fastdepCC_FALSE
=
4099 # Find a good install program. We prefer a C program (faster),
4100 # so one script is as good as another. But avoid the broken or
4101 # incompatible versions:
4102 # SysV /etc/install, /usr/sbin/install
4103 # SunOS /usr/etc/install
4104 # IRIX /sbin/install
4106 # AmigaOS /C/install, which installs bootblocks on floppy discs
4107 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4108 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4109 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4110 # OS/2's system install, which has a completely different semantic
4111 # ./install, which can be erroneously created by make from ./install.sh.
4112 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4113 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4114 if test -z "$INSTALL"; then
4115 if test "${ac_cv_path_install+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4122 test -z "$as_dir" && as_dir
=.
4123 # Account for people who put trailing slashes in PATH elements.
4125 .
/ | .
// | /cC
/* | \
4126 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4127 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4130 # OSF1 and SCO ODT 3.0 have their own names for install.
4131 # Don't use installbsd from OSF since it installs stuff as root
4133 for ac_prog
in ginstall scoinst
install; do
4134 for ac_exec_ext
in '' $ac_executable_extensions; do
4135 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4136 if test $ac_prog = install &&
4137 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4138 # AIX install. It has an incompatible calling convention.
4140 elif test $ac_prog = install &&
4141 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4142 # program-specific install script used by HP pwplus--don't use.
4145 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4157 if test "${ac_cv_path_install+set}" = set; then
4158 INSTALL
=$ac_cv_path_install
4160 # As a last resort, use the slow shell script. We don't cache a
4161 # path for INSTALL within a source directory, because that will
4162 # break other packages using the cache if that directory is
4163 # removed, or if the path is relative.
4164 INSTALL
=$ac_install_sh
4167 echo "$as_me:$LINENO: result: $INSTALL" >&5
4168 echo "${ECHO_T}$INSTALL" >&6
4170 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4171 # It thinks the first close brace ends the variable substitution.
4172 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4174 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4176 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4179 if test -n "$ac_tool_prefix"; then
4180 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4181 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4182 echo "$as_me:$LINENO: checking for $ac_word" >&5
4183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4184 if test "${ac_cv_prog_RANLIB+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 if test -n "$RANLIB"; then
4188 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4194 test -z "$as_dir" && as_dir
=.
4195 for ac_exec_ext
in '' $ac_executable_extensions; do
4196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4197 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4206 RANLIB
=$ac_cv_prog_RANLIB
4207 if test -n "$RANLIB"; then
4208 echo "$as_me:$LINENO: result: $RANLIB" >&5
4209 echo "${ECHO_T}$RANLIB" >&6
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4216 if test -z "$ac_cv_prog_RANLIB"; then
4217 ac_ct_RANLIB
=$RANLIB
4218 # Extract the first word of "ranlib", so it can be a program name with args.
4219 set dummy ranlib
; ac_word
=$2
4220 echo "$as_me:$LINENO: checking for $ac_word" >&5
4221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4222 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4223 echo $ECHO_N "(cached) $ECHO_C" >&6
4225 if test -n "$ac_ct_RANLIB"; then
4226 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir
=.
4233 for ac_exec_ext
in '' $ac_executable_extensions; do
4234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4235 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4245 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4246 if test -n "$ac_ct_RANLIB"; then
4247 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4248 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4250 echo "$as_me:$LINENO: result: no" >&5
4251 echo "${ECHO_T}no" >&6
4254 RANLIB
=$ac_ct_RANLIB
4256 RANLIB
="$ac_cv_prog_RANLIB"
4260 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4261 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4263 if test "$LN_S" = "ln -s"; then
4264 echo "$as_me:$LINENO: result: yes" >&5
4265 echo "${ECHO_T}yes" >&6
4267 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4268 echo "${ECHO_T}no, using $LN_S" >&6
4271 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4272 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4273 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
4274 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4275 echo $ECHO_N "(cached) $ECHO_C" >&6
4277 cat >conftest.
make <<\_ACEOF
4279 @
echo 'ac_maketemp="$(MAKE)"'
4281 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4282 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4283 if test -n "$ac_maketemp"; then
4284 eval ac_cv_prog_make_
${ac_make}_set
=yes
4286 eval ac_cv_prog_make_
${ac_make}_set
=no
4290 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4291 echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6
4295 echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6
4297 SET_MAKE
="MAKE=${MAKE-make}"
4301 ac_cpp
='$CPP $CPPFLAGS'
4302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4305 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4306 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4307 # On Suns, sometimes $CPP names a directory.
4308 if test -n "$CPP" && test -d "$CPP"; then
4311 if test -z "$CPP"; then
4312 if test "${ac_cv_prog_CPP+set}" = set; then
4313 echo $ECHO_N "(cached) $ECHO_C" >&6
4315 # Double quotes because CPP needs to be expanded
4316 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4319 for ac_c_preproc_warn_flag
in '' yes
4321 # Use a header file that comes with gcc, so configuring glibc
4322 # with a fresh cross-compiler works.
4323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4324 # <limits.h> exists even on freestanding compilers.
4325 # On the NeXT, cc -E runs the code through the compiler's parser,
4326 # not just through cpp. "Syntax error" is here to catch this case.
4327 cat >conftest.
$ac_ext <<_ACEOF
4330 cat confdefs.h
>>conftest.
$ac_ext
4331 cat >>conftest.
$ac_ext <<_ACEOF
4332 /* end confdefs.h. */
4334 # include <limits.h>
4336 # include <assert.h>
4340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4341 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4343 grep -v '^ *+' conftest.er1
>conftest.err
4345 cat conftest.err
>&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } >/dev
/null
; then
4348 if test -s conftest.err
; then
4349 ac_cpp_err
=$ac_c_preproc_warn_flag
4350 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4357 if test -z "$ac_cpp_err"; then
4360 echo "$as_me: failed program was:" >&5
4361 sed 's/^/| /' conftest.
$ac_ext >&5
4363 # Broken: fails on valid input.
4366 rm -f conftest.err conftest.
$ac_ext
4368 # OK, works on sane cases. Now check whether non-existent headers
4369 # can be detected and how.
4370 cat >conftest.
$ac_ext <<_ACEOF
4373 cat confdefs.h
>>conftest.
$ac_ext
4374 cat >>conftest.
$ac_ext <<_ACEOF
4375 /* end confdefs.h. */
4376 #include <ac_nonexistent.h>
4378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4379 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4381 grep -v '^ *+' conftest.er1
>conftest.err
4383 cat conftest.err
>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } >/dev
/null
; then
4386 if test -s conftest.err
; then
4387 ac_cpp_err
=$ac_c_preproc_warn_flag
4388 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4395 if test -z "$ac_cpp_err"; then
4396 # Broken: success on invalid input.
4399 echo "$as_me: failed program was:" >&5
4400 sed 's/^/| /' conftest.
$ac_ext >&5
4402 # Passes both tests.
4406 rm -f conftest.err conftest.
$ac_ext
4409 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4410 rm -f conftest.err conftest.
$ac_ext
4411 if $ac_preproc_ok; then
4423 echo "$as_me:$LINENO: result: $CPP" >&5
4424 echo "${ECHO_T}$CPP" >&6
4426 for ac_c_preproc_warn_flag
in '' yes
4428 # Use a header file that comes with gcc, so configuring glibc
4429 # with a fresh cross-compiler works.
4430 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4431 # <limits.h> exists even on freestanding compilers.
4432 # On the NeXT, cc -E runs the code through the compiler's parser,
4433 # not just through cpp. "Syntax error" is here to catch this case.
4434 cat >conftest.
$ac_ext <<_ACEOF
4437 cat confdefs.h
>>conftest.
$ac_ext
4438 cat >>conftest.
$ac_ext <<_ACEOF
4439 /* end confdefs.h. */
4441 # include <limits.h>
4443 # include <assert.h>
4447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4448 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4450 grep -v '^ *+' conftest.er1
>conftest.err
4452 cat conftest.err
>&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } >/dev
/null
; then
4455 if test -s conftest.err
; then
4456 ac_cpp_err
=$ac_c_preproc_warn_flag
4457 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4464 if test -z "$ac_cpp_err"; then
4467 echo "$as_me: failed program was:" >&5
4468 sed 's/^/| /' conftest.
$ac_ext >&5
4470 # Broken: fails on valid input.
4473 rm -f conftest.err conftest.
$ac_ext
4475 # OK, works on sane cases. Now check whether non-existent headers
4476 # can be detected and how.
4477 cat >conftest.
$ac_ext <<_ACEOF
4480 cat confdefs.h
>>conftest.
$ac_ext
4481 cat >>conftest.
$ac_ext <<_ACEOF
4482 /* end confdefs.h. */
4483 #include <ac_nonexistent.h>
4485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4486 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4488 grep -v '^ *+' conftest.er1
>conftest.err
4490 cat conftest.err
>&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); } >/dev
/null
; then
4493 if test -s conftest.err
; then
4494 ac_cpp_err
=$ac_c_preproc_warn_flag
4495 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4502 if test -z "$ac_cpp_err"; then
4503 # Broken: success on invalid input.
4506 echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.
$ac_ext >&5
4509 # Passes both tests.
4513 rm -f conftest.err conftest.
$ac_ext
4516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4517 rm -f conftest.err conftest.
$ac_ext
4518 if $ac_preproc_ok; then
4521 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4522 See \`config.log' for more details." >&5
4523 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4524 See \`config.log' for more details." >&2;}
4525 { (exit 1); exit 1; }; }
4529 ac_cpp
='$CPP $CPPFLAGS'
4530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4535 echo "$as_me:$LINENO: checking for egrep" >&5
4536 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4537 if test "${ac_cv_prog_egrep+set}" = set; then
4538 echo $ECHO_N "(cached) $ECHO_C" >&6
4540 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
4541 then ac_cv_prog_egrep
='grep -E'
4542 else ac_cv_prog_egrep
='egrep'
4545 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4546 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4547 EGREP
=$ac_cv_prog_egrep
4550 if test $ac_cv_c_compiler_gnu = yes; then
4551 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4552 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4553 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 ac_pattern
="Autoconf.*'x'"
4557 cat >conftest.
$ac_ext <<_ACEOF
4560 cat confdefs.h
>>conftest.
$ac_ext
4561 cat >>conftest.
$ac_ext <<_ACEOF
4562 /* end confdefs.h. */
4566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4567 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
4568 ac_cv_prog_gcc_traditional
=yes
4570 ac_cv_prog_gcc_traditional
=no
4575 if test $ac_cv_prog_gcc_traditional = no
; then
4576 cat >conftest.
$ac_ext <<_ACEOF
4579 cat confdefs.h
>>conftest.
$ac_ext
4580 cat >>conftest.
$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4586 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
4587 ac_cv_prog_gcc_traditional
=yes
4593 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4594 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4595 if test $ac_cv_prog_gcc_traditional = yes; then
4596 CC
="$CC -traditional"
4600 # Extract the first word of "gmake", so it can be a program name with args.
4601 set dummy gmake
; ac_word
=$2
4602 echo "$as_me:$LINENO: checking for $ac_word" >&5
4603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4604 if test "${ac_cv_prog_MAKER+set}" = set; then
4605 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 if test -n "$MAKER"; then
4608 ac_cv_prog_MAKER
="$MAKER" # Let the user override the test.
4610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4614 test -z "$as_dir" && as_dir
=.
4615 for ac_exec_ext
in '' $ac_executable_extensions; do
4616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4617 ac_cv_prog_MAKER
="gmake"
4618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 test -z "$ac_cv_prog_MAKER" && ac_cv_prog_MAKER
="make"
4627 MAKER
=$ac_cv_prog_MAKER
4628 if test -n "$MAKER"; then
4629 echo "$as_me:$LINENO: result: $MAKER" >&5
4630 echo "${ECHO_T}$MAKER" >&6
4632 echo "$as_me:$LINENO: result: no" >&5
4633 echo "${ECHO_T}no" >&6
4638 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
4641 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
4645 EXTRA_DEFINE
="-D__SOLARIS__"
4646 ANSI_SRC
="-fno-builtin"
4649 ANSI_SRC
="-fno-builtin"
4652 EXTRA_DEFINE
="-D_GNU_SOURCE"
4659 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
4662 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4663 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
4664 if test "${ac_cv_lib_socket_socket+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 ac_check_lib_save_LIBS
=$LIBS
4668 LIBS
="-lsocket $LIBS"
4669 cat >conftest.
$ac_ext <<_ACEOF
4672 cat confdefs.h
>>conftest.
$ac_ext
4673 cat >>conftest.
$ac_ext <<_ACEOF
4674 /* end confdefs.h. */
4676 /* Override any gcc2 internal prototype to avoid an error. */
4680 /* We use char because int might match the return type of a gcc2
4681 builtin and then its argument prototype would still apply. */
4691 rm -f conftest.
$ac_objext conftest
$ac_exeext
4692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4693 (eval $ac_link) 2>conftest.er1
4695 grep -v '^ *+' conftest.er1
>conftest.err
4697 cat conftest.err
>&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); } &&
4700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); }; } &&
4706 { ac_try
='test -s conftest$ac_exeext'
4707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); }; }; then
4712 ac_cv_lib_socket_socket
=yes
4714 echo "$as_me: failed program was:" >&5
4715 sed 's/^/| /' conftest.
$ac_ext >&5
4717 ac_cv_lib_socket_socket
=no
4719 rm -f conftest.err conftest.
$ac_objext \
4720 conftest
$ac_exeext conftest.
$ac_ext
4721 LIBS
=$ac_check_lib_save_LIBS
4723 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4724 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
4725 if test $ac_cv_lib_socket_socket = yes; then
4726 cat >>confdefs.h
<<_ACEOF
4727 #define HAVE_LIBSOCKET 1
4730 LIBS
="-lsocket $LIBS"
4735 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4736 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4737 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4738 echo $ECHO_N "(cached) $ECHO_C" >&6
4740 ac_check_lib_save_LIBS
=$LIBS
4742 cat >conftest.
$ac_ext <<_ACEOF
4745 cat confdefs.h
>>conftest.
$ac_ext
4746 cat >>conftest.
$ac_ext <<_ACEOF
4747 /* end confdefs.h. */
4749 /* Override any gcc2 internal prototype to avoid an error. */
4753 /* We use char because int might match the return type of a gcc2
4754 builtin and then its argument prototype would still apply. */
4755 char gethostbyname ();
4764 rm -f conftest.
$ac_objext conftest
$ac_exeext
4765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4766 (eval $ac_link) 2>conftest.er1
4768 grep -v '^ *+' conftest.er1
>conftest.err
4770 cat conftest.err
>&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); } &&
4773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }; } &&
4779 { ac_try
='test -s conftest$ac_exeext'
4780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; }; then
4785 ac_cv_lib_nsl_gethostbyname
=yes
4787 echo "$as_me: failed program was:" >&5
4788 sed 's/^/| /' conftest.
$ac_ext >&5
4790 ac_cv_lib_nsl_gethostbyname
=no
4792 rm -f conftest.err conftest.
$ac_objext \
4793 conftest
$ac_exeext conftest.
$ac_ext
4794 LIBS
=$ac_check_lib_save_LIBS
4796 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4797 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4798 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4799 cat >>confdefs.h
<<_ACEOF
4800 #define HAVE_LIBNSL 1
4808 echo "$as_me:$LINENO: checking for main in -lm" >&5
4809 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4810 if test "${ac_cv_lib_m_main+set}" = set; then
4811 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 ac_check_lib_save_LIBS
=$LIBS
4815 cat >conftest.
$ac_ext <<_ACEOF
4818 cat confdefs.h
>>conftest.
$ac_ext
4819 cat >>conftest.
$ac_ext <<_ACEOF
4820 /* end confdefs.h. */
4831 rm -f conftest.
$ac_objext conftest
$ac_exeext
4832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4833 (eval $ac_link) 2>conftest.er1
4835 grep -v '^ *+' conftest.er1
>conftest.err
4837 cat conftest.err
>&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); } &&
4840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); }; } &&
4846 { ac_try
='test -s conftest$ac_exeext'
4847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); }; }; then
4852 ac_cv_lib_m_main
=yes
4854 echo "$as_me: failed program was:" >&5
4855 sed 's/^/| /' conftest.
$ac_ext >&5
4859 rm -f conftest.err conftest.
$ac_objext \
4860 conftest
$ac_exeext conftest.
$ac_ext
4861 LIBS
=$ac_check_lib_save_LIBS
4863 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4864 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4865 if test $ac_cv_lib_m_main = yes; then
4866 cat >>confdefs.h
<<_ACEOF
4875 echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
4876 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6
4877 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 ac_check_lib_save_LIBS
=$LIBS
4881 LIBS
="-lGeoIP $LIBS"
4882 cat >conftest.
$ac_ext <<_ACEOF
4885 cat confdefs.h
>>conftest.
$ac_ext
4886 cat >>conftest.
$ac_ext <<_ACEOF
4887 /* end confdefs.h. */
4889 /* Override any gcc2 internal prototype to avoid an error. */
4893 /* We use char because int might match the return type of a gcc2
4894 builtin and then its argument prototype would still apply. */
4904 rm -f conftest.
$ac_objext conftest
$ac_exeext
4905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4906 (eval $ac_link) 2>conftest.er1
4908 grep -v '^ *+' conftest.er1
>conftest.err
4910 cat conftest.err
>&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } &&
4913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); }; } &&
4919 { ac_try
='test -s conftest$ac_exeext'
4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); }; }; then
4925 ac_cv_lib_GeoIP_GeoIP_open
=yes
4927 echo "$as_me: failed program was:" >&5
4928 sed 's/^/| /' conftest.
$ac_ext >&5
4930 ac_cv_lib_GeoIP_GeoIP_open
=no
4932 rm -f conftest.err conftest.
$ac_objext \
4933 conftest
$ac_exeext conftest.
$ac_ext
4934 LIBS
=$ac_check_lib_save_LIBS
4936 echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
4937 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6
4938 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
4939 cat >>confdefs.h
<<_ACEOF
4940 #define HAVE_LIBGEOIP 1
4943 LIBS
="-lGeoIP $LIBS"
4948 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4949 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4950 if test "${ac_cv_header_stdc+set}" = set; then
4951 echo $ECHO_N "(cached) $ECHO_C" >&6
4953 cat >conftest.
$ac_ext <<_ACEOF
4956 cat confdefs.h
>>conftest.
$ac_ext
4957 cat >>conftest.
$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4972 rm -f conftest.
$ac_objext
4973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4974 (eval $ac_compile) 2>conftest.er1
4976 grep -v '^ *+' conftest.er1
>conftest.err
4978 cat conftest.err
>&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); } &&
4981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); }; } &&
4987 { ac_try
='test -s conftest.$ac_objext'
4988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); }; }; then
4993 ac_cv_header_stdc
=yes
4995 echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.
$ac_ext >&5
4998 ac_cv_header_stdc
=no
5000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5002 if test $ac_cv_header_stdc = yes; then
5003 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5004 cat >conftest.
$ac_ext <<_ACEOF
5007 cat confdefs.h
>>conftest.
$ac_ext
5008 cat >>conftest.
$ac_ext <<_ACEOF
5009 /* end confdefs.h. */
5013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5014 $EGREP "memchr" >/dev
/null
2>&1; then
5017 ac_cv_header_stdc
=no
5023 if test $ac_cv_header_stdc = yes; then
5024 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5025 cat >conftest.
$ac_ext <<_ACEOF
5028 cat confdefs.h
>>conftest.
$ac_ext
5029 cat >>conftest.
$ac_ext <<_ACEOF
5030 /* end confdefs.h. */
5034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5035 $EGREP "free" >/dev
/null
2>&1; then
5038 ac_cv_header_stdc
=no
5044 if test $ac_cv_header_stdc = yes; then
5045 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5046 if test "$cross_compiling" = yes; then
5049 cat >conftest.
$ac_ext <<_ACEOF
5052 cat confdefs.h
>>conftest.
$ac_ext
5053 cat >>conftest.
$ac_ext <<_ACEOF
5054 /* end confdefs.h. */
5056 #if ((' ' & 0x0FF) == 0x020)
5057 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5058 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5060 # define ISLOWER(c) \
5061 (('a' <= (c) && (c) <= 'i') \
5062 || ('j' <= (c) && (c) <= 'r') \
5063 || ('s' <= (c) && (c) <= 'z'))
5064 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5067 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5072 for (i = 0; i < 256; i++)
5073 if (XOR (islower (i), ISLOWER (i))
5074 || toupper (i) != TOUPPER (i))
5079 rm -f conftest
$ac_exeext
5080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5081 (eval $ac_link) 2>&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089 (exit $ac_status); }; }; then
5092 echo "$as_me: program exited with status $ac_status" >&5
5093 echo "$as_me: failed program was:" >&5
5094 sed 's/^/| /' conftest.
$ac_ext >&5
5097 ac_cv_header_stdc
=no
5099 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5103 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5104 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5105 if test $ac_cv_header_stdc = yes; then
5107 cat >>confdefs.h
<<\_ACEOF
5108 #define STDC_HEADERS 1
5114 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5115 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5116 if test "${ac_cv_header_time+set}" = set; then
5117 echo $ECHO_N "(cached) $ECHO_C" >&6
5119 cat >conftest.
$ac_ext <<_ACEOF
5122 cat confdefs.h
>>conftest.
$ac_ext
5123 cat >>conftest.
$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5125 #include <sys/types.h>
5126 #include <sys/time.h>
5132 if ((struct tm *) 0)
5138 rm -f conftest.
$ac_objext
5139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5140 (eval $ac_compile) 2>conftest.er1
5142 grep -v '^ *+' conftest.er1
>conftest.err
5144 cat conftest.err
>&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); } &&
5147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152 (exit $ac_status); }; } &&
5153 { ac_try
='test -s conftest.$ac_objext'
5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158 (exit $ac_status); }; }; then
5159 ac_cv_header_time
=yes
5161 echo "$as_me: failed program was:" >&5
5162 sed 's/^/| /' conftest.
$ac_ext >&5
5164 ac_cv_header_time
=no
5166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5168 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5169 echo "${ECHO_T}$ac_cv_header_time" >&6
5170 if test $ac_cv_header_time = yes; then
5172 cat >>confdefs.h
<<\_ACEOF
5173 #define TIME_WITH_SYS_TIME 1
5178 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5179 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5180 if test "${ac_cv_struct_tm+set}" = set; then
5181 echo $ECHO_N "(cached) $ECHO_C" >&6
5183 cat >conftest.
$ac_ext <<_ACEOF
5186 cat confdefs.h
>>conftest.
$ac_ext
5187 cat >>conftest.
$ac_ext <<_ACEOF
5188 /* end confdefs.h. */
5189 #include <sys/types.h>
5195 struct tm *tp; tp->tm_sec;
5200 rm -f conftest.
$ac_objext
5201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5202 (eval $ac_compile) 2>conftest.er1
5204 grep -v '^ *+' conftest.er1
>conftest.err
5206 cat conftest.err
>&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } &&
5209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); }; } &&
5215 { ac_try
='test -s conftest.$ac_objext'
5216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; }; then
5221 ac_cv_struct_tm
=time.h
5223 echo "$as_me: failed program was:" >&5
5224 sed 's/^/| /' conftest.
$ac_ext >&5
5226 ac_cv_struct_tm
=sys
/time.h
5228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5230 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5231 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5232 if test $ac_cv_struct_tm = sys
/time.h
; then
5234 cat >>confdefs.h
<<\_ACEOF
5235 #define TM_IN_SYS_TIME 1
5241 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5251 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5252 inttypes.h stdint.h unistd.h
5254 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5255 echo "$as_me:$LINENO: checking for $ac_header" >&5
5256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5258 echo $ECHO_N "(cached) $ECHO_C" >&6
5260 cat >conftest.
$ac_ext <<_ACEOF
5263 cat confdefs.h
>>conftest.
$ac_ext
5264 cat >>conftest.
$ac_ext <<_ACEOF
5265 /* end confdefs.h. */
5266 $ac_includes_default
5268 #include <$ac_header>
5270 rm -f conftest.
$ac_objext
5271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5272 (eval $ac_compile) 2>conftest.er1
5274 grep -v '^ *+' conftest.er1
>conftest.err
5276 cat conftest.err
>&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } &&
5279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; } &&
5285 { ac_try
='test -s conftest.$ac_objext'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; }; then
5291 eval "$as_ac_Header=yes"
5293 echo "$as_me: failed program was:" >&5
5294 sed 's/^/| /' conftest.
$ac_ext >&5
5296 eval "$as_ac_Header=no"
5298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5303 cat >>confdefs.h
<<_ACEOF
5304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5334 for ac_header
in GeoIP.h GeoIPCity.h fcntl.h tgmath.h malloc.h netdb.h netinet
/in.h sys
/resource.h sys
/timeb.h sys
/times.h sys
/param.h sys
/socket.h sys
/time.h sys
/types.h sys
/wait.h unistd.h getopt.h memory.h arpa
/inet.h sys
/mman.h sys
/stat.h dirent.h
5336 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5338 echo "$as_me:$LINENO: checking for $ac_header" >&5
5339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5346 # Is the header compilable?
5347 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5348 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5349 cat >conftest.
$ac_ext <<_ACEOF
5352 cat confdefs.h
>>conftest.
$ac_ext
5353 cat >>conftest.
$ac_ext <<_ACEOF
5354 /* end confdefs.h. */
5355 $ac_includes_default
5356 #include <$ac_header>
5358 rm -f conftest.
$ac_objext
5359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5360 (eval $ac_compile) 2>conftest.er1
5362 grep -v '^ *+' conftest.er1
>conftest.err
5364 cat conftest.err
>&5
5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 (exit $ac_status); } &&
5367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); }; } &&
5373 { ac_try
='test -s conftest.$ac_objext'
5374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); }; }; then
5379 ac_header_compiler
=yes
5381 echo "$as_me: failed program was:" >&5
5382 sed 's/^/| /' conftest.
$ac_ext >&5
5384 ac_header_compiler
=no
5386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5387 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5388 echo "${ECHO_T}$ac_header_compiler" >&6
5390 # Is the header present?
5391 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5392 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5393 cat >conftest.
$ac_ext <<_ACEOF
5396 cat confdefs.h
>>conftest.
$ac_ext
5397 cat >>conftest.
$ac_ext <<_ACEOF
5398 /* end confdefs.h. */
5399 #include <$ac_header>
5401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5402 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5404 grep -v '^ *+' conftest.er1
>conftest.err
5406 cat conftest.err
>&5
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 (exit $ac_status); } >/dev
/null
; then
5409 if test -s conftest.err
; then
5410 ac_cpp_err
=$ac_c_preproc_warn_flag
5411 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5418 if test -z "$ac_cpp_err"; then
5419 ac_header_preproc
=yes
5421 echo "$as_me: failed program was:" >&5
5422 sed 's/^/| /' conftest.
$ac_ext >&5
5424 ac_header_preproc
=no
5426 rm -f conftest.err conftest.
$ac_ext
5427 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5428 echo "${ECHO_T}$ac_header_preproc" >&6
5430 # So? What about this header?
5431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5433 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5434 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5436 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5437 ac_header_preproc
=yes
5440 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5441 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5442 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5443 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5444 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5445 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5446 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5447 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5450 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5451 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5454 ## -------------------------------------------------- ##
5455 ## Report this to evilnet-devel@lists.sourceforge.net ##
5456 ## -------------------------------------------------- ##
5459 sed "s/^/$as_me: WARNING: /" >&2
5462 echo "$as_me:$LINENO: checking for $ac_header" >&5
5463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 eval "$as_ac_Header=\$ac_header_preproc"
5469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5474 cat >>confdefs.h
<<_ACEOF
5475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5483 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
5484 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
5485 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
5486 echo $ECHO_N "(cached) $ECHO_C" >&6
5488 cat >conftest.
$ac_ext <<_ACEOF
5491 cat confdefs.h
>>conftest.
$ac_ext
5492 cat >>conftest.
$ac_ext <<_ACEOF
5493 /* end confdefs.h. */
5494 #include <sys/types.h>
5495 #include <sys/socket.h>
5500 static struct sockaddr ac_aggr;
5507 rm -f conftest.
$ac_objext
5508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5509 (eval $ac_compile) 2>conftest.er1
5511 grep -v '^ *+' conftest.er1
>conftest.err
5513 cat conftest.err
>&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); } &&
5516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); }; } &&
5522 { ac_try
='test -s conftest.$ac_objext'
5523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); }; }; then
5528 ac_cv_member_struct_sockaddr_sa_len
=yes
5530 echo "$as_me: failed program was:" >&5
5531 sed 's/^/| /' conftest.
$ac_ext >&5
5533 cat >conftest.
$ac_ext <<_ACEOF
5536 cat confdefs.h
>>conftest.
$ac_ext
5537 cat >>conftest.
$ac_ext <<_ACEOF
5538 /* end confdefs.h. */
5539 #include <sys/types.h>
5540 #include <sys/socket.h>
5545 static struct sockaddr ac_aggr;
5546 if (sizeof ac_aggr.sa_len)
5552 rm -f conftest.
$ac_objext
5553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5554 (eval $ac_compile) 2>conftest.er1
5556 grep -v '^ *+' conftest.er1
>conftest.err
5558 cat conftest.err
>&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); } &&
5561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); }; } &&
5567 { ac_try
='test -s conftest.$ac_objext'
5568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); }; }; then
5573 ac_cv_member_struct_sockaddr_sa_len
=yes
5575 echo "$as_me: failed program was:" >&5
5576 sed 's/^/| /' conftest.
$ac_ext >&5
5578 ac_cv_member_struct_sockaddr_sa_len
=no
5580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5584 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
5585 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
5586 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
5588 cat >>confdefs.h
<<\_ACEOF
5589 #define HAVE_SOCKADDR_SA_LEN
5594 echo "$as_me:$LINENO: checking for struct addrinfo.ai_flags" >&5
5595 echo $ECHO_N "checking for struct addrinfo.ai_flags... $ECHO_C" >&6
5596 if test "${ac_cv_member_struct_addrinfo_ai_flags+set}" = set; then
5597 echo $ECHO_N "(cached) $ECHO_C" >&6
5599 cat >conftest.
$ac_ext <<_ACEOF
5602 cat confdefs.h
>>conftest.
$ac_ext
5603 cat >>conftest.
$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5605 #include <sys/types.h>
5606 #include <sys/socket.h>
5612 static struct addrinfo ac_aggr;
5613 if (ac_aggr.ai_flags)
5619 rm -f conftest.
$ac_objext
5620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5621 (eval $ac_compile) 2>conftest.er1
5623 grep -v '^ *+' conftest.er1
>conftest.err
5625 cat conftest.err
>&5
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); } &&
5628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); }; } &&
5634 { ac_try
='test -s conftest.$ac_objext'
5635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); }; }; then
5640 ac_cv_member_struct_addrinfo_ai_flags
=yes
5642 echo "$as_me: failed program was:" >&5
5643 sed 's/^/| /' conftest.
$ac_ext >&5
5645 cat >conftest.
$ac_ext <<_ACEOF
5648 cat confdefs.h
>>conftest.
$ac_ext
5649 cat >>conftest.
$ac_ext <<_ACEOF
5650 /* end confdefs.h. */
5651 #include <sys/types.h>
5652 #include <sys/socket.h>
5658 static struct addrinfo ac_aggr;
5659 if (sizeof ac_aggr.ai_flags)
5665 rm -f conftest.
$ac_objext
5666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5667 (eval $ac_compile) 2>conftest.er1
5669 grep -v '^ *+' conftest.er1
>conftest.err
5671 cat conftest.err
>&5
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); } &&
5674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); }; } &&
5680 { ac_try
='test -s conftest.$ac_objext'
5681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); }; }; then
5686 ac_cv_member_struct_addrinfo_ai_flags
=yes
5688 echo "$as_me: failed program was:" >&5
5689 sed 's/^/| /' conftest.
$ac_ext >&5
5691 ac_cv_member_struct_addrinfo_ai_flags
=no
5693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5697 echo "$as_me:$LINENO: result: $ac_cv_member_struct_addrinfo_ai_flags" >&5
5698 echo "${ECHO_T}$ac_cv_member_struct_addrinfo_ai_flags" >&6
5699 if test $ac_cv_member_struct_addrinfo_ai_flags = yes; then
5701 cat >>confdefs.h
<<\_ACEOF
5702 #define HAVE_STRUCT_ADDRINFO
5709 for ac_func
in gettimeofday
5711 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5712 echo "$as_me:$LINENO: checking for $ac_func" >&5
5713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5714 if eval "test \"\${$as_ac_var+set}\" = set"; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5717 cat >conftest.
$ac_ext <<_ACEOF
5720 cat confdefs.h
>>conftest.
$ac_ext
5721 cat >>conftest.
$ac_ext <<_ACEOF
5722 /* end confdefs.h. */
5723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5725 #define $ac_func innocuous_$ac_func
5727 /* System header to define __stub macros and hopefully few prototypes,
5728 which can conflict with char $ac_func (); below.
5729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5730 <limits.h> exists even on freestanding compilers. */
5733 # include <limits.h>
5735 # include <assert.h>
5740 /* Override any gcc2 internal prototype to avoid an error. */
5745 /* We use char because int might match the return type of a gcc2
5746 builtin and then its argument prototype would still apply. */
5748 /* The GNU C library defines this for functions which it implements
5749 to always fail with ENOSYS. Some functions are actually named
5750 something starting with __ and the normal name is an alias. */
5751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5754 char (*f) () = $ac_func;
5763 return f != $ac_func;
5768 rm -f conftest.
$ac_objext conftest
$ac_exeext
5769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5770 (eval $ac_link) 2>conftest.er1
5772 grep -v '^ *+' conftest.er1
>conftest.err
5774 cat conftest.err
>&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); } &&
5777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); }; } &&
5783 { ac_try
='test -s conftest$ac_exeext'
5784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788 (exit $ac_status); }; }; then
5789 eval "$as_ac_var=yes"
5791 echo "$as_me: failed program was:" >&5
5792 sed 's/^/| /' conftest.
$ac_ext >&5
5794 eval "$as_ac_var=no"
5796 rm -f conftest.err conftest.
$ac_objext \
5797 conftest
$ac_exeext conftest.
$ac_ext
5799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5801 if test `eval echo '${'$as_ac_var'}'` = yes; then
5802 cat >>confdefs.h
<<_ACEOF
5803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5809 if test $ac_cv_func_gettimeofday = no
; then
5811 for ac_func
in ftime
5813 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5814 echo "$as_me:$LINENO: checking for $ac_func" >&5
5815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5816 if eval "test \"\${$as_ac_var+set}\" = set"; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 cat >conftest.
$ac_ext <<_ACEOF
5822 cat confdefs.h
>>conftest.
$ac_ext
5823 cat >>conftest.
$ac_ext <<_ACEOF
5824 /* end confdefs.h. */
5825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5827 #define $ac_func innocuous_$ac_func
5829 /* System header to define __stub macros and hopefully few prototypes,
5830 which can conflict with char $ac_func (); below.
5831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5832 <limits.h> exists even on freestanding compilers. */
5835 # include <limits.h>
5837 # include <assert.h>
5842 /* Override any gcc2 internal prototype to avoid an error. */
5847 /* We use char because int might match the return type of a gcc2
5848 builtin and then its argument prototype would still apply. */
5850 /* The GNU C library defines this for functions which it implements
5851 to always fail with ENOSYS. Some functions are actually named
5852 something starting with __ and the normal name is an alias. */
5853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5856 char (*f) () = $ac_func;
5865 return f != $ac_func;
5870 rm -f conftest.
$ac_objext conftest
$ac_exeext
5871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5872 (eval $ac_link) 2>conftest.er1
5874 grep -v '^ *+' conftest.er1
>conftest.err
5876 cat conftest.err
>&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); } &&
5879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; } &&
5885 { ac_try
='test -s conftest$ac_exeext'
5886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); }; }; then
5891 eval "$as_ac_var=yes"
5893 echo "$as_me: failed program was:" >&5
5894 sed 's/^/| /' conftest.
$ac_ext >&5
5896 eval "$as_ac_var=no"
5898 rm -f conftest.err conftest.
$ac_objext \
5899 conftest
$ac_exeext conftest.
$ac_ext
5901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5903 if test `eval echo '${'$as_ac_var'}'` = yes; then
5904 cat >>confdefs.h
<<_ACEOF
5905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5909 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. X3 build will fail." >&5
5910 echo "$as_me: error: ftime or gettimeofday required. X3 build will fail." >&2;}
5911 { (exit 1); exit 1; }; }
5931 for ac_func
in freeaddrinfo getaddrinfo getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long sysconf
5933 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5934 echo "$as_me:$LINENO: checking for $ac_func" >&5
5935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5936 if eval "test \"\${$as_ac_var+set}\" = set"; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5939 cat >conftest.
$ac_ext <<_ACEOF
5942 cat confdefs.h
>>conftest.
$ac_ext
5943 cat >>conftest.
$ac_ext <<_ACEOF
5944 /* end confdefs.h. */
5945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5947 #define $ac_func innocuous_$ac_func
5949 /* System header to define __stub macros and hopefully few prototypes,
5950 which can conflict with char $ac_func (); below.
5951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5952 <limits.h> exists even on freestanding compilers. */
5955 # include <limits.h>
5957 # include <assert.h>
5962 /* Override any gcc2 internal prototype to avoid an error. */
5967 /* We use char because int might match the return type of a gcc2
5968 builtin and then its argument prototype would still apply. */
5970 /* The GNU C library defines this for functions which it implements
5971 to always fail with ENOSYS. Some functions are actually named
5972 something starting with __ and the normal name is an alias. */
5973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5976 char (*f) () = $ac_func;
5985 return f != $ac_func;
5990 rm -f conftest.
$ac_objext conftest
$ac_exeext
5991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5992 (eval $ac_link) 2>conftest.er1
5994 grep -v '^ *+' conftest.er1
>conftest.err
5996 cat conftest.err
>&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); } &&
5999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); }; } &&
6005 { ac_try
='test -s conftest$ac_exeext'
6006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); }; }; then
6011 eval "$as_ac_var=yes"
6013 echo "$as_me: failed program was:" >&5
6014 sed 's/^/| /' conftest.
$ac_ext >&5
6016 eval "$as_ac_var=no"
6018 rm -f conftest.err conftest.
$ac_objext \
6019 conftest
$ac_exeext conftest.
$ac_ext
6021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6023 if test `eval echo '${'$as_ac_var'}'` = yes; then
6024 cat >>confdefs.h
<<_ACEOF
6025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6038 for ac_func
in select socket strcspn strspn strtod strtoul
6040 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6041 echo "$as_me:$LINENO: checking for $ac_func" >&5
6042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6043 if eval "test \"\${$as_ac_var+set}\" = set"; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 cat >conftest.
$ac_ext <<_ACEOF
6049 cat confdefs.h
>>conftest.
$ac_ext
6050 cat >>conftest.
$ac_ext <<_ACEOF
6051 /* end confdefs.h. */
6052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6054 #define $ac_func innocuous_$ac_func
6056 /* System header to define __stub macros and hopefully few prototypes,
6057 which can conflict with char $ac_func (); below.
6058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6059 <limits.h> exists even on freestanding compilers. */
6062 # include <limits.h>
6064 # include <assert.h>
6069 /* Override any gcc2 internal prototype to avoid an error. */
6074 /* We use char because int might match the return type of a gcc2
6075 builtin and then its argument prototype would still apply. */
6077 /* The GNU C library defines this for functions which it implements
6078 to always fail with ENOSYS. Some functions are actually named
6079 something starting with __ and the normal name is an alias. */
6080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6083 char (*f) () = $ac_func;
6092 return f != $ac_func;
6097 rm -f conftest.
$ac_objext conftest
$ac_exeext
6098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6099 (eval $ac_link) 2>conftest.er1
6101 grep -v '^ *+' conftest.er1
>conftest.err
6103 cat conftest.err
>&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); } &&
6106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); }; } &&
6112 { ac_try
='test -s conftest$ac_exeext'
6113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); }; }; then
6118 eval "$as_ac_var=yes"
6120 echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.
$ac_ext >&5
6123 eval "$as_ac_var=no"
6125 rm -f conftest.err conftest.
$ac_objext \
6126 conftest
$ac_exeext conftest.
$ac_ext
6128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6130 if test `eval echo '${'$as_ac_var'}'` = yes; then
6131 cat >>confdefs.h
<<_ACEOF
6132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6136 { { echo "$as_me:$LINENO: error: a required function was not found. X3 build will fail." >&5
6137 echo "$as_me: error: a required function was not found. X3 build will fail." >&2;}
6138 { (exit 1); exit 1; }; }
6143 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6144 # for constant arguments. Useless!
6145 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6146 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6147 if test "${ac_cv_working_alloca_h+set}" = set; then
6148 echo $ECHO_N "(cached) $ECHO_C" >&6
6150 cat >conftest.
$ac_ext <<_ACEOF
6153 cat confdefs.h
>>conftest.
$ac_ext
6154 cat >>conftest.
$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6160 char *p = (char *) alloca (2 * sizeof (int));
6165 rm -f conftest.
$ac_objext conftest
$ac_exeext
6166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6167 (eval $ac_link) 2>conftest.er1
6169 grep -v '^ *+' conftest.er1
>conftest.err
6171 cat conftest.err
>&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); } &&
6174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; } &&
6180 { ac_try
='test -s conftest$ac_exeext'
6181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); }; }; then
6186 ac_cv_working_alloca_h
=yes
6188 echo "$as_me: failed program was:" >&5
6189 sed 's/^/| /' conftest.
$ac_ext >&5
6191 ac_cv_working_alloca_h
=no
6193 rm -f conftest.err conftest.
$ac_objext \
6194 conftest
$ac_exeext conftest.
$ac_ext
6196 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6197 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6198 if test $ac_cv_working_alloca_h = yes; then
6200 cat >>confdefs.h
<<\_ACEOF
6201 #define HAVE_ALLOCA_H 1
6206 echo "$as_me:$LINENO: checking for alloca" >&5
6207 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6208 if test "${ac_cv_func_alloca_works+set}" = set; then
6209 echo $ECHO_N "(cached) $ECHO_C" >&6
6211 cat >conftest.
$ac_ext <<_ACEOF
6214 cat confdefs.h
>>conftest.
$ac_ext
6215 cat >>conftest.
$ac_ext <<_ACEOF
6216 /* end confdefs.h. */
6218 # define alloca __builtin_alloca
6221 # include <malloc.h>
6222 # define alloca _alloca
6225 # include <alloca.h>
6230 # ifndef alloca /* predefined by HP cc +Olibcalls */
6241 char *p = (char *) alloca (1);
6246 rm -f conftest.
$ac_objext conftest
$ac_exeext
6247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6248 (eval $ac_link) 2>conftest.er1
6250 grep -v '^ *+' conftest.er1
>conftest.err
6252 cat conftest.err
>&5
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); } &&
6255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260 (exit $ac_status); }; } &&
6261 { ac_try
='test -s conftest$ac_exeext'
6262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); }; }; then
6267 ac_cv_func_alloca_works
=yes
6269 echo "$as_me: failed program was:" >&5
6270 sed 's/^/| /' conftest.
$ac_ext >&5
6272 ac_cv_func_alloca_works
=no
6274 rm -f conftest.err conftest.
$ac_objext \
6275 conftest
$ac_exeext conftest.
$ac_ext
6277 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6278 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6280 if test $ac_cv_func_alloca_works = yes; then
6282 cat >>confdefs.h
<<\_ACEOF
6283 #define HAVE_ALLOCA 1
6287 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6288 # that cause trouble. Some versions do not even contain alloca or
6289 # contain a buggy version. If you still want to use their alloca,
6290 # use ar to extract alloca.o from them instead of compiling alloca.c.
6292 ALLOCA
=alloca.
$ac_objext
6294 cat >>confdefs.h
<<\_ACEOF
6299 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6300 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6301 if test "${ac_cv_os_cray+set}" = set; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 cat >conftest.
$ac_ext <<_ACEOF
6307 cat confdefs.h
>>conftest.
$ac_ext
6308 cat >>conftest.
$ac_ext <<_ACEOF
6309 /* end confdefs.h. */
6310 #if defined(CRAY) && ! defined(CRAY2)
6317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6318 $EGREP "webecray" >/dev
/null
2>&1; then
6326 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6327 echo "${ECHO_T}$ac_cv_os_cray" >&6
6328 if test $ac_cv_os_cray = yes; then
6329 for ac_func
in _getb67 GETB67 getb67
; do
6330 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6331 echo "$as_me:$LINENO: checking for $ac_func" >&5
6332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6333 if eval "test \"\${$as_ac_var+set}\" = set"; then
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 cat >conftest.
$ac_ext <<_ACEOF
6339 cat confdefs.h
>>conftest.
$ac_ext
6340 cat >>conftest.
$ac_ext <<_ACEOF
6341 /* end confdefs.h. */
6342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6344 #define $ac_func innocuous_$ac_func
6346 /* System header to define __stub macros and hopefully few prototypes,
6347 which can conflict with char $ac_func (); below.
6348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6349 <limits.h> exists even on freestanding compilers. */
6352 # include <limits.h>
6354 # include <assert.h>
6359 /* Override any gcc2 internal prototype to avoid an error. */
6364 /* We use char because int might match the return type of a gcc2
6365 builtin and then its argument prototype would still apply. */
6367 /* The GNU C library defines this for functions which it implements
6368 to always fail with ENOSYS. Some functions are actually named
6369 something starting with __ and the normal name is an alias. */
6370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6373 char (*f) () = $ac_func;
6382 return f != $ac_func;
6387 rm -f conftest.
$ac_objext conftest
$ac_exeext
6388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6389 (eval $ac_link) 2>conftest.er1
6391 grep -v '^ *+' conftest.er1
>conftest.err
6393 cat conftest.err
>&5
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); } &&
6396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); }; } &&
6402 { ac_try
='test -s conftest$ac_exeext'
6403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; }; then
6408 eval "$as_ac_var=yes"
6410 echo "$as_me: failed program was:" >&5
6411 sed 's/^/| /' conftest.
$ac_ext >&5
6413 eval "$as_ac_var=no"
6415 rm -f conftest.err conftest.
$ac_objext \
6416 conftest
$ac_exeext conftest.
$ac_ext
6418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6420 if test `eval echo '${'$as_ac_var'}'` = yes; then
6422 cat >>confdefs.h
<<_ACEOF
6423 #define CRAY_STACKSEG_END $ac_func
6432 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6433 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6434 if test "${ac_cv_c_stack_direction+set}" = set; then
6435 echo $ECHO_N "(cached) $ECHO_C" >&6
6437 if test "$cross_compiling" = yes; then
6438 ac_cv_c_stack_direction
=0
6440 cat >conftest.
$ac_ext <<_ACEOF
6443 cat confdefs.h
>>conftest.
$ac_ext
6444 cat >>conftest.
$ac_ext <<_ACEOF
6445 /* end confdefs.h. */
6447 find_stack_direction ()
6449 static char *addr = 0;
6454 return find_stack_direction ();
6457 return (&dummy > addr) ? 1 : -1;
6463 exit (find_stack_direction () < 0);
6466 rm -f conftest
$ac_exeext
6467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6468 (eval $ac_link) 2>&5
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; }; then
6477 ac_cv_c_stack_direction
=1
6479 echo "$as_me: program exited with status $ac_status" >&5
6480 echo "$as_me: failed program was:" >&5
6481 sed 's/^/| /' conftest.
$ac_ext >&5
6484 ac_cv_c_stack_direction
=-1
6486 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6489 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6490 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6492 cat >>confdefs.h
<<_ACEOF
6493 #define STACK_DIRECTION $ac_cv_c_stack_direction
6501 for ac_header
in stdlib.h unistd.h
6503 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6505 echo "$as_me:$LINENO: checking for $ac_header" >&5
6506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6508 echo $ECHO_N "(cached) $ECHO_C" >&6
6510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6513 # Is the header compilable?
6514 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6516 cat >conftest.
$ac_ext <<_ACEOF
6519 cat confdefs.h
>>conftest.
$ac_ext
6520 cat >>conftest.
$ac_ext <<_ACEOF
6521 /* end confdefs.h. */
6522 $ac_includes_default
6523 #include <$ac_header>
6525 rm -f conftest.
$ac_objext
6526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6527 (eval $ac_compile) 2>conftest.er1
6529 grep -v '^ *+' conftest.er1
>conftest.err
6531 cat conftest.err
>&5
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); } &&
6534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); }; } &&
6540 { ac_try
='test -s conftest.$ac_objext'
6541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); }; }; then
6546 ac_header_compiler
=yes
6548 echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.
$ac_ext >&5
6551 ac_header_compiler
=no
6553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6554 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6555 echo "${ECHO_T}$ac_header_compiler" >&6
6557 # Is the header present?
6558 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6559 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6560 cat >conftest.
$ac_ext <<_ACEOF
6563 cat confdefs.h
>>conftest.
$ac_ext
6564 cat >>conftest.
$ac_ext <<_ACEOF
6565 /* end confdefs.h. */
6566 #include <$ac_header>
6568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6569 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6571 grep -v '^ *+' conftest.er1
>conftest.err
6573 cat conftest.err
>&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); } >/dev
/null
; then
6576 if test -s conftest.err
; then
6577 ac_cpp_err
=$ac_c_preproc_warn_flag
6578 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6585 if test -z "$ac_cpp_err"; then
6586 ac_header_preproc
=yes
6588 echo "$as_me: failed program was:" >&5
6589 sed 's/^/| /' conftest.
$ac_ext >&5
6591 ac_header_preproc
=no
6593 rm -f conftest.err conftest.
$ac_ext
6594 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6595 echo "${ECHO_T}$ac_header_preproc" >&6
6597 # So? What about this header?
6598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6604 ac_header_preproc
=yes
6607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6621 ## -------------------------------------------------- ##
6622 ## Report this to evilnet-devel@lists.sourceforge.net ##
6623 ## -------------------------------------------------- ##
6626 sed "s/^/$as_me: WARNING: /" >&2
6629 echo "$as_me:$LINENO: checking for $ac_header" >&5
6630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6632 echo $ECHO_N "(cached) $ECHO_C" >&6
6634 eval "$as_ac_Header=\$ac_header_preproc"
6636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6641 cat >>confdefs.h
<<_ACEOF
6642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6650 for ac_func
in getpagesize
6652 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6653 echo "$as_me:$LINENO: checking for $ac_func" >&5
6654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6655 if eval "test \"\${$as_ac_var+set}\" = set"; then
6656 echo $ECHO_N "(cached) $ECHO_C" >&6
6658 cat >conftest.
$ac_ext <<_ACEOF
6661 cat confdefs.h
>>conftest.
$ac_ext
6662 cat >>conftest.
$ac_ext <<_ACEOF
6663 /* end confdefs.h. */
6664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6666 #define $ac_func innocuous_$ac_func
6668 /* System header to define __stub macros and hopefully few prototypes,
6669 which can conflict with char $ac_func (); below.
6670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6671 <limits.h> exists even on freestanding compilers. */
6674 # include <limits.h>
6676 # include <assert.h>
6681 /* Override any gcc2 internal prototype to avoid an error. */
6686 /* We use char because int might match the return type of a gcc2
6687 builtin and then its argument prototype would still apply. */
6689 /* The GNU C library defines this for functions which it implements
6690 to always fail with ENOSYS. Some functions are actually named
6691 something starting with __ and the normal name is an alias. */
6692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6695 char (*f) () = $ac_func;
6704 return f != $ac_func;
6709 rm -f conftest.
$ac_objext conftest
$ac_exeext
6710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6711 (eval $ac_link) 2>conftest.er1
6713 grep -v '^ *+' conftest.er1
>conftest.err
6715 cat conftest.err
>&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } &&
6718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); }; } &&
6724 { ac_try
='test -s conftest$ac_exeext'
6725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); }; }; then
6730 eval "$as_ac_var=yes"
6732 echo "$as_me: failed program was:" >&5
6733 sed 's/^/| /' conftest.
$ac_ext >&5
6735 eval "$as_ac_var=no"
6737 rm -f conftest.err conftest.
$ac_objext \
6738 conftest
$ac_exeext conftest.
$ac_ext
6740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6742 if test `eval echo '${'$as_ac_var'}'` = yes; then
6743 cat >>confdefs.h
<<_ACEOF
6744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6750 echo "$as_me:$LINENO: checking for working mmap" >&5
6751 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6752 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6753 echo $ECHO_N "(cached) $ECHO_C" >&6
6755 if test "$cross_compiling" = yes; then
6756 ac_cv_func_mmap_fixed_mapped
=no
6758 cat >conftest.
$ac_ext <<_ACEOF
6761 cat confdefs.h
>>conftest.
$ac_ext
6762 cat >>conftest.
$ac_ext <<_ACEOF
6763 /* end confdefs.h. */
6764 $ac_includes_default
6765 /* malloc might have been renamed as rpl_malloc. */
6768 /* Thanks to Mike Haertel and Jim Avera for this test.
6769 Here is a matrix of mmap possibilities:
6770 mmap private not fixed
6771 mmap private fixed at somewhere currently unmapped
6772 mmap private fixed at somewhere already mapped
6773 mmap shared not fixed
6774 mmap shared fixed at somewhere currently unmapped
6775 mmap shared fixed at somewhere already mapped
6776 For private mappings, we should verify that changes cannot be read()
6777 back from the file, nor mmap's back from the file at a different
6778 address. (There have been systems where private was not correctly
6779 implemented like the infamous i386 svr4.0, and systems where the
6780 VM page cache was not coherent with the file system buffer cache
6781 like early versions of FreeBSD and possibly contemporary NetBSD.)
6782 For shared mappings, we should conversely verify that changes get
6783 propagated back to all the places they're supposed to be.
6785 Grep wants private fixed already mapped.
6786 The main things grep needs to know about mmap are:
6787 * does it exist and is it safe to write into the mmap'd area
6788 * how to use it (BSD variants) */
6791 #include <sys/mman.h>
6793 #if !STDC_HEADERS && !HAVE_STDLIB_H
6797 /* This mess was copied from the GNU getpagesize.h. */
6798 #if !HAVE_GETPAGESIZE
6799 /* Assume that all systems that can run configure have sys/param.h. */
6800 # if !HAVE_SYS_PARAM_H
6801 # define HAVE_SYS_PARAM_H 1
6804 # ifdef _SC_PAGESIZE
6805 # define getpagesize() sysconf(_SC_PAGESIZE)
6806 # else /* no _SC_PAGESIZE */
6807 # if HAVE_SYS_PARAM_H
6808 # include <sys/param.h>
6809 # ifdef EXEC_PAGESIZE
6810 # define getpagesize() EXEC_PAGESIZE
6811 # else /* no EXEC_PAGESIZE */
6813 # define getpagesize() NBPG * CLSIZE
6816 # endif /* no CLSIZE */
6817 # else /* no NBPG */
6819 # define getpagesize() NBPC
6820 # else /* no NBPC */
6822 # define getpagesize() PAGESIZE
6823 # endif /* PAGESIZE */
6824 # endif /* no NBPC */
6825 # endif /* no NBPG */
6826 # endif /* no EXEC_PAGESIZE */
6827 # else /* no HAVE_SYS_PARAM_H */
6828 # define getpagesize() 8192 /* punt totally */
6829 # endif /* no HAVE_SYS_PARAM_H */
6830 # endif /* no _SC_PAGESIZE */
6832 #endif /* no HAVE_GETPAGESIZE */
6837 char *data, *data2, *data3;
6841 pagesize = getpagesize ();
6843 /* First, make a file with some known garbage in it. */
6844 data = (char *) malloc (pagesize);
6847 for (i = 0; i < pagesize; ++i)
6848 *(data + i) = rand ();
6850 fd = creat ("conftest.mmap", 0600);
6853 if (write (fd, data, pagesize) != pagesize)
6857 /* Next, try to mmap the file at a fixed address which already has
6858 something else allocated at it. If we can, also make sure that
6859 we see the same garbage. */
6860 fd = open ("conftest.mmap", O_RDWR);
6863 data2 = (char *) malloc (2 * pagesize);
6866 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6867 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6868 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6870 for (i = 0; i < pagesize; ++i)
6871 if (*(data + i) != *(data2 + i))
6874 /* Finally, make sure that changes to the mapped area do not
6875 percolate back to the file as seen by read(). (This is a bug on
6876 some variants of i386 svr4.0.) */
6877 for (i = 0; i < pagesize; ++i)
6878 *(data2 + i) = *(data2 + i) + 1;
6879 data3 = (char *) malloc (pagesize);
6882 if (read (fd, data3, pagesize) != pagesize)
6884 for (i = 0; i < pagesize; ++i)
6885 if (*(data + i) != *(data3 + i))
6891 rm -f conftest
$ac_exeext
6892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6893 (eval $ac_link) 2>&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); }; }; then
6902 ac_cv_func_mmap_fixed_mapped
=yes
6904 echo "$as_me: program exited with status $ac_status" >&5
6905 echo "$as_me: failed program was:" >&5
6906 sed 's/^/| /' conftest.
$ac_ext >&5
6909 ac_cv_func_mmap_fixed_mapped
=no
6911 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6914 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6915 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6916 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6918 cat >>confdefs.h
<<\_ACEOF
6926 echo "$as_me:$LINENO: checking for sin_len" >&5
6927 echo $ECHO_N "checking for sin_len... $ECHO_C" >&6
6928 if test "${ac_cv_sin_len+set}" = set; then
6929 echo $ECHO_N "(cached) $ECHO_C" >&6
6931 cat >conftest.
$ac_ext <<_ACEOF
6934 cat confdefs.h
>>conftest.
$ac_ext
6935 cat >>conftest.
$ac_ext <<_ACEOF
6936 /* end confdefs.h. */
6937 #include <sys/types.h>
6938 #include <netinet/in.h>
6942 struct sockaddr_in *sin; sin->sin_len = 0;
6947 rm -f conftest.
$ac_objext
6948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6949 (eval $ac_compile) 2>conftest.er1
6951 grep -v '^ *+' conftest.er1
>conftest.err
6953 cat conftest.err
>&5
6954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955 (exit $ac_status); } &&
6956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); }; } &&
6962 { ac_try
='test -s conftest.$ac_objext'
6963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); }; }; then
6970 echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.
$ac_ext >&5
6975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6977 echo "$as_me:$LINENO: result: $ac_cv_sin_len" >&5
6978 echo "${ECHO_T}$ac_cv_sin_len" >&6
6979 if test $ac_cv_sin_len = yes ; then
6981 cat >>confdefs.h
<<\_ACEOF
6982 #define HAVE_SIN_LEN 1
6987 echo "$as_me:$LINENO: checking for socklen_t" >&5
6988 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
6989 if test "${ac_cv_type_socklen_t+set}" = set; then
6990 echo $ECHO_N "(cached) $ECHO_C" >&6
6992 cat >conftest.
$ac_ext <<_ACEOF
6995 cat confdefs.h
>>conftest.
$ac_ext
6996 cat >>conftest.
$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 #include <sys/types.h>
6999 #include<sys/socket.h>
7004 if ((socklen_t *) 0)
7006 if (sizeof (socklen_t))
7012 rm -f conftest.
$ac_objext
7013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7014 (eval $ac_compile) 2>conftest.er1
7016 grep -v '^ *+' conftest.er1
>conftest.err
7018 cat conftest.err
>&5
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } &&
7021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; } &&
7027 { ac_try
='test -s conftest.$ac_objext'
7028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); }; }; then
7033 ac_cv_type_socklen_t
=yes
7035 echo "$as_me: failed program was:" >&5
7036 sed 's/^/| /' conftest.
$ac_ext >&5
7038 ac_cv_type_socklen_t
=no
7040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7042 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7043 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7044 if test $ac_cv_type_socklen_t = yes; then
7048 echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
7049 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
7050 if test "${curl_cv_socklen_t_equiv+set}" = set; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7054 curl_cv_socklen_t_equiv
=
7055 for arg2
in "struct sockaddr" void
; do
7056 for t
in int size_t unsigned long
"unsigned long" ; do
7057 cat >conftest.
$ac_ext <<_ACEOF
7060 cat confdefs.h
>>conftest.
$ac_ext
7061 cat >>conftest.
$ac_ext <<_ACEOF
7062 /* end confdefs.h. */
7063 #include <sys/types.h>
7064 #include <sys/socket.h>
7065 int getpeername (int $arg2 *, $t *);
7070 getpeername(0, 0, &len);
7075 rm -f conftest.
$ac_objext
7076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7077 (eval $ac_compile) 2>conftest.er1
7079 grep -v '^ *+' conftest.er1
>conftest.err
7081 cat conftest.err
>&5
7082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083 (exit $ac_status); } &&
7084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); }; } &&
7090 { ac_try
='test -s conftest.$ac_objext'
7091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7095 (exit $ac_status); }; }; then
7096 curl_cv_socklen_t_equiv
="$t"
7099 echo "$as_me: failed program was:" >&5
7100 sed 's/^/| /' conftest.
$ac_ext >&5
7103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7109 echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
7110 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
7112 cat >>confdefs.h
<<_ACEOF
7113 #define socklen_t $curl_cv_socklen_t_equiv
7120 CFLAGS
="$CFLAGS -W -Wall -Werror"
7122 echo "$as_me:$LINENO: checking for time_t format" >&5
7123 echo $ECHO_N "checking for time_t format... $ECHO_C" >&6
7124 if test "${ac_cv_fmt_time_t+set}" = set; then
7125 echo $ECHO_N "(cached) $ECHO_C" >&6
7129 cat >conftest.
$ac_ext <<_ACEOF
7130 #include <sys/types.h>
7134 printf("%li", test);
7137 rm -f conftest.
$ac_objext
7138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7139 (eval $ac_compile) 2>conftest.er1
7141 grep -v '^ *+' conftest.er1
>conftest.err
7143 cat conftest.err
>&5
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); } &&
7146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); }; } &&
7152 { ac_try
='test -s conftest.$ac_objext'
7153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); }; }; then
7158 ac_cv_fmt_time_t
="\"%li\""
7160 echo "$as_me: failed program was:" >&5
7161 sed 's/^/| /' conftest.
$ac_ext >&5
7164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7165 if test $ac_cv_fmt_time_t = no
; then
7166 cat >conftest.
$ac_ext <<_ACEOF
7167 #include <sys/types.h>
7174 rm -f conftest.
$ac_objext
7175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7176 (eval $ac_compile) 2>conftest.er1
7178 grep -v '^ *+' conftest.er1
>conftest.err
7180 cat conftest.err
>&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); } &&
7183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); }; } &&
7189 { ac_try
='test -s conftest.$ac_objext'
7190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); }; }; then
7195 ac_cv_fmt_time_t
="\"%i\""
7197 echo "$as_me: failed program was:" >&5
7198 sed 's/^/| /' conftest.
$ac_ext >&5
7201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7203 if test $ac_cv_fmt_time_t = no
; then
7204 { { echo "$as_me:$LINENO: error: Cannot detect format string for time_t
7205 Please check sys/types.h for the typedef of time_t and submit to a developer" >&5
7206 echo "$as_me: error: Cannot detect format string for time_t
7207 Please check sys/types.h for the typedef of time_t and submit to a developer" >&2;}
7208 { (exit 1); exit 1; }; }
7214 cat >>confdefs.h
<<_ACEOF
7215 #define FMT_TIME_T $ac_cv_fmt_time_t
7218 echo "$as_me:$LINENO: result: $ac_cv_fmt_time_t" >&5
7219 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6
7221 echo "$as_me:$LINENO: checking for va_copy" >&5
7222 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
7223 if test "${ac_cv_c_va_copy+set}" = set; then
7224 echo $ECHO_N "(cached) $ECHO_C" >&6
7226 cat >conftest.
$ac_ext <<_ACEOF
7229 cat confdefs.h
>>conftest.
$ac_ext
7230 cat >>conftest.
$ac_ext <<_ACEOF
7231 /* end confdefs.h. */
7236 va_list ap1, ap2; va_copy(ap1, ap2);
7241 rm -f conftest.
$ac_objext conftest
$ac_exeext
7242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7243 (eval $ac_link) 2>conftest.er1
7245 grep -v '^ *+' conftest.er1
>conftest.err
7247 cat conftest.err
>&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); } &&
7250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); }; } &&
7256 { ac_try
='test -s conftest$ac_exeext'
7257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); }; }; then
7262 ac_cv_c_va_copy
="yes"
7264 echo "$as_me: failed program was:" >&5
7265 sed 's/^/| /' conftest.
$ac_ext >&5
7267 ac_cv_c_va_copy
="no"
7270 rm -f conftest.err conftest.
$ac_objext \
7271 conftest
$ac_exeext conftest.
$ac_ext
7273 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
7274 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
7275 if test "$ac_cv_c_va_copy" = "yes" ; then
7277 cat >>confdefs.h
<<\_ACEOF
7278 #define HAVE_VA_COPY 1
7283 echo "$as_me:$LINENO: checking for __va_copy" >&5
7284 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
7285 if test "${ac_cv_c___va_copy+set}" = set; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7288 cat >conftest.
$ac_ext <<_ACEOF
7291 cat confdefs.h
>>conftest.
$ac_ext
7292 cat >>conftest.
$ac_ext <<_ACEOF
7293 /* end confdefs.h. */
7298 va_list ap1, ap2; __va_copy(ap1, ap2);
7303 rm -f conftest.
$ac_objext conftest
$ac_exeext
7304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7305 (eval $ac_link) 2>conftest.er1
7307 grep -v '^ *+' conftest.er1
>conftest.err
7309 cat conftest.err
>&5
7310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311 (exit $ac_status); } &&
7312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); }; } &&
7318 { ac_try
='test -s conftest$ac_exeext'
7319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); }; }; then
7324 ac_cv_c___va_copy
="yes"
7326 echo "$as_me: failed program was:" >&5
7327 sed 's/^/| /' conftest.
$ac_ext >&5
7329 ac_cv_c___va_copy
="no"
7332 rm -f conftest.err conftest.
$ac_objext \
7333 conftest
$ac_exeext conftest.
$ac_ext
7335 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
7336 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
7337 if test "$ac_cv_c___va_copy" = "yes" ; then
7339 cat >>confdefs.h
<<\_ACEOF
7340 #define HAVE___VA_COPY 1
7347 echo "$as_me:$LINENO: checking which malloc to use" >&5
7348 echo $ECHO_N "checking which malloc to use... $ECHO_C" >&6
7350 # Check whether --with-malloc or --without-malloc was given.
7351 if test "${with_malloc+set}" = set; then
7352 withval
="$with_malloc"
7357 if test "x$withval" = "xsystem" ; then
7358 echo "$as_me:$LINENO: result: system" >&5
7359 echo "${ECHO_T}system" >&6
7361 cat >>confdefs.h
<<\_ACEOF
7362 #define WITH_MALLOC_SYSTEM 1
7366 elif test "x$withval" = "xdmalloc" ; then
7367 echo "$as_me:$LINENO: result: dmalloc" >&5
7368 echo "${ECHO_T}dmalloc" >&6
7370 for ac_header
in dmalloc.h
7372 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7374 echo "$as_me:$LINENO: checking for $ac_header" >&5
7375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7377 echo $ECHO_N "(cached) $ECHO_C" >&6
7379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7382 # Is the header compilable?
7383 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7385 cat >conftest.
$ac_ext <<_ACEOF
7388 cat confdefs.h
>>conftest.
$ac_ext
7389 cat >>conftest.
$ac_ext <<_ACEOF
7390 /* end confdefs.h. */
7391 $ac_includes_default
7392 #include <$ac_header>
7394 rm -f conftest.
$ac_objext
7395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7396 (eval $ac_compile) 2>conftest.er1
7398 grep -v '^ *+' conftest.er1
>conftest.err
7400 cat conftest.err
>&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); } &&
7403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); }; } &&
7409 { ac_try
='test -s conftest.$ac_objext'
7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); }; }; then
7415 ac_header_compiler
=yes
7417 echo "$as_me: failed program was:" >&5
7418 sed 's/^/| /' conftest.
$ac_ext >&5
7420 ac_header_compiler
=no
7422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7424 echo "${ECHO_T}$ac_header_compiler" >&6
7426 # Is the header present?
7427 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7429 cat >conftest.
$ac_ext <<_ACEOF
7432 cat confdefs.h
>>conftest.
$ac_ext
7433 cat >>conftest.
$ac_ext <<_ACEOF
7434 /* end confdefs.h. */
7435 #include <$ac_header>
7437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7438 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7440 grep -v '^ *+' conftest.er1
>conftest.err
7442 cat conftest.err
>&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } >/dev
/null
; then
7445 if test -s conftest.err
; then
7446 ac_cpp_err
=$ac_c_preproc_warn_flag
7447 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7454 if test -z "$ac_cpp_err"; then
7455 ac_header_preproc
=yes
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.
$ac_ext >&5
7460 ac_header_preproc
=no
7462 rm -f conftest.err conftest.
$ac_ext
7463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7464 echo "${ECHO_T}$ac_header_preproc" >&6
7466 # So? What about this header?
7467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7473 ac_header_preproc
=yes
7476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7490 ## -------------------------------------------------- ##
7491 ## Report this to evilnet-devel@lists.sourceforge.net ##
7492 ## -------------------------------------------------- ##
7495 sed "s/^/$as_me: WARNING: /" >&2
7498 echo "$as_me:$LINENO: checking for $ac_header" >&5
7499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7501 echo $ECHO_N "(cached) $ECHO_C" >&6
7503 eval "$as_ac_Header=\$ac_header_preproc"
7505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7510 cat >>confdefs.h
<<_ACEOF
7511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7515 { { echo "$as_me:$LINENO: error: dmalloc header file missing. dmalloc build will fail." >&5
7516 echo "$as_me: error: dmalloc header file missing. dmalloc build will fail." >&2;}
7517 { (exit 1); exit 1; }; }
7523 echo "$as_me:$LINENO: checking for malloc in -ldmalloc" >&5
7524 echo $ECHO_N "checking for malloc in -ldmalloc... $ECHO_C" >&6
7525 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
7526 echo $ECHO_N "(cached) $ECHO_C" >&6
7528 ac_check_lib_save_LIBS
=$LIBS
7529 LIBS
="-ldmalloc $LIBS"
7530 cat >conftest.
$ac_ext <<_ACEOF
7533 cat confdefs.h
>>conftest.
$ac_ext
7534 cat >>conftest.
$ac_ext <<_ACEOF
7535 /* end confdefs.h. */
7537 /* Override any gcc2 internal prototype to avoid an error. */
7541 /* We use char because int might match the return type of a gcc2
7542 builtin and then its argument prototype would still apply. */
7552 rm -f conftest.
$ac_objext conftest
$ac_exeext
7553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7554 (eval $ac_link) 2>conftest.er1
7556 grep -v '^ *+' conftest.er1
>conftest.err
7558 cat conftest.err
>&5
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); } &&
7561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); }; } &&
7567 { ac_try
='test -s conftest$ac_exeext'
7568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); }; }; then
7573 ac_cv_lib_dmalloc_malloc
=yes
7575 echo "$as_me: failed program was:" >&5
7576 sed 's/^/| /' conftest.
$ac_ext >&5
7578 ac_cv_lib_dmalloc_malloc
=no
7580 rm -f conftest.err conftest.
$ac_objext \
7581 conftest
$ac_exeext conftest.
$ac_ext
7582 LIBS
=$ac_check_lib_save_LIBS
7584 echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_malloc" >&5
7585 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6
7586 if test $ac_cv_lib_dmalloc_malloc = yes; then
7587 cat >>confdefs.h
<<_ACEOF
7588 #define HAVE_LIBDMALLOC 1
7591 LIBS
="-ldmalloc $LIBS"
7594 { { echo "$as_me:$LINENO: error: dmalloc library is missing. dmalloc build will fail." >&5
7595 echo "$as_me: error: dmalloc library is missing. dmalloc build will fail." >&2;}
7596 { (exit 1); exit 1; }; }
7600 cat >>confdefs.h
<<\_ACEOF
7601 #define WITH_MALLOC_DMALLOC 1
7605 elif test "x$withval" = "xmpatrol" ; then
7606 echo "$as_me:$LINENO: result: mpatrol" >&5
7607 echo "${ECHO_T}mpatrol" >&6
7609 for ac_header
in mpatrol.h
7611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7613 echo "$as_me:$LINENO: checking for $ac_header" >&5
7614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7616 echo $ECHO_N "(cached) $ECHO_C" >&6
7618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7621 # Is the header compilable?
7622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7624 cat >conftest.
$ac_ext <<_ACEOF
7627 cat confdefs.h
>>conftest.
$ac_ext
7628 cat >>conftest.
$ac_ext <<_ACEOF
7629 /* end confdefs.h. */
7630 $ac_includes_default
7631 #include <$ac_header>
7633 rm -f conftest.
$ac_objext
7634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7635 (eval $ac_compile) 2>conftest.er1
7637 grep -v '^ *+' conftest.er1
>conftest.err
7639 cat conftest.err
>&5
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); } &&
7642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); }; } &&
7648 { ac_try
='test -s conftest.$ac_objext'
7649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); }; }; then
7654 ac_header_compiler
=yes
7656 echo "$as_me: failed program was:" >&5
7657 sed 's/^/| /' conftest.
$ac_ext >&5
7659 ac_header_compiler
=no
7661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7663 echo "${ECHO_T}$ac_header_compiler" >&6
7665 # Is the header present?
7666 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7667 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7668 cat >conftest.
$ac_ext <<_ACEOF
7671 cat confdefs.h
>>conftest.
$ac_ext
7672 cat >>conftest.
$ac_ext <<_ACEOF
7673 /* end confdefs.h. */
7674 #include <$ac_header>
7676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7677 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7679 grep -v '^ *+' conftest.er1
>conftest.err
7681 cat conftest.err
>&5
7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 (exit $ac_status); } >/dev
/null
; then
7684 if test -s conftest.err
; then
7685 ac_cpp_err
=$ac_c_preproc_warn_flag
7686 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7693 if test -z "$ac_cpp_err"; then
7694 ac_header_preproc
=yes
7696 echo "$as_me: failed program was:" >&5
7697 sed 's/^/| /' conftest.
$ac_ext >&5
7699 ac_header_preproc
=no
7701 rm -f conftest.err conftest.
$ac_ext
7702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7703 echo "${ECHO_T}$ac_header_preproc" >&6
7705 # So? What about this header?
7706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7708 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7711 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7712 ac_header_preproc
=yes
7715 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7717 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7718 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7719 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7720 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7721 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7722 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7725 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7726 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7729 ## -------------------------------------------------- ##
7730 ## Report this to evilnet-devel@lists.sourceforge.net ##
7731 ## -------------------------------------------------- ##
7734 sed "s/^/$as_me: WARNING: /" >&2
7737 echo "$as_me:$LINENO: checking for $ac_header" >&5
7738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7742 eval "$as_ac_Header=\$ac_header_preproc"
7744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7749 cat >>confdefs.h
<<_ACEOF
7750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7754 { { echo "$as_me:$LINENO: error: mpatrol header file missing. mpatrol build will fail." >&5
7755 echo "$as_me: error: mpatrol header file missing. mpatrol build will fail." >&2;}
7756 { (exit 1); exit 1; }; }
7762 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
7763 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
7764 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
7765 echo $ECHO_N "(cached) $ECHO_C" >&6
7767 ac_check_lib_save_LIBS
=$LIBS
7769 cat >conftest.
$ac_ext <<_ACEOF
7772 cat confdefs.h
>>conftest.
$ac_ext
7773 cat >>conftest.
$ac_ext <<_ACEOF
7774 /* end confdefs.h. */
7776 /* Override any gcc2 internal prototype to avoid an error. */
7780 /* We use char because int might match the return type of a gcc2
7781 builtin and then its argument prototype would still apply. */
7791 rm -f conftest.
$ac_objext conftest
$ac_exeext
7792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7793 (eval $ac_link) 2>conftest.er1
7795 grep -v '^ *+' conftest.er1
>conftest.err
7797 cat conftest.err
>&5
7798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7799 (exit $ac_status); } &&
7800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); }; } &&
7806 { ac_try
='test -s conftest$ac_exeext'
7807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); }; }; then
7812 ac_cv_lib_elf_elf_begin
=yes
7814 echo "$as_me: failed program was:" >&5
7815 sed 's/^/| /' conftest.
$ac_ext >&5
7817 ac_cv_lib_elf_elf_begin
=no
7819 rm -f conftest.err conftest.
$ac_objext \
7820 conftest
$ac_exeext conftest.
$ac_ext
7821 LIBS
=$ac_check_lib_save_LIBS
7823 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
7824 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
7825 if test $ac_cv_lib_elf_elf_begin = yes; then
7826 cat >>confdefs.h
<<_ACEOF
7827 #define HAVE_LIBELF 1
7835 echo "$as_me:$LINENO: checking for __mp_atexit in -lmpatrol" >&5
7836 echo $ECHO_N "checking for __mp_atexit in -lmpatrol... $ECHO_C" >&6
7837 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
7838 echo $ECHO_N "(cached) $ECHO_C" >&6
7840 ac_check_lib_save_LIBS
=$LIBS
7841 LIBS
="-lmpatrol $LIBS"
7842 cat >conftest.
$ac_ext <<_ACEOF
7845 cat confdefs.h
>>conftest.
$ac_ext
7846 cat >>conftest.
$ac_ext <<_ACEOF
7847 /* end confdefs.h. */
7849 /* Override any gcc2 internal prototype to avoid an error. */
7853 /* We use char because int might match the return type of a gcc2
7854 builtin and then its argument prototype would still apply. */
7855 char __mp_atexit ();
7864 rm -f conftest.
$ac_objext conftest
$ac_exeext
7865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7866 (eval $ac_link) 2>conftest.er1
7868 grep -v '^ *+' conftest.er1
>conftest.err
7870 cat conftest.err
>&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); } &&
7873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); }; } &&
7879 { ac_try
='test -s conftest$ac_exeext'
7880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }; }; then
7885 ac_cv_lib_mpatrol___mp_atexit
=yes
7887 echo "$as_me: failed program was:" >&5
7888 sed 's/^/| /' conftest.
$ac_ext >&5
7890 ac_cv_lib_mpatrol___mp_atexit
=no
7892 rm -f conftest.err conftest.
$ac_objext \
7893 conftest
$ac_exeext conftest.
$ac_ext
7894 LIBS
=$ac_check_lib_save_LIBS
7896 echo "$as_me:$LINENO: result: $ac_cv_lib_mpatrol___mp_atexit" >&5
7897 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6
7898 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
7899 cat >>confdefs.h
<<_ACEOF
7900 #define HAVE_LIBMPATROL 1
7903 LIBS
="-lmpatrol $LIBS"
7906 { { echo "$as_me:$LINENO: error: mpatrol library is missing completely. mpatrol build will fail." >&5
7907 echo "$as_me: error: mpatrol library is missing completely. mpatrol build will fail." >&2;}
7908 { (exit 1); exit 1; }; }
7912 cat >>confdefs.h
<<\_ACEOF
7913 #define WITH_MALLOC_MPATROL 1
7917 elif test "x$withval" = "xboehm-gc" ; then
7918 echo "$as_me:$LINENO: result: boehm-gc" >&5
7919 echo "${ECHO_T}boehm-gc" >&6
7921 for ac_header
in gc
/gc.h
7923 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7925 echo "$as_me:$LINENO: checking for $ac_header" >&5
7926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7928 echo $ECHO_N "(cached) $ECHO_C" >&6
7930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7933 # Is the header compilable?
7934 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7935 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7936 cat >conftest.
$ac_ext <<_ACEOF
7939 cat confdefs.h
>>conftest.
$ac_ext
7940 cat >>conftest.
$ac_ext <<_ACEOF
7941 /* end confdefs.h. */
7942 $ac_includes_default
7943 #include <$ac_header>
7945 rm -f conftest.
$ac_objext
7946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7947 (eval $ac_compile) 2>conftest.er1
7949 grep -v '^ *+' conftest.er1
>conftest.err
7951 cat conftest.err
>&5
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); } &&
7954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); }; } &&
7960 { ac_try
='test -s conftest.$ac_objext'
7961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); }; }; then
7966 ac_header_compiler
=yes
7968 echo "$as_me: failed program was:" >&5
7969 sed 's/^/| /' conftest.
$ac_ext >&5
7971 ac_header_compiler
=no
7973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7975 echo "${ECHO_T}$ac_header_compiler" >&6
7977 # Is the header present?
7978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7980 cat >conftest.
$ac_ext <<_ACEOF
7983 cat confdefs.h
>>conftest.
$ac_ext
7984 cat >>conftest.
$ac_ext <<_ACEOF
7985 /* end confdefs.h. */
7986 #include <$ac_header>
7988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7991 grep -v '^ *+' conftest.er1
>conftest.err
7993 cat conftest.err
>&5
7994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995 (exit $ac_status); } >/dev
/null
; then
7996 if test -s conftest.err
; then
7997 ac_cpp_err
=$ac_c_preproc_warn_flag
7998 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8005 if test -z "$ac_cpp_err"; then
8006 ac_header_preproc
=yes
8008 echo "$as_me: failed program was:" >&5
8009 sed 's/^/| /' conftest.
$ac_ext >&5
8011 ac_header_preproc
=no
8013 rm -f conftest.err conftest.
$ac_ext
8014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8015 echo "${ECHO_T}$ac_header_preproc" >&6
8017 # So? What about this header?
8018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8024 ac_header_preproc
=yes
8027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8031 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8033 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8034 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8037 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8041 ## -------------------------------------------------- ##
8042 ## Report this to evilnet-devel@lists.sourceforge.net ##
8043 ## -------------------------------------------------- ##
8046 sed "s/^/$as_me: WARNING: /" >&2
8049 echo "$as_me:$LINENO: checking for $ac_header" >&5
8050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8052 echo $ECHO_N "(cached) $ECHO_C" >&6
8054 eval "$as_ac_Header=\$ac_header_preproc"
8056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8061 cat >>confdefs.h
<<_ACEOF
8062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8066 { { echo "$as_me:$LINENO: error: Boehm GC header file missing. boehm-gc build will fail." >&5
8067 echo "$as_me: error: Boehm GC header file missing. boehm-gc build will fail." >&2;}
8068 { (exit 1); exit 1; }; }
8074 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8075 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8076 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8077 echo $ECHO_N "(cached) $ECHO_C" >&6
8079 ac_check_lib_save_LIBS
=$LIBS
8081 cat >conftest.
$ac_ext <<_ACEOF
8084 cat confdefs.h
>>conftest.
$ac_ext
8085 cat >>conftest.
$ac_ext <<_ACEOF
8086 /* end confdefs.h. */
8088 /* Override any gcc2 internal prototype to avoid an error. */
8092 /* We use char because int might match the return type of a gcc2
8093 builtin and then its argument prototype would still apply. */
8103 rm -f conftest.
$ac_objext conftest
$ac_exeext
8104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8105 (eval $ac_link) 2>conftest.er1
8107 grep -v '^ *+' conftest.er1
>conftest.err
8109 cat conftest.err
>&5
8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 (exit $ac_status); } &&
8112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); }; } &&
8118 { ac_try
='test -s conftest$ac_exeext'
8119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; }; then
8124 ac_cv_lib_dl_dlopen
=yes
8126 echo "$as_me: failed program was:" >&5
8127 sed 's/^/| /' conftest.
$ac_ext >&5
8129 ac_cv_lib_dl_dlopen
=no
8131 rm -f conftest.err conftest.
$ac_objext \
8132 conftest
$ac_exeext conftest.
$ac_ext
8133 LIBS
=$ac_check_lib_save_LIBS
8135 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8136 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8137 if test $ac_cv_lib_dl_dlopen = yes; then
8138 cat >>confdefs.h
<<_ACEOF
8139 #define HAVE_LIBDL 1
8145 { { echo "$as_me:$LINENO: error: libdl library is missing. boehm-gc build will fail." >&5
8146 echo "$as_me: error: libdl library is missing. boehm-gc build will fail." >&2;}
8147 { (exit 1); exit 1; }; }
8151 echo "$as_me:$LINENO: checking for GC_gcollect in -lgc" >&5
8152 echo $ECHO_N "checking for GC_gcollect in -lgc... $ECHO_C" >&6
8153 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
8154 echo $ECHO_N "(cached) $ECHO_C" >&6
8156 ac_check_lib_save_LIBS
=$LIBS
8158 cat >conftest.
$ac_ext <<_ACEOF
8161 cat confdefs.h
>>conftest.
$ac_ext
8162 cat >>conftest.
$ac_ext <<_ACEOF
8163 /* end confdefs.h. */
8165 /* Override any gcc2 internal prototype to avoid an error. */
8169 /* We use char because int might match the return type of a gcc2
8170 builtin and then its argument prototype would still apply. */
8171 char GC_gcollect ();
8180 rm -f conftest.
$ac_objext conftest
$ac_exeext
8181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8182 (eval $ac_link) 2>conftest.er1
8184 grep -v '^ *+' conftest.er1
>conftest.err
8186 cat conftest.err
>&5
8187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8188 (exit $ac_status); } &&
8189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); }; } &&
8195 { ac_try
='test -s conftest$ac_exeext'
8196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); }; }; then
8201 ac_cv_lib_gc_GC_gcollect
=yes
8203 echo "$as_me: failed program was:" >&5
8204 sed 's/^/| /' conftest.
$ac_ext >&5
8206 ac_cv_lib_gc_GC_gcollect
=no
8208 rm -f conftest.err conftest.
$ac_objext \
8209 conftest
$ac_exeext conftest.
$ac_ext
8210 LIBS
=$ac_check_lib_save_LIBS
8212 echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_gcollect" >&5
8213 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6
8214 if test $ac_cv_lib_gc_GC_gcollect = yes; then
8215 cat >>confdefs.h
<<_ACEOF
8216 #define HAVE_LIBGC 1
8222 { { echo "$as_me:$LINENO: error: Boehm GC library is missing. boehm-gc build will fail." >&5
8223 echo "$as_me: error: Boehm GC library is missing. boehm-gc build will fail." >&2;}
8224 { (exit 1); exit 1; }; }
8228 cat >>confdefs.h
<<\_ACEOF
8229 #define WITH_MALLOC_BOEHM_GC 1
8233 elif test "x$withval" = "xx3" ; then
8234 echo "$as_me:$LINENO: result: x3" >&5
8235 echo "${ECHO_T}x3" >&6
8237 cat >>confdefs.h
<<\_ACEOF
8238 #define WITH_MALLOC_X3 1
8241 MODULE_OBJS
="$MODULE_OBJS alloc-x3.\$(OBJEXT)"
8243 elif test "x$withval" = "xslab" ; then
8244 echo "$as_me:$LINENO: result: slab" >&5
8245 echo "${ECHO_T}slab" >&6
8247 cat >>confdefs.h
<<\_ACEOF
8248 #define WITH_MALLOC_SLAB 1
8251 MODULE_OBJS
="$MODULE_OBJS alloc-slab.\$(OBJEXT)"
8254 { { echo "$as_me:$LINENO: error: Unknown malloc type $withval" >&5
8255 echo "$as_me: error: Unknown malloc type $withval" >&2;}
8256 { (exit 1); exit 1; }; }
8259 echo "$as_me:$LINENO: checking which protocol to use" >&5
8260 echo $ECHO_N "checking which protocol to use... $ECHO_C" >&6
8262 # Check whether --with-protocol or --without-protocol was given.
8263 if test "${with_protocol+set}" = set; then
8264 withval
="$with_protocol"
8269 if test "x$withval" = "xp10" ; then
8270 echo "$as_me:$LINENO: result: P10" >&5
8271 echo "${ECHO_T}P10" >&6
8273 cat >>confdefs.h
<<\_ACEOF
8274 #define WITH_PROTOCOL_P10 1
8277 MODULE_OBJS
="$MODULE_OBJS proto-p10.\$(OBJEXT)"
8278 PROTO_FILES
=proto
-p10.c
8281 { { echo "$as_me:$LINENO: error: Unknown IRC dialect $withval" >&5
8282 echo "$as_me: error: Unknown IRC dialect $withval" >&2;}
8283 { (exit 1); exit 1; }; }
8287 # Check whether --with-getopt or --without-getopt was given.
8288 if test "${with_getopt+set}" = set; then
8289 withval
="$with_getopt"
8290 if test "$withval" = no
; then
8292 cat >>confdefs.h
<<\_ACEOF
8293 #define IGNORE_GETOPT 1
8299 echo "$as_me:$LINENO: checking whether to enable tokenization" >&5
8300 echo $ECHO_N "checking whether to enable tokenization... $ECHO_C" >&6
8301 # Check whether --enable-tokens or --disable-tokens was given.
8302 if test "${enable_tokens+set}" = set; then
8303 enableval
="$enable_tokens"
8308 if test "z$enableval" = zno
; then
8309 echo "$as_me:$LINENO: result: no" >&5
8310 echo "${ECHO_T}no" >&6
8313 cat >>confdefs.h
<<\_ACEOF
8314 #define ENABLE_TOKENS 1
8317 echo "$as_me:$LINENO: result: yes" >&5
8318 echo "${ECHO_T}yes" >&6
8321 echo "$as_me:$LINENO: checking whether to enable debug behaviors" >&5
8322 echo $ECHO_N "checking whether to enable debug behaviors... $ECHO_C" >&6
8323 # Check whether --enable-debug or --disable-debug was given.
8324 if test "${enable_debug+set}" = set; then
8325 enableval
="$enable_debug"
8327 CPPFLAGS
="$CPPFLAGS"
8328 echo "$as_me:$LINENO: result: yes" >&5
8329 echo "${ECHO_T}yes" >&6
8334 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
8335 echo "$as_me:$LINENO: result: no" >&5
8336 echo "${ECHO_T}no" >&6
8341 if test -e src
; then
8342 if test ! -d src
; then
8343 { { echo "$as_me:$LINENO: error: src exists but is not a directory; please move it out of the way." >&5
8344 echo "$as_me: error: src exists but is not a directory; please move it out of the way." >&2;}
8345 { (exit 1); exit 1; }; }
8350 echo "$as_me:$LINENO: checking for extra module files" >&5
8351 echo $ECHO_N "checking for extra module files... $ECHO_C" >&6
8352 MODULE_DEFINES
="src/modules-list.h"
8353 echo > $MODULE_DEFINES
8354 touch $MODULE_DEFINES
8355 # Check whether --enable-modules or --disable-modules was given.
8356 if test "${enable_modules+set}" = set; then
8357 enableval
="$enable_modules"
8361 EXTRA_MODULE_OBJS
=""
8363 for module
in $enableval ; do
8364 module
=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
8365 EXTRA_MODULE_OBJS
="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
8366 module_list
="$module_list $module"
8367 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
8368 if test "x$module" = "xtrack" ; then
8369 TRACK
="-D HAVE_TRACK"
8373 MODULE_OBJS
="$MODULE_OBJS $EXTRA_MODULE_OBJS"
8374 echo "$as_me:$LINENO: result: $module_list" >&5
8375 echo "${ECHO_T}$module_list" >&6
8379 echo "$as_me:$LINENO: result: none" >&5
8380 echo "${ECHO_T}none" >&6
8387 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no
; then
8388 MY_SUBDIRS
="rx $MY_SUBDIRS"
8389 RX_INCLUDES
="-I../rx"
8390 RX_LIBS
="../rx/librx.a"
8392 MY_SUBDIRS
="$MY_SUBDIRS src"
8393 CFLAGS
="$CFLAGS $ANSI_SRC -W -Wall"
8394 if test "z$USE_MAINTAINER_MODE" = zyes
; then
8395 CFLAGS
="$CFLAGS -Werror"
8401 # Check whether --with-tre or --without-tre was given.
8402 if test "${with_tre+set}" = set; then
8406 if test "x$withval" != "x"; then
8407 echo "$as_me:$LINENO: result: Using include dir $withval to find libtre" >&5
8408 echo "${ECHO_T}Using include dir $withval to find libtre" >&6
8409 CPPFLAGS
="-I$withval/include -L$withval/lib"
8410 LIBS
="$LIBS -L$withval/lib"
8412 echo "$as_me:$LINENO: result: Looking for tre in system and home dirs (${HOME})..." >&5
8413 echo "${ECHO_T}Looking for tre in system and home dirs (${HOME})..." >&6
8414 CPPFLAGS
="-I${HOME}/include -L${HOME}/lib"
8415 LIBS
="$LIBS -L${HOME}/lib"
8417 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8418 echo "$as_me:$LINENO: checking for tre/regex.h" >&5
8419 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6
8420 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8421 echo $ECHO_N "(cached) $ECHO_C" >&6
8423 echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
8424 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6
8426 # Is the header compilable?
8427 echo "$as_me:$LINENO: checking tre/regex.h usability" >&5
8428 echo $ECHO_N "checking tre/regex.h usability... $ECHO_C" >&6
8429 cat >conftest.
$ac_ext <<_ACEOF
8432 cat confdefs.h
>>conftest.
$ac_ext
8433 cat >>conftest.
$ac_ext <<_ACEOF
8434 /* end confdefs.h. */
8435 $ac_includes_default
8436 #include <tre/regex.h>
8438 rm -f conftest.
$ac_objext
8439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8440 (eval $ac_compile) 2>conftest.er1
8442 grep -v '^ *+' conftest.er1
>conftest.err
8444 cat conftest.err
>&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 (exit $ac_status); } &&
8447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); }; } &&
8453 { ac_try
='test -s conftest.$ac_objext'
8454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); }; }; then
8459 ac_header_compiler
=yes
8461 echo "$as_me: failed program was:" >&5
8462 sed 's/^/| /' conftest.
$ac_ext >&5
8464 ac_header_compiler
=no
8466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8468 echo "${ECHO_T}$ac_header_compiler" >&6
8470 # Is the header present?
8471 echo "$as_me:$LINENO: checking tre/regex.h presence" >&5
8472 echo $ECHO_N "checking tre/regex.h presence... $ECHO_C" >&6
8473 cat >conftest.
$ac_ext <<_ACEOF
8476 cat confdefs.h
>>conftest.
$ac_ext
8477 cat >>conftest.
$ac_ext <<_ACEOF
8478 /* end confdefs.h. */
8479 #include <tre/regex.h>
8481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8484 grep -v '^ *+' conftest.er1
>conftest.err
8486 cat conftest.err
>&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); } >/dev
/null
; then
8489 if test -s conftest.err
; then
8490 ac_cpp_err
=$ac_c_preproc_warn_flag
8491 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8498 if test -z "$ac_cpp_err"; then
8499 ac_header_preproc
=yes
8501 echo "$as_me: failed program was:" >&5
8502 sed 's/^/| /' conftest.
$ac_ext >&5
8504 ac_header_preproc
=no
8506 rm -f conftest.err conftest.
$ac_ext
8507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8508 echo "${ECHO_T}$ac_header_preproc" >&6
8510 # So? What about this header?
8511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8513 { echo "$as_me:$LINENO: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
8514 echo "$as_me: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8515 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the compiler's result" >&5
8516 echo "$as_me: WARNING: tre/regex.h: proceeding with the compiler's result" >&2;}
8517 ac_header_preproc
=yes
8520 { echo "$as_me:$LINENO: WARNING: tre/regex.h: present but cannot be compiled" >&5
8521 echo "$as_me: WARNING: tre/regex.h: present but cannot be compiled" >&2;}
8522 { echo "$as_me:$LINENO: WARNING: tre/regex.h: check for missing prerequisite headers?" >&5
8523 echo "$as_me: WARNING: tre/regex.h: check for missing prerequisite headers?" >&2;}
8524 { echo "$as_me:$LINENO: WARNING: tre/regex.h: see the Autoconf documentation" >&5
8525 echo "$as_me: WARNING: tre/regex.h: see the Autoconf documentation" >&2;}
8526 { echo "$as_me:$LINENO: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&5
8527 echo "$as_me: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
8528 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&5
8529 echo "$as_me: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&2;}
8530 { echo "$as_me:$LINENO: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&5
8531 echo "$as_me: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&2;}
8534 ## -------------------------------------------------- ##
8535 ## Report this to evilnet-devel@lists.sourceforge.net ##
8536 ## -------------------------------------------------- ##
8539 sed "s/^/$as_me: WARNING: /" >&2
8542 echo "$as_me:$LINENO: checking for tre/regex.h" >&5
8543 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6
8544 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8545 echo $ECHO_N "(cached) $ECHO_C" >&6
8547 ac_cv_header_tre_regex_h
=$ac_header_preproc
8549 echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
8550 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6
8553 if test $ac_cv_header_tre_regex_h = yes; then
8556 { { echo "$as_me:$LINENO: error: tre/regex.h, the TRE regex headers, were not found. Install tre or use --with-tre=PATH to tell me how to find it, where PATH/include/tre/regex.h exists. For conveniance, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&5
8557 echo "$as_me: error: tre/regex.h, the TRE regex headers, were not found. Install tre or use --with-tre=PATH to tell me how to find it, where PATH/include/tre/regex.h exists. For conveniance, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&2;}
8558 { (exit 1); exit 1; }; }
8563 echo "$as_me:$LINENO: checking for regexec in -ltre" >&5
8564 echo $ECHO_N "checking for regexec in -ltre... $ECHO_C" >&6
8565 if test "${ac_cv_lib_tre_regexec+set}" = set; then
8566 echo $ECHO_N "(cached) $ECHO_C" >&6
8568 ac_check_lib_save_LIBS
=$LIBS
8570 cat >conftest.
$ac_ext <<_ACEOF
8573 cat confdefs.h
>>conftest.
$ac_ext
8574 cat >>conftest.
$ac_ext <<_ACEOF
8575 /* end confdefs.h. */
8577 /* Override any gcc2 internal prototype to avoid an error. */
8581 /* We use char because int might match the return type of a gcc2
8582 builtin and then its argument prototype would still apply. */
8592 rm -f conftest.
$ac_objext conftest
$ac_exeext
8593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8594 (eval $ac_link) 2>conftest.er1
8596 grep -v '^ *+' conftest.er1
>conftest.err
8598 cat conftest.err
>&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); } &&
8601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); }; } &&
8607 { ac_try
='test -s conftest$ac_exeext'
8608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; }; then
8613 ac_cv_lib_tre_regexec
=yes
8615 echo "$as_me: failed program was:" >&5
8616 sed 's/^/| /' conftest.
$ac_ext >&5
8618 ac_cv_lib_tre_regexec
=no
8620 rm -f conftest.err conftest.
$ac_objext \
8621 conftest
$ac_exeext conftest.
$ac_ext
8622 LIBS
=$ac_check_lib_save_LIBS
8624 echo "$as_me:$LINENO: result: $ac_cv_lib_tre_regexec" >&5
8625 echo "${ECHO_T}$ac_cv_lib_tre_regexec" >&6
8626 if test $ac_cv_lib_tre_regexec = yes; then
8627 cat >>confdefs.h
<<_ACEOF
8628 #define HAVE_LIBTRE 1
8634 { { echo "$as_me:$LINENO: error: TRE regex library not found. Install tre, or use --with-tre=PATH to tell me how to find it, where PATH/lib/libtre.so exists. For conveniance, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&5
8635 echo "$as_me: error: TRE regex library not found. Install tre, or use --with-tre=PATH to tell me how to find it, where PATH/lib/libtre.so exists. For conveniance, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&2;}
8636 { (exit 1); exit 1; }; }
8641 cat >>confdefs.h
<<_ACEOF
8642 #define CODENAME "${CODENAME}"
8650 ac_config_files
="$ac_config_files Makefile rx/Makefile src/Makefile"
8652 cat >confcache
<<\_ACEOF
8653 # This file is a shell script that caches the results of configure
8654 # tests run on this system so they can be shared between configure
8655 # scripts and configure runs, see configure's option --config-cache.
8656 # It is not useful on other systems. If it contains results you don't
8657 # want to keep, you may remove or edit it.
8659 # config.status only pays attention to the cache file if you give it
8660 # the --recheck option to rerun configure.
8662 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8663 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8668 # The following way of writing the cache mishandles newlines in values,
8669 # but we know of no workaround that is simple, portable, and efficient.
8670 # So, don't put newlines in cache variables' values.
8671 # Ultrix sh set writes to stderr and can't be redirected directly,
8672 # and sets the high bit in the cache file unless we assign to the vars.
8675 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8677 # `set' does not quote correctly, so add quotes (double-quote
8678 # substitution turns \\\\ into \\, and sed turns \\ into \).
8681 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8684 # `set' quotes correctly as required by POSIX, so do not add quotes.
8686 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8693 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8695 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8697 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8698 if test -w $cache_file; then
8699 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8700 cat confcache
>$cache_file
8702 echo "not updating unwritable cache $cache_file"
8707 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8708 # Let make expand exec_prefix.
8709 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8711 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8712 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8713 # trailing colons and then remove the whole line if VPATH becomes empty
8714 # (actually we leave an empty line to preserve line numbers).
8715 if test "x$srcdir" = x.
; then
8716 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8717 s/:*\$(srcdir):*/:/;
8718 s/:*\${srcdir}:*/:/;
8720 s/^\([^=]*=[ ]*\):*/\1/;
8726 DEFS
=-DHAVE_CONFIG_H
8730 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8731 # 1. Remove the extension, and $U if already installed.
8732 ac_i
=`echo "$ac_i" |
8733 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8735 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8736 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8740 LTLIBOBJS
=$ac_ltlibobjs
8743 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8744 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8745 Usually this means the macro was only invoked conditionally." >&5
8746 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8747 Usually this means the macro was only invoked conditionally." >&2;}
8748 { (exit 1); exit 1; }; }
8750 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8751 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8752 Usually this means the macro was only invoked conditionally." >&5
8753 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8754 Usually this means the macro was only invoked conditionally." >&2;}
8755 { (exit 1); exit 1; }; }
8757 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8758 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8759 Usually this means the macro was only invoked conditionally." >&5
8760 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8761 Usually this means the macro was only invoked conditionally." >&2;}
8762 { (exit 1); exit 1; }; }
8764 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8765 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8766 Usually this means the macro was only invoked conditionally." >&5
8767 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8768 Usually this means the macro was only invoked conditionally." >&2;}
8769 { (exit 1); exit 1; }; }
8772 : ${CONFIG_STATUS=./config.status}
8773 ac_clean_files_save
=$ac_clean_files
8774 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8775 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8776 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8777 cat >$CONFIG_STATUS <<_ACEOF
8779 # Generated by $as_me.
8780 # Run this file to recreate the current configuration.
8781 # Compiler output produced by configure, useful for debugging
8782 # configure, is in config.log if it exists.
8787 SHELL=\${CONFIG_SHELL-$SHELL}
8790 cat >>$CONFIG_STATUS <<\_ACEOF
8791 ## --------------------- ##
8792 ## M4sh Initialization. ##
8793 ## --------------------- ##
8795 # Be Bourne compatible
8796 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8799 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8800 # is contrary to our usage. Disable this feature.
8801 alias -g '${1+"$@"}'='"$@"'
8802 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8805 DUALCASE
=1; export DUALCASE
# for MKS sh
8807 # Support unset when possible.
8808 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
8815 # Work around bugs in pre-3.0 UWIN ksh.
8816 $as_unset ENV MAIL MAILPATH
8823 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8824 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8825 LC_TELEPHONE LC_TIME
8827 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8828 eval $as_var=C
; export $as_var
8834 # Required to use basename.
8835 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8841 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8842 as_basename
=basename
8848 # Name of the executable.
8849 as_me
=`$as_basename "$0" ||
8850 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8851 X"$0" : 'X\(//\)$' \| \
8852 X"$0" : 'X\(/\)$' \| \
8853 . : '\(.\)' 2>/dev/null ||
8855 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8856 /^X\/\(\/\/\)$/{ s//\1/; q; }
8857 /^X\/\(\/\).*/{ s//\1/; q; }
8861 # PATH needs CR, and LINENO needs CR and PATH.
8862 # Avoid depending upon Character Ranges.
8863 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8864 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8865 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8866 as_cr_digits
='0123456789'
8867 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8869 # The user is always right.
8870 if test "${PATH_SEPARATOR+set}" != set; then
8871 echo "#! /bin/sh" >conf$$.sh
8872 echo "exit 0" >>conf$$.sh
8874 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8885 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8886 test "x$as_lineno_1" != "x$as_lineno_2" &&
8887 test "x$as_lineno_3" = "x$as_lineno_2" || {
8888 # Find who we are. Look in the path if we contain no path at all
8891 *[\\/]* ) as_myself
=$0 ;;
8892 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8896 test -z "$as_dir" && as_dir
=.
8897 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8902 # We did not find ourselves, most probably we were run as `sh COMMAND'
8903 # in which case we are not to be found in the path.
8904 if test "x$as_myself" = x
; then
8907 if test ! -f "$as_myself"; then
8908 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8909 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8910 { (exit 1); exit 1; }; }
8912 case $CONFIG_SHELL in
8914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8915 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8918 test -z "$as_dir" && as_dir
=.
8919 for as_base
in sh bash ksh sh5
; do
8922 if ("$as_dir/$as_base" -c '
8925 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8926 test "x$as_lineno_1" != "x$as_lineno_2" &&
8927 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8928 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
8929 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
8930 CONFIG_SHELL
=$as_dir/$as_base
8932 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8940 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8941 # uniformly replaced by the line number. The first 'sed' inserts a
8942 # line-number line before each line; the second 'sed' does the real
8943 # work. The second script uses 'N' to pair each line-number line
8944 # with the numbered line, and appends trailing '-' during
8945 # substitution so that $LINENO is not a special case at line end.
8946 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8947 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8948 sed '=' <$as_myself |
8953 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8956 s,^['$as_cr_digits']*\n,,
8958 chmod +x
$as_me.lineno
||
8959 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8960 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8961 { (exit 1); exit 1; }; }
8963 # Don't try to exec as it changes $[0], causing all sort of problems
8964 # (the dirname of $[0] is not the place where we might find the
8965 # original and so on. Autoconf is especially sensible to this).
8967 # Exit status is that of the last command.
8972 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8973 *c
*,-n*) ECHO_N
= ECHO_C
='
8975 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8976 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8979 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8985 rm -f conf$$ conf$$.exe conf$$.
file
8987 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8988 # We could just check for DJGPP; but this test a) works b) is more generic
8989 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8990 if test -f conf$$.exe
; then
8991 # Don't use ln at all; we don't have any links
8996 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9001 rm -f conf$$ conf$$.exe conf$$.
file
9003 if mkdir -p .
2>/dev
/null
; then
9006 test -d .
/-p && rmdir .
/-p
9010 as_executable_p
="test -f"
9012 # Sed expression to map a string onto a valid CPP name.
9013 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9015 # Sed expression to map a string onto a valid variable name.
9016 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9020 # We need space, tab and new line, in precisely that order.
9030 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9031 # report actual input values of CONFIG_FILES etc. instead of their
9032 # values after options handling. Logging --version etc. is OK.
9036 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9037 ## Running $as_me. ##
9042 This file was extended by X3 $as_me 1.5, which was
9043 generated by GNU Autoconf 2.59. Invocation command line was
9045 CONFIG_FILES = $CONFIG_FILES
9046 CONFIG_HEADERS = $CONFIG_HEADERS
9047 CONFIG_LINKS = $CONFIG_LINKS
9048 CONFIG_COMMANDS = $CONFIG_COMMANDS
9052 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9056 # Files that config.status was made for.
9057 if test -n "$ac_config_files"; then
9058 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9061 if test -n "$ac_config_headers"; then
9062 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9065 if test -n "$ac_config_links"; then
9066 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9069 if test -n "$ac_config_commands"; then
9070 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9073 cat >>$CONFIG_STATUS <<\_ACEOF
9076 \`$as_me' instantiates files from templates according to the
9077 current configuration.
9079 Usage: $0 [OPTIONS] [FILE]...
9081 -h, --help print this help, then exit
9082 -V, --version print version number, then exit
9083 -q, --quiet do not print progress messages
9084 -d, --debug don't remove temporary files
9085 --recheck update $as_me by reconfiguring in the same conditions
9086 --file=FILE[:TEMPLATE]
9087 instantiate the configuration file FILE
9088 --header=FILE[:TEMPLATE]
9089 instantiate the configuration header FILE
9091 Configuration files:
9094 Configuration headers:
9097 Configuration commands:
9100 Report bugs to <bug-autoconf@gnu.org>."
9103 cat >>$CONFIG_STATUS <<_ACEOF
9105 X3 config.status 1.5
9106 configured by $0, generated by GNU Autoconf 2.59,
9107 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9109 Copyright (C) 2003 Free Software Foundation, Inc.
9110 This config.status script is free software; the Free Software Foundation
9111 gives unlimited permission to copy, distribute and modify it."
9116 cat >>$CONFIG_STATUS <<\_ACEOF
9117 # If no file are specified by the user, then we need to provide default
9118 # value. By we need to know if files were specified by the user.
9124 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9125 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9133 *) # This is not an option, so the user has probably given explicit
9136 ac_need_defaults
=false
;;
9140 # Handling of the options.
9142 cat >>$CONFIG_STATUS <<\_ACEOF
9143 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9145 --version | --vers* | -V )
9146 echo "$ac_cs_version"; exit 0 ;;
9148 # Conflict between --help and --header
9149 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9150 Try \`$0 --help' for more information." >&5
9151 echo "$as_me: error: ambiguous option: $1
9152 Try \`$0 --help' for more information." >&2;}
9153 { (exit 1); exit 1; }; };;
9154 --help | --hel | -h )
9155 echo "$ac_cs_usage"; exit 0 ;;
9156 --debug | --d* | -d )
9158 --file | --fil | --fi | --f )
9160 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9161 ac_need_defaults
=false
;;
9162 --header | --heade | --head | --hea )
9164 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9165 ac_need_defaults
=false
;;
9166 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9167 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9171 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9172 Try \`$0 --help' for more information." >&5
9173 echo "$as_me: error: unrecognized option: $1
9174 Try \`$0 --help' for more information." >&2;}
9175 { (exit 1); exit 1; }; } ;;
9177 *) ac_config_targets
="$ac_config_targets $1" ;;
9183 ac_configure_extra_args
=
9185 if $ac_cs_silent; then
9187 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9191 cat >>$CONFIG_STATUS <<_ACEOF
9192 if \$ac_cs_recheck; then
9193 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9194 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9199 cat >>$CONFIG_STATUS <<_ACEOF
9201 # INIT-COMMANDS section.
9204 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9210 cat >>$CONFIG_STATUS <<\_ACEOF
9211 for ac_config_target
in $ac_config_targets
9213 case "$ac_config_target" in
9214 # Handling of arguments.
9215 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9216 "rx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
9217 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9218 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9219 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
9220 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9221 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9222 { (exit 1); exit 1; }; };;
9226 # If the user did not use the arguments to specify the items to instantiate,
9227 # then the envvar interface is used. Set only those that are not.
9228 # We use the long form for the default assignment because of an extremely
9229 # bizarre bug on SunOS 4.1.3.
9230 if $ac_need_defaults; then
9231 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9232 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9233 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9236 # Have a temporary directory for convenience. Make it in the build tree
9237 # simply because there is no reason to put it here, and in addition,
9238 # creating and moving files from /tmp can sometimes cause problems.
9239 # Create a temporary directory, and hook for its removal unless debugging.
9242 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9243 trap '{ (exit 1); exit 1; }' 1 2 13 15
9246 # Create a (secure) tmp directory for tmp files.
9249 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9250 test -n "$tmp" && test -d "$tmp"
9253 tmp
=.
/confstat$$
-$RANDOM
9254 (umask 077 && mkdir $tmp)
9257 echo "$me: cannot create a temporary directory in ." >&2
9258 { (exit 1); exit 1; }
9263 cat >>$CONFIG_STATUS <<_ACEOF
9266 # CONFIG_FILES section.
9269 # No need to generate the scripts if there are no CONFIG_FILES.
9270 # This happens for instance when ./config.status config.h
9271 if test -n "\$CONFIG_FILES"; then
9272 # Protect against being on the right side of a sed subst in config.status.
9273 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9274 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9275 s,@SHELL@,$SHELL,;t t
9276 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9277 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9278 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9279 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9280 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9281 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9282 s,@exec_prefix@,$exec_prefix,;t t
9283 s,@prefix@,$prefix,;t t
9284 s,@program_transform_name@,$program_transform_name,;t t
9285 s,@bindir@,$bindir,;t t
9286 s,@sbindir@,$sbindir,;t t
9287 s,@libexecdir@,$libexecdir,;t t
9288 s,@datadir@,$datadir,;t t
9289 s,@sysconfdir@,$sysconfdir,;t t
9290 s,@sharedstatedir@,$sharedstatedir,;t t
9291 s,@localstatedir@,$localstatedir,;t t
9292 s,@libdir@,$libdir,;t t
9293 s,@includedir@,$includedir,;t t
9294 s,@oldincludedir@,$oldincludedir,;t t
9295 s,@infodir@,$infodir,;t t
9296 s,@mandir@,$mandir,;t t
9297 s,@build_alias@,$build_alias,;t t
9298 s,@host_alias@,$host_alias,;t t
9299 s,@target_alias@,$target_alias,;t t
9301 s,@ECHO_C@,$ECHO_C,;t t
9302 s,@ECHO_N@,$ECHO_N,;t t
9303 s,@ECHO_T@,$ECHO_T,;t t
9305 s,@build@,$build,;t t
9306 s,@build_cpu@,$build_cpu,;t t
9307 s,@build_vendor@,$build_vendor,;t t
9308 s,@build_os@,$build_os,;t t
9310 s,@host_cpu@,$host_cpu,;t t
9311 s,@host_vendor@,$host_vendor,;t t
9312 s,@host_os@,$host_os,;t t
9313 s,@target@,$target,;t t
9314 s,@target_cpu@,$target_cpu,;t t
9315 s,@target_vendor@,$target_vendor,;t t
9316 s,@target_os@,$target_os,;t t
9317 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9318 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9319 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9320 s,@CYGPATH_W@,$CYGPATH_W,;t t
9321 s,@PACKAGE@,$PACKAGE,;t t
9322 s,@VERSION@,$VERSION,;t t
9323 s,@ACLOCAL@,$ACLOCAL,;t t
9324 s,@AUTOCONF@,$AUTOCONF,;t t
9325 s,@AUTOMAKE@,$AUTOMAKE,;t t
9326 s,@AUTOHEADER@,$AUTOHEADER,;t t
9327 s,@MAKEINFO@,$MAKEINFO,;t t
9328 s,@install_sh@,$install_sh,;t t
9329 s,@STRIP@,$STRIP,;t t
9330 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9331 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9332 s,@mkdir_p@,$mkdir_p,;t t
9334 s,@SET_MAKE@,$SET_MAKE,;t t
9335 s,@am__leading_dot@,$am__leading_dot,;t t
9336 s,@AMTAR@,$AMTAR,;t t
9337 s,@am__tar@,$am__tar,;t t
9338 s,@am__untar@,$am__untar,;t t
9339 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9340 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9341 s,@MAINT@,$MAINT,;t t
9343 s,@CFLAGS@,$CFLAGS,;t t
9344 s,@LDFLAGS@,$LDFLAGS,;t t
9345 s,@CPPFLAGS@,$CPPFLAGS,;t t
9346 s,@ac_ct_CC@,$ac_ct_CC,;t t
9347 s,@EXEEXT@,$EXEEXT,;t t
9348 s,@OBJEXT@,$OBJEXT,;t t
9349 s,@DEPDIR@,$DEPDIR,;t t
9350 s,@am__include@,$am__include,;t t
9351 s,@am__quote@,$am__quote,;t t
9352 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9353 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9354 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9355 s,@CCDEPMODE@,$CCDEPMODE,;t t
9356 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
9357 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
9358 s,@RANLIB@,$RANLIB,;t t
9359 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9362 s,@EGREP@,$EGREP,;t t
9363 s,@MAKER@,$MAKER,;t t
9364 s,@ALLOCA@,$ALLOCA,;t t
9365 s,@MODULE_OBJS@,$MODULE_OBJS,;t t
9366 s,@MY_SUBDIRS@,$MY_SUBDIRS,;t t
9367 s,@RX_INCLUDES@,$RX_INCLUDES,;t t
9368 s,@RX_LIBS@,$RX_LIBS,;t t
9369 s,@TRACK@,$TRACK,;t t
9370 s,@LIBOBJS@,$LIBOBJS,;t t
9371 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9376 cat >>$CONFIG_STATUS <<\_ACEOF
9377 # Split the substitutions into bite-sized pieces for seds with
9378 # small command number limits, like on Digital OSF/1 and HP-UX.
9380 ac_sed_frag
=1 # Number of current file.
9381 ac_beg
=1 # First line for current file.
9382 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9385 while $ac_more_lines; do
9386 if test $ac_beg -gt 1; then
9387 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9389 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9391 if test ! -s $tmp/subs.frag
; then
9394 # The purpose of the label and of the branching condition is to
9395 # speed up the sed processing (if there are no `@' at all, there
9396 # is no need to browse any of the substitutions).
9397 # These are the two extra sed commands mentioned above.
9399 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
9400 if test -z "$ac_sed_cmds"; then
9401 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9403 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9405 ac_sed_frag
=`expr $ac_sed_frag + 1`
9407 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9410 if test -z "$ac_sed_cmds"; then
9413 fi # test -n "$CONFIG_FILES"
9416 cat >>$CONFIG_STATUS <<\_ACEOF
9417 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9418 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9420 - | *:- | *:-:* ) # input from stdin
9422 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9423 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9424 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9425 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9426 * ) ac_file_in
=$ac_file.
in ;;
9429 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9430 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9431 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9432 X"$ac_file" : 'X\(//\)[^/]' \| \
9433 X"$ac_file" : 'X\(//\)$' \| \
9434 X"$ac_file" : 'X\(/\)' \| \
9435 . : '\(.\)' 2>/dev/null ||
9437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9438 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9439 /^X\(\/\/\)$/{ s//\1/; q; }
9440 /^X\(\/\).*/{ s//\1/; q; }
9442 { if $as_mkdir_p; then
9447 while test ! -d "$as_dir"; do
9448 as_dirs
="$as_dir $as_dirs"
9449 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9450 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9451 X"$as_dir" : 'X\(//\)[^/]' \| \
9452 X"$as_dir" : 'X\(//\)$' \| \
9453 X"$as_dir" : 'X\(/\)' \| \
9454 . : '\(.\)' 2>/dev/null ||
9456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9458 /^X\(\/\/\)$/{ s//\1/; q; }
9459 /^X\(\/\).*/{ s//\1/; q; }
9462 test ! -n "$as_dirs" || mkdir $as_dirs
9463 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9464 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9465 { (exit 1); exit 1; }; }; }
9469 if test "$ac_dir" != .
; then
9470 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9471 # A "../" for each directory in $ac_dir_suffix.
9472 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9474 ac_dir_suffix
= ac_top_builddir
=
9478 .
) # No --srcdir option. We are building in place.
9480 if test -z "$ac_top_builddir"; then
9483 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9485 [\\/]* | ?
:[\\/]* ) # Absolute path.
9486 ac_srcdir
=$srcdir$ac_dir_suffix;
9487 ac_top_srcdir
=$srcdir ;;
9489 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9490 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9493 # Do not use `cd foo && pwd` to compute absolute paths, because
9494 # the directories may not exist.
9496 .
) ac_abs_builddir
="$ac_dir";;
9499 .
) ac_abs_builddir
=`pwd`;;
9500 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9501 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9504 case $ac_abs_builddir in
9505 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9507 case ${ac_top_builddir}.
in
9508 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9509 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9510 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9513 case $ac_abs_builddir in
9514 .
) ac_abs_srcdir
=$ac_srcdir;;
9517 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9518 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9519 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9522 case $ac_abs_builddir in
9523 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9525 case $ac_top_srcdir in
9526 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9527 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9528 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9534 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9535 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9538 # Let's still pretend it is `configure' which instantiates (i.e., don't
9539 # use $as_me), people would be surprised to read:
9540 # /* config.h. Generated by config.status. */
9541 if test x
"$ac_file" = x
-; then
9544 configure_input
="$ac_file. "
9546 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9547 sed 's,.*/,,'` by configure."
9549 # First look for the input files in the build tree, otherwise in the
9551 ac_file_inputs
=`IFS=:
9552 for f in $ac_file_in; do
9554 -) echo $tmp/stdin ;;
9556 # Absolute (can't be DOS-style, as IFS=:)
9557 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9558 echo "$as_me: error: cannot find input file: $f" >&2;}
9559 { (exit 1); exit 1; }; }
9562 if test -f "$f"; then
9565 elif test -f "$srcdir/$f"; then
9570 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9571 echo "$as_me: error: cannot find input file: $f" >&2;}
9572 { (exit 1); exit 1; }; }
9575 done` || { (exit 1); exit 1; }
9577 if test x
"$ac_file" != x
-; then
9578 { echo "$as_me:$LINENO: creating $ac_file" >&5
9579 echo "$as_me: creating $ac_file" >&6;}
9583 cat >>$CONFIG_STATUS <<_ACEOF
9587 cat >>$CONFIG_STATUS <<\_ACEOF
9589 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
9590 s
,@configure_input@
,$configure_input,;t t
9591 s
,@srcdir@
,$ac_srcdir,;t t
9592 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9593 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9594 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9595 s
,@builddir@
,$ac_builddir,;t t
9596 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9597 s
,@top_builddir@
,$ac_top_builddir,;t t
9598 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9599 s
,@INSTALL@
,$ac_INSTALL,;t t
9600 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9602 if test x"$ac_file" != x-; then
9603 mv $tmp/out $ac_file
9611 cat >>$CONFIG_STATUS <<\_ACEOF
9614 # CONFIG_HEADER section.
9617 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9618 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9620 # ac_d sets the value in "#define NAME VALUE" lines.
9621 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9622 ac_dB
='[ ].*$,\1#\2'
9625 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9626 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9627 ac_uB
='$,\1#\2define\3'
9631 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9632 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9634 - | *:- | *:-:* ) # input from stdin
9636 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9637 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9638 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9639 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9640 * ) ac_file_in
=$ac_file.
in ;;
9643 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9644 echo "$as_me: creating $ac_file" >&6;}
9646 # First look for the input files in the build tree, otherwise in the
9648 ac_file_inputs
=`IFS=:
9649 for f in $ac_file_in; do
9651 -) echo $tmp/stdin ;;
9653 # Absolute (can't be DOS-style, as IFS=:)
9654 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9655 echo "$as_me: error: cannot find input file: $f" >&2;}
9656 { (exit 1); exit 1; }; }
9657 # Do quote $f, to prevent DOS paths from being IFS'd.
9660 if test -f "$f"; then
9663 elif test -f "$srcdir/$f"; then
9668 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9669 echo "$as_me: error: cannot find input file: $f" >&2;}
9670 { (exit 1); exit 1; }; }
9673 done` || { (exit 1); exit 1; }
9674 # Remove the trailing spaces.
9675 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9679 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9680 # `conftest.undefs', that substitutes the proper values into
9681 # config.h.in to produce config.h. The first handles `#define'
9682 # templates, and the second `#undef' templates.
9683 # And first: Protect against being on the right side of a sed subst in
9684 # config.status. Protect against being in an unquoted here document
9686 rm -f conftest.defines conftest.undefs
9687 # Using a here document instead of a string reduces the quoting nightmare.
9688 # Putting comments in sed scripts is not portable.
9690 # `end' is used to avoid that the second main sed command (meant for
9691 # 0-ary CPP macros) applies to n-ary macro definitions.
9692 # See the Autoconf documentation for `clear'.
9693 cat >confdef2sed.
sed <<\_ACEOF
9698 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9700 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9703 # If some macros were called several times there might be several times
9704 # the same #defines, which is useless. Nevertheless, we may not want to
9705 # sort them, since we want the *last* AC-DEFINE to be honored.
9706 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9707 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9708 rm -f confdef2sed.sed
9710 # This sed command replaces #undef with comments. This is necessary, for
9711 # example, in the case of _POSIX_SOURCE, which is predefined and required
9712 # on some systems where configure will not decide to define it.
9713 cat >>conftest.undefs <<\_ACEOF
9714 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9717 # Break up conftest.defines because some shells have a limit on the size
9718 # of here documents, and old seds have small limits too (100 cmds).
9719 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9720 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9721 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9722 echo ' :' >>$CONFIG_STATUS
9724 while grep . conftest.defines >/dev/null
9726 # Write a limited-size here document to $tmp/defines.sed.
9727 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9728 # Speed up: don't consider the non `#define' lines.
9729 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9730 # Work around the forget-to-reset-the-flag bug.
9731 echo 't clr' >>$CONFIG_STATUS
9732 echo ': clr' >>$CONFIG_STATUS
9733 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9735 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9739 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9740 rm -f conftest.defines
9741 mv conftest.
tail conftest.defines
9743 rm -f conftest.defines
9744 echo ' fi # grep' >>$CONFIG_STATUS
9745 echo >>$CONFIG_STATUS
9747 # Break up conftest.undefs because some shells have a limit on the size
9748 # of here documents, and old seds have small limits too (100 cmds).
9749 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9751 while grep . conftest.undefs
>/dev
/null
9753 # Write a limited-size here document to $tmp/undefs.sed.
9754 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9755 # Speed up: don't consider the non
`#undef'
9756 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9757 # Work around the forget-to-reset-the-flag bug.
9758 echo 't clr' >>$CONFIG_STATUS
9759 echo ': clr' >>$CONFIG_STATUS
9760 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9762 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9766 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9767 rm -f conftest.undefs
9768 mv conftest.tail conftest.undefs
9770 rm -f conftest.undefs
9772 cat >>$CONFIG_STATUS <<\_ACEOF
9773 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9774 # use $as_me), people would be surprised to read:
9775 # /* config.h. Generated by config.status. */
9776 if test x
"$ac_file" = x
-; then
9777 echo "/* Generated by configure. */" >$tmp/config.h
9779 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9781 cat $tmp/in >>$tmp/config.h
9783 if test x
"$ac_file" != x
-; then
9784 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9785 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9786 echo "$as_me: $ac_file is unchanged" >&6;}
9788 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9789 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9790 X"$ac_file" : 'X\(//\)[^/]' \| \
9791 X"$ac_file" : 'X\(//\)$' \| \
9792 X"$ac_file" : 'X\(/\)' \| \
9793 . : '\(.\)' 2>/dev/null ||
9795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9796 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9797 /^X\(\/\/\)$/{ s//\1/; q; }
9798 /^X\(\/\).*/{ s//\1/; q; }
9800 { if $as_mkdir_p; then
9805 while test ! -d "$as_dir"; do
9806 as_dirs
="$as_dir $as_dirs"
9807 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9808 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9809 X"$as_dir" : 'X\(//\)[^/]' \| \
9810 X"$as_dir" : 'X\(//\)$' \| \
9811 X"$as_dir" : 'X\(/\)' \| \
9812 . : '\(.\)' 2>/dev/null ||
9814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9815 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9816 /^X\(\/\/\)$/{ s//\1/; q; }
9817 /^X\(\/\).*/{ s//\1/; q; }
9820 test ! -n "$as_dirs" || mkdir $as_dirs
9821 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9822 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9823 { (exit 1); exit 1; }; }; }
9826 mv $tmp/config.h
$ac_file
9832 # Compute $ac_file's index in $config_headers.
9834 for _am_header
in $config_headers :; do
9836 $ac_file | $ac_file:* )
9839 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9842 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9843 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9844 X$ac_file : 'X\(//\)[^/]' \| \
9845 X$ac_file : 'X\(//\)$' \| \
9846 X$ac_file : 'X\(/\)' \| \
9847 . : '\(.\)' 2>/dev/null ||
9849 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9850 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9851 /^X\(\/\/\)$/{ s//\1/; q; }
9852 /^X\(\/\).*/{ s//\1/; q; }
9853 s/.*/./; q'`/stamp
-h$_am_stamp_count
9856 cat >>$CONFIG_STATUS <<\_ACEOF
9859 # CONFIG_COMMANDS section.
9861 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9862 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9863 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9864 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9865 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9866 X"$ac_dest" : 'X\(//\)[^/]' \| \
9867 X"$ac_dest" : 'X\(//\)$' \| \
9868 X"$ac_dest" : 'X\(/\)' \| \
9869 . : '\(.\)' 2>/dev/null ||
9871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9873 /^X\(\/\/\)$/{ s//\1/; q; }
9874 /^X\(\/\).*/{ s//\1/; q; }
9876 { if $as_mkdir_p; then
9881 while test ! -d "$as_dir"; do
9882 as_dirs
="$as_dir $as_dirs"
9883 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9884 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9885 X"$as_dir" : 'X\(//\)[^/]' \| \
9886 X"$as_dir" : 'X\(//\)$' \| \
9887 X"$as_dir" : 'X\(/\)' \| \
9888 . : '\(.\)' 2>/dev/null ||
9890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9891 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9892 /^X\(\/\/\)$/{ s//\1/; q; }
9893 /^X\(\/\).*/{ s//\1/; q; }
9896 test ! -n "$as_dirs" || mkdir $as_dirs
9897 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9898 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9899 { (exit 1); exit 1; }; }; }
9903 if test "$ac_dir" != .
; then
9904 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9905 # A "../" for each directory in $ac_dir_suffix.
9906 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9908 ac_dir_suffix
= ac_top_builddir
=
9912 .
) # No --srcdir option. We are building in place.
9914 if test -z "$ac_top_builddir"; then
9917 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9919 [\\/]* | ?
:[\\/]* ) # Absolute path.
9920 ac_srcdir
=$srcdir$ac_dir_suffix;
9921 ac_top_srcdir
=$srcdir ;;
9923 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9924 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9927 # Do not use `cd foo && pwd` to compute absolute paths, because
9928 # the directories may not exist.
9930 .
) ac_abs_builddir
="$ac_dir";;
9933 .
) ac_abs_builddir
=`pwd`;;
9934 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9935 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9938 case $ac_abs_builddir in
9939 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9941 case ${ac_top_builddir}.
in
9942 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9943 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9944 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9947 case $ac_abs_builddir in
9948 .
) ac_abs_srcdir
=$ac_srcdir;;
9951 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9952 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9953 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9956 case $ac_abs_builddir in
9957 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9959 case $ac_top_srcdir in
9960 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9961 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9962 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9967 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9968 echo "$as_me: executing $ac_dest commands" >&6;}
9970 depfiles
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
9971 # Strip MF so we end up with the name of the file.
9972 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9973 # Check whether this is an Automake generated Makefile or not.
9974 # We used to match only the files named `Makefile.in', but
9975 # some people rename them; so instead we look at the file content.
9976 # Grep'ing the first line is not enough: some people post-process
9977 # each Makefile.in and add a new line on top of each file to say so.
9978 # So let's grep whole file.
9979 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
9980 dirpart
=`(dirname "$mf") 2>/dev/null ||
9981 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9982 X"$mf" : 'X\(//\)[^/]' \| \
9983 X"$mf" : 'X\(//\)$' \| \
9984 X"$mf" : 'X\(/\)' \| \
9985 . : '\(.\)' 2>/dev/null ||
9987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9988 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9989 /^X\(\/\/\)$/{ s//\1/; q; }
9990 /^X\(\/\).*/{ s//\1/; q; }
9995 # Extract the definition of DEPDIR, am__include, and am__quote
9996 # from the Makefile without running `make'.
9997 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9998 test -z "$DEPDIR" && continue
9999 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10000 test -z "am__include" && continue
10001 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10002 # When using ansi2knr, U may be empty or an underscore; expand it
10003 U
=`sed -n 's/^U = //p' < "$mf"`
10004 # Find all dependency output files, they are included files with
10005 # $(DEPDIR) in their names. We invoke sed twice because it is the
10006 # simplest approach to changing $(DEPDIR) to its actual value in the
10008 for file in `sed -n "
10009 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10010 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10011 # Make sure the directory exists.
10012 test -f "$dirpart/$file" && continue
10013 fdir
=`(dirname "$file") 2>/dev/null ||
10014 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10015 X"$file" : 'X\(//\)[^/]' \| \
10016 X"$file" : 'X\(//\)$' \| \
10017 X"$file" : 'X\(/\)' \| \
10018 . : '\(.\)' 2>/dev/null ||
10020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10021 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10022 /^X\(\/\/\)$/{ s//\1/; q; }
10023 /^X\(\/\).*/{ s//\1/; q; }
10025 { if $as_mkdir_p; then
10026 mkdir -p $dirpart/$fdir
10028 as_dir
=$dirpart/$fdir
10030 while test ! -d "$as_dir"; do
10031 as_dirs
="$as_dir $as_dirs"
10032 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10033 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10034 X"$as_dir" : 'X\(//\)[^/]' \| \
10035 X"$as_dir" : 'X\(//\)$' \| \
10036 X"$as_dir" : 'X\(/\)' \| \
10037 . : '\(.\)' 2>/dev/null ||
10039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10040 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10041 /^X\(\/\/\)$/{ s//\1/; q; }
10042 /^X\(\/\).*/{ s//\1/; q; }
10045 test ! -n "$as_dirs" || mkdir $as_dirs
10046 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
10047 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
10048 { (exit 1); exit 1; }; }; }
10050 # echo "creating $dirpart/$file"
10051 echo '# dummy' > "$dirpart/$file"
10059 cat >>$CONFIG_STATUS <<\_ACEOF
10061 { (exit 0); exit 0; }
10063 chmod +x
$CONFIG_STATUS
10064 ac_clean_files
=$ac_clean_files_save
10067 # configure is writing to config.log, and then calls config.status.
10068 # config.status does its own redirection, appending to config.log.
10069 # Unfortunately, on DOS this fails, as config.log is still kept open
10070 # by configure, so config.status won't be able to write to it; its
10071 # output is simply discarded. So we exec the FD to /dev/null,
10072 # effectively closing config.log, so it can be properly (re)opened and
10073 # appended to by config.status. When coming back to configure, we
10074 # need to make the FD available again.
10075 if test "$no_create" != yes; then
10077 ac_config_status_args
=
10078 test "$silent" = yes &&
10079 ac_config_status_args
="$ac_config_status_args --quiet"
10081 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10083 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10084 # would make configure fail if this is the last instruction.
10085 $ac_cs_success || { (exit 1); exit 1; }
10093 Configuration summary
10094 =====================
10096 X3 is now configured as follows:
10098 * Compilation environment
10103 CPPFLAGS = $CPPFLAGS
10111 Extra Modules: $module_list
10114 Regexp Library TRE $tre_version
10116 Install to: $prefix
10118 Now you can proceed with compiling X3