2 # From configure.in Id: configure.in,v 1.2 2004/06/28 22:45:19 r33d Exp .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for srvx 1.3.
6 # Report bugs to <srvx-bugs@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.
272 PACKAGE_TARNAME
='srvx'
273 PACKAGE_VERSION
='1.3'
274 PACKAGE_STRING
='srvx 1.3'
275 PACKAGE_BUGREPORT
='srvx-bugs@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 ALLOCA MODULE_OBJS MY_SUBDIRS RX_INCLUDES RX_LIBS 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 srvx 1.3 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 srvx 1.3:";;
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
872 --with-protocol=name Choose IRC dialect to support
; one of
:
873 p10
(the default
), bahamut
874 --without-getopt Disables building of the GNU getopt library
876 Some influential environment variables
:
877 CC C compiler
command
878 CFLAGS C compiler flags
879 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
880 nonstandard directory
<lib dir
>
881 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
882 headers
in a nonstandard directory
<include dir
>
885 Use these variables to override the choices made by
`configure' or to help
886 it to find libraries and programs with nonstandard names/locations.
888 Report bugs to <srvx-bugs@lists.sourceforge.net>.
892 if test "$ac_init_help" = "recursive"; then
893 # If there are subdirs, report their specific --help.
895 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
896 test -d $ac_dir || continue
899 if test "$ac_dir" != .; then
900 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
901 # A "../" for each directory in $ac_dir_suffix.
902 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
904 ac_dir_suffix= ac_top_builddir=
908 .) # No --srcdir option. We are building in place.
910 if test -z "$ac_top_builddir"; then
913 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
915 [\\/]* | ?:[\\/]* ) # Absolute path.
916 ac_srcdir=$srcdir$ac_dir_suffix;
917 ac_top_srcdir=$srcdir ;;
919 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
920 ac_top_srcdir=$ac_top_builddir$srcdir ;;
923 # Do not use `cd foo
&& pwd` to compute absolute paths, because
924 # the directories may not exist.
926 .) ac_abs_builddir="$ac_dir";;
929 .) ac_abs_builddir=`pwd`;;
930 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
931 *) ac_abs_builddir=`pwd`/"$ac_dir";;
934 case $ac_abs_builddir in
935 .) ac_abs_top_builddir=${ac_top_builddir}.;;
937 case ${ac_top_builddir}. in
938 .) ac_abs_top_builddir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
940 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
943 case $ac_abs_builddir in
944 .) ac_abs_srcdir=$ac_srcdir;;
947 .) ac_abs_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
949 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
952 case $ac_abs_builddir in
953 .) ac_abs_top_srcdir=$ac_top_srcdir;;
955 case $ac_top_srcdir in
956 .) ac_abs_top_srcdir=$ac_abs_builddir;;
957 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
958 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
963 # Check for guested configure; otherwise get Cygnus style configure.
964 if test -f $ac_srcdir/configure.gnu; then
966 $SHELL $ac_srcdir/configure.gnu --help=recursive
967 elif test -f $ac_srcdir/configure; then
969 $SHELL $ac_srcdir/configure --help=recursive
970 elif test -f $ac_srcdir/configure.ac ||
971 test -f $ac_srcdir/configure.in; then
975 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
981 test -n "$ac_init_help" && exit 0
982 if $ac_init_version; then
985 generated by GNU Autoconf 2.59
987 Copyright (C) 2003 Free Software Foundation, Inc.
988 This configure script is free software; the Free Software Foundation
989 gives unlimited permission to copy, distribute and modify it.
995 This file contains any messages produced by compilers while
996 running configure, to aid debugging if configure makes a mistake.
998 It was created by srvx $as_me 1.3, which was
999 generated by GNU Autoconf 2.59. Invocation command line was
1010 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1011 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1012 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1013 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1014 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1016 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1017 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1019 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1020 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1021 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1022 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1023 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1024 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1025 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1033 test -z "$as_dir" && as_dir=.
1034 echo "PATH: $as_dir"
1049 # Keep a trace of the command line.
1050 # Strip out --no-create and --no-recursion so they do not pile up.
1051 # Strip out --silent because we don't want to record it for future runs.
1052 # Also quote any args containing shell meta-characters.
1053 # Make two passes to allow for proper duplicate-argument suppression.
1058 ac_must_keep_next=false
1064 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1068 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1069 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1072 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1074 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1075 if test $ac_must_keep_next = true; then
1076 ac_must_keep_next=false # Got value, back to normal.
1079 *=* | --config-cache | -C | -disable-* | --disable-* \
1080 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1081 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1082 | -with-* | --with-* | -without-* | --without-* | --x)
1083 case "$ac_configure_args0 " in
1084 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1087 -* ) ac_must_keep_next=true ;;
1090 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1091 # Get rid of the leading space.
1097 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1098 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1100 # When interrupted or exit'd, cleanup temporary files, and complete
1101 # config.log. We remove comments because anyway the quotes in there
1102 # would cause problems or look ugly.
1103 # WARNING: Be sure not to use single quotes in there, as some shells,
1104 # such as our DU 5.0 friend, will then `close
' the trap.
1105 trap 'exit_status
=$?
1106 # Save into config.log some information that might help in debugging.
1111 ## ---------------- ##
1112 ## Cache variables. ##
1113 ## ---------------- ##
1116 # The following way of writing the cache mishandles newlines in values,
1119 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1122 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1127 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1134 ## ----------------- ##
1135 ## Output variables. ##
1136 ## ----------------- ##
1139 for ac_var
in $ac_subst_vars
1141 eval ac_val
=$
`echo $ac_var`
1142 echo "$ac_var='"'"'$ac_val'"'"'"
1146 if test -n "$ac_subst_files"; then
1153 for ac_var
in $ac_subst_files
1155 eval ac_val
=$
`echo $ac_var`
1156 echo "$ac_var='"'"'$ac_val'"'"'"
1161 if test -s confdefs.h
; then
1168 sed "/^$/d" confdefs.h
| sort
1171 test "$ac_signal" != 0 &&
1172 echo "$as_me: caught signal $ac_signal"
1173 echo "$as_me: exit $exit_status"
1175 rm -f core
*.core
&&
1176 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1179 for ac_signal in 1 2 13 15; do
1180 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1184 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1185 rm -rf conftest* confdefs.h
1186 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1189 # Predefined preprocessor variables.
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_NAME "$PACKAGE_NAME"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_STRING "$PACKAGE_STRING"
1211 cat >>confdefs.h <<_ACEOF
1212 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1216 # Let the site file select an alternate cache file if it wants to.
1217 # Prefer explicitly selected file to automatically selected ones.
1218 if test -z "$CONFIG_SITE"; then
1219 if test "x$prefix" != xNONE; then
1220 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1222 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1225 for ac_site_file in $CONFIG_SITE; do
1226 if test -r "$ac_site_file"; then
1227 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1228 echo "$as_me: loading site script $ac_site_file" >&6;}
1229 sed 's
/^
/| /' "$ac_site_file" >&5
1234 if test -r "$cache_file"; then
1235 # Some versions of bash will fail to source /dev/null (special
1236 # files actually), so we avoid doing that.
1237 if test -f "$cache_file"; then
1238 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1239 echo "$as_me: loading cache $cache_file" >&6;}
1241 [\\/]* | ?:[\\/]* ) . $cache_file;;
1242 *) . ./$cache_file;;
1246 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1247 echo "$as_me: creating cache $cache_file" >&6;}
1251 # Check that the precious variables saved in the cache have kept the same
1253 ac_cache_corrupted=false
1254 for ac_var in `(set) 2>&1 |
1255 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1256 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1257 eval ac_new_set=\$ac_env_${ac_var}_set
1258 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1259 eval ac_new_val="\$ac_env_${ac_var}_value"
1260 case $ac_old_set,$ac_new_set in
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1264 ac_cache_corrupted=: ;;
1266 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1267 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1268 ac_cache_corrupted=: ;;
1271 if test "x$ac_old_val" != "x$ac_new_val"; then
1272 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1273 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1274 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1275 echo "$as_me: former value: $ac_old_val" >&2;}
1276 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1277 echo "$as_me: current value: $ac_new_val" >&2;}
1278 ac_cache_corrupted=:
1281 # Pass precious variables to config.status.
1282 if test "$ac_new_set" = set; then
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1286 *) ac_arg=$ac_var=$ac_new_val ;;
1288 case " $ac_configure_args " in
1289 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1290 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1294 if $ac_cache_corrupted; then
1295 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1296 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1297 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1298 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1299 { (exit 1); exit 1; }; }
1303 ac_cpp='$CPP $CPPFLAGS'
1304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1305 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1335 ac_config_headers="$ac_config_headers src/config.h"
1339 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1340 if test -f $ac_dir/install-sh; then
1342 ac_install_sh="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh; then
1346 ac_install_sh="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool; then
1350 ac_install_sh="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1363 # Make sure we can run config.sub.
1364 $ac_config_sub sun4 >/dev/null 2>&1 ||
1365 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1366 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1367 { (exit 1); exit 1; }; }
1369 echo "$as_me:$LINENO: checking build system type" >&5
1370 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1371 if test "${ac_cv_build+set}" = set; then
1372 echo $ECHO_N "(cached) $ECHO_C" >&6
1374 ac_cv_build_alias=$build_alias
1375 test -z "$ac_cv_build_alias" &&
1376 ac_cv_build_alias=`$ac_config_guess`
1377 test -z "$ac_cv_build_alias" &&
1378 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1379 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1380 { (exit 1); exit 1; }; }
1381 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1382 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1383 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1384 { (exit 1); exit 1; }; }
1387 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1388 echo "${ECHO_T}$ac_cv_build" >&6
1390 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1391 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1392 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1395 echo "$as_me:$LINENO: checking host system type" >&5
1396 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1397 if test "${ac_cv_host+set}" = set; then
1398 echo $ECHO_N "(cached) $ECHO_C" >&6
1400 ac_cv_host_alias=$host_alias
1401 test -z "$ac_cv_host_alias" &&
1402 ac_cv_host_alias=$ac_cv_build_alias
1403 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1404 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1405 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1406 { (exit 1); exit 1; }; }
1409 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1410 echo "${ECHO_T}$ac_cv_host" >&6
1412 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1413 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1414 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1417 echo "$as_me:$LINENO: checking target system type" >&5
1418 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1419 if test "${ac_cv_target+set}" = set; then
1420 echo $ECHO_N "(cached) $ECHO_C" >&6
1422 ac_cv_target_alias=$target_alias
1423 test "x$ac_cv_target_alias" = "x" &&
1424 ac_cv_target_alias=$ac_cv_host_alias
1425 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1426 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1427 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1428 { (exit 1); exit 1; }; }
1431 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1432 echo "${ECHO_T}$ac_cv_target" >&6
1433 target=$ac_cv_target
1434 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1435 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1436 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1439 # The aliases save the names the user supplied, while $host etc.
1440 # will get canonicalized.
1441 test -n "$target_alias" &&
1442 test "$program_prefix$program_suffix$program_transform_name" = \
1444 program_prefix=${target_alias}-
1445 am__api_version="1.9"
1446 # Find a good install program. We prefer a C program (faster),
1447 # so one script is as good as another. But avoid the broken or
1448 # incompatible versions:
1449 # SysV /etc/install, /usr/sbin/install
1450 # SunOS /usr/etc/install
1451 # IRIX /sbin/install
1453 # AmigaOS /C/install, which installs bootblocks on floppy discs
1454 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1455 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1456 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1457 # OS/2's system install, which has a completely different semantic
1458 # ./install, which can be erroneously created by make from ./install.sh.
1459 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1460 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1461 if test -z "$INSTALL"; then
1462 if test "${ac_cv_path_install+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1469 test -z "$as_dir" && as_dir
=.
1470 # Account for people who put trailing slashes in PATH elements.
1472 .
/ | .
// | /cC
/* | \
1473 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
1474 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1477 # OSF1 and SCO ODT 3.0 have their own names for install.
1478 # Don't use installbsd from OSF since it installs stuff as root
1480 for ac_prog
in ginstall scoinst
install; do
1481 for ac_exec_ext
in '' $ac_executable_extensions; do
1482 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1483 if test $ac_prog = install &&
1484 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1485 # AIX install. It has an incompatible calling convention.
1487 elif test $ac_prog = install &&
1488 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1489 # program-specific install script used by HP pwplus--don't use.
1492 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1504 if test "${ac_cv_path_install+set}" = set; then
1505 INSTALL
=$ac_cv_path_install
1507 # As a last resort, use the slow shell script. We don't cache a
1508 # path for INSTALL within a source directory, because that will
1509 # break other packages using the cache if that directory is
1510 # removed, or if the path is relative.
1511 INSTALL
=$ac_install_sh
1514 echo "$as_me:$LINENO: result: $INSTALL" >&5
1515 echo "${ECHO_T}$INSTALL" >&6
1517 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1518 # It thinks the first close brace ends the variable substitution.
1519 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1521 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1523 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1525 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1526 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1529 echo timestamp
> conftest.
file
1530 # Do `set' in a subshell so we don't clobber the current shell's
1531 # arguments. Must try -L first in case configure is actually a
1532 # symlink; some systems play weird games with the mod time of symlinks
1533 # (eg FreeBSD returns the mod time of the symlink's containing
1536 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1537 if test "$*" = "X"; then
1539 set X
`ls -t $srcdir/configure conftest.file`
1542 if test "$*" != "X $srcdir/configure conftest.file" \
1543 && test "$*" != "X conftest.file $srcdir/configure"; then
1545 # If neither matched, then we have a broken ls. This can happen
1546 # if, for instance, CONFIG_SHELL is bash and it inherits a
1547 # broken ls alias from the environment. This has actually
1548 # happened. Such a system could not be considered "sane".
1549 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1550 alias in your environment" >&5
1551 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1552 alias in your environment" >&2;}
1553 { (exit 1); exit 1; }; }
1556 test "$2" = conftest.
file
1562 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1563 Check your system clock" >&5
1564 echo "$as_me: error: newly created file is older than distributed files!
1565 Check your system clock" >&2;}
1566 { (exit 1); exit 1; }; }
1568 echo "$as_me:$LINENO: result: yes" >&5
1569 echo "${ECHO_T}yes" >&6
1570 test "$program_prefix" != NONE
&&
1571 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1572 # Use a double $ so make ignores it.
1573 test "$program_suffix" != NONE
&&
1574 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1575 # Double any \ or $. echo might interpret backslashes.
1576 # By default was `s,x,x', remove it if useless.
1577 cat <<\_ACEOF
>conftest.
sed
1578 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1580 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1583 # expand $ac_aux_dir to an absolute path
1584 am_aux_dir
=`cd $ac_aux_dir && pwd`
1586 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
1587 # Use eval to expand $SHELL
1588 if eval "$MISSING --run true"; then
1589 am_missing_run
="$MISSING --run "
1592 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1593 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1596 if mkdir -p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1597 # We used to keeping the `.' as first argument, in order to
1598 # allow $(mkdir_p) to be used without argument. As in
1599 # $(mkdir_p) $(somedir)
1600 # where $(somedir) is conditionally defined. However this is wrong
1602 # 1. if the package is installed by a user who cannot write `.'
1603 # make install will fail,
1604 # 2. the above comment should most certainly read
1605 # $(mkdir_p) $(DESTDIR)$(somedir)
1606 # so it does not work when $(somedir) is undefined and
1607 # $(DESTDIR) is not.
1608 # To support the latter case, we have to write
1609 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1610 # so the `.' trick is pointless.
1611 mkdir_p
='mkdir -p --'
1613 # On NextStep and OpenStep, the `mkdir' command does not
1614 # recognize any option. It will interpret all options as
1615 # directories to create, and then abort because `.' already
1617 for d
in .
/-p .
/--version;
1619 test -d $d && rmdir $d
1621 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1622 if test -f "$ac_aux_dir/mkinstalldirs"; then
1623 mkdir_p
='$(mkinstalldirs)'
1625 mkdir_p
='$(install_sh) -d'
1629 for ac_prog
in gawk mawk nawk
awk
1631 # Extract the first word of "$ac_prog", so it can be a program name with args.
1632 set dummy
$ac_prog; ac_word
=$2
1633 echo "$as_me:$LINENO: checking for $ac_word" >&5
1634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1635 if test "${ac_cv_prog_AWK+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 if test -n "$AWK"; then
1639 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1645 test -z "$as_dir" && as_dir
=.
1646 for ac_exec_ext
in '' $ac_executable_extensions; do
1647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1648 ac_cv_prog_AWK
="$ac_prog"
1649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1658 if test -n "$AWK"; then
1659 echo "$as_me:$LINENO: result: $AWK" >&5
1660 echo "${ECHO_T}$AWK" >&6
1662 echo "$as_me:$LINENO: result: no" >&5
1663 echo "${ECHO_T}no" >&6
1666 test -n "$AWK" && break
1669 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1670 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1671 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1672 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 cat >conftest.
make <<\_ACEOF
1677 @
echo 'ac_maketemp="$(MAKE)"'
1679 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1680 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1681 if test -n "$ac_maketemp"; then
1682 eval ac_cv_prog_make_
${ac_make}_set
=yes
1684 eval ac_cv_prog_make_
${ac_make}_set
=no
1688 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1689 echo "$as_me:$LINENO: result: yes" >&5
1690 echo "${ECHO_T}yes" >&6
1693 echo "$as_me:$LINENO: result: no" >&5
1694 echo "${ECHO_T}no" >&6
1695 SET_MAKE
="MAKE=${MAKE-make}"
1698 rm -rf .tst
2>/dev
/null
1699 mkdir .tst
2>/dev
/null
1700 if test -d .tst
; then
1705 rmdir .tst
2>/dev
/null
1707 # test to see if srcdir already configured
1708 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1709 test -f $srcdir/config.status
; then
1710 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1711 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1712 { (exit 1); exit 1; }; }
1715 # test whether we have cygpath
1716 if test -z "$CYGPATH_W"; then
1717 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1718 CYGPATH_W
='cygpath -w'
1725 # Define the identity of the package.
1730 cat >>confdefs.h
<<_ACEOF
1731 #define PACKAGE "$PACKAGE"
1735 cat >>confdefs.h
<<_ACEOF
1736 #define VERSION "$VERSION"
1739 # Some tools Automake needs.
1741 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1744 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1747 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1750 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1753 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1755 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1757 # Installed binaries are usually stripped using `strip' when the user
1758 # run `make install-strip'. However `strip' might not be the right
1759 # tool to use in cross-compilation environments, therefore Automake
1760 # will honor the `STRIP' environment variable to overrule this program.
1761 if test "$cross_compiling" != no
; then
1762 if test -n "$ac_tool_prefix"; then
1763 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1764 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1765 echo "$as_me:$LINENO: checking for $ac_word" >&5
1766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1767 if test "${ac_cv_prog_STRIP+set}" = set; then
1768 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 if test -n "$STRIP"; then
1771 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1777 test -z "$as_dir" && as_dir
=.
1778 for ac_exec_ext
in '' $ac_executable_extensions; do
1779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1780 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 STRIP
=$ac_cv_prog_STRIP
1790 if test -n "$STRIP"; then
1791 echo "$as_me:$LINENO: result: $STRIP" >&5
1792 echo "${ECHO_T}$STRIP" >&6
1794 echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6
1799 if test -z "$ac_cv_prog_STRIP"; then
1801 # Extract the first word of "strip", so it can be a program name with args.
1802 set dummy strip
; ac_word
=$2
1803 echo "$as_me:$LINENO: checking for $ac_word" >&5
1804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1805 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 if test -n "$ac_ct_STRIP"; then
1809 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1815 test -z "$as_dir" && as_dir
=.
1816 for ac_exec_ext
in '' $ac_executable_extensions; do
1817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1818 ac_cv_prog_ac_ct_STRIP
="strip"
1819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1825 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1828 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1829 if test -n "$ac_ct_STRIP"; then
1830 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1831 echo "${ECHO_T}$ac_ct_STRIP" >&6
1833 echo "$as_me:$LINENO: result: no" >&5
1834 echo "${ECHO_T}no" >&6
1839 STRIP
="$ac_cv_prog_STRIP"
1843 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1845 # We need awk for the "check" target. The system "awk" is bad on
1847 # Always define AMTAR for backward compatibility.
1849 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1851 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1857 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1858 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1859 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1860 if test "${enable_maintainer_mode+set}" = set; then
1861 enableval
="$enable_maintainer_mode"
1862 USE_MAINTAINER_MODE
=$enableval
1864 USE_MAINTAINER_MODE
=no
1866 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1867 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1870 if test $USE_MAINTAINER_MODE = yes; then
1871 MAINTAINER_MODE_TRUE
=
1872 MAINTAINER_MODE_FALSE
='#'
1874 MAINTAINER_MODE_TRUE
='#'
1875 MAINTAINER_MODE_FALSE
=
1878 MAINT
=$MAINTAINER_MODE_TRUE
1882 DEPDIR
="${am__leading_dot}deps"
1884 ac_config_commands
="$ac_config_commands depfiles"
1887 am_make
=${MAKE-make}
1888 cat > confinc
<< 'END'
1893 # If we don't find an include directive, just comment out the code.
1894 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1895 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1899 # First try GNU make style include.
1900 echo "include confinc" > confmf
1901 # We grep out `Entering directory' and `Leaving directory'
1902 # messages which can occur if `w' ends up in MAKEFLAGS.
1903 # In particular we don't look at `^make:' because GNU make might
1904 # be invoked under some other name (usually "gmake"), in which
1905 # case it prints its new name instead of `make'.
1906 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1911 # Now try BSD make style include.
1912 if test "$am__include" = "#"; then
1913 echo '.include "confinc"' > confmf
1914 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1915 am__include
=.include
1922 echo "$as_me:$LINENO: result: $_am_result" >&5
1923 echo "${ECHO_T}$_am_result" >&6
1924 rm -f confinc confmf
1926 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1927 if test "${enable_dependency_tracking+set}" = set; then
1928 enableval
="$enable_dependency_tracking"
1931 if test "x$enable_dependency_tracking" != xno
; then
1932 am_depcomp
="$ac_aux_dir/depcomp"
1937 if test "x$enable_dependency_tracking" != xno; then
1948 ac_cpp
='$CPP $CPPFLAGS'
1949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1952 if test -n "$ac_tool_prefix"; then
1953 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1954 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1955 echo "$as_me:$LINENO: checking for $ac_word" >&5
1956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1957 if test "${ac_cv_prog_CC+set}" = set; then
1958 echo $ECHO_N "(cached) $ECHO_C" >&6
1960 if test -n "$CC"; then
1961 ac_cv_prog_CC
="$CC" # Let the user override the test.
1963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1967 test -z "$as_dir" && as_dir
=.
1968 for ac_exec_ext
in '' $ac_executable_extensions; do
1969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1970 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1980 if test -n "$CC"; then
1981 echo "$as_me:$LINENO: result: $CC" >&5
1982 echo "${ECHO_T}$CC" >&6
1984 echo "$as_me:$LINENO: result: no" >&5
1985 echo "${ECHO_T}no" >&6
1989 if test -z "$ac_cv_prog_CC"; then
1991 # Extract the first word of "gcc", so it can be a program name with args.
1992 set dummy gcc
; ac_word
=$2
1993 echo "$as_me:$LINENO: checking for $ac_word" >&5
1994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1995 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 if test -n "$ac_ct_CC"; then
1999 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2005 test -z "$as_dir" && as_dir
=.
2006 for ac_exec_ext
in '' $ac_executable_extensions; do
2007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2008 ac_cv_prog_ac_ct_CC
="gcc"
2009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2017 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2018 if test -n "$ac_ct_CC"; then
2019 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2020 echo "${ECHO_T}$ac_ct_CC" >&6
2022 echo "$as_me:$LINENO: result: no" >&5
2023 echo "${ECHO_T}no" >&6
2031 if test -z "$CC"; then
2032 if test -n "$ac_tool_prefix"; then
2033 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2034 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2035 echo "$as_me:$LINENO: checking for $ac_word" >&5
2036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2037 if test "${ac_cv_prog_CC+set}" = set; then
2038 echo $ECHO_N "(cached) $ECHO_C" >&6
2040 if test -n "$CC"; then
2041 ac_cv_prog_CC
="$CC" # Let the user override the test.
2043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2047 test -z "$as_dir" && as_dir
=.
2048 for ac_exec_ext
in '' $ac_executable_extensions; do
2049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2050 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2060 if test -n "$CC"; then
2061 echo "$as_me:$LINENO: result: $CC" >&5
2062 echo "${ECHO_T}$CC" >&6
2064 echo "$as_me:$LINENO: result: no" >&5
2065 echo "${ECHO_T}no" >&6
2069 if test -z "$ac_cv_prog_CC"; then
2071 # Extract the first word of "cc", so it can be a program name with args.
2072 set dummy cc
; ac_word
=$2
2073 echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 if test -n "$ac_ct_CC"; then
2079 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2085 test -z "$as_dir" && as_dir
=.
2086 for ac_exec_ext
in '' $ac_executable_extensions; do
2087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2088 ac_cv_prog_ac_ct_CC
="cc"
2089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2098 if test -n "$ac_ct_CC"; then
2099 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2100 echo "${ECHO_T}$ac_ct_CC" >&6
2102 echo "$as_me:$LINENO: result: no" >&5
2103 echo "${ECHO_T}no" >&6
2112 if test -z "$CC"; then
2113 # Extract the first word of "cc", so it can be a program name with args.
2114 set dummy cc
; ac_word
=$2
2115 echo "$as_me:$LINENO: checking for $ac_word" >&5
2116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2117 if test "${ac_cv_prog_CC+set}" = set; then
2118 echo $ECHO_N "(cached) $ECHO_C" >&6
2120 if test -n "$CC"; then
2121 ac_cv_prog_CC
="$CC" # Let the user override the test.
2124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2128 test -z "$as_dir" && as_dir
=.
2129 for ac_exec_ext
in '' $ac_executable_extensions; do
2130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2131 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2132 ac_prog_rejected
=yes
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2142 if test $ac_prog_rejected = yes; then
2143 # We found a bogon in the path, so make sure we never use it.
2144 set dummy
$ac_cv_prog_CC
2146 if test $# != 0; then
2147 # We chose a different compiler from the bogus one.
2148 # However, it has the same basename, so the bogon will be chosen
2149 # first if we set CC to just the basename; use the full file name.
2151 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2157 if test -n "$CC"; then
2158 echo "$as_me:$LINENO: result: $CC" >&5
2159 echo "${ECHO_T}$CC" >&6
2161 echo "$as_me:$LINENO: result: no" >&5
2162 echo "${ECHO_T}no" >&6
2166 if test -z "$CC"; then
2167 if test -n "$ac_tool_prefix"; then
2170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2171 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2172 echo "$as_me:$LINENO: checking for $ac_word" >&5
2173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2174 if test "${ac_cv_prog_CC+set}" = set; then
2175 echo $ECHO_N "(cached) $ECHO_C" >&6
2177 if test -n "$CC"; then
2178 ac_cv_prog_CC
="$CC" # Let the user override the test.
2180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir
=.
2185 for ac_exec_ext
in '' $ac_executable_extensions; do
2186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2197 if test -n "$CC"; then
2198 echo "$as_me:$LINENO: result: $CC" >&5
2199 echo "${ECHO_T}$CC" >&6
2201 echo "$as_me:$LINENO: result: no" >&5
2202 echo "${ECHO_T}no" >&6
2205 test -n "$CC" && break
2208 if test -z "$CC"; then
2212 # Extract the first word of "$ac_prog", so it can be a program name with args.
2213 set dummy
$ac_prog; ac_word
=$2
2214 echo "$as_me:$LINENO: checking for $ac_word" >&5
2215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2217 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 if test -n "$ac_ct_CC"; then
2220 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2226 test -z "$as_dir" && as_dir
=.
2227 for ac_exec_ext
in '' $ac_executable_extensions; do
2228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2229 ac_cv_prog_ac_ct_CC
="$ac_prog"
2230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2239 if test -n "$ac_ct_CC"; then
2240 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2241 echo "${ECHO_T}$ac_ct_CC" >&6
2243 echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6
2247 test -n "$ac_ct_CC" && break
2256 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2257 See \`config.log' for more details." >&5
2258 echo "$as_me: error: no acceptable C compiler found in \$PATH
2259 See \`config.log' for more details." >&2;}
2260 { (exit 1); exit 1; }; }
2262 # Provide some information about the compiler.
2263 echo "$as_me:$LINENO:" \
2264 "checking for C compiler version" >&5
2265 ac_compiler
=`set X $ac_compile; echo $2`
2266 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2267 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }
2271 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2272 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }
2276 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2277 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }
2282 cat >conftest.
$ac_ext <<_ACEOF
2285 cat confdefs.h
>>conftest.
$ac_ext
2286 cat >>conftest.
$ac_ext <<_ACEOF
2287 /* end confdefs.h. */
2297 ac_clean_files_save
=$ac_clean_files
2298 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2299 # Try to create an executable without -o first, disregard a.out.
2300 # It will help us diagnose broken compilers, and finding out an intuition
2302 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2303 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2304 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2305 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2306 (eval $ac_link_default) 2>&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; then
2310 # Find the output, starting from the most likely. This scheme is
2311 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2314 # Be careful to initialize this variable, since it used to be cached.
2315 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2317 # b.out is created by i960 compilers.
2318 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2320 test -f "$ac_file" || continue
2322 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
2325 # This is the source file.
2328 # We found the default executable, but exeext='' is most
2332 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2333 # FIXME: I believe we export ac_cv_exeext for Libtool,
2334 # but it would be cool to find out if it's true. Does anybody
2335 # maintain Libtool? --akim.
2343 echo "$as_me: failed program was:" >&5
2344 sed 's/^/| /' conftest.
$ac_ext >&5
2346 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2347 See \`config.log' for more details." >&5
2348 echo "$as_me: error: C compiler cannot create executables
2349 See \`config.log' for more details." >&2;}
2350 { (exit 77); exit 77; }; }
2353 ac_exeext
=$ac_cv_exeext
2354 echo "$as_me:$LINENO: result: $ac_file" >&5
2355 echo "${ECHO_T}$ac_file" >&6
2357 # Check the compiler produces executables we can run. If not, either
2358 # the compiler is broken, or we cross compile.
2359 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2360 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2361 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2362 # If not cross compiling, check that we can run a simple program.
2363 if test "$cross_compiling" != yes; then
2364 if { ac_try
='./$ac_file'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; }; then
2372 if test "$cross_compiling" = maybe
; then
2375 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2376 If you meant to cross compile, use \`--host'.
2377 See \`config.log' for more details." >&5
2378 echo "$as_me: error: cannot run C compiled programs.
2379 If you meant to cross compile, use \`--host'.
2380 See \`config.log' for more details." >&2;}
2381 { (exit 1); exit 1; }; }
2385 echo "$as_me:$LINENO: result: yes" >&5
2386 echo "${ECHO_T}yes" >&6
2388 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2389 ac_clean_files
=$ac_clean_files_save
2390 # Check the compiler produces executables we can run. If not, either
2391 # the compiler is broken, or we cross compile.
2392 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2393 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2394 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2395 echo "${ECHO_T}$cross_compiling" >&6
2397 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2398 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2400 (eval $ac_link) 2>&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; then
2404 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2405 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2406 # work properly (i.e., refer to `conftest.exe'), while it won't with
2408 for ac_file
in conftest.exe conftest conftest.
*; do
2409 test -f "$ac_file" || continue
2411 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
2412 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2419 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2420 See \`config.log' for more details." >&5
2421 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2422 See \`config.log' for more details." >&2;}
2423 { (exit 1); exit 1; }; }
2426 rm -f conftest
$ac_cv_exeext
2427 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2428 echo "${ECHO_T}$ac_cv_exeext" >&6
2430 rm -f conftest.
$ac_ext
2431 EXEEXT
=$ac_cv_exeext
2433 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2434 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2435 if test "${ac_cv_objext+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 cat >conftest.
$ac_ext <<_ACEOF
2441 cat confdefs.h
>>conftest.
$ac_ext
2442 cat >>conftest.
$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2453 rm -f conftest.o conftest.obj
2454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2455 (eval $ac_compile) 2>&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; then
2459 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2461 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
2462 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2467 echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.
$ac_ext >&5
2470 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2471 See \`config.log' for more details." >&5
2472 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2473 See \`config.log' for more details." >&2;}
2474 { (exit 1); exit 1; }; }
2477 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2479 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2480 echo "${ECHO_T}$ac_cv_objext" >&6
2481 OBJEXT
=$ac_cv_objext
2483 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2484 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2485 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 cat >conftest.
$ac_ext <<_ACEOF
2491 cat confdefs.h
>>conftest.
$ac_ext
2492 cat >>conftest.
$ac_ext <<_ACEOF
2493 /* end confdefs.h. */
2506 rm -f conftest.
$ac_objext
2507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2508 (eval $ac_compile) 2>conftest.er1
2510 grep -v '^ *+' conftest.er1
>conftest.err
2512 cat conftest.err
>&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); } &&
2515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; } &&
2521 { ac_try
='test -s conftest.$ac_objext'
2522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; }; then
2529 echo "$as_me: failed program was:" >&5
2530 sed 's/^/| /' conftest.
$ac_ext >&5
2534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2535 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2538 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2539 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2540 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2541 ac_test_CFLAGS
=${CFLAGS+set}
2542 ac_save_CFLAGS
=$CFLAGS
2544 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2545 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2546 if test "${ac_cv_prog_cc_g+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 cat >conftest.
$ac_ext <<_ACEOF
2552 cat confdefs.h
>>conftest.
$ac_ext
2553 cat >>conftest.
$ac_ext <<_ACEOF
2554 /* end confdefs.h. */
2564 rm -f conftest.
$ac_objext
2565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2566 (eval $ac_compile) 2>conftest.er1
2568 grep -v '^ *+' conftest.er1
>conftest.err
2570 cat conftest.err
>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); } &&
2573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; } &&
2579 { ac_try
='test -s conftest.$ac_objext'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; }; then
2587 echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.
$ac_ext >&5
2592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2594 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2595 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2596 if test "$ac_test_CFLAGS" = set; then
2597 CFLAGS
=$ac_save_CFLAGS
2598 elif test $ac_cv_prog_cc_g = yes; then
2599 if test "$GCC" = yes; then
2605 if test "$GCC" = yes; then
2611 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2612 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2613 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 ac_cv_prog_cc_stdc
=no
2618 cat >conftest.
$ac_ext <<_ACEOF
2621 cat confdefs.h
>>conftest.
$ac_ext
2622 cat >>conftest.
$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2626 #include <sys/types.h>
2627 #include <sys/stat.h>
2628 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2629 struct buf { int x; };
2630 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2631 static char *e (p, i)
2637 static char *f (char * (*g) (char **, int), char **p, ...)
2642 s = g (p, va_arg (v,int));
2647 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2648 function prototypes and stuff, but not '\xHH' hex character constants.
2649 These don't provoke an error unfortunately, instead are silently treated
2650 as 'x'. The following induces an error, until -std1 is added to get
2651 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2652 array size at least. It's necessary to write '\x00'==0 to get something
2653 that's true only with -std1. */
2654 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2656 int test (int i, double x);
2657 struct s1 {int (*f) (int a);};
2658 struct s2 {int (*f) (double a);};
2659 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2665 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2670 # Don't try gcc -ansi; that turns off useful extensions and
2671 # breaks some systems' header files.
2672 # AIX -qlanglvl=ansi
2673 # Ultrix and OSF/1 -std1
2674 # HP-UX 10.20 and later -Ae
2675 # HP-UX older versions -Aa -D_HPUX_SOURCE
2676 # SVR4 -Xc -D__EXTENSIONS__
2677 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2679 CC
="$ac_save_CC $ac_arg"
2680 rm -f conftest.
$ac_objext
2681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2682 (eval $ac_compile) 2>conftest.er1
2684 grep -v '^ *+' conftest.er1
>conftest.err
2686 cat conftest.err
>&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); } &&
2689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); }; } &&
2695 { ac_try
='test -s conftest.$ac_objext'
2696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; }; then
2701 ac_cv_prog_cc_stdc
=$ac_arg
2704 echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.
$ac_ext >&5
2708 rm -f conftest.err conftest.
$ac_objext
2710 rm -f conftest.
$ac_ext conftest.
$ac_objext
2715 case "x$ac_cv_prog_cc_stdc" in
2717 echo "$as_me:$LINENO: result: none needed" >&5
2718 echo "${ECHO_T}none needed" >&6 ;;
2720 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2721 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2722 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2725 # Some people use a C++ compiler to compile C. Since we use `exit',
2726 # in C++ we need to declare it. In case someone uses the same compiler
2727 # for both compiling C and C++ we need to have the C++ compiler decide
2728 # the declaration of exit, since it's the most demanding environment.
2729 cat >conftest.
$ac_ext <<_ACEOF
2734 rm -f conftest.
$ac_objext
2735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2736 (eval $ac_compile) 2>conftest.er1
2738 grep -v '^ *+' conftest.er1
>conftest.err
2740 cat conftest.err
>&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } &&
2743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; } &&
2749 { ac_try
='test -s conftest.$ac_objext'
2750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }; }; then
2755 for ac_declaration
in \
2757 'extern "C" void std::exit (int) throw (); using std::exit;' \
2758 'extern "C" void std::exit (int); using std::exit;' \
2759 'extern "C" void exit (int) throw ();' \
2760 'extern "C" void exit (int);' \
2763 cat >conftest.
$ac_ext <<_ACEOF
2766 cat confdefs.h
>>conftest.
$ac_ext
2767 cat >>conftest.
$ac_ext <<_ACEOF
2768 /* end confdefs.h. */
2779 rm -f conftest.
$ac_objext
2780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2781 (eval $ac_compile) 2>conftest.er1
2783 grep -v '^ *+' conftest.er1
>conftest.err
2785 cat conftest.err
>&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); } &&
2788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; } &&
2794 { ac_try
='test -s conftest.$ac_objext'
2795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }; }; then
2802 echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.
$ac_ext >&5
2807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2808 cat >conftest.
$ac_ext <<_ACEOF
2811 cat confdefs.h
>>conftest.
$ac_ext
2812 cat >>conftest.
$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2823 rm -f conftest.
$ac_objext
2824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2825 (eval $ac_compile) 2>conftest.er1
2827 grep -v '^ *+' conftest.er1
>conftest.err
2829 cat conftest.err
>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); } &&
2832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; } &&
2838 { ac_try
='test -s conftest.$ac_objext'
2839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; }; then
2846 echo "$as_me: failed program was:" >&5
2847 sed 's/^/| /' conftest.
$ac_ext >&5
2850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2853 if test -n "$ac_declaration"; then
2854 echo '#ifdef __cplusplus' >>confdefs.h
2855 echo $ac_declaration >>confdefs.h
2856 echo '#endif' >>confdefs.h
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.
$ac_ext >&5
2864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2866 ac_cpp
='$CPP $CPPFLAGS'
2867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2871 depcc
="$CC" am_compiler_list
=
2873 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2874 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2875 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2879 # We make a subdir and do the tests there. Otherwise we can end up
2880 # making bogus files that we don't know about and never remove. For
2881 # instance it was reported that on HP-UX the gcc test will end up
2882 # making a dummy file named `D' -- because `-MD' means `put the output
2885 # Copy depcomp to subdir because otherwise we won't find it if we're
2886 # using a relative directory.
2887 cp "$am_depcomp" conftest.dir
2889 # We will build objects and dependencies in a subdirectory because
2890 # it helps to detect inapplicable dependency modes. For instance
2891 # both Tru64's cc and ICC support -MD to output dependencies as a
2892 # side effect of compilation, but ICC will put the dependencies in
2893 # the current directory while Tru64 will put them in the object
2897 am_cv_CC_dependencies_compiler_type
=none
2898 if test "$am_compiler_list" = ""; then
2899 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2901 for depmode
in $am_compiler_list; do
2902 # Setup a source with many dependencies, because some compilers
2903 # like to wrap large dependency lists on column 80 (with \), and
2904 # we should not choose a depcomp mode which is confused by this.
2906 # We need to recreate these files for each test, as the compiler may
2907 # overwrite some of them when testing with obscure command lines.
2908 # This happens at least with the AIX C compiler.
2910 for i
in 1 2 3 4 5 6; do
2911 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2912 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2913 # Solaris 8's {/usr,}/bin/sh.
2914 touch sub
/conftst
$i.h
2916 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2920 # after this tag, mechanisms are not by side-effect, so they'll
2921 # only be used when explicitly requested
2922 if test "x$enable_dependency_tracking" = xyes
; then
2930 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2931 # mode. It turns out that the SunPro C++ compiler does not properly
2932 # handle `-M -o', and we need to detect this.
2933 if depmode
=$depmode \
2934 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2935 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2936 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2937 >/dev
/null
2>conftest.err
&&
2938 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2939 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2940 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2941 # icc doesn't choke on unknown options, it will just issue warnings
2942 # or remarks (even with -Werror). So we grep stderr for any message
2943 # that says an option was ignored or not supported.
2944 # When given -MP, icc 7.0 and 7.1 complain thusly:
2945 # icc: Command line warning: ignoring option '-M'; no argument required
2946 # The diagnosis changed in icc 8.0:
2947 # icc: Command line remark: option '-MP' not supported
2948 if (grep 'ignoring option' conftest.err
||
2949 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2950 am_cv_CC_dependencies_compiler_type
=$depmode
2959 am_cv_CC_dependencies_compiler_type
=none
2963 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2964 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2965 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2970 test "x$enable_dependency_tracking" != xno \
2971 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2973 am__fastdepCC_FALSE
='#'
2975 am__fastdepCC_TRUE
='#'
2976 am__fastdepCC_FALSE
=
2981 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
2982 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
2983 if test "${ac_cv_type_signal+set}" = set; then
2984 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 cat >conftest.
$ac_ext <<_ACEOF
2989 cat confdefs.h
>>conftest.
$ac_ext
2990 cat >>conftest.
$ac_ext <<_ACEOF
2991 /* end confdefs.h. */
2992 #include <sys/types.h>
2998 extern "C" void (*signal (int, void (*)(int)))(int);
3000 void (*signal ()) ();
3011 rm -f conftest.
$ac_objext
3012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3013 (eval $ac_compile) 2>conftest.er1
3015 grep -v '^ *+' conftest.er1
>conftest.err
3017 cat conftest.err
>&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); } &&
3020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; } &&
3026 { ac_try
='test -s conftest.$ac_objext'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; }; then
3032 ac_cv_type_signal
=void
3034 echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.
$ac_ext >&5
3037 ac_cv_type_signal
=int
3039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3041 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3042 echo "${ECHO_T}$ac_cv_type_signal" >&6
3044 cat >>confdefs.h
<<_ACEOF
3045 #define RETSIGTYPE $ac_cv_type_signal
3049 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3050 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3051 if test "${ac_cv_c_const+set}" = set; then
3052 echo $ECHO_N "(cached) $ECHO_C" >&6
3054 cat >conftest.
$ac_ext <<_ACEOF
3057 cat confdefs.h
>>conftest.
$ac_ext
3058 cat >>conftest.
$ac_ext <<_ACEOF
3059 /* end confdefs.h. */
3064 /* FIXME: Include the comments suggested by Paul. */
3066 /* Ultrix mips cc rejects this. */
3067 typedef int charset[2];
3069 /* SunOS 4.1.1 cc rejects this. */
3070 char const *const *ccp;
3072 /* NEC SVR4.0.2 mips cc rejects this. */
3073 struct point {int x, y;};
3074 static struct point const zero = {0,0};
3075 /* AIX XL C 1.02.0.0 rejects this.
3076 It does not let you subtract one const X* pointer from another in
3077 an arm of an if-expression whose if-part is not a constant
3079 const char *g = "string";
3080 ccp = &g + (g ? g-g : 0);
3081 /* HPUX 7.0 cc rejects these. */
3084 ccp = (char const *const *) p;
3085 { /* SCO 3.2v4 cc rejects this. */
3087 char const *s = 0 ? (char *) 0 : (char const *) 0;
3091 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3093 const int *foo = &x[0];
3096 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3097 typedef const int *iptr;
3101 { /* AIX XL C 1.02.0.0 rejects this saying
3102 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3103 struct s { int j; const int *ap[3]; };
3104 struct s *b; b->j = 5;
3106 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3115 rm -f conftest.
$ac_objext
3116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3117 (eval $ac_compile) 2>conftest.er1
3119 grep -v '^ *+' conftest.er1
>conftest.err
3121 cat conftest.err
>&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); } &&
3124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }; } &&
3130 { ac_try
='test -s conftest.$ac_objext'
3131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); }; }; then
3138 echo "$as_me: failed program was:" >&5
3139 sed 's/^/| /' conftest.
$ac_ext >&5
3143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3145 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3146 echo "${ECHO_T}$ac_cv_c_const" >&6
3147 if test $ac_cv_c_const = no
; then
3149 cat >>confdefs.h
<<\_ACEOF
3155 echo "$as_me:$LINENO: checking for inline" >&5
3156 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3157 if test "${ac_cv_c_inline+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3161 for ac_kw
in inline __inline__ __inline
; do
3162 cat >conftest.
$ac_ext <<_ACEOF
3165 cat confdefs.h
>>conftest.
$ac_ext
3166 cat >>conftest.
$ac_ext <<_ACEOF
3167 /* end confdefs.h. */
3170 static $ac_kw foo_t static_foo () {return 0; }
3171 $ac_kw foo_t foo () {return 0; }
3175 rm -f conftest.
$ac_objext
3176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3177 (eval $ac_compile) 2>conftest.er1
3179 grep -v '^ *+' conftest.er1
>conftest.err
3181 cat conftest.err
>&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); } &&
3184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); }; } &&
3190 { ac_try
='test -s conftest.$ac_objext'
3191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); }; }; then
3196 ac_cv_c_inline
=$ac_kw; break
3198 echo "$as_me: failed program was:" >&5
3199 sed 's/^/| /' conftest.
$ac_ext >&5
3202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3206 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3207 echo "${ECHO_T}$ac_cv_c_inline" >&6
3210 case $ac_cv_c_inline in
3213 case $ac_cv_c_inline in
3215 *) ac_val
=$ac_cv_c_inline;;
3217 cat >>confdefs.h
<<_ACEOF
3219 #define inline $ac_val
3226 for ac_prog
in gawk mawk nawk
awk
3228 # Extract the first word of "$ac_prog", so it can be a program name with args.
3229 set dummy
$ac_prog; ac_word
=$2
3230 echo "$as_me:$LINENO: checking for $ac_word" >&5
3231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3232 if test "${ac_cv_prog_AWK+set}" = set; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 if test -n "$AWK"; then
3236 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3242 test -z "$as_dir" && as_dir
=.
3243 for ac_exec_ext
in '' $ac_executable_extensions; do
3244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3245 ac_cv_prog_AWK
="$ac_prog"
3246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3255 if test -n "$AWK"; then
3256 echo "$as_me:$LINENO: result: $AWK" >&5
3257 echo "${ECHO_T}$AWK" >&6
3259 echo "$as_me:$LINENO: result: no" >&5
3260 echo "${ECHO_T}no" >&6
3263 test -n "$AWK" && break
3267 ac_cpp
='$CPP $CPPFLAGS'
3268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3271 if test -n "$ac_tool_prefix"; then
3272 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3273 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3274 echo "$as_me:$LINENO: checking for $ac_word" >&5
3275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3276 if test "${ac_cv_prog_CC+set}" = set; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3279 if test -n "$CC"; then
3280 ac_cv_prog_CC
="$CC" # Let the user override the test.
3282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3286 test -z "$as_dir" && as_dir
=.
3287 for ac_exec_ext
in '' $ac_executable_extensions; do
3288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3289 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 if test -n "$CC"; then
3300 echo "$as_me:$LINENO: result: $CC" >&5
3301 echo "${ECHO_T}$CC" >&6
3303 echo "$as_me:$LINENO: result: no" >&5
3304 echo "${ECHO_T}no" >&6
3308 if test -z "$ac_cv_prog_CC"; then
3310 # Extract the first word of "gcc", so it can be a program name with args.
3311 set dummy gcc
; ac_word
=$2
3312 echo "$as_me:$LINENO: checking for $ac_word" >&5
3313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3314 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3315 echo $ECHO_N "(cached) $ECHO_C" >&6
3317 if test -n "$ac_ct_CC"; then
3318 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3324 test -z "$as_dir" && as_dir
=.
3325 for ac_exec_ext
in '' $ac_executable_extensions; do
3326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3327 ac_cv_prog_ac_ct_CC
="gcc"
3328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3336 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3337 if test -n "$ac_ct_CC"; then
3338 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3339 echo "${ECHO_T}$ac_ct_CC" >&6
3341 echo "$as_me:$LINENO: result: no" >&5
3342 echo "${ECHO_T}no" >&6
3350 if test -z "$CC"; then
3351 if test -n "$ac_tool_prefix"; then
3352 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3353 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3354 echo "$as_me:$LINENO: checking for $ac_word" >&5
3355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3356 if test "${ac_cv_prog_CC+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3359 if test -n "$CC"; then
3360 ac_cv_prog_CC
="$CC" # Let the user override the test.
3362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir
=.
3367 for ac_exec_ext
in '' $ac_executable_extensions; do
3368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3369 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3379 if test -n "$CC"; then
3380 echo "$as_me:$LINENO: result: $CC" >&5
3381 echo "${ECHO_T}$CC" >&6
3383 echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6
3388 if test -z "$ac_cv_prog_CC"; then
3390 # Extract the first word of "cc", so it can be a program name with args.
3391 set dummy cc
; ac_word
=$2
3392 echo "$as_me:$LINENO: checking for $ac_word" >&5
3393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3394 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3395 echo $ECHO_N "(cached) $ECHO_C" >&6
3397 if test -n "$ac_ct_CC"; then
3398 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3404 test -z "$as_dir" && as_dir
=.
3405 for ac_exec_ext
in '' $ac_executable_extensions; do
3406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3407 ac_cv_prog_ac_ct_CC
="cc"
3408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3416 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3417 if test -n "$ac_ct_CC"; then
3418 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3419 echo "${ECHO_T}$ac_ct_CC" >&6
3421 echo "$as_me:$LINENO: result: no" >&5
3422 echo "${ECHO_T}no" >&6
3431 if test -z "$CC"; then
3432 # Extract the first word of "cc", so it can be a program name with args.
3433 set dummy cc
; ac_word
=$2
3434 echo "$as_me:$LINENO: checking for $ac_word" >&5
3435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3436 if test "${ac_cv_prog_CC+set}" = set; then
3437 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 if test -n "$CC"; then
3440 ac_cv_prog_CC
="$CC" # Let the user override the test.
3443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3447 test -z "$as_dir" && as_dir
=.
3448 for ac_exec_ext
in '' $ac_executable_extensions; do
3449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3450 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3451 ac_prog_rejected
=yes
3455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3461 if test $ac_prog_rejected = yes; then
3462 # We found a bogon in the path, so make sure we never use it.
3463 set dummy
$ac_cv_prog_CC
3465 if test $# != 0; then
3466 # We chose a different compiler from the bogus one.
3467 # However, it has the same basename, so the bogon will be chosen
3468 # first if we set CC to just the basename; use the full file name.
3470 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3476 if test -n "$CC"; then
3477 echo "$as_me:$LINENO: result: $CC" >&5
3478 echo "${ECHO_T}$CC" >&6
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3485 if test -z "$CC"; then
3486 if test -n "$ac_tool_prefix"; then
3489 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3490 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3491 echo "$as_me:$LINENO: checking for $ac_word" >&5
3492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3493 if test "${ac_cv_prog_CC+set}" = set; then
3494 echo $ECHO_N "(cached) $ECHO_C" >&6
3496 if test -n "$CC"; then
3497 ac_cv_prog_CC
="$CC" # Let the user override the test.
3499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3503 test -z "$as_dir" && as_dir
=.
3504 for ac_exec_ext
in '' $ac_executable_extensions; do
3505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3506 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 if test -n "$CC"; then
3517 echo "$as_me:$LINENO: result: $CC" >&5
3518 echo "${ECHO_T}$CC" >&6
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3524 test -n "$CC" && break
3527 if test -z "$CC"; then
3531 # Extract the first word of "$ac_prog", so it can be a program name with args.
3532 set dummy
$ac_prog; ac_word
=$2
3533 echo "$as_me:$LINENO: checking for $ac_word" >&5
3534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3535 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3536 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 if test -n "$ac_ct_CC"; then
3539 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3545 test -z "$as_dir" && as_dir
=.
3546 for ac_exec_ext
in '' $ac_executable_extensions; do
3547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3548 ac_cv_prog_ac_ct_CC
="$ac_prog"
3549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3557 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3558 if test -n "$ac_ct_CC"; then
3559 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3560 echo "${ECHO_T}$ac_ct_CC" >&6
3562 echo "$as_me:$LINENO: result: no" >&5
3563 echo "${ECHO_T}no" >&6
3566 test -n "$ac_ct_CC" && break
3575 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3576 See \`config.log' for more details." >&5
3577 echo "$as_me: error: no acceptable C compiler found in \$PATH
3578 See \`config.log' for more details." >&2;}
3579 { (exit 1); exit 1; }; }
3581 # Provide some information about the compiler.
3582 echo "$as_me:$LINENO:" \
3583 "checking for C compiler version" >&5
3584 ac_compiler
=`set X $ac_compile; echo $2`
3585 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3586 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); }
3590 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3591 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); }
3595 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3596 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); }
3601 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3602 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3603 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 cat >conftest.
$ac_ext <<_ACEOF
3609 cat confdefs.h
>>conftest.
$ac_ext
3610 cat >>conftest.
$ac_ext <<_ACEOF
3611 /* end confdefs.h. */
3624 rm -f conftest.
$ac_objext
3625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3626 (eval $ac_compile) 2>conftest.er1
3628 grep -v '^ *+' conftest.er1
>conftest.err
3630 cat conftest.err
>&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } &&
3633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); }; } &&
3639 { ac_try
='test -s conftest.$ac_objext'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; }; then
3647 echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.
$ac_ext >&5
3652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3653 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3656 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3657 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3658 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3659 ac_test_CFLAGS
=${CFLAGS+set}
3660 ac_save_CFLAGS
=$CFLAGS
3662 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3663 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3664 if test "${ac_cv_prog_cc_g+set}" = set; then
3665 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 cat >conftest.
$ac_ext <<_ACEOF
3670 cat confdefs.h
>>conftest.
$ac_ext
3671 cat >>conftest.
$ac_ext <<_ACEOF
3672 /* end confdefs.h. */
3682 rm -f conftest.
$ac_objext
3683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3684 (eval $ac_compile) 2>conftest.er1
3686 grep -v '^ *+' conftest.er1
>conftest.err
3688 cat conftest.err
>&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } &&
3691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); }; } &&
3697 { ac_try
='test -s conftest.$ac_objext'
3698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }; }; then
3705 echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.
$ac_ext >&5
3710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3714 if test "$ac_test_CFLAGS" = set; then
3715 CFLAGS
=$ac_save_CFLAGS
3716 elif test $ac_cv_prog_cc_g = yes; then
3717 if test "$GCC" = yes; then
3723 if test "$GCC" = yes; then
3729 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3730 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3731 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3732 echo $ECHO_N "(cached) $ECHO_C" >&6
3734 ac_cv_prog_cc_stdc
=no
3736 cat >conftest.
$ac_ext <<_ACEOF
3739 cat confdefs.h
>>conftest.
$ac_ext
3740 cat >>conftest.
$ac_ext <<_ACEOF
3741 /* end confdefs.h. */
3744 #include <sys/types.h>
3745 #include <sys/stat.h>
3746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3747 struct buf { int x; };
3748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3749 static char *e (p, i)
3755 static char *f (char * (*g) (char **, int), char **p, ...)
3760 s = g (p, va_arg (v,int));
3765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3766 function prototypes and stuff, but not '\xHH' hex character constants.
3767 These don't provoke an error unfortunately, instead are silently treated
3768 as 'x'. The following induces an error, until -std1 is added to get
3769 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3770 array size at least. It's necessary to write '\x00'==0 to get something
3771 that's true only with -std1. */
3772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3774 int test (int i, double x);
3775 struct s1 {int (*f) (int a);};
3776 struct s2 {int (*f) (double a);};
3777 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3783 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3788 # Don't try gcc -ansi; that turns off useful extensions and
3789 # breaks some systems' header files.
3790 # AIX -qlanglvl=ansi
3791 # Ultrix and OSF/1 -std1
3792 # HP-UX 10.20 and later -Ae
3793 # HP-UX older versions -Aa -D_HPUX_SOURCE
3794 # SVR4 -Xc -D__EXTENSIONS__
3795 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3797 CC
="$ac_save_CC $ac_arg"
3798 rm -f conftest.
$ac_objext
3799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3800 (eval $ac_compile) 2>conftest.er1
3802 grep -v '^ *+' conftest.er1
>conftest.err
3804 cat conftest.err
>&5
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); } &&
3807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); }; } &&
3813 { ac_try
='test -s conftest.$ac_objext'
3814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); }; }; then
3819 ac_cv_prog_cc_stdc
=$ac_arg
3822 echo "$as_me: failed program was:" >&5
3823 sed 's/^/| /' conftest.
$ac_ext >&5
3826 rm -f conftest.err conftest.
$ac_objext
3828 rm -f conftest.
$ac_ext conftest.
$ac_objext
3833 case "x$ac_cv_prog_cc_stdc" in
3835 echo "$as_me:$LINENO: result: none needed" >&5
3836 echo "${ECHO_T}none needed" >&6 ;;
3838 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3839 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3840 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3843 # Some people use a C++ compiler to compile C. Since we use `exit',
3844 # in C++ we need to declare it. In case someone uses the same compiler
3845 # for both compiling C and C++ we need to have the C++ compiler decide
3846 # the declaration of exit, since it's the most demanding environment.
3847 cat >conftest.
$ac_ext <<_ACEOF
3852 rm -f conftest.
$ac_objext
3853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3854 (eval $ac_compile) 2>conftest.er1
3856 grep -v '^ *+' conftest.er1
>conftest.err
3858 cat conftest.err
>&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); } &&
3861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); }; } &&
3867 { ac_try
='test -s conftest.$ac_objext'
3868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); }; }; then
3873 for ac_declaration
in \
3875 'extern "C" void std::exit (int) throw (); using std::exit;' \
3876 'extern "C" void std::exit (int); using std::exit;' \
3877 'extern "C" void exit (int) throw ();' \
3878 'extern "C" void exit (int);' \
3881 cat >conftest.
$ac_ext <<_ACEOF
3884 cat confdefs.h
>>conftest.
$ac_ext
3885 cat >>conftest.
$ac_ext <<_ACEOF
3886 /* end confdefs.h. */
3897 rm -f conftest.
$ac_objext
3898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3899 (eval $ac_compile) 2>conftest.er1
3901 grep -v '^ *+' conftest.er1
>conftest.err
3903 cat conftest.err
>&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); } &&
3906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); }; } &&
3912 { ac_try
='test -s conftest.$ac_objext'
3913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); }; }; then
3920 echo "$as_me: failed program was:" >&5
3921 sed 's/^/| /' conftest.
$ac_ext >&5
3925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3926 cat >conftest.
$ac_ext <<_ACEOF
3929 cat confdefs.h
>>conftest.
$ac_ext
3930 cat >>conftest.
$ac_ext <<_ACEOF
3931 /* end confdefs.h. */
3941 rm -f conftest.
$ac_objext
3942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3943 (eval $ac_compile) 2>conftest.er1
3945 grep -v '^ *+' conftest.er1
>conftest.err
3947 cat conftest.err
>&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); } &&
3950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; } &&
3956 { ac_try
='test -s conftest.$ac_objext'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; }; then
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.
$ac_ext >&5
3968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3971 if test -n "$ac_declaration"; then
3972 echo '#ifdef __cplusplus' >>confdefs.h
3973 echo $ac_declaration >>confdefs.h
3974 echo '#endif' >>confdefs.h
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.
$ac_ext >&5
3982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3984 ac_cpp
='$CPP $CPPFLAGS'
3985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3989 depcc
="$CC" am_compiler_list
=
3991 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3992 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3993 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3996 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3997 # We make a subdir and do the tests there. Otherwise we can end up
3998 # making bogus files that we don't know about and never remove. For
3999 # instance it was reported that on HP-UX the gcc test will end up
4000 # making a dummy file named `D' -- because `-MD' means `put the output
4003 # Copy depcomp to subdir because otherwise we won't find it if we're
4004 # using a relative directory.
4005 cp "$am_depcomp" conftest.dir
4007 # We will build objects and dependencies in a subdirectory because
4008 # it helps to detect inapplicable dependency modes. For instance
4009 # both Tru64's cc and ICC support -MD to output dependencies as a
4010 # side effect of compilation, but ICC will put the dependencies in
4011 # the current directory while Tru64 will put them in the object
4015 am_cv_CC_dependencies_compiler_type
=none
4016 if test "$am_compiler_list" = ""; then
4017 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4019 for depmode
in $am_compiler_list; do
4020 # Setup a source with many dependencies, because some compilers
4021 # like to wrap large dependency lists on column 80 (with \), and
4022 # we should not choose a depcomp mode which is confused by this.
4024 # We need to recreate these files for each test, as the compiler may
4025 # overwrite some of them when testing with obscure command lines.
4026 # This happens at least with the AIX C compiler.
4028 for i
in 1 2 3 4 5 6; do
4029 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4030 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4031 # Solaris 8's {/usr,}/bin/sh.
4032 touch sub
/conftst
$i.h
4034 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4038 # after this tag, mechanisms are not by side-effect, so they'll
4039 # only be used when explicitly requested
4040 if test "x$enable_dependency_tracking" = xyes
; then
4048 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4049 # mode. It turns out that the SunPro C++ compiler does not properly
4050 # handle `-M -o', and we need to detect this.
4051 if depmode
=$depmode \
4052 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4053 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4054 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4055 >/dev
/null
2>conftest.err
&&
4056 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4057 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4058 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4059 # icc doesn't choke on unknown options, it will just issue warnings
4060 # or remarks (even with -Werror). So we grep stderr for any message
4061 # that says an option was ignored or not supported.
4062 # When given -MP, icc 7.0 and 7.1 complain thusly:
4063 # icc: Command line warning: ignoring option '-M'; no argument required
4064 # The diagnosis changed in icc 8.0:
4065 # icc: Command line remark: option '-MP' not supported
4066 if (grep 'ignoring option' conftest.err
||
4067 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4068 am_cv_CC_dependencies_compiler_type
=$depmode
4077 am_cv_CC_dependencies_compiler_type
=none
4081 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4082 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4083 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4088 test "x$enable_dependency_tracking" != xno \
4089 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4091 am__fastdepCC_FALSE
='#'
4093 am__fastdepCC_TRUE
='#'
4094 am__fastdepCC_FALSE
=
4098 if test -n "$ac_tool_prefix"; then
4099 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4100 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4101 echo "$as_me:$LINENO: checking for $ac_word" >&5
4102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4103 if test "${ac_cv_prog_RANLIB+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 if test -n "$RANLIB"; then
4107 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir
=.
4114 for ac_exec_ext
in '' $ac_executable_extensions; do
4115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 RANLIB
=$ac_cv_prog_RANLIB
4126 if test -n "$RANLIB"; then
4127 echo "$as_me:$LINENO: result: $RANLIB" >&5
4128 echo "${ECHO_T}$RANLIB" >&6
4130 echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4135 if test -z "$ac_cv_prog_RANLIB"; then
4136 ac_ct_RANLIB
=$RANLIB
4137 # Extract the first word of "ranlib", so it can be a program name with args.
4138 set dummy ranlib
; ac_word
=$2
4139 echo "$as_me:$LINENO: checking for $ac_word" >&5
4140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4141 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4144 if test -n "$ac_ct_RANLIB"; then
4145 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4151 test -z "$as_dir" && as_dir
=.
4152 for ac_exec_ext
in '' $ac_executable_extensions; do
4153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4154 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4161 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4164 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4165 if test -n "$ac_ct_RANLIB"; then
4166 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4167 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4169 echo "$as_me:$LINENO: result: no" >&5
4170 echo "${ECHO_T}no" >&6
4173 RANLIB
=$ac_ct_RANLIB
4175 RANLIB
="$ac_cv_prog_RANLIB"
4178 # Find a good install program. We prefer a C program (faster),
4179 # so one script is as good as another. But avoid the broken or
4180 # incompatible versions:
4181 # SysV /etc/install, /usr/sbin/install
4182 # SunOS /usr/etc/install
4183 # IRIX /sbin/install
4185 # AmigaOS /C/install, which installs bootblocks on floppy discs
4186 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4187 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4188 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4189 # OS/2's system install, which has a completely different semantic
4190 # ./install, which can be erroneously created by make from ./install.sh.
4191 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4192 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4193 if test -z "$INSTALL"; then
4194 if test "${ac_cv_path_install+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4201 test -z "$as_dir" && as_dir
=.
4202 # Account for people who put trailing slashes in PATH elements.
4204 .
/ | .
// | /cC
/* | \
4205 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4206 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4209 # OSF1 and SCO ODT 3.0 have their own names for install.
4210 # Don't use installbsd from OSF since it installs stuff as root
4212 for ac_prog
in ginstall scoinst
install; do
4213 for ac_exec_ext
in '' $ac_executable_extensions; do
4214 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4215 if test $ac_prog = install &&
4216 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4217 # AIX install. It has an incompatible calling convention.
4219 elif test $ac_prog = install &&
4220 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4221 # program-specific install script used by HP pwplus--don't use.
4224 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4236 if test "${ac_cv_path_install+set}" = set; then
4237 INSTALL
=$ac_cv_path_install
4239 # As a last resort, use the slow shell script. We don't cache a
4240 # path for INSTALL within a source directory, because that will
4241 # break other packages using the cache if that directory is
4242 # removed, or if the path is relative.
4243 INSTALL
=$ac_install_sh
4246 echo "$as_me:$LINENO: result: $INSTALL" >&5
4247 echo "${ECHO_T}$INSTALL" >&6
4249 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4250 # It thinks the first close brace ends the variable substitution.
4251 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4253 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4255 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4257 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4258 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4260 if test "$LN_S" = "ln -s"; then
4261 echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6
4264 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4265 echo "${ECHO_T}no, using $LN_S" >&6
4268 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4269 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4270 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
4271 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4272 echo $ECHO_N "(cached) $ECHO_C" >&6
4274 cat >conftest.
make <<\_ACEOF
4276 @
echo 'ac_maketemp="$(MAKE)"'
4278 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4279 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4280 if test -n "$ac_maketemp"; then
4281 eval ac_cv_prog_make_
${ac_make}_set
=yes
4283 eval ac_cv_prog_make_
${ac_make}_set
=no
4287 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4288 echo "$as_me:$LINENO: result: yes" >&5
4289 echo "${ECHO_T}yes" >&6
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4294 SET_MAKE
="MAKE=${MAKE-make}"
4298 ac_cpp
='$CPP $CPPFLAGS'
4299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4302 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4303 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4304 # On Suns, sometimes $CPP names a directory.
4305 if test -n "$CPP" && test -d "$CPP"; then
4308 if test -z "$CPP"; then
4309 if test "${ac_cv_prog_CPP+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 # Double quotes because CPP needs to be expanded
4313 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4316 for ac_c_preproc_warn_flag
in '' yes
4318 # Use a header file that comes with gcc, so configuring glibc
4319 # with a fresh cross-compiler works.
4320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4321 # <limits.h> exists even on freestanding compilers.
4322 # On the NeXT, cc -E runs the code through the compiler's parser,
4323 # not just through cpp. "Syntax error" is here to catch this case.
4324 cat >conftest.
$ac_ext <<_ACEOF
4327 cat confdefs.h
>>conftest.
$ac_ext
4328 cat >>conftest.
$ac_ext <<_ACEOF
4329 /* end confdefs.h. */
4331 # include <limits.h>
4333 # include <assert.h>
4337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4338 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4340 grep -v '^ *+' conftest.er1
>conftest.err
4342 cat conftest.err
>&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); } >/dev
/null
; then
4345 if test -s conftest.err
; then
4346 ac_cpp_err
=$ac_c_preproc_warn_flag
4347 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4354 if test -z "$ac_cpp_err"; then
4357 echo "$as_me: failed program was:" >&5
4358 sed 's/^/| /' conftest.
$ac_ext >&5
4360 # Broken: fails on valid input.
4363 rm -f conftest.err conftest.
$ac_ext
4365 # OK, works on sane cases. Now check whether non-existent headers
4366 # can be detected and how.
4367 cat >conftest.
$ac_ext <<_ACEOF
4370 cat confdefs.h
>>conftest.
$ac_ext
4371 cat >>conftest.
$ac_ext <<_ACEOF
4372 /* end confdefs.h. */
4373 #include <ac_nonexistent.h>
4375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4376 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4378 grep -v '^ *+' conftest.er1
>conftest.err
4380 cat conftest.err
>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); } >/dev
/null
; then
4383 if test -s conftest.err
; then
4384 ac_cpp_err
=$ac_c_preproc_warn_flag
4385 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4392 if test -z "$ac_cpp_err"; then
4393 # Broken: success on invalid input.
4396 echo "$as_me: failed program was:" >&5
4397 sed 's/^/| /' conftest.
$ac_ext >&5
4399 # Passes both tests.
4403 rm -f conftest.err conftest.
$ac_ext
4406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4407 rm -f conftest.err conftest.
$ac_ext
4408 if $ac_preproc_ok; then
4420 echo "$as_me:$LINENO: result: $CPP" >&5
4421 echo "${ECHO_T}$CPP" >&6
4423 for ac_c_preproc_warn_flag
in '' yes
4425 # Use a header file that comes with gcc, so configuring glibc
4426 # with a fresh cross-compiler works.
4427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4428 # <limits.h> exists even on freestanding compilers.
4429 # On the NeXT, cc -E runs the code through the compiler's parser,
4430 # not just through cpp. "Syntax error" is here to catch this case.
4431 cat >conftest.
$ac_ext <<_ACEOF
4434 cat confdefs.h
>>conftest.
$ac_ext
4435 cat >>conftest.
$ac_ext <<_ACEOF
4436 /* end confdefs.h. */
4438 # include <limits.h>
4440 # include <assert.h>
4444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4445 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4447 grep -v '^ *+' conftest.er1
>conftest.err
4449 cat conftest.err
>&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } >/dev
/null
; then
4452 if test -s conftest.err
; then
4453 ac_cpp_err
=$ac_c_preproc_warn_flag
4454 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4461 if test -z "$ac_cpp_err"; then
4464 echo "$as_me: failed program was:" >&5
4465 sed 's/^/| /' conftest.
$ac_ext >&5
4467 # Broken: fails on valid input.
4470 rm -f conftest.err conftest.
$ac_ext
4472 # OK, works on sane cases. Now check whether non-existent headers
4473 # can be detected and how.
4474 cat >conftest.
$ac_ext <<_ACEOF
4477 cat confdefs.h
>>conftest.
$ac_ext
4478 cat >>conftest.
$ac_ext <<_ACEOF
4479 /* end confdefs.h. */
4480 #include <ac_nonexistent.h>
4482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4483 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4485 grep -v '^ *+' conftest.er1
>conftest.err
4487 cat conftest.err
>&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); } >/dev
/null
; then
4490 if test -s conftest.err
; then
4491 ac_cpp_err
=$ac_c_preproc_warn_flag
4492 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4499 if test -z "$ac_cpp_err"; then
4500 # Broken: success on invalid input.
4503 echo "$as_me: failed program was:" >&5
4504 sed 's/^/| /' conftest.
$ac_ext >&5
4506 # Passes both tests.
4510 rm -f conftest.err conftest.
$ac_ext
4513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4514 rm -f conftest.err conftest.
$ac_ext
4515 if $ac_preproc_ok; then
4518 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4519 See \`config.log' for more details." >&5
4520 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4521 See \`config.log' for more details." >&2;}
4522 { (exit 1); exit 1; }; }
4526 ac_cpp
='$CPP $CPPFLAGS'
4527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4532 echo "$as_me:$LINENO: checking for egrep" >&5
4533 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4534 if test "${ac_cv_prog_egrep+set}" = set; then
4535 echo $ECHO_N "(cached) $ECHO_C" >&6
4537 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
4538 then ac_cv_prog_egrep
='grep -E'
4539 else ac_cv_prog_egrep
='egrep'
4542 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4543 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4544 EGREP
=$ac_cv_prog_egrep
4547 if test $ac_cv_c_compiler_gnu = yes; then
4548 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4549 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4550 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 ac_pattern
="Autoconf.*'x'"
4554 cat >conftest.
$ac_ext <<_ACEOF
4557 cat confdefs.h
>>conftest.
$ac_ext
4558 cat >>conftest.
$ac_ext <<_ACEOF
4559 /* end confdefs.h. */
4563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4564 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
4565 ac_cv_prog_gcc_traditional
=yes
4567 ac_cv_prog_gcc_traditional
=no
4572 if test $ac_cv_prog_gcc_traditional = no
; then
4573 cat >conftest.
$ac_ext <<_ACEOF
4576 cat confdefs.h
>>conftest.
$ac_ext
4577 cat >>conftest.
$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4583 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
4584 ac_cv_prog_gcc_traditional
=yes
4590 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4591 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4592 if test $ac_cv_prog_gcc_traditional = yes; then
4593 CC
="$CC -traditional"
4599 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
4602 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
4605 cat >>confdefs.h
<<\_ACEOF
4606 #define BROKEN_REGEX 1
4612 EXTRA_DEFINE
="-D__SOLARIS__"
4613 ANSI_SRC
="-fno-builtin"
4616 ANSI_SRC
="-fno-builtin"
4619 EXTRA_DEFINE
="-D_GNU_SOURCE"
4626 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
4629 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4630 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
4631 if test "${ac_cv_lib_socket_socket+set}" = set; then
4632 echo $ECHO_N "(cached) $ECHO_C" >&6
4634 ac_check_lib_save_LIBS
=$LIBS
4635 LIBS
="-lsocket $LIBS"
4636 cat >conftest.
$ac_ext <<_ACEOF
4639 cat confdefs.h
>>conftest.
$ac_ext
4640 cat >>conftest.
$ac_ext <<_ACEOF
4641 /* end confdefs.h. */
4643 /* Override any gcc2 internal prototype to avoid an error. */
4647 /* We use char because int might match the return type of a gcc2
4648 builtin and then its argument prototype would still apply. */
4658 rm -f conftest.
$ac_objext conftest
$ac_exeext
4659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4660 (eval $ac_link) 2>conftest.er1
4662 grep -v '^ *+' conftest.er1
>conftest.err
4664 cat conftest.err
>&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); } &&
4667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; } &&
4673 { ac_try
='test -s conftest$ac_exeext'
4674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); }; }; then
4679 ac_cv_lib_socket_socket
=yes
4681 echo "$as_me: failed program was:" >&5
4682 sed 's/^/| /' conftest.
$ac_ext >&5
4684 ac_cv_lib_socket_socket
=no
4686 rm -f conftest.err conftest.
$ac_objext \
4687 conftest
$ac_exeext conftest.
$ac_ext
4688 LIBS
=$ac_check_lib_save_LIBS
4690 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4691 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
4692 if test $ac_cv_lib_socket_socket = yes; then
4693 cat >>confdefs.h
<<_ACEOF
4694 #define HAVE_LIBSOCKET 1
4697 LIBS
="-lsocket $LIBS"
4702 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4703 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4704 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4705 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 ac_check_lib_save_LIBS
=$LIBS
4709 cat >conftest.
$ac_ext <<_ACEOF
4712 cat confdefs.h
>>conftest.
$ac_ext
4713 cat >>conftest.
$ac_ext <<_ACEOF
4714 /* end confdefs.h. */
4716 /* Override any gcc2 internal prototype to avoid an error. */
4720 /* We use char because int might match the return type of a gcc2
4721 builtin and then its argument prototype would still apply. */
4722 char gethostbyname ();
4731 rm -f conftest.
$ac_objext conftest
$ac_exeext
4732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4733 (eval $ac_link) 2>conftest.er1
4735 grep -v '^ *+' conftest.er1
>conftest.err
4737 cat conftest.err
>&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } &&
4740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); }; } &&
4746 { ac_try
='test -s conftest$ac_exeext'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4752 ac_cv_lib_nsl_gethostbyname
=yes
4754 echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.
$ac_ext >&5
4757 ac_cv_lib_nsl_gethostbyname
=no
4759 rm -f conftest.err conftest.
$ac_objext \
4760 conftest
$ac_exeext conftest.
$ac_ext
4761 LIBS
=$ac_check_lib_save_LIBS
4763 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4764 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4765 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4766 cat >>confdefs.h
<<_ACEOF
4767 #define HAVE_LIBNSL 1
4775 echo "$as_me:$LINENO: checking for main in -lm" >&5
4776 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4777 if test "${ac_cv_lib_m_main+set}" = set; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 ac_check_lib_save_LIBS
=$LIBS
4782 cat >conftest.
$ac_ext <<_ACEOF
4785 cat confdefs.h
>>conftest.
$ac_ext
4786 cat >>conftest.
$ac_ext <<_ACEOF
4787 /* end confdefs.h. */
4798 rm -f conftest.
$ac_objext conftest
$ac_exeext
4799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4800 (eval $ac_link) 2>conftest.er1
4802 grep -v '^ *+' conftest.er1
>conftest.err
4804 cat conftest.err
>&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); } &&
4807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; } &&
4813 { ac_try
='test -s conftest$ac_exeext'
4814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); }; }; then
4819 ac_cv_lib_m_main
=yes
4821 echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.
$ac_ext >&5
4826 rm -f conftest.err conftest.
$ac_objext \
4827 conftest
$ac_exeext conftest.
$ac_ext
4828 LIBS
=$ac_check_lib_save_LIBS
4830 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4831 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4832 if test $ac_cv_lib_m_main = yes; then
4833 cat >>confdefs.h
<<_ACEOF
4842 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4843 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4844 if test "${ac_cv_header_stdc+set}" = set; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4847 cat >conftest.
$ac_ext <<_ACEOF
4850 cat confdefs.h
>>conftest.
$ac_ext
4851 cat >>conftest.
$ac_ext <<_ACEOF
4852 /* end confdefs.h. */
4866 rm -f conftest.
$ac_objext
4867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4868 (eval $ac_compile) 2>conftest.er1
4870 grep -v '^ *+' conftest.er1
>conftest.err
4872 cat conftest.err
>&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } &&
4875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; } &&
4881 { ac_try
='test -s conftest.$ac_objext'
4882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); }; }; then
4887 ac_cv_header_stdc
=yes
4889 echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.
$ac_ext >&5
4892 ac_cv_header_stdc
=no
4894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4896 if test $ac_cv_header_stdc = yes; then
4897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4898 cat >conftest.
$ac_ext <<_ACEOF
4901 cat confdefs.h
>>conftest.
$ac_ext
4902 cat >>conftest.
$ac_ext <<_ACEOF
4903 /* end confdefs.h. */
4907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4908 $EGREP "memchr" >/dev
/null
2>&1; then
4911 ac_cv_header_stdc
=no
4917 if test $ac_cv_header_stdc = yes; then
4918 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4919 cat >conftest.
$ac_ext <<_ACEOF
4922 cat confdefs.h
>>conftest.
$ac_ext
4923 cat >>conftest.
$ac_ext <<_ACEOF
4924 /* end confdefs.h. */
4928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4929 $EGREP "free" >/dev
/null
2>&1; then
4932 ac_cv_header_stdc
=no
4938 if test $ac_cv_header_stdc = yes; then
4939 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4940 if test "$cross_compiling" = yes; then
4943 cat >conftest.
$ac_ext <<_ACEOF
4946 cat confdefs.h
>>conftest.
$ac_ext
4947 cat >>conftest.
$ac_ext <<_ACEOF
4948 /* end confdefs.h. */
4950 #if ((' ' & 0x0FF) == 0x020)
4951 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4952 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4954 # define ISLOWER(c) \
4955 (('a' <= (c) && (c) <= 'i') \
4956 || ('j' <= (c) && (c) <= 'r') \
4957 || ('s' <= (c) && (c) <= 'z'))
4958 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4961 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4966 for (i = 0; i < 256; i++)
4967 if (XOR (islower (i), ISLOWER (i))
4968 || toupper (i) != TOUPPER (i))
4973 rm -f conftest
$ac_exeext
4974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4975 (eval $ac_link) 2>&5
4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); }; }; then
4986 echo "$as_me: program exited with status $ac_status" >&5
4987 echo "$as_me: failed program was:" >&5
4988 sed 's/^/| /' conftest.
$ac_ext >&5
4991 ac_cv_header_stdc
=no
4993 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4997 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4998 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4999 if test $ac_cv_header_stdc = yes; then
5001 cat >>confdefs.h
<<\_ACEOF
5002 #define STDC_HEADERS 1
5008 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5009 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5010 if test "${ac_cv_header_time+set}" = set; then
5011 echo $ECHO_N "(cached) $ECHO_C" >&6
5013 cat >conftest.
$ac_ext <<_ACEOF
5016 cat confdefs.h
>>conftest.
$ac_ext
5017 cat >>conftest.
$ac_ext <<_ACEOF
5018 /* end confdefs.h. */
5019 #include <sys/types.h>
5020 #include <sys/time.h>
5026 if ((struct tm *) 0)
5032 rm -f conftest.
$ac_objext
5033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5034 (eval $ac_compile) 2>conftest.er1
5036 grep -v '^ *+' conftest.er1
>conftest.err
5038 cat conftest.err
>&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); } &&
5041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; } &&
5047 { ac_try
='test -s conftest.$ac_objext'
5048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); }; }; then
5053 ac_cv_header_time
=yes
5055 echo "$as_me: failed program was:" >&5
5056 sed 's/^/| /' conftest.
$ac_ext >&5
5058 ac_cv_header_time
=no
5060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5062 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5063 echo "${ECHO_T}$ac_cv_header_time" >&6
5064 if test $ac_cv_header_time = yes; then
5066 cat >>confdefs.h
<<\_ACEOF
5067 #define TIME_WITH_SYS_TIME 1
5072 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5073 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5074 if test "${ac_cv_struct_tm+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 cat >conftest.
$ac_ext <<_ACEOF
5080 cat confdefs.h
>>conftest.
$ac_ext
5081 cat >>conftest.
$ac_ext <<_ACEOF
5082 /* end confdefs.h. */
5083 #include <sys/types.h>
5089 struct tm *tp; tp->tm_sec;
5094 rm -f conftest.
$ac_objext
5095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5096 (eval $ac_compile) 2>conftest.er1
5098 grep -v '^ *+' conftest.er1
>conftest.err
5100 cat conftest.err
>&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } &&
5103 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; } &&
5109 { ac_try
='test -s conftest.$ac_objext'
5110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; }; then
5115 ac_cv_struct_tm
=time.h
5117 echo "$as_me: failed program was:" >&5
5118 sed 's/^/| /' conftest.
$ac_ext >&5
5120 ac_cv_struct_tm
=sys
/time.h
5122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5124 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5125 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5126 if test $ac_cv_struct_tm = sys
/time.h
; then
5128 cat >>confdefs.h
<<\_ACEOF
5129 #define TM_IN_SYS_TIME 1
5135 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5145 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5146 inttypes.h stdint.h unistd.h
5148 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5149 echo "$as_me:$LINENO: checking for $ac_header" >&5
5150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5152 echo $ECHO_N "(cached) $ECHO_C" >&6
5154 cat >conftest.
$ac_ext <<_ACEOF
5157 cat confdefs.h
>>conftest.
$ac_ext
5158 cat >>conftest.
$ac_ext <<_ACEOF
5159 /* end confdefs.h. */
5160 $ac_includes_default
5162 #include <$ac_header>
5164 rm -f conftest.
$ac_objext
5165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5166 (eval $ac_compile) 2>conftest.er1
5168 grep -v '^ *+' conftest.er1
>conftest.err
5170 cat conftest.err
>&5
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); } &&
5173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); }; } &&
5179 { ac_try
='test -s conftest.$ac_objext'
5180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184 (exit $ac_status); }; }; then
5185 eval "$as_ac_Header=yes"
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.
$ac_ext >&5
5190 eval "$as_ac_Header=no"
5192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5197 cat >>confdefs.h
<<_ACEOF
5198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5226 for ac_header
in fcntl.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 regex.h arpa
/inet.h sys
/mman.h sys
/stat.h dirent.h
5228 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5230 echo "$as_me:$LINENO: checking for $ac_header" >&5
5231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5233 echo $ECHO_N "(cached) $ECHO_C" >&6
5235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5238 # Is the header compilable?
5239 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5240 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5241 cat >conftest.
$ac_ext <<_ACEOF
5244 cat confdefs.h
>>conftest.
$ac_ext
5245 cat >>conftest.
$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5247 $ac_includes_default
5248 #include <$ac_header>
5250 rm -f conftest.
$ac_objext
5251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5252 (eval $ac_compile) 2>conftest.er1
5254 grep -v '^ *+' conftest.er1
>conftest.err
5256 cat conftest.err
>&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); } &&
5259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); }; } &&
5265 { ac_try
='test -s conftest.$ac_objext'
5266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); }; }; then
5271 ac_header_compiler
=yes
5273 echo "$as_me: failed program was:" >&5
5274 sed 's/^/| /' conftest.
$ac_ext >&5
5276 ac_header_compiler
=no
5278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5280 echo "${ECHO_T}$ac_header_compiler" >&6
5282 # Is the header present?
5283 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5284 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5285 cat >conftest.
$ac_ext <<_ACEOF
5288 cat confdefs.h
>>conftest.
$ac_ext
5289 cat >>conftest.
$ac_ext <<_ACEOF
5290 /* end confdefs.h. */
5291 #include <$ac_header>
5293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5294 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5296 grep -v '^ *+' conftest.er1
>conftest.err
5298 cat conftest.err
>&5
5299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5300 (exit $ac_status); } >/dev
/null
; then
5301 if test -s conftest.err
; then
5302 ac_cpp_err
=$ac_c_preproc_warn_flag
5303 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5310 if test -z "$ac_cpp_err"; then
5311 ac_header_preproc
=yes
5313 echo "$as_me: failed program was:" >&5
5314 sed 's/^/| /' conftest.
$ac_ext >&5
5316 ac_header_preproc
=no
5318 rm -f conftest.err conftest.
$ac_ext
5319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5320 echo "${ECHO_T}$ac_header_preproc" >&6
5322 # So? What about this header?
5323 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5325 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5326 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5328 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5329 ac_header_preproc
=yes
5332 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5333 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5334 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5335 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5336 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5337 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5338 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5339 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5342 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5343 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5346 ## ---------------------------------------------- ##
5347 ## Report this to srvx-bugs@lists.sourceforge.net ##
5348 ## ---------------------------------------------- ##
5351 sed "s/^/$as_me: WARNING: /" >&2
5354 echo "$as_me:$LINENO: checking for $ac_header" >&5
5355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5357 echo $ECHO_N "(cached) $ECHO_C" >&6
5359 eval "$as_ac_Header=\$ac_header_preproc"
5361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5366 cat >>confdefs.h
<<_ACEOF
5367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5375 echo "$as_me:$LINENO: checking for struct dirent.d_type" >&5
5376 echo $ECHO_N "checking for struct dirent.d_type... $ECHO_C" >&6
5377 if test "${ac_cv_member_struct_dirent_d_type+set}" = set; then
5378 echo $ECHO_N "(cached) $ECHO_C" >&6
5380 cat >conftest.
$ac_ext <<_ACEOF
5383 cat confdefs.h
>>conftest.
$ac_ext
5384 cat >>conftest.
$ac_ext <<_ACEOF
5385 /* end confdefs.h. */
5391 static struct dirent ac_aggr;
5398 rm -f conftest.
$ac_objext
5399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5400 (eval $ac_compile) 2>conftest.er1
5402 grep -v '^ *+' conftest.er1
>conftest.err
5404 cat conftest.err
>&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); } &&
5407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); }; } &&
5413 { ac_try
='test -s conftest.$ac_objext'
5414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); }; }; then
5419 ac_cv_member_struct_dirent_d_type
=yes
5421 echo "$as_me: failed program was:" >&5
5422 sed 's/^/| /' conftest.
$ac_ext >&5
5424 cat >conftest.
$ac_ext <<_ACEOF
5427 cat confdefs.h
>>conftest.
$ac_ext
5428 cat >>conftest.
$ac_ext <<_ACEOF
5429 /* end confdefs.h. */
5435 static struct dirent ac_aggr;
5436 if (sizeof ac_aggr.d_type)
5442 rm -f conftest.
$ac_objext
5443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5444 (eval $ac_compile) 2>conftest.er1
5446 grep -v '^ *+' conftest.er1
>conftest.err
5448 cat conftest.err
>&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } &&
5451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; } &&
5457 { ac_try
='test -s conftest.$ac_objext'
5458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); }; }; then
5463 ac_cv_member_struct_dirent_d_type
=yes
5465 echo "$as_me: failed program was:" >&5
5466 sed 's/^/| /' conftest.
$ac_ext >&5
5468 ac_cv_member_struct_dirent_d_type
=no
5470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5474 echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_type" >&5
5475 echo "${ECHO_T}$ac_cv_member_struct_dirent_d_type" >&6
5476 if test $ac_cv_member_struct_dirent_d_type = yes; then
5478 cat >>confdefs.h
<<\_ACEOF
5479 #define HAVE_DIRENT_D_TYPE 1
5486 for ac_func
in gettimeofday
5488 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5489 echo "$as_me:$LINENO: checking for $ac_func" >&5
5490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5491 if eval "test \"\${$as_ac_var+set}\" = set"; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 cat >conftest.
$ac_ext <<_ACEOF
5497 cat confdefs.h
>>conftest.
$ac_ext
5498 cat >>conftest.
$ac_ext <<_ACEOF
5499 /* end confdefs.h. */
5500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5502 #define $ac_func innocuous_$ac_func
5504 /* System header to define __stub macros and hopefully few prototypes,
5505 which can conflict with char $ac_func (); below.
5506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5507 <limits.h> exists even on freestanding compilers. */
5510 # include <limits.h>
5512 # include <assert.h>
5517 /* Override any gcc2 internal prototype to avoid an error. */
5522 /* We use char because int might match the return type of a gcc2
5523 builtin and then its argument prototype would still apply. */
5525 /* The GNU C library defines this for functions which it implements
5526 to always fail with ENOSYS. Some functions are actually named
5527 something starting with __ and the normal name is an alias. */
5528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5531 char (*f) () = $ac_func;
5540 return f != $ac_func;
5545 rm -f conftest.
$ac_objext conftest
$ac_exeext
5546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5547 (eval $ac_link) 2>conftest.er1
5549 grep -v '^ *+' conftest.er1
>conftest.err
5551 cat conftest.err
>&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); } &&
5554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); }; } &&
5560 { ac_try
='test -s conftest$ac_exeext'
5561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); }; }; then
5566 eval "$as_ac_var=yes"
5568 echo "$as_me: failed program was:" >&5
5569 sed 's/^/| /' conftest.
$ac_ext >&5
5571 eval "$as_ac_var=no"
5573 rm -f conftest.err conftest.
$ac_objext \
5574 conftest
$ac_exeext conftest.
$ac_ext
5576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5578 if test `eval echo '${'$as_ac_var'}'` = yes; then
5579 cat >>confdefs.h
<<_ACEOF
5580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5586 if test $ac_cv_func_gettimeofday = no
; then
5588 for ac_func
in ftime
5590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5591 echo "$as_me:$LINENO: checking for $ac_func" >&5
5592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5593 if eval "test \"\${$as_ac_var+set}\" = set"; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5596 cat >conftest.
$ac_ext <<_ACEOF
5599 cat confdefs.h
>>conftest.
$ac_ext
5600 cat >>conftest.
$ac_ext <<_ACEOF
5601 /* end confdefs.h. */
5602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5604 #define $ac_func innocuous_$ac_func
5606 /* System header to define __stub macros and hopefully few prototypes,
5607 which can conflict with char $ac_func (); below.
5608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5609 <limits.h> exists even on freestanding compilers. */
5612 # include <limits.h>
5614 # include <assert.h>
5619 /* Override any gcc2 internal prototype to avoid an error. */
5624 /* We use char because int might match the return type of a gcc2
5625 builtin and then its argument prototype would still apply. */
5627 /* The GNU C library defines this for functions which it implements
5628 to always fail with ENOSYS. Some functions are actually named
5629 something starting with __ and the normal name is an alias. */
5630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5633 char (*f) () = $ac_func;
5642 return f != $ac_func;
5647 rm -f conftest.
$ac_objext conftest
$ac_exeext
5648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5649 (eval $ac_link) 2>conftest.er1
5651 grep -v '^ *+' conftest.er1
>conftest.err
5653 cat conftest.err
>&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); } &&
5656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); }; } &&
5662 { ac_try
='test -s conftest$ac_exeext'
5663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); }; }; then
5668 eval "$as_ac_var=yes"
5670 echo "$as_me: failed program was:" >&5
5671 sed 's/^/| /' conftest.
$ac_ext >&5
5673 eval "$as_ac_var=no"
5675 rm -f conftest.err conftest.
$ac_objext \
5676 conftest
$ac_exeext conftest.
$ac_ext
5678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5680 if test `eval echo '${'$as_ac_var'}'` = yes; then
5681 cat >>confdefs.h
<<_ACEOF
5682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5686 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. srvx build will fail." >&5
5687 echo "$as_me: error: ftime or gettimeofday required. srvx build will fail." >&2;}
5688 { (exit 1); exit 1; }; }
5709 for ac_func
in bcopy memcpy memset strdup strerror strsignal localtime_r setrlimit inet_ntoa getopt getopt_long regcomp regexec regfree sysconf
5711 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5712 echo "$as_me:$LINENO: checking for $ac_func" >&5
5713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5714 if eval "test \"\${$as_ac_var+set}\" = set"; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5717 cat >conftest.
$ac_ext <<_ACEOF
5720 cat confdefs.h
>>conftest.
$ac_ext
5721 cat >>conftest.
$ac_ext <<_ACEOF
5722 /* end confdefs.h. */
5723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5725 #define $ac_func innocuous_$ac_func
5727 /* System header to define __stub macros and hopefully few prototypes,
5728 which can conflict with char $ac_func (); below.
5729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5730 <limits.h> exists even on freestanding compilers. */
5733 # include <limits.h>
5735 # include <assert.h>
5740 /* Override any gcc2 internal prototype to avoid an error. */
5745 /* We use char because int might match the return type of a gcc2
5746 builtin and then its argument prototype would still apply. */
5748 /* The GNU C library defines this for functions which it implements
5749 to always fail with ENOSYS. Some functions are actually named
5750 something starting with __ and the normal name is an alias. */
5751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5754 char (*f) () = $ac_func;
5763 return f != $ac_func;
5768 rm -f conftest.
$ac_objext conftest
$ac_exeext
5769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5770 (eval $ac_link) 2>conftest.er1
5772 grep -v '^ *+' conftest.er1
>conftest.err
5774 cat conftest.err
>&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); } &&
5777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); }; } &&
5783 { ac_try
='test -s conftest$ac_exeext'
5784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788 (exit $ac_status); }; }; then
5789 eval "$as_ac_var=yes"
5791 echo "$as_me: failed program was:" >&5
5792 sed 's/^/| /' conftest.
$ac_ext >&5
5794 eval "$as_ac_var=no"
5796 rm -f conftest.err conftest.
$ac_objext \
5797 conftest
$ac_exeext conftest.
$ac_ext
5799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5801 if test `eval echo '${'$as_ac_var'}'` = yes; then
5802 cat >>confdefs.h
<<_ACEOF
5803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5816 for ac_func
in select socket strcspn strspn strtod strtoul
5818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5819 echo "$as_me:$LINENO: checking for $ac_func" >&5
5820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5821 if eval "test \"\${$as_ac_var+set}\" = set"; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 cat >conftest.
$ac_ext <<_ACEOF
5827 cat confdefs.h
>>conftest.
$ac_ext
5828 cat >>conftest.
$ac_ext <<_ACEOF
5829 /* end confdefs.h. */
5830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5832 #define $ac_func innocuous_$ac_func
5834 /* System header to define __stub macros and hopefully few prototypes,
5835 which can conflict with char $ac_func (); below.
5836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5837 <limits.h> exists even on freestanding compilers. */
5840 # include <limits.h>
5842 # include <assert.h>
5847 /* Override any gcc2 internal prototype to avoid an error. */
5852 /* We use char because int might match the return type of a gcc2
5853 builtin and then its argument prototype would still apply. */
5855 /* The GNU C library defines this for functions which it implements
5856 to always fail with ENOSYS. Some functions are actually named
5857 something starting with __ and the normal name is an alias. */
5858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5861 char (*f) () = $ac_func;
5870 return f != $ac_func;
5875 rm -f conftest.
$ac_objext conftest
$ac_exeext
5876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5877 (eval $ac_link) 2>conftest.er1
5879 grep -v '^ *+' conftest.er1
>conftest.err
5881 cat conftest.err
>&5
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); } &&
5884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5889 (exit $ac_status); }; } &&
5890 { ac_try
='test -s conftest$ac_exeext'
5891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); }; }; then
5896 eval "$as_ac_var=yes"
5898 echo "$as_me: failed program was:" >&5
5899 sed 's/^/| /' conftest.
$ac_ext >&5
5901 eval "$as_ac_var=no"
5903 rm -f conftest.err conftest.
$ac_objext \
5904 conftest
$ac_exeext conftest.
$ac_ext
5906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5908 if test `eval echo '${'$as_ac_var'}'` = yes; then
5909 cat >>confdefs.h
<<_ACEOF
5910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5914 { { echo "$as_me:$LINENO: error: a required function was not found. srvx build will fail." >&5
5915 echo "$as_me: error: a required function was not found. srvx build will fail." >&2;}
5916 { (exit 1); exit 1; }; }
5921 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5922 # for constant arguments. Useless!
5923 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5924 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5925 if test "${ac_cv_working_alloca_h+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5928 cat >conftest.
$ac_ext <<_ACEOF
5931 cat confdefs.h
>>conftest.
$ac_ext
5932 cat >>conftest.
$ac_ext <<_ACEOF
5933 /* end confdefs.h. */
5938 char *p = (char *) alloca (2 * sizeof (int));
5943 rm -f conftest.
$ac_objext conftest
$ac_exeext
5944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5945 (eval $ac_link) 2>conftest.er1
5947 grep -v '^ *+' conftest.er1
>conftest.err
5949 cat conftest.err
>&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); } &&
5952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; } &&
5958 { ac_try
='test -s conftest$ac_exeext'
5959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); }; }; then
5964 ac_cv_working_alloca_h
=yes
5966 echo "$as_me: failed program was:" >&5
5967 sed 's/^/| /' conftest.
$ac_ext >&5
5969 ac_cv_working_alloca_h
=no
5971 rm -f conftest.err conftest.
$ac_objext \
5972 conftest
$ac_exeext conftest.
$ac_ext
5974 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5975 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5976 if test $ac_cv_working_alloca_h = yes; then
5978 cat >>confdefs.h
<<\_ACEOF
5979 #define HAVE_ALLOCA_H 1
5984 echo "$as_me:$LINENO: checking for alloca" >&5
5985 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5986 if test "${ac_cv_func_alloca_works+set}" = set; then
5987 echo $ECHO_N "(cached) $ECHO_C" >&6
5989 cat >conftest.
$ac_ext <<_ACEOF
5992 cat confdefs.h
>>conftest.
$ac_ext
5993 cat >>conftest.
$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5996 # define alloca __builtin_alloca
5999 # include <malloc.h>
6000 # define alloca _alloca
6003 # include <alloca.h>
6008 # ifndef alloca /* predefined by HP cc +Olibcalls */
6019 char *p = (char *) alloca (1);
6024 rm -f conftest.
$ac_objext conftest
$ac_exeext
6025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6026 (eval $ac_link) 2>conftest.er1
6028 grep -v '^ *+' conftest.er1
>conftest.err
6030 cat conftest.err
>&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); } &&
6033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); }; } &&
6039 { ac_try
='test -s conftest$ac_exeext'
6040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); }; }; then
6045 ac_cv_func_alloca_works
=yes
6047 echo "$as_me: failed program was:" >&5
6048 sed 's/^/| /' conftest.
$ac_ext >&5
6050 ac_cv_func_alloca_works
=no
6052 rm -f conftest.err conftest.
$ac_objext \
6053 conftest
$ac_exeext conftest.
$ac_ext
6055 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6056 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6058 if test $ac_cv_func_alloca_works = yes; then
6060 cat >>confdefs.h
<<\_ACEOF
6061 #define HAVE_ALLOCA 1
6065 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6066 # that cause trouble. Some versions do not even contain alloca or
6067 # contain a buggy version. If you still want to use their alloca,
6068 # use ar to extract alloca.o from them instead of compiling alloca.c.
6070 ALLOCA
=alloca.
$ac_objext
6072 cat >>confdefs.h
<<\_ACEOF
6077 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6078 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6079 if test "${ac_cv_os_cray+set}" = set; then
6080 echo $ECHO_N "(cached) $ECHO_C" >&6
6082 cat >conftest.
$ac_ext <<_ACEOF
6085 cat confdefs.h
>>conftest.
$ac_ext
6086 cat >>conftest.
$ac_ext <<_ACEOF
6087 /* end confdefs.h. */
6088 #if defined(CRAY) && ! defined(CRAY2)
6095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6096 $EGREP "webecray" >/dev
/null
2>&1; then
6104 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6105 echo "${ECHO_T}$ac_cv_os_cray" >&6
6106 if test $ac_cv_os_cray = yes; then
6107 for ac_func
in _getb67 GETB67 getb67
; do
6108 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6109 echo "$as_me:$LINENO: checking for $ac_func" >&5
6110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6111 if eval "test \"\${$as_ac_var+set}\" = set"; then
6112 echo $ECHO_N "(cached) $ECHO_C" >&6
6114 cat >conftest.
$ac_ext <<_ACEOF
6117 cat confdefs.h
>>conftest.
$ac_ext
6118 cat >>conftest.
$ac_ext <<_ACEOF
6119 /* end confdefs.h. */
6120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6122 #define $ac_func innocuous_$ac_func
6124 /* System header to define __stub macros and hopefully few prototypes,
6125 which can conflict with char $ac_func (); below.
6126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6127 <limits.h> exists even on freestanding compilers. */
6130 # include <limits.h>
6132 # include <assert.h>
6137 /* Override any gcc2 internal prototype to avoid an error. */
6142 /* We use char because int might match the return type of a gcc2
6143 builtin and then its argument prototype would still apply. */
6145 /* The GNU C library defines this for functions which it implements
6146 to always fail with ENOSYS. Some functions are actually named
6147 something starting with __ and the normal name is an alias. */
6148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6151 char (*f) () = $ac_func;
6160 return f != $ac_func;
6165 rm -f conftest.
$ac_objext conftest
$ac_exeext
6166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6167 (eval $ac_link) 2>conftest.er1
6169 grep -v '^ *+' conftest.er1
>conftest.err
6171 cat conftest.err
>&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); } &&
6174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; } &&
6180 { ac_try
='test -s conftest$ac_exeext'
6181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); }; }; then
6186 eval "$as_ac_var=yes"
6188 echo "$as_me: failed program was:" >&5
6189 sed 's/^/| /' conftest.
$ac_ext >&5
6191 eval "$as_ac_var=no"
6193 rm -f conftest.err conftest.
$ac_objext \
6194 conftest
$ac_exeext conftest.
$ac_ext
6196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6198 if test `eval echo '${'$as_ac_var'}'` = yes; then
6200 cat >>confdefs.h
<<_ACEOF
6201 #define CRAY_STACKSEG_END $ac_func
6210 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6211 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6212 if test "${ac_cv_c_stack_direction+set}" = set; then
6213 echo $ECHO_N "(cached) $ECHO_C" >&6
6215 if test "$cross_compiling" = yes; then
6216 ac_cv_c_stack_direction
=0
6218 cat >conftest.
$ac_ext <<_ACEOF
6221 cat confdefs.h
>>conftest.
$ac_ext
6222 cat >>conftest.
$ac_ext <<_ACEOF
6223 /* end confdefs.h. */
6225 find_stack_direction ()
6227 static char *addr = 0;
6232 return find_stack_direction ();
6235 return (&dummy > addr) ? 1 : -1;
6241 exit (find_stack_direction () < 0);
6244 rm -f conftest
$ac_exeext
6245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6246 (eval $ac_link) 2>&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); }; }; then
6255 ac_cv_c_stack_direction
=1
6257 echo "$as_me: program exited with status $ac_status" >&5
6258 echo "$as_me: failed program was:" >&5
6259 sed 's/^/| /' conftest.
$ac_ext >&5
6262 ac_cv_c_stack_direction
=-1
6264 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6267 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6268 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6270 cat >>confdefs.h
<<_ACEOF
6271 #define STACK_DIRECTION $ac_cv_c_stack_direction
6279 for ac_header
in stdlib.h unistd.h
6281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6283 echo "$as_me:$LINENO: checking for $ac_header" >&5
6284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6291 # Is the header compilable?
6292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6294 cat >conftest.
$ac_ext <<_ACEOF
6297 cat confdefs.h
>>conftest.
$ac_ext
6298 cat >>conftest.
$ac_ext <<_ACEOF
6299 /* end confdefs.h. */
6300 $ac_includes_default
6301 #include <$ac_header>
6303 rm -f conftest.
$ac_objext
6304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6305 (eval $ac_compile) 2>conftest.er1
6307 grep -v '^ *+' conftest.er1
>conftest.err
6309 cat conftest.err
>&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } &&
6312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); }; } &&
6318 { ac_try
='test -s conftest.$ac_objext'
6319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); }; }; then
6324 ac_header_compiler
=yes
6326 echo "$as_me: failed program was:" >&5
6327 sed 's/^/| /' conftest.
$ac_ext >&5
6329 ac_header_compiler
=no
6331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6333 echo "${ECHO_T}$ac_header_compiler" >&6
6335 # Is the header present?
6336 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6338 cat >conftest.
$ac_ext <<_ACEOF
6341 cat confdefs.h
>>conftest.
$ac_ext
6342 cat >>conftest.
$ac_ext <<_ACEOF
6343 /* end confdefs.h. */
6344 #include <$ac_header>
6346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6347 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6349 grep -v '^ *+' conftest.er1
>conftest.err
6351 cat conftest.err
>&5
6352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); } >/dev
/null
; then
6354 if test -s conftest.err
; then
6355 ac_cpp_err
=$ac_c_preproc_warn_flag
6356 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6363 if test -z "$ac_cpp_err"; then
6364 ac_header_preproc
=yes
6366 echo "$as_me: failed program was:" >&5
6367 sed 's/^/| /' conftest.
$ac_ext >&5
6369 ac_header_preproc
=no
6371 rm -f conftest.err conftest.
$ac_ext
6372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6373 echo "${ECHO_T}$ac_header_preproc" >&6
6375 # So? What about this header?
6376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6378 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6379 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6381 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6382 ac_header_preproc
=yes
6385 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6386 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6387 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6388 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6389 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6390 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6391 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6392 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6395 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6396 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6399 ## ---------------------------------------------- ##
6400 ## Report this to srvx-bugs@lists.sourceforge.net ##
6401 ## ---------------------------------------------- ##
6404 sed "s/^/$as_me: WARNING: /" >&2
6407 echo "$as_me:$LINENO: checking for $ac_header" >&5
6408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6410 echo $ECHO_N "(cached) $ECHO_C" >&6
6412 eval "$as_ac_Header=\$ac_header_preproc"
6414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6419 cat >>confdefs.h
<<_ACEOF
6420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6428 for ac_func
in getpagesize
6430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6431 echo "$as_me:$LINENO: checking for $ac_func" >&5
6432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6433 if eval "test \"\${$as_ac_var+set}\" = set"; then
6434 echo $ECHO_N "(cached) $ECHO_C" >&6
6436 cat >conftest.
$ac_ext <<_ACEOF
6439 cat confdefs.h
>>conftest.
$ac_ext
6440 cat >>conftest.
$ac_ext <<_ACEOF
6441 /* end confdefs.h. */
6442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6444 #define $ac_func innocuous_$ac_func
6446 /* System header to define __stub macros and hopefully few prototypes,
6447 which can conflict with char $ac_func (); below.
6448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6449 <limits.h> exists even on freestanding compilers. */
6452 # include <limits.h>
6454 # include <assert.h>
6459 /* Override any gcc2 internal prototype to avoid an error. */
6464 /* We use char because int might match the return type of a gcc2
6465 builtin and then its argument prototype would still apply. */
6467 /* The GNU C library defines this for functions which it implements
6468 to always fail with ENOSYS. Some functions are actually named
6469 something starting with __ and the normal name is an alias. */
6470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6473 char (*f) () = $ac_func;
6482 return f != $ac_func;
6487 rm -f conftest.
$ac_objext conftest
$ac_exeext
6488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6489 (eval $ac_link) 2>conftest.er1
6491 grep -v '^ *+' conftest.er1
>conftest.err
6493 cat conftest.err
>&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); } &&
6496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); }; } &&
6502 { ac_try
='test -s conftest$ac_exeext'
6503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); }; }; then
6508 eval "$as_ac_var=yes"
6510 echo "$as_me: failed program was:" >&5
6511 sed 's/^/| /' conftest.
$ac_ext >&5
6513 eval "$as_ac_var=no"
6515 rm -f conftest.err conftest.
$ac_objext \
6516 conftest
$ac_exeext conftest.
$ac_ext
6518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6520 if test `eval echo '${'$as_ac_var'}'` = yes; then
6521 cat >>confdefs.h
<<_ACEOF
6522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6528 echo "$as_me:$LINENO: checking for working mmap" >&5
6529 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6530 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6531 echo $ECHO_N "(cached) $ECHO_C" >&6
6533 if test "$cross_compiling" = yes; then
6534 ac_cv_func_mmap_fixed_mapped
=no
6536 cat >conftest.
$ac_ext <<_ACEOF
6539 cat confdefs.h
>>conftest.
$ac_ext
6540 cat >>conftest.
$ac_ext <<_ACEOF
6541 /* end confdefs.h. */
6542 $ac_includes_default
6543 /* malloc might have been renamed as rpl_malloc. */
6546 /* Thanks to Mike Haertel and Jim Avera for this test.
6547 Here is a matrix of mmap possibilities:
6548 mmap private not fixed
6549 mmap private fixed at somewhere currently unmapped
6550 mmap private fixed at somewhere already mapped
6551 mmap shared not fixed
6552 mmap shared fixed at somewhere currently unmapped
6553 mmap shared fixed at somewhere already mapped
6554 For private mappings, we should verify that changes cannot be read()
6555 back from the file, nor mmap's back from the file at a different
6556 address. (There have been systems where private was not correctly
6557 implemented like the infamous i386 svr4.0, and systems where the
6558 VM page cache was not coherent with the file system buffer cache
6559 like early versions of FreeBSD and possibly contemporary NetBSD.)
6560 For shared mappings, we should conversely verify that changes get
6561 propagated back to all the places they're supposed to be.
6563 Grep wants private fixed already mapped.
6564 The main things grep needs to know about mmap are:
6565 * does it exist and is it safe to write into the mmap'd area
6566 * how to use it (BSD variants) */
6569 #include <sys/mman.h>
6571 #if !STDC_HEADERS && !HAVE_STDLIB_H
6575 /* This mess was copied from the GNU getpagesize.h. */
6576 #if !HAVE_GETPAGESIZE
6577 /* Assume that all systems that can run configure have sys/param.h. */
6578 # if !HAVE_SYS_PARAM_H
6579 # define HAVE_SYS_PARAM_H 1
6582 # ifdef _SC_PAGESIZE
6583 # define getpagesize() sysconf(_SC_PAGESIZE)
6584 # else /* no _SC_PAGESIZE */
6585 # if HAVE_SYS_PARAM_H
6586 # include <sys/param.h>
6587 # ifdef EXEC_PAGESIZE
6588 # define getpagesize() EXEC_PAGESIZE
6589 # else /* no EXEC_PAGESIZE */
6591 # define getpagesize() NBPG * CLSIZE
6594 # endif /* no CLSIZE */
6595 # else /* no NBPG */
6597 # define getpagesize() NBPC
6598 # else /* no NBPC */
6600 # define getpagesize() PAGESIZE
6601 # endif /* PAGESIZE */
6602 # endif /* no NBPC */
6603 # endif /* no NBPG */
6604 # endif /* no EXEC_PAGESIZE */
6605 # else /* no HAVE_SYS_PARAM_H */
6606 # define getpagesize() 8192 /* punt totally */
6607 # endif /* no HAVE_SYS_PARAM_H */
6608 # endif /* no _SC_PAGESIZE */
6610 #endif /* no HAVE_GETPAGESIZE */
6615 char *data, *data2, *data3;
6619 pagesize = getpagesize ();
6621 /* First, make a file with some known garbage in it. */
6622 data = (char *) malloc (pagesize);
6625 for (i = 0; i < pagesize; ++i)
6626 *(data + i) = rand ();
6628 fd = creat ("conftest.mmap", 0600);
6631 if (write (fd, data, pagesize) != pagesize)
6635 /* Next, try to mmap the file at a fixed address which already has
6636 something else allocated at it. If we can, also make sure that
6637 we see the same garbage. */
6638 fd = open ("conftest.mmap", O_RDWR);
6641 data2 = (char *) malloc (2 * pagesize);
6644 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6645 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6646 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6648 for (i = 0; i < pagesize; ++i)
6649 if (*(data + i) != *(data2 + i))
6652 /* Finally, make sure that changes to the mapped area do not
6653 percolate back to the file as seen by read(). (This is a bug on
6654 some variants of i386 svr4.0.) */
6655 for (i = 0; i < pagesize; ++i)
6656 *(data2 + i) = *(data2 + i) + 1;
6657 data3 = (char *) malloc (pagesize);
6660 if (read (fd, data3, pagesize) != pagesize)
6662 for (i = 0; i < pagesize; ++i)
6663 if (*(data + i) != *(data3 + i))
6669 rm -f conftest
$ac_exeext
6670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6671 (eval $ac_link) 2>&5
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); }; }; then
6680 ac_cv_func_mmap_fixed_mapped
=yes
6682 echo "$as_me: program exited with status $ac_status" >&5
6683 echo "$as_me: failed program was:" >&5
6684 sed 's/^/| /' conftest.
$ac_ext >&5
6687 ac_cv_func_mmap_fixed_mapped
=no
6689 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6692 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6693 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6694 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6696 cat >>confdefs.h
<<\_ACEOF
6704 echo "$as_me:$LINENO: checking for sin_len" >&5
6705 echo $ECHO_N "checking for sin_len... $ECHO_C" >&6
6706 if test "${ac_cv_sin_len+set}" = set; then
6707 echo $ECHO_N "(cached) $ECHO_C" >&6
6709 cat >conftest.
$ac_ext <<_ACEOF
6712 cat confdefs.h
>>conftest.
$ac_ext
6713 cat >>conftest.
$ac_ext <<_ACEOF
6714 /* end confdefs.h. */
6715 #include <sys/types.h>
6716 #include <netinet/in.h>
6720 struct sockaddr_in *sin; sin->sin_len = 0;
6725 rm -f conftest.
$ac_objext
6726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6727 (eval $ac_compile) 2>conftest.er1
6729 grep -v '^ *+' conftest.er1
>conftest.err
6731 cat conftest.err
>&5
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); } &&
6734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); }; } &&
6740 { ac_try
='test -s conftest.$ac_objext'
6741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); }; }; then
6748 echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.
$ac_ext >&5
6753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6755 echo "$as_me:$LINENO: result: $ac_cv_sin_len" >&5
6756 echo "${ECHO_T}$ac_cv_sin_len" >&6
6757 if test $ac_cv_sin_len = yes ; then
6759 cat >>confdefs.h
<<\_ACEOF
6760 #define HAVE_SIN_LEN 1
6766 CFLAGS
="$CFLAGS -W -Wall -Werror"
6768 echo "$as_me:$LINENO: checking for time_t format" >&5
6769 echo $ECHO_N "checking for time_t format... $ECHO_C" >&6
6770 if test "${ac_cv_fmt_time_t+set}" = set; then
6771 echo $ECHO_N "(cached) $ECHO_C" >&6
6775 cat >conftest.
$ac_ext <<_ACEOF
6776 #include <sys/types.h>
6780 printf("%li", test);
6783 rm -f conftest.
$ac_objext
6784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6785 (eval $ac_compile) 2>conftest.er1
6787 grep -v '^ *+' conftest.er1
>conftest.err
6789 cat conftest.err
>&5
6790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791 (exit $ac_status); } &&
6792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 (exit $ac_status); }; } &&
6798 { ac_try
='test -s conftest.$ac_objext'
6799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803 (exit $ac_status); }; }; then
6804 ac_cv_fmt_time_t
="\"%li\""
6806 echo "$as_me: failed program was:" >&5
6807 sed 's/^/| /' conftest.
$ac_ext >&5
6810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6811 if test $ac_cv_fmt_time_t = no
; then
6812 cat >conftest.
$ac_ext <<_ACEOF
6813 #include <sys/types.h>
6820 rm -f conftest.
$ac_objext
6821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6822 (eval $ac_compile) 2>conftest.er1
6824 grep -v '^ *+' conftest.er1
>conftest.err
6826 cat conftest.err
>&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); } &&
6829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }; } &&
6835 { ac_try
='test -s conftest.$ac_objext'
6836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); }; }; then
6841 ac_cv_fmt_time_t
="\"%i\""
6843 echo "$as_me: failed program was:" >&5
6844 sed 's/^/| /' conftest.
$ac_ext >&5
6847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6849 if test $ac_cv_fmt_time_t = no
; then
6850 { { echo "$as_me:$LINENO: error: Cannot detect format string for time_t
6851 Please check sys/types.h for the typedef of time_t and submit to a developer" >&5
6852 echo "$as_me: error: Cannot detect format string for time_t
6853 Please check sys/types.h for the typedef of time_t and submit to a developer" >&2;}
6854 { (exit 1); exit 1; }; }
6860 cat >>confdefs.h
<<_ACEOF
6861 #define FMT_TIME_T $ac_cv_fmt_time_t
6864 echo "$as_me:$LINENO: result: $ac_cv_fmt_time_t" >&5
6865 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6
6867 echo "$as_me:$LINENO: checking for va_copy" >&5
6868 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
6869 if test "${ac_cv_c_va_copy+set}" = set; then
6870 echo $ECHO_N "(cached) $ECHO_C" >&6
6872 cat >conftest.
$ac_ext <<_ACEOF
6875 cat confdefs.h
>>conftest.
$ac_ext
6876 cat >>conftest.
$ac_ext <<_ACEOF
6877 /* end confdefs.h. */
6882 va_list ap1, ap2; va_copy(ap1, ap2);
6887 rm -f conftest.
$ac_objext conftest
$ac_exeext
6888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6889 (eval $ac_link) 2>conftest.er1
6891 grep -v '^ *+' conftest.er1
>conftest.err
6893 cat conftest.err
>&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } &&
6896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); }; } &&
6902 { ac_try
='test -s conftest$ac_exeext'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); }; }; then
6908 ac_cv_c_va_copy
="yes"
6910 echo "$as_me: failed program was:" >&5
6911 sed 's/^/| /' conftest.
$ac_ext >&5
6913 ac_cv_c_va_copy
="no"
6916 rm -f conftest.err conftest.
$ac_objext \
6917 conftest
$ac_exeext conftest.
$ac_ext
6919 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
6920 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
6921 if test "$ac_cv_c_va_copy" = "yes" ; then
6923 cat >>confdefs.h
<<\_ACEOF
6924 #define HAVE_VA_COPY 1
6929 echo "$as_me:$LINENO: checking for __va_copy" >&5
6930 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
6931 if test "${ac_cv_c___va_copy+set}" = set; then
6932 echo $ECHO_N "(cached) $ECHO_C" >&6
6934 cat >conftest.
$ac_ext <<_ACEOF
6937 cat confdefs.h
>>conftest.
$ac_ext
6938 cat >>conftest.
$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6944 va_list ap1, ap2; __va_copy(ap1, ap2);
6949 rm -f conftest.
$ac_objext conftest
$ac_exeext
6950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6951 (eval $ac_link) 2>conftest.er1
6953 grep -v '^ *+' conftest.er1
>conftest.err
6955 cat conftest.err
>&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); } &&
6958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); }; } &&
6964 { ac_try
='test -s conftest$ac_exeext'
6965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); }; }; then
6970 ac_cv_c___va_copy
="yes"
6972 echo "$as_me: failed program was:" >&5
6973 sed 's/^/| /' conftest.
$ac_ext >&5
6975 ac_cv_c___va_copy
="no"
6978 rm -f conftest.err conftest.
$ac_objext \
6979 conftest
$ac_exeext conftest.
$ac_ext
6981 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
6982 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
6983 if test "$ac_cv_c___va_copy" = "yes" ; then
6985 cat >>confdefs.h
<<\_ACEOF
6986 #define HAVE___VA_COPY 1
6993 echo "$as_me:$LINENO: checking which malloc to use" >&5
6994 echo $ECHO_N "checking which malloc to use... $ECHO_C" >&6
6996 # Check whether --with-malloc or --without-malloc was given.
6997 if test "${with_malloc+set}" = set; then
6998 withval
="$with_malloc"
7003 if test "x$withval" = "xsystem" ; then
7004 echo "$as_me:$LINENO: result: system" >&5
7005 echo "${ECHO_T}system" >&6
7007 cat >>confdefs.h
<<\_ACEOF
7008 #define WITH_MALLOC_SYSTEM 1
7011 elif test "x$withval" = "xdmalloc" ; then
7012 echo "$as_me:$LINENO: result: dmalloc" >&5
7013 echo "${ECHO_T}dmalloc" >&6
7015 for ac_header
in dmalloc.h
7017 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7019 echo "$as_me:$LINENO: checking for $ac_header" >&5
7020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7022 echo $ECHO_N "(cached) $ECHO_C" >&6
7024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7027 # Is the header compilable?
7028 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7029 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7030 cat >conftest.
$ac_ext <<_ACEOF
7033 cat confdefs.h
>>conftest.
$ac_ext
7034 cat >>conftest.
$ac_ext <<_ACEOF
7035 /* end confdefs.h. */
7036 $ac_includes_default
7037 #include <$ac_header>
7039 rm -f conftest.
$ac_objext
7040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7041 (eval $ac_compile) 2>conftest.er1
7043 grep -v '^ *+' conftest.er1
>conftest.err
7045 cat conftest.err
>&5
7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7047 (exit $ac_status); } &&
7048 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); }; } &&
7054 { ac_try
='test -s conftest.$ac_objext'
7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); }; }; then
7060 ac_header_compiler
=yes
7062 echo "$as_me: failed program was:" >&5
7063 sed 's/^/| /' conftest.
$ac_ext >&5
7065 ac_header_compiler
=no
7067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7068 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7069 echo "${ECHO_T}$ac_header_compiler" >&6
7071 # Is the header present?
7072 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7073 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7074 cat >conftest.
$ac_ext <<_ACEOF
7077 cat confdefs.h
>>conftest.
$ac_ext
7078 cat >>conftest.
$ac_ext <<_ACEOF
7079 /* end confdefs.h. */
7080 #include <$ac_header>
7082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7083 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7085 grep -v '^ *+' conftest.er1
>conftest.err
7087 cat conftest.err
>&5
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); } >/dev
/null
; then
7090 if test -s conftest.err
; then
7091 ac_cpp_err
=$ac_c_preproc_warn_flag
7092 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7099 if test -z "$ac_cpp_err"; then
7100 ac_header_preproc
=yes
7102 echo "$as_me: failed program was:" >&5
7103 sed 's/^/| /' conftest.
$ac_ext >&5
7105 ac_header_preproc
=no
7107 rm -f conftest.err conftest.
$ac_ext
7108 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7109 echo "${ECHO_T}$ac_header_preproc" >&6
7111 # So? What about this header?
7112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7114 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7115 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7117 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7118 ac_header_preproc
=yes
7121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7122 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7124 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7125 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7126 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7127 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7128 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7130 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7131 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7132 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7135 ## ---------------------------------------------- ##
7136 ## Report this to srvx-bugs@lists.sourceforge.net ##
7137 ## ---------------------------------------------- ##
7140 sed "s/^/$as_me: WARNING: /" >&2
7143 echo "$as_me:$LINENO: checking for $ac_header" >&5
7144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7146 echo $ECHO_N "(cached) $ECHO_C" >&6
7148 eval "$as_ac_Header=\$ac_header_preproc"
7150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7155 cat >>confdefs.h
<<_ACEOF
7156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7160 { { echo "$as_me:$LINENO: error: dmalloc header file missing. dmalloc build will fail." >&5
7161 echo "$as_me: error: dmalloc header file missing. dmalloc build will fail." >&2;}
7162 { (exit 1); exit 1; }; }
7168 echo "$as_me:$LINENO: checking for malloc in -ldmalloc" >&5
7169 echo $ECHO_N "checking for malloc in -ldmalloc... $ECHO_C" >&6
7170 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
7171 echo $ECHO_N "(cached) $ECHO_C" >&6
7173 ac_check_lib_save_LIBS
=$LIBS
7174 LIBS
="-ldmalloc $LIBS"
7175 cat >conftest.
$ac_ext <<_ACEOF
7178 cat confdefs.h
>>conftest.
$ac_ext
7179 cat >>conftest.
$ac_ext <<_ACEOF
7180 /* end confdefs.h. */
7182 /* Override any gcc2 internal prototype to avoid an error. */
7186 /* We use char because int might match the return type of a gcc2
7187 builtin and then its argument prototype would still apply. */
7197 rm -f conftest.
$ac_objext conftest
$ac_exeext
7198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7199 (eval $ac_link) 2>conftest.er1
7201 grep -v '^ *+' conftest.er1
>conftest.err
7203 cat conftest.err
>&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } &&
7206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7211 (exit $ac_status); }; } &&
7212 { ac_try
='test -s conftest$ac_exeext'
7213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); }; }; then
7218 ac_cv_lib_dmalloc_malloc
=yes
7220 echo "$as_me: failed program was:" >&5
7221 sed 's/^/| /' conftest.
$ac_ext >&5
7223 ac_cv_lib_dmalloc_malloc
=no
7225 rm -f conftest.err conftest.
$ac_objext \
7226 conftest
$ac_exeext conftest.
$ac_ext
7227 LIBS
=$ac_check_lib_save_LIBS
7229 echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_malloc" >&5
7230 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6
7231 if test $ac_cv_lib_dmalloc_malloc = yes; then
7232 cat >>confdefs.h
<<_ACEOF
7233 #define HAVE_LIBDMALLOC 1
7236 LIBS
="-ldmalloc $LIBS"
7239 { { echo "$as_me:$LINENO: error: dmalloc library is missing. dmalloc build will fail." >&5
7240 echo "$as_me: error: dmalloc library is missing. dmalloc build will fail." >&2;}
7241 { (exit 1); exit 1; }; }
7245 cat >>confdefs.h
<<\_ACEOF
7246 #define WITH_MALLOC_DMALLOC 1
7249 elif test "x$withval" = "xmpatrol" ; then
7250 echo "$as_me:$LINENO: result: mpatrol" >&5
7251 echo "${ECHO_T}mpatrol" >&6
7253 for ac_header
in mpatrol.h
7255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7257 echo "$as_me:$LINENO: checking for $ac_header" >&5
7258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7260 echo $ECHO_N "(cached) $ECHO_C" >&6
7262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7265 # Is the header compilable?
7266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7268 cat >conftest.
$ac_ext <<_ACEOF
7271 cat confdefs.h
>>conftest.
$ac_ext
7272 cat >>conftest.
$ac_ext <<_ACEOF
7273 /* end confdefs.h. */
7274 $ac_includes_default
7275 #include <$ac_header>
7277 rm -f conftest.
$ac_objext
7278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7279 (eval $ac_compile) 2>conftest.er1
7281 grep -v '^ *+' conftest.er1
>conftest.err
7283 cat conftest.err
>&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); } &&
7286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); }; } &&
7292 { ac_try
='test -s conftest.$ac_objext'
7293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); }; }; then
7298 ac_header_compiler
=yes
7300 echo "$as_me: failed program was:" >&5
7301 sed 's/^/| /' conftest.
$ac_ext >&5
7303 ac_header_compiler
=no
7305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7307 echo "${ECHO_T}$ac_header_compiler" >&6
7309 # Is the header present?
7310 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7311 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7312 cat >conftest.
$ac_ext <<_ACEOF
7315 cat confdefs.h
>>conftest.
$ac_ext
7316 cat >>conftest.
$ac_ext <<_ACEOF
7317 /* end confdefs.h. */
7318 #include <$ac_header>
7320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7321 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7323 grep -v '^ *+' conftest.er1
>conftest.err
7325 cat conftest.err
>&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); } >/dev
/null
; then
7328 if test -s conftest.err
; then
7329 ac_cpp_err
=$ac_c_preproc_warn_flag
7330 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7337 if test -z "$ac_cpp_err"; then
7338 ac_header_preproc
=yes
7340 echo "$as_me: failed program was:" >&5
7341 sed 's/^/| /' conftest.
$ac_ext >&5
7343 ac_header_preproc
=no
7345 rm -f conftest.err conftest.
$ac_ext
7346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7347 echo "${ECHO_T}$ac_header_preproc" >&6
7349 # So? What about this header?
7350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7355 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7356 ac_header_preproc
=yes
7359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7360 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7362 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7363 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7364 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7365 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7366 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7368 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7369 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7370 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7373 ## ---------------------------------------------- ##
7374 ## Report this to srvx-bugs@lists.sourceforge.net ##
7375 ## ---------------------------------------------- ##
7378 sed "s/^/$as_me: WARNING: /" >&2
7381 echo "$as_me:$LINENO: checking for $ac_header" >&5
7382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7384 echo $ECHO_N "(cached) $ECHO_C" >&6
7386 eval "$as_ac_Header=\$ac_header_preproc"
7388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7393 cat >>confdefs.h
<<_ACEOF
7394 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7398 { { echo "$as_me:$LINENO: error: mpatrol header file missing. mpatrol build will fail." >&5
7399 echo "$as_me: error: mpatrol header file missing. mpatrol build will fail." >&2;}
7400 { (exit 1); exit 1; }; }
7406 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
7407 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
7408 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7411 ac_check_lib_save_LIBS
=$LIBS
7413 cat >conftest.
$ac_ext <<_ACEOF
7416 cat confdefs.h
>>conftest.
$ac_ext
7417 cat >>conftest.
$ac_ext <<_ACEOF
7418 /* end confdefs.h. */
7420 /* Override any gcc2 internal prototype to avoid an error. */
7424 /* We use char because int might match the return type of a gcc2
7425 builtin and then its argument prototype would still apply. */
7435 rm -f conftest.
$ac_objext conftest
$ac_exeext
7436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7437 (eval $ac_link) 2>conftest.er1
7439 grep -v '^ *+' conftest.er1
>conftest.err
7441 cat conftest.err
>&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); } &&
7444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); }; } &&
7450 { ac_try
='test -s conftest$ac_exeext'
7451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); }; }; then
7456 ac_cv_lib_elf_elf_begin
=yes
7458 echo "$as_me: failed program was:" >&5
7459 sed 's/^/| /' conftest.
$ac_ext >&5
7461 ac_cv_lib_elf_elf_begin
=no
7463 rm -f conftest.err conftest.
$ac_objext \
7464 conftest
$ac_exeext conftest.
$ac_ext
7465 LIBS
=$ac_check_lib_save_LIBS
7467 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
7468 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
7469 if test $ac_cv_lib_elf_elf_begin = yes; then
7470 cat >>confdefs.h
<<_ACEOF
7471 #define HAVE_LIBELF 1
7479 echo "$as_me:$LINENO: checking for __mp_atexit in -lmpatrol" >&5
7480 echo $ECHO_N "checking for __mp_atexit in -lmpatrol... $ECHO_C" >&6
7481 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6
7484 ac_check_lib_save_LIBS
=$LIBS
7485 LIBS
="-lmpatrol $LIBS"
7486 cat >conftest.
$ac_ext <<_ACEOF
7489 cat confdefs.h
>>conftest.
$ac_ext
7490 cat >>conftest.
$ac_ext <<_ACEOF
7491 /* end confdefs.h. */
7493 /* Override any gcc2 internal prototype to avoid an error. */
7497 /* We use char because int might match the return type of a gcc2
7498 builtin and then its argument prototype would still apply. */
7499 char __mp_atexit ();
7508 rm -f conftest.
$ac_objext conftest
$ac_exeext
7509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7510 (eval $ac_link) 2>conftest.er1
7512 grep -v '^ *+' conftest.er1
>conftest.err
7514 cat conftest.err
>&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } &&
7517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); }; } &&
7523 { ac_try
='test -s conftest$ac_exeext'
7524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528 (exit $ac_status); }; }; then
7529 ac_cv_lib_mpatrol___mp_atexit
=yes
7531 echo "$as_me: failed program was:" >&5
7532 sed 's/^/| /' conftest.
$ac_ext >&5
7534 ac_cv_lib_mpatrol___mp_atexit
=no
7536 rm -f conftest.err conftest.
$ac_objext \
7537 conftest
$ac_exeext conftest.
$ac_ext
7538 LIBS
=$ac_check_lib_save_LIBS
7540 echo "$as_me:$LINENO: result: $ac_cv_lib_mpatrol___mp_atexit" >&5
7541 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6
7542 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
7543 cat >>confdefs.h
<<_ACEOF
7544 #define HAVE_LIBMPATROL 1
7547 LIBS
="-lmpatrol $LIBS"
7550 { { echo "$as_me:$LINENO: error: mpatrol library is missing completely. mpatrol build will fail." >&5
7551 echo "$as_me: error: mpatrol library is missing completely. mpatrol build will fail." >&2;}
7552 { (exit 1); exit 1; }; }
7556 cat >>confdefs.h
<<\_ACEOF
7557 #define WITH_MALLOC_MPATROL 1
7560 elif test "x$withval" = "xboehm-gc" ; then
7561 echo "$as_me:$LINENO: result: boehm-gc" >&5
7562 echo "${ECHO_T}boehm-gc" >&6
7564 for ac_header
in gc
/gc.h
7566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7568 echo "$as_me:$LINENO: checking for $ac_header" >&5
7569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7571 echo $ECHO_N "(cached) $ECHO_C" >&6
7573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7576 # Is the header compilable?
7577 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7578 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7579 cat >conftest.
$ac_ext <<_ACEOF
7582 cat confdefs.h
>>conftest.
$ac_ext
7583 cat >>conftest.
$ac_ext <<_ACEOF
7584 /* end confdefs.h. */
7585 $ac_includes_default
7586 #include <$ac_header>
7588 rm -f conftest.
$ac_objext
7589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7590 (eval $ac_compile) 2>conftest.er1
7592 grep -v '^ *+' conftest.er1
>conftest.err
7594 cat conftest.err
>&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); } &&
7597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); }; } &&
7603 { ac_try
='test -s conftest.$ac_objext'
7604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); }; }; then
7609 ac_header_compiler
=yes
7611 echo "$as_me: failed program was:" >&5
7612 sed 's/^/| /' conftest.
$ac_ext >&5
7614 ac_header_compiler
=no
7616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7618 echo "${ECHO_T}$ac_header_compiler" >&6
7620 # Is the header present?
7621 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7622 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7623 cat >conftest.
$ac_ext <<_ACEOF
7626 cat confdefs.h
>>conftest.
$ac_ext
7627 cat >>conftest.
$ac_ext <<_ACEOF
7628 /* end confdefs.h. */
7629 #include <$ac_header>
7631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7632 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7634 grep -v '^ *+' conftest.er1
>conftest.err
7636 cat conftest.err
>&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); } >/dev
/null
; then
7639 if test -s conftest.err
; then
7640 ac_cpp_err
=$ac_c_preproc_warn_flag
7641 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7648 if test -z "$ac_cpp_err"; then
7649 ac_header_preproc
=yes
7651 echo "$as_me: failed program was:" >&5
7652 sed 's/^/| /' conftest.
$ac_ext >&5
7654 ac_header_preproc
=no
7656 rm -f conftest.err conftest.
$ac_ext
7657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7658 echo "${ECHO_T}$ac_header_preproc" >&6
7660 # So? What about this header?
7661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7666 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7667 ac_header_preproc
=yes
7670 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7671 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7672 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7673 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7674 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7675 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7676 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7677 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7679 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7680 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7681 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7684 ## ---------------------------------------------- ##
7685 ## Report this to srvx-bugs@lists.sourceforge.net ##
7686 ## ---------------------------------------------- ##
7689 sed "s/^/$as_me: WARNING: /" >&2
7692 echo "$as_me:$LINENO: checking for $ac_header" >&5
7693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7695 echo $ECHO_N "(cached) $ECHO_C" >&6
7697 eval "$as_ac_Header=\$ac_header_preproc"
7699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7704 cat >>confdefs.h
<<_ACEOF
7705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7709 { { echo "$as_me:$LINENO: error: Boehm GC header file missing. boehm-gc build will fail." >&5
7710 echo "$as_me: error: Boehm GC header file missing. boehm-gc build will fail." >&2;}
7711 { (exit 1); exit 1; }; }
7717 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7718 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7719 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7720 echo $ECHO_N "(cached) $ECHO_C" >&6
7722 ac_check_lib_save_LIBS
=$LIBS
7724 cat >conftest.
$ac_ext <<_ACEOF
7727 cat confdefs.h
>>conftest.
$ac_ext
7728 cat >>conftest.
$ac_ext <<_ACEOF
7729 /* end confdefs.h. */
7731 /* Override any gcc2 internal prototype to avoid an error. */
7735 /* We use char because int might match the return type of a gcc2
7736 builtin and then its argument prototype would still apply. */
7746 rm -f conftest.
$ac_objext conftest
$ac_exeext
7747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7748 (eval $ac_link) 2>conftest.er1
7750 grep -v '^ *+' conftest.er1
>conftest.err
7752 cat conftest.err
>&5
7753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7754 (exit $ac_status); } &&
7755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); }; } &&
7761 { ac_try
='test -s conftest$ac_exeext'
7762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); }; }; then
7767 ac_cv_lib_dl_dlopen
=yes
7769 echo "$as_me: failed program was:" >&5
7770 sed 's/^/| /' conftest.
$ac_ext >&5
7772 ac_cv_lib_dl_dlopen
=no
7774 rm -f conftest.err conftest.
$ac_objext \
7775 conftest
$ac_exeext conftest.
$ac_ext
7776 LIBS
=$ac_check_lib_save_LIBS
7778 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7779 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7780 if test $ac_cv_lib_dl_dlopen = yes; then
7781 cat >>confdefs.h
<<_ACEOF
7782 #define HAVE_LIBDL 1
7788 { { echo "$as_me:$LINENO: error: libdl library is missing. boehm-gc build will fail." >&5
7789 echo "$as_me: error: libdl library is missing. boehm-gc build will fail." >&2;}
7790 { (exit 1); exit 1; }; }
7794 echo "$as_me:$LINENO: checking for GC_gcollect in -lgc" >&5
7795 echo $ECHO_N "checking for GC_gcollect in -lgc... $ECHO_C" >&6
7796 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
7797 echo $ECHO_N "(cached) $ECHO_C" >&6
7799 ac_check_lib_save_LIBS
=$LIBS
7801 cat >conftest.
$ac_ext <<_ACEOF
7804 cat confdefs.h
>>conftest.
$ac_ext
7805 cat >>conftest.
$ac_ext <<_ACEOF
7806 /* end confdefs.h. */
7808 /* Override any gcc2 internal prototype to avoid an error. */
7812 /* We use char because int might match the return type of a gcc2
7813 builtin and then its argument prototype would still apply. */
7814 char GC_gcollect ();
7823 rm -f conftest.
$ac_objext conftest
$ac_exeext
7824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7825 (eval $ac_link) 2>conftest.er1
7827 grep -v '^ *+' conftest.er1
>conftest.err
7829 cat conftest.err
>&5
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); } &&
7832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }; } &&
7838 { ac_try
='test -s conftest$ac_exeext'
7839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843 (exit $ac_status); }; }; then
7844 ac_cv_lib_gc_GC_gcollect
=yes
7846 echo "$as_me: failed program was:" >&5
7847 sed 's/^/| /' conftest.
$ac_ext >&5
7849 ac_cv_lib_gc_GC_gcollect
=no
7851 rm -f conftest.err conftest.
$ac_objext \
7852 conftest
$ac_exeext conftest.
$ac_ext
7853 LIBS
=$ac_check_lib_save_LIBS
7855 echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_gcollect" >&5
7856 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6
7857 if test $ac_cv_lib_gc_GC_gcollect = yes; then
7858 cat >>confdefs.h
<<_ACEOF
7859 #define HAVE_LIBGC 1
7865 { { echo "$as_me:$LINENO: error: Boehm GC library is missing. boehm-gc build will fail." >&5
7866 echo "$as_me: error: Boehm GC library is missing. boehm-gc build will fail." >&2;}
7867 { (exit 1); exit 1; }; }
7871 cat >>confdefs.h
<<\_ACEOF
7872 #define WITH_MALLOC_BOEHM_GC 1
7876 { { echo "$as_me:$LINENO: error: Unknown malloc type $withval" >&5
7877 echo "$as_me: error: Unknown malloc type $withval" >&2;}
7878 { (exit 1); exit 1; }; }
7881 echo "$as_me:$LINENO: checking which protocol to use" >&5
7882 echo $ECHO_N "checking which protocol to use... $ECHO_C" >&6
7884 # Check whether --with-protocol or --without-protocol was given.
7885 if test "${with_protocol+set}" = set; then
7886 withval
="$with_protocol"
7891 if test "x$withval" = "xp10" ; then
7892 echo "$as_me:$LINENO: result: P10" >&5
7893 echo "${ECHO_T}P10" >&6
7895 cat >>confdefs.h
<<\_ACEOF
7896 #define WITH_PROTOCOL_P10 1
7899 MODULE_OBJS
="$MODULE_OBJS proto-p10.\$(OBJEXT)"
7900 PROTO_FILES
=proto
-p10.c
7901 elif test "x$withval" = "xbahamut" ; then
7902 echo "$as_me:$LINENO: result: Bahamut" >&5
7903 echo "${ECHO_T}Bahamut" >&6
7905 cat >>confdefs.h
<<\_ACEOF
7906 #define WITH_PROTOCOL_BAHAMUT 1
7909 MODULE_OBJS
="$MODULE_OBJS proto-bahamut.\$(OBJEXT)"
7911 { { echo "$as_me:$LINENO: error: Unknown IRC dialect $withval" >&5
7912 echo "$as_me: error: Unknown IRC dialect $withval" >&2;}
7913 { (exit 1); exit 1; }; }
7917 # Check whether --with-getopt or --without-getopt was given.
7918 if test "${with_getopt+set}" = set; then
7919 withval
="$with_getopt"
7920 if test "$withval" = no
; then
7922 cat >>confdefs.h
<<\_ACEOF
7923 #define IGNORE_GETOPT 1
7929 echo "$as_me:$LINENO: checking whether to enable tokenization" >&5
7930 echo $ECHO_N "checking whether to enable tokenization... $ECHO_C" >&6
7931 # Check whether --enable-tokens or --disable-tokens was given.
7932 if test "${enable_tokens+set}" = set; then
7933 enableval
="$enable_tokens"
7938 if test "z$enableval" = zno
; then
7939 echo "$as_me:$LINENO: result: no" >&5
7940 echo "${ECHO_T}no" >&6
7943 cat >>confdefs.h
<<\_ACEOF
7944 #define ENABLE_TOKENS 1
7947 echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6
7951 echo "$as_me:$LINENO: checking whether to enable debug behaviors" >&5
7952 echo $ECHO_N "checking whether to enable debug behaviors... $ECHO_C" >&6
7953 # Check whether --enable-debug or --disable-debug was given.
7954 if test "${enable_debug+set}" = set; then
7955 enableval
="$enable_debug"
7957 CPPFLAGS
="$CPPFLAGS"
7958 echo "$as_me:$LINENO: result: yes" >&5
7959 echo "${ECHO_T}yes" >&6
7963 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
7964 echo "$as_me:$LINENO: result: no" >&5
7965 echo "${ECHO_T}no" >&6
7969 if test -e src
; then
7970 if test ! -d src
; then
7971 { { echo "$as_me:$LINENO: error: src exists but is not a directory; please move it out of the way." >&5
7972 echo "$as_me: error: src exists but is not a directory; please move it out of the way." >&2;}
7973 { (exit 1); exit 1; }; }
7978 echo "$as_me:$LINENO: checking for extra module files" >&5
7979 echo $ECHO_N "checking for extra module files... $ECHO_C" >&6
7980 MODULE_DEFINES
="src/modules-list.h"
7981 echo > $MODULE_DEFINES
7982 touch $MODULE_DEFINES
7983 # Check whether --enable-modules or --disable-modules was given.
7984 if test "${enable_modules+set}" = set; then
7985 enableval
="$enable_modules"
7989 EXTRA_MODULE_OBJS
=""
7991 for module
in $enableval ; do
7992 module
=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
7993 EXTRA_MODULE_OBJS
="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
7994 module_list
="$module_list $module"
7995 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
7998 MODULE_OBJS
="$MODULE_OBJS $EXTRA_MODULE_OBJS"
7999 echo "$as_me:$LINENO: result: $module_list" >&5
8000 echo "${ECHO_T}$module_list" >&6
8004 echo "$as_me:$LINENO: result: none" >&5
8005 echo "${ECHO_T}none" >&6
8012 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no
; then
8013 MY_SUBDIRS
="rx $MY_SUBDIRS"
8014 RX_INCLUDES
="-I../rx"
8015 RX_LIBS
="../rx/librx.a"
8017 MY_SUBDIRS
="$MY_SUBDIRS src"
8018 CFLAGS
="$CFLAGS $ANSI_SRC -W -Wall"
8019 if test "z$USE_MAINTAINER_MODE" = zyes
; then
8020 CFLAGS
="$CFLAGS -Werror"
8024 cat >>confdefs.h
<<_ACEOF
8025 #define CODENAME "${CODENAME}"
8032 ac_config_files
="$ac_config_files Makefile rx/Makefile src/Makefile"
8034 cat >confcache
<<\_ACEOF
8035 # This file is a shell script that caches the results of configure
8036 # tests run on this system so they can be shared between configure
8037 # scripts and configure runs, see configure's option --config-cache.
8038 # It is not useful on other systems. If it contains results you don't
8039 # want to keep, you may remove or edit it.
8041 # config.status only pays attention to the cache file if you give it
8042 # the --recheck option to rerun configure.
8044 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8045 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8050 # The following way of writing the cache mishandles newlines in values,
8051 # but we know of no workaround that is simple, portable, and efficient.
8052 # So, don't put newlines in cache variables' values.
8053 # Ultrix sh set writes to stderr and can't be redirected directly,
8054 # and sets the high bit in the cache file unless we assign to the vars.
8057 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8059 # `set' does not quote correctly, so add quotes (double-quote
8060 # substitution turns \\\\ into \\, and sed turns \\ into \).
8063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8066 # `set' quotes correctly as required by POSIX, so do not add quotes.
8068 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8075 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8077 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8079 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8080 if test -w $cache_file; then
8081 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8082 cat confcache
>$cache_file
8084 echo "not updating unwritable cache $cache_file"
8089 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8090 # Let make expand exec_prefix.
8091 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8093 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8094 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8095 # trailing colons and then remove the whole line if VPATH becomes empty
8096 # (actually we leave an empty line to preserve line numbers).
8097 if test "x$srcdir" = x.
; then
8098 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8099 s/:*\$(srcdir):*/:/;
8100 s/:*\${srcdir}:*/:/;
8102 s/^\([^=]*=[ ]*\):*/\1/;
8108 DEFS
=-DHAVE_CONFIG_H
8112 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8113 # 1. Remove the extension, and $U if already installed.
8114 ac_i
=`echo "$ac_i" |
8115 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8117 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8118 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8122 LTLIBOBJS
=$ac_ltlibobjs
8125 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8126 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8127 Usually this means the macro was only invoked conditionally." >&5
8128 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8129 Usually this means the macro was only invoked conditionally." >&2;}
8130 { (exit 1); exit 1; }; }
8132 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8133 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8134 Usually this means the macro was only invoked conditionally." >&5
8135 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8136 Usually this means the macro was only invoked conditionally." >&2;}
8137 { (exit 1); exit 1; }; }
8139 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8140 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8141 Usually this means the macro was only invoked conditionally." >&5
8142 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8143 Usually this means the macro was only invoked conditionally." >&2;}
8144 { (exit 1); exit 1; }; }
8146 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8147 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8148 Usually this means the macro was only invoked conditionally." >&5
8149 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8150 Usually this means the macro was only invoked conditionally." >&2;}
8151 { (exit 1); exit 1; }; }
8154 : ${CONFIG_STATUS=./config.status}
8155 ac_clean_files_save
=$ac_clean_files
8156 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8157 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8158 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8159 cat >$CONFIG_STATUS <<_ACEOF
8161 # Generated by $as_me.
8162 # Run this file to recreate the current configuration.
8163 # Compiler output produced by configure, useful for debugging
8164 # configure, is in config.log if it exists.
8169 SHELL=\${CONFIG_SHELL-$SHELL}
8172 cat >>$CONFIG_STATUS <<\_ACEOF
8173 ## --------------------- ##
8174 ## M4sh Initialization. ##
8175 ## --------------------- ##
8177 # Be Bourne compatible
8178 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8181 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8182 # is contrary to our usage. Disable this feature.
8183 alias -g '${1+"$@"}'='"$@"'
8184 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8187 DUALCASE
=1; export DUALCASE
# for MKS sh
8189 # Support unset when possible.
8190 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
8197 # Work around bugs in pre-3.0 UWIN ksh.
8198 $as_unset ENV MAIL MAILPATH
8205 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8206 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8207 LC_TELEPHONE LC_TIME
8209 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8210 eval $as_var=C
; export $as_var
8216 # Required to use basename.
8217 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8223 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8224 as_basename
=basename
8230 # Name of the executable.
8231 as_me
=`$as_basename "$0" ||
8232 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8233 X"$0" : 'X\(//\)$' \| \
8234 X"$0" : 'X\(/\)$' \| \
8235 . : '\(.\)' 2>/dev/null ||
8237 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8238 /^X\/\(\/\/\)$/{ s//\1/; q; }
8239 /^X\/\(\/\).*/{ s//\1/; q; }
8243 # PATH needs CR, and LINENO needs CR and PATH.
8244 # Avoid depending upon Character Ranges.
8245 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8246 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8247 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8248 as_cr_digits
='0123456789'
8249 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8251 # The user is always right.
8252 if test "${PATH_SEPARATOR+set}" != set; then
8253 echo "#! /bin/sh" >conf$$.sh
8254 echo "exit 0" >>conf$$.sh
8256 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8267 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8268 test "x$as_lineno_1" != "x$as_lineno_2" &&
8269 test "x$as_lineno_3" = "x$as_lineno_2" || {
8270 # Find who we are. Look in the path if we contain no path at all
8273 *[\\/]* ) as_myself
=$0 ;;
8274 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8278 test -z "$as_dir" && as_dir
=.
8279 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8284 # We did not find ourselves, most probably we were run as `sh COMMAND'
8285 # in which case we are not to be found in the path.
8286 if test "x$as_myself" = x
; then
8289 if test ! -f "$as_myself"; then
8290 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8291 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8292 { (exit 1); exit 1; }; }
8294 case $CONFIG_SHELL in
8296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8297 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8300 test -z "$as_dir" && as_dir
=.
8301 for as_base
in sh bash ksh sh5
; do
8304 if ("$as_dir/$as_base" -c '
8307 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8308 test "x$as_lineno_1" != "x$as_lineno_2" &&
8309 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8310 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
8311 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
8312 CONFIG_SHELL
=$as_dir/$as_base
8314 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8322 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8323 # uniformly replaced by the line number. The first 'sed' inserts a
8324 # line-number line before each line; the second 'sed' does the real
8325 # work. The second script uses 'N' to pair each line-number line
8326 # with the numbered line, and appends trailing '-' during
8327 # substitution so that $LINENO is not a special case at line end.
8328 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8329 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8330 sed '=' <$as_myself |
8335 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8338 s,^['$as_cr_digits']*\n,,
8340 chmod +x
$as_me.lineno
||
8341 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8342 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8343 { (exit 1); exit 1; }; }
8345 # Don't try to exec as it changes $[0], causing all sort of problems
8346 # (the dirname of $[0] is not the place where we might find the
8347 # original and so on. Autoconf is especially sensible to this).
8349 # Exit status is that of the last command.
8354 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8355 *c
*,-n*) ECHO_N
= ECHO_C
='
8357 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8358 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8361 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8367 rm -f conf$$ conf$$.exe conf$$.
file
8369 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8370 # We could just check for DJGPP; but this test a) works b) is more generic
8371 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8372 if test -f conf$$.exe
; then
8373 # Don't use ln at all; we don't have any links
8378 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8383 rm -f conf$$ conf$$.exe conf$$.
file
8385 if mkdir -p .
2>/dev
/null
; then
8388 test -d .
/-p && rmdir .
/-p
8392 as_executable_p
="test -f"
8394 # Sed expression to map a string onto a valid CPP name.
8395 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8397 # Sed expression to map a string onto a valid variable name.
8398 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8402 # We need space, tab and new line, in precisely that order.
8412 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8413 # report actual input values of CONFIG_FILES etc. instead of their
8414 # values after options handling. Logging --version etc. is OK.
8418 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8419 ## Running $as_me. ##
8424 This file was extended by srvx $as_me 1.3, which was
8425 generated by GNU Autoconf 2.59. Invocation command line was
8427 CONFIG_FILES = $CONFIG_FILES
8428 CONFIG_HEADERS = $CONFIG_HEADERS
8429 CONFIG_LINKS = $CONFIG_LINKS
8430 CONFIG_COMMANDS = $CONFIG_COMMANDS
8434 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8438 # Files that config.status was made for.
8439 if test -n "$ac_config_files"; then
8440 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8443 if test -n "$ac_config_headers"; then
8444 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8447 if test -n "$ac_config_links"; then
8448 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8451 if test -n "$ac_config_commands"; then
8452 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8455 cat >>$CONFIG_STATUS <<\_ACEOF
8458 \`$as_me' instantiates files from templates according to the
8459 current configuration.
8461 Usage: $0 [OPTIONS] [FILE]...
8463 -h, --help print this help, then exit
8464 -V, --version print version number, then exit
8465 -q, --quiet do not print progress messages
8466 -d, --debug don't remove temporary files
8467 --recheck update $as_me by reconfiguring in the same conditions
8468 --file=FILE[:TEMPLATE]
8469 instantiate the configuration file FILE
8470 --header=FILE[:TEMPLATE]
8471 instantiate the configuration header FILE
8473 Configuration files:
8476 Configuration headers:
8479 Configuration commands:
8482 Report bugs to <bug-autoconf@gnu.org>."
8485 cat >>$CONFIG_STATUS <<_ACEOF
8487 srvx config.status 1.3
8488 configured by $0, generated by GNU Autoconf 2.59,
8489 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8491 Copyright (C) 2003 Free Software Foundation, Inc.
8492 This config.status script is free software; the Free Software Foundation
8493 gives unlimited permission to copy, distribute and modify it."
8498 cat >>$CONFIG_STATUS <<\_ACEOF
8499 # If no file are specified by the user, then we need to provide default
8500 # value. By we need to know if files were specified by the user.
8506 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8507 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8515 *) # This is not an option, so the user has probably given explicit
8518 ac_need_defaults
=false
;;
8522 # Handling of the options.
8524 cat >>$CONFIG_STATUS <<\_ACEOF
8525 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8527 --version | --vers* | -V )
8528 echo "$ac_cs_version"; exit 0 ;;
8530 # Conflict between --help and --header
8531 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8532 Try \`$0 --help' for more information." >&5
8533 echo "$as_me: error: ambiguous option: $1
8534 Try \`$0 --help' for more information." >&2;}
8535 { (exit 1); exit 1; }; };;
8536 --help | --hel | -h )
8537 echo "$ac_cs_usage"; exit 0 ;;
8538 --debug | --d* | -d )
8540 --file | --fil | --fi | --f )
8542 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8543 ac_need_defaults
=false
;;
8544 --header | --heade | --head | --hea )
8546 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8547 ac_need_defaults
=false
;;
8548 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8549 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8553 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8554 Try \`$0 --help' for more information." >&5
8555 echo "$as_me: error: unrecognized option: $1
8556 Try \`$0 --help' for more information." >&2;}
8557 { (exit 1); exit 1; }; } ;;
8559 *) ac_config_targets
="$ac_config_targets $1" ;;
8565 ac_configure_extra_args
=
8567 if $ac_cs_silent; then
8569 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8573 cat >>$CONFIG_STATUS <<_ACEOF
8574 if \$ac_cs_recheck; then
8575 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8576 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8581 cat >>$CONFIG_STATUS <<_ACEOF
8583 # INIT-COMMANDS section.
8586 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8592 cat >>$CONFIG_STATUS <<\_ACEOF
8593 for ac_config_target
in $ac_config_targets
8595 case "$ac_config_target" in
8596 # Handling of arguments.
8597 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8598 "rx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
8599 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
8600 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8601 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
8602 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8603 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8604 { (exit 1); exit 1; }; };;
8608 # If the user did not use the arguments to specify the items to instantiate,
8609 # then the envvar interface is used. Set only those that are not.
8610 # We use the long form for the default assignment because of an extremely
8611 # bizarre bug on SunOS 4.1.3.
8612 if $ac_need_defaults; then
8613 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8614 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8615 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8618 # Have a temporary directory for convenience. Make it in the build tree
8619 # simply because there is no reason to put it here, and in addition,
8620 # creating and moving files from /tmp can sometimes cause problems.
8621 # Create a temporary directory, and hook for its removal unless debugging.
8624 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8625 trap '{ (exit 1); exit 1; }' 1 2 13 15
8628 # Create a (secure) tmp directory for tmp files.
8631 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8632 test -n "$tmp" && test -d "$tmp"
8635 tmp
=.
/confstat$$
-$RANDOM
8636 (umask 077 && mkdir $tmp)
8639 echo "$me: cannot create a temporary directory in ." >&2
8640 { (exit 1); exit 1; }
8645 cat >>$CONFIG_STATUS <<_ACEOF
8648 # CONFIG_FILES section.
8651 # No need to generate the scripts if there are no CONFIG_FILES.
8652 # This happens for instance when ./config.status config.h
8653 if test -n "\$CONFIG_FILES"; then
8654 # Protect against being on the right side of a sed subst in config.status.
8655 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8656 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8657 s,@SHELL@,$SHELL,;t t
8658 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8659 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8660 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8661 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8662 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8663 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8664 s,@exec_prefix@,$exec_prefix,;t t
8665 s,@prefix@,$prefix,;t t
8666 s,@program_transform_name@,$program_transform_name,;t t
8667 s,@bindir@,$bindir,;t t
8668 s,@sbindir@,$sbindir,;t t
8669 s,@libexecdir@,$libexecdir,;t t
8670 s,@datadir@,$datadir,;t t
8671 s,@sysconfdir@,$sysconfdir,;t t
8672 s,@sharedstatedir@,$sharedstatedir,;t t
8673 s,@localstatedir@,$localstatedir,;t t
8674 s,@libdir@,$libdir,;t t
8675 s,@includedir@,$includedir,;t t
8676 s,@oldincludedir@,$oldincludedir,;t t
8677 s,@infodir@,$infodir,;t t
8678 s,@mandir@,$mandir,;t t
8679 s,@build_alias@,$build_alias,;t t
8680 s,@host_alias@,$host_alias,;t t
8681 s,@target_alias@,$target_alias,;t t
8683 s,@ECHO_C@,$ECHO_C,;t t
8684 s,@ECHO_N@,$ECHO_N,;t t
8685 s,@ECHO_T@,$ECHO_T,;t t
8687 s,@build@,$build,;t t
8688 s,@build_cpu@,$build_cpu,;t t
8689 s,@build_vendor@,$build_vendor,;t t
8690 s,@build_os@,$build_os,;t t
8692 s,@host_cpu@,$host_cpu,;t t
8693 s,@host_vendor@,$host_vendor,;t t
8694 s,@host_os@,$host_os,;t t
8695 s,@target@,$target,;t t
8696 s,@target_cpu@,$target_cpu,;t t
8697 s,@target_vendor@,$target_vendor,;t t
8698 s,@target_os@,$target_os,;t t
8699 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8700 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8701 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8702 s,@CYGPATH_W@,$CYGPATH_W,;t t
8703 s,@PACKAGE@,$PACKAGE,;t t
8704 s,@VERSION@,$VERSION,;t t
8705 s,@ACLOCAL@,$ACLOCAL,;t t
8706 s,@AUTOCONF@,$AUTOCONF,;t t
8707 s,@AUTOMAKE@,$AUTOMAKE,;t t
8708 s,@AUTOHEADER@,$AUTOHEADER,;t t
8709 s,@MAKEINFO@,$MAKEINFO,;t t
8710 s,@install_sh@,$install_sh,;t t
8711 s,@STRIP@,$STRIP,;t t
8712 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8713 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8714 s,@mkdir_p@,$mkdir_p,;t t
8716 s,@SET_MAKE@,$SET_MAKE,;t t
8717 s,@am__leading_dot@,$am__leading_dot,;t t
8718 s,@AMTAR@,$AMTAR,;t t
8719 s,@am__tar@,$am__tar,;t t
8720 s,@am__untar@,$am__untar,;t t
8721 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8722 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8723 s,@MAINT@,$MAINT,;t t
8725 s,@CFLAGS@,$CFLAGS,;t t
8726 s,@LDFLAGS@,$LDFLAGS,;t t
8727 s,@CPPFLAGS@,$CPPFLAGS,;t t
8728 s,@ac_ct_CC@,$ac_ct_CC,;t t
8729 s,@EXEEXT@,$EXEEXT,;t t
8730 s,@OBJEXT@,$OBJEXT,;t t
8731 s,@DEPDIR@,$DEPDIR,;t t
8732 s,@am__include@,$am__include,;t t
8733 s,@am__quote@,$am__quote,;t t
8734 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8735 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8736 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8737 s,@CCDEPMODE@,$CCDEPMODE,;t t
8738 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8739 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8740 s,@RANLIB@,$RANLIB,;t t
8741 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8744 s,@EGREP@,$EGREP,;t t
8745 s,@ALLOCA@,$ALLOCA,;t t
8746 s,@MODULE_OBJS@,$MODULE_OBJS,;t t
8747 s,@MY_SUBDIRS@,$MY_SUBDIRS,;t t
8748 s,@RX_INCLUDES@,$RX_INCLUDES,;t t
8749 s,@RX_LIBS@,$RX_LIBS,;t t
8750 s,@LIBOBJS@,$LIBOBJS,;t t
8751 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8756 cat >>$CONFIG_STATUS <<\_ACEOF
8757 # Split the substitutions into bite-sized pieces for seds with
8758 # small command number limits, like on Digital OSF/1 and HP-UX.
8760 ac_sed_frag
=1 # Number of current file.
8761 ac_beg
=1 # First line for current file.
8762 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8765 while $ac_more_lines; do
8766 if test $ac_beg -gt 1; then
8767 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8769 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8771 if test ! -s $tmp/subs.frag
; then
8774 # The purpose of the label and of the branching condition is to
8775 # speed up the sed processing (if there are no `@' at all, there
8776 # is no need to browse any of the substitutions).
8777 # These are the two extra sed commands mentioned above.
8779 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
8780 if test -z "$ac_sed_cmds"; then
8781 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8783 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8785 ac_sed_frag
=`expr $ac_sed_frag + 1`
8787 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8790 if test -z "$ac_sed_cmds"; then
8793 fi # test -n "$CONFIG_FILES"
8796 cat >>$CONFIG_STATUS <<\_ACEOF
8797 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8798 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8800 - | *:- | *:-:* ) # input from stdin
8802 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8803 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8804 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8805 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8806 * ) ac_file_in
=$ac_file.
in ;;
8809 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8810 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8811 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8812 X"$ac_file" : 'X\(//\)[^/]' \| \
8813 X"$ac_file" : 'X\(//\)$' \| \
8814 X"$ac_file" : 'X\(/\)' \| \
8815 . : '\(.\)' 2>/dev/null ||
8817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8818 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8819 /^X\(\/\/\)$/{ s//\1/; q; }
8820 /^X\(\/\).*/{ s//\1/; q; }
8822 { if $as_mkdir_p; then
8827 while test ! -d "$as_dir"; do
8828 as_dirs
="$as_dir $as_dirs"
8829 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8830 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8831 X"$as_dir" : 'X\(//\)[^/]' \| \
8832 X"$as_dir" : 'X\(//\)$' \| \
8833 X"$as_dir" : 'X\(/\)' \| \
8834 . : '\(.\)' 2>/dev/null ||
8836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8837 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8838 /^X\(\/\/\)$/{ s//\1/; q; }
8839 /^X\(\/\).*/{ s//\1/; q; }
8842 test ! -n "$as_dirs" || mkdir $as_dirs
8843 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8844 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8845 { (exit 1); exit 1; }; }; }
8849 if test "$ac_dir" != .
; then
8850 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8851 # A "../" for each directory in $ac_dir_suffix.
8852 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8854 ac_dir_suffix
= ac_top_builddir
=
8858 .
) # No --srcdir option. We are building in place.
8860 if test -z "$ac_top_builddir"; then
8863 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8865 [\\/]* | ?
:[\\/]* ) # Absolute path.
8866 ac_srcdir
=$srcdir$ac_dir_suffix;
8867 ac_top_srcdir
=$srcdir ;;
8869 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8870 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8873 # Do not use `cd foo && pwd` to compute absolute paths, because
8874 # the directories may not exist.
8876 .
) ac_abs_builddir
="$ac_dir";;
8879 .
) ac_abs_builddir
=`pwd`;;
8880 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8881 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8884 case $ac_abs_builddir in
8885 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8887 case ${ac_top_builddir}.
in
8888 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8889 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8890 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8893 case $ac_abs_builddir in
8894 .
) ac_abs_srcdir
=$ac_srcdir;;
8897 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8898 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8899 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8902 case $ac_abs_builddir in
8903 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8905 case $ac_top_srcdir in
8906 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8907 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8908 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8914 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8915 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8918 # Let's still pretend it is `configure' which instantiates (i.e., don't
8919 # use $as_me), people would be surprised to read:
8920 # /* config.h. Generated by config.status. */
8921 if test x
"$ac_file" = x
-; then
8924 configure_input
="$ac_file. "
8926 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8927 sed 's,.*/,,'` by configure."
8929 # First look for the input files in the build tree, otherwise in the
8931 ac_file_inputs
=`IFS=:
8932 for f in $ac_file_in; do
8934 -) echo $tmp/stdin ;;
8936 # Absolute (can't be DOS-style, as IFS=:)
8937 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8938 echo "$as_me: error: cannot find input file: $f" >&2;}
8939 { (exit 1); exit 1; }; }
8942 if test -f "$f"; then
8945 elif test -f "$srcdir/$f"; then
8950 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8951 echo "$as_me: error: cannot find input file: $f" >&2;}
8952 { (exit 1); exit 1; }; }
8955 done` || { (exit 1); exit 1; }
8957 if test x
"$ac_file" != x
-; then
8958 { echo "$as_me:$LINENO: creating $ac_file" >&5
8959 echo "$as_me: creating $ac_file" >&6;}
8963 cat >>$CONFIG_STATUS <<_ACEOF
8967 cat >>$CONFIG_STATUS <<\_ACEOF
8969 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
8970 s
,@configure_input@
,$configure_input,;t t
8971 s
,@srcdir@
,$ac_srcdir,;t t
8972 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8973 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8974 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8975 s
,@builddir@
,$ac_builddir,;t t
8976 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8977 s
,@top_builddir@
,$ac_top_builddir,;t t
8978 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8979 s
,@INSTALL@
,$ac_INSTALL,;t t
8980 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8982 if test x"$ac_file" != x-; then
8983 mv $tmp/out $ac_file
8991 cat >>$CONFIG_STATUS <<\_ACEOF
8994 # CONFIG_HEADER section.
8997 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8998 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9000 # ac_d sets the value in "#define NAME VALUE" lines.
9001 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9002 ac_dB
='[ ].*$,\1#\2'
9005 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9006 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9007 ac_uB
='$,\1#\2define\3'
9011 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9012 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9014 - | *:- | *:-:* ) # input from stdin
9016 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9017 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9018 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9019 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9020 * ) ac_file_in
=$ac_file.
in ;;
9023 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9024 echo "$as_me: creating $ac_file" >&6;}
9026 # First look for the input files in the build tree, otherwise in the
9028 ac_file_inputs
=`IFS=:
9029 for f in $ac_file_in; do
9031 -) echo $tmp/stdin ;;
9033 # Absolute (can't be DOS-style, as IFS=:)
9034 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9035 echo "$as_me: error: cannot find input file: $f" >&2;}
9036 { (exit 1); exit 1; }; }
9037 # Do quote $f, to prevent DOS paths from being IFS'd.
9040 if test -f "$f"; then
9043 elif test -f "$srcdir/$f"; then
9048 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9049 echo "$as_me: error: cannot find input file: $f" >&2;}
9050 { (exit 1); exit 1; }; }
9053 done` || { (exit 1); exit 1; }
9054 # Remove the trailing spaces.
9055 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9059 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9060 # `conftest.undefs', that substitutes the proper values into
9061 # config.h.in to produce config.h. The first handles `#define'
9062 # templates, and the second `#undef' templates.
9063 # And first: Protect against being on the right side of a sed subst in
9064 # config.status. Protect against being in an unquoted here document
9066 rm -f conftest.defines conftest.undefs
9067 # Using a here document instead of a string reduces the quoting nightmare.
9068 # Putting comments in sed scripts is not portable.
9070 # `end' is used to avoid that the second main sed command (meant for
9071 # 0-ary CPP macros) applies to n-ary macro definitions.
9072 # See the Autoconf documentation for `clear'.
9073 cat >confdef2sed.
sed <<\_ACEOF
9078 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9080 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9083 # If some macros were called several times there might be several times
9084 # the same #defines, which is useless. Nevertheless, we may not want to
9085 # sort them, since we want the *last* AC-DEFINE to be honored.
9086 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9087 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9088 rm -f confdef2sed.sed
9090 # This sed command replaces #undef with comments. This is necessary, for
9091 # example, in the case of _POSIX_SOURCE, which is predefined and required
9092 # on some systems where configure will not decide to define it.
9093 cat >>conftest.undefs <<\_ACEOF
9094 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9097 # Break up conftest.defines because some shells have a limit on the size
9098 # of here documents, and old seds have small limits too (100 cmds).
9099 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9100 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9101 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9102 echo ' :' >>$CONFIG_STATUS
9104 while grep . conftest.defines >/dev/null
9106 # Write a limited-size here document to $tmp/defines.sed.
9107 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9108 # Speed up: don't consider the non `#define' lines.
9109 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9110 # Work around the forget-to-reset-the-flag bug.
9111 echo 't clr' >>$CONFIG_STATUS
9112 echo ': clr' >>$CONFIG_STATUS
9113 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9115 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9119 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9120 rm -f conftest.defines
9121 mv conftest.
tail conftest.defines
9123 rm -f conftest.defines
9124 echo ' fi # grep' >>$CONFIG_STATUS
9125 echo >>$CONFIG_STATUS
9127 # Break up conftest.undefs because some shells have a limit on the size
9128 # of here documents, and old seds have small limits too (100 cmds).
9129 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9131 while grep . conftest.undefs
>/dev
/null
9133 # Write a limited-size here document to $tmp/undefs.sed.
9134 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9135 # Speed up: don't consider the non
`#undef'
9136 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9137 # Work around the forget-to-reset-the-flag bug.
9138 echo 't clr' >>$CONFIG_STATUS
9139 echo ': clr' >>$CONFIG_STATUS
9140 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9142 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9146 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9147 rm -f conftest.undefs
9148 mv conftest.tail conftest.undefs
9150 rm -f conftest.undefs
9152 cat >>$CONFIG_STATUS <<\_ACEOF
9153 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9154 # use $as_me), people would be surprised to read:
9155 # /* config.h. Generated by config.status. */
9156 if test x
"$ac_file" = x
-; then
9157 echo "/* Generated by configure. */" >$tmp/config.h
9159 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9161 cat $tmp/in >>$tmp/config.h
9163 if test x
"$ac_file" != x
-; then
9164 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9165 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9166 echo "$as_me: $ac_file is unchanged" >&6;}
9168 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9169 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9170 X"$ac_file" : 'X\(//\)[^/]' \| \
9171 X"$ac_file" : 'X\(//\)$' \| \
9172 X"$ac_file" : 'X\(/\)' \| \
9173 . : '\(.\)' 2>/dev/null ||
9175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9176 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9177 /^X\(\/\/\)$/{ s//\1/; q; }
9178 /^X\(\/\).*/{ s//\1/; q; }
9180 { if $as_mkdir_p; then
9185 while test ! -d "$as_dir"; do
9186 as_dirs
="$as_dir $as_dirs"
9187 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9188 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9189 X"$as_dir" : 'X\(//\)[^/]' \| \
9190 X"$as_dir" : 'X\(//\)$' \| \
9191 X"$as_dir" : 'X\(/\)' \| \
9192 . : '\(.\)' 2>/dev/null ||
9194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9195 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9196 /^X\(\/\/\)$/{ s//\1/; q; }
9197 /^X\(\/\).*/{ s//\1/; q; }
9200 test ! -n "$as_dirs" || mkdir $as_dirs
9201 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9202 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9203 { (exit 1); exit 1; }; }; }
9206 mv $tmp/config.h
$ac_file
9212 # Compute $ac_file's index in $config_headers.
9214 for _am_header
in $config_headers :; do
9216 $ac_file | $ac_file:* )
9219 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9222 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9223 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9224 X$ac_file : 'X\(//\)[^/]' \| \
9225 X$ac_file : 'X\(//\)$' \| \
9226 X$ac_file : 'X\(/\)' \| \
9227 . : '\(.\)' 2>/dev/null ||
9229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9230 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9231 /^X\(\/\/\)$/{ s//\1/; q; }
9232 /^X\(\/\).*/{ s//\1/; q; }
9233 s/.*/./; q'`/stamp
-h$_am_stamp_count
9236 cat >>$CONFIG_STATUS <<\_ACEOF
9239 # CONFIG_COMMANDS section.
9241 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9242 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9243 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9244 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9245 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9246 X"$ac_dest" : 'X\(//\)[^/]' \| \
9247 X"$ac_dest" : 'X\(//\)$' \| \
9248 X"$ac_dest" : 'X\(/\)' \| \
9249 . : '\(.\)' 2>/dev/null ||
9251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9252 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9253 /^X\(\/\/\)$/{ s//\1/; q; }
9254 /^X\(\/\).*/{ s//\1/; q; }
9256 { if $as_mkdir_p; then
9261 while test ! -d "$as_dir"; do
9262 as_dirs
="$as_dir $as_dirs"
9263 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9264 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9265 X"$as_dir" : 'X\(//\)[^/]' \| \
9266 X"$as_dir" : 'X\(//\)$' \| \
9267 X"$as_dir" : 'X\(/\)' \| \
9268 . : '\(.\)' 2>/dev/null ||
9270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9271 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9272 /^X\(\/\/\)$/{ s//\1/; q; }
9273 /^X\(\/\).*/{ s//\1/; q; }
9276 test ! -n "$as_dirs" || mkdir $as_dirs
9277 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9278 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9279 { (exit 1); exit 1; }; }; }
9283 if test "$ac_dir" != .
; then
9284 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9285 # A "../" for each directory in $ac_dir_suffix.
9286 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9288 ac_dir_suffix
= ac_top_builddir
=
9292 .
) # No --srcdir option. We are building in place.
9294 if test -z "$ac_top_builddir"; then
9297 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9299 [\\/]* | ?
:[\\/]* ) # Absolute path.
9300 ac_srcdir
=$srcdir$ac_dir_suffix;
9301 ac_top_srcdir
=$srcdir ;;
9303 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9304 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9307 # Do not use `cd foo && pwd` to compute absolute paths, because
9308 # the directories may not exist.
9310 .
) ac_abs_builddir
="$ac_dir";;
9313 .
) ac_abs_builddir
=`pwd`;;
9314 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9315 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9318 case $ac_abs_builddir in
9319 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9321 case ${ac_top_builddir}.
in
9322 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9323 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9324 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9327 case $ac_abs_builddir in
9328 .
) ac_abs_srcdir
=$ac_srcdir;;
9331 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9332 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9333 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9336 case $ac_abs_builddir in
9337 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9339 case $ac_top_srcdir in
9340 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9341 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9342 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9347 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9348 echo "$as_me: executing $ac_dest commands" >&6;}
9350 depfiles
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
9351 # Strip MF so we end up with the name of the file.
9352 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9353 # Check whether this is an Automake generated Makefile or not.
9354 # We used to match only the files named `Makefile.in', but
9355 # some people rename them; so instead we look at the file content.
9356 # Grep'ing the first line is not enough: some people post-process
9357 # each Makefile.in and add a new line on top of each file to say so.
9358 # So let's grep whole file.
9359 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
9360 dirpart
=`(dirname "$mf") 2>/dev/null ||
9361 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9362 X"$mf" : 'X\(//\)[^/]' \| \
9363 X"$mf" : 'X\(//\)$' \| \
9364 X"$mf" : 'X\(/\)' \| \
9365 . : '\(.\)' 2>/dev/null ||
9367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9368 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9369 /^X\(\/\/\)$/{ s//\1/; q; }
9370 /^X\(\/\).*/{ s//\1/; q; }
9375 # Extract the definition of DEPDIR, am__include, and am__quote
9376 # from the Makefile without running `make'.
9377 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9378 test -z "$DEPDIR" && continue
9379 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9380 test -z "am__include" && continue
9381 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9382 # When using ansi2knr, U may be empty or an underscore; expand it
9383 U
=`sed -n 's/^U = //p' < "$mf"`
9384 # Find all dependency output files, they are included files with
9385 # $(DEPDIR) in their names. We invoke sed twice because it is the
9386 # simplest approach to changing $(DEPDIR) to its actual value in the
9388 for file in `sed -n "
9389 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9390 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9391 # Make sure the directory exists.
9392 test -f "$dirpart/$file" && continue
9393 fdir
=`(dirname "$file") 2>/dev/null ||
9394 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9395 X"$file" : 'X\(//\)[^/]' \| \
9396 X"$file" : 'X\(//\)$' \| \
9397 X"$file" : 'X\(/\)' \| \
9398 . : '\(.\)' 2>/dev/null ||
9400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9401 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9402 /^X\(\/\/\)$/{ s//\1/; q; }
9403 /^X\(\/\).*/{ s//\1/; q; }
9405 { if $as_mkdir_p; then
9406 mkdir -p $dirpart/$fdir
9408 as_dir
=$dirpart/$fdir
9410 while test ! -d "$as_dir"; do
9411 as_dirs
="$as_dir $as_dirs"
9412 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9413 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9414 X"$as_dir" : 'X\(//\)[^/]' \| \
9415 X"$as_dir" : 'X\(//\)$' \| \
9416 X"$as_dir" : 'X\(/\)' \| \
9417 . : '\(.\)' 2>/dev/null ||
9419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9420 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9421 /^X\(\/\/\)$/{ s//\1/; q; }
9422 /^X\(\/\).*/{ s//\1/; q; }
9425 test ! -n "$as_dirs" || mkdir $as_dirs
9426 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9427 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9428 { (exit 1); exit 1; }; }; }
9430 # echo "creating $dirpart/$file"
9431 echo '# dummy' > "$dirpart/$file"
9439 cat >>$CONFIG_STATUS <<\_ACEOF
9441 { (exit 0); exit 0; }
9443 chmod +x
$CONFIG_STATUS
9444 ac_clean_files
=$ac_clean_files_save
9447 # configure is writing to config.log, and then calls config.status.
9448 # config.status does its own redirection, appending to config.log.
9449 # Unfortunately, on DOS this fails, as config.log is still kept open
9450 # by configure, so config.status won't be able to write to it; its
9451 # output is simply discarded. So we exec the FD to /dev/null,
9452 # effectively closing config.log, so it can be properly (re)opened and
9453 # appended to by config.status. When coming back to configure, we
9454 # need to make the FD available again.
9455 if test "$no_create" != yes; then
9457 ac_config_status_args
=
9458 test "$silent" = yes &&
9459 ac_config_status_args
="$ac_config_status_args --quiet"
9461 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9463 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9464 # would make configure fail if this is the last instruction.
9465 $ac_cs_success || { (exit 1); exit 1; }