2 # From configure.in Id: configure.in 1708 2006-07-30 05:04:30Z rubin .
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 ANSI C header files" >&5
4876 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4877 if test "${ac_cv_header_stdc+set}" = set; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 cat >conftest.
$ac_ext <<_ACEOF
4883 cat confdefs.h
>>conftest.
$ac_ext
4884 cat >>conftest.
$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4899 rm -f conftest.
$ac_objext
4900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4901 (eval $ac_compile) 2>conftest.er1
4903 grep -v '^ *+' conftest.er1
>conftest.err
4905 cat conftest.err
>&5
4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); } &&
4908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); }; } &&
4914 { ac_try
='test -s conftest.$ac_objext'
4915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); }; }; then
4920 ac_cv_header_stdc
=yes
4922 echo "$as_me: failed program was:" >&5
4923 sed 's/^/| /' conftest.
$ac_ext >&5
4925 ac_cv_header_stdc
=no
4927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4929 if test $ac_cv_header_stdc = yes; then
4930 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4931 cat >conftest.
$ac_ext <<_ACEOF
4934 cat confdefs.h
>>conftest.
$ac_ext
4935 cat >>conftest.
$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4941 $EGREP "memchr" >/dev
/null
2>&1; then
4944 ac_cv_header_stdc
=no
4950 if test $ac_cv_header_stdc = yes; then
4951 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4952 cat >conftest.
$ac_ext <<_ACEOF
4955 cat confdefs.h
>>conftest.
$ac_ext
4956 cat >>conftest.
$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4962 $EGREP "free" >/dev
/null
2>&1; then
4965 ac_cv_header_stdc
=no
4971 if test $ac_cv_header_stdc = yes; then
4972 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4973 if test "$cross_compiling" = yes; then
4976 cat >conftest.
$ac_ext <<_ACEOF
4979 cat confdefs.h
>>conftest.
$ac_ext
4980 cat >>conftest.
$ac_ext <<_ACEOF
4981 /* end confdefs.h. */
4983 #if ((' ' & 0x0FF) == 0x020)
4984 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4985 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4987 # define ISLOWER(c) \
4988 (('a' <= (c) && (c) <= 'i') \
4989 || ('j' <= (c) && (c) <= 'r') \
4990 || ('s' <= (c) && (c) <= 'z'))
4991 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4994 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4999 for (i = 0; i < 256; i++)
5000 if (XOR (islower (i), ISLOWER (i))
5001 || toupper (i) != TOUPPER (i))
5006 rm -f conftest
$ac_exeext
5007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5008 (eval $ac_link) 2>&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); }; }; then
5019 echo "$as_me: program exited with status $ac_status" >&5
5020 echo "$as_me: failed program was:" >&5
5021 sed 's/^/| /' conftest.
$ac_ext >&5
5024 ac_cv_header_stdc
=no
5026 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5030 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5031 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5032 if test $ac_cv_header_stdc = yes; then
5034 cat >>confdefs.h
<<\_ACEOF
5035 #define STDC_HEADERS 1
5041 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5042 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5043 if test "${ac_cv_header_time+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5046 cat >conftest.
$ac_ext <<_ACEOF
5049 cat confdefs.h
>>conftest.
$ac_ext
5050 cat >>conftest.
$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5052 #include <sys/types.h>
5053 #include <sys/time.h>
5059 if ((struct tm *) 0)
5065 rm -f conftest.
$ac_objext
5066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5067 (eval $ac_compile) 2>conftest.er1
5069 grep -v '^ *+' conftest.er1
>conftest.err
5071 cat conftest.err
>&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } &&
5074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); }; } &&
5080 { ac_try
='test -s conftest.$ac_objext'
5081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085 (exit $ac_status); }; }; then
5086 ac_cv_header_time
=yes
5088 echo "$as_me: failed program was:" >&5
5089 sed 's/^/| /' conftest.
$ac_ext >&5
5091 ac_cv_header_time
=no
5093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5095 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5096 echo "${ECHO_T}$ac_cv_header_time" >&6
5097 if test $ac_cv_header_time = yes; then
5099 cat >>confdefs.h
<<\_ACEOF
5100 #define TIME_WITH_SYS_TIME 1
5105 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5106 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5107 if test "${ac_cv_struct_tm+set}" = set; then
5108 echo $ECHO_N "(cached) $ECHO_C" >&6
5110 cat >conftest.
$ac_ext <<_ACEOF
5113 cat confdefs.h
>>conftest.
$ac_ext
5114 cat >>conftest.
$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5116 #include <sys/types.h>
5122 struct tm *tp; tp->tm_sec;
5127 rm -f conftest.
$ac_objext
5128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5129 (eval $ac_compile) 2>conftest.er1
5131 grep -v '^ *+' conftest.er1
>conftest.err
5133 cat conftest.err
>&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } &&
5136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); }; } &&
5142 { ac_try
='test -s conftest.$ac_objext'
5143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); }; }; then
5148 ac_cv_struct_tm
=time.h
5150 echo "$as_me: failed program was:" >&5
5151 sed 's/^/| /' conftest.
$ac_ext >&5
5153 ac_cv_struct_tm
=sys
/time.h
5155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5157 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5158 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5159 if test $ac_cv_struct_tm = sys
/time.h
; then
5161 cat >>confdefs.h
<<\_ACEOF
5162 #define TM_IN_SYS_TIME 1
5168 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5178 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5179 inttypes.h stdint.h unistd.h
5181 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5182 echo "$as_me:$LINENO: checking for $ac_header" >&5
5183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5185 echo $ECHO_N "(cached) $ECHO_C" >&6
5187 cat >conftest.
$ac_ext <<_ACEOF
5190 cat confdefs.h
>>conftest.
$ac_ext
5191 cat >>conftest.
$ac_ext <<_ACEOF
5192 /* end confdefs.h. */
5193 $ac_includes_default
5195 #include <$ac_header>
5197 rm -f conftest.
$ac_objext
5198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5199 (eval $ac_compile) 2>conftest.er1
5201 grep -v '^ *+' conftest.er1
>conftest.err
5203 cat conftest.err
>&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); } &&
5206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); }; } &&
5212 { ac_try
='test -s conftest.$ac_objext'
5213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); }; }; then
5218 eval "$as_ac_Header=yes"
5220 echo "$as_me: failed program was:" >&5
5221 sed 's/^/| /' conftest.
$ac_ext >&5
5223 eval "$as_ac_Header=no"
5225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5230 cat >>confdefs.h
<<_ACEOF
5231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5259 for ac_header
in 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
5261 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5263 echo "$as_me:$LINENO: checking for $ac_header" >&5
5264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5271 # Is the header compilable?
5272 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5274 cat >conftest.
$ac_ext <<_ACEOF
5277 cat confdefs.h
>>conftest.
$ac_ext
5278 cat >>conftest.
$ac_ext <<_ACEOF
5279 /* end confdefs.h. */
5280 $ac_includes_default
5281 #include <$ac_header>
5283 rm -f conftest.
$ac_objext
5284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5285 (eval $ac_compile) 2>conftest.er1
5287 grep -v '^ *+' conftest.er1
>conftest.err
5289 cat conftest.err
>&5
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); } &&
5292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); }; } &&
5298 { ac_try
='test -s conftest.$ac_objext'
5299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303 (exit $ac_status); }; }; then
5304 ac_header_compiler
=yes
5306 echo "$as_me: failed program was:" >&5
5307 sed 's/^/| /' conftest.
$ac_ext >&5
5309 ac_header_compiler
=no
5311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5313 echo "${ECHO_T}$ac_header_compiler" >&6
5315 # Is the header present?
5316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5318 cat >conftest.
$ac_ext <<_ACEOF
5321 cat confdefs.h
>>conftest.
$ac_ext
5322 cat >>conftest.
$ac_ext <<_ACEOF
5323 /* end confdefs.h. */
5324 #include <$ac_header>
5326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5329 grep -v '^ *+' conftest.er1
>conftest.err
5331 cat conftest.err
>&5
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); } >/dev
/null
; then
5334 if test -s conftest.err
; then
5335 ac_cpp_err
=$ac_c_preproc_warn_flag
5336 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5343 if test -z "$ac_cpp_err"; then
5344 ac_header_preproc
=yes
5346 echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.
$ac_ext >&5
5349 ac_header_preproc
=no
5351 rm -f conftest.err conftest.
$ac_ext
5352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5353 echo "${ECHO_T}$ac_header_preproc" >&6
5355 # So? What about this header?
5356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5361 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5362 ac_header_preproc
=yes
5365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5366 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5368 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5369 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5370 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5371 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5372 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5375 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5376 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5379 ## -------------------------------------------------- ##
5380 ## Report this to evilnet-devel@lists.sourceforge.net ##
5381 ## -------------------------------------------------- ##
5384 sed "s/^/$as_me: WARNING: /" >&2
5387 echo "$as_me:$LINENO: checking for $ac_header" >&5
5388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5390 echo $ECHO_N "(cached) $ECHO_C" >&6
5392 eval "$as_ac_Header=\$ac_header_preproc"
5394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5399 cat >>confdefs.h
<<_ACEOF
5400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5408 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
5409 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
5410 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
5411 echo $ECHO_N "(cached) $ECHO_C" >&6
5413 cat >conftest.
$ac_ext <<_ACEOF
5416 cat confdefs.h
>>conftest.
$ac_ext
5417 cat >>conftest.
$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5419 #include <sys/types.h>
5420 #include <sys/socket.h>
5425 static struct sockaddr ac_aggr;
5432 rm -f conftest.
$ac_objext
5433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5434 (eval $ac_compile) 2>conftest.er1
5436 grep -v '^ *+' conftest.er1
>conftest.err
5438 cat conftest.err
>&5
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); } &&
5441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); }; } &&
5447 { ac_try
='test -s conftest.$ac_objext'
5448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); }; }; then
5453 ac_cv_member_struct_sockaddr_sa_len
=yes
5455 echo "$as_me: failed program was:" >&5
5456 sed 's/^/| /' conftest.
$ac_ext >&5
5458 cat >conftest.
$ac_ext <<_ACEOF
5461 cat confdefs.h
>>conftest.
$ac_ext
5462 cat >>conftest.
$ac_ext <<_ACEOF
5463 /* end confdefs.h. */
5464 #include <sys/types.h>
5465 #include <sys/socket.h>
5470 static struct sockaddr ac_aggr;
5471 if (sizeof ac_aggr.sa_len)
5477 rm -f conftest.
$ac_objext
5478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5479 (eval $ac_compile) 2>conftest.er1
5481 grep -v '^ *+' conftest.er1
>conftest.err
5483 cat conftest.err
>&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); } &&
5486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); }; } &&
5492 { ac_try
='test -s conftest.$ac_objext'
5493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); }; }; then
5498 ac_cv_member_struct_sockaddr_sa_len
=yes
5500 echo "$as_me: failed program was:" >&5
5501 sed 's/^/| /' conftest.
$ac_ext >&5
5503 ac_cv_member_struct_sockaddr_sa_len
=no
5505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5509 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
5510 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
5511 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
5513 cat >>confdefs.h
<<\_ACEOF
5514 #define HAVE_SOCKADDR_SA_LEN
5519 echo "$as_me:$LINENO: checking for struct addrinfo.ai_flags" >&5
5520 echo $ECHO_N "checking for struct addrinfo.ai_flags... $ECHO_C" >&6
5521 if test "${ac_cv_member_struct_addrinfo_ai_flags+set}" = set; then
5522 echo $ECHO_N "(cached) $ECHO_C" >&6
5524 cat >conftest.
$ac_ext <<_ACEOF
5527 cat confdefs.h
>>conftest.
$ac_ext
5528 cat >>conftest.
$ac_ext <<_ACEOF
5529 /* end confdefs.h. */
5530 #include <sys/types.h>
5531 #include <sys/socket.h>
5537 static struct addrinfo ac_aggr;
5538 if (ac_aggr.ai_flags)
5544 rm -f conftest.
$ac_objext
5545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5546 (eval $ac_compile) 2>conftest.er1
5548 grep -v '^ *+' conftest.er1
>conftest.err
5550 cat conftest.err
>&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); } &&
5553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; } &&
5559 { ac_try
='test -s conftest.$ac_objext'
5560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); }; }; then
5565 ac_cv_member_struct_addrinfo_ai_flags
=yes
5567 echo "$as_me: failed program was:" >&5
5568 sed 's/^/| /' conftest.
$ac_ext >&5
5570 cat >conftest.
$ac_ext <<_ACEOF
5573 cat confdefs.h
>>conftest.
$ac_ext
5574 cat >>conftest.
$ac_ext <<_ACEOF
5575 /* end confdefs.h. */
5576 #include <sys/types.h>
5577 #include <sys/socket.h>
5583 static struct addrinfo ac_aggr;
5584 if (sizeof ac_aggr.ai_flags)
5590 rm -f conftest.
$ac_objext
5591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5592 (eval $ac_compile) 2>conftest.er1
5594 grep -v '^ *+' conftest.er1
>conftest.err
5596 cat conftest.err
>&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } &&
5599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); }; } &&
5605 { ac_try
='test -s conftest.$ac_objext'
5606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); }; }; then
5611 ac_cv_member_struct_addrinfo_ai_flags
=yes
5613 echo "$as_me: failed program was:" >&5
5614 sed 's/^/| /' conftest.
$ac_ext >&5
5616 ac_cv_member_struct_addrinfo_ai_flags
=no
5618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5622 echo "$as_me:$LINENO: result: $ac_cv_member_struct_addrinfo_ai_flags" >&5
5623 echo "${ECHO_T}$ac_cv_member_struct_addrinfo_ai_flags" >&6
5624 if test $ac_cv_member_struct_addrinfo_ai_flags = yes; then
5626 cat >>confdefs.h
<<\_ACEOF
5627 #define HAVE_STRUCT_ADDRINFO
5633 for ac_func
in gettimeofday
5635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5636 echo "$as_me:$LINENO: checking for $ac_func" >&5
5637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5638 if eval "test \"\${$as_ac_var+set}\" = set"; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 cat >conftest.
$ac_ext <<_ACEOF
5644 cat confdefs.h
>>conftest.
$ac_ext
5645 cat >>conftest.
$ac_ext <<_ACEOF
5646 /* end confdefs.h. */
5647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5649 #define $ac_func innocuous_$ac_func
5651 /* System header to define __stub macros and hopefully few prototypes,
5652 which can conflict with char $ac_func (); below.
5653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5654 <limits.h> exists even on freestanding compilers. */
5657 # include <limits.h>
5659 # include <assert.h>
5664 /* Override any gcc2 internal prototype to avoid an error. */
5669 /* We use char because int might match the return type of a gcc2
5670 builtin and then its argument prototype would still apply. */
5672 /* The GNU C library defines this for functions which it implements
5673 to always fail with ENOSYS. Some functions are actually named
5674 something starting with __ and the normal name is an alias. */
5675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5678 char (*f) () = $ac_func;
5687 return f != $ac_func;
5692 rm -f conftest.
$ac_objext conftest
$ac_exeext
5693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5694 (eval $ac_link) 2>conftest.er1
5696 grep -v '^ *+' conftest.er1
>conftest.err
5698 cat conftest.err
>&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); } &&
5701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; } &&
5707 { ac_try
='test -s conftest$ac_exeext'
5708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); }; }; then
5713 eval "$as_ac_var=yes"
5715 echo "$as_me: failed program was:" >&5
5716 sed 's/^/| /' conftest.
$ac_ext >&5
5718 eval "$as_ac_var=no"
5720 rm -f conftest.err conftest.
$ac_objext \
5721 conftest
$ac_exeext conftest.
$ac_ext
5723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5725 if test `eval echo '${'$as_ac_var'}'` = yes; then
5726 cat >>confdefs.h
<<_ACEOF
5727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5733 if test $ac_cv_func_gettimeofday = no
; then
5735 for ac_func
in ftime
5737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5738 echo "$as_me:$LINENO: checking for $ac_func" >&5
5739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5740 if eval "test \"\${$as_ac_var+set}\" = set"; then
5741 echo $ECHO_N "(cached) $ECHO_C" >&6
5743 cat >conftest.
$ac_ext <<_ACEOF
5746 cat confdefs.h
>>conftest.
$ac_ext
5747 cat >>conftest.
$ac_ext <<_ACEOF
5748 /* end confdefs.h. */
5749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5751 #define $ac_func innocuous_$ac_func
5753 /* System header to define __stub macros and hopefully few prototypes,
5754 which can conflict with char $ac_func (); below.
5755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5756 <limits.h> exists even on freestanding compilers. */
5759 # include <limits.h>
5761 # include <assert.h>
5766 /* Override any gcc2 internal prototype to avoid an error. */
5771 /* We use char because int might match the return type of a gcc2
5772 builtin and then its argument prototype would still apply. */
5774 /* The GNU C library defines this for functions which it implements
5775 to always fail with ENOSYS. Some functions are actually named
5776 something starting with __ and the normal name is an alias. */
5777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5780 char (*f) () = $ac_func;
5789 return f != $ac_func;
5794 rm -f conftest.
$ac_objext conftest
$ac_exeext
5795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5796 (eval $ac_link) 2>conftest.er1
5798 grep -v '^ *+' conftest.er1
>conftest.err
5800 cat conftest.err
>&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); } &&
5803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }; } &&
5809 { ac_try
='test -s conftest$ac_exeext'
5810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); }; }; then
5815 eval "$as_ac_var=yes"
5817 echo "$as_me: failed program was:" >&5
5818 sed 's/^/| /' conftest.
$ac_ext >&5
5820 eval "$as_ac_var=no"
5822 rm -f conftest.err conftest.
$ac_objext \
5823 conftest
$ac_exeext conftest.
$ac_ext
5825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5827 if test `eval echo '${'$as_ac_var'}'` = yes; then
5828 cat >>confdefs.h
<<_ACEOF
5829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5833 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. X3 build will fail." >&5
5834 echo "$as_me: error: ftime or gettimeofday required. X3 build will fail." >&2;}
5835 { (exit 1); exit 1; }; }
5855 for ac_func
in freeaddrinfo getaddrinfo getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long sysconf
5857 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5858 echo "$as_me:$LINENO: checking for $ac_func" >&5
5859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5860 if eval "test \"\${$as_ac_var+set}\" = set"; then
5861 echo $ECHO_N "(cached) $ECHO_C" >&6
5863 cat >conftest.
$ac_ext <<_ACEOF
5866 cat confdefs.h
>>conftest.
$ac_ext
5867 cat >>conftest.
$ac_ext <<_ACEOF
5868 /* end confdefs.h. */
5869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5871 #define $ac_func innocuous_$ac_func
5873 /* System header to define __stub macros and hopefully few prototypes,
5874 which can conflict with char $ac_func (); below.
5875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5876 <limits.h> exists even on freestanding compilers. */
5879 # include <limits.h>
5881 # include <assert.h>
5886 /* Override any gcc2 internal prototype to avoid an error. */
5891 /* We use char because int might match the return type of a gcc2
5892 builtin and then its argument prototype would still apply. */
5894 /* The GNU C library defines this for functions which it implements
5895 to always fail with ENOSYS. Some functions are actually named
5896 something starting with __ and the normal name is an alias. */
5897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5900 char (*f) () = $ac_func;
5909 return f != $ac_func;
5914 rm -f conftest.
$ac_objext conftest
$ac_exeext
5915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5916 (eval $ac_link) 2>conftest.er1
5918 grep -v '^ *+' conftest.er1
>conftest.err
5920 cat conftest.err
>&5
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922 (exit $ac_status); } &&
5923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); }; } &&
5929 { ac_try
='test -s conftest$ac_exeext'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; }; then
5935 eval "$as_ac_var=yes"
5937 echo "$as_me: failed program was:" >&5
5938 sed 's/^/| /' conftest.
$ac_ext >&5
5940 eval "$as_ac_var=no"
5942 rm -f conftest.err conftest.
$ac_objext \
5943 conftest
$ac_exeext conftest.
$ac_ext
5945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5947 if test `eval echo '${'$as_ac_var'}'` = yes; then
5948 cat >>confdefs.h
<<_ACEOF
5949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5962 for ac_func
in select socket strcspn strspn strtod strtoul
5964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5965 echo "$as_me:$LINENO: checking for $ac_func" >&5
5966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5967 if eval "test \"\${$as_ac_var+set}\" = set"; then
5968 echo $ECHO_N "(cached) $ECHO_C" >&6
5970 cat >conftest.
$ac_ext <<_ACEOF
5973 cat confdefs.h
>>conftest.
$ac_ext
5974 cat >>conftest.
$ac_ext <<_ACEOF
5975 /* end confdefs.h. */
5976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5978 #define $ac_func innocuous_$ac_func
5980 /* System header to define __stub macros and hopefully few prototypes,
5981 which can conflict with char $ac_func (); below.
5982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5983 <limits.h> exists even on freestanding compilers. */
5986 # include <limits.h>
5988 # include <assert.h>
5993 /* Override any gcc2 internal prototype to avoid an error. */
5998 /* We use char because int might match the return type of a gcc2
5999 builtin and then its argument prototype would still apply. */
6001 /* The GNU C library defines this for functions which it implements
6002 to always fail with ENOSYS. Some functions are actually named
6003 something starting with __ and the normal name is an alias. */
6004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6007 char (*f) () = $ac_func;
6016 return f != $ac_func;
6021 rm -f conftest.
$ac_objext conftest
$ac_exeext
6022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6023 (eval $ac_link) 2>conftest.er1
6025 grep -v '^ *+' conftest.er1
>conftest.err
6027 cat conftest.err
>&5
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); } &&
6030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035 (exit $ac_status); }; } &&
6036 { ac_try
='test -s conftest$ac_exeext'
6037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); }; }; then
6042 eval "$as_ac_var=yes"
6044 echo "$as_me: failed program was:" >&5
6045 sed 's/^/| /' conftest.
$ac_ext >&5
6047 eval "$as_ac_var=no"
6049 rm -f conftest.err conftest.
$ac_objext \
6050 conftest
$ac_exeext conftest.
$ac_ext
6052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6054 if test `eval echo '${'$as_ac_var'}'` = yes; then
6055 cat >>confdefs.h
<<_ACEOF
6056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6060 { { echo "$as_me:$LINENO: error: a required function was not found. X3 build will fail." >&5
6061 echo "$as_me: error: a required function was not found. X3 build will fail." >&2;}
6062 { (exit 1); exit 1; }; }
6067 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6068 # for constant arguments. Useless!
6069 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6070 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6071 if test "${ac_cv_working_alloca_h+set}" = set; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
6074 cat >conftest.
$ac_ext <<_ACEOF
6077 cat confdefs.h
>>conftest.
$ac_ext
6078 cat >>conftest.
$ac_ext <<_ACEOF
6079 /* end confdefs.h. */
6084 char *p = (char *) alloca (2 * sizeof (int));
6089 rm -f conftest.
$ac_objext conftest
$ac_exeext
6090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6091 (eval $ac_link) 2>conftest.er1
6093 grep -v '^ *+' conftest.er1
>conftest.err
6095 cat conftest.err
>&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); } &&
6098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; } &&
6104 { ac_try
='test -s conftest$ac_exeext'
6105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; }; then
6110 ac_cv_working_alloca_h
=yes
6112 echo "$as_me: failed program was:" >&5
6113 sed 's/^/| /' conftest.
$ac_ext >&5
6115 ac_cv_working_alloca_h
=no
6117 rm -f conftest.err conftest.
$ac_objext \
6118 conftest
$ac_exeext conftest.
$ac_ext
6120 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6121 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6122 if test $ac_cv_working_alloca_h = yes; then
6124 cat >>confdefs.h
<<\_ACEOF
6125 #define HAVE_ALLOCA_H 1
6130 echo "$as_me:$LINENO: checking for alloca" >&5
6131 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6132 if test "${ac_cv_func_alloca_works+set}" = set; then
6133 echo $ECHO_N "(cached) $ECHO_C" >&6
6135 cat >conftest.
$ac_ext <<_ACEOF
6138 cat confdefs.h
>>conftest.
$ac_ext
6139 cat >>conftest.
$ac_ext <<_ACEOF
6140 /* end confdefs.h. */
6142 # define alloca __builtin_alloca
6145 # include <malloc.h>
6146 # define alloca _alloca
6149 # include <alloca.h>
6154 # ifndef alloca /* predefined by HP cc +Olibcalls */
6165 char *p = (char *) alloca (1);
6170 rm -f conftest.
$ac_objext conftest
$ac_exeext
6171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6172 (eval $ac_link) 2>conftest.er1
6174 grep -v '^ *+' conftest.er1
>conftest.err
6176 cat conftest.err
>&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); } &&
6179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); }; } &&
6185 { ac_try
='test -s conftest$ac_exeext'
6186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); }; }; then
6191 ac_cv_func_alloca_works
=yes
6193 echo "$as_me: failed program was:" >&5
6194 sed 's/^/| /' conftest.
$ac_ext >&5
6196 ac_cv_func_alloca_works
=no
6198 rm -f conftest.err conftest.
$ac_objext \
6199 conftest
$ac_exeext conftest.
$ac_ext
6201 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6202 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6204 if test $ac_cv_func_alloca_works = yes; then
6206 cat >>confdefs.h
<<\_ACEOF
6207 #define HAVE_ALLOCA 1
6211 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6212 # that cause trouble. Some versions do not even contain alloca or
6213 # contain a buggy version. If you still want to use their alloca,
6214 # use ar to extract alloca.o from them instead of compiling alloca.c.
6216 ALLOCA
=alloca.
$ac_objext
6218 cat >>confdefs.h
<<\_ACEOF
6223 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6224 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6225 if test "${ac_cv_os_cray+set}" = set; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6
6228 cat >conftest.
$ac_ext <<_ACEOF
6231 cat confdefs.h
>>conftest.
$ac_ext
6232 cat >>conftest.
$ac_ext <<_ACEOF
6233 /* end confdefs.h. */
6234 #if defined(CRAY) && ! defined(CRAY2)
6241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6242 $EGREP "webecray" >/dev
/null
2>&1; then
6250 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6251 echo "${ECHO_T}$ac_cv_os_cray" >&6
6252 if test $ac_cv_os_cray = yes; then
6253 for ac_func
in _getb67 GETB67 getb67
; do
6254 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6255 echo "$as_me:$LINENO: checking for $ac_func" >&5
6256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6257 if eval "test \"\${$as_ac_var+set}\" = set"; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 cat >conftest.
$ac_ext <<_ACEOF
6263 cat confdefs.h
>>conftest.
$ac_ext
6264 cat >>conftest.
$ac_ext <<_ACEOF
6265 /* end confdefs.h. */
6266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6268 #define $ac_func innocuous_$ac_func
6270 /* System header to define __stub macros and hopefully few prototypes,
6271 which can conflict with char $ac_func (); below.
6272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6273 <limits.h> exists even on freestanding compilers. */
6276 # include <limits.h>
6278 # include <assert.h>
6283 /* Override any gcc2 internal prototype to avoid an error. */
6288 /* We use char because int might match the return type of a gcc2
6289 builtin and then its argument prototype would still apply. */
6291 /* The GNU C library defines this for functions which it implements
6292 to always fail with ENOSYS. Some functions are actually named
6293 something starting with __ and the normal name is an alias. */
6294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6297 char (*f) () = $ac_func;
6306 return f != $ac_func;
6311 rm -f conftest.
$ac_objext conftest
$ac_exeext
6312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6313 (eval $ac_link) 2>conftest.er1
6315 grep -v '^ *+' conftest.er1
>conftest.err
6317 cat conftest.err
>&5
6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319 (exit $ac_status); } &&
6320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); }; } &&
6326 { ac_try
='test -s conftest$ac_exeext'
6327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); }; }; then
6332 eval "$as_ac_var=yes"
6334 echo "$as_me: failed program was:" >&5
6335 sed 's/^/| /' conftest.
$ac_ext >&5
6337 eval "$as_ac_var=no"
6339 rm -f conftest.err conftest.
$ac_objext \
6340 conftest
$ac_exeext conftest.
$ac_ext
6342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6344 if test `eval echo '${'$as_ac_var'}'` = yes; then
6346 cat >>confdefs.h
<<_ACEOF
6347 #define CRAY_STACKSEG_END $ac_func
6356 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6357 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6358 if test "${ac_cv_c_stack_direction+set}" = set; then
6359 echo $ECHO_N "(cached) $ECHO_C" >&6
6361 if test "$cross_compiling" = yes; then
6362 ac_cv_c_stack_direction
=0
6364 cat >conftest.
$ac_ext <<_ACEOF
6367 cat confdefs.h
>>conftest.
$ac_ext
6368 cat >>conftest.
$ac_ext <<_ACEOF
6369 /* end confdefs.h. */
6371 find_stack_direction ()
6373 static char *addr = 0;
6378 return find_stack_direction ();
6381 return (&dummy > addr) ? 1 : -1;
6387 exit (find_stack_direction () < 0);
6390 rm -f conftest
$ac_exeext
6391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6392 (eval $ac_link) 2>&5
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; }; then
6401 ac_cv_c_stack_direction
=1
6403 echo "$as_me: program exited with status $ac_status" >&5
6404 echo "$as_me: failed program was:" >&5
6405 sed 's/^/| /' conftest.
$ac_ext >&5
6408 ac_cv_c_stack_direction
=-1
6410 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6413 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6414 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6416 cat >>confdefs.h
<<_ACEOF
6417 #define STACK_DIRECTION $ac_cv_c_stack_direction
6425 for ac_header
in stdlib.h unistd.h
6427 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6429 echo "$as_me:$LINENO: checking for $ac_header" >&5
6430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6432 echo $ECHO_N "(cached) $ECHO_C" >&6
6434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6437 # Is the header compilable?
6438 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6439 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6440 cat >conftest.
$ac_ext <<_ACEOF
6443 cat confdefs.h
>>conftest.
$ac_ext
6444 cat >>conftest.
$ac_ext <<_ACEOF
6445 /* end confdefs.h. */
6446 $ac_includes_default
6447 #include <$ac_header>
6449 rm -f conftest.
$ac_objext
6450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6451 (eval $ac_compile) 2>conftest.er1
6453 grep -v '^ *+' conftest.er1
>conftest.err
6455 cat conftest.err
>&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } &&
6458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }; } &&
6464 { ac_try
='test -s conftest.$ac_objext'
6465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); }; }; then
6470 ac_header_compiler
=yes
6472 echo "$as_me: failed program was:" >&5
6473 sed 's/^/| /' conftest.
$ac_ext >&5
6475 ac_header_compiler
=no
6477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6479 echo "${ECHO_T}$ac_header_compiler" >&6
6481 # Is the header present?
6482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6484 cat >conftest.
$ac_ext <<_ACEOF
6487 cat confdefs.h
>>conftest.
$ac_ext
6488 cat >>conftest.
$ac_ext <<_ACEOF
6489 /* end confdefs.h. */
6490 #include <$ac_header>
6492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6493 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6495 grep -v '^ *+' conftest.er1
>conftest.err
6497 cat conftest.err
>&5
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); } >/dev
/null
; then
6500 if test -s conftest.err
; then
6501 ac_cpp_err
=$ac_c_preproc_warn_flag
6502 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6509 if test -z "$ac_cpp_err"; then
6510 ac_header_preproc
=yes
6512 echo "$as_me: failed program was:" >&5
6513 sed 's/^/| /' conftest.
$ac_ext >&5
6515 ac_header_preproc
=no
6517 rm -f conftest.err conftest.
$ac_ext
6518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6519 echo "${ECHO_T}$ac_header_preproc" >&6
6521 # So? What about this header?
6522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6528 ac_header_preproc
=yes
6531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6545 ## -------------------------------------------------- ##
6546 ## Report this to evilnet-devel@lists.sourceforge.net ##
6547 ## -------------------------------------------------- ##
6550 sed "s/^/$as_me: WARNING: /" >&2
6553 echo "$as_me:$LINENO: checking for $ac_header" >&5
6554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6556 echo $ECHO_N "(cached) $ECHO_C" >&6
6558 eval "$as_ac_Header=\$ac_header_preproc"
6560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6565 cat >>confdefs.h
<<_ACEOF
6566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6574 for ac_func
in getpagesize
6576 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6577 echo "$as_me:$LINENO: checking for $ac_func" >&5
6578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6579 if eval "test \"\${$as_ac_var+set}\" = set"; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 cat >conftest.
$ac_ext <<_ACEOF
6585 cat confdefs.h
>>conftest.
$ac_ext
6586 cat >>conftest.
$ac_ext <<_ACEOF
6587 /* end confdefs.h. */
6588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6590 #define $ac_func innocuous_$ac_func
6592 /* System header to define __stub macros and hopefully few prototypes,
6593 which can conflict with char $ac_func (); below.
6594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6595 <limits.h> exists even on freestanding compilers. */
6598 # include <limits.h>
6600 # include <assert.h>
6605 /* Override any gcc2 internal prototype to avoid an error. */
6610 /* We use char because int might match the return type of a gcc2
6611 builtin and then its argument prototype would still apply. */
6613 /* The GNU C library defines this for functions which it implements
6614 to always fail with ENOSYS. Some functions are actually named
6615 something starting with __ and the normal name is an alias. */
6616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6619 char (*f) () = $ac_func;
6628 return f != $ac_func;
6633 rm -f conftest.
$ac_objext conftest
$ac_exeext
6634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6635 (eval $ac_link) 2>conftest.er1
6637 grep -v '^ *+' conftest.er1
>conftest.err
6639 cat conftest.err
>&5
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); } &&
6642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); }; } &&
6648 { ac_try
='test -s conftest$ac_exeext'
6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; }; then
6654 eval "$as_ac_var=yes"
6656 echo "$as_me: failed program was:" >&5
6657 sed 's/^/| /' conftest.
$ac_ext >&5
6659 eval "$as_ac_var=no"
6661 rm -f conftest.err conftest.
$ac_objext \
6662 conftest
$ac_exeext conftest.
$ac_ext
6664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6666 if test `eval echo '${'$as_ac_var'}'` = yes; then
6667 cat >>confdefs.h
<<_ACEOF
6668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6674 echo "$as_me:$LINENO: checking for working mmap" >&5
6675 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6676 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6677 echo $ECHO_N "(cached) $ECHO_C" >&6
6679 if test "$cross_compiling" = yes; then
6680 ac_cv_func_mmap_fixed_mapped
=no
6682 cat >conftest.
$ac_ext <<_ACEOF
6685 cat confdefs.h
>>conftest.
$ac_ext
6686 cat >>conftest.
$ac_ext <<_ACEOF
6687 /* end confdefs.h. */
6688 $ac_includes_default
6689 /* malloc might have been renamed as rpl_malloc. */
6692 /* Thanks to Mike Haertel and Jim Avera for this test.
6693 Here is a matrix of mmap possibilities:
6694 mmap private not fixed
6695 mmap private fixed at somewhere currently unmapped
6696 mmap private fixed at somewhere already mapped
6697 mmap shared not fixed
6698 mmap shared fixed at somewhere currently unmapped
6699 mmap shared fixed at somewhere already mapped
6700 For private mappings, we should verify that changes cannot be read()
6701 back from the file, nor mmap's back from the file at a different
6702 address. (There have been systems where private was not correctly
6703 implemented like the infamous i386 svr4.0, and systems where the
6704 VM page cache was not coherent with the file system buffer cache
6705 like early versions of FreeBSD and possibly contemporary NetBSD.)
6706 For shared mappings, we should conversely verify that changes get
6707 propagated back to all the places they're supposed to be.
6709 Grep wants private fixed already mapped.
6710 The main things grep needs to know about mmap are:
6711 * does it exist and is it safe to write into the mmap'd area
6712 * how to use it (BSD variants) */
6715 #include <sys/mman.h>
6717 #if !STDC_HEADERS && !HAVE_STDLIB_H
6721 /* This mess was copied from the GNU getpagesize.h. */
6722 #if !HAVE_GETPAGESIZE
6723 /* Assume that all systems that can run configure have sys/param.h. */
6724 # if !HAVE_SYS_PARAM_H
6725 # define HAVE_SYS_PARAM_H 1
6728 # ifdef _SC_PAGESIZE
6729 # define getpagesize() sysconf(_SC_PAGESIZE)
6730 # else /* no _SC_PAGESIZE */
6731 # if HAVE_SYS_PARAM_H
6732 # include <sys/param.h>
6733 # ifdef EXEC_PAGESIZE
6734 # define getpagesize() EXEC_PAGESIZE
6735 # else /* no EXEC_PAGESIZE */
6737 # define getpagesize() NBPG * CLSIZE
6740 # endif /* no CLSIZE */
6741 # else /* no NBPG */
6743 # define getpagesize() NBPC
6744 # else /* no NBPC */
6746 # define getpagesize() PAGESIZE
6747 # endif /* PAGESIZE */
6748 # endif /* no NBPC */
6749 # endif /* no NBPG */
6750 # endif /* no EXEC_PAGESIZE */
6751 # else /* no HAVE_SYS_PARAM_H */
6752 # define getpagesize() 8192 /* punt totally */
6753 # endif /* no HAVE_SYS_PARAM_H */
6754 # endif /* no _SC_PAGESIZE */
6756 #endif /* no HAVE_GETPAGESIZE */
6761 char *data, *data2, *data3;
6765 pagesize = getpagesize ();
6767 /* First, make a file with some known garbage in it. */
6768 data = (char *) malloc (pagesize);
6771 for (i = 0; i < pagesize; ++i)
6772 *(data + i) = rand ();
6774 fd = creat ("conftest.mmap", 0600);
6777 if (write (fd, data, pagesize) != pagesize)
6781 /* Next, try to mmap the file at a fixed address which already has
6782 something else allocated at it. If we can, also make sure that
6783 we see the same garbage. */
6784 fd = open ("conftest.mmap", O_RDWR);
6787 data2 = (char *) malloc (2 * pagesize);
6790 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6791 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6792 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6794 for (i = 0; i < pagesize; ++i)
6795 if (*(data + i) != *(data2 + i))
6798 /* Finally, make sure that changes to the mapped area do not
6799 percolate back to the file as seen by read(). (This is a bug on
6800 some variants of i386 svr4.0.) */
6801 for (i = 0; i < pagesize; ++i)
6802 *(data2 + i) = *(data2 + i) + 1;
6803 data3 = (char *) malloc (pagesize);
6806 if (read (fd, data3, pagesize) != pagesize)
6808 for (i = 0; i < pagesize; ++i)
6809 if (*(data + i) != *(data3 + i))
6815 rm -f conftest
$ac_exeext
6816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6817 (eval $ac_link) 2>&5
6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; }; then
6826 ac_cv_func_mmap_fixed_mapped
=yes
6828 echo "$as_me: program exited with status $ac_status" >&5
6829 echo "$as_me: failed program was:" >&5
6830 sed 's/^/| /' conftest.
$ac_ext >&5
6833 ac_cv_func_mmap_fixed_mapped
=no
6835 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6838 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6839 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6840 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6842 cat >>confdefs.h
<<\_ACEOF
6850 echo "$as_me:$LINENO: checking for sin_len" >&5
6851 echo $ECHO_N "checking for sin_len... $ECHO_C" >&6
6852 if test "${ac_cv_sin_len+set}" = set; then
6853 echo $ECHO_N "(cached) $ECHO_C" >&6
6855 cat >conftest.
$ac_ext <<_ACEOF
6858 cat confdefs.h
>>conftest.
$ac_ext
6859 cat >>conftest.
$ac_ext <<_ACEOF
6860 /* end confdefs.h. */
6861 #include <sys/types.h>
6862 #include <netinet/in.h>
6866 struct sockaddr_in *sin; sin->sin_len = 0;
6871 rm -f conftest.
$ac_objext
6872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6873 (eval $ac_compile) 2>conftest.er1
6875 grep -v '^ *+' conftest.er1
>conftest.err
6877 cat conftest.err
>&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); } &&
6880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); }; } &&
6886 { ac_try
='test -s conftest.$ac_objext'
6887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); }; }; then
6894 echo "$as_me: failed program was:" >&5
6895 sed 's/^/| /' conftest.
$ac_ext >&5
6899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6901 echo "$as_me:$LINENO: result: $ac_cv_sin_len" >&5
6902 echo "${ECHO_T}$ac_cv_sin_len" >&6
6903 if test $ac_cv_sin_len = yes ; then
6905 cat >>confdefs.h
<<\_ACEOF
6906 #define HAVE_SIN_LEN 1
6911 echo "$as_me:$LINENO: checking for socklen_t" >&5
6912 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
6913 if test "${ac_cv_type_socklen_t+set}" = set; then
6914 echo $ECHO_N "(cached) $ECHO_C" >&6
6916 cat >conftest.
$ac_ext <<_ACEOF
6919 cat confdefs.h
>>conftest.
$ac_ext
6920 cat >>conftest.
$ac_ext <<_ACEOF
6921 /* end confdefs.h. */
6922 #include <sys/types.h>
6923 #include<sys/socket.h>
6928 if ((socklen_t *) 0)
6930 if (sizeof (socklen_t))
6936 rm -f conftest.
$ac_objext
6937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6938 (eval $ac_compile) 2>conftest.er1
6940 grep -v '^ *+' conftest.er1
>conftest.err
6942 cat conftest.err
>&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); } &&
6945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); }; } &&
6951 { ac_try
='test -s conftest.$ac_objext'
6952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); }; }; then
6957 ac_cv_type_socklen_t
=yes
6959 echo "$as_me: failed program was:" >&5
6960 sed 's/^/| /' conftest.
$ac_ext >&5
6962 ac_cv_type_socklen_t
=no
6964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6966 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
6967 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
6968 if test $ac_cv_type_socklen_t = yes; then
6972 echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
6973 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
6974 if test "${curl_cv_socklen_t_equiv+set}" = set; then
6975 echo $ECHO_N "(cached) $ECHO_C" >&6
6978 curl_cv_socklen_t_equiv
=
6979 for arg2
in "struct sockaddr" void
; do
6980 for t
in int size_t unsigned long
"unsigned long" ; do
6981 cat >conftest.
$ac_ext <<_ACEOF
6984 cat confdefs.h
>>conftest.
$ac_ext
6985 cat >>conftest.
$ac_ext <<_ACEOF
6986 /* end confdefs.h. */
6987 #include <sys/types.h>
6988 #include <sys/socket.h>
6989 int getpeername (int $arg2 *, $t *);
6994 getpeername(0, 0, &len);
6999 rm -f conftest.
$ac_objext
7000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7001 (eval $ac_compile) 2>conftest.er1
7003 grep -v '^ *+' conftest.er1
>conftest.err
7005 cat conftest.err
>&5
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); } &&
7008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); }; } &&
7014 { ac_try
='test -s conftest.$ac_objext'
7015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); }; }; then
7020 curl_cv_socklen_t_equiv
="$t"
7023 echo "$as_me: failed program was:" >&5
7024 sed 's/^/| /' conftest.
$ac_ext >&5
7027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7033 echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
7034 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
7036 cat >>confdefs.h
<<_ACEOF
7037 #define socklen_t $curl_cv_socklen_t_equiv
7044 CFLAGS
="$CFLAGS -W -Wall -Werror"
7046 echo "$as_me:$LINENO: checking for time_t format" >&5
7047 echo $ECHO_N "checking for time_t format... $ECHO_C" >&6
7048 if test "${ac_cv_fmt_time_t+set}" = set; then
7049 echo $ECHO_N "(cached) $ECHO_C" >&6
7053 cat >conftest.
$ac_ext <<_ACEOF
7054 #include <sys/types.h>
7058 printf("%li", test);
7061 rm -f conftest.
$ac_objext
7062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7063 (eval $ac_compile) 2>conftest.er1
7065 grep -v '^ *+' conftest.er1
>conftest.err
7067 cat conftest.err
>&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); } &&
7070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; } &&
7076 { ac_try
='test -s conftest.$ac_objext'
7077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }; }; then
7082 ac_cv_fmt_time_t
="\"%li\""
7084 echo "$as_me: failed program was:" >&5
7085 sed 's/^/| /' conftest.
$ac_ext >&5
7088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7089 if test $ac_cv_fmt_time_t = no
; then
7090 cat >conftest.
$ac_ext <<_ACEOF
7091 #include <sys/types.h>
7098 rm -f conftest.
$ac_objext
7099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7100 (eval $ac_compile) 2>conftest.er1
7102 grep -v '^ *+' conftest.er1
>conftest.err
7104 cat conftest.err
>&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); } &&
7107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); }; } &&
7113 { ac_try
='test -s conftest.$ac_objext'
7114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118 (exit $ac_status); }; }; then
7119 ac_cv_fmt_time_t
="\"%i\""
7121 echo "$as_me: failed program was:" >&5
7122 sed 's/^/| /' conftest.
$ac_ext >&5
7125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7127 if test $ac_cv_fmt_time_t = no
; then
7128 { { echo "$as_me:$LINENO: error: Cannot detect format string for time_t
7129 Please check sys/types.h for the typedef of time_t and submit to a developer" >&5
7130 echo "$as_me: error: Cannot detect format string for time_t
7131 Please check sys/types.h for the typedef of time_t and submit to a developer" >&2;}
7132 { (exit 1); exit 1; }; }
7138 cat >>confdefs.h
<<_ACEOF
7139 #define FMT_TIME_T $ac_cv_fmt_time_t
7142 echo "$as_me:$LINENO: result: $ac_cv_fmt_time_t" >&5
7143 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6
7145 echo "$as_me:$LINENO: checking for va_copy" >&5
7146 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
7147 if test "${ac_cv_c_va_copy+set}" = set; then
7148 echo $ECHO_N "(cached) $ECHO_C" >&6
7150 cat >conftest.
$ac_ext <<_ACEOF
7153 cat confdefs.h
>>conftest.
$ac_ext
7154 cat >>conftest.
$ac_ext <<_ACEOF
7155 /* end confdefs.h. */
7160 va_list ap1, ap2; va_copy(ap1, ap2);
7165 rm -f conftest.
$ac_objext conftest
$ac_exeext
7166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7167 (eval $ac_link) 2>conftest.er1
7169 grep -v '^ *+' conftest.er1
>conftest.err
7171 cat conftest.err
>&5
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); } &&
7174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179 (exit $ac_status); }; } &&
7180 { ac_try
='test -s conftest$ac_exeext'
7181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); }; }; then
7186 ac_cv_c_va_copy
="yes"
7188 echo "$as_me: failed program was:" >&5
7189 sed 's/^/| /' conftest.
$ac_ext >&5
7191 ac_cv_c_va_copy
="no"
7194 rm -f conftest.err conftest.
$ac_objext \
7195 conftest
$ac_exeext conftest.
$ac_ext
7197 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
7198 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
7199 if test "$ac_cv_c_va_copy" = "yes" ; then
7201 cat >>confdefs.h
<<\_ACEOF
7202 #define HAVE_VA_COPY 1
7207 echo "$as_me:$LINENO: checking for __va_copy" >&5
7208 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
7209 if test "${ac_cv_c___va_copy+set}" = set; then
7210 echo $ECHO_N "(cached) $ECHO_C" >&6
7212 cat >conftest.
$ac_ext <<_ACEOF
7215 cat confdefs.h
>>conftest.
$ac_ext
7216 cat >>conftest.
$ac_ext <<_ACEOF
7217 /* end confdefs.h. */
7222 va_list ap1, ap2; __va_copy(ap1, ap2);
7227 rm -f conftest.
$ac_objext conftest
$ac_exeext
7228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7229 (eval $ac_link) 2>conftest.er1
7231 grep -v '^ *+' conftest.er1
>conftest.err
7233 cat conftest.err
>&5
7234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7235 (exit $ac_status); } &&
7236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); }; } &&
7242 { ac_try
='test -s conftest$ac_exeext'
7243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); }; }; then
7248 ac_cv_c___va_copy
="yes"
7250 echo "$as_me: failed program was:" >&5
7251 sed 's/^/| /' conftest.
$ac_ext >&5
7253 ac_cv_c___va_copy
="no"
7256 rm -f conftest.err conftest.
$ac_objext \
7257 conftest
$ac_exeext conftest.
$ac_ext
7259 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
7260 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
7261 if test "$ac_cv_c___va_copy" = "yes" ; then
7263 cat >>confdefs.h
<<\_ACEOF
7264 #define HAVE___VA_COPY 1
7271 echo "$as_me:$LINENO: checking which malloc to use" >&5
7272 echo $ECHO_N "checking which malloc to use... $ECHO_C" >&6
7274 # Check whether --with-malloc or --without-malloc was given.
7275 if test "${with_malloc+set}" = set; then
7276 withval
="$with_malloc"
7281 if test "x$withval" = "xsystem" ; then
7282 echo "$as_me:$LINENO: result: system" >&5
7283 echo "${ECHO_T}system" >&6
7285 cat >>confdefs.h
<<\_ACEOF
7286 #define WITH_MALLOC_SYSTEM 1
7290 elif test "x$withval" = "xdmalloc" ; then
7291 echo "$as_me:$LINENO: result: dmalloc" >&5
7292 echo "${ECHO_T}dmalloc" >&6
7294 for ac_header
in dmalloc.h
7296 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7298 echo "$as_me:$LINENO: checking for $ac_header" >&5
7299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6
7303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7306 # Is the header compilable?
7307 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7308 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7309 cat >conftest.
$ac_ext <<_ACEOF
7312 cat confdefs.h
>>conftest.
$ac_ext
7313 cat >>conftest.
$ac_ext <<_ACEOF
7314 /* end confdefs.h. */
7315 $ac_includes_default
7316 #include <$ac_header>
7318 rm -f conftest.
$ac_objext
7319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7320 (eval $ac_compile) 2>conftest.er1
7322 grep -v '^ *+' conftest.er1
>conftest.err
7324 cat conftest.err
>&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); } &&
7327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); }; } &&
7333 { ac_try
='test -s conftest.$ac_objext'
7334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); }; }; then
7339 ac_header_compiler
=yes
7341 echo "$as_me: failed program was:" >&5
7342 sed 's/^/| /' conftest.
$ac_ext >&5
7344 ac_header_compiler
=no
7346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7348 echo "${ECHO_T}$ac_header_compiler" >&6
7350 # Is the header present?
7351 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7352 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7353 cat >conftest.
$ac_ext <<_ACEOF
7356 cat confdefs.h
>>conftest.
$ac_ext
7357 cat >>conftest.
$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7359 #include <$ac_header>
7361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7362 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7364 grep -v '^ *+' conftest.er1
>conftest.err
7366 cat conftest.err
>&5
7367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); } >/dev
/null
; then
7369 if test -s conftest.err
; then
7370 ac_cpp_err
=$ac_c_preproc_warn_flag
7371 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7378 if test -z "$ac_cpp_err"; then
7379 ac_header_preproc
=yes
7381 echo "$as_me: failed program was:" >&5
7382 sed 's/^/| /' conftest.
$ac_ext >&5
7384 ac_header_preproc
=no
7386 rm -f conftest.err conftest.
$ac_ext
7387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7388 echo "${ECHO_T}$ac_header_preproc" >&6
7390 # So? What about this header?
7391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7393 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7394 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7396 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7397 ac_header_preproc
=yes
7400 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7401 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7402 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7403 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7404 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7405 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7406 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7407 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7409 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7410 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7411 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7414 ## -------------------------------------------------- ##
7415 ## Report this to evilnet-devel@lists.sourceforge.net ##
7416 ## -------------------------------------------------- ##
7419 sed "s/^/$as_me: WARNING: /" >&2
7422 echo "$as_me:$LINENO: checking for $ac_header" >&5
7423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7425 echo $ECHO_N "(cached) $ECHO_C" >&6
7427 eval "$as_ac_Header=\$ac_header_preproc"
7429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7434 cat >>confdefs.h
<<_ACEOF
7435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7439 { { echo "$as_me:$LINENO: error: dmalloc header file missing. dmalloc build will fail." >&5
7440 echo "$as_me: error: dmalloc header file missing. dmalloc build will fail." >&2;}
7441 { (exit 1); exit 1; }; }
7447 echo "$as_me:$LINENO: checking for malloc in -ldmalloc" >&5
7448 echo $ECHO_N "checking for malloc in -ldmalloc... $ECHO_C" >&6
7449 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
7450 echo $ECHO_N "(cached) $ECHO_C" >&6
7452 ac_check_lib_save_LIBS
=$LIBS
7453 LIBS
="-ldmalloc $LIBS"
7454 cat >conftest.
$ac_ext <<_ACEOF
7457 cat confdefs.h
>>conftest.
$ac_ext
7458 cat >>conftest.
$ac_ext <<_ACEOF
7459 /* end confdefs.h. */
7461 /* Override any gcc2 internal prototype to avoid an error. */
7465 /* We use char because int might match the return type of a gcc2
7466 builtin and then its argument prototype would still apply. */
7476 rm -f conftest.
$ac_objext conftest
$ac_exeext
7477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7478 (eval $ac_link) 2>conftest.er1
7480 grep -v '^ *+' conftest.er1
>conftest.err
7482 cat conftest.err
>&5
7483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484 (exit $ac_status); } &&
7485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 (exit $ac_status); }; } &&
7491 { ac_try
='test -s conftest$ac_exeext'
7492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7496 (exit $ac_status); }; }; then
7497 ac_cv_lib_dmalloc_malloc
=yes
7499 echo "$as_me: failed program was:" >&5
7500 sed 's/^/| /' conftest.
$ac_ext >&5
7502 ac_cv_lib_dmalloc_malloc
=no
7504 rm -f conftest.err conftest.
$ac_objext \
7505 conftest
$ac_exeext conftest.
$ac_ext
7506 LIBS
=$ac_check_lib_save_LIBS
7508 echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_malloc" >&5
7509 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6
7510 if test $ac_cv_lib_dmalloc_malloc = yes; then
7511 cat >>confdefs.h
<<_ACEOF
7512 #define HAVE_LIBDMALLOC 1
7515 LIBS
="-ldmalloc $LIBS"
7518 { { echo "$as_me:$LINENO: error: dmalloc library is missing. dmalloc build will fail." >&5
7519 echo "$as_me: error: dmalloc library is missing. dmalloc build will fail." >&2;}
7520 { (exit 1); exit 1; }; }
7524 cat >>confdefs.h
<<\_ACEOF
7525 #define WITH_MALLOC_DMALLOC 1
7529 elif test "x$withval" = "xmpatrol" ; then
7530 echo "$as_me:$LINENO: result: mpatrol" >&5
7531 echo "${ECHO_T}mpatrol" >&6
7533 for ac_header
in mpatrol.h
7535 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7537 echo "$as_me:$LINENO: checking for $ac_header" >&5
7538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7540 echo $ECHO_N "(cached) $ECHO_C" >&6
7542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7545 # Is the header compilable?
7546 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7548 cat >conftest.
$ac_ext <<_ACEOF
7551 cat confdefs.h
>>conftest.
$ac_ext
7552 cat >>conftest.
$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 $ac_includes_default
7555 #include <$ac_header>
7557 rm -f conftest.
$ac_objext
7558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7559 (eval $ac_compile) 2>conftest.er1
7561 grep -v '^ *+' conftest.er1
>conftest.err
7563 cat conftest.err
>&5
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); } &&
7566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); }; } &&
7572 { ac_try
='test -s conftest.$ac_objext'
7573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); }; }; then
7578 ac_header_compiler
=yes
7580 echo "$as_me: failed program was:" >&5
7581 sed 's/^/| /' conftest.
$ac_ext >&5
7583 ac_header_compiler
=no
7585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7587 echo "${ECHO_T}$ac_header_compiler" >&6
7589 # Is the header present?
7590 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7591 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7592 cat >conftest.
$ac_ext <<_ACEOF
7595 cat confdefs.h
>>conftest.
$ac_ext
7596 cat >>conftest.
$ac_ext <<_ACEOF
7597 /* end confdefs.h. */
7598 #include <$ac_header>
7600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7601 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7603 grep -v '^ *+' conftest.er1
>conftest.err
7605 cat conftest.err
>&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); } >/dev
/null
; then
7608 if test -s conftest.err
; then
7609 ac_cpp_err
=$ac_c_preproc_warn_flag
7610 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7617 if test -z "$ac_cpp_err"; then
7618 ac_header_preproc
=yes
7620 echo "$as_me: failed program was:" >&5
7621 sed 's/^/| /' conftest.
$ac_ext >&5
7623 ac_header_preproc
=no
7625 rm -f conftest.err conftest.
$ac_ext
7626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7627 echo "${ECHO_T}$ac_header_preproc" >&6
7629 # So? What about this header?
7630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7632 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7633 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7635 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7636 ac_header_preproc
=yes
7639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7640 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7642 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7643 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7644 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7645 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7646 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7649 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7650 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7653 ## -------------------------------------------------- ##
7654 ## Report this to evilnet-devel@lists.sourceforge.net ##
7655 ## -------------------------------------------------- ##
7658 sed "s/^/$as_me: WARNING: /" >&2
7661 echo "$as_me:$LINENO: checking for $ac_header" >&5
7662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7664 echo $ECHO_N "(cached) $ECHO_C" >&6
7666 eval "$as_ac_Header=\$ac_header_preproc"
7668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7673 cat >>confdefs.h
<<_ACEOF
7674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7678 { { echo "$as_me:$LINENO: error: mpatrol header file missing. mpatrol build will fail." >&5
7679 echo "$as_me: error: mpatrol header file missing. mpatrol build will fail." >&2;}
7680 { (exit 1); exit 1; }; }
7686 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
7687 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
7688 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 ac_check_lib_save_LIBS
=$LIBS
7693 cat >conftest.
$ac_ext <<_ACEOF
7696 cat confdefs.h
>>conftest.
$ac_ext
7697 cat >>conftest.
$ac_ext <<_ACEOF
7698 /* end confdefs.h. */
7700 /* Override any gcc2 internal prototype to avoid an error. */
7704 /* We use char because int might match the return type of a gcc2
7705 builtin and then its argument prototype would still apply. */
7715 rm -f conftest.
$ac_objext conftest
$ac_exeext
7716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7717 (eval $ac_link) 2>conftest.er1
7719 grep -v '^ *+' conftest.er1
>conftest.err
7721 cat conftest.err
>&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } &&
7724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729 (exit $ac_status); }; } &&
7730 { ac_try
='test -s conftest$ac_exeext'
7731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7735 (exit $ac_status); }; }; then
7736 ac_cv_lib_elf_elf_begin
=yes
7738 echo "$as_me: failed program was:" >&5
7739 sed 's/^/| /' conftest.
$ac_ext >&5
7741 ac_cv_lib_elf_elf_begin
=no
7743 rm -f conftest.err conftest.
$ac_objext \
7744 conftest
$ac_exeext conftest.
$ac_ext
7745 LIBS
=$ac_check_lib_save_LIBS
7747 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
7748 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
7749 if test $ac_cv_lib_elf_elf_begin = yes; then
7750 cat >>confdefs.h
<<_ACEOF
7751 #define HAVE_LIBELF 1
7759 echo "$as_me:$LINENO: checking for __mp_atexit in -lmpatrol" >&5
7760 echo $ECHO_N "checking for __mp_atexit in -lmpatrol... $ECHO_C" >&6
7761 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
7762 echo $ECHO_N "(cached) $ECHO_C" >&6
7764 ac_check_lib_save_LIBS
=$LIBS
7765 LIBS
="-lmpatrol $LIBS"
7766 cat >conftest.
$ac_ext <<_ACEOF
7769 cat confdefs.h
>>conftest.
$ac_ext
7770 cat >>conftest.
$ac_ext <<_ACEOF
7771 /* end confdefs.h. */
7773 /* Override any gcc2 internal prototype to avoid an error. */
7777 /* We use char because int might match the return type of a gcc2
7778 builtin and then its argument prototype would still apply. */
7779 char __mp_atexit ();
7788 rm -f conftest.
$ac_objext conftest
$ac_exeext
7789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7790 (eval $ac_link) 2>conftest.er1
7792 grep -v '^ *+' conftest.er1
>conftest.err
7794 cat conftest.err
>&5
7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796 (exit $ac_status); } &&
7797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 (exit $ac_status); }; } &&
7803 { ac_try
='test -s conftest$ac_exeext'
7804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7808 (exit $ac_status); }; }; then
7809 ac_cv_lib_mpatrol___mp_atexit
=yes
7811 echo "$as_me: failed program was:" >&5
7812 sed 's/^/| /' conftest.
$ac_ext >&5
7814 ac_cv_lib_mpatrol___mp_atexit
=no
7816 rm -f conftest.err conftest.
$ac_objext \
7817 conftest
$ac_exeext conftest.
$ac_ext
7818 LIBS
=$ac_check_lib_save_LIBS
7820 echo "$as_me:$LINENO: result: $ac_cv_lib_mpatrol___mp_atexit" >&5
7821 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6
7822 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
7823 cat >>confdefs.h
<<_ACEOF
7824 #define HAVE_LIBMPATROL 1
7827 LIBS
="-lmpatrol $LIBS"
7830 { { echo "$as_me:$LINENO: error: mpatrol library is missing completely. mpatrol build will fail." >&5
7831 echo "$as_me: error: mpatrol library is missing completely. mpatrol build will fail." >&2;}
7832 { (exit 1); exit 1; }; }
7836 cat >>confdefs.h
<<\_ACEOF
7837 #define WITH_MALLOC_MPATROL 1
7841 elif test "x$withval" = "xboehm-gc" ; then
7842 echo "$as_me:$LINENO: result: boehm-gc" >&5
7843 echo "${ECHO_T}boehm-gc" >&6
7845 for ac_header
in gc
/gc.h
7847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7849 echo "$as_me:$LINENO: checking for $ac_header" >&5
7850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7852 echo $ECHO_N "(cached) $ECHO_C" >&6
7854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7857 # Is the header compilable?
7858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7860 cat >conftest.
$ac_ext <<_ACEOF
7863 cat confdefs.h
>>conftest.
$ac_ext
7864 cat >>conftest.
$ac_ext <<_ACEOF
7865 /* end confdefs.h. */
7866 $ac_includes_default
7867 #include <$ac_header>
7869 rm -f conftest.
$ac_objext
7870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7871 (eval $ac_compile) 2>conftest.er1
7873 grep -v '^ *+' conftest.er1
>conftest.err
7875 cat conftest.err
>&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); } &&
7878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); }; } &&
7884 { ac_try
='test -s conftest.$ac_objext'
7885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); }; }; then
7890 ac_header_compiler
=yes
7892 echo "$as_me: failed program was:" >&5
7893 sed 's/^/| /' conftest.
$ac_ext >&5
7895 ac_header_compiler
=no
7897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7899 echo "${ECHO_T}$ac_header_compiler" >&6
7901 # Is the header present?
7902 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7904 cat >conftest.
$ac_ext <<_ACEOF
7907 cat confdefs.h
>>conftest.
$ac_ext
7908 cat >>conftest.
$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7910 #include <$ac_header>
7912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7913 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7915 grep -v '^ *+' conftest.er1
>conftest.err
7917 cat conftest.err
>&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } >/dev
/null
; then
7920 if test -s conftest.err
; then
7921 ac_cpp_err
=$ac_c_preproc_warn_flag
7922 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7929 if test -z "$ac_cpp_err"; then
7930 ac_header_preproc
=yes
7932 echo "$as_me: failed program was:" >&5
7933 sed 's/^/| /' conftest.
$ac_ext >&5
7935 ac_header_preproc
=no
7937 rm -f conftest.err conftest.
$ac_ext
7938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7939 echo "${ECHO_T}$ac_header_preproc" >&6
7941 # So? What about this header?
7942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7948 ac_header_preproc
=yes
7951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7965 ## -------------------------------------------------- ##
7966 ## Report this to evilnet-devel@lists.sourceforge.net ##
7967 ## -------------------------------------------------- ##
7970 sed "s/^/$as_me: WARNING: /" >&2
7973 echo "$as_me:$LINENO: checking for $ac_header" >&5
7974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7976 echo $ECHO_N "(cached) $ECHO_C" >&6
7978 eval "$as_ac_Header=\$ac_header_preproc"
7980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7985 cat >>confdefs.h
<<_ACEOF
7986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7990 { { echo "$as_me:$LINENO: error: Boehm GC header file missing. boehm-gc build will fail." >&5
7991 echo "$as_me: error: Boehm GC header file missing. boehm-gc build will fail." >&2;}
7992 { (exit 1); exit 1; }; }
7998 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7999 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8000 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8001 echo $ECHO_N "(cached) $ECHO_C" >&6
8003 ac_check_lib_save_LIBS
=$LIBS
8005 cat >conftest.
$ac_ext <<_ACEOF
8008 cat confdefs.h
>>conftest.
$ac_ext
8009 cat >>conftest.
$ac_ext <<_ACEOF
8010 /* end confdefs.h. */
8012 /* Override any gcc2 internal prototype to avoid an error. */
8016 /* We use char because int might match the return type of a gcc2
8017 builtin and then its argument prototype would still apply. */
8027 rm -f conftest.
$ac_objext conftest
$ac_exeext
8028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8029 (eval $ac_link) 2>conftest.er1
8031 grep -v '^ *+' conftest.er1
>conftest.err
8033 cat conftest.err
>&5
8034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8035 (exit $ac_status); } &&
8036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8041 (exit $ac_status); }; } &&
8042 { ac_try
='test -s conftest$ac_exeext'
8043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047 (exit $ac_status); }; }; then
8048 ac_cv_lib_dl_dlopen
=yes
8050 echo "$as_me: failed program was:" >&5
8051 sed 's/^/| /' conftest.
$ac_ext >&5
8053 ac_cv_lib_dl_dlopen
=no
8055 rm -f conftest.err conftest.
$ac_objext \
8056 conftest
$ac_exeext conftest.
$ac_ext
8057 LIBS
=$ac_check_lib_save_LIBS
8059 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8060 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8061 if test $ac_cv_lib_dl_dlopen = yes; then
8062 cat >>confdefs.h
<<_ACEOF
8063 #define HAVE_LIBDL 1
8069 { { echo "$as_me:$LINENO: error: libdl library is missing. boehm-gc build will fail." >&5
8070 echo "$as_me: error: libdl library is missing. boehm-gc build will fail." >&2;}
8071 { (exit 1); exit 1; }; }
8075 echo "$as_me:$LINENO: checking for GC_gcollect in -lgc" >&5
8076 echo $ECHO_N "checking for GC_gcollect in -lgc... $ECHO_C" >&6
8077 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
8078 echo $ECHO_N "(cached) $ECHO_C" >&6
8080 ac_check_lib_save_LIBS
=$LIBS
8082 cat >conftest.
$ac_ext <<_ACEOF
8085 cat confdefs.h
>>conftest.
$ac_ext
8086 cat >>conftest.
$ac_ext <<_ACEOF
8087 /* end confdefs.h. */
8089 /* Override any gcc2 internal prototype to avoid an error. */
8093 /* We use char because int might match the return type of a gcc2
8094 builtin and then its argument prototype would still apply. */
8095 char GC_gcollect ();
8104 rm -f conftest.
$ac_objext conftest
$ac_exeext
8105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8106 (eval $ac_link) 2>conftest.er1
8108 grep -v '^ *+' conftest.er1
>conftest.err
8110 cat conftest.err
>&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); } &&
8113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8118 (exit $ac_status); }; } &&
8119 { ac_try
='test -s conftest$ac_exeext'
8120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8124 (exit $ac_status); }; }; then
8125 ac_cv_lib_gc_GC_gcollect
=yes
8127 echo "$as_me: failed program was:" >&5
8128 sed 's/^/| /' conftest.
$ac_ext >&5
8130 ac_cv_lib_gc_GC_gcollect
=no
8132 rm -f conftest.err conftest.
$ac_objext \
8133 conftest
$ac_exeext conftest.
$ac_ext
8134 LIBS
=$ac_check_lib_save_LIBS
8136 echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_gcollect" >&5
8137 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6
8138 if test $ac_cv_lib_gc_GC_gcollect = yes; then
8139 cat >>confdefs.h
<<_ACEOF
8140 #define HAVE_LIBGC 1
8146 { { echo "$as_me:$LINENO: error: Boehm GC library is missing. boehm-gc build will fail." >&5
8147 echo "$as_me: error: Boehm GC library is missing. boehm-gc build will fail." >&2;}
8148 { (exit 1); exit 1; }; }
8152 cat >>confdefs.h
<<\_ACEOF
8153 #define WITH_MALLOC_BOEHM_GC 1
8157 elif test "x$withval" = "xx3" ; then
8158 echo "$as_me:$LINENO: result: x3" >&5
8159 echo "${ECHO_T}x3" >&6
8161 cat >>confdefs.h
<<\_ACEOF
8162 #define WITH_MALLOC_X3 1
8165 MODULE_OBJS
="$MODULE_OBJS alloc-x3.\$(OBJEXT)"
8167 elif test "x$withval" = "xslab" ; then
8168 echo "$as_me:$LINENO: result: slab" >&5
8169 echo "${ECHO_T}slab" >&6
8171 cat >>confdefs.h
<<\_ACEOF
8172 #define WITH_MALLOC_SLAB 1
8175 MODULE_OBJS
="$MODULE_OBJS alloc-slab.\$(OBJEXT)"
8178 { { echo "$as_me:$LINENO: error: Unknown malloc type $withval" >&5
8179 echo "$as_me: error: Unknown malloc type $withval" >&2;}
8180 { (exit 1); exit 1; }; }
8183 echo "$as_me:$LINENO: checking which protocol to use" >&5
8184 echo $ECHO_N "checking which protocol to use... $ECHO_C" >&6
8186 # Check whether --with-protocol or --without-protocol was given.
8187 if test "${with_protocol+set}" = set; then
8188 withval
="$with_protocol"
8193 if test "x$withval" = "xp10" ; then
8194 echo "$as_me:$LINENO: result: P10" >&5
8195 echo "${ECHO_T}P10" >&6
8197 cat >>confdefs.h
<<\_ACEOF
8198 #define WITH_PROTOCOL_P10 1
8201 MODULE_OBJS
="$MODULE_OBJS proto-p10.\$(OBJEXT)"
8202 PROTO_FILES
=proto
-p10.c
8205 { { echo "$as_me:$LINENO: error: Unknown IRC dialect $withval" >&5
8206 echo "$as_me: error: Unknown IRC dialect $withval" >&2;}
8207 { (exit 1); exit 1; }; }
8211 # Check whether --with-getopt or --without-getopt was given.
8212 if test "${with_getopt+set}" = set; then
8213 withval
="$with_getopt"
8214 if test "$withval" = no
; then
8216 cat >>confdefs.h
<<\_ACEOF
8217 #define IGNORE_GETOPT 1
8223 echo "$as_me:$LINENO: checking whether to enable tokenization" >&5
8224 echo $ECHO_N "checking whether to enable tokenization... $ECHO_C" >&6
8225 # Check whether --enable-tokens or --disable-tokens was given.
8226 if test "${enable_tokens+set}" = set; then
8227 enableval
="$enable_tokens"
8232 if test "z$enableval" = zno
; then
8233 echo "$as_me:$LINENO: result: no" >&5
8234 echo "${ECHO_T}no" >&6
8237 cat >>confdefs.h
<<\_ACEOF
8238 #define ENABLE_TOKENS 1
8241 echo "$as_me:$LINENO: result: yes" >&5
8242 echo "${ECHO_T}yes" >&6
8245 echo "$as_me:$LINENO: checking whether to enable debug behaviors" >&5
8246 echo $ECHO_N "checking whether to enable debug behaviors... $ECHO_C" >&6
8247 # Check whether --enable-debug or --disable-debug was given.
8248 if test "${enable_debug+set}" = set; then
8249 enableval
="$enable_debug"
8251 CPPFLAGS
="$CPPFLAGS"
8252 echo "$as_me:$LINENO: result: yes" >&5
8253 echo "${ECHO_T}yes" >&6
8258 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
8259 echo "$as_me:$LINENO: result: no" >&5
8260 echo "${ECHO_T}no" >&6
8265 if test -e src
; then
8266 if test ! -d src
; then
8267 { { echo "$as_me:$LINENO: error: src exists but is not a directory; please move it out of the way." >&5
8268 echo "$as_me: error: src exists but is not a directory; please move it out of the way." >&2;}
8269 { (exit 1); exit 1; }; }
8274 echo "$as_me:$LINENO: checking for extra module files" >&5
8275 echo $ECHO_N "checking for extra module files... $ECHO_C" >&6
8276 MODULE_DEFINES
="src/modules-list.h"
8277 echo > $MODULE_DEFINES
8278 touch $MODULE_DEFINES
8279 # Check whether --enable-modules or --disable-modules was given.
8280 if test "${enable_modules+set}" = set; then
8281 enableval
="$enable_modules"
8285 EXTRA_MODULE_OBJS
=""
8287 for module
in $enableval ; do
8288 module
=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
8289 EXTRA_MODULE_OBJS
="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
8290 module_list
="$module_list $module"
8291 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
8292 if test "x$module" = "xtrack" ; then
8293 TRACK
="-D HAVE_TRACK"
8297 MODULE_OBJS
="$MODULE_OBJS $EXTRA_MODULE_OBJS"
8298 echo "$as_me:$LINENO: result: $module_list" >&5
8299 echo "${ECHO_T}$module_list" >&6
8303 echo "$as_me:$LINENO: result: none" >&5
8304 echo "${ECHO_T}none" >&6
8311 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no
; then
8312 MY_SUBDIRS
="rx $MY_SUBDIRS"
8313 RX_INCLUDES
="-I../rx"
8314 RX_LIBS
="../rx/librx.a"
8316 MY_SUBDIRS
="$MY_SUBDIRS src"
8317 CFLAGS
="$CFLAGS $ANSI_SRC -W -Wall"
8318 if test "z$USE_MAINTAINER_MODE" = zyes
; then
8319 CFLAGS
="$CFLAGS -Werror"
8325 # Check whether --with-tre or --without-tre was given.
8326 if test "${with_tre+set}" = set; then
8330 if test "x$withval" != "x"; then
8331 echo "$as_me:$LINENO: result: Using include dir $withval to find libtre" >&5
8332 echo "${ECHO_T}Using include dir $withval to find libtre" >&6
8333 CPPFLAGS
="-I$withval/include -L$withval/lib"
8334 LIBS
="$LIBS -L$withval/lib"
8336 echo "$as_me:$LINENO: result: Looking for tre in system and home dirs (${HOME})..." >&5
8337 echo "${ECHO_T}Looking for tre in system and home dirs (${HOME})..." >&6
8338 CPPFLAGS
="-I${HOME}/include -L${HOME}/lib"
8339 LIBS
="$LIBS -L${HOME}/lib"
8341 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8342 echo "$as_me:$LINENO: checking for tre/regex.h" >&5
8343 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6
8344 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8345 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
8348 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6
8350 # Is the header compilable?
8351 echo "$as_me:$LINENO: checking tre/regex.h usability" >&5
8352 echo $ECHO_N "checking tre/regex.h usability... $ECHO_C" >&6
8353 cat >conftest.
$ac_ext <<_ACEOF
8356 cat confdefs.h
>>conftest.
$ac_ext
8357 cat >>conftest.
$ac_ext <<_ACEOF
8358 /* end confdefs.h. */
8359 $ac_includes_default
8360 #include <tre/regex.h>
8362 rm -f conftest.
$ac_objext
8363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8364 (eval $ac_compile) 2>conftest.er1
8366 grep -v '^ *+' conftest.er1
>conftest.err
8368 cat conftest.err
>&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); } &&
8371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); }; } &&
8377 { ac_try
='test -s conftest.$ac_objext'
8378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; }; then
8383 ac_header_compiler
=yes
8385 echo "$as_me: failed program was:" >&5
8386 sed 's/^/| /' conftest.
$ac_ext >&5
8388 ac_header_compiler
=no
8390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8391 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8392 echo "${ECHO_T}$ac_header_compiler" >&6
8394 # Is the header present?
8395 echo "$as_me:$LINENO: checking tre/regex.h presence" >&5
8396 echo $ECHO_N "checking tre/regex.h presence... $ECHO_C" >&6
8397 cat >conftest.
$ac_ext <<_ACEOF
8400 cat confdefs.h
>>conftest.
$ac_ext
8401 cat >>conftest.
$ac_ext <<_ACEOF
8402 /* end confdefs.h. */
8403 #include <tre/regex.h>
8405 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8406 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8408 grep -v '^ *+' conftest.er1
>conftest.err
8410 cat conftest.err
>&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); } >/dev
/null
; then
8413 if test -s conftest.err
; then
8414 ac_cpp_err
=$ac_c_preproc_warn_flag
8415 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8422 if test -z "$ac_cpp_err"; then
8423 ac_header_preproc
=yes
8425 echo "$as_me: failed program was:" >&5
8426 sed 's/^/| /' conftest.
$ac_ext >&5
8428 ac_header_preproc
=no
8430 rm -f conftest.err conftest.
$ac_ext
8431 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8432 echo "${ECHO_T}$ac_header_preproc" >&6
8434 # So? What about this header?
8435 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8437 { echo "$as_me:$LINENO: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
8438 echo "$as_me: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8439 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the compiler's result" >&5
8440 echo "$as_me: WARNING: tre/regex.h: proceeding with the compiler's result" >&2;}
8441 ac_header_preproc
=yes
8444 { echo "$as_me:$LINENO: WARNING: tre/regex.h: present but cannot be compiled" >&5
8445 echo "$as_me: WARNING: tre/regex.h: present but cannot be compiled" >&2;}
8446 { echo "$as_me:$LINENO: WARNING: tre/regex.h: check for missing prerequisite headers?" >&5
8447 echo "$as_me: WARNING: tre/regex.h: check for missing prerequisite headers?" >&2;}
8448 { echo "$as_me:$LINENO: WARNING: tre/regex.h: see the Autoconf documentation" >&5
8449 echo "$as_me: WARNING: tre/regex.h: see the Autoconf documentation" >&2;}
8450 { echo "$as_me:$LINENO: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&5
8451 echo "$as_me: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
8452 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&5
8453 echo "$as_me: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&2;}
8454 { echo "$as_me:$LINENO: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&5
8455 echo "$as_me: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&2;}
8458 ## -------------------------------------------------- ##
8459 ## Report this to evilnet-devel@lists.sourceforge.net ##
8460 ## -------------------------------------------------- ##
8463 sed "s/^/$as_me: WARNING: /" >&2
8466 echo "$as_me:$LINENO: checking for tre/regex.h" >&5
8467 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6
8468 if test "${ac_cv_header_tre_regex_h+set}" = set; then
8469 echo $ECHO_N "(cached) $ECHO_C" >&6
8471 ac_cv_header_tre_regex_h
=$ac_header_preproc
8473 echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
8474 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6
8477 if test $ac_cv_header_tre_regex_h = yes; then
8480 { { 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
8481 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;}
8482 { (exit 1); exit 1; }; }
8487 echo "$as_me:$LINENO: checking for regexec in -ltre" >&5
8488 echo $ECHO_N "checking for regexec in -ltre... $ECHO_C" >&6
8489 if test "${ac_cv_lib_tre_regexec+set}" = set; then
8490 echo $ECHO_N "(cached) $ECHO_C" >&6
8492 ac_check_lib_save_LIBS
=$LIBS
8494 cat >conftest.
$ac_ext <<_ACEOF
8497 cat confdefs.h
>>conftest.
$ac_ext
8498 cat >>conftest.
$ac_ext <<_ACEOF
8499 /* end confdefs.h. */
8501 /* Override any gcc2 internal prototype to avoid an error. */
8505 /* We use char because int might match the return type of a gcc2
8506 builtin and then its argument prototype would still apply. */
8516 rm -f conftest.
$ac_objext conftest
$ac_exeext
8517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8518 (eval $ac_link) 2>conftest.er1
8520 grep -v '^ *+' conftest.er1
>conftest.err
8522 cat conftest.err
>&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } &&
8525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); }; } &&
8531 { ac_try
='test -s conftest$ac_exeext'
8532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; }; then
8537 ac_cv_lib_tre_regexec
=yes
8539 echo "$as_me: failed program was:" >&5
8540 sed 's/^/| /' conftest.
$ac_ext >&5
8542 ac_cv_lib_tre_regexec
=no
8544 rm -f conftest.err conftest.
$ac_objext \
8545 conftest
$ac_exeext conftest.
$ac_ext
8546 LIBS
=$ac_check_lib_save_LIBS
8548 echo "$as_me:$LINENO: result: $ac_cv_lib_tre_regexec" >&5
8549 echo "${ECHO_T}$ac_cv_lib_tre_regexec" >&6
8550 if test $ac_cv_lib_tre_regexec = yes; then
8551 cat >>confdefs.h
<<_ACEOF
8552 #define HAVE_LIBTRE 1
8558 { { 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
8559 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;}
8560 { (exit 1); exit 1; }; }
8565 cat >>confdefs.h
<<_ACEOF
8566 #define CODENAME "${CODENAME}"
8574 ac_config_files
="$ac_config_files Makefile rx/Makefile src/Makefile"
8576 cat >confcache
<<\_ACEOF
8577 # This file is a shell script that caches the results of configure
8578 # tests run on this system so they can be shared between configure
8579 # scripts and configure runs, see configure's option --config-cache.
8580 # It is not useful on other systems. If it contains results you don't
8581 # want to keep, you may remove or edit it.
8583 # config.status only pays attention to the cache file if you give it
8584 # the --recheck option to rerun configure.
8586 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8587 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8592 # The following way of writing the cache mishandles newlines in values,
8593 # but we know of no workaround that is simple, portable, and efficient.
8594 # So, don't put newlines in cache variables' values.
8595 # Ultrix sh set writes to stderr and can't be redirected directly,
8596 # and sets the high bit in the cache file unless we assign to the vars.
8599 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8601 # `set' does not quote correctly, so add quotes (double-quote
8602 # substitution turns \\\\ into \\, and sed turns \\ into \).
8605 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8608 # `set' quotes correctly as required by POSIX, so do not add quotes.
8610 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8617 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8619 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8621 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8622 if test -w $cache_file; then
8623 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8624 cat confcache
>$cache_file
8626 echo "not updating unwritable cache $cache_file"
8631 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8632 # Let make expand exec_prefix.
8633 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8635 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8636 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8637 # trailing colons and then remove the whole line if VPATH becomes empty
8638 # (actually we leave an empty line to preserve line numbers).
8639 if test "x$srcdir" = x.
; then
8640 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8641 s/:*\$(srcdir):*/:/;
8642 s/:*\${srcdir}:*/:/;
8644 s/^\([^=]*=[ ]*\):*/\1/;
8650 DEFS
=-DHAVE_CONFIG_H
8654 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8655 # 1. Remove the extension, and $U if already installed.
8656 ac_i
=`echo "$ac_i" |
8657 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8659 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8660 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8664 LTLIBOBJS
=$ac_ltlibobjs
8667 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8668 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8669 Usually this means the macro was only invoked conditionally." >&5
8670 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8671 Usually this means the macro was only invoked conditionally." >&2;}
8672 { (exit 1); exit 1; }; }
8674 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8675 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8676 Usually this means the macro was only invoked conditionally." >&5
8677 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8678 Usually this means the macro was only invoked conditionally." >&2;}
8679 { (exit 1); exit 1; }; }
8681 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8682 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8683 Usually this means the macro was only invoked conditionally." >&5
8684 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8685 Usually this means the macro was only invoked conditionally." >&2;}
8686 { (exit 1); exit 1; }; }
8688 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8689 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8690 Usually this means the macro was only invoked conditionally." >&5
8691 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8692 Usually this means the macro was only invoked conditionally." >&2;}
8693 { (exit 1); exit 1; }; }
8696 : ${CONFIG_STATUS=./config.status}
8697 ac_clean_files_save
=$ac_clean_files
8698 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8699 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8700 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8701 cat >$CONFIG_STATUS <<_ACEOF
8703 # Generated by $as_me.
8704 # Run this file to recreate the current configuration.
8705 # Compiler output produced by configure, useful for debugging
8706 # configure, is in config.log if it exists.
8711 SHELL=\${CONFIG_SHELL-$SHELL}
8714 cat >>$CONFIG_STATUS <<\_ACEOF
8715 ## --------------------- ##
8716 ## M4sh Initialization. ##
8717 ## --------------------- ##
8719 # Be Bourne compatible
8720 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8723 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8724 # is contrary to our usage. Disable this feature.
8725 alias -g '${1+"$@"}'='"$@"'
8726 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8729 DUALCASE
=1; export DUALCASE
# for MKS sh
8731 # Support unset when possible.
8732 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
8739 # Work around bugs in pre-3.0 UWIN ksh.
8740 $as_unset ENV MAIL MAILPATH
8747 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8748 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8749 LC_TELEPHONE LC_TIME
8751 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8752 eval $as_var=C
; export $as_var
8758 # Required to use basename.
8759 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8765 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8766 as_basename
=basename
8772 # Name of the executable.
8773 as_me
=`$as_basename "$0" ||
8774 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8775 X"$0" : 'X\(//\)$' \| \
8776 X"$0" : 'X\(/\)$' \| \
8777 . : '\(.\)' 2>/dev/null ||
8779 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8780 /^X\/\(\/\/\)$/{ s//\1/; q; }
8781 /^X\/\(\/\).*/{ s//\1/; q; }
8785 # PATH needs CR, and LINENO needs CR and PATH.
8786 # Avoid depending upon Character Ranges.
8787 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8788 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8789 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8790 as_cr_digits
='0123456789'
8791 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8793 # The user is always right.
8794 if test "${PATH_SEPARATOR+set}" != set; then
8795 echo "#! /bin/sh" >conf$$.sh
8796 echo "exit 0" >>conf$$.sh
8798 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8809 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8810 test "x$as_lineno_1" != "x$as_lineno_2" &&
8811 test "x$as_lineno_3" = "x$as_lineno_2" || {
8812 # Find who we are. Look in the path if we contain no path at all
8815 *[\\/]* ) as_myself
=$0 ;;
8816 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8820 test -z "$as_dir" && as_dir
=.
8821 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8826 # We did not find ourselves, most probably we were run as `sh COMMAND'
8827 # in which case we are not to be found in the path.
8828 if test "x$as_myself" = x
; then
8831 if test ! -f "$as_myself"; then
8832 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8833 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8834 { (exit 1); exit 1; }; }
8836 case $CONFIG_SHELL in
8838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8839 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8842 test -z "$as_dir" && as_dir
=.
8843 for as_base
in sh bash ksh sh5
; do
8846 if ("$as_dir/$as_base" -c '
8849 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8850 test "x$as_lineno_1" != "x$as_lineno_2" &&
8851 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8852 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
8853 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
8854 CONFIG_SHELL
=$as_dir/$as_base
8856 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8864 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8865 # uniformly replaced by the line number. The first 'sed' inserts a
8866 # line-number line before each line; the second 'sed' does the real
8867 # work. The second script uses 'N' to pair each line-number line
8868 # with the numbered line, and appends trailing '-' during
8869 # substitution so that $LINENO is not a special case at line end.
8870 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8871 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8872 sed '=' <$as_myself |
8877 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8880 s,^['$as_cr_digits']*\n,,
8882 chmod +x
$as_me.lineno
||
8883 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8884 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8885 { (exit 1); exit 1; }; }
8887 # Don't try to exec as it changes $[0], causing all sort of problems
8888 # (the dirname of $[0] is not the place where we might find the
8889 # original and so on. Autoconf is especially sensible to this).
8891 # Exit status is that of the last command.
8896 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8897 *c
*,-n*) ECHO_N
= ECHO_C
='
8899 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8900 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8903 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8909 rm -f conf$$ conf$$.exe conf$$.
file
8911 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8912 # We could just check for DJGPP; but this test a) works b) is more generic
8913 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8914 if test -f conf$$.exe
; then
8915 # Don't use ln at all; we don't have any links
8920 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8925 rm -f conf$$ conf$$.exe conf$$.
file
8927 if mkdir -p .
2>/dev
/null
; then
8930 test -d .
/-p && rmdir .
/-p
8934 as_executable_p
="test -f"
8936 # Sed expression to map a string onto a valid CPP name.
8937 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8939 # Sed expression to map a string onto a valid variable name.
8940 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8944 # We need space, tab and new line, in precisely that order.
8954 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8955 # report actual input values of CONFIG_FILES etc. instead of their
8956 # values after options handling. Logging --version etc. is OK.
8960 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8961 ## Running $as_me. ##
8966 This file was extended by X3 $as_me 1.5, which was
8967 generated by GNU Autoconf 2.59. Invocation command line was
8969 CONFIG_FILES = $CONFIG_FILES
8970 CONFIG_HEADERS = $CONFIG_HEADERS
8971 CONFIG_LINKS = $CONFIG_LINKS
8972 CONFIG_COMMANDS = $CONFIG_COMMANDS
8976 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8980 # Files that config.status was made for.
8981 if test -n "$ac_config_files"; then
8982 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8985 if test -n "$ac_config_headers"; then
8986 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8989 if test -n "$ac_config_links"; then
8990 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8993 if test -n "$ac_config_commands"; then
8994 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8997 cat >>$CONFIG_STATUS <<\_ACEOF
9000 \`$as_me' instantiates files from templates according to the
9001 current configuration.
9003 Usage: $0 [OPTIONS] [FILE]...
9005 -h, --help print this help, then exit
9006 -V, --version print version number, then exit
9007 -q, --quiet do not print progress messages
9008 -d, --debug don't remove temporary files
9009 --recheck update $as_me by reconfiguring in the same conditions
9010 --file=FILE[:TEMPLATE]
9011 instantiate the configuration file FILE
9012 --header=FILE[:TEMPLATE]
9013 instantiate the configuration header FILE
9015 Configuration files:
9018 Configuration headers:
9021 Configuration commands:
9024 Report bugs to <bug-autoconf@gnu.org>."
9027 cat >>$CONFIG_STATUS <<_ACEOF
9029 X3 config.status 1.5
9030 configured by $0, generated by GNU Autoconf 2.59,
9031 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9033 Copyright (C) 2003 Free Software Foundation, Inc.
9034 This config.status script is free software; the Free Software Foundation
9035 gives unlimited permission to copy, distribute and modify it."
9040 cat >>$CONFIG_STATUS <<\_ACEOF
9041 # If no file are specified by the user, then we need to provide default
9042 # value. By we need to know if files were specified by the user.
9048 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9049 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9057 *) # This is not an option, so the user has probably given explicit
9060 ac_need_defaults
=false
;;
9064 # Handling of the options.
9066 cat >>$CONFIG_STATUS <<\_ACEOF
9067 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9069 --version | --vers* | -V )
9070 echo "$ac_cs_version"; exit 0 ;;
9072 # Conflict between --help and --header
9073 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9074 Try \`$0 --help' for more information." >&5
9075 echo "$as_me: error: ambiguous option: $1
9076 Try \`$0 --help' for more information." >&2;}
9077 { (exit 1); exit 1; }; };;
9078 --help | --hel | -h )
9079 echo "$ac_cs_usage"; exit 0 ;;
9080 --debug | --d* | -d )
9082 --file | --fil | --fi | --f )
9084 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9085 ac_need_defaults
=false
;;
9086 --header | --heade | --head | --hea )
9088 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9089 ac_need_defaults
=false
;;
9090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9091 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9095 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9096 Try \`$0 --help' for more information." >&5
9097 echo "$as_me: error: unrecognized option: $1
9098 Try \`$0 --help' for more information." >&2;}
9099 { (exit 1); exit 1; }; } ;;
9101 *) ac_config_targets
="$ac_config_targets $1" ;;
9107 ac_configure_extra_args
=
9109 if $ac_cs_silent; then
9111 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9115 cat >>$CONFIG_STATUS <<_ACEOF
9116 if \$ac_cs_recheck; then
9117 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9118 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9123 cat >>$CONFIG_STATUS <<_ACEOF
9125 # INIT-COMMANDS section.
9128 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9134 cat >>$CONFIG_STATUS <<\_ACEOF
9135 for ac_config_target
in $ac_config_targets
9137 case "$ac_config_target" in
9138 # Handling of arguments.
9139 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9140 "rx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
9141 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9142 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9143 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
9144 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9145 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9146 { (exit 1); exit 1; }; };;
9150 # If the user did not use the arguments to specify the items to instantiate,
9151 # then the envvar interface is used. Set only those that are not.
9152 # We use the long form for the default assignment because of an extremely
9153 # bizarre bug on SunOS 4.1.3.
9154 if $ac_need_defaults; then
9155 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9156 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9157 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9160 # Have a temporary directory for convenience. Make it in the build tree
9161 # simply because there is no reason to put it here, and in addition,
9162 # creating and moving files from /tmp can sometimes cause problems.
9163 # Create a temporary directory, and hook for its removal unless debugging.
9166 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9167 trap '{ (exit 1); exit 1; }' 1 2 13 15
9170 # Create a (secure) tmp directory for tmp files.
9173 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9174 test -n "$tmp" && test -d "$tmp"
9177 tmp
=.
/confstat$$
-$RANDOM
9178 (umask 077 && mkdir $tmp)
9181 echo "$me: cannot create a temporary directory in ." >&2
9182 { (exit 1); exit 1; }
9187 cat >>$CONFIG_STATUS <<_ACEOF
9190 # CONFIG_FILES section.
9193 # No need to generate the scripts if there are no CONFIG_FILES.
9194 # This happens for instance when ./config.status config.h
9195 if test -n "\$CONFIG_FILES"; then
9196 # Protect against being on the right side of a sed subst in config.status.
9197 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9198 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9199 s,@SHELL@,$SHELL,;t t
9200 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9201 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9202 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9203 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9204 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9205 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9206 s,@exec_prefix@,$exec_prefix,;t t
9207 s,@prefix@,$prefix,;t t
9208 s,@program_transform_name@,$program_transform_name,;t t
9209 s,@bindir@,$bindir,;t t
9210 s,@sbindir@,$sbindir,;t t
9211 s,@libexecdir@,$libexecdir,;t t
9212 s,@datadir@,$datadir,;t t
9213 s,@sysconfdir@,$sysconfdir,;t t
9214 s,@sharedstatedir@,$sharedstatedir,;t t
9215 s,@localstatedir@,$localstatedir,;t t
9216 s,@libdir@,$libdir,;t t
9217 s,@includedir@,$includedir,;t t
9218 s,@oldincludedir@,$oldincludedir,;t t
9219 s,@infodir@,$infodir,;t t
9220 s,@mandir@,$mandir,;t t
9221 s,@build_alias@,$build_alias,;t t
9222 s,@host_alias@,$host_alias,;t t
9223 s,@target_alias@,$target_alias,;t t
9225 s,@ECHO_C@,$ECHO_C,;t t
9226 s,@ECHO_N@,$ECHO_N,;t t
9227 s,@ECHO_T@,$ECHO_T,;t t
9229 s,@build@,$build,;t t
9230 s,@build_cpu@,$build_cpu,;t t
9231 s,@build_vendor@,$build_vendor,;t t
9232 s,@build_os@,$build_os,;t t
9234 s,@host_cpu@,$host_cpu,;t t
9235 s,@host_vendor@,$host_vendor,;t t
9236 s,@host_os@,$host_os,;t t
9237 s,@target@,$target,;t t
9238 s,@target_cpu@,$target_cpu,;t t
9239 s,@target_vendor@,$target_vendor,;t t
9240 s,@target_os@,$target_os,;t t
9241 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9242 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9243 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9244 s,@CYGPATH_W@,$CYGPATH_W,;t t
9245 s,@PACKAGE@,$PACKAGE,;t t
9246 s,@VERSION@,$VERSION,;t t
9247 s,@ACLOCAL@,$ACLOCAL,;t t
9248 s,@AUTOCONF@,$AUTOCONF,;t t
9249 s,@AUTOMAKE@,$AUTOMAKE,;t t
9250 s,@AUTOHEADER@,$AUTOHEADER,;t t
9251 s,@MAKEINFO@,$MAKEINFO,;t t
9252 s,@install_sh@,$install_sh,;t t
9253 s,@STRIP@,$STRIP,;t t
9254 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9255 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9256 s,@mkdir_p@,$mkdir_p,;t t
9258 s,@SET_MAKE@,$SET_MAKE,;t t
9259 s,@am__leading_dot@,$am__leading_dot,;t t
9260 s,@AMTAR@,$AMTAR,;t t
9261 s,@am__tar@,$am__tar,;t t
9262 s,@am__untar@,$am__untar,;t t
9263 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9264 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9265 s,@MAINT@,$MAINT,;t t
9267 s,@CFLAGS@,$CFLAGS,;t t
9268 s,@LDFLAGS@,$LDFLAGS,;t t
9269 s,@CPPFLAGS@,$CPPFLAGS,;t t
9270 s,@ac_ct_CC@,$ac_ct_CC,;t t
9271 s,@EXEEXT@,$EXEEXT,;t t
9272 s,@OBJEXT@,$OBJEXT,;t t
9273 s,@DEPDIR@,$DEPDIR,;t t
9274 s,@am__include@,$am__include,;t t
9275 s,@am__quote@,$am__quote,;t t
9276 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9277 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9278 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9279 s,@CCDEPMODE@,$CCDEPMODE,;t t
9280 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
9281 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
9282 s,@RANLIB@,$RANLIB,;t t
9283 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9286 s,@EGREP@,$EGREP,;t t
9287 s,@MAKER@,$MAKER,;t t
9288 s,@ALLOCA@,$ALLOCA,;t t
9289 s,@MODULE_OBJS@,$MODULE_OBJS,;t t
9290 s,@MY_SUBDIRS@,$MY_SUBDIRS,;t t
9291 s,@RX_INCLUDES@,$RX_INCLUDES,;t t
9292 s,@RX_LIBS@,$RX_LIBS,;t t
9293 s,@TRACK@,$TRACK,;t t
9294 s,@LIBOBJS@,$LIBOBJS,;t t
9295 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9300 cat >>$CONFIG_STATUS <<\_ACEOF
9301 # Split the substitutions into bite-sized pieces for seds with
9302 # small command number limits, like on Digital OSF/1 and HP-UX.
9304 ac_sed_frag
=1 # Number of current file.
9305 ac_beg
=1 # First line for current file.
9306 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9309 while $ac_more_lines; do
9310 if test $ac_beg -gt 1; then
9311 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9313 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9315 if test ! -s $tmp/subs.frag
; then
9318 # The purpose of the label and of the branching condition is to
9319 # speed up the sed processing (if there are no `@' at all, there
9320 # is no need to browse any of the substitutions).
9321 # These are the two extra sed commands mentioned above.
9323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
9324 if test -z "$ac_sed_cmds"; then
9325 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9327 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9329 ac_sed_frag
=`expr $ac_sed_frag + 1`
9331 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9334 if test -z "$ac_sed_cmds"; then
9337 fi # test -n "$CONFIG_FILES"
9340 cat >>$CONFIG_STATUS <<\_ACEOF
9341 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9342 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9344 - | *:- | *:-:* ) # input from stdin
9346 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9347 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9348 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9349 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9350 * ) ac_file_in
=$ac_file.
in ;;
9353 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9354 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9355 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9356 X"$ac_file" : 'X\(//\)[^/]' \| \
9357 X"$ac_file" : 'X\(//\)$' \| \
9358 X"$ac_file" : 'X\(/\)' \| \
9359 . : '\(.\)' 2>/dev/null ||
9361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9362 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9363 /^X\(\/\/\)$/{ s//\1/; q; }
9364 /^X\(\/\).*/{ s//\1/; q; }
9366 { if $as_mkdir_p; then
9371 while test ! -d "$as_dir"; do
9372 as_dirs
="$as_dir $as_dirs"
9373 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9375 X"$as_dir" : 'X\(//\)[^/]' \| \
9376 X"$as_dir" : 'X\(//\)$' \| \
9377 X"$as_dir" : 'X\(/\)' \| \
9378 . : '\(.\)' 2>/dev/null ||
9380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9381 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9382 /^X\(\/\/\)$/{ s//\1/; q; }
9383 /^X\(\/\).*/{ s//\1/; q; }
9386 test ! -n "$as_dirs" || mkdir $as_dirs
9387 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9388 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9389 { (exit 1); exit 1; }; }; }
9393 if test "$ac_dir" != .
; then
9394 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9395 # A "../" for each directory in $ac_dir_suffix.
9396 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9398 ac_dir_suffix
= ac_top_builddir
=
9402 .
) # No --srcdir option. We are building in place.
9404 if test -z "$ac_top_builddir"; then
9407 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9409 [\\/]* | ?
:[\\/]* ) # Absolute path.
9410 ac_srcdir
=$srcdir$ac_dir_suffix;
9411 ac_top_srcdir
=$srcdir ;;
9413 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9414 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9417 # Do not use `cd foo && pwd` to compute absolute paths, because
9418 # the directories may not exist.
9420 .
) ac_abs_builddir
="$ac_dir";;
9423 .
) ac_abs_builddir
=`pwd`;;
9424 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9425 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9428 case $ac_abs_builddir in
9429 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9431 case ${ac_top_builddir}.
in
9432 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9433 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9434 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9437 case $ac_abs_builddir in
9438 .
) ac_abs_srcdir
=$ac_srcdir;;
9441 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9442 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9443 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9446 case $ac_abs_builddir in
9447 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9449 case $ac_top_srcdir in
9450 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9451 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9452 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9458 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9459 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9462 # Let's still pretend it is `configure' which instantiates (i.e., don't
9463 # use $as_me), people would be surprised to read:
9464 # /* config.h. Generated by config.status. */
9465 if test x
"$ac_file" = x
-; then
9468 configure_input
="$ac_file. "
9470 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9471 sed 's,.*/,,'` by configure."
9473 # First look for the input files in the build tree, otherwise in the
9475 ac_file_inputs
=`IFS=:
9476 for f in $ac_file_in; do
9478 -) echo $tmp/stdin ;;
9480 # Absolute (can't be DOS-style, as IFS=:)
9481 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9482 echo "$as_me: error: cannot find input file: $f" >&2;}
9483 { (exit 1); exit 1; }; }
9486 if test -f "$f"; then
9489 elif test -f "$srcdir/$f"; then
9494 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9495 echo "$as_me: error: cannot find input file: $f" >&2;}
9496 { (exit 1); exit 1; }; }
9499 done` || { (exit 1); exit 1; }
9501 if test x
"$ac_file" != x
-; then
9502 { echo "$as_me:$LINENO: creating $ac_file" >&5
9503 echo "$as_me: creating $ac_file" >&6;}
9507 cat >>$CONFIG_STATUS <<_ACEOF
9511 cat >>$CONFIG_STATUS <<\_ACEOF
9513 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
9514 s
,@configure_input@
,$configure_input,;t t
9515 s
,@srcdir@
,$ac_srcdir,;t t
9516 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9517 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9518 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9519 s
,@builddir@
,$ac_builddir,;t t
9520 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9521 s
,@top_builddir@
,$ac_top_builddir,;t t
9522 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9523 s
,@INSTALL@
,$ac_INSTALL,;t t
9524 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9526 if test x"$ac_file" != x-; then
9527 mv $tmp/out $ac_file
9535 cat >>$CONFIG_STATUS <<\_ACEOF
9538 # CONFIG_HEADER section.
9541 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9542 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9544 # ac_d sets the value in "#define NAME VALUE" lines.
9545 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9546 ac_dB
='[ ].*$,\1#\2'
9549 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9550 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9551 ac_uB
='$,\1#\2define\3'
9555 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9556 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9558 - | *:- | *:-:* ) # input from stdin
9560 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9561 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9562 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9563 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9564 * ) ac_file_in
=$ac_file.
in ;;
9567 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9568 echo "$as_me: creating $ac_file" >&6;}
9570 # First look for the input files in the build tree, otherwise in the
9572 ac_file_inputs
=`IFS=:
9573 for f in $ac_file_in; do
9575 -) echo $tmp/stdin ;;
9577 # Absolute (can't be DOS-style, as IFS=:)
9578 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9579 echo "$as_me: error: cannot find input file: $f" >&2;}
9580 { (exit 1); exit 1; }; }
9581 # Do quote $f, to prevent DOS paths from being IFS'd.
9584 if test -f "$f"; then
9587 elif test -f "$srcdir/$f"; then
9592 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9593 echo "$as_me: error: cannot find input file: $f" >&2;}
9594 { (exit 1); exit 1; }; }
9597 done` || { (exit 1); exit 1; }
9598 # Remove the trailing spaces.
9599 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9603 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9604 # `conftest.undefs', that substitutes the proper values into
9605 # config.h.in to produce config.h. The first handles `#define'
9606 # templates, and the second `#undef' templates.
9607 # And first: Protect against being on the right side of a sed subst in
9608 # config.status. Protect against being in an unquoted here document
9610 rm -f conftest.defines conftest.undefs
9611 # Using a here document instead of a string reduces the quoting nightmare.
9612 # Putting comments in sed scripts is not portable.
9614 # `end' is used to avoid that the second main sed command (meant for
9615 # 0-ary CPP macros) applies to n-ary macro definitions.
9616 # See the Autoconf documentation for `clear'.
9617 cat >confdef2sed.
sed <<\_ACEOF
9622 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9624 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9627 # If some macros were called several times there might be several times
9628 # the same #defines, which is useless. Nevertheless, we may not want to
9629 # sort them, since we want the *last* AC-DEFINE to be honored.
9630 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9631 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9632 rm -f confdef2sed.sed
9634 # This sed command replaces #undef with comments. This is necessary, for
9635 # example, in the case of _POSIX_SOURCE, which is predefined and required
9636 # on some systems where configure will not decide to define it.
9637 cat >>conftest.undefs <<\_ACEOF
9638 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9641 # Break up conftest.defines because some shells have a limit on the size
9642 # of here documents, and old seds have small limits too (100 cmds).
9643 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9644 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9645 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9646 echo ' :' >>$CONFIG_STATUS
9648 while grep . conftest.defines >/dev/null
9650 # Write a limited-size here document to $tmp/defines.sed.
9651 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9652 # Speed up: don't consider the non `#define' lines.
9653 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9654 # Work around the forget-to-reset-the-flag bug.
9655 echo 't clr' >>$CONFIG_STATUS
9656 echo ': clr' >>$CONFIG_STATUS
9657 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9659 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9663 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9664 rm -f conftest.defines
9665 mv conftest.
tail conftest.defines
9667 rm -f conftest.defines
9668 echo ' fi # grep' >>$CONFIG_STATUS
9669 echo >>$CONFIG_STATUS
9671 # Break up conftest.undefs because some shells have a limit on the size
9672 # of here documents, and old seds have small limits too (100 cmds).
9673 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9675 while grep . conftest.undefs
>/dev
/null
9677 # Write a limited-size here document to $tmp/undefs.sed.
9678 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9679 # Speed up: don't consider the non
`#undef'
9680 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9681 # Work around the forget-to-reset-the-flag bug.
9682 echo 't clr' >>$CONFIG_STATUS
9683 echo ': clr' >>$CONFIG_STATUS
9684 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9686 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9690 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9691 rm -f conftest.undefs
9692 mv conftest.tail conftest.undefs
9694 rm -f conftest.undefs
9696 cat >>$CONFIG_STATUS <<\_ACEOF
9697 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9698 # use $as_me), people would be surprised to read:
9699 # /* config.h. Generated by config.status. */
9700 if test x
"$ac_file" = x
-; then
9701 echo "/* Generated by configure. */" >$tmp/config.h
9703 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9705 cat $tmp/in >>$tmp/config.h
9707 if test x
"$ac_file" != x
-; then
9708 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9709 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9710 echo "$as_me: $ac_file is unchanged" >&6;}
9712 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9713 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9714 X"$ac_file" : 'X\(//\)[^/]' \| \
9715 X"$ac_file" : 'X\(//\)$' \| \
9716 X"$ac_file" : 'X\(/\)' \| \
9717 . : '\(.\)' 2>/dev/null ||
9719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9721 /^X\(\/\/\)$/{ s//\1/; q; }
9722 /^X\(\/\).*/{ s//\1/; q; }
9724 { if $as_mkdir_p; then
9729 while test ! -d "$as_dir"; do
9730 as_dirs
="$as_dir $as_dirs"
9731 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9732 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9733 X"$as_dir" : 'X\(//\)[^/]' \| \
9734 X"$as_dir" : 'X\(//\)$' \| \
9735 X"$as_dir" : 'X\(/\)' \| \
9736 . : '\(.\)' 2>/dev/null ||
9738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9739 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9740 /^X\(\/\/\)$/{ s//\1/; q; }
9741 /^X\(\/\).*/{ s//\1/; q; }
9744 test ! -n "$as_dirs" || mkdir $as_dirs
9745 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9746 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9747 { (exit 1); exit 1; }; }; }
9750 mv $tmp/config.h
$ac_file
9756 # Compute $ac_file's index in $config_headers.
9758 for _am_header
in $config_headers :; do
9760 $ac_file | $ac_file:* )
9763 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9766 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9767 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9768 X$ac_file : 'X\(//\)[^/]' \| \
9769 X$ac_file : 'X\(//\)$' \| \
9770 X$ac_file : 'X\(/\)' \| \
9771 . : '\(.\)' 2>/dev/null ||
9773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9774 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9775 /^X\(\/\/\)$/{ s//\1/; q; }
9776 /^X\(\/\).*/{ s//\1/; q; }
9777 s/.*/./; q'`/stamp
-h$_am_stamp_count
9780 cat >>$CONFIG_STATUS <<\_ACEOF
9783 # CONFIG_COMMANDS section.
9785 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9786 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9787 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9788 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9789 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9790 X"$ac_dest" : 'X\(//\)[^/]' \| \
9791 X"$ac_dest" : 'X\(//\)$' \| \
9792 X"$ac_dest" : '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; }; }; }
9827 if test "$ac_dir" != .
; then
9828 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9829 # A "../" for each directory in $ac_dir_suffix.
9830 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9832 ac_dir_suffix
= ac_top_builddir
=
9836 .
) # No --srcdir option. We are building in place.
9838 if test -z "$ac_top_builddir"; then
9841 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9843 [\\/]* | ?
:[\\/]* ) # Absolute path.
9844 ac_srcdir
=$srcdir$ac_dir_suffix;
9845 ac_top_srcdir
=$srcdir ;;
9847 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9848 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9851 # Do not use `cd foo && pwd` to compute absolute paths, because
9852 # the directories may not exist.
9854 .
) ac_abs_builddir
="$ac_dir";;
9857 .
) ac_abs_builddir
=`pwd`;;
9858 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9859 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9862 case $ac_abs_builddir in
9863 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9865 case ${ac_top_builddir}.
in
9866 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9867 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9868 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9871 case $ac_abs_builddir in
9872 .
) ac_abs_srcdir
=$ac_srcdir;;
9875 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9876 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9877 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9880 case $ac_abs_builddir in
9881 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9883 case $ac_top_srcdir in
9884 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9885 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9886 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9891 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9892 echo "$as_me: executing $ac_dest commands" >&6;}
9894 depfiles
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
9895 # Strip MF so we end up with the name of the file.
9896 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9897 # Check whether this is an Automake generated Makefile or not.
9898 # We used to match only the files named `Makefile.in', but
9899 # some people rename them; so instead we look at the file content.
9900 # Grep'ing the first line is not enough: some people post-process
9901 # each Makefile.in and add a new line on top of each file to say so.
9902 # So let's grep whole file.
9903 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
9904 dirpart
=`(dirname "$mf") 2>/dev/null ||
9905 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9906 X"$mf" : 'X\(//\)[^/]' \| \
9907 X"$mf" : 'X\(//\)$' \| \
9908 X"$mf" : 'X\(/\)' \| \
9909 . : '\(.\)' 2>/dev/null ||
9911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9912 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9913 /^X\(\/\/\)$/{ s//\1/; q; }
9914 /^X\(\/\).*/{ s//\1/; q; }
9919 # Extract the definition of DEPDIR, am__include, and am__quote
9920 # from the Makefile without running `make'.
9921 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9922 test -z "$DEPDIR" && continue
9923 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9924 test -z "am__include" && continue
9925 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9926 # When using ansi2knr, U may be empty or an underscore; expand it
9927 U
=`sed -n 's/^U = //p' < "$mf"`
9928 # Find all dependency output files, they are included files with
9929 # $(DEPDIR) in their names. We invoke sed twice because it is the
9930 # simplest approach to changing $(DEPDIR) to its actual value in the
9932 for file in `sed -n "
9933 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9934 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9935 # Make sure the directory exists.
9936 test -f "$dirpart/$file" && continue
9937 fdir
=`(dirname "$file") 2>/dev/null ||
9938 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9939 X"$file" : 'X\(//\)[^/]' \| \
9940 X"$file" : 'X\(//\)$' \| \
9941 X"$file" : 'X\(/\)' \| \
9942 . : '\(.\)' 2>/dev/null ||
9944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9945 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9946 /^X\(\/\/\)$/{ s//\1/; q; }
9947 /^X\(\/\).*/{ s//\1/; q; }
9949 { if $as_mkdir_p; then
9950 mkdir -p $dirpart/$fdir
9952 as_dir
=$dirpart/$fdir
9954 while test ! -d "$as_dir"; do
9955 as_dirs
="$as_dir $as_dirs"
9956 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9957 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9958 X"$as_dir" : 'X\(//\)[^/]' \| \
9959 X"$as_dir" : 'X\(//\)$' \| \
9960 X"$as_dir" : 'X\(/\)' \| \
9961 . : '\(.\)' 2>/dev/null ||
9963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9964 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9965 /^X\(\/\/\)$/{ s//\1/; q; }
9966 /^X\(\/\).*/{ s//\1/; q; }
9969 test ! -n "$as_dirs" || mkdir $as_dirs
9970 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9971 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9972 { (exit 1); exit 1; }; }; }
9974 # echo "creating $dirpart/$file"
9975 echo '# dummy' > "$dirpart/$file"
9983 cat >>$CONFIG_STATUS <<\_ACEOF
9985 { (exit 0); exit 0; }
9987 chmod +x
$CONFIG_STATUS
9988 ac_clean_files
=$ac_clean_files_save
9991 # configure is writing to config.log, and then calls config.status.
9992 # config.status does its own redirection, appending to config.log.
9993 # Unfortunately, on DOS this fails, as config.log is still kept open
9994 # by configure, so config.status won't be able to write to it; its
9995 # output is simply discarded. So we exec the FD to /dev/null,
9996 # effectively closing config.log, so it can be properly (re)opened and
9997 # appended to by config.status. When coming back to configure, we
9998 # need to make the FD available again.
9999 if test "$no_create" != yes; then
10001 ac_config_status_args
=
10002 test "$silent" = yes &&
10003 ac_config_status_args
="$ac_config_status_args --quiet"
10005 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10007 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10008 # would make configure fail if this is the last instruction.
10009 $ac_cs_success || { (exit 1); exit 1; }
10017 Configuration summary
10018 =====================
10020 X3 is now configured as follows:
10022 * Compilation environment
10027 CPPFLAGS = $CPPFLAGS
10035 Extra Modules: $module_list
10038 Regexp Library TRE $tre_version
10040 Install to: $prefix
10042 Now you can proceed with compiling X3