2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="dhcp6c.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP YACC LEX LEXLIB LEX_OUTPUT_ROOT EGREP LIBOBJS localdbdir user group LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
836 if test -n "$ac_init_help"; then
841 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
842 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
843 --enable-pedant pedantic compilation
846 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
847 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
848 --with-localdbdir=VALUE where to put
local DB files
849 --with-user=USER
set the owner of the programs
850 --with-group=GROUP
set the group owner of the programs
852 Some influential environment variables
:
853 CC C compiler
command
854 CFLAGS C compiler flags
855 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
856 nonstandard directory
<lib dir
>
857 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
858 headers
in a nonstandard directory
<include dir
>
861 Use these variables to override the choices made by
`configure' or to help
862 it to find libraries and programs with nonstandard names/locations.
867 if test "$ac_init_help" = "recursive"; then
868 # If there are subdirs, report their specific --help.
870 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
871 test -d $ac_dir || continue
874 if test "$ac_dir" != .; then
875 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
876 # A "../" for each directory in $ac_dir_suffix.
877 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
879 ac_dir_suffix= ac_top_builddir=
883 .) # No --srcdir option. We are building in place.
885 if test -z "$ac_top_builddir"; then
888 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
890 [\\/]* | ?:[\\/]* ) # Absolute path.
891 ac_srcdir=$srcdir$ac_dir_suffix;
892 ac_top_srcdir=$srcdir ;;
894 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
895 ac_top_srcdir=$ac_top_builddir$srcdir ;;
898 # Do not use `cd foo
&& pwd` to compute absolute paths, because
899 # the directories may not exist.
901 .) ac_abs_builddir="$ac_dir";;
904 .) ac_abs_builddir=`pwd`;;
905 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
906 *) ac_abs_builddir=`pwd`/"$ac_dir";;
909 case $ac_abs_builddir in
910 .) ac_abs_top_builddir=${ac_top_builddir}.;;
912 case ${ac_top_builddir}. in
913 .) ac_abs_top_builddir=$ac_abs_builddir;;
914 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
915 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
918 case $ac_abs_builddir in
919 .) ac_abs_srcdir=$ac_srcdir;;
922 .) ac_abs_srcdir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
924 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
927 case $ac_abs_builddir in
928 .) ac_abs_top_srcdir=$ac_top_srcdir;;
930 case $ac_top_srcdir in
931 .) ac_abs_top_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
933 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
938 # Check for guested configure; otherwise get Cygnus style configure.
939 if test -f $ac_srcdir/configure.gnu; then
941 $SHELL $ac_srcdir/configure.gnu --help=recursive
942 elif test -f $ac_srcdir/configure; then
944 $SHELL $ac_srcdir/configure --help=recursive
945 elif test -f $ac_srcdir/configure.ac ||
946 test -f $ac_srcdir/configure.in; then
950 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
956 test -n "$ac_init_help" && exit 0
957 if $ac_init_version; then
960 Copyright (C) 2003 Free Software Foundation, Inc.
961 This configure script is free software; the Free Software Foundation
962 gives unlimited permission to copy, distribute and modify it.
968 This file contains any messages produced by compilers while
969 running configure, to aid debugging if configure makes a mistake.
971 It was created by $as_me, which was
972 generated by GNU Autoconf 2.59. Invocation command line was
983 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
984 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
985 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
986 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
987 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
989 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
990 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
992 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
993 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
994 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
995 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
996 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
997 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
998 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1006 test -z "$as_dir" && as_dir=.
1007 echo "PATH: $as_dir"
1022 # Keep a trace of the command line.
1023 # Strip out --no-create and --no-recursion so they do not pile up.
1024 # Strip out --silent because we don't want to record it for future runs.
1025 # Also quote any args containing shell meta-characters.
1026 # Make two passes to allow for proper duplicate-argument suppression.
1031 ac_must_keep_next=false
1037 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1039 | -silent | --silent | --silen | --sile | --sil)
1041 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1042 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1045 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1047 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1048 if test $ac_must_keep_next = true; then
1049 ac_must_keep_next=false # Got value, back to normal.
1052 *=* | --config-cache | -C | -disable-* | --disable-* \
1053 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1054 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1055 | -with-* | --with-* | -without-* | --without-* | --x)
1056 case "$ac_configure_args0 " in
1057 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1060 -* ) ac_must_keep_next=true ;;
1063 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1064 # Get rid of the leading space.
1070 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1071 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1073 # When interrupted or exit'd, cleanup temporary files, and complete
1074 # config.log. We remove comments because anyway the quotes in there
1075 # would cause problems or look ugly.
1076 # WARNING: Be sure not to use single quotes in there, as some shells,
1077 # such as our DU 5.0 friend, will then `close
' the trap.
1078 trap 'exit_status
=$?
1079 # Save into config.log some information that might help in debugging.
1084 ## ---------------- ##
1085 ## Cache variables. ##
1086 ## ---------------- ##
1089 # The following way of writing the cache mishandles newlines in values,
1092 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1095 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1100 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1107 ## ----------------- ##
1108 ## Output variables. ##
1109 ## ----------------- ##
1112 for ac_var
in $ac_subst_vars
1114 eval ac_val
=$
`echo $ac_var`
1115 echo "$ac_var='"'"'$ac_val'"'"'"
1119 if test -n "$ac_subst_files"; then
1126 for ac_var
in $ac_subst_files
1128 eval ac_val
=$
`echo $ac_var`
1129 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -s confdefs.h
; then
1141 sed "/^$/d" confdefs.h |
sort
1144 test "$ac_signal" != 0 &&
1145 echo "$as_me: caught signal $ac_signal"
1146 echo "$as_me: exit $exit_status"
1148 rm -f core
*.core
&&
1149 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1152 for ac_signal in 1 2 13 15; do
1153 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1157 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1158 rm -rf conftest* confdefs.h
1159 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1162 # Predefined preprocessor variables.
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_NAME "$PACKAGE_NAME"
1169 cat >>confdefs.h <<_ACEOF
1170 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_STRING "$PACKAGE_STRING"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1189 # Let the site file select an alternate cache file if it wants to.
1190 # Prefer explicitly selected file to automatically selected ones.
1191 if test -z "$CONFIG_SITE"; then
1192 if test "x$prefix" != xNONE; then
1193 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1195 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1198 for ac_site_file in $CONFIG_SITE; do
1199 if test -r "$ac_site_file"; then
1200 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1201 echo "$as_me: loading site script $ac_site_file" >&6;}
1202 sed 's
/^
/|
/' "$ac_site_file" >&5
1207 if test -r "$cache_file"; then
1208 # Some versions of bash will fail to source /dev/null (special
1209 # files actually), so we avoid doing that.
1210 if test -f "$cache_file"; then
1211 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1212 echo "$as_me: loading cache $cache_file" >&6;}
1214 [\\/]* | ?:[\\/]* ) . $cache_file;;
1215 *) . ./$cache_file;;
1219 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1220 echo "$as_me: creating cache $cache_file" >&6;}
1224 # Check that the precious variables saved in the cache have kept the same
1226 ac_cache_corrupted=false
1227 for ac_var in `(set) 2>&1 |
1228 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1229 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1230 eval ac_new_set=\$ac_env_${ac_var}_set
1231 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1232 eval ac_new_val="\$ac_env_${ac_var}_value"
1233 case $ac_old_set,$ac_new_set in
1235 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1236 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1237 ac_cache_corrupted=: ;;
1239 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1240 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1241 ac_cache_corrupted=: ;;
1244 if test "x$ac_old_val" != "x$ac_new_val"; then
1245 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1246 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1247 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1248 echo "$as_me: former value: $ac_old_val" >&2;}
1249 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1250 echo "$as_me: current value: $ac_new_val" >&2;}
1251 ac_cache_corrupted=:
1254 # Pass precious variables to config.status.
1255 if test "$ac_new_set" = set; then
1257 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1258 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1259 *) ac_arg=$ac_var=$ac_new_val ;;
1261 case " $ac_configure_args " in
1262 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1263 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1267 if $ac_cache_corrupted; then
1268 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1269 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1270 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1271 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1272 { (exit 1); exit 1; }; }
1276 ac_cpp='$CPP $CPPFLAGS'
1277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1278 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1301 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1302 if test -f $ac_dir/install-sh; then
1304 ac_install_sh="$ac_aux_dir/install-sh -c"
1306 elif test -f $ac_dir/install.sh; then
1308 ac_install_sh="$ac_aux_dir/install.sh -c"
1310 elif test -f $ac_dir/shtool; then
1312 ac_install_sh="$ac_aux_dir/shtool install -c"
1316 if test -z "$ac_aux_dir"; then
1317 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1318 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1319 { (exit 1); exit 1; }; }
1321 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1322 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1323 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1325 # Find a good install program. We prefer a C program (faster),
1326 # so one script is as good as another. But avoid the broken or
1327 # incompatible versions:
1328 # SysV /etc/install, /usr/sbin/install
1329 # SunOS /usr/etc/install
1330 # IRIX /sbin/install
1332 # AmigaOS /C/install, which installs bootblocks on floppy discs
1333 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1334 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1335 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1336 # OS/2's system install, which has a completely different semantic
1337 # ./install, which can be erroneously created by make from ./install.sh.
1338 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1339 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1340 if test -z "$INSTALL"; then
1341 if test "${ac_cv_path_install+set}" = set; then
1342 echo $ECHO_N "(cached) $ECHO_C" >&6
1344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1348 test -z "$as_dir" && as_dir
=.
1349 # Account for people who put trailing slashes in PATH elements.
1351 .
/ | .
// |
/cC
/* | \
1352 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1353 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1356 # OSF1 and SCO ODT 3.0 have their own names for install.
1357 # Don't use installbsd from OSF since it installs stuff as root
1359 for ac_prog
in ginstall scoinst
install; do
1360 for ac_exec_ext
in '' $ac_executable_extensions; do
1361 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1362 if test $ac_prog = install &&
1363 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1364 # AIX install. It has an incompatible calling convention.
1366 elif test $ac_prog = install &&
1367 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1368 # program-specific install script used by HP pwplus--don't use.
1371 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1383 if test "${ac_cv_path_install+set}" = set; then
1384 INSTALL
=$ac_cv_path_install
1386 # As a last resort, use the slow shell script. We don't cache a
1387 # path for INSTALL within a source directory, because that will
1388 # break other packages using the cache if that directory is
1389 # removed, or if the path is relative.
1390 INSTALL
=$ac_install_sh
1393 echo "$as_me:$LINENO: result: $INSTALL" >&5
1394 echo "${ECHO_T}$INSTALL" >&6
1396 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1397 # It thinks the first close brace ends the variable substitution.
1398 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1400 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1402 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1404 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1405 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1406 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1407 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1410 cat >conftest.
make <<\_ACEOF
1412 @
echo 'ac_maketemp="$(MAKE)"'
1414 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1415 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1416 if test -n "$ac_maketemp"; then
1417 eval ac_cv_prog_make_
${ac_make}_set
=yes
1419 eval ac_cv_prog_make_
${ac_make}_set
=no
1423 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1424 echo "$as_me:$LINENO: result: yes" >&5
1425 echo "${ECHO_T}yes" >&6
1428 echo "$as_me:$LINENO: result: no" >&5
1429 echo "${ECHO_T}no" >&6
1430 SET_MAKE
="MAKE=${MAKE-make}"
1434 ac_cpp
='$CPP $CPPFLAGS'
1435 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1436 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1437 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1438 if test -n "$ac_tool_prefix"; then
1439 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1440 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1441 echo "$as_me:$LINENO: checking for $ac_word" >&5
1442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1443 if test "${ac_cv_prog_CC+set}" = set; then
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
1446 if test -n "$CC"; then
1447 ac_cv_prog_CC
="$CC" # Let the user override the test.
1449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1453 test -z "$as_dir" && as_dir
=.
1454 for ac_exec_ext
in '' $ac_executable_extensions; do
1455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1456 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1466 if test -n "$CC"; then
1467 echo "$as_me:$LINENO: result: $CC" >&5
1468 echo "${ECHO_T}$CC" >&6
1470 echo "$as_me:$LINENO: result: no" >&5
1471 echo "${ECHO_T}no" >&6
1475 if test -z "$ac_cv_prog_CC"; then
1477 # Extract the first word of "gcc", so it can be a program name with args.
1478 set dummy gcc
; ac_word
=$2
1479 echo "$as_me:$LINENO: checking for $ac_word" >&5
1480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1481 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1482 echo $ECHO_N "(cached) $ECHO_C" >&6
1484 if test -n "$ac_ct_CC"; then
1485 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1491 test -z "$as_dir" && as_dir
=.
1492 for ac_exec_ext
in '' $ac_executable_extensions; do
1493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1494 ac_cv_prog_ac_ct_CC
="gcc"
1495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1503 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1504 if test -n "$ac_ct_CC"; then
1505 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1506 echo "${ECHO_T}$ac_ct_CC" >&6
1508 echo "$as_me:$LINENO: result: no" >&5
1509 echo "${ECHO_T}no" >&6
1517 if test -z "$CC"; then
1518 if test -n "$ac_tool_prefix"; then
1519 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1520 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1521 echo "$as_me:$LINENO: checking for $ac_word" >&5
1522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1523 if test "${ac_cv_prog_CC+set}" = set; then
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
1526 if test -n "$CC"; then
1527 ac_cv_prog_CC
="$CC" # Let the user override the test.
1529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1533 test -z "$as_dir" && as_dir
=.
1534 for ac_exec_ext
in '' $ac_executable_extensions; do
1535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1536 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1546 if test -n "$CC"; then
1547 echo "$as_me:$LINENO: result: $CC" >&5
1548 echo "${ECHO_T}$CC" >&6
1550 echo "$as_me:$LINENO: result: no" >&5
1551 echo "${ECHO_T}no" >&6
1555 if test -z "$ac_cv_prog_CC"; then
1557 # Extract the first word of "cc", so it can be a program name with args.
1558 set dummy cc
; ac_word
=$2
1559 echo "$as_me:$LINENO: checking for $ac_word" >&5
1560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1561 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 if test -n "$ac_ct_CC"; then
1565 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1571 test -z "$as_dir" && as_dir
=.
1572 for ac_exec_ext
in '' $ac_executable_extensions; do
1573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1574 ac_cv_prog_ac_ct_CC
="cc"
1575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1583 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1584 if test -n "$ac_ct_CC"; then
1585 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1586 echo "${ECHO_T}$ac_ct_CC" >&6
1588 echo "$as_me:$LINENO: result: no" >&5
1589 echo "${ECHO_T}no" >&6
1598 if test -z "$CC"; then
1599 # Extract the first word of "cc", so it can be a program name with args.
1600 set dummy cc
; ac_word
=$2
1601 echo "$as_me:$LINENO: checking for $ac_word" >&5
1602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1603 if test "${ac_cv_prog_CC+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 if test -n "$CC"; then
1607 ac_cv_prog_CC
="$CC" # Let the user override the test.
1610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1614 test -z "$as_dir" && as_dir
=.
1615 for ac_exec_ext
in '' $ac_executable_extensions; do
1616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1617 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1618 ac_prog_rejected
=yes
1622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1628 if test $ac_prog_rejected = yes; then
1629 # We found a bogon in the path, so make sure we never use it.
1630 set dummy
$ac_cv_prog_CC
1632 if test $# != 0; then
1633 # We chose a different compiler from the bogus one.
1634 # However, it has the same basename, so the bogon will be chosen
1635 # first if we set CC to just the basename; use the full file name.
1637 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1643 if test -n "$CC"; then
1644 echo "$as_me:$LINENO: result: $CC" >&5
1645 echo "${ECHO_T}$CC" >&6
1647 echo "$as_me:$LINENO: result: no" >&5
1648 echo "${ECHO_T}no" >&6
1652 if test -z "$CC"; then
1653 if test -n "$ac_tool_prefix"; then
1656 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1657 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1658 echo "$as_me:$LINENO: checking for $ac_word" >&5
1659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1660 if test "${ac_cv_prog_CC+set}" = set; then
1661 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 if test -n "$CC"; then
1664 ac_cv_prog_CC
="$CC" # Let the user override the test.
1666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1670 test -z "$as_dir" && as_dir
=.
1671 for ac_exec_ext
in '' $ac_executable_extensions; do
1672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1673 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683 if test -n "$CC"; then
1684 echo "$as_me:$LINENO: result: $CC" >&5
1685 echo "${ECHO_T}$CC" >&6
1687 echo "$as_me:$LINENO: result: no" >&5
1688 echo "${ECHO_T}no" >&6
1691 test -n "$CC" && break
1694 if test -z "$CC"; then
1698 # Extract the first word of "$ac_prog", so it can be a program name with args.
1699 set dummy
$ac_prog; ac_word
=$2
1700 echo "$as_me:$LINENO: checking for $ac_word" >&5
1701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1702 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1703 echo $ECHO_N "(cached) $ECHO_C" >&6
1705 if test -n "$ac_ct_CC"; then
1706 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1712 test -z "$as_dir" && as_dir
=.
1713 for ac_exec_ext
in '' $ac_executable_extensions; do
1714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1715 ac_cv_prog_ac_ct_CC
="$ac_prog"
1716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1724 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1725 if test -n "$ac_ct_CC"; then
1726 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1727 echo "${ECHO_T}$ac_ct_CC" >&6
1729 echo "$as_me:$LINENO: result: no" >&5
1730 echo "${ECHO_T}no" >&6
1733 test -n "$ac_ct_CC" && break
1742 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1743 See \`config.log' for more details." >&5
1744 echo "$as_me: error: no acceptable C compiler found in \$PATH
1745 See \`config.log' for more details." >&2;}
1746 { (exit 1); exit 1; }; }
1748 # Provide some information about the compiler.
1749 echo "$as_me:$LINENO:" \
1750 "checking for C compiler version" >&5
1751 ac_compiler
=`set X $ac_compile; echo $2`
1752 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1753 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1756 (exit $ac_status); }
1757 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1758 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }
1762 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1763 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1766 (exit $ac_status); }
1768 cat >conftest.
$ac_ext <<_ACEOF
1771 cat confdefs.h
>>conftest.
$ac_ext
1772 cat >>conftest.
$ac_ext <<_ACEOF
1773 /* end confdefs.h. */
1783 ac_clean_files_save
=$ac_clean_files
1784 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1785 # Try to create an executable without -o first, disregard a.out.
1786 # It will help us diagnose broken compilers, and finding out an intuition
1788 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1789 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1790 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1791 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1792 (eval $ac_link_default) 2>&5
1794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1795 (exit $ac_status); }; then
1796 # Find the output, starting from the most likely. This scheme is
1797 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1800 # Be careful to initialize this variable, since it used to be cached.
1801 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1803 # b.out is created by i960 compilers.
1804 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1806 test -f "$ac_file" ||
continue
1808 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1811 # This is the source file.
1814 # We found the default executable, but exeext='' is most
1818 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1819 # FIXME: I believe we export ac_cv_exeext for Libtool,
1820 # but it would be cool to find out if it's true. Does anybody
1821 # maintain Libtool? --akim.
1829 echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.
$ac_ext >&5
1832 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1833 See \`config.log' for more details." >&5
1834 echo "$as_me: error: C compiler cannot create executables
1835 See \`config.log' for more details." >&2;}
1836 { (exit 77); exit 77; }; }
1839 ac_exeext
=$ac_cv_exeext
1840 echo "$as_me:$LINENO: result: $ac_file" >&5
1841 echo "${ECHO_T}$ac_file" >&6
1843 # Check the compiler produces executables we can run. If not, either
1844 # the compiler is broken, or we cross compile.
1845 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1846 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1847 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1848 # If not cross compiling, check that we can run a simple program.
1849 if test "$cross_compiling" != yes; then
1850 if { ac_try
='./$ac_file'
1851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1855 (exit $ac_status); }; }; then
1858 if test "$cross_compiling" = maybe
; then
1861 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1862 If you meant to cross compile, use \`--host'.
1863 See \`config.log' for more details." >&5
1864 echo "$as_me: error: cannot run C compiled programs.
1865 If you meant to cross compile, use \`--host'.
1866 See \`config.log' for more details." >&2;}
1867 { (exit 1); exit 1; }; }
1871 echo "$as_me:$LINENO: result: yes" >&5
1872 echo "${ECHO_T}yes" >&6
1874 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1875 ac_clean_files
=$ac_clean_files_save
1876 # Check the compiler produces executables we can run. If not, either
1877 # the compiler is broken, or we cross compile.
1878 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1879 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1880 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1881 echo "${ECHO_T}$cross_compiling" >&6
1883 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1884 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1886 (eval $ac_link) 2>&5
1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889 (exit $ac_status); }; then
1890 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1891 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1892 # work properly (i.e., refer to `conftest.exe'), while it won't with
1894 for ac_file
in conftest.exe conftest conftest.
*; do
1895 test -f "$ac_file" ||
continue
1897 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1898 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1905 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1906 See \`config.log' for more details." >&5
1907 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1908 See \`config.log' for more details." >&2;}
1909 { (exit 1); exit 1; }; }
1912 rm -f conftest
$ac_cv_exeext
1913 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1914 echo "${ECHO_T}$ac_cv_exeext" >&6
1916 rm -f conftest.
$ac_ext
1917 EXEEXT
=$ac_cv_exeext
1919 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1920 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1921 if test "${ac_cv_objext+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 cat >conftest.
$ac_ext <<_ACEOF
1927 cat confdefs.h
>>conftest.
$ac_ext
1928 cat >>conftest.
$ac_ext <<_ACEOF
1929 /* end confdefs.h. */
1939 rm -f conftest.o conftest.obj
1940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1941 (eval $ac_compile) 2>&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }; then
1945 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1947 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1948 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1953 echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.
$ac_ext >&5
1956 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1957 See \`config.log' for more details." >&5
1958 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1959 See \`config.log' for more details." >&2;}
1960 { (exit 1); exit 1; }; }
1963 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1965 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1966 echo "${ECHO_T}$ac_cv_objext" >&6
1967 OBJEXT
=$ac_cv_objext
1969 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1970 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1971 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 cat >conftest.
$ac_ext <<_ACEOF
1977 cat confdefs.h
>>conftest.
$ac_ext
1978 cat >>conftest.
$ac_ext <<_ACEOF
1979 /* end confdefs.h. */
1992 rm -f conftest.
$ac_objext
1993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1994 (eval $ac_compile) 2>conftest.er1
1996 grep -v '^ *+' conftest.er1
>conftest.err
1998 cat conftest.err
>&5
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); } &&
2001 { ac_try
='test -z "$ac_c_werror_flag"
2002 || test ! -s conftest.err'
2003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; } &&
2008 { ac_try
='test -s conftest.$ac_objext'
2009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }; }; then
2016 echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.
$ac_ext >&5
2021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2022 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2025 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2026 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2027 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2028 ac_test_CFLAGS
=${CFLAGS+set}
2029 ac_save_CFLAGS
=$CFLAGS
2031 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2032 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2033 if test "${ac_cv_prog_cc_g+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 cat >conftest.
$ac_ext <<_ACEOF
2039 cat confdefs.h
>>conftest.
$ac_ext
2040 cat >>conftest.
$ac_ext <<_ACEOF
2041 /* end confdefs.h. */
2051 rm -f conftest.
$ac_objext
2052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2053 (eval $ac_compile) 2>conftest.er1
2055 grep -v '^ *+' conftest.er1
>conftest.err
2057 cat conftest.err
>&5
2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059 (exit $ac_status); } &&
2060 { ac_try
='test -z "$ac_c_werror_flag"
2061 || test ! -s conftest.err'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; } &&
2067 { ac_try
='test -s conftest.$ac_objext'
2068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072 (exit $ac_status); }; }; then
2075 echo "$as_me: failed program was:" >&5
2076 sed 's/^/| /' conftest.
$ac_ext >&5
2080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2082 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2083 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2084 if test "$ac_test_CFLAGS" = set; then
2085 CFLAGS
=$ac_save_CFLAGS
2086 elif test $ac_cv_prog_cc_g = yes; then
2087 if test "$GCC" = yes; then
2093 if test "$GCC" = yes; then
2099 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2100 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2101 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2104 ac_cv_prog_cc_stdc
=no
2106 cat >conftest.
$ac_ext <<_ACEOF
2109 cat confdefs.h
>>conftest.
$ac_ext
2110 cat >>conftest.
$ac_ext <<_ACEOF
2111 /* end confdefs.h. */
2114 #include <sys/types.h>
2115 #include <sys/stat.h>
2116 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2117 struct buf { int x; };
2118 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2119 static char *e (p, i)
2125 static char *f (char * (*g) (char **, int), char **p, ...)
2130 s = g (p, va_arg (v,int));
2135 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2136 function prototypes and stuff, but not '\xHH' hex character constants.
2137 These don't provoke an error unfortunately, instead are silently treated
2138 as 'x'. The following induces an error, until -std1 is added to get
2139 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2140 array size at least. It's necessary to write '\x00'==0 to get something
2141 that's true only with -std1. */
2142 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2144 int test (int i, double x);
2145 struct s1 {int (*f) (int a);};
2146 struct s2 {int (*f) (double a);};
2147 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2153 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2158 # Don't try gcc -ansi; that turns off useful extensions and
2159 # breaks some systems' header files.
2160 # AIX -qlanglvl=ansi
2161 # Ultrix and OSF/1 -std1
2162 # HP-UX 10.20 and later -Ae
2163 # HP-UX older versions -Aa -D_HPUX_SOURCE
2164 # SVR4 -Xc -D__EXTENSIONS__
2165 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2167 CC
="$ac_save_CC $ac_arg"
2168 rm -f conftest.
$ac_objext
2169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2170 (eval $ac_compile) 2>conftest.er1
2172 grep -v '^ *+' conftest.er1
>conftest.err
2174 cat conftest.err
>&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); } &&
2177 { ac_try
='test -z "$ac_c_werror_flag"
2178 || test ! -s conftest.err'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; } &&
2184 { ac_try
='test -s conftest.$ac_objext'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; }; then
2190 ac_cv_prog_cc_stdc
=$ac_arg
2193 echo "$as_me: failed program was:" >&5
2194 sed 's/^/| /' conftest.
$ac_ext >&5
2197 rm -f conftest.err conftest.
$ac_objext
2199 rm -f conftest.
$ac_ext conftest.
$ac_objext
2204 case "x$ac_cv_prog_cc_stdc" in
2206 echo "$as_me:$LINENO: result: none needed" >&5
2207 echo "${ECHO_T}none needed" >&6 ;;
2209 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2210 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2211 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2214 # Some people use a C++ compiler to compile C. Since we use `exit',
2215 # in C++ we need to declare it. In case someone uses the same compiler
2216 # for both compiling C and C++ we need to have the C++ compiler decide
2217 # the declaration of exit, since it's the most demanding environment.
2218 cat >conftest.
$ac_ext <<_ACEOF
2223 rm -f conftest.
$ac_objext
2224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225 (eval $ac_compile) 2>conftest.er1
2227 grep -v '^ *+' conftest.er1
>conftest.err
2229 cat conftest.err
>&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); } &&
2232 { ac_try
='test -z "$ac_c_werror_flag"
2233 || test ! -s conftest.err'
2234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); }; } &&
2239 { ac_try
='test -s conftest.$ac_objext'
2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }; }; then
2245 for ac_declaration
in \
2247 'extern "C" void std::exit (int) throw (); using std::exit;' \
2248 'extern "C" void std::exit (int); using std::exit;' \
2249 'extern "C" void exit (int) throw ();' \
2250 'extern "C" void exit (int);' \
2253 cat >conftest.
$ac_ext <<_ACEOF
2256 cat confdefs.h
>>conftest.
$ac_ext
2257 cat >>conftest.
$ac_ext <<_ACEOF
2258 /* end confdefs.h. */
2269 rm -f conftest.
$ac_objext
2270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271 (eval $ac_compile) 2>conftest.er1
2273 grep -v '^ *+' conftest.er1
>conftest.err
2275 cat conftest.err
>&5
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); } &&
2278 { ac_try
='test -z "$ac_c_werror_flag"
2279 || test ! -s conftest.err'
2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; } &&
2285 { ac_try
='test -s conftest.$ac_objext'
2286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290 (exit $ac_status); }; }; then
2293 echo "$as_me: failed program was:" >&5
2294 sed 's/^/| /' conftest.
$ac_ext >&5
2298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2299 cat >conftest.
$ac_ext <<_ACEOF
2302 cat confdefs.h
>>conftest.
$ac_ext
2303 cat >>conftest.
$ac_ext <<_ACEOF
2304 /* end confdefs.h. */
2314 rm -f conftest.
$ac_objext
2315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2316 (eval $ac_compile) 2>conftest.er1
2318 grep -v '^ *+' conftest.er1
>conftest.err
2320 cat conftest.err
>&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); } &&
2323 { ac_try
='test -z "$ac_c_werror_flag"
2324 || test ! -s conftest.err'
2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }; } &&
2330 { ac_try
='test -s conftest.$ac_objext'
2331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }; }; then
2338 echo "$as_me: failed program was:" >&5
2339 sed 's/^/| /' conftest.
$ac_ext >&5
2342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2345 if test -n "$ac_declaration"; then
2346 echo '#ifdef __cplusplus' >>confdefs.h
2347 echo $ac_declaration >>confdefs.h
2348 echo '#endif' >>confdefs.h
2352 echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.
$ac_ext >&5
2356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2358 ac_cpp
='$CPP $CPPFLAGS'
2359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2364 ac_cpp
='$CPP $CPPFLAGS'
2365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2368 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2369 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2370 # On Suns, sometimes $CPP names a directory.
2371 if test -n "$CPP" && test -d "$CPP"; then
2374 if test -z "$CPP"; then
2375 if test "${ac_cv_prog_CPP+set}" = set; then
2376 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 # Double quotes because CPP needs to be expanded
2379 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2382 for ac_c_preproc_warn_flag
in '' yes
2384 # Use a header file that comes with gcc, so configuring glibc
2385 # with a fresh cross-compiler works.
2386 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2387 # <limits.h> exists even on freestanding compilers.
2388 # On the NeXT, cc -E runs the code through the compiler's parser,
2389 # not just through cpp. "Syntax error" is here to catch this case.
2390 cat >conftest.
$ac_ext <<_ACEOF
2393 cat confdefs.h
>>conftest.
$ac_ext
2394 cat >>conftest.
$ac_ext <<_ACEOF
2395 /* end confdefs.h. */
2397 # include <limits.h>
2399 # include <assert.h>
2403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2404 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2406 grep -v '^ *+' conftest.er1
>conftest.err
2408 cat conftest.err
>&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); } >/dev
/null
; then
2411 if test -s conftest.err
; then
2412 ac_cpp_err
=$ac_c_preproc_warn_flag
2413 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2420 if test -z "$ac_cpp_err"; then
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.
$ac_ext >&5
2426 # Broken: fails on valid input.
2429 rm -f conftest.err conftest.
$ac_ext
2431 # OK, works on sane cases. Now check whether non-existent headers
2432 # can be detected and how.
2433 cat >conftest.
$ac_ext <<_ACEOF
2436 cat confdefs.h
>>conftest.
$ac_ext
2437 cat >>conftest.
$ac_ext <<_ACEOF
2438 /* end confdefs.h. */
2439 #include <ac_nonexistent.h>
2441 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2442 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2444 grep -v '^ *+' conftest.er1
>conftest.err
2446 cat conftest.err
>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); } >/dev
/null
; then
2449 if test -s conftest.err
; then
2450 ac_cpp_err
=$ac_c_preproc_warn_flag
2451 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2458 if test -z "$ac_cpp_err"; then
2459 # Broken: success on invalid input.
2462 echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.
$ac_ext >&5
2465 # Passes both tests.
2469 rm -f conftest.err conftest.
$ac_ext
2472 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2473 rm -f conftest.err conftest.
$ac_ext
2474 if $ac_preproc_ok; then
2486 echo "$as_me:$LINENO: result: $CPP" >&5
2487 echo "${ECHO_T}$CPP" >&6
2489 for ac_c_preproc_warn_flag
in '' yes
2491 # Use a header file that comes with gcc, so configuring glibc
2492 # with a fresh cross-compiler works.
2493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2494 # <limits.h> exists even on freestanding compilers.
2495 # On the NeXT, cc -E runs the code through the compiler's parser,
2496 # not just through cpp. "Syntax error" is here to catch this case.
2497 cat >conftest.
$ac_ext <<_ACEOF
2500 cat confdefs.h
>>conftest.
$ac_ext
2501 cat >>conftest.
$ac_ext <<_ACEOF
2502 /* end confdefs.h. */
2504 # include <limits.h>
2506 # include <assert.h>
2510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2513 grep -v '^ *+' conftest.er1
>conftest.err
2515 cat conftest.err
>&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); } >/dev
/null
; then
2518 if test -s conftest.err
; then
2519 ac_cpp_err
=$ac_c_preproc_warn_flag
2520 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2527 if test -z "$ac_cpp_err"; then
2530 echo "$as_me: failed program was:" >&5
2531 sed 's/^/| /' conftest.
$ac_ext >&5
2533 # Broken: fails on valid input.
2536 rm -f conftest.err conftest.
$ac_ext
2538 # OK, works on sane cases. Now check whether non-existent headers
2539 # can be detected and how.
2540 cat >conftest.
$ac_ext <<_ACEOF
2543 cat confdefs.h
>>conftest.
$ac_ext
2544 cat >>conftest.
$ac_ext <<_ACEOF
2545 /* end confdefs.h. */
2546 #include <ac_nonexistent.h>
2548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2551 grep -v '^ *+' conftest.er1
>conftest.err
2553 cat conftest.err
>&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); } >/dev
/null
; then
2556 if test -s conftest.err
; then
2557 ac_cpp_err
=$ac_c_preproc_warn_flag
2558 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2565 if test -z "$ac_cpp_err"; then
2566 # Broken: success on invalid input.
2569 echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.
$ac_ext >&5
2572 # Passes both tests.
2576 rm -f conftest.err conftest.
$ac_ext
2579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2580 rm -f conftest.err conftest.
$ac_ext
2581 if $ac_preproc_ok; then
2584 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2585 See \`config.log' for more details." >&5
2586 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2587 See \`config.log' for more details." >&2;}
2588 { (exit 1); exit 1; }; }
2592 ac_cpp
='$CPP $CPPFLAGS'
2593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2597 for ac_prog
in 'bison -y' byacc
2599 # Extract the first word of "$ac_prog", so it can be a program name with args.
2600 set dummy
$ac_prog; ac_word
=$2
2601 echo "$as_me:$LINENO: checking for $ac_word" >&5
2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2603 if test "${ac_cv_prog_YACC+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 if test -n "$YACC"; then
2607 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
2609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2613 test -z "$as_dir" && as_dir
=.
2614 for ac_exec_ext
in '' $ac_executable_extensions; do
2615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2616 ac_cv_prog_YACC
="$ac_prog"
2617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 YACC
=$ac_cv_prog_YACC
2626 if test -n "$YACC"; then
2627 echo "$as_me:$LINENO: result: $YACC" >&5
2628 echo "${ECHO_T}$YACC" >&6
2630 echo "$as_me:$LINENO: result: no" >&5
2631 echo "${ECHO_T}no" >&6
2634 test -n "$YACC" && break
2636 test -n "$YACC" || YACC
="yacc"
2639 for ac_prog
in flex
lex
2641 # Extract the first word of "$ac_prog", so it can be a program name with args.
2642 set dummy
$ac_prog; ac_word
=$2
2643 echo "$as_me:$LINENO: checking for $ac_word" >&5
2644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2645 if test "${ac_cv_prog_LEX+set}" = set; then
2646 echo $ECHO_N "(cached) $ECHO_C" >&6
2648 if test -n "$LEX"; then
2649 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
2651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir
=.
2656 for ac_exec_ext
in '' $ac_executable_extensions; do
2657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2658 ac_cv_prog_LEX
="$ac_prog"
2659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 if test -n "$LEX"; then
2669 echo "$as_me:$LINENO: result: $LEX" >&5
2670 echo "${ECHO_T}$LEX" >&6
2672 echo "$as_me:$LINENO: result: no" >&5
2673 echo "${ECHO_T}no" >&6
2676 test -n "$LEX" && break
2678 test -n "$LEX" || LEX
=":"
2680 if test -z "$LEXLIB"
2682 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
2683 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
2684 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 ac_check_lib_save_LIBS
=$LIBS
2689 cat >conftest.
$ac_ext <<_ACEOF
2692 cat confdefs.h
>>conftest.
$ac_ext
2693 cat >>conftest.
$ac_ext <<_ACEOF
2694 /* end confdefs.h. */
2696 /* Override any gcc2 internal prototype to avoid an error. */
2700 /* We use char because int might match the return type of a gcc2
2701 builtin and then its argument prototype would still apply. */
2711 rm -f conftest.
$ac_objext conftest
$ac_exeext
2712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2713 (eval $ac_link) 2>conftest.er1
2715 grep -v '^ *+' conftest.er1
>conftest.err
2717 cat conftest.err
>&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); } &&
2720 { ac_try
='test -z "$ac_c_werror_flag"
2721 || test ! -s conftest.err'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; } &&
2727 { ac_try
='test -s conftest$ac_exeext'
2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; }; then
2733 ac_cv_lib_fl_yywrap
=yes
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.
$ac_ext >&5
2738 ac_cv_lib_fl_yywrap
=no
2740 rm -f conftest.err conftest.
$ac_objext \
2741 conftest
$ac_exeext conftest.
$ac_ext
2742 LIBS
=$ac_check_lib_save_LIBS
2744 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
2745 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
2746 if test $ac_cv_lib_fl_yywrap = yes; then
2749 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
2750 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
2751 if test "${ac_cv_lib_l_yywrap+set}" = set; then
2752 echo $ECHO_N "(cached) $ECHO_C" >&6
2754 ac_check_lib_save_LIBS
=$LIBS
2756 cat >conftest.
$ac_ext <<_ACEOF
2759 cat confdefs.h
>>conftest.
$ac_ext
2760 cat >>conftest.
$ac_ext <<_ACEOF
2761 /* end confdefs.h. */
2763 /* Override any gcc2 internal prototype to avoid an error. */
2767 /* We use char because int might match the return type of a gcc2
2768 builtin and then its argument prototype would still apply. */
2778 rm -f conftest.
$ac_objext conftest
$ac_exeext
2779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2780 (eval $ac_link) 2>conftest.er1
2782 grep -v '^ *+' conftest.er1
>conftest.err
2784 cat conftest.err
>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } &&
2787 { ac_try
='test -z "$ac_c_werror_flag"
2788 || test ! -s conftest.err'
2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; } &&
2794 { ac_try
='test -s conftest$ac_exeext'
2795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }; }; then
2800 ac_cv_lib_l_yywrap
=yes
2802 echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.
$ac_ext >&5
2805 ac_cv_lib_l_yywrap
=no
2807 rm -f conftest.err conftest.
$ac_objext \
2808 conftest
$ac_exeext conftest.
$ac_ext
2809 LIBS
=$ac_check_lib_save_LIBS
2811 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
2812 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
2813 if test $ac_cv_lib_l_yywrap = yes; then
2821 if test "x$LEX" != "x:"; then
2822 echo "$as_me:$LINENO: checking lex output file root" >&5
2823 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
2824 if test "${ac_cv_prog_lex_root+set}" = set; then
2825 echo $ECHO_N "(cached) $ECHO_C" >&6
2827 # The minimal lex program is just a single line: %%. But some broken lexes
2828 # (Solaris, I think it was) want two %% lines, so accommodate them.
2829 cat >conftest.l
<<_ACEOF
2833 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
2834 (eval $LEX conftest.l
) 2>&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }
2838 if test -f lex.yy.c
; then
2839 ac_cv_prog_lex_root
=lex.yy
2840 elif test -f lexyy.c
; then
2841 ac_cv_prog_lex_root
=lexyy
2843 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
2844 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
2845 { (exit 1); exit 1; }; }
2848 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
2849 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
2851 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
2853 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
2854 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
2855 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
2856 echo $ECHO_N "(cached) $ECHO_C" >&6
2858 # POSIX says lex can declare yytext either as a pointer or an array; the
2859 # default is implementation-dependent. Figure out which it is, since
2860 # not all implementations provide the %pointer and %array declarations.
2861 ac_cv_prog_lex_yytext_pointer
=no
2862 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2864 LIBS
="$LIBS $LEXLIB"
2865 cat >conftest.
$ac_ext <<_ACEOF
2866 `cat $LEX_OUTPUT_ROOT.c`
2868 rm -f conftest.
$ac_objext conftest
$ac_exeext
2869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2870 (eval $ac_link) 2>conftest.er1
2872 grep -v '^ *+' conftest.er1
>conftest.err
2874 cat conftest.err
>&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); } &&
2877 { ac_try
='test -z "$ac_c_werror_flag"
2878 || test ! -s conftest.err'
2879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }; } &&
2884 { ac_try
='test -s conftest$ac_exeext'
2885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }; }; then
2890 ac_cv_prog_lex_yytext_pointer
=yes
2892 echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.
$ac_ext >&5
2896 rm -f conftest.err conftest.
$ac_objext \
2897 conftest
$ac_exeext conftest.
$ac_ext
2899 rm -f "${LEX_OUTPUT_ROOT}.c"
2902 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
2903 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
2904 if test $ac_cv_prog_lex_yytext_pointer = yes; then
2906 cat >>confdefs.h
<<\_ACEOF
2907 #define YYTEXT_POINTER 1
2916 CFLAGS
="$CFLAGS -I\$(srcdir)"
2918 if test -x /usr
/bin
/sun
&& /usr
/bin
/sun
; then
2919 CFLAGS
="$CFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__"
2920 LDFLAGS
="-lxnet -ldevinfo -lnsl -lsocket -lrt"
2923 echo "$as_me:$LINENO: checking for sys/queue.h" >&5
2924 echo $ECHO_N "checking for sys/queue.h... $ECHO_C" >&6
2925 cat >conftest.
$ac_ext <<_ACEOF
2928 cat confdefs.h
>>conftest.
$ac_ext
2929 cat >>conftest.
$ac_ext <<_ACEOF
2930 /* end confdefs.h. */
2931 #include <sys/queue.h>
2935 TAILQ_HEAD(test, none);
2940 rm -f conftest.
$ac_objext
2941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2942 (eval $ac_compile) 2>conftest.er1
2944 grep -v '^ *+' conftest.er1
>conftest.err
2946 cat conftest.err
>&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } &&
2949 { ac_try
='test -z "$ac_c_werror_flag"
2950 || test ! -s conftest.err'
2951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; } &&
2956 { ac_try
='test -s conftest.$ac_objext'
2957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }; }; then
2962 echo "$as_me:$LINENO: result: yes" >&5
2963 echo "${ECHO_T}yes" >&6
2965 echo "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.
$ac_ext >&5
2968 echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6
2970 CFLAGS
="$CFLAGS -I\$(srcdir)/missing"
2972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2975 echo "$as_me:$LINENO: checking for egrep" >&5
2976 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2977 if test "${ac_cv_prog_egrep+set}" = set; then
2978 echo $ECHO_N "(cached) $ECHO_C" >&6
2980 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2981 then ac_cv_prog_egrep
='grep -E'
2982 else ac_cv_prog_egrep
='egrep'
2985 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2986 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2987 EGREP
=$ac_cv_prog_egrep
2990 cat >conftest.
$ac_ext <<_ACEOF
2993 cat confdefs.h
>>conftest.
$ac_ext
2994 cat >>conftest.
$ac_ext <<_ACEOF
2995 /* end confdefs.h. */
2996 #include <netinet/in.h>
3001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3002 $EGREP "yes" >/dev
/null
2>&1; then
3009 echo "$as_me:$LINENO: checking for getaddrinfo/getnameinfo library" >&5
3010 echo $ECHO_N "checking for getaddrinfo/getnameinfo library... $ECHO_C" >&6
3011 echo "$as_me:$LINENO: result: $result" >&5
3012 echo "${ECHO_T}$result" >&6
3014 kame
) cat >>confdefs.h
<<\_ACEOF
3019 LIBS
="$LIBS -L/usr/local/v6/lib"
3021 echo "$as_me:$LINENO: checking for getaddrinfo in -linet6" >&5
3022 echo $ECHO_N "checking for getaddrinfo in -linet6... $ECHO_C" >&6
3023 if test "${ac_cv_lib_inet6_getaddrinfo+set}" = set; then
3024 echo $ECHO_N "(cached) $ECHO_C" >&6
3026 ac_check_lib_save_LIBS
=$LIBS
3027 LIBS
="-linet6 $LIBS"
3028 cat >conftest.
$ac_ext <<_ACEOF
3031 cat confdefs.h
>>conftest.
$ac_ext
3032 cat >>conftest.
$ac_ext <<_ACEOF
3033 /* end confdefs.h. */
3035 /* Override any gcc2 internal prototype to avoid an error. */
3039 /* We use char because int might match the return type of a gcc2
3040 builtin and then its argument prototype would still apply. */
3041 char getaddrinfo ();
3050 rm -f conftest.
$ac_objext conftest
$ac_exeext
3051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3052 (eval $ac_link) 2>conftest.er1
3054 grep -v '^ *+' conftest.er1
>conftest.err
3056 cat conftest.err
>&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); } &&
3059 { ac_try
='test -z "$ac_c_werror_flag"
3060 || test ! -s conftest.err'
3061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); }; } &&
3066 { ac_try
='test -s conftest$ac_exeext'
3067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; }; then
3072 ac_cv_lib_inet6_getaddrinfo
=yes
3074 echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.
$ac_ext >&5
3077 ac_cv_lib_inet6_getaddrinfo
=no
3079 rm -f conftest.err conftest.
$ac_objext \
3080 conftest
$ac_exeext conftest.
$ac_ext
3081 LIBS
=$ac_check_lib_save_LIBS
3083 echo "$as_me:$LINENO: result: $ac_cv_lib_inet6_getaddrinfo" >&5
3084 echo "${ECHO_T}$ac_cv_lib_inet6_getaddrinfo" >&6
3085 if test $ac_cv_lib_inet6_getaddrinfo = yes; then
3086 cat >>confdefs.h
<<_ACEOF
3087 #define HAVE_LIBINET6 1
3090 LIBS
="-linet6 $LIBS"
3101 for ac_func
in getaddrinfo
3103 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3104 echo "$as_me:$LINENO: checking for $ac_func" >&5
3105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3106 if eval "test \"\${$as_ac_var+set}\" = set"; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3109 cat >conftest.
$ac_ext <<_ACEOF
3112 cat confdefs.h
>>conftest.
$ac_ext
3113 cat >>conftest.
$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3117 #define $ac_func innocuous_$ac_func
3119 /* System header to define __stub macros and hopefully few prototypes,
3120 which can conflict with char $ac_func (); below.
3121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3122 <limits.h> exists even on freestanding compilers. */
3125 # include <limits.h>
3127 # include <assert.h>
3132 /* Override any gcc2 internal prototype to avoid an error. */
3137 /* We use char because int might match the return type of a gcc2
3138 builtin and then its argument prototype would still apply. */
3140 /* The GNU C library defines this for functions which it implements
3141 to always fail with ENOSYS. Some functions are actually named
3142 something starting with __ and the normal name is an alias. */
3143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3146 char (*f) () = $ac_func;
3155 return f != $ac_func;
3160 rm -f conftest.
$ac_objext conftest
$ac_exeext
3161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3162 (eval $ac_link) 2>conftest.er1
3164 grep -v '^ *+' conftest.er1
>conftest.err
3166 cat conftest.err
>&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); } &&
3169 { ac_try
='test -z "$ac_c_werror_flag"
3170 || test ! -s conftest.err'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; } &&
3176 { ac_try
='test -s conftest$ac_exeext'
3177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }; }; then
3182 eval "$as_ac_var=yes"
3184 echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.
$ac_ext >&5
3187 eval "$as_ac_var=no"
3189 rm -f conftest.err conftest.
$ac_objext \
3190 conftest
$ac_exeext conftest.
$ac_ext
3192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3194 if test `eval echo '${'$as_ac_var'}'` = yes; then
3195 cat >>confdefs.h
<<_ACEOF
3196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3201 "$ac_func.$ac_objext" | \
3202 *" $ac_func.$ac_objext" | \
3203 "$ac_func.$ac_objext "* | \
3204 *" $ac_func.$ac_objext "* ) ;;
3205 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
3213 for ac_func
in getnameinfo
3215 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3216 echo "$as_me:$LINENO: checking for $ac_func" >&5
3217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3218 if eval "test \"\${$as_ac_var+set}\" = set"; then
3219 echo $ECHO_N "(cached) $ECHO_C" >&6
3221 cat >conftest.
$ac_ext <<_ACEOF
3224 cat confdefs.h
>>conftest.
$ac_ext
3225 cat >>conftest.
$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3229 #define $ac_func innocuous_$ac_func
3231 /* System header to define __stub macros and hopefully few prototypes,
3232 which can conflict with char $ac_func (); below.
3233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3234 <limits.h> exists even on freestanding compilers. */
3237 # include <limits.h>
3239 # include <assert.h>
3244 /* Override any gcc2 internal prototype to avoid an error. */
3249 /* We use char because int might match the return type of a gcc2
3250 builtin and then its argument prototype would still apply. */
3252 /* The GNU C library defines this for functions which it implements
3253 to always fail with ENOSYS. Some functions are actually named
3254 something starting with __ and the normal name is an alias. */
3255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3258 char (*f) () = $ac_func;
3267 return f != $ac_func;
3272 rm -f conftest.
$ac_objext conftest
$ac_exeext
3273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3274 (eval $ac_link) 2>conftest.er1
3276 grep -v '^ *+' conftest.er1
>conftest.err
3278 cat conftest.err
>&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); } &&
3281 { ac_try
='test -z "$ac_c_werror_flag"
3282 || test ! -s conftest.err'
3283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); }; } &&
3288 { ac_try
='test -s conftest$ac_exeext'
3289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); }; }; then
3294 eval "$as_ac_var=yes"
3296 echo "$as_me: failed program was:" >&5
3297 sed 's/^/| /' conftest.
$ac_ext >&5
3299 eval "$as_ac_var=no"
3301 rm -f conftest.err conftest.
$ac_objext \
3302 conftest
$ac_exeext conftest.
$ac_ext
3304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3306 if test `eval echo '${'$as_ac_var'}'` = yes; then
3307 cat >>confdefs.h
<<_ACEOF
3308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3313 "$ac_func.$ac_objext" | \
3314 *" $ac_func.$ac_objext" | \
3315 "$ac_func.$ac_objext "* | \
3316 *" $ac_func.$ac_objext "* ) ;;
3317 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
3325 for ac_func
in getifaddrs
3327 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3328 echo "$as_me:$LINENO: checking for $ac_func" >&5
3329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3330 if eval "test \"\${$as_ac_var+set}\" = set"; then
3331 echo $ECHO_N "(cached) $ECHO_C" >&6
3333 cat >conftest.
$ac_ext <<_ACEOF
3336 cat confdefs.h
>>conftest.
$ac_ext
3337 cat >>conftest.
$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3341 #define $ac_func innocuous_$ac_func
3343 /* System header to define __stub macros and hopefully few prototypes,
3344 which can conflict with char $ac_func (); below.
3345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3346 <limits.h> exists even on freestanding compilers. */
3349 # include <limits.h>
3351 # include <assert.h>
3356 /* Override any gcc2 internal prototype to avoid an error. */
3361 /* We use char because int might match the return type of a gcc2
3362 builtin and then its argument prototype would still apply. */
3364 /* The GNU C library defines this for functions which it implements
3365 to always fail with ENOSYS. Some functions are actually named
3366 something starting with __ and the normal name is an alias. */
3367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3370 char (*f) () = $ac_func;
3379 return f != $ac_func;
3384 rm -f conftest.
$ac_objext conftest
$ac_exeext
3385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3386 (eval $ac_link) 2>conftest.er1
3388 grep -v '^ *+' conftest.er1
>conftest.err
3390 cat conftest.err
>&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); } &&
3393 { ac_try
='test -z "$ac_c_werror_flag"
3394 || test ! -s conftest.err'
3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; } &&
3400 { ac_try
='test -s conftest$ac_exeext'
3401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); }; }; then
3406 eval "$as_ac_var=yes"
3408 echo "$as_me: failed program was:" >&5
3409 sed 's/^/| /' conftest.
$ac_ext >&5
3411 eval "$as_ac_var=no"
3413 rm -f conftest.err conftest.
$ac_objext \
3414 conftest
$ac_exeext conftest.
$ac_ext
3416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3418 if test `eval echo '${'$as_ac_var'}'` = yes; then
3419 cat >>confdefs.h
<<_ACEOF
3420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3425 "$ac_func.$ac_objext" | \
3426 *" $ac_func.$ac_objext" | \
3427 "$ac_func.$ac_objext "* | \
3428 *" $ac_func.$ac_objext "* ) ;;
3429 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
3437 for ac_func
in if_nametoindex
3439 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3440 echo "$as_me:$LINENO: checking for $ac_func" >&5
3441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3442 if eval "test \"\${$as_ac_var+set}\" = set"; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3445 cat >conftest.
$ac_ext <<_ACEOF
3448 cat confdefs.h
>>conftest.
$ac_ext
3449 cat >>conftest.
$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3453 #define $ac_func innocuous_$ac_func
3455 /* System header to define __stub macros and hopefully few prototypes,
3456 which can conflict with char $ac_func (); below.
3457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3458 <limits.h> exists even on freestanding compilers. */
3461 # include <limits.h>
3463 # include <assert.h>
3468 /* Override any gcc2 internal prototype to avoid an error. */
3473 /* We use char because int might match the return type of a gcc2
3474 builtin and then its argument prototype would still apply. */
3476 /* The GNU C library defines this for functions which it implements
3477 to always fail with ENOSYS. Some functions are actually named
3478 something starting with __ and the normal name is an alias. */
3479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3482 char (*f) () = $ac_func;
3491 return f != $ac_func;
3496 rm -f conftest.
$ac_objext conftest
$ac_exeext
3497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3498 (eval $ac_link) 2>conftest.er1
3500 grep -v '^ *+' conftest.er1
>conftest.err
3502 cat conftest.err
>&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); } &&
3505 { ac_try
='test -z "$ac_c_werror_flag"
3506 || test ! -s conftest.err'
3507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); }; } &&
3512 { ac_try
='test -s conftest$ac_exeext'
3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); }; }; then
3518 eval "$as_ac_var=yes"
3520 echo "$as_me: failed program was:" >&5
3521 sed 's/^/| /' conftest.
$ac_ext >&5
3523 eval "$as_ac_var=no"
3525 rm -f conftest.err conftest.
$ac_objext \
3526 conftest
$ac_exeext conftest.
$ac_ext
3528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3530 if test `eval echo '${'$as_ac_var'}'` = yes; then
3531 cat >>confdefs.h
<<_ACEOF
3532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3540 for ac_func
in strlcpy strlcat
3542 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3543 echo "$as_me:$LINENO: checking for $ac_func" >&5
3544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3545 if eval "test \"\${$as_ac_var+set}\" = set"; then
3546 echo $ECHO_N "(cached) $ECHO_C" >&6
3548 cat >conftest.
$ac_ext <<_ACEOF
3551 cat confdefs.h
>>conftest.
$ac_ext
3552 cat >>conftest.
$ac_ext <<_ACEOF
3553 /* end confdefs.h. */
3554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3556 #define $ac_func innocuous_$ac_func
3558 /* System header to define __stub macros and hopefully few prototypes,
3559 which can conflict with char $ac_func (); below.
3560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3561 <limits.h> exists even on freestanding compilers. */
3564 # include <limits.h>
3566 # include <assert.h>
3571 /* Override any gcc2 internal prototype to avoid an error. */
3576 /* We use char because int might match the return type of a gcc2
3577 builtin and then its argument prototype would still apply. */
3579 /* The GNU C library defines this for functions which it implements
3580 to always fail with ENOSYS. Some functions are actually named
3581 something starting with __ and the normal name is an alias. */
3582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3585 char (*f) () = $ac_func;
3594 return f != $ac_func;
3599 rm -f conftest.
$ac_objext conftest
$ac_exeext
3600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3601 (eval $ac_link) 2>conftest.er1
3603 grep -v '^ *+' conftest.er1
>conftest.err
3605 cat conftest.err
>&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); } &&
3608 { ac_try
='test -z "$ac_c_werror_flag"
3609 || test ! -s conftest.err'
3610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); }; } &&
3615 { ac_try
='test -s conftest$ac_exeext'
3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); }; }; then
3621 eval "$as_ac_var=yes"
3623 echo "$as_me: failed program was:" >&5
3624 sed 's/^/| /' conftest.
$ac_ext >&5
3626 eval "$as_ac_var=no"
3628 rm -f conftest.err conftest.
$ac_objext \
3629 conftest
$ac_exeext conftest.
$ac_ext
3631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3633 if test `eval echo '${'$as_ac_var'}'` = yes; then
3634 cat >>confdefs.h
<<_ACEOF
3635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3640 "$ac_func.$ac_objext" | \
3641 *" $ac_func.$ac_objext" | \
3642 "$ac_func.$ac_objext "* | \
3643 *" $ac_func.$ac_objext "* ) ;;
3644 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
3652 for ac_func
in daemon
3654 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3655 echo "$as_me:$LINENO: checking for $ac_func" >&5
3656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3657 if eval "test \"\${$as_ac_var+set}\" = set"; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 cat >conftest.
$ac_ext <<_ACEOF
3663 cat confdefs.h
>>conftest.
$ac_ext
3664 cat >>conftest.
$ac_ext <<_ACEOF
3665 /* end confdefs.h. */
3666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3668 #define $ac_func innocuous_$ac_func
3670 /* System header to define __stub macros and hopefully few prototypes,
3671 which can conflict with char $ac_func (); below.
3672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3673 <limits.h> exists even on freestanding compilers. */
3676 # include <limits.h>
3678 # include <assert.h>
3683 /* Override any gcc2 internal prototype to avoid an error. */
3688 /* We use char because int might match the return type of a gcc2
3689 builtin and then its argument prototype would still apply. */
3691 /* The GNU C library defines this for functions which it implements
3692 to always fail with ENOSYS. Some functions are actually named
3693 something starting with __ and the normal name is an alias. */
3694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3697 char (*f) () = $ac_func;
3706 return f != $ac_func;
3711 rm -f conftest.
$ac_objext conftest
$ac_exeext
3712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3713 (eval $ac_link) 2>conftest.er1
3715 grep -v '^ *+' conftest.er1
>conftest.err
3717 cat conftest.err
>&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } &&
3720 { ac_try
='test -z "$ac_c_werror_flag"
3721 || test ! -s conftest.err'
3722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); }; } &&
3727 { ac_try
='test -s conftest$ac_exeext'
3728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); }; }; then
3733 eval "$as_ac_var=yes"
3735 echo "$as_me: failed program was:" >&5
3736 sed 's/^/| /' conftest.
$ac_ext >&5
3738 eval "$as_ac_var=no"
3740 rm -f conftest.err conftest.
$ac_objext \
3741 conftest
$ac_exeext conftest.
$ac_ext
3743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3745 if test `eval echo '${'$as_ac_var'}'` = yes; then
3746 cat >>confdefs.h
<<_ACEOF
3747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3752 "$ac_func.$ac_objext" | \
3753 *" $ac_func.$ac_objext" | \
3754 "$ac_func.$ac_objext "* | \
3755 *" $ac_func.$ac_objext "* ) ;;
3756 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
3764 for ac_func
in warnx
3766 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3767 echo "$as_me:$LINENO: checking for $ac_func" >&5
3768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3769 if eval "test \"\${$as_ac_var+set}\" = set"; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 cat >conftest.
$ac_ext <<_ACEOF
3775 cat confdefs.h
>>conftest.
$ac_ext
3776 cat >>conftest.
$ac_ext <<_ACEOF
3777 /* end confdefs.h. */
3778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3780 #define $ac_func innocuous_$ac_func
3782 /* System header to define __stub macros and hopefully few prototypes,
3783 which can conflict with char $ac_func (); below.
3784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3785 <limits.h> exists even on freestanding compilers. */
3788 # include <limits.h>
3790 # include <assert.h>
3795 /* Override any gcc2 internal prototype to avoid an error. */
3800 /* We use char because int might match the return type of a gcc2
3801 builtin and then its argument prototype would still apply. */
3803 /* The GNU C library defines this for functions which it implements
3804 to always fail with ENOSYS. Some functions are actually named
3805 something starting with __ and the normal name is an alias. */
3806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3809 char (*f) () = $ac_func;
3818 return f != $ac_func;
3823 rm -f conftest.
$ac_objext conftest
$ac_exeext
3824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3825 (eval $ac_link) 2>conftest.er1
3827 grep -v '^ *+' conftest.er1
>conftest.err
3829 cat conftest.err
>&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); } &&
3832 { ac_try
='test -z "$ac_c_werror_flag"
3833 || test ! -s conftest.err'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; } &&
3839 { ac_try
='test -s conftest$ac_exeext'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; }; then
3845 eval "$as_ac_var=yes"
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.
$ac_ext >&5
3850 eval "$as_ac_var=no"
3852 rm -f conftest.err conftest.
$ac_objext \
3853 conftest
$ac_exeext conftest.
$ac_ext
3855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3857 if test `eval echo '${'$as_ac_var'}'` = yes; then
3858 cat >>confdefs.h
<<_ACEOF
3859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3864 "$ac_func.$ac_objext" | \
3865 *" $ac_func.$ac_objext" | \
3866 "$ac_func.$ac_objext "* | \
3867 *" $ac_func.$ac_objext "* ) ;;
3868 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
3876 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3877 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3878 if test "${ac_cv_header_stdc+set}" = set; then
3879 echo $ECHO_N "(cached) $ECHO_C" >&6
3881 cat >conftest.
$ac_ext <<_ACEOF
3884 cat confdefs.h
>>conftest.
$ac_ext
3885 cat >>conftest.
$ac_ext <<_ACEOF
3886 /* end confdefs.h. */
3900 rm -f conftest.
$ac_objext
3901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3902 (eval $ac_compile) 2>conftest.er1
3904 grep -v '^ *+' conftest.er1
>conftest.err
3906 cat conftest.err
>&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } &&
3909 { ac_try
='test -z "$ac_c_werror_flag"
3910 || test ! -s conftest.err'
3911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); }; } &&
3916 { ac_try
='test -s conftest.$ac_objext'
3917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); }; }; then
3922 ac_cv_header_stdc
=yes
3924 echo "$as_me: failed program was:" >&5
3925 sed 's/^/| /' conftest.
$ac_ext >&5
3927 ac_cv_header_stdc
=no
3929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3931 if test $ac_cv_header_stdc = yes; then
3932 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3933 cat >conftest.
$ac_ext <<_ACEOF
3936 cat confdefs.h
>>conftest.
$ac_ext
3937 cat >>conftest.
$ac_ext <<_ACEOF
3938 /* end confdefs.h. */
3942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3943 $EGREP "memchr" >/dev
/null
2>&1; then
3946 ac_cv_header_stdc
=no
3952 if test $ac_cv_header_stdc = yes; then
3953 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3954 cat >conftest.
$ac_ext <<_ACEOF
3957 cat confdefs.h
>>conftest.
$ac_ext
3958 cat >>conftest.
$ac_ext <<_ACEOF
3959 /* end confdefs.h. */
3963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3964 $EGREP "free" >/dev
/null
2>&1; then
3967 ac_cv_header_stdc
=no
3973 if test $ac_cv_header_stdc = yes; then
3974 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3975 if test "$cross_compiling" = yes; then
3978 cat >conftest.
$ac_ext <<_ACEOF
3981 cat confdefs.h
>>conftest.
$ac_ext
3982 cat >>conftest.
$ac_ext <<_ACEOF
3983 /* end confdefs.h. */
3985 #if ((' ' & 0x0FF) == 0x020)
3986 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3987 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3989 # define ISLOWER(c) \
3990 (('a' <= (c) && (c) <= 'i') \
3991 || ('j' <= (c) && (c) <= 'r') \
3992 || ('s' <= (c) && (c) <= 'z'))
3993 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3996 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4001 for (i = 0; i < 256; i++)
4002 if (XOR (islower (i), ISLOWER (i))
4003 || toupper (i) != TOUPPER (i))
4008 rm -f conftest
$ac_exeext
4009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4010 (eval $ac_link) 2>&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; }; then
4021 echo "$as_me: program exited with status $ac_status" >&5
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.
$ac_ext >&5
4026 ac_cv_header_stdc
=no
4028 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4032 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4033 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4034 if test $ac_cv_header_stdc = yes; then
4036 cat >>confdefs.h
<<\_ACEOF
4037 #define STDC_HEADERS 1
4042 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4052 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4053 inttypes.h stdint.h unistd.h
4055 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4056 echo "$as_me:$LINENO: checking for $ac_header" >&5
4057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4061 cat >conftest.
$ac_ext <<_ACEOF
4064 cat confdefs.h
>>conftest.
$ac_ext
4065 cat >>conftest.
$ac_ext <<_ACEOF
4066 /* end confdefs.h. */
4067 $ac_includes_default
4069 #include <$ac_header>
4071 rm -f conftest.
$ac_objext
4072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4073 (eval $ac_compile) 2>conftest.er1
4075 grep -v '^ *+' conftest.er1
>conftest.err
4077 cat conftest.err
>&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); } &&
4080 { ac_try
='test -z "$ac_c_werror_flag"
4081 || test ! -s conftest.err'
4082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }; } &&
4087 { ac_try
='test -s conftest.$ac_objext'
4088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); }; }; then
4093 eval "$as_ac_Header=yes"
4095 echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.
$ac_ext >&5
4098 eval "$as_ac_Header=no"
4100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4105 cat >>confdefs.h
<<_ACEOF
4106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4120 for ac_header
in fcntl.h sys
/ioctl.h sys
/time.h syslog.h unistd.h ifaddrs.h
4122 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4124 echo "$as_me:$LINENO: checking for $ac_header" >&5
4125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4132 # Is the header compilable?
4133 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4134 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4135 cat >conftest.
$ac_ext <<_ACEOF
4138 cat confdefs.h
>>conftest.
$ac_ext
4139 cat >>conftest.
$ac_ext <<_ACEOF
4140 /* end confdefs.h. */
4141 $ac_includes_default
4142 #include <$ac_header>
4144 rm -f conftest.
$ac_objext
4145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4146 (eval $ac_compile) 2>conftest.er1
4148 grep -v '^ *+' conftest.er1
>conftest.err
4150 cat conftest.err
>&5
4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); } &&
4153 { ac_try
='test -z "$ac_c_werror_flag"
4154 || test ! -s conftest.err'
4155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); }; } &&
4160 { ac_try
='test -s conftest.$ac_objext'
4161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); }; }; then
4166 ac_header_compiler
=yes
4168 echo "$as_me: failed program was:" >&5
4169 sed 's/^/| /' conftest.
$ac_ext >&5
4171 ac_header_compiler
=no
4173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4174 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4175 echo "${ECHO_T}$ac_header_compiler" >&6
4177 # Is the header present?
4178 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4179 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4180 cat >conftest.
$ac_ext <<_ACEOF
4183 cat confdefs.h
>>conftest.
$ac_ext
4184 cat >>conftest.
$ac_ext <<_ACEOF
4185 /* end confdefs.h. */
4186 #include <$ac_header>
4188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4189 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4191 grep -v '^ *+' conftest.er1
>conftest.err
4193 cat conftest.err
>&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); } >/dev
/null
; then
4196 if test -s conftest.err
; then
4197 ac_cpp_err
=$ac_c_preproc_warn_flag
4198 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4205 if test -z "$ac_cpp_err"; then
4206 ac_header_preproc
=yes
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.
$ac_ext >&5
4211 ac_header_preproc
=no
4213 rm -f conftest.err conftest.
$ac_ext
4214 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4215 echo "${ECHO_T}$ac_header_preproc" >&6
4217 # So? What about this header?
4218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4220 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4221 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4223 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4224 ac_header_preproc
=yes
4227 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4228 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4229 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4230 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4231 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4232 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4233 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4234 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4237 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4238 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4241 ## ------------------------------------------ ##
4242 ## Report this to the AC_PACKAGE_NAME lists. ##
4243 ## ------------------------------------------ ##
4246 sed "s/^/$as_me: WARNING: /" >&2
4249 echo "$as_me:$LINENO: checking for $ac_header" >&5
4250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4254 eval "$as_ac_Header=\$ac_header_preproc"
4256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4261 cat >>confdefs.h
<<_ACEOF
4262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4269 echo "$as_me:$LINENO: checking for socklen_t" >&5
4270 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
4271 cat >conftest.
$ac_ext <<_ACEOF
4274 cat confdefs.h
>>conftest.
$ac_ext
4275 cat >>conftest.
$ac_ext <<_ACEOF
4276 /* end confdefs.h. */
4277 #include <sys/types.h>
4278 #include <sys/socket.h>
4282 socklen_t x; x = 1; return x;
4287 rm -f conftest.
$ac_objext
4288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4289 (eval $ac_compile) 2>conftest.er1
4291 grep -v '^ *+' conftest.er1
>conftest.err
4293 cat conftest.err
>&5
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } &&
4296 { ac_try
='test -z "$ac_c_werror_flag"
4297 || test ! -s conftest.err'
4298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); }; } &&
4303 { ac_try
='test -s conftest.$ac_objext'
4304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); }; }; then
4309 echo "$as_me:$LINENO: result: yes" >&5
4310 echo "${ECHO_T}yes" >&6
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.
$ac_ext >&5
4315 echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6
4317 echo "$as_me:$LINENO: checking for socklen_t" >&5
4318 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
4319 if test "${ac_cv_type_socklen_t+set}" = set; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 cat >conftest.
$ac_ext <<_ACEOF
4325 cat confdefs.h
>>conftest.
$ac_ext
4326 cat >>conftest.
$ac_ext <<_ACEOF
4327 /* end confdefs.h. */
4328 $ac_includes_default
4332 if ((socklen_t *) 0)
4334 if (sizeof (socklen_t))
4340 rm -f conftest.
$ac_objext
4341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4342 (eval $ac_compile) 2>conftest.er1
4344 grep -v '^ *+' conftest.er1
>conftest.err
4346 cat conftest.err
>&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } &&
4349 { ac_try
='test -z "$ac_c_werror_flag"
4350 || test ! -s conftest.err'
4351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4355 (exit $ac_status); }; } &&
4356 { ac_try
='test -s conftest.$ac_objext'
4357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); }; }; then
4362 ac_cv_type_socklen_t
=yes
4364 echo "$as_me: failed program was:" >&5
4365 sed 's/^/| /' conftest.
$ac_ext >&5
4367 ac_cv_type_socklen_t
=no
4369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4371 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
4372 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
4373 if test $ac_cv_type_socklen_t = yes; then
4377 cat >>confdefs.h
<<_ACEOF
4378 #define socklen_t int
4384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4386 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4387 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4388 if test "${ac_cv_c_const+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 cat >conftest.
$ac_ext <<_ACEOF
4394 cat confdefs.h
>>conftest.
$ac_ext
4395 cat >>conftest.
$ac_ext <<_ACEOF
4396 /* end confdefs.h. */
4401 /* FIXME: Include the comments suggested by Paul. */
4403 /* Ultrix mips cc rejects this. */
4404 typedef int charset[2];
4406 /* SunOS 4.1.1 cc rejects this. */
4407 char const *const *ccp;
4409 /* NEC SVR4.0.2 mips cc rejects this. */
4410 struct point {int x, y;};
4411 static struct point const zero = {0,0};
4412 /* AIX XL C 1.02.0.0 rejects this.
4413 It does not let you subtract one const X* pointer from another in
4414 an arm of an if-expression whose if-part is not a constant
4416 const char *g = "string";
4417 ccp = &g + (g ? g-g : 0);
4418 /* HPUX 7.0 cc rejects these. */
4421 ccp = (char const *const *) p;
4422 { /* SCO 3.2v4 cc rejects this. */
4424 char const *s = 0 ? (char *) 0 : (char const *) 0;
4428 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4430 const int *foo = &x[0];
4433 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4434 typedef const int *iptr;
4438 { /* AIX XL C 1.02.0.0 rejects this saying
4439 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4440 struct s { int j; const int *ap[3]; };
4441 struct s *b; b->j = 5;
4443 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4452 rm -f conftest.
$ac_objext
4453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4454 (eval $ac_compile) 2>conftest.er1
4456 grep -v '^ *+' conftest.er1
>conftest.err
4458 cat conftest.err
>&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); } &&
4461 { ac_try
='test -z "$ac_c_werror_flag"
4462 || test ! -s conftest.err'
4463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); }; } &&
4468 { ac_try
='test -s conftest.$ac_objext'
4469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; }; then
4476 echo "$as_me: failed program was:" >&5
4477 sed 's/^/| /' conftest.
$ac_ext >&5
4481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4483 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4484 echo "${ECHO_T}$ac_cv_c_const" >&6
4485 if test $ac_cv_c_const = no
; then
4487 cat >>confdefs.h
<<\_ACEOF
4493 echo "$as_me:$LINENO: checking for size_t" >&5
4494 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4495 if test "${ac_cv_type_size_t+set}" = set; then
4496 echo $ECHO_N "(cached) $ECHO_C" >&6
4498 cat >conftest.
$ac_ext <<_ACEOF
4501 cat confdefs.h
>>conftest.
$ac_ext
4502 cat >>conftest.
$ac_ext <<_ACEOF
4503 /* end confdefs.h. */
4504 $ac_includes_default
4510 if (sizeof (size_t))
4516 rm -f conftest.
$ac_objext
4517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4518 (eval $ac_compile) 2>conftest.er1
4520 grep -v '^ *+' conftest.er1
>conftest.err
4522 cat conftest.err
>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); } &&
4525 { ac_try
='test -z "$ac_c_werror_flag"
4526 || test ! -s conftest.err'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; } &&
4532 { ac_try
='test -s conftest.$ac_objext'
4533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); }; }; then
4538 ac_cv_type_size_t
=yes
4540 echo "$as_me: failed program was:" >&5
4541 sed 's/^/| /' conftest.
$ac_ext >&5
4543 ac_cv_type_size_t
=no
4545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4547 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4548 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4549 if test $ac_cv_type_size_t = yes; then
4553 cat >>confdefs.h
<<_ACEOF
4554 #define size_t unsigned
4559 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4560 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4561 if test "${ac_cv_header_time+set}" = set; then
4562 echo $ECHO_N "(cached) $ECHO_C" >&6
4564 cat >conftest.
$ac_ext <<_ACEOF
4567 cat confdefs.h
>>conftest.
$ac_ext
4568 cat >>conftest.
$ac_ext <<_ACEOF
4569 /* end confdefs.h. */
4570 #include <sys/types.h>
4571 #include <sys/time.h>
4577 if ((struct tm *) 0)
4583 rm -f conftest.
$ac_objext
4584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4585 (eval $ac_compile) 2>conftest.er1
4587 grep -v '^ *+' conftest.er1
>conftest.err
4589 cat conftest.err
>&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } &&
4592 { ac_try
='test -z "$ac_c_werror_flag"
4593 || test ! -s conftest.err'
4594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }; } &&
4599 { ac_try
='test -s conftest.$ac_objext'
4600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); }; }; then
4605 ac_cv_header_time
=yes
4607 echo "$as_me: failed program was:" >&5
4608 sed 's/^/| /' conftest.
$ac_ext >&5
4610 ac_cv_header_time
=no
4612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4614 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4615 echo "${ECHO_T}$ac_cv_header_time" >&6
4616 if test $ac_cv_header_time = yes; then
4618 cat >>confdefs.h
<<\_ACEOF
4619 #define TIME_WITH_SYS_TIME 1
4624 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4625 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4626 if test "${ac_cv_struct_tm+set}" = set; then
4627 echo $ECHO_N "(cached) $ECHO_C" >&6
4629 cat >conftest.
$ac_ext <<_ACEOF
4632 cat confdefs.h
>>conftest.
$ac_ext
4633 cat >>conftest.
$ac_ext <<_ACEOF
4634 /* end confdefs.h. */
4635 #include <sys/types.h>
4641 struct tm *tp; tp->tm_sec;
4646 rm -f conftest.
$ac_objext
4647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4648 (eval $ac_compile) 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"
4656 || test ! -s conftest.err'
4657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; } &&
4662 { ac_try
='test -s conftest.$ac_objext'
4663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; }; then
4668 ac_cv_struct_tm
=time.h
4670 echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.
$ac_ext >&5
4673 ac_cv_struct_tm
=sys
/time.h
4675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4677 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4678 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4679 if test $ac_cv_struct_tm = sys
/time.h
; then
4681 cat >>confdefs.h
<<\_ACEOF
4682 #define TM_IN_SYS_TIME 1
4687 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
4688 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4689 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 cat >conftest.
$ac_ext <<_ACEOF
4695 cat confdefs.h
>>conftest.
$ac_ext
4696 cat >>conftest.
$ac_ext <<_ACEOF
4697 /* end confdefs.h. */
4698 #include <sys/types.h>
4699 #include <$ac_cv_struct_tm>
4705 static struct tm ac_aggr;
4706 if (ac_aggr.tm_zone)
4712 rm -f conftest.
$ac_objext
4713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4714 (eval $ac_compile) 2>conftest.er1
4716 grep -v '^ *+' conftest.er1
>conftest.err
4718 cat conftest.err
>&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); } &&
4721 { ac_try
='test -z "$ac_c_werror_flag"
4722 || test ! -s conftest.err'
4723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); }; } &&
4728 { ac_try
='test -s conftest.$ac_objext'
4729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); }; }; then
4734 ac_cv_member_struct_tm_tm_zone
=yes
4736 echo "$as_me: failed program was:" >&5
4737 sed 's/^/| /' conftest.
$ac_ext >&5
4739 cat >conftest.
$ac_ext <<_ACEOF
4742 cat confdefs.h
>>conftest.
$ac_ext
4743 cat >>conftest.
$ac_ext <<_ACEOF
4744 /* end confdefs.h. */
4745 #include <sys/types.h>
4746 #include <$ac_cv_struct_tm>
4752 static struct tm ac_aggr;
4753 if (sizeof ac_aggr.tm_zone)
4759 rm -f conftest.
$ac_objext
4760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4761 (eval $ac_compile) 2>conftest.er1
4763 grep -v '^ *+' conftest.er1
>conftest.err
4765 cat conftest.err
>&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); } &&
4768 { ac_try
='test -z "$ac_c_werror_flag"
4769 || test ! -s conftest.err'
4770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); }; } &&
4775 { ac_try
='test -s conftest.$ac_objext'
4776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; }; then
4781 ac_cv_member_struct_tm_tm_zone
=yes
4783 echo "$as_me: failed program was:" >&5
4784 sed 's/^/| /' conftest.
$ac_ext >&5
4786 ac_cv_member_struct_tm_tm_zone
=no
4788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4792 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
4793 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4794 if test $ac_cv_member_struct_tm_tm_zone = yes; then
4796 cat >>confdefs.h
<<_ACEOF
4797 #define HAVE_STRUCT_TM_TM_ZONE 1
4803 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
4805 cat >>confdefs.h
<<\_ACEOF
4806 #define HAVE_TM_ZONE 1
4810 echo "$as_me:$LINENO: checking for tzname" >&5
4811 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4812 if test "${ac_cv_var_tzname+set}" = set; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4815 cat >conftest.
$ac_ext <<_ACEOF
4818 cat confdefs.h
>>conftest.
$ac_ext
4819 cat >>conftest.
$ac_ext <<_ACEOF
4820 /* end confdefs.h. */
4822 #ifndef tzname /* For SGI. */
4823 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4834 rm -f conftest.
$ac_objext conftest
$ac_exeext
4835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4836 (eval $ac_link) 2>conftest.er1
4838 grep -v '^ *+' conftest.er1
>conftest.err
4840 cat conftest.err
>&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } &&
4843 { ac_try
='test -z "$ac_c_werror_flag"
4844 || test ! -s conftest.err'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; } &&
4850 { ac_try
='test -s conftest$ac_exeext'
4851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); }; }; then
4856 ac_cv_var_tzname
=yes
4858 echo "$as_me: failed program was:" >&5
4859 sed 's/^/| /' conftest.
$ac_ext >&5
4863 rm -f conftest.err conftest.
$ac_objext \
4864 conftest
$ac_exeext conftest.
$ac_ext
4866 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
4867 echo "${ECHO_T}$ac_cv_var_tzname" >&6
4868 if test $ac_cv_var_tzname = yes; then
4870 cat >>confdefs.h
<<\_ACEOF
4871 #define HAVE_TZNAME 1
4877 echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
4878 echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
4879 if test "${ac_cv_type_sig_atomic_t+set}" = set; then
4880 echo $ECHO_N "(cached) $ECHO_C" >&6
4882 cat >conftest.
$ac_ext <<_ACEOF
4885 cat confdefs.h
>>conftest.
$ac_ext
4886 cat >>conftest.
$ac_ext <<_ACEOF
4887 /* end confdefs.h. */
4888 #include <sys/types.h>
4894 if ((sig_atomic_t *) 0)
4896 if (sizeof (sig_atomic_t))
4902 rm -f conftest.
$ac_objext
4903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4904 (eval $ac_compile) 2>conftest.er1
4906 grep -v '^ *+' conftest.er1
>conftest.err
4908 cat conftest.err
>&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } &&
4911 { ac_try
='test -z "$ac_c_werror_flag"
4912 || test ! -s conftest.err'
4913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); }; } &&
4918 { ac_try
='test -s conftest.$ac_objext'
4919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 (exit $ac_status); }; }; then
4924 ac_cv_type_sig_atomic_t
=yes
4926 echo "$as_me: failed program was:" >&5
4927 sed 's/^/| /' conftest.
$ac_ext >&5
4929 ac_cv_type_sig_atomic_t
=no
4931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4933 echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
4934 echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
4935 if test $ac_cv_type_sig_atomic_t = yes; then
4937 cat >>confdefs.h
<<_ACEOF
4938 #define HAVE_SIG_ATOMIC_T 1
4943 cat >>confdefs.h
<<\_ACEOF
4944 #define sig_atomic_t u_long
4951 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
4952 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
4953 if test "${ac_cv_func_getpgrp_void+set}" = set; then
4954 echo $ECHO_N "(cached) $ECHO_C" >&6
4956 # Use it with a single arg.
4957 cat >conftest.
$ac_ext <<_ACEOF
4960 cat confdefs.h
>>conftest.
$ac_ext
4961 cat >>conftest.
$ac_ext <<_ACEOF
4962 /* end confdefs.h. */
4963 $ac_includes_default
4972 rm -f conftest.
$ac_objext
4973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4974 (eval $ac_compile) 2>conftest.er1
4976 grep -v '^ *+' conftest.er1
>conftest.err
4978 cat conftest.err
>&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); } &&
4981 { ac_try
='test -z "$ac_c_werror_flag"
4982 || test ! -s conftest.err'
4983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); }; } &&
4988 { ac_try
='test -s conftest.$ac_objext'
4989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); }; }; then
4994 ac_cv_func_getpgrp_void
=no
4996 echo "$as_me: failed program was:" >&5
4997 sed 's/^/| /' conftest.
$ac_ext >&5
4999 ac_cv_func_getpgrp_void
=yes
5001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5004 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
5005 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
5006 if test $ac_cv_func_getpgrp_void = yes; then
5008 cat >>confdefs.h
<<\_ACEOF
5009 #define GETPGRP_VOID 1
5014 if test $ac_cv_c_compiler_gnu = yes; then
5015 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
5016 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
5017 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5018 echo $ECHO_N "(cached) $ECHO_C" >&6
5020 ac_pattern
="Autoconf.*'x'"
5021 cat >conftest.
$ac_ext <<_ACEOF
5024 cat confdefs.h
>>conftest.
$ac_ext
5025 cat >>conftest.
$ac_ext <<_ACEOF
5026 /* end confdefs.h. */
5030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5031 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5032 ac_cv_prog_gcc_traditional
=yes
5034 ac_cv_prog_gcc_traditional
=no
5039 if test $ac_cv_prog_gcc_traditional = no
; then
5040 cat >conftest.
$ac_ext <<_ACEOF
5043 cat confdefs.h
>>conftest.
$ac_ext
5044 cat >>conftest.
$ac_ext <<_ACEOF
5045 /* end confdefs.h. */
5049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5050 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
5051 ac_cv_prog_gcc_traditional
=yes
5057 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
5058 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
5059 if test $ac_cv_prog_gcc_traditional = yes; then
5060 CC
="$CC -traditional"
5064 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
5065 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
5066 if test "${ac_cv_func_setpgrp_void+set}" = set; then
5067 echo $ECHO_N "(cached) $ECHO_C" >&6
5069 if test "$cross_compiling" = yes; then
5070 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
5071 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
5072 { (exit 1); exit 1; }; }
5074 cat >conftest.
$ac_ext <<_ACEOF
5077 cat confdefs.h
>>conftest.
$ac_ext
5078 cat >>conftest.
$ac_ext <<_ACEOF
5079 /* end confdefs.h. */
5081 # include <unistd.h>
5087 /* If this system has a BSD-style setpgrp which takes arguments,
5088 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
5089 exit successfully. */
5090 exit (setpgrp (1,1) == -1 ? 0 : 1);
5095 rm -f conftest
$ac_exeext
5096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5097 (eval $ac_link) 2>&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); }; }; then
5106 ac_cv_func_setpgrp_void
=no
5108 echo "$as_me: program exited with status $ac_status" >&5
5109 echo "$as_me: failed program was:" >&5
5110 sed 's/^/| /' conftest.
$ac_ext >&5
5113 ac_cv_func_setpgrp_void
=yes
5115 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5118 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
5119 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
5120 if test $ac_cv_func_setpgrp_void = yes; then
5122 cat >>confdefs.h
<<\_ACEOF
5123 #define SETPGRP_VOID 1
5128 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5129 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5130 if test "${ac_cv_type_signal+set}" = set; then
5131 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 cat >conftest.
$ac_ext <<_ACEOF
5136 cat confdefs.h
>>conftest.
$ac_ext
5137 cat >>conftest.
$ac_ext <<_ACEOF
5138 /* end confdefs.h. */
5139 #include <sys/types.h>
5145 extern "C" void (*signal (int, void (*)(int)))(int);
5147 void (*signal ()) ();
5158 rm -f conftest.
$ac_objext
5159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5160 (eval $ac_compile) 2>conftest.er1
5162 grep -v '^ *+' conftest.er1
>conftest.err
5164 cat conftest.err
>&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); } &&
5167 { ac_try
='test -z "$ac_c_werror_flag"
5168 || test ! -s conftest.err'
5169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); }; } &&
5174 { ac_try
='test -s conftest.$ac_objext'
5175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179 (exit $ac_status); }; }; then
5180 ac_cv_type_signal
=void
5182 echo "$as_me: failed program was:" >&5
5183 sed 's/^/| /' conftest.
$ac_ext >&5
5185 ac_cv_type_signal
=int
5187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5189 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5190 echo "${ECHO_T}$ac_cv_type_signal" >&6
5192 cat >>confdefs.h
<<_ACEOF
5193 #define RETSIGTYPE $ac_cv_type_signal
5200 for ac_func
in mktime
select socket
5202 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5203 echo "$as_me:$LINENO: checking for $ac_func" >&5
5204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5205 if eval "test \"\${$as_ac_var+set}\" = set"; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5208 cat >conftest.
$ac_ext <<_ACEOF
5211 cat confdefs.h
>>conftest.
$ac_ext
5212 cat >>conftest.
$ac_ext <<_ACEOF
5213 /* end confdefs.h. */
5214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5216 #define $ac_func innocuous_$ac_func
5218 /* System header to define __stub macros and hopefully few prototypes,
5219 which can conflict with char $ac_func (); below.
5220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5221 <limits.h> exists even on freestanding compilers. */
5224 # include <limits.h>
5226 # include <assert.h>
5231 /* Override any gcc2 internal prototype to avoid an error. */
5236 /* We use char because int might match the return type of a gcc2
5237 builtin and then its argument prototype would still apply. */
5239 /* The GNU C library defines this for functions which it implements
5240 to always fail with ENOSYS. Some functions are actually named
5241 something starting with __ and the normal name is an alias. */
5242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5245 char (*f) () = $ac_func;
5254 return f != $ac_func;
5259 rm -f conftest.
$ac_objext conftest
$ac_exeext
5260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5261 (eval $ac_link) 2>conftest.er1
5263 grep -v '^ *+' conftest.er1
>conftest.err
5265 cat conftest.err
>&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); } &&
5268 { ac_try
='test -z "$ac_c_werror_flag"
5269 || test ! -s conftest.err'
5270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }; } &&
5275 { ac_try
='test -s conftest$ac_exeext'
5276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); }; }; then
5281 eval "$as_ac_var=yes"
5283 echo "$as_me: failed program was:" >&5
5284 sed 's/^/| /' conftest.
$ac_ext >&5
5286 eval "$as_ac_var=no"
5288 rm -f conftest.err conftest.
$ac_objext \
5289 conftest
$ac_exeext conftest.
$ac_ext
5291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5293 if test `eval echo '${'$as_ac_var'}'` = yes; then
5294 cat >>confdefs.h
<<_ACEOF
5295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5302 for ac_func
in clock_gettime
5304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5305 echo "$as_me:$LINENO: checking for $ac_func" >&5
5306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5307 if eval "test \"\${$as_ac_var+set}\" = set"; then
5308 echo $ECHO_N "(cached) $ECHO_C" >&6
5310 cat >conftest.
$ac_ext <<_ACEOF
5313 cat confdefs.h
>>conftest.
$ac_ext
5314 cat >>conftest.
$ac_ext <<_ACEOF
5315 /* end confdefs.h. */
5316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5318 #define $ac_func innocuous_$ac_func
5320 /* System header to define __stub macros and hopefully few prototypes,
5321 which can conflict with char $ac_func (); below.
5322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5323 <limits.h> exists even on freestanding compilers. */
5326 # include <limits.h>
5328 # include <assert.h>
5333 /* Override any gcc2 internal prototype to avoid an error. */
5338 /* We use char because int might match the return type of a gcc2
5339 builtin and then its argument prototype would still apply. */
5341 /* The GNU C library defines this for functions which it implements
5342 to always fail with ENOSYS. Some functions are actually named
5343 something starting with __ and the normal name is an alias. */
5344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5347 char (*f) () = $ac_func;
5356 return f != $ac_func;
5361 rm -f conftest.
$ac_objext conftest
$ac_exeext
5362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5363 (eval $ac_link) 2>conftest.er1
5365 grep -v '^ *+' conftest.er1
>conftest.err
5367 cat conftest.err
>&5
5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); } &&
5370 { ac_try
='test -z "$ac_c_werror_flag"
5371 || test ! -s conftest.err'
5372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); }; } &&
5377 { ac_try
='test -s conftest$ac_exeext'
5378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382 (exit $ac_status); }; }; then
5383 eval "$as_ac_var=yes"
5385 echo "$as_me: failed program was:" >&5
5386 sed 's/^/| /' conftest.
$ac_ext >&5
5388 eval "$as_ac_var=no"
5390 rm -f conftest.err conftest.
$ac_objext \
5391 conftest
$ac_exeext conftest.
$ac_ext
5393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5395 if test `eval echo '${'$as_ac_var'}'` = yes; then
5396 cat >>confdefs.h
<<_ACEOF
5397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5404 echo "$as_me:$LINENO: checking for local DB directory" >&5
5405 echo $ECHO_N "checking for local DB directory... $ECHO_C" >&6
5407 # Check whether --with-localdbdir or --without-localdbdir was given.
5408 if test "${with_localdbdir+set}" = set; then
5409 withval
="$with_localdbdir"
5410 localdbdir
="$withval"
5412 localdbdir
="/var/db"
5414 echo "$as_me:$LINENO: result: $localdbdir" >&5
5415 echo "${ECHO_T}$localdbdir" >&6
5419 for ac_func
in arc4random
5421 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5422 echo "$as_me:$LINENO: checking for $ac_func" >&5
5423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5424 if eval "test \"\${$as_ac_var+set}\" = set"; then
5425 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 cat >conftest.
$ac_ext <<_ACEOF
5430 cat confdefs.h
>>conftest.
$ac_ext
5431 cat >>conftest.
$ac_ext <<_ACEOF
5432 /* end confdefs.h. */
5433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5435 #define $ac_func innocuous_$ac_func
5437 /* System header to define __stub macros and hopefully few prototypes,
5438 which can conflict with char $ac_func (); below.
5439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5440 <limits.h> exists even on freestanding compilers. */
5443 # include <limits.h>
5445 # include <assert.h>
5450 /* Override any gcc2 internal prototype to avoid an error. */
5455 /* We use char because int might match the return type of a gcc2
5456 builtin and then its argument prototype would still apply. */
5458 /* The GNU C library defines this for functions which it implements
5459 to always fail with ENOSYS. Some functions are actually named
5460 something starting with __ and the normal name is an alias. */
5461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5464 char (*f) () = $ac_func;
5473 return f != $ac_func;
5478 rm -f conftest.
$ac_objext conftest
$ac_exeext
5479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5480 (eval $ac_link) 2>conftest.er1
5482 grep -v '^ *+' conftest.er1
>conftest.err
5484 cat conftest.err
>&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); } &&
5487 { ac_try
='test -z "$ac_c_werror_flag"
5488 || test ! -s conftest.err'
5489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 (exit $ac_status); }; } &&
5494 { ac_try
='test -s conftest$ac_exeext'
5495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); }; }; then
5500 eval "$as_ac_var=yes"
5502 echo "$as_me: failed program was:" >&5
5503 sed 's/^/| /' conftest.
$ac_ext >&5
5505 eval "$as_ac_var=no"
5507 rm -f conftest.err conftest.
$ac_objext \
5508 conftest
$ac_exeext conftest.
$ac_ext
5510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5512 if test `eval echo '${'$as_ac_var'}'` = yes; then
5513 cat >>confdefs.h
<<_ACEOF
5514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5519 "$ac_func.$ac_objext" | \
5520 *" $ac_func.$ac_objext" | \
5521 "$ac_func.$ac_objext "* | \
5522 *" $ac_func.$ac_objext "* ) ;;
5523 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
5531 echo "$as_me:$LINENO: checking if --enable-pedant option is specified" >&5
5532 echo $ECHO_N "checking if --enable-pedant option is specified... $ECHO_C" >&6
5533 # Check whether --enable-pedant or --disable-pedant was given.
5534 if test "${enable_pedant+set}" = set; then
5535 enableval
="$enable_pedant"
5536 if test "$enableval" = "yes"; then
5537 CFLAGS
="-Wall -Werror $CFLAGS"
5542 echo "$as_me:$LINENO: result: $enableval" >&5
5543 echo "${ECHO_T}$enableval" >&6;
5545 echo "$as_me:$LINENO: checking ANSI predeclared __func__" >&5
5546 echo $ECHO_N "checking ANSI predeclared __func__... $ECHO_C" >&6
5547 cat >conftest.
$ac_ext <<_ACEOF
5550 cat confdefs.h
>>conftest.
$ac_ext
5551 cat >>conftest.
$ac_ext <<_ACEOF
5552 /* end confdefs.h. */
5557 void func(void) {printf("%s\n", __func__);}
5562 rm -f conftest.
$ac_objext
5563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5564 (eval $ac_compile) 2>conftest.er1
5566 grep -v '^ *+' conftest.er1
>conftest.err
5568 cat conftest.err
>&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); } &&
5571 { ac_try
='test -z "$ac_c_werror_flag"
5572 || test ! -s conftest.err'
5573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); }; } &&
5578 { ac_try
='test -s conftest.$ac_objext'
5579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); }; }; then
5584 echo "$as_me:$LINENO: result: yes" >&5
5585 echo "${ECHO_T}yes" >&6
5588 echo "$as_me: failed program was:" >&5
5589 sed 's/^/| /' conftest.
$ac_ext >&5
5591 echo "$as_me:$LINENO: result: no" >&5
5592 echo "${ECHO_T}no" >&6
5595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5596 if test $pred_func_id = no
; then
5597 echo "$as_me:$LINENO: checking gcc predelcared __FUNCTION__" >&5
5598 echo $ECHO_N "checking gcc predelcared __FUNCTION__... $ECHO_C" >&6
5599 cat >conftest.
$ac_ext <<_ACEOF
5602 cat confdefs.h
>>conftest.
$ac_ext
5603 cat >>conftest.
$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5609 void func(void) {printf("%s\n", __FUNCTION__);}
5614 rm -f conftest.
$ac_objext
5615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5616 (eval $ac_compile) 2>conftest.er1
5618 grep -v '^ *+' conftest.er1
>conftest.err
5620 cat conftest.err
>&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } &&
5623 { ac_try
='test -z "$ac_c_werror_flag"
5624 || test ! -s conftest.err'
5625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); }; } &&
5630 { ac_try
='test -s conftest.$ac_objext'
5631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); }; }; then
5636 echo "$as_me:$LINENO: result: yes" >&5
5637 echo "${ECHO_T}yes" >&6
5640 echo "$as_me: failed program was:" >&5
5641 sed 's/^/| /' conftest.
$ac_ext >&5
5643 echo "$as_me:$LINENO: result: no" >&5
5644 echo "${ECHO_T}no" >&6
5647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5649 case $pred_func_id in
5651 cat >>confdefs.h
<<\_ACEOF
5652 #define HAVE_ANSI_FUNC 1
5657 cat >>confdefs.h
<<\_ACEOF
5658 #define HAVE_GCC_FUNCTION 1
5665 echo "$as_me:$LINENO: checking checking the existence TAILQ_FOREACH_REVERSE" >&5
5666 echo $ECHO_N "checking checking the existence TAILQ_FOREACH_REVERSE... $ECHO_C" >&6
5667 cat >conftest.
$ac_ext <<_ACEOF
5670 cat confdefs.h
>>conftest.
$ac_ext
5671 cat >>conftest.
$ac_ext <<_ACEOF
5672 /* end confdefs.h. */
5673 #include <sys/queue.h>
5674 #ifdef TAILQ_FOREACH_REVERSE
5678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5679 $EGREP "yes" >/dev
/null
2>&1; then
5686 echo "$as_me:$LINENO: result: $result" >&5
5687 echo "${ECHO_T}$result" >&6
5689 yes) tailq_foreach
=yes
5695 if test $tailq_foreach = yes ; then
5696 echo "$as_me:$LINENO: checking argument order of TAILQ_FOREACH_REVERSE" >&5
5697 echo $ECHO_N "checking argument order of TAILQ_FOREACH_REVERSE... $ECHO_C" >&6
5698 cat >conftest.
$ac_ext <<_ACEOF
5701 cat confdefs.h
>>conftest.
$ac_ext
5702 cat >>conftest.
$ac_ext <<_ACEOF
5703 /* end confdefs.h. */
5710 #include <sys/queue.h>
5712 TAILQ_HEAD(tailhead, entry) head = TAILQ_HEAD_INITIALIZER(head);
5714 TAILQ_ENTRY(entry) entries;
5718 struct tailhead *headp;
5720 TAILQ_FOREACH_REVERSE(p, headp, tailhead, entries) {
5727 rm -f conftest.
$ac_objext
5728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5729 (eval $ac_compile) 2>conftest.er1
5731 grep -v '^ *+' conftest.er1
>conftest.err
5733 cat conftest.err
>&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); } &&
5736 { ac_try
='test -z "$ac_c_werror_flag"
5737 || test ! -s conftest.err'
5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }; } &&
5743 { ac_try
='test -s conftest.$ac_objext'
5744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }; }; then
5749 echo "$as_me:$LINENO: result: new" >&5
5750 echo "${ECHO_T}new" >&6
5751 cat >>confdefs.h
<<\_ACEOF
5752 #define HAVE_TAILQ_FOREACH_REVERSE 1
5756 echo "$as_me: failed program was:" >&5
5757 sed 's/^/| /' conftest.
$ac_ext >&5
5759 echo "$as_me:$LINENO: result: old" >&5
5760 echo "${ECHO_T}old" >&6
5761 cat >>confdefs.h
<<\_ACEOF
5762 #define HAVE_TAILQ_FOREACH_REVERSE_OLD 1
5766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
5769 echo "$as_me:$LINENO: checking if you have a length field in struct sockaddr*" >&5
5770 echo $ECHO_N "checking if you have a length field in struct sockaddr*... $ECHO_C" >&6
5771 if test "${ts_cv_sa_len+set}" = set; then
5772 echo $ECHO_N "(cached) $ECHO_C" >&6
5774 cat >conftest.
$ac_ext <<_ACEOF
5777 cat confdefs.h
>>conftest.
$ac_ext
5778 cat >>conftest.
$ac_ext <<_ACEOF
5779 /* end confdefs.h. */
5781 #include <sys/types.h>
5782 #include <sys/socket.h>
5795 rm -f conftest.
$ac_objext
5796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5797 (eval $ac_compile) 2>conftest.er1
5799 grep -v '^ *+' conftest.er1
>conftest.err
5801 cat conftest.err
>&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); } &&
5804 { ac_try
='test -z "$ac_c_werror_flag"
5805 || test ! -s conftest.err'
5806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 (exit $ac_status); }; } &&
5811 { ac_try
='test -s conftest.$ac_objext'
5812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 (exit $ac_status); }; }; then
5819 echo "$as_me: failed program was:" >&5
5820 sed 's/^/| /' conftest.
$ac_ext >&5
5824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5827 echo "$as_me:$LINENO: result: $ts_cv_sa_len" >&5
5828 echo "${ECHO_T}$ts_cv_sa_len" >&6;
5829 if test "$ts_cv_sa_len" = yes; then
5831 cat >>confdefs.h
<<\_ACEOF
5832 #define HAVE_SA_LEN 1
5837 echo "$as_me:$LINENO: checking the owner of the programs" >&5
5838 echo $ECHO_N "checking the owner of the programs... $ECHO_C" >&6
5840 # Check whether --with-user or --without-user was given.
5841 if test "${with_user+set}" = set; then
5842 withval
="$with_user"
5847 echo "$as_me:$LINENO: result: $user" >&5
5848 echo "${ECHO_T}$user" >&6
5851 echo "$as_me:$LINENO: checking the group owner of the programs" >&5
5852 echo $ECHO_N "checking the group owner of the programs... $ECHO_C" >&6
5854 # Check whether --with-group or --without-group was given.
5855 if test "${with_group+set}" = set; then
5856 withval
="$with_group"
5861 echo "$as_me:$LINENO: result: $group" >&5
5862 echo "${ECHO_T}$group" >&6
5866 for ac_header
in stdarg.h
5868 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5870 echo "$as_me:$LINENO: checking for $ac_header" >&5
5871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5878 # Is the header compilable?
5879 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5881 cat >conftest.
$ac_ext <<_ACEOF
5884 cat confdefs.h
>>conftest.
$ac_ext
5885 cat >>conftest.
$ac_ext <<_ACEOF
5886 /* end confdefs.h. */
5887 $ac_includes_default
5888 #include <$ac_header>
5890 rm -f conftest.
$ac_objext
5891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5892 (eval $ac_compile) 2>conftest.er1
5894 grep -v '^ *+' conftest.er1
>conftest.err
5896 cat conftest.err
>&5
5897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5898 (exit $ac_status); } &&
5899 { ac_try
='test -z "$ac_c_werror_flag"
5900 || test ! -s conftest.err'
5901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); }; } &&
5906 { ac_try
='test -s conftest.$ac_objext'
5907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); }; }; then
5912 ac_header_compiler
=yes
5914 echo "$as_me: failed program was:" >&5
5915 sed 's/^/| /' conftest.
$ac_ext >&5
5917 ac_header_compiler
=no
5919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5921 echo "${ECHO_T}$ac_header_compiler" >&6
5923 # Is the header present?
5924 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5925 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5926 cat >conftest.
$ac_ext <<_ACEOF
5929 cat confdefs.h
>>conftest.
$ac_ext
5930 cat >>conftest.
$ac_ext <<_ACEOF
5931 /* end confdefs.h. */
5932 #include <$ac_header>
5934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5937 grep -v '^ *+' conftest.er1
>conftest.err
5939 cat conftest.err
>&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); } >/dev
/null
; then
5942 if test -s conftest.err
; then
5943 ac_cpp_err
=$ac_c_preproc_warn_flag
5944 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5951 if test -z "$ac_cpp_err"; then
5952 ac_header_preproc
=yes
5954 echo "$as_me: failed program was:" >&5
5955 sed 's/^/| /' conftest.
$ac_ext >&5
5957 ac_header_preproc
=no
5959 rm -f conftest.err conftest.
$ac_ext
5960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5961 echo "${ECHO_T}$ac_header_preproc" >&6
5963 # So? What about this header?
5964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5966 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5967 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5969 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5970 ac_header_preproc
=yes
5973 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5974 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5975 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5976 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5977 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5978 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5979 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5980 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5982 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5983 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5984 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5987 ## ------------------------------------------ ##
5988 ## Report this to the AC_PACKAGE_NAME lists. ##
5989 ## ------------------------------------------ ##
5992 sed "s/^/$as_me: WARNING: /" >&2
5995 echo "$as_me:$LINENO: checking for $ac_header" >&5
5996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5998 echo $ECHO_N "(cached) $ECHO_C" >&6
6000 eval "$as_ac_Header=\$ac_header_preproc"
6002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6007 cat >>confdefs.h
<<_ACEOF
6008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6016 ac_config_files
="$ac_config_files Makefile"
6017 cat >confcache
<<\_ACEOF
6018 # This file is a shell script that caches the results of configure
6019 # tests run on this system so they can be shared between configure
6020 # scripts and configure runs, see configure's option --config-cache.
6021 # It is not useful on other systems. If it contains results you don't
6022 # want to keep, you may remove or edit it.
6024 # config.status only pays attention to the cache file if you give it
6025 # the --recheck option to rerun configure.
6027 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6028 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6033 # The following way of writing the cache mishandles newlines in values,
6034 # but we know of no workaround that is simple, portable, and efficient.
6035 # So, don't put newlines in cache variables' values.
6036 # Ultrix sh set writes to stderr and can't be redirected directly,
6037 # and sets the high bit in the cache file unless we assign to the vars.
6040 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6042 # `set' does not quote correctly, so add quotes (double-quote
6043 # substitution turns \\\\ into \\, and sed turns \\ into \).
6046 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6049 # `set' quotes correctly as required by POSIX, so do not add quotes.
6051 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6058 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6060 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6062 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6063 if test -w $cache_file; then
6064 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6065 cat confcache
>$cache_file
6067 echo "not updating unwritable cache $cache_file"
6072 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6073 # Let make expand exec_prefix.
6074 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6076 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6077 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6078 # trailing colons and then remove the whole line if VPATH becomes empty
6079 # (actually we leave an empty line to preserve line numbers).
6080 if test "x$srcdir" = x.
; then
6081 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6082 s/:*\$(srcdir):*/:/;
6083 s/:*\${srcdir}:*/:/;
6085 s/^\([^=]*=[ ]*\):*/\1/;
6091 # Transform confdefs.h into DEFS.
6092 # Protect against shell expansion while executing Makefile rules.
6093 # Protect against Makefile macro expansion.
6095 # If the first sed substitution is executed (which looks for macros that
6096 # take arguments), then we branch to the quote section. Otherwise,
6097 # look for a macro that doesn't take arguments.
6098 cat >confdef2opt.
sed <<\_ACEOF
6101 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6103 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6107 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
6113 # We use echo to avoid assuming a particular line-breaking character.
6114 # The extra dot is to prevent the shell from consuming trailing
6115 # line-breaks from the sub-command output. A line-break within
6116 # single-quotes doesn't work because, if this script is created in a
6117 # platform that uses two characters for line-breaks (e.g., DOS), tr
6119 ac_LF_and_DOT=`echo; echo .
`
6120 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
6121 rm -f confdef2opt.sed
6126 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6127 # 1. Remove the extension, and $U if already installed.
6128 ac_i=`echo "$ac_i" |
6129 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6131 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6132 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6136 LTLIBOBJS=$ac_ltlibobjs
6140 : ${CONFIG_STATUS=./config.status}
6141 ac_clean_files_save=$ac_clean_files
6142 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6143 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6144 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6145 cat >$CONFIG_STATUS <<_ACEOF
6147 # Generated by $as_me.
6148 # Run this file to recreate the current configuration.
6149 # Compiler output produced by configure, useful for debugging
6150 # configure, is in config.log if it exists.
6155 SHELL=\${CONFIG_SHELL-$SHELL}
6158 cat >>$CONFIG_STATUS <<\_ACEOF
6159 ## --------------------- ##
6160 ## M4sh Initialization. ##
6161 ## --------------------- ##
6163 # Be Bourne compatible
6164 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6167 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6168 # is contrary to our usage. Disable this feature.
6169 alias -g '${1+"$@"}'='"$@"'
6170 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6173 DUALCASE=1; export DUALCASE # for MKS sh
6175 # Support unset when possible.
6176 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6183 # Work around bugs in pre-3.0 UWIN ksh.
6184 $as_unset ENV MAIL MAILPATH
6191 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6192 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6193 LC_TELEPHONE LC_TIME
6195 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
6196 eval $as_var=C; export $as_var
6202 # Required to use basename.
6203 if expr a : '\(a\)' >/dev/null 2>&1; then
6209 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6210 as_basename=basename
6216 # Name of the executable.
6217 as_me=`$as_basename "$0" ||
6218 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6219 X
"$0" : 'X\(//\)$' \| \
6220 X
"$0" : 'X\(/\)$' \| \
6221 .
: '\(.\)' 2>/dev
/null ||
6223 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6224 /^X\/\(\/\/\)$/{ s//\1/; q; }
6225 /^X\/\(\/\).*/{ s//\1/; q; }
6229 # PATH needs CR, and LINENO needs CR and PATH.
6230 # Avoid depending upon Character Ranges.
6231 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6232 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6233 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6234 as_cr_digits='0123456789'
6235 as_cr_alnum=$as_cr_Letters$as_cr_digits
6237 # The user is always right.
6238 if test "${PATH_SEPARATOR+set}" != set; then
6239 echo "#! /bin/sh" >conf$$.sh
6240 echo "exit 0" >>conf$$.sh
6242 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6253 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
6254 test "x$as_lineno_1" != "x$as_lineno_2" &&
6255 test "x$as_lineno_3" = "x$as_lineno_2" || {
6256 # Find who we are. Look in the path if we contain no path at all
6259 *[\\/]* ) as_myself=$0 ;;
6260 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 test -z "$as_dir" && as_dir=.
6265 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6270 # We did not find ourselves, most probably we were run as `sh COMMAND
'
6271 # in which case we are not to be found in the path.
6272 if test "x$as_myself" = x; then
6275 if test ! -f "$as_myself"; then
6276 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6277 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6278 { (exit 1); exit 1; }; }
6280 case $CONFIG_SHELL in
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6283 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6286 test -z "$as_dir" && as_dir=.
6287 for as_base in sh bash ksh sh5; do
6290 if ("$as_dir/$as_base" -c '
6293 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6294 test "x$as_lineno_1" != "x$as_lineno_2" &&
6295 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6296 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6297 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6298 CONFIG_SHELL=$as_dir/$as_base
6300 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6308 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6309 # uniformly replaced by the line number. The first 'sed' inserts a
6310 # line-number line before each line; the second 'sed' does the real
6311 # work. The second script uses 'N
' to pair each line-number line
6312 # with the numbered line, and appends trailing '-' during
6313 # substitution so that $LINENO is not a special case at line end.
6314 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6315 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
6316 sed '=' <$as_myself |
6321 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6324 s,^['$as_cr_digits']*\n,,
6326 chmod +x
$as_me.lineno ||
6327 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6328 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6329 { (exit 1); exit 1; }; }
6331 # Don't try to exec as it changes $[0], causing all sort of problems
6332 # (the dirname of $[0] is not the place where we might find the
6333 # original and so on. Autoconf is especially sensible to this).
6335 # Exit status is that of the last command.
6340 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6341 *c
*,-n*) ECHO_N
= ECHO_C
='
6343 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6344 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6347 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6353 rm -f conf$$ conf$$.exe conf$$.
file
6355 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6356 # We could just check for DJGPP; but this test a) works b) is more generic
6357 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6358 if test -f conf$$.exe
; then
6359 # Don't use ln at all; we don't have any links
6364 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6369 rm -f conf$$ conf$$.exe conf$$.
file
6371 if mkdir
-p .
2>/dev
/null
; then
6374 test -d .
/-p && rmdir .
/-p
6378 as_executable_p
="test -f"
6380 # Sed expression to map a string onto a valid CPP name.
6381 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6383 # Sed expression to map a string onto a valid variable name.
6384 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6388 # We need space, tab and new line, in precisely that order.
6398 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6399 # report actual input values of CONFIG_FILES etc. instead of their
6400 # values after options handling. Logging --version etc. is OK.
6404 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6405 ## Running $as_me. ##
6410 This file was extended by $as_me, which was
6411 generated by GNU Autoconf 2.59. Invocation command line was
6413 CONFIG_FILES = $CONFIG_FILES
6414 CONFIG_HEADERS = $CONFIG_HEADERS
6415 CONFIG_LINKS = $CONFIG_LINKS
6416 CONFIG_COMMANDS = $CONFIG_COMMANDS
6420 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6424 # Files that config.status was made for.
6425 if test -n "$ac_config_files"; then
6426 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6429 if test -n "$ac_config_headers"; then
6430 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6433 if test -n "$ac_config_links"; then
6434 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6437 if test -n "$ac_config_commands"; then
6438 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6441 cat >>$CONFIG_STATUS <<\_ACEOF
6444 \`$as_me' instantiates files from templates according to the
6445 current configuration.
6447 Usage: $0 [OPTIONS] [FILE]...
6449 -h, --help print this help, then exit
6450 -V, --version print version number, then exit
6451 -q, --quiet do not print progress messages
6452 -d, --debug don't remove temporary files
6453 --recheck update $as_me by reconfiguring in the same conditions
6454 --file=FILE[:TEMPLATE]
6455 instantiate the configuration file FILE
6457 Configuration files:
6460 Report bugs to <bug-autoconf@gnu.org>."
6463 cat >>$CONFIG_STATUS <<_ACEOF
6466 configured by $0, generated by GNU Autoconf 2.59,
6467 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6469 Copyright (C) 2003 Free Software Foundation, Inc.
6470 This config.status script is free software; the Free Software Foundation
6471 gives unlimited permission to copy, distribute and modify it."
6476 cat >>$CONFIG_STATUS <<\_ACEOF
6477 # If no file are specified by the user, then we need to provide default
6478 # value. By we need to know if files were specified by the user.
6484 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6485 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6493 *) # This is not an option, so the user has probably given explicit
6496 ac_need_defaults
=false
;;
6500 # Handling of the options.
6502 cat >>$CONFIG_STATUS <<\_ACEOF
6503 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6505 --version |
--vers* |
-V )
6506 echo "$ac_cs_version"; exit 0 ;;
6508 # Conflict between --help and --header
6509 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6510 Try \`$0 --help' for more information." >&5
6511 echo "$as_me: error: ambiguous option: $1
6512 Try \`$0 --help' for more information." >&2;}
6513 { (exit 1); exit 1; }; };;
6514 --help |
--hel |
-h )
6515 echo "$ac_cs_usage"; exit 0 ;;
6516 --debug |
--d* |
-d )
6518 --file |
--fil |
--fi |
--f )
6520 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6521 ac_need_defaults
=false
;;
6522 --header |
--heade |
--head |
--hea )
6524 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6525 ac_need_defaults
=false
;;
6526 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6527 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6531 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6532 Try \`$0 --help' for more information." >&5
6533 echo "$as_me: error: unrecognized option: $1
6534 Try \`$0 --help' for more information." >&2;}
6535 { (exit 1); exit 1; }; } ;;
6537 *) ac_config_targets
="$ac_config_targets $1" ;;
6543 ac_configure_extra_args
=
6545 if $ac_cs_silent; then
6547 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6551 cat >>$CONFIG_STATUS <<_ACEOF
6552 if \$ac_cs_recheck; then
6553 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6554 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6563 cat >>$CONFIG_STATUS <<\_ACEOF
6564 for ac_config_target
in $ac_config_targets
6566 case "$ac_config_target" in
6567 # Handling of arguments.
6568 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6569 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6570 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6571 { (exit 1); exit 1; }; };;
6575 # If the user did not use the arguments to specify the items to instantiate,
6576 # then the envvar interface is used. Set only those that are not.
6577 # We use the long form for the default assignment because of an extremely
6578 # bizarre bug on SunOS 4.1.3.
6579 if $ac_need_defaults; then
6580 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6583 # Have a temporary directory for convenience. Make it in the build tree
6584 # simply because there is no reason to put it here, and in addition,
6585 # creating and moving files from /tmp can sometimes cause problems.
6586 # Create a temporary directory, and hook for its removal unless debugging.
6589 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6590 trap '{ (exit 1); exit 1; }' 1 2 13 15
6593 # Create a (secure) tmp directory for tmp files.
6596 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6597 test -n "$tmp" && test -d "$tmp"
6600 tmp
=.
/confstat$$
-$RANDOM
6601 (umask 077 && mkdir
$tmp)
6604 echo "$me: cannot create a temporary directory in ." >&2
6605 { (exit 1); exit 1; }
6610 cat >>$CONFIG_STATUS <<_ACEOF
6613 # CONFIG_FILES section.
6616 # No need to generate the scripts if there are no CONFIG_FILES.
6617 # This happens for instance when ./config.status config.h
6618 if test -n "\$CONFIG_FILES"; then
6619 # Protect against being on the right side of a sed subst in config.status.
6620 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6621 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6622 s,@SHELL@,$SHELL,;t t
6623 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6624 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6625 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6626 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6627 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6628 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6629 s,@exec_prefix@,$exec_prefix,;t t
6630 s,@prefix@,$prefix,;t t
6631 s,@program_transform_name@,$program_transform_name,;t t
6632 s,@bindir@,$bindir,;t t
6633 s,@sbindir@,$sbindir,;t t
6634 s,@libexecdir@,$libexecdir,;t t
6635 s,@datadir@,$datadir,;t t
6636 s,@sysconfdir@,$sysconfdir,;t t
6637 s,@sharedstatedir@,$sharedstatedir,;t t
6638 s,@localstatedir@,$localstatedir,;t t
6639 s,@libdir@,$libdir,;t t
6640 s,@includedir@,$includedir,;t t
6641 s,@oldincludedir@,$oldincludedir,;t t
6642 s,@infodir@,$infodir,;t t
6643 s,@mandir@,$mandir,;t t
6644 s,@build_alias@,$build_alias,;t t
6645 s,@host_alias@,$host_alias,;t t
6646 s,@target_alias@,$target_alias,;t t
6648 s,@ECHO_C@,$ECHO_C,;t t
6649 s,@ECHO_N@,$ECHO_N,;t t
6650 s,@ECHO_T@,$ECHO_T,;t t
6652 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6653 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6654 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6655 s,@SET_MAKE@,$SET_MAKE,;t t
6657 s,@CFLAGS@,$CFLAGS,;t t
6658 s,@LDFLAGS@,$LDFLAGS,;t t
6659 s,@CPPFLAGS@,$CPPFLAGS,;t t
6660 s,@ac_ct_CC@,$ac_ct_CC,;t t
6661 s,@EXEEXT@,$EXEEXT,;t t
6662 s,@OBJEXT@,$OBJEXT,;t t
6666 s,@LEXLIB@,$LEXLIB,;t t
6667 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
6668 s,@EGREP@,$EGREP,;t t
6669 s,@LIBOBJS@,$LIBOBJS,;t t
6670 s,@localdbdir@,$localdbdir,;t t
6672 s,@group@,$group,;t t
6673 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6678 cat >>$CONFIG_STATUS <<\_ACEOF
6679 # Split the substitutions into bite-sized pieces for seds with
6680 # small command number limits, like on Digital OSF/1 and HP-UX.
6682 ac_sed_frag
=1 # Number of current file.
6683 ac_beg
=1 # First line for current file.
6684 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6687 while $ac_more_lines; do
6688 if test $ac_beg -gt 1; then
6689 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6691 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6693 if test ! -s $tmp/subs.frag
; then
6696 # The purpose of the label and of the branching condition is to
6697 # speed up the sed processing (if there are no `@' at all, there
6698 # is no need to browse any of the substitutions).
6699 # These are the two extra sed commands mentioned above.
6701 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6702 if test -z "$ac_sed_cmds"; then
6703 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6705 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6707 ac_sed_frag
=`expr $ac_sed_frag + 1`
6709 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6712 if test -z "$ac_sed_cmds"; then
6715 fi # test -n "$CONFIG_FILES"
6718 cat >>$CONFIG_STATUS <<\_ACEOF
6719 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6720 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6722 - |
*:- |
*:-:* ) # input from stdin
6724 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6725 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6726 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6727 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6728 * ) ac_file_in
=$ac_file.
in ;;
6731 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6732 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6733 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6734 X"$ac_file" : 'X\(//\)[^/]' \| \
6735 X"$ac_file" : 'X\(//\)$' \| \
6736 X"$ac_file" : 'X\(/\)' \| \
6737 . : '\(.\)' 2>/dev/null ||
6739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6740 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6741 /^X\(\/\/\)$/{ s//\1/; q; }
6742 /^X\(\/\).*/{ s//\1/; q; }
6744 { if $as_mkdir_p; then
6749 while test ! -d "$as_dir"; do
6750 as_dirs
="$as_dir $as_dirs"
6751 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6752 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6753 X"$as_dir" : 'X\(//\)[^/]' \| \
6754 X"$as_dir" : 'X\(//\)$' \| \
6755 X"$as_dir" : 'X\(/\)' \| \
6756 . : '\(.\)' 2>/dev/null ||
6758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6759 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6760 /^X\(\/\/\)$/{ s//\1/; q; }
6761 /^X\(\/\).*/{ s//\1/; q; }
6764 test ! -n "$as_dirs" || mkdir
$as_dirs
6765 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6766 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6767 { (exit 1); exit 1; }; }; }
6771 if test "$ac_dir" != .
; then
6772 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6773 # A "../" for each directory in $ac_dir_suffix.
6774 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6776 ac_dir_suffix
= ac_top_builddir
=
6780 .
) # No --srcdir option. We are building in place.
6782 if test -z "$ac_top_builddir"; then
6785 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6787 [\\/]* | ?
:[\\/]* ) # Absolute path.
6788 ac_srcdir
=$srcdir$ac_dir_suffix;
6789 ac_top_srcdir
=$srcdir ;;
6791 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6792 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6795 # Do not use `cd foo && pwd` to compute absolute paths, because
6796 # the directories may not exist.
6798 .
) ac_abs_builddir
="$ac_dir";;
6801 .
) ac_abs_builddir
=`pwd`;;
6802 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6803 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6806 case $ac_abs_builddir in
6807 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6809 case ${ac_top_builddir}.
in
6810 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6811 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6812 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6815 case $ac_abs_builddir in
6816 .
) ac_abs_srcdir
=$ac_srcdir;;
6819 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6820 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6821 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6824 case $ac_abs_builddir in
6825 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6827 case $ac_top_srcdir in
6828 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6829 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6830 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6836 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6837 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6840 if test x
"$ac_file" != x-
; then
6841 { echo "$as_me:$LINENO: creating $ac_file" >&5
6842 echo "$as_me: creating $ac_file" >&6;}
6845 # Let's still pretend it is `configure' which instantiates (i.e., don't
6846 # use $as_me), people would be surprised to read:
6847 # /* config.h. Generated by config.status. */
6848 if test x
"$ac_file" = x-
; then
6851 configure_input
="$ac_file. "
6853 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6854 sed 's,.*/,,'` by configure."
6856 # First look for the input files in the build tree, otherwise in the
6858 ac_file_inputs
=`IFS=:
6859 for f in $ac_file_in; do
6861 -) echo $tmp/stdin ;;
6863 # Absolute (can't be DOS-style, as IFS=:)
6864 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6865 echo "$as_me: error: cannot find input file: $f" >&2;}
6866 { (exit 1); exit 1; }; }
6869 if test -f "$f"; then
6872 elif test -f "$srcdir/$f"; then
6877 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6878 echo "$as_me: error: cannot find input file: $f" >&2;}
6879 { (exit 1); exit 1; }; }
6882 done` ||
{ (exit 1); exit 1; }
6884 cat >>$CONFIG_STATUS <<_ACEOF
6888 cat >>$CONFIG_STATUS <<\_ACEOF
6890 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6891 s
,@configure_input@
,$configure_input,;t t
6892 s
,@srcdir@
,$ac_srcdir,;t t
6893 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6894 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6895 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6896 s
,@builddir@
,$ac_builddir,;t t
6897 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6898 s
,@top_builddir@
,$ac_top_builddir,;t t
6899 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6900 s
,@INSTALL@
,$ac_INSTALL,;t t
6901 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6903 if test x"$ac_file" != x-; then
6904 mv $tmp/out $ac_file
6913 cat >>$CONFIG_STATUS <<\_ACEOF
6915 { (exit 0); exit 0; }
6917 chmod +x $CONFIG_STATUS
6918 ac_clean_files=$ac_clean_files_save
6921 # configure is writing to config.log, and then calls config.status.
6922 # config.status does its own redirection, appending to config.log.
6923 # Unfortunately, on DOS this fails, as config.log is still kept open
6924 # by configure, so config.status won't be able to write to it; its
6925 # output is simply discarded. So we exec the FD to /dev/null,
6926 # effectively closing config.log, so it can be properly (re)opened and
6927 # appended to by config.status. When coming back to configure, we
6928 # need to make the FD available again.
6929 if test "$no_create" != yes; then
6931 ac_config_status_args=
6932 test "$silent" = yes &&
6933 ac_config_status_args="$ac_config_status_args --quiet"
6935 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6937 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6938 # would make configure fail if this is the last instruction.
6939 $ac_cs_success || { (exit 1); exit 1; }