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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot 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.8"
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 # Keeping the `.' argument allows $(mkdir_p) to be used without
1598 # argument. Indeed, we sometimes output rules like
1599 # $(mkdir_p) $(somedir)
1600 # where $(somedir) is conditionally defined.
1601 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1602 # expensive solution, as it forces Make to start a sub-shell.)
1603 mkdir_p
='mkdir -p -- .'
1605 # On NextStep and OpenStep, the `mkdir' command does not
1606 # recognize any option. It will interpret all options as
1607 # directories to create, and then abort because `.' already
1609 for d
in .
/-p .
/--version;
1611 test -d $d && rmdir $d
1613 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1614 if test -f "$ac_aux_dir/mkinstalldirs"; then
1615 mkdir_p
='$(mkinstalldirs)'
1617 mkdir_p
='$(install_sh) -d'
1621 for ac_prog
in gawk mawk nawk
awk
1623 # Extract the first word of "$ac_prog", so it can be a program name with args.
1624 set dummy
$ac_prog; ac_word
=$2
1625 echo "$as_me:$LINENO: checking for $ac_word" >&5
1626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1627 if test "${ac_cv_prog_AWK+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 if test -n "$AWK"; then
1631 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1637 test -z "$as_dir" && as_dir
=.
1638 for ac_exec_ext
in '' $ac_executable_extensions; do
1639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1640 ac_cv_prog_AWK
="$ac_prog"
1641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1650 if test -n "$AWK"; then
1651 echo "$as_me:$LINENO: result: $AWK" >&5
1652 echo "${ECHO_T}$AWK" >&6
1654 echo "$as_me:$LINENO: result: no" >&5
1655 echo "${ECHO_T}no" >&6
1658 test -n "$AWK" && break
1661 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1662 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1663 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1664 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1665 echo $ECHO_N "(cached) $ECHO_C" >&6
1667 cat >conftest.
make <<\_ACEOF
1669 @
echo 'ac_maketemp="$(MAKE)"'
1671 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1672 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1673 if test -n "$ac_maketemp"; then
1674 eval ac_cv_prog_make_
${ac_make}_set
=yes
1676 eval ac_cv_prog_make_
${ac_make}_set
=no
1680 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1681 echo "$as_me:$LINENO: result: yes" >&5
1682 echo "${ECHO_T}yes" >&6
1685 echo "$as_me:$LINENO: result: no" >&5
1686 echo "${ECHO_T}no" >&6
1687 SET_MAKE
="MAKE=${MAKE-make}"
1690 rm -rf .tst
2>/dev
/null
1691 mkdir .tst
2>/dev
/null
1692 if test -d .tst
; then
1697 rmdir .tst
2>/dev
/null
1699 # test to see if srcdir already configured
1700 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1701 test -f $srcdir/config.status
; then
1702 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1703 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1704 { (exit 1); exit 1; }; }
1707 # test whether we have cygpath
1708 if test -z "$CYGPATH_W"; then
1709 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1710 CYGPATH_W
='cygpath -w'
1717 # Define the identity of the package.
1722 cat >>confdefs.h
<<_ACEOF
1723 #define PACKAGE "$PACKAGE"
1727 cat >>confdefs.h
<<_ACEOF
1728 #define VERSION "$VERSION"
1731 # Some tools Automake needs.
1733 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1736 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1739 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1742 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1745 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1748 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1750 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1752 # Installed binaries are usually stripped using `strip' when the user
1753 # run `make install-strip'. However `strip' might not be the right
1754 # tool to use in cross-compilation environments, therefore Automake
1755 # will honor the `STRIP' environment variable to overrule this program.
1756 if test "$cross_compiling" != no
; then
1757 if test -n "$ac_tool_prefix"; then
1758 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1759 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1760 echo "$as_me:$LINENO: checking for $ac_word" >&5
1761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1762 if test "${ac_cv_prog_STRIP+set}" = set; then
1763 echo $ECHO_N "(cached) $ECHO_C" >&6
1765 if test -n "$STRIP"; then
1766 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1772 test -z "$as_dir" && as_dir
=.
1773 for ac_exec_ext
in '' $ac_executable_extensions; do
1774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1775 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1784 STRIP
=$ac_cv_prog_STRIP
1785 if test -n "$STRIP"; then
1786 echo "$as_me:$LINENO: result: $STRIP" >&5
1787 echo "${ECHO_T}$STRIP" >&6
1789 echo "$as_me:$LINENO: result: no" >&5
1790 echo "${ECHO_T}no" >&6
1794 if test -z "$ac_cv_prog_STRIP"; then
1796 # Extract the first word of "strip", so it can be a program name with args.
1797 set dummy strip
; ac_word
=$2
1798 echo "$as_me:$LINENO: checking for $ac_word" >&5
1799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1800 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1803 if test -n "$ac_ct_STRIP"; then
1804 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1810 test -z "$as_dir" && as_dir
=.
1811 for ac_exec_ext
in '' $ac_executable_extensions; do
1812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1813 ac_cv_prog_ac_ct_STRIP
="strip"
1814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1820 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1823 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1824 if test -n "$ac_ct_STRIP"; then
1825 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1826 echo "${ECHO_T}$ac_ct_STRIP" >&6
1828 echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1834 STRIP
="$ac_cv_prog_STRIP"
1838 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1840 # We need awk for the "check" target. The system "awk" is bad on
1845 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1846 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1847 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1848 if test "${enable_maintainer_mode+set}" = set; then
1849 enableval
="$enable_maintainer_mode"
1850 USE_MAINTAINER_MODE
=$enableval
1852 USE_MAINTAINER_MODE
=no
1854 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1855 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1858 if test $USE_MAINTAINER_MODE = yes; then
1859 MAINTAINER_MODE_TRUE
=
1860 MAINTAINER_MODE_FALSE
='#'
1862 MAINTAINER_MODE_TRUE
='#'
1863 MAINTAINER_MODE_FALSE
=
1866 MAINT
=$MAINTAINER_MODE_TRUE
1870 DEPDIR
="${am__leading_dot}deps"
1872 ac_config_commands
="$ac_config_commands depfiles"
1875 am_make
=${MAKE-make}
1876 cat > confinc
<< 'END'
1881 # If we don't find an include directive, just comment out the code.
1882 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1883 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1887 # First try GNU make style include.
1888 echo "include confinc" > confmf
1889 # We grep out `Entering directory' and `Leaving directory'
1890 # messages which can occur if `w' ends up in MAKEFLAGS.
1891 # In particular we don't look at `^make:' because GNU make might
1892 # be invoked under some other name (usually "gmake"), in which
1893 # case it prints its new name instead of `make'.
1894 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1899 # Now try BSD make style include.
1900 if test "$am__include" = "#"; then
1901 echo '.include "confinc"' > confmf
1902 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1903 am__include
=.include
1910 echo "$as_me:$LINENO: result: $_am_result" >&5
1911 echo "${ECHO_T}$_am_result" >&6
1912 rm -f confinc confmf
1914 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1915 if test "${enable_dependency_tracking+set}" = set; then
1916 enableval
="$enable_dependency_tracking"
1919 if test "x$enable_dependency_tracking" != xno
; then
1920 am_depcomp
="$ac_aux_dir/depcomp"
1925 if test "x$enable_dependency_tracking" != xno; then
1936 ac_cpp
='$CPP $CPPFLAGS'
1937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1940 if test -n "$ac_tool_prefix"; then
1941 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1942 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1943 echo "$as_me:$LINENO: checking for $ac_word" >&5
1944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1945 if test "${ac_cv_prog_CC+set}" = set; then
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 if test -n "$CC"; then
1949 ac_cv_prog_CC
="$CC" # Let the user override the test.
1951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1955 test -z "$as_dir" && as_dir
=.
1956 for ac_exec_ext
in '' $ac_executable_extensions; do
1957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1968 if test -n "$CC"; then
1969 echo "$as_me:$LINENO: result: $CC" >&5
1970 echo "${ECHO_T}$CC" >&6
1972 echo "$as_me:$LINENO: result: no" >&5
1973 echo "${ECHO_T}no" >&6
1977 if test -z "$ac_cv_prog_CC"; then
1979 # Extract the first word of "gcc", so it can be a program name with args.
1980 set dummy gcc
; ac_word
=$2
1981 echo "$as_me:$LINENO: checking for $ac_word" >&5
1982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1983 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 if test -n "$ac_ct_CC"; then
1987 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir
=.
1994 for ac_exec_ext
in '' $ac_executable_extensions; do
1995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996 ac_cv_prog_ac_ct_CC
="gcc"
1997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2005 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2006 if test -n "$ac_ct_CC"; then
2007 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2008 echo "${ECHO_T}$ac_ct_CC" >&6
2010 echo "$as_me:$LINENO: result: no" >&5
2011 echo "${ECHO_T}no" >&6
2019 if test -z "$CC"; then
2020 if test -n "$ac_tool_prefix"; then
2021 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2022 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2023 echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025 if test "${ac_cv_prog_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 if test -n "$CC"; then
2029 ac_cv_prog_CC
="$CC" # Let the user override the test.
2031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2035 test -z "$as_dir" && as_dir
=.
2036 for ac_exec_ext
in '' $ac_executable_extensions; do
2037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 if test -n "$CC"; then
2049 echo "$as_me:$LINENO: result: $CC" >&5
2050 echo "${ECHO_T}$CC" >&6
2052 echo "$as_me:$LINENO: result: no" >&5
2053 echo "${ECHO_T}no" >&6
2057 if test -z "$ac_cv_prog_CC"; then
2059 # Extract the first word of "cc", so it can be a program name with args.
2060 set dummy cc
; ac_word
=$2
2061 echo "$as_me:$LINENO: checking for $ac_word" >&5
2062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2063 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2066 if test -n "$ac_ct_CC"; then
2067 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2073 test -z "$as_dir" && as_dir
=.
2074 for ac_exec_ext
in '' $ac_executable_extensions; do
2075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2076 ac_cv_prog_ac_ct_CC
="cc"
2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2086 if test -n "$ac_ct_CC"; then
2087 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2088 echo "${ECHO_T}$ac_ct_CC" >&6
2090 echo "$as_me:$LINENO: result: no" >&5
2091 echo "${ECHO_T}no" >&6
2100 if test -z "$CC"; then
2101 # Extract the first word of "cc", so it can be a program name with args.
2102 set dummy cc
; ac_word
=$2
2103 echo "$as_me:$LINENO: checking for $ac_word" >&5
2104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2105 if test "${ac_cv_prog_CC+set}" = set; then
2106 echo $ECHO_N "(cached) $ECHO_C" >&6
2108 if test -n "$CC"; then
2109 ac_cv_prog_CC
="$CC" # Let the user override the test.
2112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2116 test -z "$as_dir" && as_dir
=.
2117 for ac_exec_ext
in '' $ac_executable_extensions; do
2118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2119 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2120 ac_prog_rejected
=yes
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2130 if test $ac_prog_rejected = yes; then
2131 # We found a bogon in the path, so make sure we never use it.
2132 set dummy
$ac_cv_prog_CC
2134 if test $# != 0; then
2135 # We chose a different compiler from the bogus one.
2136 # However, it has the same basename, so the bogon will be chosen
2137 # first if we set CC to just the basename; use the full file name.
2139 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2145 if test -n "$CC"; then
2146 echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2149 echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2154 if test -z "$CC"; then
2155 if test -n "$ac_tool_prefix"; then
2158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2159 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2160 echo "$as_me:$LINENO: checking for $ac_word" >&5
2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2162 if test "${ac_cv_prog_CC+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 if test -n "$CC"; then
2166 ac_cv_prog_CC
="$CC" # Let the user override the test.
2168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2172 test -z "$as_dir" && as_dir
=.
2173 for ac_exec_ext
in '' $ac_executable_extensions; do
2174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2175 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2185 if test -n "$CC"; then
2186 echo "$as_me:$LINENO: result: $CC" >&5
2187 echo "${ECHO_T}$CC" >&6
2189 echo "$as_me:$LINENO: result: no" >&5
2190 echo "${ECHO_T}no" >&6
2193 test -n "$CC" && break
2196 if test -z "$CC"; then
2200 # Extract the first word of "$ac_prog", so it can be a program name with args.
2201 set dummy
$ac_prog; ac_word
=$2
2202 echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2207 if test -n "$ac_ct_CC"; then
2208 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2214 test -z "$as_dir" && as_dir
=.
2215 for ac_exec_ext
in '' $ac_executable_extensions; do
2216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2217 ac_cv_prog_ac_ct_CC
="$ac_prog"
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2227 if test -n "$ac_ct_CC"; then
2228 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2229 echo "${ECHO_T}$ac_ct_CC" >&6
2231 echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6
2235 test -n "$ac_ct_CC" && break
2244 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2245 See \`config.log' for more details." >&5
2246 echo "$as_me: error: no acceptable C compiler found in \$PATH
2247 See \`config.log' for more details." >&2;}
2248 { (exit 1); exit 1; }; }
2250 # Provide some information about the compiler.
2251 echo "$as_me:$LINENO:" \
2252 "checking for C compiler version" >&5
2253 ac_compiler
=`set X $ac_compile; echo $2`
2254 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2255 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }
2259 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2260 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }
2264 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2265 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }
2270 cat >conftest.
$ac_ext <<_ACEOF
2273 cat confdefs.h
>>conftest.
$ac_ext
2274 cat >>conftest.
$ac_ext <<_ACEOF
2275 /* end confdefs.h. */
2285 ac_clean_files_save
=$ac_clean_files
2286 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2287 # Try to create an executable without -o first, disregard a.out.
2288 # It will help us diagnose broken compilers, and finding out an intuition
2290 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2291 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2292 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2293 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2294 (eval $ac_link_default) 2>&5
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); }; then
2298 # Find the output, starting from the most likely. This scheme is
2299 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2302 # Be careful to initialize this variable, since it used to be cached.
2303 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2305 # b.out is created by i960 compilers.
2306 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2308 test -f "$ac_file" || continue
2310 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
2313 # This is the source file.
2316 # We found the default executable, but exeext='' is most
2320 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2321 # FIXME: I believe we export ac_cv_exeext for Libtool,
2322 # but it would be cool to find out if it's true. Does anybody
2323 # maintain Libtool? --akim.
2331 echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.
$ac_ext >&5
2334 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2335 See \`config.log' for more details." >&5
2336 echo "$as_me: error: C compiler cannot create executables
2337 See \`config.log' for more details." >&2;}
2338 { (exit 77); exit 77; }; }
2341 ac_exeext
=$ac_cv_exeext
2342 echo "$as_me:$LINENO: result: $ac_file" >&5
2343 echo "${ECHO_T}$ac_file" >&6
2345 # Check the compiler produces executables we can run. If not, either
2346 # the compiler is broken, or we cross compile.
2347 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2348 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2349 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2350 # If not cross compiling, check that we can run a simple program.
2351 if test "$cross_compiling" != yes; then
2352 if { ac_try
='./$ac_file'
2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; }; then
2360 if test "$cross_compiling" = maybe
; then
2363 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2364 If you meant to cross compile, use \`--host'.
2365 See \`config.log' for more details." >&5
2366 echo "$as_me: error: cannot run C compiled programs.
2367 If you meant to cross compile, use \`--host'.
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2373 echo "$as_me:$LINENO: result: yes" >&5
2374 echo "${ECHO_T}yes" >&6
2376 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2377 ac_clean_files
=$ac_clean_files_save
2378 # Check the compiler produces executables we can run. If not, either
2379 # the compiler is broken, or we cross compile.
2380 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2381 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2382 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2383 echo "${ECHO_T}$cross_compiling" >&6
2385 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2386 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2388 (eval $ac_link) 2>&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); }; then
2392 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2393 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2394 # work properly (i.e., refer to `conftest.exe'), while it won't with
2396 for ac_file
in conftest.exe conftest conftest.
*; do
2397 test -f "$ac_file" || continue
2399 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
2400 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2407 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2408 See \`config.log' for more details." >&5
2409 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2410 See \`config.log' for more details." >&2;}
2411 { (exit 1); exit 1; }; }
2414 rm -f conftest
$ac_cv_exeext
2415 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2416 echo "${ECHO_T}$ac_cv_exeext" >&6
2418 rm -f conftest.
$ac_ext
2419 EXEEXT
=$ac_cv_exeext
2421 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2422 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2423 if test "${ac_cv_objext+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 cat >conftest.
$ac_ext <<_ACEOF
2429 cat confdefs.h
>>conftest.
$ac_ext
2430 cat >>conftest.
$ac_ext <<_ACEOF
2431 /* end confdefs.h. */
2441 rm -f conftest.o conftest.obj
2442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2443 (eval $ac_compile) 2>&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; then
2447 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2449 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
2450 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2455 echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.
$ac_ext >&5
2458 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2459 See \`config.log' for more details." >&5
2460 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2461 See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2465 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2467 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2468 echo "${ECHO_T}$ac_cv_objext" >&6
2469 OBJEXT
=$ac_cv_objext
2471 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2472 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2473 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2476 cat >conftest.
$ac_ext <<_ACEOF
2479 cat confdefs.h
>>conftest.
$ac_ext
2480 cat >>conftest.
$ac_ext <<_ACEOF
2481 /* end confdefs.h. */
2494 rm -f conftest.
$ac_objext
2495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2496 (eval $ac_compile) 2>conftest.er1
2498 grep -v '^ *+' conftest.er1
>conftest.err
2500 cat conftest.err
>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); } &&
2503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; } &&
2509 { ac_try
='test -s conftest.$ac_objext'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; }; then
2517 echo "$as_me: failed program was:" >&5
2518 sed 's/^/| /' conftest.
$ac_ext >&5
2522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2523 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2526 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2527 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2528 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2529 ac_test_CFLAGS
=${CFLAGS+set}
2530 ac_save_CFLAGS
=$CFLAGS
2532 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2533 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2534 if test "${ac_cv_prog_cc_g+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 cat >conftest.
$ac_ext <<_ACEOF
2540 cat confdefs.h
>>conftest.
$ac_ext
2541 cat >>conftest.
$ac_ext <<_ACEOF
2542 /* end confdefs.h. */
2552 rm -f conftest.
$ac_objext
2553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2554 (eval $ac_compile) 2>conftest.er1
2556 grep -v '^ *+' conftest.er1
>conftest.err
2558 cat conftest.err
>&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); } &&
2561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; } &&
2567 { ac_try
='test -s conftest.$ac_objext'
2568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; }; then
2575 echo "$as_me: failed program was:" >&5
2576 sed 's/^/| /' conftest.
$ac_ext >&5
2580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2582 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2583 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2584 if test "$ac_test_CFLAGS" = set; then
2585 CFLAGS
=$ac_save_CFLAGS
2586 elif test $ac_cv_prog_cc_g = yes; then
2587 if test "$GCC" = yes; then
2593 if test "$GCC" = yes; then
2599 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2600 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2601 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 ac_cv_prog_cc_stdc
=no
2606 cat >conftest.
$ac_ext <<_ACEOF
2609 cat confdefs.h
>>conftest.
$ac_ext
2610 cat >>conftest.
$ac_ext <<_ACEOF
2611 /* end confdefs.h. */
2614 #include <sys/types.h>
2615 #include <sys/stat.h>
2616 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2617 struct buf { int x; };
2618 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2619 static char *e (p, i)
2625 static char *f (char * (*g) (char **, int), char **p, ...)
2630 s = g (p, va_arg (v,int));
2635 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2636 function prototypes and stuff, but not '\xHH' hex character constants.
2637 These don't provoke an error unfortunately, instead are silently treated
2638 as 'x'. The following induces an error, until -std1 is added to get
2639 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2640 array size at least. It's necessary to write '\x00'==0 to get something
2641 that's true only with -std1. */
2642 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2644 int test (int i, double x);
2645 struct s1 {int (*f) (int a);};
2646 struct s2 {int (*f) (double a);};
2647 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2653 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2658 # Don't try gcc -ansi; that turns off useful extensions and
2659 # breaks some systems' header files.
2660 # AIX -qlanglvl=ansi
2661 # Ultrix and OSF/1 -std1
2662 # HP-UX 10.20 and later -Ae
2663 # HP-UX older versions -Aa -D_HPUX_SOURCE
2664 # SVR4 -Xc -D__EXTENSIONS__
2665 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2667 CC
="$ac_save_CC $ac_arg"
2668 rm -f conftest.
$ac_objext
2669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2670 (eval $ac_compile) 2>conftest.er1
2672 grep -v '^ *+' conftest.er1
>conftest.err
2674 cat conftest.err
>&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); } &&
2677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; } &&
2683 { ac_try
='test -s conftest.$ac_objext'
2684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); }; }; then
2689 ac_cv_prog_cc_stdc
=$ac_arg
2692 echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.
$ac_ext >&5
2696 rm -f conftest.err conftest.
$ac_objext
2698 rm -f conftest.
$ac_ext conftest.
$ac_objext
2703 case "x$ac_cv_prog_cc_stdc" in
2705 echo "$as_me:$LINENO: result: none needed" >&5
2706 echo "${ECHO_T}none needed" >&6 ;;
2708 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2709 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2710 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2713 # Some people use a C++ compiler to compile C. Since we use `exit',
2714 # in C++ we need to declare it. In case someone uses the same compiler
2715 # for both compiling C and C++ we need to have the C++ compiler decide
2716 # the declaration of exit, since it's the most demanding environment.
2717 cat >conftest.
$ac_ext <<_ACEOF
2722 rm -f conftest.
$ac_objext
2723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2724 (eval $ac_compile) 2>conftest.er1
2726 grep -v '^ *+' conftest.er1
>conftest.err
2728 cat conftest.err
>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } &&
2731 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; } &&
2737 { ac_try
='test -s conftest.$ac_objext'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; }; then
2743 for ac_declaration
in \
2745 'extern "C" void std::exit (int) throw (); using std::exit;' \
2746 'extern "C" void std::exit (int); using std::exit;' \
2747 'extern "C" void exit (int) throw ();' \
2748 'extern "C" void exit (int);' \
2751 cat >conftest.
$ac_ext <<_ACEOF
2754 cat confdefs.h
>>conftest.
$ac_ext
2755 cat >>conftest.
$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2767 rm -f conftest.
$ac_objext
2768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2769 (eval $ac_compile) 2>conftest.er1
2771 grep -v '^ *+' conftest.er1
>conftest.err
2773 cat conftest.err
>&5
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); } &&
2776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); }; } &&
2782 { ac_try
='test -s conftest.$ac_objext'
2783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; }; then
2790 echo "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.
$ac_ext >&5
2795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2796 cat >conftest.
$ac_ext <<_ACEOF
2799 cat confdefs.h
>>conftest.
$ac_ext
2800 cat >>conftest.
$ac_ext <<_ACEOF
2801 /* end confdefs.h. */
2811 rm -f conftest.
$ac_objext
2812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2813 (eval $ac_compile) 2>conftest.er1
2815 grep -v '^ *+' conftest.er1
>conftest.err
2817 cat conftest.err
>&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); } &&
2820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 (exit $ac_status); }; } &&
2826 { ac_try
='test -s conftest.$ac_objext'
2827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; }; then
2834 echo "$as_me: failed program was:" >&5
2835 sed 's/^/| /' conftest.
$ac_ext >&5
2838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2841 if test -n "$ac_declaration"; then
2842 echo '#ifdef __cplusplus' >>confdefs.h
2843 echo $ac_declaration >>confdefs.h
2844 echo '#endif' >>confdefs.h
2848 echo "$as_me: failed program was:" >&5
2849 sed 's/^/| /' conftest.
$ac_ext >&5
2852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2854 ac_cpp
='$CPP $CPPFLAGS'
2855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2859 depcc
="$CC" am_compiler_list
=
2861 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2862 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2863 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2866 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2867 # We make a subdir and do the tests there. Otherwise we can end up
2868 # making bogus files that we don't know about and never remove. For
2869 # instance it was reported that on HP-UX the gcc test will end up
2870 # making a dummy file named `D' -- because `-MD' means `put the output
2873 # Copy depcomp to subdir because otherwise we won't find it if we're
2874 # using a relative directory.
2875 cp "$am_depcomp" conftest.dir
2877 # We will build objects and dependencies in a subdirectory because
2878 # it helps to detect inapplicable dependency modes. For instance
2879 # both Tru64's cc and ICC support -MD to output dependencies as a
2880 # side effect of compilation, but ICC will put the dependencies in
2881 # the current directory while Tru64 will put them in the object
2885 am_cv_CC_dependencies_compiler_type
=none
2886 if test "$am_compiler_list" = ""; then
2887 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2889 for depmode
in $am_compiler_list; do
2890 # Setup a source with many dependencies, because some compilers
2891 # like to wrap large dependency lists on column 80 (with \), and
2892 # we should not choose a depcomp mode which is confused by this.
2894 # We need to recreate these files for each test, as the compiler may
2895 # overwrite some of them when testing with obscure command lines.
2896 # This happens at least with the AIX C compiler.
2898 for i
in 1 2 3 4 5 6; do
2899 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2900 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2901 # Solaris 8's {/usr,}/bin/sh.
2902 touch sub
/conftst
$i.h
2904 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2908 # after this tag, mechanisms are not by side-effect, so they'll
2909 # only be used when explicitly requested
2910 if test "x$enable_dependency_tracking" = xyes
; then
2918 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2919 # mode. It turns out that the SunPro C++ compiler does not properly
2920 # handle `-M -o', and we need to detect this.
2921 if depmode
=$depmode \
2922 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2923 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2924 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2925 >/dev
/null
2>conftest.err
&&
2926 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2927 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2928 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2929 # icc doesn't choke on unknown options, it will just issue warnings
2930 # or remarks (even with -Werror). So we grep stderr for any message
2931 # that says an option was ignored or not supported.
2932 # When given -MP, icc 7.0 and 7.1 complain thusly:
2933 # icc: Command line warning: ignoring option '-M'; no argument required
2934 # The diagnosis changed in icc 8.0:
2935 # icc: Command line remark: option '-MP' not supported
2936 if (grep 'ignoring option' conftest.err
||
2937 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2938 am_cv_CC_dependencies_compiler_type
=$depmode
2947 am_cv_CC_dependencies_compiler_type
=none
2951 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2952 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2953 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2958 test "x$enable_dependency_tracking" != xno \
2959 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2961 am__fastdepCC_FALSE
='#'
2963 am__fastdepCC_TRUE
='#'
2964 am__fastdepCC_FALSE
=
2969 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
2970 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
2971 if test "${ac_cv_type_signal+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 cat >conftest.
$ac_ext <<_ACEOF
2977 cat confdefs.h
>>conftest.
$ac_ext
2978 cat >>conftest.
$ac_ext <<_ACEOF
2979 /* end confdefs.h. */
2980 #include <sys/types.h>
2986 extern "C" void (*signal (int, void (*)(int)))(int);
2988 void (*signal ()) ();
2999 rm -f conftest.
$ac_objext
3000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3001 (eval $ac_compile) 2>conftest.er1
3003 grep -v '^ *+' conftest.er1
>conftest.err
3005 cat conftest.err
>&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); } &&
3008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); }; } &&
3014 { ac_try
='test -s conftest.$ac_objext'
3015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); }; }; then
3020 ac_cv_type_signal
=void
3022 echo "$as_me: failed program was:" >&5
3023 sed 's/^/| /' conftest.
$ac_ext >&5
3025 ac_cv_type_signal
=int
3027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3029 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3030 echo "${ECHO_T}$ac_cv_type_signal" >&6
3032 cat >>confdefs.h
<<_ACEOF
3033 #define RETSIGTYPE $ac_cv_type_signal
3037 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3038 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3039 if test "${ac_cv_c_const+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 cat >conftest.
$ac_ext <<_ACEOF
3045 cat confdefs.h
>>conftest.
$ac_ext
3046 cat >>conftest.
$ac_ext <<_ACEOF
3047 /* end confdefs.h. */
3052 /* FIXME: Include the comments suggested by Paul. */
3054 /* Ultrix mips cc rejects this. */
3055 typedef int charset[2];
3057 /* SunOS 4.1.1 cc rejects this. */
3058 char const *const *ccp;
3060 /* NEC SVR4.0.2 mips cc rejects this. */
3061 struct point {int x, y;};
3062 static struct point const zero = {0,0};
3063 /* AIX XL C 1.02.0.0 rejects this.
3064 It does not let you subtract one const X* pointer from another in
3065 an arm of an if-expression whose if-part is not a constant
3067 const char *g = "string";
3068 ccp = &g + (g ? g-g : 0);
3069 /* HPUX 7.0 cc rejects these. */
3072 ccp = (char const *const *) p;
3073 { /* SCO 3.2v4 cc rejects this. */
3075 char const *s = 0 ? (char *) 0 : (char const *) 0;
3079 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3081 const int *foo = &x[0];
3084 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3085 typedef const int *iptr;
3089 { /* AIX XL C 1.02.0.0 rejects this saying
3090 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3091 struct s { int j; const int *ap[3]; };
3092 struct s *b; b->j = 5;
3094 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3103 rm -f conftest.
$ac_objext
3104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3105 (eval $ac_compile) 2>conftest.er1
3107 grep -v '^ *+' conftest.er1
>conftest.err
3109 cat conftest.err
>&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } &&
3112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117 (exit $ac_status); }; } &&
3118 { ac_try
='test -s conftest.$ac_objext'
3119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }; }; then
3126 echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.
$ac_ext >&5
3131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3133 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3134 echo "${ECHO_T}$ac_cv_c_const" >&6
3135 if test $ac_cv_c_const = no
; then
3137 cat >>confdefs.h
<<\_ACEOF
3143 echo "$as_me:$LINENO: checking for inline" >&5
3144 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3145 if test "${ac_cv_c_inline+set}" = set; then
3146 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 for ac_kw
in inline __inline__ __inline
; do
3150 cat >conftest.
$ac_ext <<_ACEOF
3153 cat confdefs.h
>>conftest.
$ac_ext
3154 cat >>conftest.
$ac_ext <<_ACEOF
3155 /* end confdefs.h. */
3158 static $ac_kw foo_t static_foo () {return 0; }
3159 $ac_kw foo_t foo () {return 0; }
3163 rm -f conftest.
$ac_objext
3164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3165 (eval $ac_compile) 2>conftest.er1
3167 grep -v '^ *+' conftest.er1
>conftest.err
3169 cat conftest.err
>&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); } &&
3172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; } &&
3178 { ac_try
='test -s conftest.$ac_objext'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3184 ac_cv_c_inline
=$ac_kw; break
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.
$ac_ext >&5
3190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3194 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3195 echo "${ECHO_T}$ac_cv_c_inline" >&6
3198 case $ac_cv_c_inline in
3201 case $ac_cv_c_inline in
3203 *) ac_val
=$ac_cv_c_inline;;
3205 cat >>confdefs.h
<<_ACEOF
3207 #define inline $ac_val
3214 for ac_prog
in gawk mawk nawk
awk
3216 # Extract the first word of "$ac_prog", so it can be a program name with args.
3217 set dummy
$ac_prog; ac_word
=$2
3218 echo "$as_me:$LINENO: checking for $ac_word" >&5
3219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3220 if test "${ac_cv_prog_AWK+set}" = set; then
3221 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 if test -n "$AWK"; then
3224 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir
=.
3231 for ac_exec_ext
in '' $ac_executable_extensions; do
3232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3233 ac_cv_prog_AWK
="$ac_prog"
3234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3243 if test -n "$AWK"; then
3244 echo "$as_me:$LINENO: result: $AWK" >&5
3245 echo "${ECHO_T}$AWK" >&6
3247 echo "$as_me:$LINENO: result: no" >&5
3248 echo "${ECHO_T}no" >&6
3251 test -n "$AWK" && break
3255 ac_cpp
='$CPP $CPPFLAGS'
3256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3259 if test -n "$ac_tool_prefix"; then
3260 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3261 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3262 echo "$as_me:$LINENO: checking for $ac_word" >&5
3263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3264 if test "${ac_cv_prog_CC+set}" = set; then
3265 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 if test -n "$CC"; then
3268 ac_cv_prog_CC
="$CC" # Let the user override the test.
3270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3274 test -z "$as_dir" && as_dir
=.
3275 for ac_exec_ext
in '' $ac_executable_extensions; do
3276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3277 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 if test -n "$CC"; then
3288 echo "$as_me:$LINENO: result: $CC" >&5
3289 echo "${ECHO_T}$CC" >&6
3291 echo "$as_me:$LINENO: result: no" >&5
3292 echo "${ECHO_T}no" >&6
3296 if test -z "$ac_cv_prog_CC"; then
3298 # Extract the first word of "gcc", so it can be a program name with args.
3299 set dummy gcc
; ac_word
=$2
3300 echo "$as_me:$LINENO: checking for $ac_word" >&5
3301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3302 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3303 echo $ECHO_N "(cached) $ECHO_C" >&6
3305 if test -n "$ac_ct_CC"; then
3306 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3312 test -z "$as_dir" && as_dir
=.
3313 for ac_exec_ext
in '' $ac_executable_extensions; do
3314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3315 ac_cv_prog_ac_ct_CC
="gcc"
3316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3325 if test -n "$ac_ct_CC"; then
3326 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3327 echo "${ECHO_T}$ac_ct_CC" >&6
3329 echo "$as_me:$LINENO: result: no" >&5
3330 echo "${ECHO_T}no" >&6
3338 if test -z "$CC"; then
3339 if test -n "$ac_tool_prefix"; then
3340 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3341 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3342 echo "$as_me:$LINENO: checking for $ac_word" >&5
3343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3344 if test "${ac_cv_prog_CC+set}" = set; then
3345 echo $ECHO_N "(cached) $ECHO_C" >&6
3347 if test -n "$CC"; then
3348 ac_cv_prog_CC
="$CC" # Let the user override the test.
3350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3354 test -z "$as_dir" && as_dir
=.
3355 for ac_exec_ext
in '' $ac_executable_extensions; do
3356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3357 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3367 if test -n "$CC"; then
3368 echo "$as_me:$LINENO: result: $CC" >&5
3369 echo "${ECHO_T}$CC" >&6
3371 echo "$as_me:$LINENO: result: no" >&5
3372 echo "${ECHO_T}no" >&6
3376 if test -z "$ac_cv_prog_CC"; then
3378 # Extract the first word of "cc", so it can be a program name with args.
3379 set dummy cc
; ac_word
=$2
3380 echo "$as_me:$LINENO: checking for $ac_word" >&5
3381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3382 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3383 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 if test -n "$ac_ct_CC"; then
3386 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3392 test -z "$as_dir" && as_dir
=.
3393 for ac_exec_ext
in '' $ac_executable_extensions; do
3394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3395 ac_cv_prog_ac_ct_CC
="cc"
3396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3405 if test -n "$ac_ct_CC"; then
3406 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3407 echo "${ECHO_T}$ac_ct_CC" >&6
3409 echo "$as_me:$LINENO: result: no" >&5
3410 echo "${ECHO_T}no" >&6
3419 if test -z "$CC"; then
3420 # Extract the first word of "cc", so it can be a program name with args.
3421 set dummy cc
; ac_word
=$2
3422 echo "$as_me:$LINENO: checking for $ac_word" >&5
3423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3424 if test "${ac_cv_prog_CC+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 if test -n "$CC"; then
3428 ac_cv_prog_CC
="$CC" # Let the user override the test.
3431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3435 test -z "$as_dir" && as_dir
=.
3436 for ac_exec_ext
in '' $ac_executable_extensions; do
3437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3438 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3439 ac_prog_rejected
=yes
3443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3449 if test $ac_prog_rejected = yes; then
3450 # We found a bogon in the path, so make sure we never use it.
3451 set dummy
$ac_cv_prog_CC
3453 if test $# != 0; then
3454 # We chose a different compiler from the bogus one.
3455 # However, it has the same basename, so the bogon will be chosen
3456 # first if we set CC to just the basename; use the full file name.
3458 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3464 if test -n "$CC"; then
3465 echo "$as_me:$LINENO: result: $CC" >&5
3466 echo "${ECHO_T}$CC" >&6
3468 echo "$as_me:$LINENO: result: no" >&5
3469 echo "${ECHO_T}no" >&6
3473 if test -z "$CC"; then
3474 if test -n "$ac_tool_prefix"; then
3477 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3478 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3479 echo "$as_me:$LINENO: checking for $ac_word" >&5
3480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3481 if test "${ac_cv_prog_CC+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3484 if test -n "$CC"; then
3485 ac_cv_prog_CC
="$CC" # Let the user override the test.
3487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3491 test -z "$as_dir" && as_dir
=.
3492 for ac_exec_ext
in '' $ac_executable_extensions; do
3493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 if test -n "$CC"; then
3505 echo "$as_me:$LINENO: result: $CC" >&5
3506 echo "${ECHO_T}$CC" >&6
3508 echo "$as_me:$LINENO: result: no" >&5
3509 echo "${ECHO_T}no" >&6
3512 test -n "$CC" && break
3515 if test -z "$CC"; then
3519 # Extract the first word of "$ac_prog", so it can be a program name with args.
3520 set dummy
$ac_prog; ac_word
=$2
3521 echo "$as_me:$LINENO: checking for $ac_word" >&5
3522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3523 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 if test -n "$ac_ct_CC"; then
3527 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3533 test -z "$as_dir" && as_dir
=.
3534 for ac_exec_ext
in '' $ac_executable_extensions; do
3535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3536 ac_cv_prog_ac_ct_CC
="$ac_prog"
3537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3545 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3546 if test -n "$ac_ct_CC"; then
3547 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3548 echo "${ECHO_T}$ac_ct_CC" >&6
3550 echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3554 test -n "$ac_ct_CC" && break
3563 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3564 See \`config.log' for more details." >&5
3565 echo "$as_me: error: no acceptable C compiler found in \$PATH
3566 See \`config.log' for more details." >&2;}
3567 { (exit 1); exit 1; }; }
3569 # Provide some information about the compiler.
3570 echo "$as_me:$LINENO:" \
3571 "checking for C compiler version" >&5
3572 ac_compiler
=`set X $ac_compile; echo $2`
3573 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3574 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }
3578 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3579 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); }
3583 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3584 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); }
3589 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3590 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3591 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 cat >conftest.
$ac_ext <<_ACEOF
3597 cat confdefs.h
>>conftest.
$ac_ext
3598 cat >>conftest.
$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3612 rm -f conftest.
$ac_objext
3613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3614 (eval $ac_compile) 2>conftest.er1
3616 grep -v '^ *+' conftest.er1
>conftest.err
3618 cat conftest.err
>&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); } &&
3621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; } &&
3627 { ac_try
='test -s conftest.$ac_objext'
3628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); }; }; then
3635 echo "$as_me: failed program was:" >&5
3636 sed 's/^/| /' conftest.
$ac_ext >&5
3640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3641 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3644 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3645 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3646 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3647 ac_test_CFLAGS
=${CFLAGS+set}
3648 ac_save_CFLAGS
=$CFLAGS
3650 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3651 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3652 if test "${ac_cv_prog_cc_g+set}" = set; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 cat >conftest.
$ac_ext <<_ACEOF
3658 cat confdefs.h
>>conftest.
$ac_ext
3659 cat >>conftest.
$ac_ext <<_ACEOF
3660 /* end confdefs.h. */
3670 rm -f conftest.
$ac_objext
3671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3672 (eval $ac_compile) 2>conftest.er1
3674 grep -v '^ *+' conftest.er1
>conftest.err
3676 cat conftest.err
>&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); } &&
3679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }; } &&
3685 { ac_try
='test -s conftest.$ac_objext'
3686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); }; }; then
3693 echo "$as_me: failed program was:" >&5
3694 sed 's/^/| /' conftest.
$ac_ext >&5
3698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3700 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3701 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3702 if test "$ac_test_CFLAGS" = set; then
3703 CFLAGS
=$ac_save_CFLAGS
3704 elif test $ac_cv_prog_cc_g = yes; then
3705 if test "$GCC" = yes; then
3711 if test "$GCC" = yes; then
3717 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3718 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3719 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 ac_cv_prog_cc_stdc
=no
3724 cat >conftest.
$ac_ext <<_ACEOF
3727 cat confdefs.h
>>conftest.
$ac_ext
3728 cat >>conftest.
$ac_ext <<_ACEOF
3729 /* end confdefs.h. */
3732 #include <sys/types.h>
3733 #include <sys/stat.h>
3734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3735 struct buf { int x; };
3736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3737 static char *e (p, i)
3743 static char *f (char * (*g) (char **, int), char **p, ...)
3748 s = g (p, va_arg (v,int));
3753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3754 function prototypes and stuff, but not '\xHH' hex character constants.
3755 These don't provoke an error unfortunately, instead are silently treated
3756 as 'x'. The following induces an error, until -std1 is added to get
3757 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3758 array size at least. It's necessary to write '\x00'==0 to get something
3759 that's true only with -std1. */
3760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3762 int test (int i, double x);
3763 struct s1 {int (*f) (int a);};
3764 struct s2 {int (*f) (double a);};
3765 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3771 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3776 # Don't try gcc -ansi; that turns off useful extensions and
3777 # breaks some systems' header files.
3778 # AIX -qlanglvl=ansi
3779 # Ultrix and OSF/1 -std1
3780 # HP-UX 10.20 and later -Ae
3781 # HP-UX older versions -Aa -D_HPUX_SOURCE
3782 # SVR4 -Xc -D__EXTENSIONS__
3783 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3785 CC
="$ac_save_CC $ac_arg"
3786 rm -f conftest.
$ac_objext
3787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3788 (eval $ac_compile) 2>conftest.er1
3790 grep -v '^ *+' conftest.er1
>conftest.err
3792 cat conftest.err
>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } &&
3795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); }; } &&
3801 { ac_try
='test -s conftest.$ac_objext'
3802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); }; }; then
3807 ac_cv_prog_cc_stdc
=$ac_arg
3810 echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.
$ac_ext >&5
3814 rm -f conftest.err conftest.
$ac_objext
3816 rm -f conftest.
$ac_ext conftest.
$ac_objext
3821 case "x$ac_cv_prog_cc_stdc" in
3823 echo "$as_me:$LINENO: result: none needed" >&5
3824 echo "${ECHO_T}none needed" >&6 ;;
3826 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3827 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3828 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3831 # Some people use a C++ compiler to compile C. Since we use `exit',
3832 # in C++ we need to declare it. In case someone uses the same compiler
3833 # for both compiling C and C++ we need to have the C++ compiler decide
3834 # the declaration of exit, since it's the most demanding environment.
3835 cat >conftest.
$ac_ext <<_ACEOF
3840 rm -f conftest.
$ac_objext
3841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3842 (eval $ac_compile) 2>conftest.er1
3844 grep -v '^ *+' conftest.er1
>conftest.err
3846 cat conftest.err
>&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); } &&
3849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); }; } &&
3855 { ac_try
='test -s conftest.$ac_objext'
3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); }; }; then
3861 for ac_declaration
in \
3863 'extern "C" void std::exit (int) throw (); using std::exit;' \
3864 'extern "C" void std::exit (int); using std::exit;' \
3865 'extern "C" void exit (int) throw ();' \
3866 'extern "C" void exit (int);' \
3869 cat >conftest.
$ac_ext <<_ACEOF
3872 cat confdefs.h
>>conftest.
$ac_ext
3873 cat >>conftest.
$ac_ext <<_ACEOF
3874 /* end confdefs.h. */
3885 rm -f conftest.
$ac_objext
3886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3887 (eval $ac_compile) 2>conftest.er1
3889 grep -v '^ *+' conftest.er1
>conftest.err
3891 cat conftest.err
>&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); } &&
3894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); }; } &&
3900 { ac_try
='test -s conftest.$ac_objext'
3901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); }; }; then
3908 echo "$as_me: failed program was:" >&5
3909 sed 's/^/| /' conftest.
$ac_ext >&5
3913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3914 cat >conftest.
$ac_ext <<_ACEOF
3917 cat confdefs.h
>>conftest.
$ac_ext
3918 cat >>conftest.
$ac_ext <<_ACEOF
3919 /* end confdefs.h. */
3929 rm -f conftest.
$ac_objext
3930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3931 (eval $ac_compile) 2>conftest.er1
3933 grep -v '^ *+' conftest.er1
>conftest.err
3935 cat conftest.err
>&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); } &&
3938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943 (exit $ac_status); }; } &&
3944 { ac_try
='test -s conftest.$ac_objext'
3945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); }; }; then
3952 echo "$as_me: failed program was:" >&5
3953 sed 's/^/| /' conftest.
$ac_ext >&5
3956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3959 if test -n "$ac_declaration"; then
3960 echo '#ifdef __cplusplus' >>confdefs.h
3961 echo $ac_declaration >>confdefs.h
3962 echo '#endif' >>confdefs.h
3966 echo "$as_me: failed program was:" >&5
3967 sed 's/^/| /' conftest.
$ac_ext >&5
3970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3972 ac_cpp
='$CPP $CPPFLAGS'
3973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3977 depcc
="$CC" am_compiler_list
=
3979 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3980 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3981 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3982 echo $ECHO_N "(cached) $ECHO_C" >&6
3984 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3985 # We make a subdir and do the tests there. Otherwise we can end up
3986 # making bogus files that we don't know about and never remove. For
3987 # instance it was reported that on HP-UX the gcc test will end up
3988 # making a dummy file named `D' -- because `-MD' means `put the output
3991 # Copy depcomp to subdir because otherwise we won't find it if we're
3992 # using a relative directory.
3993 cp "$am_depcomp" conftest.dir
3995 # We will build objects and dependencies in a subdirectory because
3996 # it helps to detect inapplicable dependency modes. For instance
3997 # both Tru64's cc and ICC support -MD to output dependencies as a
3998 # side effect of compilation, but ICC will put the dependencies in
3999 # the current directory while Tru64 will put them in the object
4003 am_cv_CC_dependencies_compiler_type
=none
4004 if test "$am_compiler_list" = ""; then
4005 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4007 for depmode
in $am_compiler_list; do
4008 # Setup a source with many dependencies, because some compilers
4009 # like to wrap large dependency lists on column 80 (with \), and
4010 # we should not choose a depcomp mode which is confused by this.
4012 # We need to recreate these files for each test, as the compiler may
4013 # overwrite some of them when testing with obscure command lines.
4014 # This happens at least with the AIX C compiler.
4016 for i
in 1 2 3 4 5 6; do
4017 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4018 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4019 # Solaris 8's {/usr,}/bin/sh.
4020 touch sub
/conftst
$i.h
4022 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4026 # after this tag, mechanisms are not by side-effect, so they'll
4027 # only be used when explicitly requested
4028 if test "x$enable_dependency_tracking" = xyes
; then
4036 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4037 # mode. It turns out that the SunPro C++ compiler does not properly
4038 # handle `-M -o', and we need to detect this.
4039 if depmode
=$depmode \
4040 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4041 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4042 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4043 >/dev
/null
2>conftest.err
&&
4044 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4045 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4046 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4047 # icc doesn't choke on unknown options, it will just issue warnings
4048 # or remarks (even with -Werror). So we grep stderr for any message
4049 # that says an option was ignored or not supported.
4050 # When given -MP, icc 7.0 and 7.1 complain thusly:
4051 # icc: Command line warning: ignoring option '-M'; no argument required
4052 # The diagnosis changed in icc 8.0:
4053 # icc: Command line remark: option '-MP' not supported
4054 if (grep 'ignoring option' conftest.err
||
4055 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4056 am_cv_CC_dependencies_compiler_type
=$depmode
4065 am_cv_CC_dependencies_compiler_type
=none
4069 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4070 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4071 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4076 test "x$enable_dependency_tracking" != xno \
4077 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4079 am__fastdepCC_FALSE
='#'
4081 am__fastdepCC_TRUE
='#'
4082 am__fastdepCC_FALSE
=
4086 if test -n "$ac_tool_prefix"; then
4087 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4088 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4089 echo "$as_me:$LINENO: checking for $ac_word" >&5
4090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4091 if test "${ac_cv_prog_RANLIB+set}" = set; then
4092 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 if test -n "$RANLIB"; then
4095 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4101 test -z "$as_dir" && as_dir
=.
4102 for ac_exec_ext
in '' $ac_executable_extensions; do
4103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4104 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4113 RANLIB
=$ac_cv_prog_RANLIB
4114 if test -n "$RANLIB"; then
4115 echo "$as_me:$LINENO: result: $RANLIB" >&5
4116 echo "${ECHO_T}$RANLIB" >&6
4118 echo "$as_me:$LINENO: result: no" >&5
4119 echo "${ECHO_T}no" >&6
4123 if test -z "$ac_cv_prog_RANLIB"; then
4124 ac_ct_RANLIB
=$RANLIB
4125 # Extract the first word of "ranlib", so it can be a program name with args.
4126 set dummy ranlib
; ac_word
=$2
4127 echo "$as_me:$LINENO: checking for $ac_word" >&5
4128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4129 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 if test -n "$ac_ct_RANLIB"; then
4133 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4139 test -z "$as_dir" && as_dir
=.
4140 for ac_exec_ext
in '' $ac_executable_extensions; do
4141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4142 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4149 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4152 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4153 if test -n "$ac_ct_RANLIB"; then
4154 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4155 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4157 echo "$as_me:$LINENO: result: no" >&5
4158 echo "${ECHO_T}no" >&6
4161 RANLIB
=$ac_ct_RANLIB
4163 RANLIB
="$ac_cv_prog_RANLIB"
4166 # Find a good install program. We prefer a C program (faster),
4167 # so one script is as good as another. But avoid the broken or
4168 # incompatible versions:
4169 # SysV /etc/install, /usr/sbin/install
4170 # SunOS /usr/etc/install
4171 # IRIX /sbin/install
4173 # AmigaOS /C/install, which installs bootblocks on floppy discs
4174 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4175 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4176 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4177 # OS/2's system install, which has a completely different semantic
4178 # ./install, which can be erroneously created by make from ./install.sh.
4179 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4180 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4181 if test -z "$INSTALL"; then
4182 if test "${ac_cv_path_install+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4189 test -z "$as_dir" && as_dir
=.
4190 # Account for people who put trailing slashes in PATH elements.
4192 .
/ | .
// | /cC
/* | \
4193 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4194 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4197 # OSF1 and SCO ODT 3.0 have their own names for install.
4198 # Don't use installbsd from OSF since it installs stuff as root
4200 for ac_prog
in ginstall scoinst
install; do
4201 for ac_exec_ext
in '' $ac_executable_extensions; do
4202 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4203 if test $ac_prog = install &&
4204 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4205 # AIX install. It has an incompatible calling convention.
4207 elif test $ac_prog = install &&
4208 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4209 # program-specific install script used by HP pwplus--don't use.
4212 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4224 if test "${ac_cv_path_install+set}" = set; then
4225 INSTALL
=$ac_cv_path_install
4227 # As a last resort, use the slow shell script. We don't cache a
4228 # path for INSTALL within a source directory, because that will
4229 # break other packages using the cache if that directory is
4230 # removed, or if the path is relative.
4231 INSTALL
=$ac_install_sh
4234 echo "$as_me:$LINENO: result: $INSTALL" >&5
4235 echo "${ECHO_T}$INSTALL" >&6
4237 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4238 # It thinks the first close brace ends the variable substitution.
4239 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4241 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4243 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4245 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4246 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4248 if test "$LN_S" = "ln -s"; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4252 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4253 echo "${ECHO_T}no, using $LN_S" >&6
4256 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4257 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4258 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
4259 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4260 echo $ECHO_N "(cached) $ECHO_C" >&6
4262 cat >conftest.
make <<\_ACEOF
4264 @
echo 'ac_maketemp="$(MAKE)"'
4266 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4267 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4268 if test -n "$ac_maketemp"; then
4269 eval ac_cv_prog_make_
${ac_make}_set
=yes
4271 eval ac_cv_prog_make_
${ac_make}_set
=no
4275 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4276 echo "$as_me:$LINENO: result: yes" >&5
4277 echo "${ECHO_T}yes" >&6
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4282 SET_MAKE
="MAKE=${MAKE-make}"
4286 ac_cpp
='$CPP $CPPFLAGS'
4287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4290 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4291 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4292 # On Suns, sometimes $CPP names a directory.
4293 if test -n "$CPP" && test -d "$CPP"; then
4296 if test -z "$CPP"; then
4297 if test "${ac_cv_prog_CPP+set}" = set; then
4298 echo $ECHO_N "(cached) $ECHO_C" >&6
4300 # Double quotes because CPP needs to be expanded
4301 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4304 for ac_c_preproc_warn_flag
in '' yes
4306 # Use a header file that comes with gcc, so configuring glibc
4307 # with a fresh cross-compiler works.
4308 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4309 # <limits.h> exists even on freestanding compilers.
4310 # On the NeXT, cc -E runs the code through the compiler's parser,
4311 # not just through cpp. "Syntax error" is here to catch this case.
4312 cat >conftest.
$ac_ext <<_ACEOF
4315 cat confdefs.h
>>conftest.
$ac_ext
4316 cat >>conftest.
$ac_ext <<_ACEOF
4317 /* end confdefs.h. */
4319 # include <limits.h>
4321 # include <assert.h>
4325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4326 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4328 grep -v '^ *+' conftest.er1
>conftest.err
4330 cat conftest.err
>&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); } >/dev
/null
; then
4333 if test -s conftest.err
; then
4334 ac_cpp_err
=$ac_c_preproc_warn_flag
4335 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4342 if test -z "$ac_cpp_err"; then
4345 echo "$as_me: failed program was:" >&5
4346 sed 's/^/| /' conftest.
$ac_ext >&5
4348 # Broken: fails on valid input.
4351 rm -f conftest.err conftest.
$ac_ext
4353 # OK, works on sane cases. Now check whether non-existent headers
4354 # can be detected and how.
4355 cat >conftest.
$ac_ext <<_ACEOF
4358 cat confdefs.h
>>conftest.
$ac_ext
4359 cat >>conftest.
$ac_ext <<_ACEOF
4360 /* end confdefs.h. */
4361 #include <ac_nonexistent.h>
4363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4364 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4366 grep -v '^ *+' conftest.er1
>conftest.err
4368 cat conftest.err
>&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); } >/dev
/null
; then
4371 if test -s conftest.err
; then
4372 ac_cpp_err
=$ac_c_preproc_warn_flag
4373 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4380 if test -z "$ac_cpp_err"; then
4381 # Broken: success on invalid input.
4384 echo "$as_me: failed program was:" >&5
4385 sed 's/^/| /' conftest.
$ac_ext >&5
4387 # Passes both tests.
4391 rm -f conftest.err conftest.
$ac_ext
4394 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4395 rm -f conftest.err conftest.
$ac_ext
4396 if $ac_preproc_ok; then
4408 echo "$as_me:$LINENO: result: $CPP" >&5
4409 echo "${ECHO_T}$CPP" >&6
4411 for ac_c_preproc_warn_flag
in '' yes
4413 # Use a header file that comes with gcc, so configuring glibc
4414 # with a fresh cross-compiler works.
4415 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4416 # <limits.h> exists even on freestanding compilers.
4417 # On the NeXT, cc -E runs the code through the compiler's parser,
4418 # not just through cpp. "Syntax error" is here to catch this case.
4419 cat >conftest.
$ac_ext <<_ACEOF
4422 cat confdefs.h
>>conftest.
$ac_ext
4423 cat >>conftest.
$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4426 # include <limits.h>
4428 # include <assert.h>
4432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4433 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4435 grep -v '^ *+' conftest.er1
>conftest.err
4437 cat conftest.err
>&5
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); } >/dev
/null
; then
4440 if test -s conftest.err
; then
4441 ac_cpp_err
=$ac_c_preproc_warn_flag
4442 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4449 if test -z "$ac_cpp_err"; then
4452 echo "$as_me: failed program was:" >&5
4453 sed 's/^/| /' conftest.
$ac_ext >&5
4455 # Broken: fails on valid input.
4458 rm -f conftest.err conftest.
$ac_ext
4460 # OK, works on sane cases. Now check whether non-existent headers
4461 # can be detected and how.
4462 cat >conftest.
$ac_ext <<_ACEOF
4465 cat confdefs.h
>>conftest.
$ac_ext
4466 cat >>conftest.
$ac_ext <<_ACEOF
4467 /* end confdefs.h. */
4468 #include <ac_nonexistent.h>
4470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4471 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4473 grep -v '^ *+' conftest.er1
>conftest.err
4475 cat conftest.err
>&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); } >/dev
/null
; then
4478 if test -s conftest.err
; then
4479 ac_cpp_err
=$ac_c_preproc_warn_flag
4480 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4487 if test -z "$ac_cpp_err"; then
4488 # Broken: success on invalid input.
4491 echo "$as_me: failed program was:" >&5
4492 sed 's/^/| /' conftest.
$ac_ext >&5
4494 # Passes both tests.
4498 rm -f conftest.err conftest.
$ac_ext
4501 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4502 rm -f conftest.err conftest.
$ac_ext
4503 if $ac_preproc_ok; then
4506 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4507 See \`config.log' for more details." >&5
4508 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4509 See \`config.log' for more details." >&2;}
4510 { (exit 1); exit 1; }; }
4514 ac_cpp
='$CPP $CPPFLAGS'
4515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4520 echo "$as_me:$LINENO: checking for egrep" >&5
4521 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4522 if test "${ac_cv_prog_egrep+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
4526 then ac_cv_prog_egrep
='grep -E'
4527 else ac_cv_prog_egrep
='egrep'
4530 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4531 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4532 EGREP
=$ac_cv_prog_egrep
4535 if test $ac_cv_c_compiler_gnu = yes; then
4536 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4537 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4538 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4539 echo $ECHO_N "(cached) $ECHO_C" >&6
4541 ac_pattern
="Autoconf.*'x'"
4542 cat >conftest.
$ac_ext <<_ACEOF
4545 cat confdefs.h
>>conftest.
$ac_ext
4546 cat >>conftest.
$ac_ext <<_ACEOF
4547 /* end confdefs.h. */
4551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4552 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
4553 ac_cv_prog_gcc_traditional
=yes
4555 ac_cv_prog_gcc_traditional
=no
4560 if test $ac_cv_prog_gcc_traditional = no
; then
4561 cat >conftest.
$ac_ext <<_ACEOF
4564 cat confdefs.h
>>conftest.
$ac_ext
4565 cat >>conftest.
$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4571 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
4572 ac_cv_prog_gcc_traditional
=yes
4578 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4579 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4580 if test $ac_cv_prog_gcc_traditional = yes; then
4581 CC
="$CC -traditional"
4587 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
4590 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
4593 cat >>confdefs.h
<<\_ACEOF
4594 #define BROKEN_REGEX 1
4600 EXTRA_DEFINE
="-D__SOLARIS__"
4601 ANSI_SRC
="-fno-builtin"
4604 ANSI_SRC
="-fno-builtin"
4607 EXTRA_DEFINE
="-D_GNU_SOURCE"
4614 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
4617 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4618 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
4619 if test "${ac_cv_lib_socket_socket+set}" = set; then
4620 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 ac_check_lib_save_LIBS
=$LIBS
4623 LIBS
="-lsocket $LIBS"
4624 cat >conftest.
$ac_ext <<_ACEOF
4627 cat confdefs.h
>>conftest.
$ac_ext
4628 cat >>conftest.
$ac_ext <<_ACEOF
4629 /* end confdefs.h. */
4631 /* Override any gcc2 internal prototype to avoid an error. */
4635 /* We use char because int might match the return type of a gcc2
4636 builtin and then its argument prototype would still apply. */
4646 rm -f conftest.
$ac_objext conftest
$ac_exeext
4647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4648 (eval $ac_link) 2>conftest.er1
4650 grep -v '^ *+' conftest.er1
>conftest.err
4652 cat conftest.err
>&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } &&
4655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; } &&
4661 { ac_try
='test -s conftest$ac_exeext'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; }; then
4667 ac_cv_lib_socket_socket
=yes
4669 echo "$as_me: failed program was:" >&5
4670 sed 's/^/| /' conftest.
$ac_ext >&5
4672 ac_cv_lib_socket_socket
=no
4674 rm -f conftest.err conftest.
$ac_objext \
4675 conftest
$ac_exeext conftest.
$ac_ext
4676 LIBS
=$ac_check_lib_save_LIBS
4678 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4679 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
4680 if test $ac_cv_lib_socket_socket = yes; then
4681 cat >>confdefs.h
<<_ACEOF
4682 #define HAVE_LIBSOCKET 1
4685 LIBS
="-lsocket $LIBS"
4690 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4691 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4692 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 ac_check_lib_save_LIBS
=$LIBS
4697 cat >conftest.
$ac_ext <<_ACEOF
4700 cat confdefs.h
>>conftest.
$ac_ext
4701 cat >>conftest.
$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4704 /* Override any gcc2 internal prototype to avoid an error. */
4708 /* We use char because int might match the return type of a gcc2
4709 builtin and then its argument prototype would still apply. */
4710 char gethostbyname ();
4719 rm -f conftest.
$ac_objext conftest
$ac_exeext
4720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4721 (eval $ac_link) 2>conftest.er1
4723 grep -v '^ *+' conftest.er1
>conftest.err
4725 cat conftest.err
>&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); } &&
4728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); }; } &&
4734 { ac_try
='test -s conftest$ac_exeext'
4735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); }; }; then
4740 ac_cv_lib_nsl_gethostbyname
=yes
4742 echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.
$ac_ext >&5
4745 ac_cv_lib_nsl_gethostbyname
=no
4747 rm -f conftest.err conftest.
$ac_objext \
4748 conftest
$ac_exeext conftest.
$ac_ext
4749 LIBS
=$ac_check_lib_save_LIBS
4751 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4752 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4753 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4754 cat >>confdefs.h
<<_ACEOF
4755 #define HAVE_LIBNSL 1
4763 echo "$as_me:$LINENO: checking for main in -lm" >&5
4764 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4765 if test "${ac_cv_lib_m_main+set}" = set; then
4766 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 ac_check_lib_save_LIBS
=$LIBS
4770 cat >conftest.
$ac_ext <<_ACEOF
4773 cat confdefs.h
>>conftest.
$ac_ext
4774 cat >>conftest.
$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4786 rm -f conftest.
$ac_objext conftest
$ac_exeext
4787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4788 (eval $ac_link) 2>conftest.er1
4790 grep -v '^ *+' conftest.er1
>conftest.err
4792 cat conftest.err
>&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); } &&
4795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); }; } &&
4801 { ac_try
='test -s conftest$ac_exeext'
4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; }; then
4807 ac_cv_lib_m_main
=yes
4809 echo "$as_me: failed program was:" >&5
4810 sed 's/^/| /' conftest.
$ac_ext >&5
4814 rm -f conftest.err conftest.
$ac_objext \
4815 conftest
$ac_exeext conftest.
$ac_ext
4816 LIBS
=$ac_check_lib_save_LIBS
4818 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4819 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4820 if test $ac_cv_lib_m_main = yes; then
4821 cat >>confdefs.h
<<_ACEOF
4830 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4831 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4832 if test "${ac_cv_header_stdc+set}" = set; then
4833 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 cat >conftest.
$ac_ext <<_ACEOF
4838 cat confdefs.h
>>conftest.
$ac_ext
4839 cat >>conftest.
$ac_ext <<_ACEOF
4840 /* end confdefs.h. */
4854 rm -f conftest.
$ac_objext
4855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4856 (eval $ac_compile) 2>conftest.er1
4858 grep -v '^ *+' conftest.er1
>conftest.err
4860 cat conftest.err
>&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); } &&
4863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; } &&
4869 { ac_try
='test -s conftest.$ac_objext'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; }; then
4875 ac_cv_header_stdc
=yes
4877 echo "$as_me: failed program was:" >&5
4878 sed 's/^/| /' conftest.
$ac_ext >&5
4880 ac_cv_header_stdc
=no
4882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4884 if test $ac_cv_header_stdc = yes; then
4885 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4886 cat >conftest.
$ac_ext <<_ACEOF
4889 cat confdefs.h
>>conftest.
$ac_ext
4890 cat >>conftest.
$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4896 $EGREP "memchr" >/dev
/null
2>&1; then
4899 ac_cv_header_stdc
=no
4905 if test $ac_cv_header_stdc = yes; then
4906 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4907 cat >conftest.
$ac_ext <<_ACEOF
4910 cat confdefs.h
>>conftest.
$ac_ext
4911 cat >>conftest.
$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4917 $EGREP "free" >/dev
/null
2>&1; then
4920 ac_cv_header_stdc
=no
4926 if test $ac_cv_header_stdc = yes; then
4927 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4928 if test "$cross_compiling" = yes; then
4931 cat >conftest.
$ac_ext <<_ACEOF
4934 cat confdefs.h
>>conftest.
$ac_ext
4935 cat >>conftest.
$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4938 #if ((' ' & 0x0FF) == 0x020)
4939 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4940 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4942 # define ISLOWER(c) \
4943 (('a' <= (c) && (c) <= 'i') \
4944 || ('j' <= (c) && (c) <= 'r') \
4945 || ('s' <= (c) && (c) <= 'z'))
4946 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4949 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4954 for (i = 0; i < 256; i++)
4955 if (XOR (islower (i), ISLOWER (i))
4956 || toupper (i) != TOUPPER (i))
4961 rm -f conftest
$ac_exeext
4962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4963 (eval $ac_link) 2>&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971 (exit $ac_status); }; }; then
4974 echo "$as_me: program exited with status $ac_status" >&5
4975 echo "$as_me: failed program was:" >&5
4976 sed 's/^/| /' conftest.
$ac_ext >&5
4979 ac_cv_header_stdc
=no
4981 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4985 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4986 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4987 if test $ac_cv_header_stdc = yes; then
4989 cat >>confdefs.h
<<\_ACEOF
4990 #define STDC_HEADERS 1
4996 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4997 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4998 if test "${ac_cv_header_time+set}" = set; then
4999 echo $ECHO_N "(cached) $ECHO_C" >&6
5001 cat >conftest.
$ac_ext <<_ACEOF
5004 cat confdefs.h
>>conftest.
$ac_ext
5005 cat >>conftest.
$ac_ext <<_ACEOF
5006 /* end confdefs.h. */
5007 #include <sys/types.h>
5008 #include <sys/time.h>
5014 if ((struct tm *) 0)
5020 rm -f conftest.
$ac_objext
5021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5022 (eval $ac_compile) 2>conftest.er1
5024 grep -v '^ *+' conftest.er1
>conftest.err
5026 cat conftest.err
>&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); } &&
5029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); }; } &&
5035 { ac_try
='test -s conftest.$ac_objext'
5036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; }; then
5041 ac_cv_header_time
=yes
5043 echo "$as_me: failed program was:" >&5
5044 sed 's/^/| /' conftest.
$ac_ext >&5
5046 ac_cv_header_time
=no
5048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5050 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5051 echo "${ECHO_T}$ac_cv_header_time" >&6
5052 if test $ac_cv_header_time = yes; then
5054 cat >>confdefs.h
<<\_ACEOF
5055 #define TIME_WITH_SYS_TIME 1
5060 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5061 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5062 if test "${ac_cv_struct_tm+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5065 cat >conftest.
$ac_ext <<_ACEOF
5068 cat confdefs.h
>>conftest.
$ac_ext
5069 cat >>conftest.
$ac_ext <<_ACEOF
5070 /* end confdefs.h. */
5071 #include <sys/types.h>
5077 struct tm *tp; tp->tm_sec;
5082 rm -f conftest.
$ac_objext
5083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5084 (eval $ac_compile) 2>conftest.er1
5086 grep -v '^ *+' conftest.er1
>conftest.err
5088 cat conftest.err
>&5
5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090 (exit $ac_status); } &&
5091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); }; } &&
5097 { ac_try
='test -s conftest.$ac_objext'
5098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); }; }; then
5103 ac_cv_struct_tm
=time.h
5105 echo "$as_me: failed program was:" >&5
5106 sed 's/^/| /' conftest.
$ac_ext >&5
5108 ac_cv_struct_tm
=sys
/time.h
5110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5112 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5113 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5114 if test $ac_cv_struct_tm = sys
/time.h
; then
5116 cat >>confdefs.h
<<\_ACEOF
5117 #define TM_IN_SYS_TIME 1
5123 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5133 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5134 inttypes.h stdint.h unistd.h
5136 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5137 echo "$as_me:$LINENO: checking for $ac_header" >&5
5138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5140 echo $ECHO_N "(cached) $ECHO_C" >&6
5142 cat >conftest.
$ac_ext <<_ACEOF
5145 cat confdefs.h
>>conftest.
$ac_ext
5146 cat >>conftest.
$ac_ext <<_ACEOF
5147 /* end confdefs.h. */
5148 $ac_includes_default
5150 #include <$ac_header>
5152 rm -f conftest.
$ac_objext
5153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5154 (eval $ac_compile) 2>conftest.er1
5156 grep -v '^ *+' conftest.er1
>conftest.err
5158 cat conftest.err
>&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); } &&
5161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); }; } &&
5167 { ac_try
='test -s conftest.$ac_objext'
5168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); }; }; then
5173 eval "$as_ac_Header=yes"
5175 echo "$as_me: failed program was:" >&5
5176 sed 's/^/| /' conftest.
$ac_ext >&5
5178 eval "$as_ac_Header=no"
5180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5184 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5185 cat >>confdefs.h
<<_ACEOF
5186 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5214 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
5216 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5218 echo "$as_me:$LINENO: checking for $ac_header" >&5
5219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5221 echo $ECHO_N "(cached) $ECHO_C" >&6
5223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5226 # Is the header compilable?
5227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5229 cat >conftest.
$ac_ext <<_ACEOF
5232 cat confdefs.h
>>conftest.
$ac_ext
5233 cat >>conftest.
$ac_ext <<_ACEOF
5234 /* end confdefs.h. */
5235 $ac_includes_default
5236 #include <$ac_header>
5238 rm -f conftest.
$ac_objext
5239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5240 (eval $ac_compile) 2>conftest.er1
5242 grep -v '^ *+' conftest.er1
>conftest.err
5244 cat conftest.err
>&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); } &&
5247 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); }; } &&
5253 { ac_try
='test -s conftest.$ac_objext'
5254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); }; }; then
5259 ac_header_compiler
=yes
5261 echo "$as_me: failed program was:" >&5
5262 sed 's/^/| /' conftest.
$ac_ext >&5
5264 ac_header_compiler
=no
5266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5268 echo "${ECHO_T}$ac_header_compiler" >&6
5270 # Is the header present?
5271 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5272 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5273 cat >conftest.
$ac_ext <<_ACEOF
5276 cat confdefs.h
>>conftest.
$ac_ext
5277 cat >>conftest.
$ac_ext <<_ACEOF
5278 /* end confdefs.h. */
5279 #include <$ac_header>
5281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5282 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5284 grep -v '^ *+' conftest.er1
>conftest.err
5286 cat conftest.err
>&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } >/dev
/null
; then
5289 if test -s conftest.err
; then
5290 ac_cpp_err
=$ac_c_preproc_warn_flag
5291 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5298 if test -z "$ac_cpp_err"; then
5299 ac_header_preproc
=yes
5301 echo "$as_me: failed program was:" >&5
5302 sed 's/^/| /' conftest.
$ac_ext >&5
5304 ac_header_preproc
=no
5306 rm -f conftest.err conftest.
$ac_ext
5307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5308 echo "${ECHO_T}$ac_header_preproc" >&6
5310 # So? What about this header?
5311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5313 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5314 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5316 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5317 ac_header_preproc
=yes
5320 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5321 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5322 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5323 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5324 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5325 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5326 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5327 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5330 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5331 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5334 ## ---------------------------------------------- ##
5335 ## Report this to srvx-bugs@lists.sourceforge.net ##
5336 ## ---------------------------------------------- ##
5339 sed "s/^/$as_me: WARNING: /" >&2
5342 echo "$as_me:$LINENO: checking for $ac_header" >&5
5343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5345 echo $ECHO_N "(cached) $ECHO_C" >&6
5347 eval "$as_ac_Header=\$ac_header_preproc"
5349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5354 cat >>confdefs.h
<<_ACEOF
5355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5363 echo "$as_me:$LINENO: checking for struct dirent.d_type" >&5
5364 echo $ECHO_N "checking for struct dirent.d_type... $ECHO_C" >&6
5365 if test "${ac_cv_member_struct_dirent_d_type+set}" = set; then
5366 echo $ECHO_N "(cached) $ECHO_C" >&6
5368 cat >conftest.
$ac_ext <<_ACEOF
5371 cat confdefs.h
>>conftest.
$ac_ext
5372 cat >>conftest.
$ac_ext <<_ACEOF
5373 /* end confdefs.h. */
5379 static struct dirent ac_aggr;
5386 rm -f conftest.
$ac_objext
5387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5388 (eval $ac_compile) 2>conftest.er1
5390 grep -v '^ *+' conftest.er1
>conftest.err
5392 cat conftest.err
>&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); } &&
5395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; } &&
5401 { ac_try
='test -s conftest.$ac_objext'
5402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); }; }; then
5407 ac_cv_member_struct_dirent_d_type
=yes
5409 echo "$as_me: failed program was:" >&5
5410 sed 's/^/| /' conftest.
$ac_ext >&5
5412 cat >conftest.
$ac_ext <<_ACEOF
5415 cat confdefs.h
>>conftest.
$ac_ext
5416 cat >>conftest.
$ac_ext <<_ACEOF
5417 /* end confdefs.h. */
5423 static struct dirent ac_aggr;
5424 if (sizeof ac_aggr.d_type)
5430 rm -f conftest.
$ac_objext
5431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5432 (eval $ac_compile) 2>conftest.er1
5434 grep -v '^ *+' conftest.er1
>conftest.err
5436 cat conftest.err
>&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } &&
5439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); }; } &&
5445 { ac_try
='test -s conftest.$ac_objext'
5446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); }; }; then
5451 ac_cv_member_struct_dirent_d_type
=yes
5453 echo "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.
$ac_ext >&5
5456 ac_cv_member_struct_dirent_d_type
=no
5458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5462 echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_type" >&5
5463 echo "${ECHO_T}$ac_cv_member_struct_dirent_d_type" >&6
5464 if test $ac_cv_member_struct_dirent_d_type = yes; then
5466 cat >>confdefs.h
<<\_ACEOF
5467 #define HAVE_DIRENT_D_TYPE 1
5474 for ac_func
in gettimeofday
5476 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5477 echo "$as_me:$LINENO: checking for $ac_func" >&5
5478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5479 if eval "test \"\${$as_ac_var+set}\" = set"; then
5480 echo $ECHO_N "(cached) $ECHO_C" >&6
5482 cat >conftest.
$ac_ext <<_ACEOF
5485 cat confdefs.h
>>conftest.
$ac_ext
5486 cat >>conftest.
$ac_ext <<_ACEOF
5487 /* end confdefs.h. */
5488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5490 #define $ac_func innocuous_$ac_func
5492 /* System header to define __stub macros and hopefully few prototypes,
5493 which can conflict with char $ac_func (); below.
5494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5495 <limits.h> exists even on freestanding compilers. */
5498 # include <limits.h>
5500 # include <assert.h>
5505 /* Override any gcc2 internal prototype to avoid an error. */
5510 /* We use char because int might match the return type of a gcc2
5511 builtin and then its argument prototype would still apply. */
5513 /* The GNU C library defines this for functions which it implements
5514 to always fail with ENOSYS. Some functions are actually named
5515 something starting with __ and the normal name is an alias. */
5516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5519 char (*f) () = $ac_func;
5528 return f != $ac_func;
5533 rm -f conftest.
$ac_objext conftest
$ac_exeext
5534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5535 (eval $ac_link) 2>conftest.er1
5537 grep -v '^ *+' conftest.er1
>conftest.err
5539 cat conftest.err
>&5
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); } &&
5542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); }; } &&
5548 { ac_try
='test -s conftest$ac_exeext'
5549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); }; }; then
5554 eval "$as_ac_var=yes"
5556 echo "$as_me: failed program was:" >&5
5557 sed 's/^/| /' conftest.
$ac_ext >&5
5559 eval "$as_ac_var=no"
5561 rm -f conftest.err conftest.
$ac_objext \
5562 conftest
$ac_exeext conftest.
$ac_ext
5564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5566 if test `eval echo '${'$as_ac_var'}'` = yes; then
5567 cat >>confdefs.h
<<_ACEOF
5568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5574 if test $ac_cv_func_gettimeofday = no
; then
5576 for ac_func
in ftime
5578 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5579 echo "$as_me:$LINENO: checking for $ac_func" >&5
5580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5581 if eval "test \"\${$as_ac_var+set}\" = set"; then
5582 echo $ECHO_N "(cached) $ECHO_C" >&6
5584 cat >conftest.
$ac_ext <<_ACEOF
5587 cat confdefs.h
>>conftest.
$ac_ext
5588 cat >>conftest.
$ac_ext <<_ACEOF
5589 /* end confdefs.h. */
5590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5592 #define $ac_func innocuous_$ac_func
5594 /* System header to define __stub macros and hopefully few prototypes,
5595 which can conflict with char $ac_func (); below.
5596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5597 <limits.h> exists even on freestanding compilers. */
5600 # include <limits.h>
5602 # include <assert.h>
5607 /* Override any gcc2 internal prototype to avoid an error. */
5612 /* We use char because int might match the return type of a gcc2
5613 builtin and then its argument prototype would still apply. */
5615 /* The GNU C library defines this for functions which it implements
5616 to always fail with ENOSYS. Some functions are actually named
5617 something starting with __ and the normal name is an alias. */
5618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5621 char (*f) () = $ac_func;
5630 return f != $ac_func;
5635 rm -f conftest.
$ac_objext conftest
$ac_exeext
5636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5637 (eval $ac_link) 2>conftest.er1
5639 grep -v '^ *+' conftest.er1
>conftest.err
5641 cat conftest.err
>&5
5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 (exit $ac_status); } &&
5644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); }; } &&
5650 { ac_try
='test -s conftest$ac_exeext'
5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }; }; then
5656 eval "$as_ac_var=yes"
5658 echo "$as_me: failed program was:" >&5
5659 sed 's/^/| /' conftest.
$ac_ext >&5
5661 eval "$as_ac_var=no"
5663 rm -f conftest.err conftest.
$ac_objext \
5664 conftest
$ac_exeext conftest.
$ac_ext
5666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5668 if test `eval echo '${'$as_ac_var'}'` = yes; then
5669 cat >>confdefs.h
<<_ACEOF
5670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5674 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. srvx build will fail." >&5
5675 echo "$as_me: error: ftime or gettimeofday required. srvx build will fail." >&2;}
5676 { (exit 1); exit 1; }; }
5697 for ac_func
in bcopy memcpy memset strdup strerror strsignal localtime_r setrlimit inet_ntoa getopt getopt_long regcomp regexec regfree sysconf
5699 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5700 echo "$as_me:$LINENO: checking for $ac_func" >&5
5701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5702 if eval "test \"\${$as_ac_var+set}\" = set"; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 cat >conftest.
$ac_ext <<_ACEOF
5708 cat confdefs.h
>>conftest.
$ac_ext
5709 cat >>conftest.
$ac_ext <<_ACEOF
5710 /* end confdefs.h. */
5711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5713 #define $ac_func innocuous_$ac_func
5715 /* System header to define __stub macros and hopefully few prototypes,
5716 which can conflict with char $ac_func (); below.
5717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5718 <limits.h> exists even on freestanding compilers. */
5721 # include <limits.h>
5723 # include <assert.h>
5728 /* Override any gcc2 internal prototype to avoid an error. */
5733 /* We use char because int might match the return type of a gcc2
5734 builtin and then its argument prototype would still apply. */
5736 /* The GNU C library defines this for functions which it implements
5737 to always fail with ENOSYS. Some functions are actually named
5738 something starting with __ and the normal name is an alias. */
5739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5742 char (*f) () = $ac_func;
5751 return f != $ac_func;
5756 rm -f conftest.
$ac_objext conftest
$ac_exeext
5757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5758 (eval $ac_link) 2>conftest.er1
5760 grep -v '^ *+' conftest.er1
>conftest.err
5762 cat conftest.err
>&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } &&
5765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); }; } &&
5771 { ac_try
='test -s conftest$ac_exeext'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then
5777 eval "$as_ac_var=yes"
5779 echo "$as_me: failed program was:" >&5
5780 sed 's/^/| /' conftest.
$ac_ext >&5
5782 eval "$as_ac_var=no"
5784 rm -f conftest.err conftest.
$ac_objext \
5785 conftest
$ac_exeext conftest.
$ac_ext
5787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5789 if test `eval echo '${'$as_ac_var'}'` = yes; then
5790 cat >>confdefs.h
<<_ACEOF
5791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5804 for ac_func
in select socket strcspn strspn strtod strtoul
5806 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5807 echo "$as_me:$LINENO: checking for $ac_func" >&5
5808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5809 if eval "test \"\${$as_ac_var+set}\" = set"; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5812 cat >conftest.
$ac_ext <<_ACEOF
5815 cat confdefs.h
>>conftest.
$ac_ext
5816 cat >>conftest.
$ac_ext <<_ACEOF
5817 /* end confdefs.h. */
5818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5820 #define $ac_func innocuous_$ac_func
5822 /* System header to define __stub macros and hopefully few prototypes,
5823 which can conflict with char $ac_func (); below.
5824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5825 <limits.h> exists even on freestanding compilers. */
5828 # include <limits.h>
5830 # include <assert.h>
5835 /* Override any gcc2 internal prototype to avoid an error. */
5840 /* We use char because int might match the return type of a gcc2
5841 builtin and then its argument prototype would still apply. */
5843 /* The GNU C library defines this for functions which it implements
5844 to always fail with ENOSYS. Some functions are actually named
5845 something starting with __ and the normal name is an alias. */
5846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5849 char (*f) () = $ac_func;
5858 return f != $ac_func;
5863 rm -f conftest.
$ac_objext conftest
$ac_exeext
5864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5865 (eval $ac_link) 2>conftest.er1
5867 grep -v '^ *+' conftest.er1
>conftest.err
5869 cat conftest.err
>&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); } &&
5872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; } &&
5878 { ac_try
='test -s conftest$ac_exeext'
5879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); }; }; then
5884 eval "$as_ac_var=yes"
5886 echo "$as_me: failed program was:" >&5
5887 sed 's/^/| /' conftest.
$ac_ext >&5
5889 eval "$as_ac_var=no"
5891 rm -f conftest.err conftest.
$ac_objext \
5892 conftest
$ac_exeext conftest.
$ac_ext
5894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5896 if test `eval echo '${'$as_ac_var'}'` = yes; then
5897 cat >>confdefs.h
<<_ACEOF
5898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5902 { { echo "$as_me:$LINENO: error: a required function was not found. srvx build will fail." >&5
5903 echo "$as_me: error: a required function was not found. srvx build will fail." >&2;}
5904 { (exit 1); exit 1; }; }
5909 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5910 # for constant arguments. Useless!
5911 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5912 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5913 if test "${ac_cv_working_alloca_h+set}" = set; then
5914 echo $ECHO_N "(cached) $ECHO_C" >&6
5916 cat >conftest.
$ac_ext <<_ACEOF
5919 cat confdefs.h
>>conftest.
$ac_ext
5920 cat >>conftest.
$ac_ext <<_ACEOF
5921 /* end confdefs.h. */
5926 char *p = (char *) alloca (2 * sizeof (int));
5931 rm -f conftest.
$ac_objext conftest
$ac_exeext
5932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5933 (eval $ac_link) 2>conftest.er1
5935 grep -v '^ *+' conftest.er1
>conftest.err
5937 cat conftest.err
>&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); } &&
5940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); }; } &&
5946 { ac_try
='test -s conftest$ac_exeext'
5947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }; }; then
5952 ac_cv_working_alloca_h
=yes
5954 echo "$as_me: failed program was:" >&5
5955 sed 's/^/| /' conftest.
$ac_ext >&5
5957 ac_cv_working_alloca_h
=no
5959 rm -f conftest.err conftest.
$ac_objext \
5960 conftest
$ac_exeext conftest.
$ac_ext
5962 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5963 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5964 if test $ac_cv_working_alloca_h = yes; then
5966 cat >>confdefs.h
<<\_ACEOF
5967 #define HAVE_ALLOCA_H 1
5972 echo "$as_me:$LINENO: checking for alloca" >&5
5973 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5974 if test "${ac_cv_func_alloca_works+set}" = set; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 cat >conftest.
$ac_ext <<_ACEOF
5980 cat confdefs.h
>>conftest.
$ac_ext
5981 cat >>conftest.
$ac_ext <<_ACEOF
5982 /* end confdefs.h. */
5984 # define alloca __builtin_alloca
5987 # include <malloc.h>
5988 # define alloca _alloca
5991 # include <alloca.h>
5996 # ifndef alloca /* predefined by HP cc +Olibcalls */
6007 char *p = (char *) alloca (1);
6012 rm -f conftest.
$ac_objext conftest
$ac_exeext
6013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6014 (eval $ac_link) 2>conftest.er1
6016 grep -v '^ *+' conftest.er1
>conftest.err
6018 cat conftest.err
>&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); } &&
6021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); }; } &&
6027 { ac_try
='test -s conftest$ac_exeext'
6028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); }; }; then
6033 ac_cv_func_alloca_works
=yes
6035 echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.
$ac_ext >&5
6038 ac_cv_func_alloca_works
=no
6040 rm -f conftest.err conftest.
$ac_objext \
6041 conftest
$ac_exeext conftest.
$ac_ext
6043 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6044 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6046 if test $ac_cv_func_alloca_works = yes; then
6048 cat >>confdefs.h
<<\_ACEOF
6049 #define HAVE_ALLOCA 1
6053 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6054 # that cause trouble. Some versions do not even contain alloca or
6055 # contain a buggy version. If you still want to use their alloca,
6056 # use ar to extract alloca.o from them instead of compiling alloca.c.
6058 ALLOCA
=alloca.
$ac_objext
6060 cat >>confdefs.h
<<\_ACEOF
6065 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6066 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6067 if test "${ac_cv_os_cray+set}" = set; then
6068 echo $ECHO_N "(cached) $ECHO_C" >&6
6070 cat >conftest.
$ac_ext <<_ACEOF
6073 cat confdefs.h
>>conftest.
$ac_ext
6074 cat >>conftest.
$ac_ext <<_ACEOF
6075 /* end confdefs.h. */
6076 #if defined(CRAY) && ! defined(CRAY2)
6083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6084 $EGREP "webecray" >/dev
/null
2>&1; then
6092 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6093 echo "${ECHO_T}$ac_cv_os_cray" >&6
6094 if test $ac_cv_os_cray = yes; then
6095 for ac_func
in _getb67 GETB67 getb67
; do
6096 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6097 echo "$as_me:$LINENO: checking for $ac_func" >&5
6098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6099 if eval "test \"\${$as_ac_var+set}\" = set"; then
6100 echo $ECHO_N "(cached) $ECHO_C" >&6
6102 cat >conftest.
$ac_ext <<_ACEOF
6105 cat confdefs.h
>>conftest.
$ac_ext
6106 cat >>conftest.
$ac_ext <<_ACEOF
6107 /* end confdefs.h. */
6108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6110 #define $ac_func innocuous_$ac_func
6112 /* System header to define __stub macros and hopefully few prototypes,
6113 which can conflict with char $ac_func (); below.
6114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6115 <limits.h> exists even on freestanding compilers. */
6118 # include <limits.h>
6120 # include <assert.h>
6125 /* Override any gcc2 internal prototype to avoid an error. */
6130 /* We use char because int might match the return type of a gcc2
6131 builtin and then its argument prototype would still apply. */
6133 /* The GNU C library defines this for functions which it implements
6134 to always fail with ENOSYS. Some functions are actually named
6135 something starting with __ and the normal name is an alias. */
6136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6139 char (*f) () = $ac_func;
6148 return f != $ac_func;
6153 rm -f conftest.
$ac_objext conftest
$ac_exeext
6154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6155 (eval $ac_link) 2>conftest.er1
6157 grep -v '^ *+' conftest.er1
>conftest.err
6159 cat conftest.err
>&5
6160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 (exit $ac_status); } &&
6162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); }; } &&
6168 { ac_try
='test -s conftest$ac_exeext'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; }; then
6174 eval "$as_ac_var=yes"
6176 echo "$as_me: failed program was:" >&5
6177 sed 's/^/| /' conftest.
$ac_ext >&5
6179 eval "$as_ac_var=no"
6181 rm -f conftest.err conftest.
$ac_objext \
6182 conftest
$ac_exeext conftest.
$ac_ext
6184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6186 if test `eval echo '${'$as_ac_var'}'` = yes; then
6188 cat >>confdefs.h
<<_ACEOF
6189 #define CRAY_STACKSEG_END $ac_func
6198 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6199 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6200 if test "${ac_cv_c_stack_direction+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 if test "$cross_compiling" = yes; then
6204 ac_cv_c_stack_direction
=0
6206 cat >conftest.
$ac_ext <<_ACEOF
6209 cat confdefs.h
>>conftest.
$ac_ext
6210 cat >>conftest.
$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6213 find_stack_direction ()
6215 static char *addr = 0;
6220 return find_stack_direction ();
6223 return (&dummy > addr) ? 1 : -1;
6229 exit (find_stack_direction () < 0);
6232 rm -f conftest
$ac_exeext
6233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6234 (eval $ac_link) 2>&5
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); }; }; then
6243 ac_cv_c_stack_direction
=1
6245 echo "$as_me: program exited with status $ac_status" >&5
6246 echo "$as_me: failed program was:" >&5
6247 sed 's/^/| /' conftest.
$ac_ext >&5
6250 ac_cv_c_stack_direction
=-1
6252 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6255 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6256 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6258 cat >>confdefs.h
<<_ACEOF
6259 #define STACK_DIRECTION $ac_cv_c_stack_direction
6267 for ac_header
in stdlib.h unistd.h
6269 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6271 echo "$as_me:$LINENO: checking for $ac_header" >&5
6272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6274 echo $ECHO_N "(cached) $ECHO_C" >&6
6276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6279 # Is the header compilable?
6280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6282 cat >conftest.
$ac_ext <<_ACEOF
6285 cat confdefs.h
>>conftest.
$ac_ext
6286 cat >>conftest.
$ac_ext <<_ACEOF
6287 /* end confdefs.h. */
6288 $ac_includes_default
6289 #include <$ac_header>
6291 rm -f conftest.
$ac_objext
6292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6293 (eval $ac_compile) 2>conftest.er1
6295 grep -v '^ *+' conftest.er1
>conftest.err
6297 cat conftest.err
>&5
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); } &&
6300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305 (exit $ac_status); }; } &&
6306 { ac_try
='test -s conftest.$ac_objext'
6307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); }; }; then
6312 ac_header_compiler
=yes
6314 echo "$as_me: failed program was:" >&5
6315 sed 's/^/| /' conftest.
$ac_ext >&5
6317 ac_header_compiler
=no
6319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6321 echo "${ECHO_T}$ac_header_compiler" >&6
6323 # Is the header present?
6324 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6326 cat >conftest.
$ac_ext <<_ACEOF
6329 cat confdefs.h
>>conftest.
$ac_ext
6330 cat >>conftest.
$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6332 #include <$ac_header>
6334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6335 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6337 grep -v '^ *+' conftest.er1
>conftest.err
6339 cat conftest.err
>&5
6340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341 (exit $ac_status); } >/dev
/null
; then
6342 if test -s conftest.err
; then
6343 ac_cpp_err
=$ac_c_preproc_warn_flag
6344 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6351 if test -z "$ac_cpp_err"; then
6352 ac_header_preproc
=yes
6354 echo "$as_me: failed program was:" >&5
6355 sed 's/^/| /' conftest.
$ac_ext >&5
6357 ac_header_preproc
=no
6359 rm -f conftest.err conftest.
$ac_ext
6360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6361 echo "${ECHO_T}$ac_header_preproc" >&6
6363 # So? What about this header?
6364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6366 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6370 ac_header_preproc
=yes
6373 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6375 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6376 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6377 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6379 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6380 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6383 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6387 ## ---------------------------------------------- ##
6388 ## Report this to srvx-bugs@lists.sourceforge.net ##
6389 ## ---------------------------------------------- ##
6392 sed "s/^/$as_me: WARNING: /" >&2
6395 echo "$as_me:$LINENO: checking for $ac_header" >&5
6396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6398 echo $ECHO_N "(cached) $ECHO_C" >&6
6400 eval "$as_ac_Header=\$ac_header_preproc"
6402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6407 cat >>confdefs.h
<<_ACEOF
6408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6416 for ac_func
in getpagesize
6418 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6419 echo "$as_me:$LINENO: checking for $ac_func" >&5
6420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6421 if eval "test \"\${$as_ac_var+set}\" = set"; then
6422 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 cat >conftest.
$ac_ext <<_ACEOF
6427 cat confdefs.h
>>conftest.
$ac_ext
6428 cat >>conftest.
$ac_ext <<_ACEOF
6429 /* end confdefs.h. */
6430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6432 #define $ac_func innocuous_$ac_func
6434 /* System header to define __stub macros and hopefully few prototypes,
6435 which can conflict with char $ac_func (); below.
6436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6437 <limits.h> exists even on freestanding compilers. */
6440 # include <limits.h>
6442 # include <assert.h>
6447 /* Override any gcc2 internal prototype to avoid an error. */
6452 /* We use char because int might match the return type of a gcc2
6453 builtin and then its argument prototype would still apply. */
6455 /* The GNU C library defines this for functions which it implements
6456 to always fail with ENOSYS. Some functions are actually named
6457 something starting with __ and the normal name is an alias. */
6458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6461 char (*f) () = $ac_func;
6470 return f != $ac_func;
6475 rm -f conftest.
$ac_objext conftest
$ac_exeext
6476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6477 (eval $ac_link) 2>conftest.er1
6479 grep -v '^ *+' conftest.er1
>conftest.err
6481 cat conftest.err
>&5
6482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6483 (exit $ac_status); } &&
6484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); }; } &&
6490 { ac_try
='test -s conftest$ac_exeext'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; }; then
6496 eval "$as_ac_var=yes"
6498 echo "$as_me: failed program was:" >&5
6499 sed 's/^/| /' conftest.
$ac_ext >&5
6501 eval "$as_ac_var=no"
6503 rm -f conftest.err conftest.
$ac_objext \
6504 conftest
$ac_exeext conftest.
$ac_ext
6506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6508 if test `eval echo '${'$as_ac_var'}'` = yes; then
6509 cat >>confdefs.h
<<_ACEOF
6510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6516 echo "$as_me:$LINENO: checking for working mmap" >&5
6517 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6518 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6519 echo $ECHO_N "(cached) $ECHO_C" >&6
6521 if test "$cross_compiling" = yes; then
6522 ac_cv_func_mmap_fixed_mapped
=no
6524 cat >conftest.
$ac_ext <<_ACEOF
6527 cat confdefs.h
>>conftest.
$ac_ext
6528 cat >>conftest.
$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 $ac_includes_default
6531 /* malloc might have been renamed as rpl_malloc. */
6534 /* Thanks to Mike Haertel and Jim Avera for this test.
6535 Here is a matrix of mmap possibilities:
6536 mmap private not fixed
6537 mmap private fixed at somewhere currently unmapped
6538 mmap private fixed at somewhere already mapped
6539 mmap shared not fixed
6540 mmap shared fixed at somewhere currently unmapped
6541 mmap shared fixed at somewhere already mapped
6542 For private mappings, we should verify that changes cannot be read()
6543 back from the file, nor mmap's back from the file at a different
6544 address. (There have been systems where private was not correctly
6545 implemented like the infamous i386 svr4.0, and systems where the
6546 VM page cache was not coherent with the file system buffer cache
6547 like early versions of FreeBSD and possibly contemporary NetBSD.)
6548 For shared mappings, we should conversely verify that changes get
6549 propagated back to all the places they're supposed to be.
6551 Grep wants private fixed already mapped.
6552 The main things grep needs to know about mmap are:
6553 * does it exist and is it safe to write into the mmap'd area
6554 * how to use it (BSD variants) */
6557 #include <sys/mman.h>
6559 #if !STDC_HEADERS && !HAVE_STDLIB_H
6563 /* This mess was copied from the GNU getpagesize.h. */
6564 #if !HAVE_GETPAGESIZE
6565 /* Assume that all systems that can run configure have sys/param.h. */
6566 # if !HAVE_SYS_PARAM_H
6567 # define HAVE_SYS_PARAM_H 1
6570 # ifdef _SC_PAGESIZE
6571 # define getpagesize() sysconf(_SC_PAGESIZE)
6572 # else /* no _SC_PAGESIZE */
6573 # if HAVE_SYS_PARAM_H
6574 # include <sys/param.h>
6575 # ifdef EXEC_PAGESIZE
6576 # define getpagesize() EXEC_PAGESIZE
6577 # else /* no EXEC_PAGESIZE */
6579 # define getpagesize() NBPG * CLSIZE
6582 # endif /* no CLSIZE */
6583 # else /* no NBPG */
6585 # define getpagesize() NBPC
6586 # else /* no NBPC */
6588 # define getpagesize() PAGESIZE
6589 # endif /* PAGESIZE */
6590 # endif /* no NBPC */
6591 # endif /* no NBPG */
6592 # endif /* no EXEC_PAGESIZE */
6593 # else /* no HAVE_SYS_PARAM_H */
6594 # define getpagesize() 8192 /* punt totally */
6595 # endif /* no HAVE_SYS_PARAM_H */
6596 # endif /* no _SC_PAGESIZE */
6598 #endif /* no HAVE_GETPAGESIZE */
6603 char *data, *data2, *data3;
6607 pagesize = getpagesize ();
6609 /* First, make a file with some known garbage in it. */
6610 data = (char *) malloc (pagesize);
6613 for (i = 0; i < pagesize; ++i)
6614 *(data + i) = rand ();
6616 fd = creat ("conftest.mmap", 0600);
6619 if (write (fd, data, pagesize) != pagesize)
6623 /* Next, try to mmap the file at a fixed address which already has
6624 something else allocated at it. If we can, also make sure that
6625 we see the same garbage. */
6626 fd = open ("conftest.mmap", O_RDWR);
6629 data2 = (char *) malloc (2 * pagesize);
6632 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6633 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6634 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6636 for (i = 0; i < pagesize; ++i)
6637 if (*(data + i) != *(data2 + i))
6640 /* Finally, make sure that changes to the mapped area do not
6641 percolate back to the file as seen by read(). (This is a bug on
6642 some variants of i386 svr4.0.) */
6643 for (i = 0; i < pagesize; ++i)
6644 *(data2 + i) = *(data2 + i) + 1;
6645 data3 = (char *) malloc (pagesize);
6648 if (read (fd, data3, pagesize) != pagesize)
6650 for (i = 0; i < pagesize; ++i)
6651 if (*(data + i) != *(data3 + i))
6657 rm -f conftest
$ac_exeext
6658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6659 (eval $ac_link) 2>&5
6661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); }; }; then
6668 ac_cv_func_mmap_fixed_mapped
=yes
6670 echo "$as_me: program exited with status $ac_status" >&5
6671 echo "$as_me: failed program was:" >&5
6672 sed 's/^/| /' conftest.
$ac_ext >&5
6675 ac_cv_func_mmap_fixed_mapped
=no
6677 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6680 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6681 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6682 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6684 cat >>confdefs.h
<<\_ACEOF
6692 echo "$as_me:$LINENO: checking for sin_len" >&5
6693 echo $ECHO_N "checking for sin_len... $ECHO_C" >&6
6694 if test "${ac_cv_sin_len+set}" = set; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6697 cat >conftest.
$ac_ext <<_ACEOF
6700 cat confdefs.h
>>conftest.
$ac_ext
6701 cat >>conftest.
$ac_ext <<_ACEOF
6702 /* end confdefs.h. */
6703 #include <sys/types.h>
6704 #include <netinet/in.h>
6708 struct sockaddr_in *sin; sin->sin_len = 0;
6713 rm -f conftest.
$ac_objext
6714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6715 (eval $ac_compile) 2>conftest.er1
6717 grep -v '^ *+' conftest.er1
>conftest.err
6719 cat conftest.err
>&5
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); } &&
6722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); }; } &&
6728 { ac_try
='test -s conftest.$ac_objext'
6729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); }; }; then
6736 echo "$as_me: failed program was:" >&5
6737 sed 's/^/| /' conftest.
$ac_ext >&5
6741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6743 echo "$as_me:$LINENO: result: $ac_cv_sin_len" >&5
6744 echo "${ECHO_T}$ac_cv_sin_len" >&6
6745 if test $ac_cv_sin_len = yes ; then
6747 cat >>confdefs.h
<<\_ACEOF
6748 #define HAVE_SIN_LEN 1
6754 CFLAGS
="$CFLAGS -W -Wall -Werror"
6756 echo "$as_me:$LINENO: checking for time_t format" >&5
6757 echo $ECHO_N "checking for time_t format... $ECHO_C" >&6
6758 if test "${ac_cv_fmt_time_t+set}" = set; then
6759 echo $ECHO_N "(cached) $ECHO_C" >&6
6763 cat >conftest.
$ac_ext <<_ACEOF
6764 #include <sys/types.h>
6768 printf("%li", test);
6771 rm -f conftest.
$ac_objext
6772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6773 (eval $ac_compile) 2>conftest.er1
6775 grep -v '^ *+' conftest.er1
>conftest.err
6777 cat conftest.err
>&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); } &&
6780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); }; } &&
6786 { ac_try
='test -s conftest.$ac_objext'
6787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791 (exit $ac_status); }; }; then
6792 ac_cv_fmt_time_t
="\"%li\""
6794 echo "$as_me: failed program was:" >&5
6795 sed 's/^/| /' conftest.
$ac_ext >&5
6798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6799 if test $ac_cv_fmt_time_t = no
; then
6800 cat >conftest.
$ac_ext <<_ACEOF
6801 #include <sys/types.h>
6808 rm -f conftest.
$ac_objext
6809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6810 (eval $ac_compile) 2>conftest.er1
6812 grep -v '^ *+' conftest.er1
>conftest.err
6814 cat conftest.err
>&5
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); } &&
6817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); }; } &&
6823 { ac_try
='test -s conftest.$ac_objext'
6824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); }; }; then
6829 ac_cv_fmt_time_t
="\"%i\""
6831 echo "$as_me: failed program was:" >&5
6832 sed 's/^/| /' conftest.
$ac_ext >&5
6835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6837 if test $ac_cv_fmt_time_t = no
; then
6838 { { echo "$as_me:$LINENO: error: Cannot detect format string for time_t
6839 Please check sys/types.h for the typedef of time_t and submit to a developer" >&5
6840 echo "$as_me: error: Cannot detect format string for time_t
6841 Please check sys/types.h for the typedef of time_t and submit to a developer" >&2;}
6842 { (exit 1); exit 1; }; }
6848 cat >>confdefs.h
<<_ACEOF
6849 #define FMT_TIME_T $ac_cv_fmt_time_t
6852 echo "$as_me:$LINENO: result: $ac_cv_fmt_time_t" >&5
6853 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6
6855 echo "$as_me:$LINENO: checking for va_copy" >&5
6856 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
6857 if test "${ac_cv_c_va_copy+set}" = set; then
6858 echo $ECHO_N "(cached) $ECHO_C" >&6
6860 cat >conftest.
$ac_ext <<_ACEOF
6863 cat confdefs.h
>>conftest.
$ac_ext
6864 cat >>conftest.
$ac_ext <<_ACEOF
6865 /* end confdefs.h. */
6870 va_list ap1, ap2; va_copy(ap1, ap2);
6875 rm -f conftest.
$ac_objext conftest
$ac_exeext
6876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6877 (eval $ac_link) 2>conftest.er1
6879 grep -v '^ *+' conftest.er1
>conftest.err
6881 cat conftest.err
>&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } &&
6884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }; } &&
6890 { ac_try
='test -s conftest$ac_exeext'
6891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); }; }; then
6896 ac_cv_c_va_copy
="yes"
6898 echo "$as_me: failed program was:" >&5
6899 sed 's/^/| /' conftest.
$ac_ext >&5
6901 ac_cv_c_va_copy
="no"
6904 rm -f conftest.err conftest.
$ac_objext \
6905 conftest
$ac_exeext conftest.
$ac_ext
6907 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
6908 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
6909 if test "$ac_cv_c_va_copy" = "yes" ; then
6911 cat >>confdefs.h
<<\_ACEOF
6912 #define HAVE_VA_COPY 1
6917 echo "$as_me:$LINENO: checking for __va_copy" >&5
6918 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
6919 if test "${ac_cv_c___va_copy+set}" = set; then
6920 echo $ECHO_N "(cached) $ECHO_C" >&6
6922 cat >conftest.
$ac_ext <<_ACEOF
6925 cat confdefs.h
>>conftest.
$ac_ext
6926 cat >>conftest.
$ac_ext <<_ACEOF
6927 /* end confdefs.h. */
6932 va_list ap1, ap2; __va_copy(ap1, ap2);
6937 rm -f conftest.
$ac_objext conftest
$ac_exeext
6938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6939 (eval $ac_link) 2>conftest.er1
6941 grep -v '^ *+' conftest.er1
>conftest.err
6943 cat conftest.err
>&5
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); } &&
6946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); }; } &&
6952 { ac_try
='test -s conftest$ac_exeext'
6953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); }; }; then
6958 ac_cv_c___va_copy
="yes"
6960 echo "$as_me: failed program was:" >&5
6961 sed 's/^/| /' conftest.
$ac_ext >&5
6963 ac_cv_c___va_copy
="no"
6966 rm -f conftest.err conftest.
$ac_objext \
6967 conftest
$ac_exeext conftest.
$ac_ext
6969 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
6970 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
6971 if test "$ac_cv_c___va_copy" = "yes" ; then
6973 cat >>confdefs.h
<<\_ACEOF
6974 #define HAVE___VA_COPY 1
6981 echo "$as_me:$LINENO: checking which malloc to use" >&5
6982 echo $ECHO_N "checking which malloc to use... $ECHO_C" >&6
6984 # Check whether --with-malloc or --without-malloc was given.
6985 if test "${with_malloc+set}" = set; then
6986 withval
="$with_malloc"
6991 if test "x$withval" = "xsystem" ; then
6992 echo "$as_me:$LINENO: result: system" >&5
6993 echo "${ECHO_T}system" >&6
6995 cat >>confdefs.h
<<\_ACEOF
6996 #define WITH_MALLOC_SYSTEM 1
6999 elif test "x$withval" = "xdmalloc" ; then
7000 echo "$as_me:$LINENO: result: dmalloc" >&5
7001 echo "${ECHO_T}dmalloc" >&6
7003 for ac_header
in dmalloc.h
7005 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7007 echo "$as_me:$LINENO: checking for $ac_header" >&5
7008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6
7012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7015 # Is the header compilable?
7016 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7017 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7018 cat >conftest.
$ac_ext <<_ACEOF
7021 cat confdefs.h
>>conftest.
$ac_ext
7022 cat >>conftest.
$ac_ext <<_ACEOF
7023 /* end confdefs.h. */
7024 $ac_includes_default
7025 #include <$ac_header>
7027 rm -f conftest.
$ac_objext
7028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7029 (eval $ac_compile) 2>conftest.er1
7031 grep -v '^ *+' conftest.er1
>conftest.err
7033 cat conftest.err
>&5
7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035 (exit $ac_status); } &&
7036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 (exit $ac_status); }; } &&
7042 { ac_try
='test -s conftest.$ac_objext'
7043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7047 (exit $ac_status); }; }; then
7048 ac_header_compiler
=yes
7050 echo "$as_me: failed program was:" >&5
7051 sed 's/^/| /' conftest.
$ac_ext >&5
7053 ac_header_compiler
=no
7055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7056 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7057 echo "${ECHO_T}$ac_header_compiler" >&6
7059 # Is the header present?
7060 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7061 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7062 cat >conftest.
$ac_ext <<_ACEOF
7065 cat confdefs.h
>>conftest.
$ac_ext
7066 cat >>conftest.
$ac_ext <<_ACEOF
7067 /* end confdefs.h. */
7068 #include <$ac_header>
7070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7071 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7073 grep -v '^ *+' conftest.er1
>conftest.err
7075 cat conftest.err
>&5
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 (exit $ac_status); } >/dev
/null
; then
7078 if test -s conftest.err
; then
7079 ac_cpp_err
=$ac_c_preproc_warn_flag
7080 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7087 if test -z "$ac_cpp_err"; then
7088 ac_header_preproc
=yes
7090 echo "$as_me: failed program was:" >&5
7091 sed 's/^/| /' conftest.
$ac_ext >&5
7093 ac_header_preproc
=no
7095 rm -f conftest.err conftest.
$ac_ext
7096 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7097 echo "${ECHO_T}$ac_header_preproc" >&6
7099 # So? What about this header?
7100 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7102 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7103 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7105 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7106 ac_header_preproc
=yes
7109 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7110 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7111 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7112 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7113 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7114 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7115 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7116 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7118 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7119 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7120 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7123 ## ---------------------------------------------- ##
7124 ## Report this to srvx-bugs@lists.sourceforge.net ##
7125 ## ---------------------------------------------- ##
7128 sed "s/^/$as_me: WARNING: /" >&2
7131 echo "$as_me:$LINENO: checking for $ac_header" >&5
7132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7134 echo $ECHO_N "(cached) $ECHO_C" >&6
7136 eval "$as_ac_Header=\$ac_header_preproc"
7138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7143 cat >>confdefs.h
<<_ACEOF
7144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7148 { { echo "$as_me:$LINENO: error: dmalloc header file missing. dmalloc build will fail." >&5
7149 echo "$as_me: error: dmalloc header file missing. dmalloc build will fail." >&2;}
7150 { (exit 1); exit 1; }; }
7156 echo "$as_me:$LINENO: checking for malloc in -ldmalloc" >&5
7157 echo $ECHO_N "checking for malloc in -ldmalloc... $ECHO_C" >&6
7158 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 ac_check_lib_save_LIBS
=$LIBS
7162 LIBS
="-ldmalloc $LIBS"
7163 cat >conftest.
$ac_ext <<_ACEOF
7166 cat confdefs.h
>>conftest.
$ac_ext
7167 cat >>conftest.
$ac_ext <<_ACEOF
7168 /* end confdefs.h. */
7170 /* Override any gcc2 internal prototype to avoid an error. */
7174 /* We use char because int might match the return type of a gcc2
7175 builtin and then its argument prototype would still apply. */
7185 rm -f conftest.
$ac_objext conftest
$ac_exeext
7186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7187 (eval $ac_link) 2>conftest.er1
7189 grep -v '^ *+' conftest.er1
>conftest.err
7191 cat conftest.err
>&5
7192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 (exit $ac_status); } &&
7194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); }; } &&
7200 { ac_try
='test -s conftest$ac_exeext'
7201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); }; }; then
7206 ac_cv_lib_dmalloc_malloc
=yes
7208 echo "$as_me: failed program was:" >&5
7209 sed 's/^/| /' conftest.
$ac_ext >&5
7211 ac_cv_lib_dmalloc_malloc
=no
7213 rm -f conftest.err conftest.
$ac_objext \
7214 conftest
$ac_exeext conftest.
$ac_ext
7215 LIBS
=$ac_check_lib_save_LIBS
7217 echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_malloc" >&5
7218 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6
7219 if test $ac_cv_lib_dmalloc_malloc = yes; then
7220 cat >>confdefs.h
<<_ACEOF
7221 #define HAVE_LIBDMALLOC 1
7224 LIBS
="-ldmalloc $LIBS"
7227 { { echo "$as_me:$LINENO: error: dmalloc library is missing. dmalloc build will fail." >&5
7228 echo "$as_me: error: dmalloc library is missing. dmalloc build will fail." >&2;}
7229 { (exit 1); exit 1; }; }
7233 cat >>confdefs.h
<<\_ACEOF
7234 #define WITH_MALLOC_DMALLOC 1
7237 elif test "x$withval" = "xmpatrol" ; then
7238 echo "$as_me:$LINENO: result: mpatrol" >&5
7239 echo "${ECHO_T}mpatrol" >&6
7241 for ac_header
in mpatrol.h
7243 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7245 echo "$as_me:$LINENO: checking for $ac_header" >&5
7246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7248 echo $ECHO_N "(cached) $ECHO_C" >&6
7250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7253 # Is the header compilable?
7254 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7255 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7256 cat >conftest.
$ac_ext <<_ACEOF
7259 cat confdefs.h
>>conftest.
$ac_ext
7260 cat >>conftest.
$ac_ext <<_ACEOF
7261 /* end confdefs.h. */
7262 $ac_includes_default
7263 #include <$ac_header>
7265 rm -f conftest.
$ac_objext
7266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7267 (eval $ac_compile) 2>conftest.er1
7269 grep -v '^ *+' conftest.er1
>conftest.err
7271 cat conftest.err
>&5
7272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273 (exit $ac_status); } &&
7274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); }; } &&
7280 { ac_try
='test -s conftest.$ac_objext'
7281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); }; }; then
7286 ac_header_compiler
=yes
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.
$ac_ext >&5
7291 ac_header_compiler
=no
7293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7295 echo "${ECHO_T}$ac_header_compiler" >&6
7297 # Is the header present?
7298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7300 cat >conftest.
$ac_ext <<_ACEOF
7303 cat confdefs.h
>>conftest.
$ac_ext
7304 cat >>conftest.
$ac_ext <<_ACEOF
7305 /* end confdefs.h. */
7306 #include <$ac_header>
7308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7311 grep -v '^ *+' conftest.er1
>conftest.err
7313 cat conftest.err
>&5
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); } >/dev
/null
; then
7316 if test -s conftest.err
; then
7317 ac_cpp_err
=$ac_c_preproc_warn_flag
7318 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7325 if test -z "$ac_cpp_err"; then
7326 ac_header_preproc
=yes
7328 echo "$as_me: failed program was:" >&5
7329 sed 's/^/| /' conftest.
$ac_ext >&5
7331 ac_header_preproc
=no
7333 rm -f conftest.err conftest.
$ac_ext
7334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7335 echo "${ECHO_T}$ac_header_preproc" >&6
7337 # So? What about this header?
7338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7344 ac_header_preproc
=yes
7347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7361 ## ---------------------------------------------- ##
7362 ## Report this to srvx-bugs@lists.sourceforge.net ##
7363 ## ---------------------------------------------- ##
7366 sed "s/^/$as_me: WARNING: /" >&2
7369 echo "$as_me:$LINENO: checking for $ac_header" >&5
7370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 eval "$as_ac_Header=\$ac_header_preproc"
7376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7381 cat >>confdefs.h
<<_ACEOF
7382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7386 { { echo "$as_me:$LINENO: error: mpatrol header file missing. mpatrol build will fail." >&5
7387 echo "$as_me: error: mpatrol header file missing. mpatrol build will fail." >&2;}
7388 { (exit 1); exit 1; }; }
7394 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
7395 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
7396 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
7397 echo $ECHO_N "(cached) $ECHO_C" >&6
7399 ac_check_lib_save_LIBS
=$LIBS
7401 cat >conftest.
$ac_ext <<_ACEOF
7404 cat confdefs.h
>>conftest.
$ac_ext
7405 cat >>conftest.
$ac_ext <<_ACEOF
7406 /* end confdefs.h. */
7408 /* Override any gcc2 internal prototype to avoid an error. */
7412 /* We use char because int might match the return type of a gcc2
7413 builtin and then its argument prototype would still apply. */
7423 rm -f conftest.
$ac_objext conftest
$ac_exeext
7424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7425 (eval $ac_link) 2>conftest.er1
7427 grep -v '^ *+' conftest.er1
>conftest.err
7429 cat conftest.err
>&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); } &&
7432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); }; } &&
7438 { ac_try
='test -s conftest$ac_exeext'
7439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); }; }; then
7444 ac_cv_lib_elf_elf_begin
=yes
7446 echo "$as_me: failed program was:" >&5
7447 sed 's/^/| /' conftest.
$ac_ext >&5
7449 ac_cv_lib_elf_elf_begin
=no
7451 rm -f conftest.err conftest.
$ac_objext \
7452 conftest
$ac_exeext conftest.
$ac_ext
7453 LIBS
=$ac_check_lib_save_LIBS
7455 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
7456 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
7457 if test $ac_cv_lib_elf_elf_begin = yes; then
7458 cat >>confdefs.h
<<_ACEOF
7459 #define HAVE_LIBELF 1
7467 echo "$as_me:$LINENO: checking for __mp_atexit in -lmpatrol" >&5
7468 echo $ECHO_N "checking for __mp_atexit in -lmpatrol... $ECHO_C" >&6
7469 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
7470 echo $ECHO_N "(cached) $ECHO_C" >&6
7472 ac_check_lib_save_LIBS
=$LIBS
7473 LIBS
="-lmpatrol $LIBS"
7474 cat >conftest.
$ac_ext <<_ACEOF
7477 cat confdefs.h
>>conftest.
$ac_ext
7478 cat >>conftest.
$ac_ext <<_ACEOF
7479 /* end confdefs.h. */
7481 /* Override any gcc2 internal prototype to avoid an error. */
7485 /* We use char because int might match the return type of a gcc2
7486 builtin and then its argument prototype would still apply. */
7487 char __mp_atexit ();
7496 rm -f conftest.
$ac_objext conftest
$ac_exeext
7497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7498 (eval $ac_link) 2>conftest.er1
7500 grep -v '^ *+' conftest.er1
>conftest.err
7502 cat conftest.err
>&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); } &&
7505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); }; } &&
7511 { ac_try
='test -s conftest$ac_exeext'
7512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); }; }; then
7517 ac_cv_lib_mpatrol___mp_atexit
=yes
7519 echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.
$ac_ext >&5
7522 ac_cv_lib_mpatrol___mp_atexit
=no
7524 rm -f conftest.err conftest.
$ac_objext \
7525 conftest
$ac_exeext conftest.
$ac_ext
7526 LIBS
=$ac_check_lib_save_LIBS
7528 echo "$as_me:$LINENO: result: $ac_cv_lib_mpatrol___mp_atexit" >&5
7529 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6
7530 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
7531 cat >>confdefs.h
<<_ACEOF
7532 #define HAVE_LIBMPATROL 1
7535 LIBS
="-lmpatrol $LIBS"
7538 { { echo "$as_me:$LINENO: error: mpatrol library is missing completely. mpatrol build will fail." >&5
7539 echo "$as_me: error: mpatrol library is missing completely. mpatrol build will fail." >&2;}
7540 { (exit 1); exit 1; }; }
7544 cat >>confdefs.h
<<\_ACEOF
7545 #define WITH_MALLOC_MPATROL 1
7548 elif test "x$withval" = "xboehm-gc" ; then
7549 echo "$as_me:$LINENO: result: boehm-gc" >&5
7550 echo "${ECHO_T}boehm-gc" >&6
7552 for ac_header
in gc
/gc.h
7554 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7556 echo "$as_me:$LINENO: checking for $ac_header" >&5
7557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7559 echo $ECHO_N "(cached) $ECHO_C" >&6
7561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7564 # Is the header compilable?
7565 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7566 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7567 cat >conftest.
$ac_ext <<_ACEOF
7570 cat confdefs.h
>>conftest.
$ac_ext
7571 cat >>conftest.
$ac_ext <<_ACEOF
7572 /* end confdefs.h. */
7573 $ac_includes_default
7574 #include <$ac_header>
7576 rm -f conftest.
$ac_objext
7577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7578 (eval $ac_compile) 2>conftest.er1
7580 grep -v '^ *+' conftest.er1
>conftest.err
7582 cat conftest.err
>&5
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); } &&
7585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); }; } &&
7591 { ac_try
='test -s conftest.$ac_objext'
7592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); }; }; then
7597 ac_header_compiler
=yes
7599 echo "$as_me: failed program was:" >&5
7600 sed 's/^/| /' conftest.
$ac_ext >&5
7602 ac_header_compiler
=no
7604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7605 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7606 echo "${ECHO_T}$ac_header_compiler" >&6
7608 # Is the header present?
7609 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7610 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7611 cat >conftest.
$ac_ext <<_ACEOF
7614 cat confdefs.h
>>conftest.
$ac_ext
7615 cat >>conftest.
$ac_ext <<_ACEOF
7616 /* end confdefs.h. */
7617 #include <$ac_header>
7619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7620 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7622 grep -v '^ *+' conftest.er1
>conftest.err
7624 cat conftest.err
>&5
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); } >/dev
/null
; then
7627 if test -s conftest.err
; then
7628 ac_cpp_err
=$ac_c_preproc_warn_flag
7629 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7636 if test -z "$ac_cpp_err"; then
7637 ac_header_preproc
=yes
7639 echo "$as_me: failed program was:" >&5
7640 sed 's/^/| /' conftest.
$ac_ext >&5
7642 ac_header_preproc
=no
7644 rm -f conftest.err conftest.
$ac_ext
7645 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7646 echo "${ECHO_T}$ac_header_preproc" >&6
7648 # So? What about this header?
7649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7651 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7652 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7654 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7655 ac_header_preproc
=yes
7658 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7659 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7660 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7661 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7662 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7663 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7664 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7665 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7668 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7669 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7672 ## ---------------------------------------------- ##
7673 ## Report this to srvx-bugs@lists.sourceforge.net ##
7674 ## ---------------------------------------------- ##
7677 sed "s/^/$as_me: WARNING: /" >&2
7680 echo "$as_me:$LINENO: checking for $ac_header" >&5
7681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7683 echo $ECHO_N "(cached) $ECHO_C" >&6
7685 eval "$as_ac_Header=\$ac_header_preproc"
7687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7692 cat >>confdefs.h
<<_ACEOF
7693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7697 { { echo "$as_me:$LINENO: error: Boehm GC header file missing. boehm-gc build will fail." >&5
7698 echo "$as_me: error: Boehm GC header file missing. boehm-gc build will fail." >&2;}
7699 { (exit 1); exit 1; }; }
7705 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7706 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7707 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7708 echo $ECHO_N "(cached) $ECHO_C" >&6
7710 ac_check_lib_save_LIBS
=$LIBS
7712 cat >conftest.
$ac_ext <<_ACEOF
7715 cat confdefs.h
>>conftest.
$ac_ext
7716 cat >>conftest.
$ac_ext <<_ACEOF
7717 /* end confdefs.h. */
7719 /* Override any gcc2 internal prototype to avoid an error. */
7723 /* We use char because int might match the return type of a gcc2
7724 builtin and then its argument prototype would still apply. */
7734 rm -f conftest.
$ac_objext conftest
$ac_exeext
7735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7736 (eval $ac_link) 2>conftest.er1
7738 grep -v '^ *+' conftest.er1
>conftest.err
7740 cat conftest.err
>&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); } &&
7743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748 (exit $ac_status); }; } &&
7749 { ac_try
='test -s conftest$ac_exeext'
7750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7754 (exit $ac_status); }; }; then
7755 ac_cv_lib_dl_dlopen
=yes
7757 echo "$as_me: failed program was:" >&5
7758 sed 's/^/| /' conftest.
$ac_ext >&5
7760 ac_cv_lib_dl_dlopen
=no
7762 rm -f conftest.err conftest.
$ac_objext \
7763 conftest
$ac_exeext conftest.
$ac_ext
7764 LIBS
=$ac_check_lib_save_LIBS
7766 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7767 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7768 if test $ac_cv_lib_dl_dlopen = yes; then
7769 cat >>confdefs.h
<<_ACEOF
7770 #define HAVE_LIBDL 1
7776 { { echo "$as_me:$LINENO: error: libdl library is missing. boehm-gc build will fail." >&5
7777 echo "$as_me: error: libdl library is missing. boehm-gc build will fail." >&2;}
7778 { (exit 1); exit 1; }; }
7782 echo "$as_me:$LINENO: checking for GC_gcollect in -lgc" >&5
7783 echo $ECHO_N "checking for GC_gcollect in -lgc... $ECHO_C" >&6
7784 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
7785 echo $ECHO_N "(cached) $ECHO_C" >&6
7787 ac_check_lib_save_LIBS
=$LIBS
7789 cat >conftest.
$ac_ext <<_ACEOF
7792 cat confdefs.h
>>conftest.
$ac_ext
7793 cat >>conftest.
$ac_ext <<_ACEOF
7794 /* end confdefs.h. */
7796 /* Override any gcc2 internal prototype to avoid an error. */
7800 /* We use char because int might match the return type of a gcc2
7801 builtin and then its argument prototype would still apply. */
7802 char GC_gcollect ();
7811 rm -f conftest.
$ac_objext conftest
$ac_exeext
7812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7813 (eval $ac_link) 2>conftest.er1
7815 grep -v '^ *+' conftest.er1
>conftest.err
7817 cat conftest.err
>&5
7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819 (exit $ac_status); } &&
7820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); }; } &&
7826 { ac_try
='test -s conftest$ac_exeext'
7827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); }; }; then
7832 ac_cv_lib_gc_GC_gcollect
=yes
7834 echo "$as_me: failed program was:" >&5
7835 sed 's/^/| /' conftest.
$ac_ext >&5
7837 ac_cv_lib_gc_GC_gcollect
=no
7839 rm -f conftest.err conftest.
$ac_objext \
7840 conftest
$ac_exeext conftest.
$ac_ext
7841 LIBS
=$ac_check_lib_save_LIBS
7843 echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_gcollect" >&5
7844 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6
7845 if test $ac_cv_lib_gc_GC_gcollect = yes; then
7846 cat >>confdefs.h
<<_ACEOF
7847 #define HAVE_LIBGC 1
7853 { { echo "$as_me:$LINENO: error: Boehm GC library is missing. boehm-gc build will fail." >&5
7854 echo "$as_me: error: Boehm GC library is missing. boehm-gc build will fail." >&2;}
7855 { (exit 1); exit 1; }; }
7859 cat >>confdefs.h
<<\_ACEOF
7860 #define WITH_MALLOC_BOEHM_GC 1
7864 { { echo "$as_me:$LINENO: error: Unknown malloc type $withval" >&5
7865 echo "$as_me: error: Unknown malloc type $withval" >&2;}
7866 { (exit 1); exit 1; }; }
7869 echo "$as_me:$LINENO: checking which protocol to use" >&5
7870 echo $ECHO_N "checking which protocol to use... $ECHO_C" >&6
7872 # Check whether --with-protocol or --without-protocol was given.
7873 if test "${with_protocol+set}" = set; then
7874 withval
="$with_protocol"
7879 if test "x$withval" = "xp10" ; then
7880 echo "$as_me:$LINENO: result: P10" >&5
7881 echo "${ECHO_T}P10" >&6
7883 cat >>confdefs.h
<<\_ACEOF
7884 #define WITH_PROTOCOL_P10 1
7887 MODULE_OBJS
="$MODULE_OBJS proto-p10.\$(OBJEXT)"
7888 PROTO_FILES
=proto
-p10.c
7889 elif test "x$withval" = "xbahamut" ; then
7890 echo "$as_me:$LINENO: result: Bahamut" >&5
7891 echo "${ECHO_T}Bahamut" >&6
7893 cat >>confdefs.h
<<\_ACEOF
7894 #define WITH_PROTOCOL_BAHAMUT 1
7897 MODULE_OBJS
="$MODULE_OBJS proto-bahamut.\$(OBJEXT)"
7899 { { echo "$as_me:$LINENO: error: Unknown IRC dialect $withval" >&5
7900 echo "$as_me: error: Unknown IRC dialect $withval" >&2;}
7901 { (exit 1); exit 1; }; }
7905 # Check whether --with-getopt or --without-getopt was given.
7906 if test "${with_getopt+set}" = set; then
7907 withval
="$with_getopt"
7908 if test "$withval" = no
; then
7910 cat >>confdefs.h
<<\_ACEOF
7911 #define IGNORE_GETOPT 1
7917 echo "$as_me:$LINENO: checking whether to enable tokenization" >&5
7918 echo $ECHO_N "checking whether to enable tokenization... $ECHO_C" >&6
7919 # Check whether --enable-tokens or --disable-tokens was given.
7920 if test "${enable_tokens+set}" = set; then
7921 enableval
="$enable_tokens"
7926 if test "z$enableval" = zno
; then
7927 echo "$as_me:$LINENO: result: no" >&5
7928 echo "${ECHO_T}no" >&6
7931 cat >>confdefs.h
<<\_ACEOF
7932 #define ENABLE_TOKENS 1
7935 echo "$as_me:$LINENO: result: yes" >&5
7936 echo "${ECHO_T}yes" >&6
7939 echo "$as_me:$LINENO: checking whether to enable debug behaviors" >&5
7940 echo $ECHO_N "checking whether to enable debug behaviors... $ECHO_C" >&6
7941 # Check whether --enable-debug or --disable-debug was given.
7942 if test "${enable_debug+set}" = set; then
7943 enableval
="$enable_debug"
7945 CPPFLAGS
="$CPPFLAGS"
7946 echo "$as_me:$LINENO: result: yes" >&5
7947 echo "${ECHO_T}yes" >&6
7951 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7957 if test -e src
; then
7958 if test ! -d src
; then
7959 { { echo "$as_me:$LINENO: error: src exists but is not a directory; please move it out of the way." >&5
7960 echo "$as_me: error: src exists but is not a directory; please move it out of the way." >&2;}
7961 { (exit 1); exit 1; }; }
7966 echo "$as_me:$LINENO: checking for extra module files" >&5
7967 echo $ECHO_N "checking for extra module files... $ECHO_C" >&6
7968 MODULE_DEFINES
="src/modules-list.h"
7969 echo > $MODULE_DEFINES
7970 touch $MODULE_DEFINES
7971 # Check whether --enable-modules or --disable-modules was given.
7972 if test "${enable_modules+set}" = set; then
7973 enableval
="$enable_modules"
7977 EXTRA_MODULE_OBJS
=""
7979 for module
in $enableval ; do
7980 module
=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
7981 EXTRA_MODULE_OBJS
="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
7982 module_list
="$module_list $module"
7983 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
7986 MODULE_OBJS
="$MODULE_OBJS $EXTRA_MODULE_OBJS"
7987 echo "$as_me:$LINENO: result: $module_list" >&5
7988 echo "${ECHO_T}$module_list" >&6
7992 echo "$as_me:$LINENO: result: none" >&5
7993 echo "${ECHO_T}none" >&6
8000 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no
; then
8001 MY_SUBDIRS
="rx $MY_SUBDIRS"
8002 RX_INCLUDES
="-I../rx"
8003 RX_LIBS
="../rx/librx.a"
8005 MY_SUBDIRS
="$MY_SUBDIRS src"
8006 CFLAGS
="$CFLAGS $ANSI_SRC -W -Wall"
8007 if test "z$USE_MAINTAINER_MODE" = zyes
; then
8008 CFLAGS
="$CFLAGS -Werror"
8012 cat >>confdefs.h
<<_ACEOF
8013 #define CODENAME "${CODENAME}"
8020 ac_config_files
="$ac_config_files Makefile rx/Makefile src/Makefile"
8022 cat >confcache
<<\_ACEOF
8023 # This file is a shell script that caches the results of configure
8024 # tests run on this system so they can be shared between configure
8025 # scripts and configure runs, see configure's option --config-cache.
8026 # It is not useful on other systems. If it contains results you don't
8027 # want to keep, you may remove or edit it.
8029 # config.status only pays attention to the cache file if you give it
8030 # the --recheck option to rerun configure.
8032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8038 # The following way of writing the cache mishandles newlines in values,
8039 # but we know of no workaround that is simple, portable, and efficient.
8040 # So, don't put newlines in cache variables' values.
8041 # Ultrix sh set writes to stderr and can't be redirected directly,
8042 # and sets the high bit in the cache file unless we assign to the vars.
8045 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8047 # `set' does not quote correctly, so add quotes (double-quote
8048 # substitution turns \\\\ into \\, and sed turns \\ into \).
8051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8054 # `set' quotes correctly as required by POSIX, so do not add quotes.
8056 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8063 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8065 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8067 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8068 if test -w $cache_file; then
8069 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8070 cat confcache
>$cache_file
8072 echo "not updating unwritable cache $cache_file"
8077 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8078 # Let make expand exec_prefix.
8079 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8081 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8082 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8083 # trailing colons and then remove the whole line if VPATH becomes empty
8084 # (actually we leave an empty line to preserve line numbers).
8085 if test "x$srcdir" = x.
; then
8086 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8087 s/:*\$(srcdir):*/:/;
8088 s/:*\${srcdir}:*/:/;
8090 s/^\([^=]*=[ ]*\):*/\1/;
8096 DEFS
=-DHAVE_CONFIG_H
8100 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8101 # 1. Remove the extension, and $U if already installed.
8102 ac_i
=`echo "$ac_i" |
8103 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8105 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8106 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8110 LTLIBOBJS
=$ac_ltlibobjs
8113 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8114 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8115 Usually this means the macro was only invoked conditionally." >&5
8116 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8117 Usually this means the macro was only invoked conditionally." >&2;}
8118 { (exit 1); exit 1; }; }
8120 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8121 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8122 Usually this means the macro was only invoked conditionally." >&5
8123 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8124 Usually this means the macro was only invoked conditionally." >&2;}
8125 { (exit 1); exit 1; }; }
8127 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8128 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8129 Usually this means the macro was only invoked conditionally." >&5
8130 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8131 Usually this means the macro was only invoked conditionally." >&2;}
8132 { (exit 1); exit 1; }; }
8134 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8135 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8136 Usually this means the macro was only invoked conditionally." >&5
8137 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8138 Usually this means the macro was only invoked conditionally." >&2;}
8139 { (exit 1); exit 1; }; }
8142 : ${CONFIG_STATUS=./config.status}
8143 ac_clean_files_save
=$ac_clean_files
8144 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8145 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8146 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8147 cat >$CONFIG_STATUS <<_ACEOF
8149 # Generated by $as_me.
8150 # Run this file to recreate the current configuration.
8151 # Compiler output produced by configure, useful for debugging
8152 # configure, is in config.log if it exists.
8157 SHELL=\${CONFIG_SHELL-$SHELL}
8160 cat >>$CONFIG_STATUS <<\_ACEOF
8161 ## --------------------- ##
8162 ## M4sh Initialization. ##
8163 ## --------------------- ##
8165 # Be Bourne compatible
8166 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8169 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8170 # is contrary to our usage. Disable this feature.
8171 alias -g '${1+"$@"}'='"$@"'
8172 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8175 DUALCASE
=1; export DUALCASE
# for MKS sh
8177 # Support unset when possible.
8178 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
8185 # Work around bugs in pre-3.0 UWIN ksh.
8186 $as_unset ENV MAIL MAILPATH
8193 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8194 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8195 LC_TELEPHONE LC_TIME
8197 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8198 eval $as_var=C
; export $as_var
8204 # Required to use basename.
8205 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8211 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8212 as_basename
=basename
8218 # Name of the executable.
8219 as_me
=`$as_basename "$0" ||
8220 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8221 X"$0" : 'X\(//\)$' \| \
8222 X"$0" : 'X\(/\)$' \| \
8223 . : '\(.\)' 2>/dev/null ||
8225 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8226 /^X\/\(\/\/\)$/{ s//\1/; q; }
8227 /^X\/\(\/\).*/{ s//\1/; q; }
8231 # PATH needs CR, and LINENO needs CR and PATH.
8232 # Avoid depending upon Character Ranges.
8233 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8234 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8235 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8236 as_cr_digits
='0123456789'
8237 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8239 # The user is always right.
8240 if test "${PATH_SEPARATOR+set}" != set; then
8241 echo "#! /bin/sh" >conf$$.sh
8242 echo "exit 0" >>conf$$.sh
8244 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8255 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8256 test "x$as_lineno_1" != "x$as_lineno_2" &&
8257 test "x$as_lineno_3" = "x$as_lineno_2" || {
8258 # Find who we are. Look in the path if we contain no path at all
8261 *[\\/]* ) as_myself
=$0 ;;
8262 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8266 test -z "$as_dir" && as_dir
=.
8267 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8272 # We did not find ourselves, most probably we were run as `sh COMMAND'
8273 # in which case we are not to be found in the path.
8274 if test "x$as_myself" = x
; then
8277 if test ! -f "$as_myself"; then
8278 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8279 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8280 { (exit 1); exit 1; }; }
8282 case $CONFIG_SHELL in
8284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8285 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8288 test -z "$as_dir" && as_dir
=.
8289 for as_base
in sh bash ksh sh5
; do
8292 if ("$as_dir/$as_base" -c '
8295 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8296 test "x$as_lineno_1" != "x$as_lineno_2" &&
8297 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8298 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
8299 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
8300 CONFIG_SHELL
=$as_dir/$as_base
8302 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8310 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8311 # uniformly replaced by the line number. The first 'sed' inserts a
8312 # line-number line before each line; the second 'sed' does the real
8313 # work. The second script uses 'N' to pair each line-number line
8314 # with the numbered line, and appends trailing '-' during
8315 # substitution so that $LINENO is not a special case at line end.
8316 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8317 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8318 sed '=' <$as_myself |
8323 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8326 s,^['$as_cr_digits']*\n,,
8328 chmod +x
$as_me.lineno
||
8329 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8330 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8331 { (exit 1); exit 1; }; }
8333 # Don't try to exec as it changes $[0], causing all sort of problems
8334 # (the dirname of $[0] is not the place where we might find the
8335 # original and so on. Autoconf is especially sensible to this).
8337 # Exit status is that of the last command.
8342 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8343 *c
*,-n*) ECHO_N
= ECHO_C
='
8345 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8346 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8349 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8355 rm -f conf$$ conf$$.exe conf$$.
file
8357 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8358 # We could just check for DJGPP; but this test a) works b) is more generic
8359 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8360 if test -f conf$$.exe
; then
8361 # Don't use ln at all; we don't have any links
8366 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8371 rm -f conf$$ conf$$.exe conf$$.
file
8373 if mkdir -p .
2>/dev
/null
; then
8376 test -d .
/-p && rmdir .
/-p
8380 as_executable_p
="test -f"
8382 # Sed expression to map a string onto a valid CPP name.
8383 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8385 # Sed expression to map a string onto a valid variable name.
8386 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8390 # We need space, tab and new line, in precisely that order.
8400 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8401 # report actual input values of CONFIG_FILES etc. instead of their
8402 # values after options handling. Logging --version etc. is OK.
8406 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8407 ## Running $as_me. ##
8412 This file was extended by srvx $as_me 1.3, which was
8413 generated by GNU Autoconf 2.59. Invocation command line was
8415 CONFIG_FILES = $CONFIG_FILES
8416 CONFIG_HEADERS = $CONFIG_HEADERS
8417 CONFIG_LINKS = $CONFIG_LINKS
8418 CONFIG_COMMANDS = $CONFIG_COMMANDS
8422 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8426 # Files that config.status was made for.
8427 if test -n "$ac_config_files"; then
8428 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8431 if test -n "$ac_config_headers"; then
8432 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8435 if test -n "$ac_config_links"; then
8436 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8439 if test -n "$ac_config_commands"; then
8440 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8443 cat >>$CONFIG_STATUS <<\_ACEOF
8446 \`$as_me' instantiates files from templates according to the
8447 current configuration.
8449 Usage: $0 [OPTIONS] [FILE]...
8451 -h, --help print this help, then exit
8452 -V, --version print version number, then exit
8453 -q, --quiet do not print progress messages
8454 -d, --debug don't remove temporary files
8455 --recheck update $as_me by reconfiguring in the same conditions
8456 --file=FILE[:TEMPLATE]
8457 instantiate the configuration file FILE
8458 --header=FILE[:TEMPLATE]
8459 instantiate the configuration header FILE
8461 Configuration files:
8464 Configuration headers:
8467 Configuration commands:
8470 Report bugs to <bug-autoconf@gnu.org>."
8473 cat >>$CONFIG_STATUS <<_ACEOF
8475 srvx config.status 1.3
8476 configured by $0, generated by GNU Autoconf 2.59,
8477 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8479 Copyright (C) 2003 Free Software Foundation, Inc.
8480 This config.status script is free software; the Free Software Foundation
8481 gives unlimited permission to copy, distribute and modify it."
8486 cat >>$CONFIG_STATUS <<\_ACEOF
8487 # If no file are specified by the user, then we need to provide default
8488 # value. By we need to know if files were specified by the user.
8494 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8495 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8503 *) # This is not an option, so the user has probably given explicit
8506 ac_need_defaults
=false
;;
8510 # Handling of the options.
8512 cat >>$CONFIG_STATUS <<\_ACEOF
8513 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8515 --version | --vers* | -V )
8516 echo "$ac_cs_version"; exit 0 ;;
8518 # Conflict between --help and --header
8519 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8520 Try \`$0 --help' for more information." >&5
8521 echo "$as_me: error: ambiguous option: $1
8522 Try \`$0 --help' for more information." >&2;}
8523 { (exit 1); exit 1; }; };;
8524 --help | --hel | -h )
8525 echo "$ac_cs_usage"; exit 0 ;;
8526 --debug | --d* | -d )
8528 --file | --fil | --fi | --f )
8530 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8531 ac_need_defaults
=false
;;
8532 --header | --heade | --head | --hea )
8534 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8535 ac_need_defaults
=false
;;
8536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8537 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8541 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8542 Try \`$0 --help' for more information." >&5
8543 echo "$as_me: error: unrecognized option: $1
8544 Try \`$0 --help' for more information." >&2;}
8545 { (exit 1); exit 1; }; } ;;
8547 *) ac_config_targets
="$ac_config_targets $1" ;;
8553 ac_configure_extra_args
=
8555 if $ac_cs_silent; then
8557 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8561 cat >>$CONFIG_STATUS <<_ACEOF
8562 if \$ac_cs_recheck; then
8563 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8564 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8569 cat >>$CONFIG_STATUS <<_ACEOF
8571 # INIT-COMMANDS section.
8574 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8580 cat >>$CONFIG_STATUS <<\_ACEOF
8581 for ac_config_target
in $ac_config_targets
8583 case "$ac_config_target" in
8584 # Handling of arguments.
8585 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8586 "rx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
8587 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
8588 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8589 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
8590 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8591 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8592 { (exit 1); exit 1; }; };;
8596 # If the user did not use the arguments to specify the items to instantiate,
8597 # then the envvar interface is used. Set only those that are not.
8598 # We use the long form for the default assignment because of an extremely
8599 # bizarre bug on SunOS 4.1.3.
8600 if $ac_need_defaults; then
8601 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8602 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8603 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8606 # Have a temporary directory for convenience. Make it in the build tree
8607 # simply because there is no reason to put it here, and in addition,
8608 # creating and moving files from /tmp can sometimes cause problems.
8609 # Create a temporary directory, and hook for its removal unless debugging.
8612 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8613 trap '{ (exit 1); exit 1; }' 1 2 13 15
8616 # Create a (secure) tmp directory for tmp files.
8619 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8620 test -n "$tmp" && test -d "$tmp"
8623 tmp
=.
/confstat$$
-$RANDOM
8624 (umask 077 && mkdir $tmp)
8627 echo "$me: cannot create a temporary directory in ." >&2
8628 { (exit 1); exit 1; }
8633 cat >>$CONFIG_STATUS <<_ACEOF
8636 # CONFIG_FILES section.
8639 # No need to generate the scripts if there are no CONFIG_FILES.
8640 # This happens for instance when ./config.status config.h
8641 if test -n "\$CONFIG_FILES"; then
8642 # Protect against being on the right side of a sed subst in config.status.
8643 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8644 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8645 s,@SHELL@,$SHELL,;t t
8646 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8647 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8648 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8649 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8650 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8651 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8652 s,@exec_prefix@,$exec_prefix,;t t
8653 s,@prefix@,$prefix,;t t
8654 s,@program_transform_name@,$program_transform_name,;t t
8655 s,@bindir@,$bindir,;t t
8656 s,@sbindir@,$sbindir,;t t
8657 s,@libexecdir@,$libexecdir,;t t
8658 s,@datadir@,$datadir,;t t
8659 s,@sysconfdir@,$sysconfdir,;t t
8660 s,@sharedstatedir@,$sharedstatedir,;t t
8661 s,@localstatedir@,$localstatedir,;t t
8662 s,@libdir@,$libdir,;t t
8663 s,@includedir@,$includedir,;t t
8664 s,@oldincludedir@,$oldincludedir,;t t
8665 s,@infodir@,$infodir,;t t
8666 s,@mandir@,$mandir,;t t
8667 s,@build_alias@,$build_alias,;t t
8668 s,@host_alias@,$host_alias,;t t
8669 s,@target_alias@,$target_alias,;t t
8671 s,@ECHO_C@,$ECHO_C,;t t
8672 s,@ECHO_N@,$ECHO_N,;t t
8673 s,@ECHO_T@,$ECHO_T,;t t
8675 s,@build@,$build,;t t
8676 s,@build_cpu@,$build_cpu,;t t
8677 s,@build_vendor@,$build_vendor,;t t
8678 s,@build_os@,$build_os,;t t
8680 s,@host_cpu@,$host_cpu,;t t
8681 s,@host_vendor@,$host_vendor,;t t
8682 s,@host_os@,$host_os,;t t
8683 s,@target@,$target,;t t
8684 s,@target_cpu@,$target_cpu,;t t
8685 s,@target_vendor@,$target_vendor,;t t
8686 s,@target_os@,$target_os,;t t
8687 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8688 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8689 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8690 s,@CYGPATH_W@,$CYGPATH_W,;t t
8691 s,@PACKAGE@,$PACKAGE,;t t
8692 s,@VERSION@,$VERSION,;t t
8693 s,@ACLOCAL@,$ACLOCAL,;t t
8694 s,@AUTOCONF@,$AUTOCONF,;t t
8695 s,@AUTOMAKE@,$AUTOMAKE,;t t
8696 s,@AUTOHEADER@,$AUTOHEADER,;t t
8697 s,@MAKEINFO@,$MAKEINFO,;t t
8698 s,@AMTAR@,$AMTAR,;t t
8699 s,@install_sh@,$install_sh,;t t
8700 s,@STRIP@,$STRIP,;t t
8701 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8702 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8703 s,@mkdir_p@,$mkdir_p,;t t
8705 s,@SET_MAKE@,$SET_MAKE,;t t
8706 s,@am__leading_dot@,$am__leading_dot,;t t
8707 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8708 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8709 s,@MAINT@,$MAINT,;t t
8711 s,@CFLAGS@,$CFLAGS,;t t
8712 s,@LDFLAGS@,$LDFLAGS,;t t
8713 s,@CPPFLAGS@,$CPPFLAGS,;t t
8714 s,@ac_ct_CC@,$ac_ct_CC,;t t
8715 s,@EXEEXT@,$EXEEXT,;t t
8716 s,@OBJEXT@,$OBJEXT,;t t
8717 s,@DEPDIR@,$DEPDIR,;t t
8718 s,@am__include@,$am__include,;t t
8719 s,@am__quote@,$am__quote,;t t
8720 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8721 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8722 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8723 s,@CCDEPMODE@,$CCDEPMODE,;t t
8724 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8725 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8726 s,@RANLIB@,$RANLIB,;t t
8727 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8730 s,@EGREP@,$EGREP,;t t
8731 s,@ALLOCA@,$ALLOCA,;t t
8732 s,@MODULE_OBJS@,$MODULE_OBJS,;t t
8733 s,@MY_SUBDIRS@,$MY_SUBDIRS,;t t
8734 s,@RX_INCLUDES@,$RX_INCLUDES,;t t
8735 s,@RX_LIBS@,$RX_LIBS,;t t
8736 s,@LIBOBJS@,$LIBOBJS,;t t
8737 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8742 cat >>$CONFIG_STATUS <<\_ACEOF
8743 # Split the substitutions into bite-sized pieces for seds with
8744 # small command number limits, like on Digital OSF/1 and HP-UX.
8746 ac_sed_frag
=1 # Number of current file.
8747 ac_beg
=1 # First line for current file.
8748 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8751 while $ac_more_lines; do
8752 if test $ac_beg -gt 1; then
8753 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8755 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8757 if test ! -s $tmp/subs.frag
; then
8760 # The purpose of the label and of the branching condition is to
8761 # speed up the sed processing (if there are no `@' at all, there
8762 # is no need to browse any of the substitutions).
8763 # These are the two extra sed commands mentioned above.
8765 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
8766 if test -z "$ac_sed_cmds"; then
8767 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8769 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8771 ac_sed_frag
=`expr $ac_sed_frag + 1`
8773 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8776 if test -z "$ac_sed_cmds"; then
8779 fi # test -n "$CONFIG_FILES"
8782 cat >>$CONFIG_STATUS <<\_ACEOF
8783 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8784 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8786 - | *:- | *:-:* ) # input from stdin
8788 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8789 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8790 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8791 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8792 * ) ac_file_in
=$ac_file.
in ;;
8795 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8796 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8797 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8798 X"$ac_file" : 'X\(//\)[^/]' \| \
8799 X"$ac_file" : 'X\(//\)$' \| \
8800 X"$ac_file" : 'X\(/\)' \| \
8801 . : '\(.\)' 2>/dev/null ||
8803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8804 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8805 /^X\(\/\/\)$/{ s//\1/; q; }
8806 /^X\(\/\).*/{ s//\1/; q; }
8808 { if $as_mkdir_p; then
8813 while test ! -d "$as_dir"; do
8814 as_dirs
="$as_dir $as_dirs"
8815 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8816 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8817 X"$as_dir" : 'X\(//\)[^/]' \| \
8818 X"$as_dir" : 'X\(//\)$' \| \
8819 X"$as_dir" : 'X\(/\)' \| \
8820 . : '\(.\)' 2>/dev/null ||
8822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8823 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8824 /^X\(\/\/\)$/{ s//\1/; q; }
8825 /^X\(\/\).*/{ s//\1/; q; }
8828 test ! -n "$as_dirs" || mkdir $as_dirs
8829 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8830 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8831 { (exit 1); exit 1; }; }; }
8835 if test "$ac_dir" != .
; then
8836 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8837 # A "../" for each directory in $ac_dir_suffix.
8838 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8840 ac_dir_suffix
= ac_top_builddir
=
8844 .
) # No --srcdir option. We are building in place.
8846 if test -z "$ac_top_builddir"; then
8849 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8851 [\\/]* | ?
:[\\/]* ) # Absolute path.
8852 ac_srcdir
=$srcdir$ac_dir_suffix;
8853 ac_top_srcdir
=$srcdir ;;
8855 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8856 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8859 # Do not use `cd foo && pwd` to compute absolute paths, because
8860 # the directories may not exist.
8862 .
) ac_abs_builddir
="$ac_dir";;
8865 .
) ac_abs_builddir
=`pwd`;;
8866 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8867 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8870 case $ac_abs_builddir in
8871 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8873 case ${ac_top_builddir}.
in
8874 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8875 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8876 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8879 case $ac_abs_builddir in
8880 .
) ac_abs_srcdir
=$ac_srcdir;;
8883 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8884 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8885 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8888 case $ac_abs_builddir in
8889 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8891 case $ac_top_srcdir in
8892 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8893 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8894 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8900 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8901 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8904 # Let's still pretend it is `configure' which instantiates (i.e., don't
8905 # use $as_me), people would be surprised to read:
8906 # /* config.h. Generated by config.status. */
8907 if test x
"$ac_file" = x
-; then
8910 configure_input
="$ac_file. "
8912 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8913 sed 's,.*/,,'` by configure."
8915 # First look for the input files in the build tree, otherwise in the
8917 ac_file_inputs
=`IFS=:
8918 for f in $ac_file_in; do
8920 -) echo $tmp/stdin ;;
8922 # Absolute (can't be DOS-style, as IFS=:)
8923 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8924 echo "$as_me: error: cannot find input file: $f" >&2;}
8925 { (exit 1); exit 1; }; }
8928 if test -f "$f"; then
8931 elif test -f "$srcdir/$f"; then
8936 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8937 echo "$as_me: error: cannot find input file: $f" >&2;}
8938 { (exit 1); exit 1; }; }
8941 done` || { (exit 1); exit 1; }
8943 if test x
"$ac_file" != x
-; then
8944 { echo "$as_me:$LINENO: creating $ac_file" >&5
8945 echo "$as_me: creating $ac_file" >&6;}
8949 cat >>$CONFIG_STATUS <<_ACEOF
8953 cat >>$CONFIG_STATUS <<\_ACEOF
8955 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
8956 s
,@configure_input@
,$configure_input,;t t
8957 s
,@srcdir@
,$ac_srcdir,;t t
8958 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8959 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8960 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8961 s
,@builddir@
,$ac_builddir,;t t
8962 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8963 s
,@top_builddir@
,$ac_top_builddir,;t t
8964 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8965 s
,@INSTALL@
,$ac_INSTALL,;t t
8966 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8968 if test x"$ac_file" != x-; then
8969 mv $tmp/out $ac_file
8977 cat >>$CONFIG_STATUS <<\_ACEOF
8980 # CONFIG_HEADER section.
8983 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8984 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8986 # ac_d sets the value in "#define NAME VALUE" lines.
8987 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8988 ac_dB
='[ ].*$,\1#\2'
8991 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8992 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8993 ac_uB
='$,\1#\2define\3'
8997 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8998 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9000 - | *:- | *:-:* ) # input from stdin
9002 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9003 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9004 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9005 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9006 * ) ac_file_in
=$ac_file.
in ;;
9009 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9010 echo "$as_me: creating $ac_file" >&6;}
9012 # First look for the input files in the build tree, otherwise in the
9014 ac_file_inputs
=`IFS=:
9015 for f in $ac_file_in; do
9017 -) echo $tmp/stdin ;;
9019 # Absolute (can't be DOS-style, as IFS=:)
9020 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9021 echo "$as_me: error: cannot find input file: $f" >&2;}
9022 { (exit 1); exit 1; }; }
9023 # Do quote $f, to prevent DOS paths from being IFS'd.
9026 if test -f "$f"; then
9029 elif test -f "$srcdir/$f"; then
9034 { { 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; }; }
9039 done` || { (exit 1); exit 1; }
9040 # Remove the trailing spaces.
9041 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9045 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9046 # `conftest.undefs', that substitutes the proper values into
9047 # config.h.in to produce config.h. The first handles `#define'
9048 # templates, and the second `#undef' templates.
9049 # And first: Protect against being on the right side of a sed subst in
9050 # config.status. Protect against being in an unquoted here document
9052 rm -f conftest.defines conftest.undefs
9053 # Using a here document instead of a string reduces the quoting nightmare.
9054 # Putting comments in sed scripts is not portable.
9056 # `end' is used to avoid that the second main sed command (meant for
9057 # 0-ary CPP macros) applies to n-ary macro definitions.
9058 # See the Autoconf documentation for `clear'.
9059 cat >confdef2sed.
sed <<\_ACEOF
9064 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9066 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9069 # If some macros were called several times there might be several times
9070 # the same #defines, which is useless. Nevertheless, we may not want to
9071 # sort them, since we want the *last* AC-DEFINE to be honored.
9072 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9073 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9074 rm -f confdef2sed.sed
9076 # This sed command replaces #undef with comments. This is necessary, for
9077 # example, in the case of _POSIX_SOURCE, which is predefined and required
9078 # on some systems where configure will not decide to define it.
9079 cat >>conftest.undefs <<\_ACEOF
9080 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9083 # Break up conftest.defines because some shells have a limit on the size
9084 # of here documents, and old seds have small limits too (100 cmds).
9085 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9086 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9087 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9088 echo ' :' >>$CONFIG_STATUS
9090 while grep . conftest.defines >/dev/null
9092 # Write a limited-size here document to $tmp/defines.sed.
9093 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9094 # Speed up: don't consider the non `#define' lines.
9095 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9096 # Work around the forget-to-reset-the-flag bug.
9097 echo 't clr' >>$CONFIG_STATUS
9098 echo ': clr' >>$CONFIG_STATUS
9099 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9101 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9105 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9106 rm -f conftest.defines
9107 mv conftest.
tail conftest.defines
9109 rm -f conftest.defines
9110 echo ' fi # grep' >>$CONFIG_STATUS
9111 echo >>$CONFIG_STATUS
9113 # Break up conftest.undefs because some shells have a limit on the size
9114 # of here documents, and old seds have small limits too (100 cmds).
9115 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9117 while grep . conftest.undefs
>/dev
/null
9119 # Write a limited-size here document to $tmp/undefs.sed.
9120 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9121 # Speed up: don't consider the non
`#undef'
9122 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9123 # Work around the forget-to-reset-the-flag bug.
9124 echo 't clr' >>$CONFIG_STATUS
9125 echo ': clr' >>$CONFIG_STATUS
9126 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9128 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9132 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9133 rm -f conftest.undefs
9134 mv conftest.tail conftest.undefs
9136 rm -f conftest.undefs
9138 cat >>$CONFIG_STATUS <<\_ACEOF
9139 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9140 # use $as_me), people would be surprised to read:
9141 # /* config.h. Generated by config.status. */
9142 if test x
"$ac_file" = x
-; then
9143 echo "/* Generated by configure. */" >$tmp/config.h
9145 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9147 cat $tmp/in >>$tmp/config.h
9149 if test x
"$ac_file" != x
-; then
9150 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9151 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9152 echo "$as_me: $ac_file is unchanged" >&6;}
9154 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9155 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9156 X"$ac_file" : 'X\(//\)[^/]' \| \
9157 X"$ac_file" : 'X\(//\)$' \| \
9158 X"$ac_file" : 'X\(/\)' \| \
9159 . : '\(.\)' 2>/dev/null ||
9161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9162 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9163 /^X\(\/\/\)$/{ s//\1/; q; }
9164 /^X\(\/\).*/{ s//\1/; q; }
9166 { if $as_mkdir_p; then
9171 while test ! -d "$as_dir"; do
9172 as_dirs
="$as_dir $as_dirs"
9173 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9174 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9175 X"$as_dir" : 'X\(//\)[^/]' \| \
9176 X"$as_dir" : 'X\(//\)$' \| \
9177 X"$as_dir" : 'X\(/\)' \| \
9178 . : '\(.\)' 2>/dev/null ||
9180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9181 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9182 /^X\(\/\/\)$/{ s//\1/; q; }
9183 /^X\(\/\).*/{ s//\1/; q; }
9186 test ! -n "$as_dirs" || mkdir $as_dirs
9187 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9188 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9189 { (exit 1); exit 1; }; }; }
9192 mv $tmp/config.h
$ac_file
9198 # Compute $ac_file's index in $config_headers.
9200 for _am_header
in $config_headers :; do
9202 $ac_file | $ac_file:* )
9205 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9208 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9209 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9210 X$ac_file : 'X\(//\)[^/]' \| \
9211 X$ac_file : 'X\(//\)$' \| \
9212 X$ac_file : 'X\(/\)' \| \
9213 . : '\(.\)' 2>/dev/null ||
9215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9216 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9217 /^X\(\/\/\)$/{ s//\1/; q; }
9218 /^X\(\/\).*/{ s//\1/; q; }
9219 s/.*/./; q'`/stamp
-h$_am_stamp_count
9222 cat >>$CONFIG_STATUS <<\_ACEOF
9225 # CONFIG_COMMANDS section.
9227 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9228 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9229 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9230 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9231 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9232 X"$ac_dest" : 'X\(//\)[^/]' \| \
9233 X"$ac_dest" : 'X\(//\)$' \| \
9234 X"$ac_dest" : 'X\(/\)' \| \
9235 . : '\(.\)' 2>/dev/null ||
9237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9238 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9239 /^X\(\/\/\)$/{ s//\1/; q; }
9240 /^X\(\/\).*/{ s//\1/; q; }
9242 { if $as_mkdir_p; then
9247 while test ! -d "$as_dir"; do
9248 as_dirs
="$as_dir $as_dirs"
9249 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9251 X"$as_dir" : 'X\(//\)[^/]' \| \
9252 X"$as_dir" : 'X\(//\)$' \| \
9253 X"$as_dir" : 'X\(/\)' \| \
9254 . : '\(.\)' 2>/dev/null ||
9256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9257 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9258 /^X\(\/\/\)$/{ s//\1/; q; }
9259 /^X\(\/\).*/{ s//\1/; q; }
9262 test ! -n "$as_dirs" || mkdir $as_dirs
9263 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9264 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9265 { (exit 1); exit 1; }; }; }
9269 if test "$ac_dir" != .
; then
9270 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9271 # A "../" for each directory in $ac_dir_suffix.
9272 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9274 ac_dir_suffix
= ac_top_builddir
=
9278 .
) # No --srcdir option. We are building in place.
9280 if test -z "$ac_top_builddir"; then
9283 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9285 [\\/]* | ?
:[\\/]* ) # Absolute path.
9286 ac_srcdir
=$srcdir$ac_dir_suffix;
9287 ac_top_srcdir
=$srcdir ;;
9289 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9290 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9293 # Do not use `cd foo && pwd` to compute absolute paths, because
9294 # the directories may not exist.
9296 .
) ac_abs_builddir
="$ac_dir";;
9299 .
) ac_abs_builddir
=`pwd`;;
9300 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9301 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9304 case $ac_abs_builddir in
9305 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9307 case ${ac_top_builddir}.
in
9308 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9309 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9310 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9313 case $ac_abs_builddir in
9314 .
) ac_abs_srcdir
=$ac_srcdir;;
9317 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9318 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9319 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9322 case $ac_abs_builddir in
9323 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9325 case $ac_top_srcdir in
9326 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9327 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9328 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9333 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9334 echo "$as_me: executing $ac_dest commands" >&6;}
9336 depfiles
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
9337 # Strip MF so we end up with the name of the file.
9338 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9339 # Check whether this is an Automake generated Makefile or not.
9340 # We used to match only the files named `Makefile.in', but
9341 # some people rename them; so instead we look at the file content.
9342 # Grep'ing the first line is not enough: some people post-process
9343 # each Makefile.in and add a new line on top of each file to say so.
9344 # So let's grep whole file.
9345 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
9346 dirpart
=`(dirname "$mf") 2>/dev/null ||
9347 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9348 X"$mf" : 'X\(//\)[^/]' \| \
9349 X"$mf" : 'X\(//\)$' \| \
9350 X"$mf" : 'X\(/\)' \| \
9351 . : '\(.\)' 2>/dev/null ||
9353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9354 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9355 /^X\(\/\/\)$/{ s//\1/; q; }
9356 /^X\(\/\).*/{ s//\1/; q; }
9361 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null
|| continue
9362 # Extract the definition of DEP_FILES from the Makefile without
9364 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9365 test -z "$DEPDIR" && continue
9366 # When using ansi2knr, U may be empty or an underscore; expand it
9367 U
=`sed -n 's/^U = //p' < "$mf"`
9368 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
9369 # We invoke sed twice because it is the simplest approach to
9370 # changing $(DEPDIR) to its actual value in the expansion.
9371 for file in `sed -n '
9372 /^DEP_FILES = .*\\\\$/ {
9381 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9382 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9383 # Make sure the directory exists.
9384 test -f "$dirpart/$file" && continue
9385 fdir
=`(dirname "$file") 2>/dev/null ||
9386 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9387 X"$file" : 'X\(//\)[^/]' \| \
9388 X"$file" : 'X\(//\)$' \| \
9389 X"$file" : 'X\(/\)' \| \
9390 . : '\(.\)' 2>/dev/null ||
9392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9393 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9394 /^X\(\/\/\)$/{ s//\1/; q; }
9395 /^X\(\/\).*/{ s//\1/; q; }
9397 { if $as_mkdir_p; then
9398 mkdir -p $dirpart/$fdir
9400 as_dir
=$dirpart/$fdir
9402 while test ! -d "$as_dir"; do
9403 as_dirs
="$as_dir $as_dirs"
9404 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9405 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9406 X"$as_dir" : 'X\(//\)[^/]' \| \
9407 X"$as_dir" : 'X\(//\)$' \| \
9408 X"$as_dir" : 'X\(/\)' \| \
9409 . : '\(.\)' 2>/dev/null ||
9411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9412 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9413 /^X\(\/\/\)$/{ s//\1/; q; }
9414 /^X\(\/\).*/{ s//\1/; q; }
9417 test ! -n "$as_dirs" || mkdir $as_dirs
9418 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9419 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9420 { (exit 1); exit 1; }; }; }
9422 # echo "creating $dirpart/$file"
9423 echo '# dummy' > "$dirpart/$file"
9431 cat >>$CONFIG_STATUS <<\_ACEOF
9433 { (exit 0); exit 0; }
9435 chmod +x
$CONFIG_STATUS
9436 ac_clean_files
=$ac_clean_files_save
9439 # configure is writing to config.log, and then calls config.status.
9440 # config.status does its own redirection, appending to config.log.
9441 # Unfortunately, on DOS this fails, as config.log is still kept open
9442 # by configure, so config.status won't be able to write to it; its
9443 # output is simply discarded. So we exec the FD to /dev/null,
9444 # effectively closing config.log, so it can be properly (re)opened and
9445 # appended to by config.status. When coming back to configure, we
9446 # need to make the FD available again.
9447 if test "$no_create" != yes; then
9449 ac_config_status_args
=
9450 test "$silent" = yes &&
9451 ac_config_status_args
="$ac_config_status_args --quiet"
9453 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9455 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9456 # would make configure fail if this is the last instruction.
9457 $ac_cs_success || { (exit 1); exit 1; }