2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for GNU coreutils 4.5.9.
5 # Report bugs to <bug-coreutils@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
26 # Support unset when possible.
27 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
226 as_executable_p
="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix
=/usr
/local
256 ac_config_libobj_dir
=.
261 SHELL
=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
269 PACKAGE_NAME
='GNU coreutils'
270 PACKAGE_TARNAME
='coreutils'
271 PACKAGE_VERSION
='4.5.9'
272 PACKAGE_STRING
='GNU coreutils 4.5.9'
273 PACKAGE_BUGREPORT
='bug-coreutils@gnu.org'
275 ac_unique_file
="src/ls.c"
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_config_libobj_dir
=lib
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot PERL CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP RANLIB ac_ct_RANLIB GNU_PACKAGE HELP2MAN OPTIONAL_BIN_PROGS OPTIONAL_BIN_ZCRIPTS MAN DF_PROG U ANSI2KNR LIBOBJS ALLOCA YACC LIB_NANOSLEEP NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS LIB_CLOCK_GETTIME POW_LIB SEQ_LIBM GLIBC21 LIBICONV LTLIBICONV SQRT_LIBM FESETROUND_LIBM LIB_CRYPT MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE USE_NLS INTLLIBS LIBINTL LTLIBINTL POSUB LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures GNU coreutils 4.5.9 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --program-prefix=PREFIX prepend PREFIX to installed program names
838 --program-suffix=SUFFIX append SUFFIX to installed program names
839 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
842 --build=BUILD configure
for building on BUILD
[guessed
]
843 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
847 if test -n "$ac_init_help"; then
848 case $ac_init_help in
849 short | recursive
) echo "Configuration of GNU coreutils 4.5.9:";;
854 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
855 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
856 --disable-dependency-tracking Speeds up one-time builds
857 --enable-dependency-tracking Do not reject slow dependency extractors
858 --disable-largefile omit support
for large files
859 --disable-assert turn off assertions
860 --disable-rpath do not hardcode runtime library paths
861 --disable-nls do not use Native Language Support
864 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
865 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
866 --without-included-regex don
't compile regex; this is the default on
867 systems with version 2 of the GNU C library
868 (use with caution on other system)
869 --with-gnu-ld assume the C compiler uses GNU ld default=no
870 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
871 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
872 --with-libintl-prefix=DIR search
for libintl
in DIR
/include and DIR
/lib
873 --without-libintl-prefix don
't search for libintl in includedir and libdir
875 Some influential environment variables:
876 CC C compiler command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
879 nonstandard directory <lib dir>
880 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
881 headers in a nonstandard directory <include dir>
884 Use these variables to override the choices made by `configure' or to
help
885 it to
find libraries and programs with nonstandard names
/locations.
887 Report bugs to
<bug-coreutils@gnu.org
>.
891 if test "$ac_init_help" = "recursive"; then
892 # If there are subdirs, report their specific --help.
894 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
895 test -d $ac_dir ||
continue
898 if test "$ac_dir" != .
; then
899 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
900 # A "../" for each directory in $ac_dir_suffix.
901 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
903 ac_dir_suffix
= ac_top_builddir
=
907 .
) # No --srcdir option. We are building in place.
909 if test -z "$ac_top_builddir"; then
912 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
914 [\\/]* | ?
:[\\/]* ) # Absolute path.
915 ac_srcdir
=$srcdir$ac_dir_suffix;
916 ac_top_srcdir
=$srcdir ;;
918 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
919 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
921 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
923 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
924 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
925 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
926 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
929 # Check for guested configure; otherwise get Cygnus style configure.
930 if test -f $ac_srcdir/configure.gnu
; then
932 $SHELL $ac_srcdir/configure.gnu
--help=recursive
933 elif test -f $ac_srcdir/configure
; then
935 $SHELL $ac_srcdir/configure
--help=recursive
936 elif test -f $ac_srcdir/configure.ac ||
937 test -f $ac_srcdir/configure.
in; then
941 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
947 test -n "$ac_init_help" && exit 0
948 if $ac_init_version; then
950 GNU coreutils configure
4.5.9
951 generated by GNU Autoconf
2.57
953 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
954 Free Software Foundation
, Inc.
955 This configure
script is free software
; the Free Software Foundation
956 gives unlimited permission to copy
, distribute and modify it.
962 This file contains any messages produced by compilers while
963 running configure, to aid debugging if configure makes a mistake.
965 It was created by GNU coreutils $as_me 4.5.9, which was
966 generated by GNU Autoconf 2.57. Invocation command line was
977 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
978 uname -m = `(uname -m) 2>/dev/null || echo unknown`
979 uname -r = `(uname -r) 2>/dev/null || echo unknown`
980 uname -s = `(uname -s) 2>/dev/null || echo unknown`
981 uname -v = `(uname -v) 2>/dev/null || echo unknown`
983 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
984 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
986 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
987 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
988 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
989 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
990 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
991 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
992 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1000 test -z "$as_dir" && as_dir
=.
1001 echo "PATH: $as_dir"
1016 # Keep a trace of the command line.
1017 # Strip out --no-create and --no-recursion so they do not pile up.
1018 # Strip out --silent because we don't want to record it for future runs.
1019 # Also quote any args containing shell meta-characters.
1020 # Make two passes to allow for proper duplicate-argument suppression.
1025 ac_must_keep_next
=false
1031 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1032 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1033 |
-silent |
--silent |
--silen |
--sile |
--sil)
1035 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1036 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1039 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1041 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1042 if test $ac_must_keep_next = true
; then
1043 ac_must_keep_next
=false
# Got value, back to normal.
1046 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1047 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1048 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1049 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1050 case "$ac_configure_args0 " in
1051 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1054 -* ) ac_must_keep_next
=true
;;
1057 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1058 # Get rid of the leading space.
1064 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1065 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1067 # When interrupted or exit'd, cleanup temporary files, and complete
1068 # config.log. We remove comments because anyway the quotes in there
1069 # would cause problems or look ugly.
1070 # WARNING: Be sure not to use single quotes in there, as some shells,
1071 # such as our DU 5.0 friend, will then `close' the trap.
1072 trap 'exit_status=$?
1073 # Save into config.log some information that might help in debugging.
1078 ## ---------------- ##
1079 ## Cache variables. ##
1080 ## ---------------- ##
1083 # The following way of writing the cache mishandles newlines in values,
1086 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1089 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1090 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1094 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1101 ## ----------------- ##
1102 ## Output variables. ##
1103 ## ----------------- ##
1106 for ac_var in $ac_subst_vars
1108 eval ac_val=$`echo $ac_var`
1109 echo "$ac_var='"'"'$ac_val'"'"'"
1113 if test -n "$ac_subst_files"; then
1120 for ac_var in $ac_subst_files
1122 eval ac_val=$`echo $ac_var`
1123 echo "$ac_var='"'"'$ac_val'"'"'"
1128 if test -s confdefs.h; then
1135 sed "/^$/d" confdefs.h | sort
1138 test "$ac_signal" != 0 &&
1139 echo "$as_me: caught signal $ac_signal"
1140 echo "$as_me: exit $exit_status"
1142 rm -f core core.* *.core &&
1143 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1146 for ac_signal
in 1 2 13 15; do
1147 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1151 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1152 rm -rf conftest
* confdefs.h
1153 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1156 # Predefined preprocessor variables.
1158 cat >>confdefs.h
<<_ACEOF
1159 #define PACKAGE_NAME "$PACKAGE_NAME"
1163 cat >>confdefs.h
<<_ACEOF
1164 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1168 cat >>confdefs.h
<<_ACEOF
1169 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1173 cat >>confdefs.h
<<_ACEOF
1174 #define PACKAGE_STRING "$PACKAGE_STRING"
1178 cat >>confdefs.h
<<_ACEOF
1179 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1183 # Let the site file select an alternate cache file if it wants to.
1184 # Prefer explicitly selected file to automatically selected ones.
1185 if test -z "$CONFIG_SITE"; then
1186 if test "x$prefix" != xNONE
; then
1187 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1189 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1192 for ac_site_file
in $CONFIG_SITE; do
1193 if test -r "$ac_site_file"; then
1194 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1195 echo "$as_me: loading site script $ac_site_file" >&6;}
1196 sed 's/^/| /' "$ac_site_file" >&5
1201 if test -r "$cache_file"; then
1202 # Some versions of bash will fail to source /dev/null (special
1203 # files actually), so we avoid doing that.
1204 if test -f "$cache_file"; then
1205 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1206 echo "$as_me: loading cache $cache_file" >&6;}
1208 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1209 *) . .
/$cache_file;;
1213 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1214 echo "$as_me: creating cache $cache_file" >&6;}
1218 # Check that the precious variables saved in the cache have kept the same
1220 ac_cache_corrupted
=false
1221 for ac_var
in `(set) 2>&1 |
1222 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1223 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1224 eval ac_new_set
=\
$ac_env_${ac_var}_set
1225 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1226 eval ac_new_val
="\$ac_env_${ac_var}_value"
1227 case $ac_old_set,$ac_new_set in
1229 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1230 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1231 ac_cache_corrupted
=: ;;
1233 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1234 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1235 ac_cache_corrupted
=: ;;
1238 if test "x$ac_old_val" != "x$ac_new_val"; then
1239 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1240 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1241 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1242 echo "$as_me: former value: $ac_old_val" >&2;}
1243 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1244 echo "$as_me: current value: $ac_new_val" >&2;}
1245 ac_cache_corrupted
=:
1248 # Pass precious variables to config.status.
1249 if test "$ac_new_set" = set; then
1251 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1252 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1253 *) ac_arg
=$ac_var=$ac_new_val ;;
1255 case " $ac_configure_args " in
1256 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1257 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1261 if $ac_cache_corrupted; then
1262 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1263 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1264 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1265 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1266 { (exit 1); exit 1; }; }
1270 ac_cpp
='$CPP $CPPFLAGS'
1271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1304 for ac_dir
in config
$srcdir/config
; do
1305 if test -f $ac_dir/install-sh
; then
1307 ac_install_sh
="$ac_aux_dir/install-sh -c"
1309 elif test -f $ac_dir/install.sh
; then
1311 ac_install_sh
="$ac_aux_dir/install.sh -c"
1313 elif test -f $ac_dir/shtool
; then
1315 ac_install_sh
="$ac_aux_dir/shtool install -c"
1319 if test -z "$ac_aux_dir"; then
1320 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1321 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1322 { (exit 1); exit 1; }; }
1324 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1325 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1326 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1328 ac_config_headers
="$ac_config_headers config.h:config.hin"
1330 # Make sure we can run config.sub.
1331 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1332 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1333 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1334 { (exit 1); exit 1; }; }
1336 echo "$as_me:$LINENO: checking build system type" >&5
1337 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1338 if test "${ac_cv_build+set}" = set; then
1339 echo $ECHO_N "(cached) $ECHO_C" >&6
1341 ac_cv_build_alias
=$build_alias
1342 test -z "$ac_cv_build_alias" &&
1343 ac_cv_build_alias
=`$ac_config_guess`
1344 test -z "$ac_cv_build_alias" &&
1345 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1346 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1347 { (exit 1); exit 1; }; }
1348 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1349 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1350 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1351 { (exit 1); exit 1; }; }
1354 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1355 echo "${ECHO_T}$ac_cv_build" >&6
1357 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1358 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1359 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1362 echo "$as_me:$LINENO: checking host system type" >&5
1363 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1364 if test "${ac_cv_host+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 ac_cv_host_alias
=$host_alias
1368 test -z "$ac_cv_host_alias" &&
1369 ac_cv_host_alias
=$ac_cv_build_alias
1370 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1371 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1372 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1373 { (exit 1); exit 1; }; }
1376 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1377 echo "${ECHO_T}$ac_cv_host" >&6
1379 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1380 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1381 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1385 am__api_version
="1.7"
1386 # Find a good install program. We prefer a C program (faster),
1387 # so one script is as good as another. But avoid the broken or
1388 # incompatible versions:
1389 # SysV /etc/install, /usr/sbin/install
1390 # SunOS /usr/etc/install
1391 # IRIX /sbin/install
1393 # AmigaOS /C/install, which installs bootblocks on floppy discs
1394 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1395 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1396 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1397 # ./install, which can be erroneously created by make from ./install.sh.
1398 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1399 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1400 if test -z "$INSTALL"; then
1401 if test "${ac_cv_path_install+set}" = set; then
1402 echo $ECHO_N "(cached) $ECHO_C" >&6
1404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1408 test -z "$as_dir" && as_dir
=.
1409 # Account for people who put trailing slashes in PATH elements.
1411 .
/ | .
// |
/cC
/* | \
1412 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1415 # OSF1 and SCO ODT 3.0 have their own names for install.
1416 # Don't use installbsd from OSF since it installs stuff as root
1418 for ac_prog
in ginstall scoinst
install; do
1419 for ac_exec_ext
in '' $ac_executable_extensions; do
1420 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1421 if test $ac_prog = install &&
1422 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1423 # AIX install. It has an incompatible calling convention.
1425 elif test $ac_prog = install &&
1426 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1427 # program-specific install script used by HP pwplus--don't use.
1430 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1442 if test "${ac_cv_path_install+set}" = set; then
1443 INSTALL
=$ac_cv_path_install
1445 # As a last resort, use the slow shell script. We don't cache a
1446 # path for INSTALL within a source directory, because that will
1447 # break other packages using the cache if that directory is
1448 # removed, or if the path is relative.
1449 INSTALL
=$ac_install_sh
1452 echo "$as_me:$LINENO: result: $INSTALL" >&5
1453 echo "${ECHO_T}$INSTALL" >&6
1455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1456 # It thinks the first close brace ends the variable substitution.
1457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1461 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1463 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1464 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1467 echo timestamp
> conftest.
file
1468 # Do `set' in a subshell so we don't clobber the current shell's
1469 # arguments. Must try -L first in case configure is actually a
1470 # symlink; some systems play weird games with the mod time of symlinks
1471 # (eg FreeBSD returns the mod time of the symlink's containing
1474 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1475 if test "$*" = "X"; then
1477 set X
`ls -t $srcdir/configure conftest.file`
1480 if test "$*" != "X $srcdir/configure conftest.file" \
1481 && test "$*" != "X conftest.file $srcdir/configure"; then
1483 # If neither matched, then we have a broken ls. This can happen
1484 # if, for instance, CONFIG_SHELL is bash and it inherits a
1485 # broken ls alias from the environment. This has actually
1486 # happened. Such a system could not be considered "sane".
1487 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1488 alias in your environment" >&5
1489 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1490 alias in your environment" >&2;}
1491 { (exit 1); exit 1; }; }
1494 test "$2" = conftest.
file
1500 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1501 Check your system clock" >&5
1502 echo "$as_me: error: newly created file is older than distributed files!
1503 Check your system clock" >&2;}
1504 { (exit 1); exit 1; }; }
1506 echo "$as_me:$LINENO: result: yes" >&5
1507 echo "${ECHO_T}yes" >&6
1508 test "$program_prefix" != NONE
&&
1509 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1510 # Use a double $ so make ignores it.
1511 test "$program_suffix" != NONE
&&
1512 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1513 # Double any \ or $. echo might interpret backslashes.
1514 # By default was `s,x,x', remove it if useless.
1515 cat <<\_ACEOF
>conftest.
sed
1516 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1518 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1522 # expand $ac_aux_dir to an absolute path
1523 am_aux_dir
=`cd $ac_aux_dir && pwd`
1525 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1526 # Use eval to expand $SHELL
1527 if eval "$MISSING --run true"; then
1528 am_missing_run
="$MISSING --run "
1531 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1532 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1535 for ac_prog
in gawk mawk nawk
awk
1537 # Extract the first word of "$ac_prog", so it can be a program name with args.
1538 set dummy
$ac_prog; ac_word
=$2
1539 echo "$as_me:$LINENO: checking for $ac_word" >&5
1540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1541 if test "${ac_cv_prog_AWK+set}" = set; then
1542 echo $ECHO_N "(cached) $ECHO_C" >&6
1544 if test -n "$AWK"; then
1545 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1551 test -z "$as_dir" && as_dir
=.
1552 for ac_exec_ext
in '' $ac_executable_extensions; do
1553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1554 ac_cv_prog_AWK
="$ac_prog"
1555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1564 if test -n "$AWK"; then
1565 echo "$as_me:$LINENO: result: $AWK" >&5
1566 echo "${ECHO_T}$AWK" >&6
1568 echo "$as_me:$LINENO: result: no" >&5
1569 echo "${ECHO_T}no" >&6
1572 test -n "$AWK" && break
1575 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1576 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1577 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1578 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1581 cat >conftest.
make <<\_ACEOF
1583 @
echo 'ac_maketemp="$(MAKE)"'
1585 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1586 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1587 if test -n "$ac_maketemp"; then
1588 eval ac_cv_prog_make_
${ac_make}_set
=yes
1590 eval ac_cv_prog_make_
${ac_make}_set
=no
1594 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1595 echo "$as_me:$LINENO: result: yes" >&5
1596 echo "${ECHO_T}yes" >&6
1599 echo "$as_me:$LINENO: result: no" >&5
1600 echo "${ECHO_T}no" >&6
1601 SET_MAKE
="MAKE=${MAKE-make}"
1604 rm -rf .tst
2>/dev
/null
1605 mkdir .tst
2>/dev
/null
1606 if test -d .tst
; then
1611 rmdir .tst
2>/dev
/null
1613 # test to see if srcdir already configured
1614 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1615 test -f $srcdir/config.status
; then
1616 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1617 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1618 { (exit 1); exit 1; }; }
1621 # test whether we have cygpath
1622 if test -z "$CYGPATH_W"; then
1623 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1624 CYGPATH_W
='cygpath -w'
1631 # Define the identity of the package.
1636 cat >>confdefs.h
<<_ACEOF
1637 #define PACKAGE "$PACKAGE"
1641 cat >>confdefs.h
<<_ACEOF
1642 #define VERSION "$VERSION"
1645 # Some tools Automake needs.
1647 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1650 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1653 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1656 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1659 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1662 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1664 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1666 # Installed binaries are usually stripped using `strip' when the user
1667 # run `make install-strip'. However `strip' might not be the right
1668 # tool to use in cross-compilation environments, therefore Automake
1669 # will honor the `STRIP' environment variable to overrule this program.
1670 if test "$cross_compiling" != no
; then
1671 if test -n "$ac_tool_prefix"; then
1672 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1673 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1674 echo "$as_me:$LINENO: checking for $ac_word" >&5
1675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1676 if test "${ac_cv_prog_STRIP+set}" = set; then
1677 echo $ECHO_N "(cached) $ECHO_C" >&6
1679 if test -n "$STRIP"; then
1680 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1686 test -z "$as_dir" && as_dir
=.
1687 for ac_exec_ext
in '' $ac_executable_extensions; do
1688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1689 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1698 STRIP
=$ac_cv_prog_STRIP
1699 if test -n "$STRIP"; then
1700 echo "$as_me:$LINENO: result: $STRIP" >&5
1701 echo "${ECHO_T}$STRIP" >&6
1703 echo "$as_me:$LINENO: result: no" >&5
1704 echo "${ECHO_T}no" >&6
1708 if test -z "$ac_cv_prog_STRIP"; then
1710 # Extract the first word of "strip", so it can be a program name with args.
1711 set dummy strip
; ac_word
=$2
1712 echo "$as_me:$LINENO: checking for $ac_word" >&5
1713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1715 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 if test -n "$ac_ct_STRIP"; then
1718 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1724 test -z "$as_dir" && as_dir
=.
1725 for ac_exec_ext
in '' $ac_executable_extensions; do
1726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1727 ac_cv_prog_ac_ct_STRIP
="strip"
1728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1734 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1737 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1738 if test -n "$ac_ct_STRIP"; then
1739 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1740 echo "${ECHO_T}$ac_ct_STRIP" >&6
1742 echo "$as_me:$LINENO: result: no" >&5
1743 echo "${ECHO_T}no" >&6
1748 STRIP
="$ac_cv_prog_STRIP"
1752 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1754 # We need awk for the "check" target. The system "awk" is bad on
1761 cat >>confdefs.h
<<\_ACEOF
1762 #define _GNU_SOURCE 1
1767 echo "$as_me:$LINENO: checking for perl5.003 or newer" >&5
1768 echo $ECHO_N "checking for perl5.003 or newer... $ECHO_C" >&6
1769 if test "${PERL+set}" = set; then
1770 # `PERL' is set in the user's environment.
1771 candidate_perl_names
="$PERL"
1774 candidate_perl_names
='perl perl5'
1780 PERL
="$missing_dir/missing perl"
1781 for perl
in $candidate_perl_names; do
1782 # Run test in a subshell; some versions of sh will print an error if
1783 # an executable is not found, even if stderr is redirected.
1784 if ( $perl -e 'require 5.003; use File::Compare' ) > /dev
/null
2>&1; then
1791 echo "$as_me:$LINENO: result: $found" >&5
1792 echo "${ECHO_T}$found" >&6
1793 test $found = no
&& { echo "$as_me:$LINENO: WARNING:
1794 WARNING: You don't seem to have perl5.003 or newer installed, or you lack
1795 a usable version of the Perl File::Compare module. As a result,
1796 you may be unable to run a few tests or to regenerate certain
1797 files if you modify the sources from which they are derived.
1799 echo "$as_me: WARNING:
1800 WARNING: You don't seem to have perl5.003 or newer installed, or you lack
1801 a usable version of the Perl File::Compare module. As a result,
1802 you may be unable to run a few tests or to regenerate certain
1803 files if you modify the sources from which they are derived.
1807 ac_cpp
='$CPP $CPPFLAGS'
1808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1811 if test -n "$ac_tool_prefix"; then
1812 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1813 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1814 echo "$as_me:$LINENO: checking for $ac_word" >&5
1815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1816 if test "${ac_cv_prog_CC+set}" = set; then
1817 echo $ECHO_N "(cached) $ECHO_C" >&6
1819 if test -n "$CC"; then
1820 ac_cv_prog_CC
="$CC" # Let the user override the test.
1822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1826 test -z "$as_dir" && as_dir
=.
1827 for ac_exec_ext
in '' $ac_executable_extensions; do
1828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1829 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1839 if test -n "$CC"; then
1840 echo "$as_me:$LINENO: result: $CC" >&5
1841 echo "${ECHO_T}$CC" >&6
1843 echo "$as_me:$LINENO: result: no" >&5
1844 echo "${ECHO_T}no" >&6
1848 if test -z "$ac_cv_prog_CC"; then
1850 # Extract the first word of "gcc", so it can be a program name with args.
1851 set dummy gcc
; ac_word
=$2
1852 echo "$as_me:$LINENO: checking for $ac_word" >&5
1853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1855 echo $ECHO_N "(cached) $ECHO_C" >&6
1857 if test -n "$ac_ct_CC"; then
1858 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1864 test -z "$as_dir" && as_dir
=.
1865 for ac_exec_ext
in '' $ac_executable_extensions; do
1866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1867 ac_cv_prog_ac_ct_CC
="gcc"
1868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1876 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1877 if test -n "$ac_ct_CC"; then
1878 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1879 echo "${ECHO_T}$ac_ct_CC" >&6
1881 echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6
1890 if test -z "$CC"; then
1891 if test -n "$ac_tool_prefix"; then
1892 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1893 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1894 echo "$as_me:$LINENO: checking for $ac_word" >&5
1895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1896 if test "${ac_cv_prog_CC+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 if test -n "$CC"; then
1900 ac_cv_prog_CC
="$CC" # Let the user override the test.
1902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1906 test -z "$as_dir" && as_dir
=.
1907 for ac_exec_ext
in '' $ac_executable_extensions; do
1908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1909 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 if test -n "$CC"; then
1920 echo "$as_me:$LINENO: result: $CC" >&5
1921 echo "${ECHO_T}$CC" >&6
1923 echo "$as_me:$LINENO: result: no" >&5
1924 echo "${ECHO_T}no" >&6
1928 if test -z "$ac_cv_prog_CC"; then
1930 # Extract the first word of "cc", so it can be a program name with args.
1931 set dummy cc
; ac_word
=$2
1932 echo "$as_me:$LINENO: checking for $ac_word" >&5
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1937 if test -n "$ac_ct_CC"; then
1938 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1944 test -z "$as_dir" && as_dir
=.
1945 for ac_exec_ext
in '' $ac_executable_extensions; do
1946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947 ac_cv_prog_ac_ct_CC
="cc"
1948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1957 if test -n "$ac_ct_CC"; then
1958 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1959 echo "${ECHO_T}$ac_ct_CC" >&6
1961 echo "$as_me:$LINENO: result: no" >&5
1962 echo "${ECHO_T}no" >&6
1971 if test -z "$CC"; then
1972 # Extract the first word of "cc", so it can be a program name with args.
1973 set dummy cc
; ac_word
=$2
1974 echo "$as_me:$LINENO: checking for $ac_word" >&5
1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1976 if test "${ac_cv_prog_CC+set}" = set; then
1977 echo $ECHO_N "(cached) $ECHO_C" >&6
1979 if test -n "$CC"; then
1980 ac_cv_prog_CC
="$CC" # Let the user override the test.
1983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1987 test -z "$as_dir" && as_dir
=.
1988 for ac_exec_ext
in '' $ac_executable_extensions; do
1989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1991 ac_prog_rejected
=yes
1995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2001 if test $ac_prog_rejected = yes; then
2002 # We found a bogon in the path, so make sure we never use it.
2003 set dummy
$ac_cv_prog_CC
2005 if test $# != 0; then
2006 # We chose a different compiler from the bogus one.
2007 # However, it has the same basename, so the bogon will be chosen
2008 # first if we set CC to just the basename; use the full file name.
2010 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2016 if test -n "$CC"; then
2017 echo "$as_me:$LINENO: result: $CC" >&5
2018 echo "${ECHO_T}$CC" >&6
2020 echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6
2025 if test -z "$CC"; then
2026 if test -n "$ac_tool_prefix"; then
2029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2030 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2031 echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2033 if test "${ac_cv_prog_CC+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC
="$CC" # Let the user override the test.
2039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir
=.
2044 for ac_exec_ext
in '' $ac_executable_extensions; do
2045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2056 if test -n "$CC"; then
2057 echo "$as_me:$LINENO: result: $CC" >&5
2058 echo "${ECHO_T}$CC" >&6
2060 echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6
2064 test -n "$CC" && break
2067 if test -z "$CC"; then
2071 # Extract the first word of "$ac_prog", so it can be a program name with args.
2072 set dummy
$ac_prog; ac_word
=$2
2073 echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 if test -n "$ac_ct_CC"; then
2079 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2085 test -z "$as_dir" && as_dir
=.
2086 for ac_exec_ext
in '' $ac_executable_extensions; do
2087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2088 ac_cv_prog_ac_ct_CC
="$ac_prog"
2089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2098 if test -n "$ac_ct_CC"; then
2099 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2100 echo "${ECHO_T}$ac_ct_CC" >&6
2102 echo "$as_me:$LINENO: result: no" >&5
2103 echo "${ECHO_T}no" >&6
2106 test -n "$ac_ct_CC" && break
2115 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2116 See \`config.log' for more details." >&5
2117 echo "$as_me: error: no acceptable C compiler found in \$PATH
2118 See \`config.log' for more details." >&2;}
2119 { (exit 1); exit 1; }; }
2121 # Provide some information about the compiler.
2122 echo "$as_me:$LINENO:" \
2123 "checking for C compiler version" >&5
2124 ac_compiler
=`set X $ac_compile; echo $2`
2125 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2126 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }
2130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2131 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134 (exit $ac_status); }
2135 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2136 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); }
2141 cat >conftest.
$ac_ext <<_ACEOF
2142 #line $LINENO "configure"
2145 cat confdefs.h
>>conftest.
$ac_ext
2146 cat >>conftest.
$ac_ext <<_ACEOF
2147 /* end confdefs.h. */
2157 ac_clean_files_save
=$ac_clean_files
2158 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2159 # Try to create an executable without -o first, disregard a.out.
2160 # It will help us diagnose broken compilers, and finding out an intuition
2162 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2163 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2164 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2165 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2166 (eval $ac_link_default) 2>&5
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); }; then
2170 # Find the output, starting from the most likely. This scheme is
2171 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2174 # Be careful to initialize this variable, since it used to be cached.
2175 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2177 # b.out is created by i960 compilers.
2178 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2180 test -f "$ac_file" ||
continue
2182 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2185 # This is the source file.
2188 # We found the default executable, but exeext='' is most
2192 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2193 # FIXME: I believe we export ac_cv_exeext for Libtool,
2194 # but it would be cool to find out if it's true. Does anybody
2195 # maintain Libtool? --akim.
2203 echo "$as_me: failed program was:" >&5
2204 sed 's/^/| /' conftest.
$ac_ext >&5
2206 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2207 See \`config.log' for more details." >&5
2208 echo "$as_me: error: C compiler cannot create executables
2209 See \`config.log' for more details." >&2;}
2210 { (exit 77); exit 77; }; }
2213 ac_exeext
=$ac_cv_exeext
2214 echo "$as_me:$LINENO: result: $ac_file" >&5
2215 echo "${ECHO_T}$ac_file" >&6
2217 # Check the compiler produces executables we can run. If not, either
2218 # the compiler is broken, or we cross compile.
2219 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2220 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2221 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2222 # If not cross compiling, check that we can run a simple program.
2223 if test "$cross_compiling" != yes; then
2224 if { ac_try
='./$ac_file'
2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); }; }; then
2232 if test "$cross_compiling" = maybe
; then
2235 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2236 If you meant to cross compile, use \`--host'.
2237 See \`config.log' for more details." >&5
2238 echo "$as_me: error: cannot run C compiled programs.
2239 If you meant to cross compile, use \`--host'.
2240 See \`config.log' for more details." >&2;}
2241 { (exit 1); exit 1; }; }
2245 echo "$as_me:$LINENO: result: yes" >&5
2246 echo "${ECHO_T}yes" >&6
2248 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2249 ac_clean_files
=$ac_clean_files_save
2250 # Check the compiler produces executables we can run. If not, either
2251 # the compiler is broken, or we cross compile.
2252 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2253 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2254 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2255 echo "${ECHO_T}$cross_compiling" >&6
2257 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2258 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2260 (eval $ac_link) 2>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; then
2264 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2265 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2266 # work properly (i.e., refer to `conftest.exe'), while it won't with
2268 for ac_file
in conftest.exe conftest conftest.
*; do
2269 test -f "$ac_file" ||
continue
2271 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2272 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2279 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2280 See \`config.log' for more details." >&5
2281 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2282 See \`config.log' for more details." >&2;}
2283 { (exit 1); exit 1; }; }
2286 rm -f conftest
$ac_cv_exeext
2287 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2288 echo "${ECHO_T}$ac_cv_exeext" >&6
2290 rm -f conftest.
$ac_ext
2291 EXEEXT
=$ac_cv_exeext
2293 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2294 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2295 if test "${ac_cv_objext+set}" = set; then
2296 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 cat >conftest.
$ac_ext <<_ACEOF
2299 #line $LINENO "configure"
2302 cat confdefs.h
>>conftest.
$ac_ext
2303 cat >>conftest.
$ac_ext <<_ACEOF
2304 /* end confdefs.h. */
2314 rm -f conftest.o conftest.obj
2315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2316 (eval $ac_compile) 2>&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); }; then
2320 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2322 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2323 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2328 echo "$as_me: failed program was:" >&5
2329 sed 's/^/| /' conftest.
$ac_ext >&5
2331 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2332 See \`config.log' for more details." >&5
2333 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2334 See \`config.log' for more details." >&2;}
2335 { (exit 1); exit 1; }; }
2338 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2340 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2341 echo "${ECHO_T}$ac_cv_objext" >&6
2342 OBJEXT
=$ac_cv_objext
2344 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2345 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2346 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2347 echo $ECHO_N "(cached) $ECHO_C" >&6
2349 cat >conftest.
$ac_ext <<_ACEOF
2350 #line $LINENO "configure"
2353 cat confdefs.h
>>conftest.
$ac_ext
2354 cat >>conftest.
$ac_ext <<_ACEOF
2355 /* end confdefs.h. */
2368 rm -f conftest.
$ac_objext
2369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2370 (eval $ac_compile) 2>&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); } &&
2374 { ac_try
='test -s conftest.$ac_objext'
2375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }; }; then
2382 echo "$as_me: failed program was:" >&5
2383 sed 's/^/| /' conftest.
$ac_ext >&5
2387 rm -f conftest.
$ac_objext conftest.
$ac_ext
2388 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2391 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2392 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2393 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2394 ac_test_CFLAGS
=${CFLAGS+set}
2395 ac_save_CFLAGS
=$CFLAGS
2397 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2398 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2399 if test "${ac_cv_prog_cc_g+set}" = set; then
2400 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 cat >conftest.
$ac_ext <<_ACEOF
2403 #line $LINENO "configure"
2406 cat confdefs.h
>>conftest.
$ac_ext
2407 cat >>conftest.
$ac_ext <<_ACEOF
2408 /* end confdefs.h. */
2418 rm -f conftest.
$ac_objext
2419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2420 (eval $ac_compile) 2>&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); } &&
2424 { ac_try
='test -s conftest.$ac_objext'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.
$ac_ext >&5
2437 rm -f conftest.
$ac_objext conftest.
$ac_ext
2439 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2440 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2441 if test "$ac_test_CFLAGS" = set; then
2442 CFLAGS
=$ac_save_CFLAGS
2443 elif test $ac_cv_prog_cc_g = yes; then
2444 if test "$GCC" = yes; then
2450 if test "$GCC" = yes; then
2456 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2457 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2458 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2461 ac_cv_prog_cc_stdc
=no
2463 cat >conftest.
$ac_ext <<_ACEOF
2464 #line $LINENO "configure"
2467 cat confdefs.h
>>conftest.
$ac_ext
2468 cat >>conftest.
$ac_ext <<_ACEOF
2469 /* end confdefs.h. */
2472 #include <sys/types.h>
2473 #include <sys/stat.h>
2474 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2475 struct buf { int x; };
2476 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2477 static char *e (p, i)
2483 static char *f (char * (*g) (char **, int), char **p, ...)
2488 s = g (p, va_arg (v,int));
2492 int test (int i, double x);
2493 struct s1 {int (*f) (int a);};
2494 struct s2 {int (*f) (double a);};
2495 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2501 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2506 # Don't try gcc -ansi; that turns off useful extensions and
2507 # breaks some systems' header files.
2508 # AIX -qlanglvl=ansi
2509 # Ultrix and OSF/1 -std1
2510 # HP-UX 10.20 and later -Ae
2511 # HP-UX older versions -Aa -D_HPUX_SOURCE
2512 # SVR4 -Xc -D__EXTENSIONS__
2513 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2515 CC
="$ac_save_CC $ac_arg"
2516 rm -f conftest.
$ac_objext
2517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2518 (eval $ac_compile) 2>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } &&
2522 { ac_try
='test -s conftest.$ac_objext'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; }; then
2528 ac_cv_prog_cc_stdc
=$ac_arg
2531 echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.
$ac_ext >&5
2535 rm -f conftest.
$ac_objext
2537 rm -f conftest.
$ac_ext conftest.
$ac_objext
2542 case "x$ac_cv_prog_cc_stdc" in
2544 echo "$as_me:$LINENO: result: none needed" >&5
2545 echo "${ECHO_T}none needed" >&6 ;;
2547 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2548 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2549 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2552 # Some people use a C++ compiler to compile C. Since we use `exit',
2553 # in C++ we need to declare it. In case someone uses the same compiler
2554 # for both compiling C and C++ we need to have the C++ compiler decide
2555 # the declaration of exit, since it's the most demanding environment.
2556 cat >conftest.
$ac_ext <<_ACEOF
2561 rm -f conftest.
$ac_objext
2562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2563 (eval $ac_compile) 2>&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); } &&
2567 { ac_try
='test -s conftest.$ac_objext'
2568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; }; then
2573 for ac_declaration
in \
2575 '#include <stdlib.h>' \
2576 'extern "C" void std::exit (int) throw (); using std::exit;' \
2577 'extern "C" void std::exit (int); using std::exit;' \
2578 'extern "C" void exit (int) throw ();' \
2579 'extern "C" void exit (int);' \
2582 cat >conftest.
$ac_ext <<_ACEOF
2583 #line $LINENO "configure"
2586 cat confdefs.h
>>conftest.
$ac_ext
2587 cat >>conftest.
$ac_ext <<_ACEOF
2588 /* end confdefs.h. */
2599 rm -f conftest.
$ac_objext
2600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2601 (eval $ac_compile) 2>&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } &&
2605 { ac_try
='test -s conftest.$ac_objext'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; }; then
2613 echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.
$ac_ext >&5
2618 rm -f conftest.
$ac_objext conftest.
$ac_ext
2619 cat >conftest.
$ac_ext <<_ACEOF
2620 #line $LINENO "configure"
2623 cat confdefs.h
>>conftest.
$ac_ext
2624 cat >>conftest.
$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2635 rm -f conftest.
$ac_objext
2636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2637 (eval $ac_compile) 2>&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); } &&
2641 { ac_try
='test -s conftest.$ac_objext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.
$ac_ext >&5
2653 rm -f conftest.
$ac_objext conftest.
$ac_ext
2656 if test -n "$ac_declaration"; then
2657 echo '#ifdef __cplusplus' >>confdefs.h
2658 echo $ac_declaration >>confdefs.h
2659 echo '#endif' >>confdefs.h
2663 echo "$as_me: failed program was:" >&5
2664 sed 's/^/| /' conftest.
$ac_ext >&5
2667 rm -f conftest.
$ac_objext conftest.
$ac_ext
2669 ac_cpp
='$CPP $CPPFLAGS'
2670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2673 DEPDIR
="${am__leading_dot}deps"
2675 ac_config_commands
="$ac_config_commands depfiles"
2678 am_make
=${MAKE-make}
2679 cat > confinc
<< 'END'
2683 # If we don't find an include directive, just comment out the code.
2684 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2685 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2689 # First try GNU make style include.
2690 echo "include confinc" > confmf
2691 # We grep out `Entering directory' and `Leaving directory'
2692 # messages which can occur if `w' ends up in MAKEFLAGS.
2693 # In particular we don't look at `^make:' because GNU make might
2694 # be invoked under some other name (usually "gmake"), in which
2695 # case it prints its new name instead of `make'.
2696 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2701 # Now try BSD make style include.
2702 if test "$am__include" = "#"; then
2703 echo '.include "confinc"' > confmf
2704 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2705 am__include
=.include
2712 echo "$as_me:$LINENO: result: $_am_result" >&5
2713 echo "${ECHO_T}$_am_result" >&6
2714 rm -f confinc confmf
2716 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2717 if test "${enable_dependency_tracking+set}" = set; then
2718 enableval
="$enable_dependency_tracking"
2721 if test "x$enable_dependency_tracking" != xno
; then
2722 am_depcomp
="$ac_aux_dir/depcomp"
2727 if test "x$enable_dependency_tracking" != xno; then
2738 depcc
="$CC" am_compiler_list
=
2740 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2741 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2742 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2743 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2746 # We make a subdir and do the tests there. Otherwise we can end up
2747 # making bogus files that we don't know about and never remove. For
2748 # instance it was reported that on HP-UX the gcc test will end up
2749 # making a dummy file named `D' -- because `-MD' means `put the output
2752 # Copy depcomp to subdir because otherwise we won't find it if we're
2753 # using a relative directory.
2754 cp "$am_depcomp" conftest.dir
2757 am_cv_CC_dependencies_compiler_type
=none
2758 if test "$am_compiler_list" = ""; then
2759 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2761 for depmode
in $am_compiler_list; do
2762 # We need to recreate these files for each test, as the compiler may
2763 # overwrite some of them when testing with obscure command lines.
2764 # This happens at least with the AIX C compiler.
2765 echo '#include "conftest.h"' > conftest.c
2766 echo 'int i;' > conftest.h
2767 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2771 # after this tag, mechanisms are not by side-effect, so they'll
2772 # only be used when explicitly requested
2773 if test "x$enable_dependency_tracking" = xyes
; then
2781 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2782 # mode. It turns out that the SunPro C++ compiler does not properly
2783 # handle `-M -o', and we need to detect this.
2784 if depmode
=$depmode \
2785 source=conftest.c object
=conftest.o \
2786 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2787 $SHELL .
/depcomp
$depcc -c -o conftest.o conftest.c \
2788 >/dev
/null
2>conftest.err
&&
2789 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2790 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2791 # icc doesn't choke on unknown options, it will just issue warnings
2792 # (even with -Werror). So we grep stderr for any message
2793 # that says an option was ignored.
2794 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2795 am_cv_CC_dependencies_compiler_type
=$depmode
2804 am_cv_CC_dependencies_compiler_type
=none
2808 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2809 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2810 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2815 test "x$enable_dependency_tracking" != xno \
2816 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2818 am__fastdepCC_FALSE
='#'
2820 am__fastdepCC_TRUE
='#'
2821 am__fastdepCC_FALSE
=
2826 ac_cpp
='$CPP $CPPFLAGS'
2827 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2830 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2831 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2832 # On Suns, sometimes $CPP names a directory.
2833 if test -n "$CPP" && test -d "$CPP"; then
2836 if test -z "$CPP"; then
2837 if test "${ac_cv_prog_CPP+set}" = set; then
2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 # Double quotes because CPP needs to be expanded
2841 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2844 for ac_c_preproc_warn_flag
in '' yes
2846 # Use a header file that comes with gcc, so configuring glibc
2847 # with a fresh cross-compiler works.
2848 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2849 # <limits.h> exists even on freestanding compilers.
2850 # On the NeXT, cc -E runs the code through the compiler's parser,
2851 # not just through cpp. "Syntax error" is here to catch this case.
2852 cat >conftest.
$ac_ext <<_ACEOF
2853 #line $LINENO "configure"
2856 cat confdefs.h
>>conftest.
$ac_ext
2857 cat >>conftest.
$ac_ext <<_ACEOF
2858 /* end confdefs.h. */
2860 # include <limits.h>
2862 # include <assert.h>
2866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2869 grep -v '^ *+' conftest.er1
>conftest.err
2871 cat conftest.err
>&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); } >/dev
/null
; then
2874 if test -s conftest.err
; then
2875 ac_cpp_err
=$ac_c_preproc_warn_flag
2882 if test -z "$ac_cpp_err"; then
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.
$ac_ext >&5
2888 # Broken: fails on valid input.
2891 rm -f conftest.err conftest.
$ac_ext
2893 # OK, works on sane cases. Now check whether non-existent headers
2894 # can be detected and how.
2895 cat >conftest.
$ac_ext <<_ACEOF
2896 #line $LINENO "configure"
2899 cat confdefs.h
>>conftest.
$ac_ext
2900 cat >>conftest.
$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2902 #include <ac_nonexistent.h>
2904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2905 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2907 grep -v '^ *+' conftest.er1
>conftest.err
2909 cat conftest.err
>&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } >/dev
/null
; then
2912 if test -s conftest.err
; then
2913 ac_cpp_err
=$ac_c_preproc_warn_flag
2920 if test -z "$ac_cpp_err"; then
2921 # Broken: success on invalid input.
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.
$ac_ext >&5
2927 # Passes both tests.
2931 rm -f conftest.err conftest.
$ac_ext
2934 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2935 rm -f conftest.err conftest.
$ac_ext
2936 if $ac_preproc_ok; then
2948 echo "$as_me:$LINENO: result: $CPP" >&5
2949 echo "${ECHO_T}$CPP" >&6
2951 for ac_c_preproc_warn_flag
in '' yes
2953 # Use a header file that comes with gcc, so configuring glibc
2954 # with a fresh cross-compiler works.
2955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2956 # <limits.h> exists even on freestanding compilers.
2957 # On the NeXT, cc -E runs the code through the compiler's parser,
2958 # not just through cpp. "Syntax error" is here to catch this case.
2959 cat >conftest.
$ac_ext <<_ACEOF
2960 #line $LINENO "configure"
2963 cat confdefs.h
>>conftest.
$ac_ext
2964 cat >>conftest.
$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2967 # include <limits.h>
2969 # include <assert.h>
2973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2974 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2976 grep -v '^ *+' conftest.er1
>conftest.err
2978 cat conftest.err
>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); } >/dev
/null
; then
2981 if test -s conftest.err
; then
2982 ac_cpp_err
=$ac_c_preproc_warn_flag
2989 if test -z "$ac_cpp_err"; then
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.
$ac_ext >&5
2995 # Broken: fails on valid input.
2998 rm -f conftest.err conftest.
$ac_ext
3000 # OK, works on sane cases. Now check whether non-existent headers
3001 # can be detected and how.
3002 cat >conftest.
$ac_ext <<_ACEOF
3003 #line $LINENO "configure"
3006 cat confdefs.h
>>conftest.
$ac_ext
3007 cat >>conftest.
$ac_ext <<_ACEOF
3008 /* end confdefs.h. */
3009 #include <ac_nonexistent.h>
3011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3012 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3014 grep -v '^ *+' conftest.er1
>conftest.err
3016 cat conftest.err
>&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); } >/dev
/null
; then
3019 if test -s conftest.err
; then
3020 ac_cpp_err
=$ac_c_preproc_warn_flag
3027 if test -z "$ac_cpp_err"; then
3028 # Broken: success on invalid input.
3031 echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.
$ac_ext >&5
3034 # Passes both tests.
3038 rm -f conftest.err conftest.
$ac_ext
3041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3042 rm -f conftest.err conftest.
$ac_ext
3043 if $ac_preproc_ok; then
3046 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3047 See \`config.log' for more details." >&5
3048 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3049 See \`config.log' for more details." >&2;}
3050 { (exit 1); exit 1; }; }
3054 ac_cpp
='$CPP $CPPFLAGS'
3055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3061 echo "$as_me:$LINENO: checking for egrep" >&5
3062 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3063 if test "${ac_cv_prog_egrep+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3066 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3067 then ac_cv_prog_egrep
='grep -E'
3068 else ac_cv_prog_egrep
='egrep'
3071 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3072 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3073 EGREP
=$ac_cv_prog_egrep
3076 if test $ac_cv_c_compiler_gnu = yes; then
3077 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3078 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3079 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3082 ac_pattern
="Autoconf.*'x'"
3083 cat >conftest.
$ac_ext <<_ACEOF
3084 #line $LINENO "configure"
3087 cat confdefs.h
>>conftest.
$ac_ext
3088 cat >>conftest.
$ac_ext <<_ACEOF
3089 /* end confdefs.h. */
3093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3094 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3095 ac_cv_prog_gcc_traditional
=yes
3097 ac_cv_prog_gcc_traditional
=no
3102 if test $ac_cv_prog_gcc_traditional = no
; then
3103 cat >conftest.
$ac_ext <<_ACEOF
3104 #line $LINENO "configure"
3107 cat confdefs.h
>>conftest.
$ac_ext
3108 cat >>conftest.
$ac_ext <<_ACEOF
3109 /* end confdefs.h. */
3113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3114 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3115 ac_cv_prog_gcc_traditional
=yes
3121 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3122 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3123 if test $ac_cv_prog_gcc_traditional = yes; then
3124 CC
="$CC -traditional"
3128 if test -n "$ac_tool_prefix"; then
3129 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3130 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3131 echo "$as_me:$LINENO: checking for $ac_word" >&5
3132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3133 if test "${ac_cv_prog_RANLIB+set}" = set; then
3134 echo $ECHO_N "(cached) $ECHO_C" >&6
3136 if test -n "$RANLIB"; then
3137 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3143 test -z "$as_dir" && as_dir
=.
3144 for ac_exec_ext
in '' $ac_executable_extensions; do
3145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3146 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 RANLIB
=$ac_cv_prog_RANLIB
3156 if test -n "$RANLIB"; then
3157 echo "$as_me:$LINENO: result: $RANLIB" >&5
3158 echo "${ECHO_T}$RANLIB" >&6
3160 echo "$as_me:$LINENO: result: no" >&5
3161 echo "${ECHO_T}no" >&6
3165 if test -z "$ac_cv_prog_RANLIB"; then
3166 ac_ct_RANLIB
=$RANLIB
3167 # Extract the first word of "ranlib", so it can be a program name with args.
3168 set dummy ranlib
; ac_word
=$2
3169 echo "$as_me:$LINENO: checking for $ac_word" >&5
3170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3172 echo $ECHO_N "(cached) $ECHO_C" >&6
3174 if test -n "$ac_ct_RANLIB"; then
3175 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3181 test -z "$as_dir" && as_dir
=.
3182 for ac_exec_ext
in '' $ac_executable_extensions; do
3183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3184 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3194 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3195 if test -n "$ac_ct_RANLIB"; then
3196 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3197 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3199 echo "$as_me:$LINENO: result: no" >&5
3200 echo "${ECHO_T}no" >&6
3203 RANLIB
=$ac_ct_RANLIB
3205 RANLIB
="$ac_cv_prog_RANLIB"
3209 echo "$as_me:$LINENO: checking for AIX" >&5
3210 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3211 cat >conftest.
$ac_ext <<_ACEOF
3212 #line $LINENO "configure"
3215 cat confdefs.h
>>conftest.
$ac_ext
3216 cat >>conftest.
$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3224 $EGREP "yes" >/dev
/null
2>&1; then
3225 echo "$as_me:$LINENO: result: yes" >&5
3226 echo "${ECHO_T}yes" >&6
3227 cat >>confdefs.h
<<\_ACEOF
3228 #define _ALL_SOURCE 1
3232 echo "$as_me:$LINENO: result: no" >&5
3233 echo "${ECHO_T}no" >&6
3238 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3239 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3240 if test "${ac_cv_header_stdc+set}" = set; then
3241 echo $ECHO_N "(cached) $ECHO_C" >&6
3243 cat >conftest.
$ac_ext <<_ACEOF
3244 #line $LINENO "configure"
3247 cat confdefs.h
>>conftest.
$ac_ext
3248 cat >>conftest.
$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3263 rm -f conftest.
$ac_objext
3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3265 (eval $ac_compile) 2>&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); } &&
3269 { ac_try
='test -s conftest.$ac_objext'
3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }; }; then
3275 ac_cv_header_stdc
=yes
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.
$ac_ext >&5
3280 ac_cv_header_stdc
=no
3282 rm -f conftest.
$ac_objext conftest.
$ac_ext
3284 if test $ac_cv_header_stdc = yes; then
3285 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3286 cat >conftest.
$ac_ext <<_ACEOF
3287 #line $LINENO "configure"
3290 cat confdefs.h
>>conftest.
$ac_ext
3291 cat >>conftest.
$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3297 $EGREP "memchr" >/dev
/null
2>&1; then
3300 ac_cv_header_stdc
=no
3306 if test $ac_cv_header_stdc = yes; then
3307 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3308 cat >conftest.
$ac_ext <<_ACEOF
3309 #line $LINENO "configure"
3312 cat confdefs.h
>>conftest.
$ac_ext
3313 cat >>conftest.
$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3319 $EGREP "free" >/dev
/null
2>&1; then
3322 ac_cv_header_stdc
=no
3328 if test $ac_cv_header_stdc = yes; then
3329 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3330 if test "$cross_compiling" = yes; then
3333 cat >conftest.
$ac_ext <<_ACEOF
3334 #line $LINENO "configure"
3337 cat confdefs.h
>>conftest.
$ac_ext
3338 cat >>conftest.
$ac_ext <<_ACEOF
3339 /* end confdefs.h. */
3341 #if ((' ' & 0x0FF) == 0x020)
3342 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3343 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3345 # define ISLOWER(c) \
3346 (('a' <= (c) && (c) <= 'i') \
3347 || ('j' <= (c) && (c) <= 'r') \
3348 || ('s' <= (c) && (c) <= 'z'))
3349 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3352 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3357 for (i = 0; i < 256; i++)
3358 if (XOR (islower (i), ISLOWER (i))
3359 || toupper (i) != TOUPPER (i))
3364 rm -f conftest
$ac_exeext
3365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3366 (eval $ac_link) 2>&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); }; }; then
3377 echo "$as_me: program exited with status $ac_status" >&5
3378 echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.
$ac_ext >&5
3382 ac_cv_header_stdc
=no
3384 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3388 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3389 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3390 if test $ac_cv_header_stdc = yes; then
3392 cat >>confdefs.h
<<\_ACEOF
3393 #define STDC_HEADERS 1
3398 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3408 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3409 inttypes.h stdint.h unistd.h
3411 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3412 echo "$as_me:$LINENO: checking for $ac_header" >&5
3413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 cat >conftest.
$ac_ext <<_ACEOF
3418 #line $LINENO "configure"
3421 cat confdefs.h
>>conftest.
$ac_ext
3422 cat >>conftest.
$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3424 $ac_includes_default
3426 #include <$ac_header>
3428 rm -f conftest.
$ac_objext
3429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3430 (eval $ac_compile) 2>&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); } &&
3434 { ac_try
='test -s conftest.$ac_objext'
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }; }; then
3440 eval "$as_ac_Header=yes"
3442 echo "$as_me: failed program was:" >&5
3443 sed 's/^/| /' conftest.
$ac_ext >&5
3445 eval "$as_ac_Header=no"
3447 rm -f conftest.
$ac_objext conftest.
$ac_ext
3449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3452 cat >>confdefs.h
<<_ACEOF
3453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3461 if test "${ac_cv_header_minix_config_h+set}" = set; then
3462 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3463 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3464 if test "${ac_cv_header_minix_config_h+set}" = set; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3467 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3468 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3470 # Is the header compilable?
3471 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3472 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3473 cat >conftest.
$ac_ext <<_ACEOF
3474 #line $LINENO "configure"
3477 cat confdefs.h
>>conftest.
$ac_ext
3478 cat >>conftest.
$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3480 $ac_includes_default
3481 #include <minix/config.h>
3483 rm -f conftest.
$ac_objext
3484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3485 (eval $ac_compile) 2>&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); } &&
3489 { ac_try
='test -s conftest.$ac_objext'
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; }; then
3495 ac_header_compiler
=yes
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.
$ac_ext >&5
3500 ac_header_compiler
=no
3502 rm -f conftest.
$ac_objext conftest.
$ac_ext
3503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3504 echo "${ECHO_T}$ac_header_compiler" >&6
3506 # Is the header present?
3507 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3508 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3509 cat >conftest.
$ac_ext <<_ACEOF
3510 #line $LINENO "configure"
3513 cat confdefs.h
>>conftest.
$ac_ext
3514 cat >>conftest.
$ac_ext <<_ACEOF
3515 /* end confdefs.h. */
3516 #include <minix/config.h>
3518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3519 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3521 grep -v '^ *+' conftest.er1
>conftest.err
3523 cat conftest.err
>&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } >/dev
/null
; then
3526 if test -s conftest.err
; then
3527 ac_cpp_err
=$ac_c_preproc_warn_flag
3534 if test -z "$ac_cpp_err"; then
3535 ac_header_preproc
=yes
3537 echo "$as_me: failed program was:" >&5
3538 sed 's/^/| /' conftest.
$ac_ext >&5
3540 ac_header_preproc
=no
3542 rm -f conftest.err conftest.
$ac_ext
3543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3544 echo "${ECHO_T}$ac_header_preproc" >&6
3546 # So? What about this header?
3547 case $ac_header_compiler:$ac_header_preproc in
3549 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3550 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3551 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3552 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3555 ## ------------------------------------ ##
3556 ## Report this to bug-autoconf@gnu.org. ##
3557 ## ------------------------------------ ##
3560 sed "s/^/$as_me: WARNING: /" >&2
3563 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3564 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3565 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3566 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3567 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3568 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3571 ## ------------------------------------ ##
3572 ## Report this to bug-autoconf@gnu.org. ##
3573 ## ------------------------------------ ##
3576 sed "s/^/$as_me: WARNING: /" >&2
3579 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3580 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3581 if test "${ac_cv_header_minix_config_h+set}" = set; then
3582 echo $ECHO_N "(cached) $ECHO_C" >&6
3584 ac_cv_header_minix_config_h
=$ac_header_preproc
3586 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3587 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3590 if test $ac_cv_header_minix_config_h = yes; then
3597 if test "$MINIX" = yes; then
3599 cat >>confdefs.h
<<\_ACEOF
3600 #define _POSIX_SOURCE 1
3604 cat >>confdefs.h
<<\_ACEOF
3605 #define _POSIX_1_SOURCE 2
3609 cat >>confdefs.h
<<\_ACEOF
3617 for ac_func
in uname
3619 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3620 echo "$as_me:$LINENO: checking for $ac_func" >&5
3621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3622 if eval "test \"\${$as_ac_var+set}\" = set"; then
3623 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 cat >conftest.
$ac_ext <<_ACEOF
3626 #line $LINENO "configure"
3629 cat confdefs.h
>>conftest.
$ac_ext
3630 cat >>conftest.
$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3632 /* System header to define __stub macros and hopefully few prototypes,
3633 which can conflict with char $ac_func (); below.
3634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3635 <limits.h> exists even on freestanding compilers. */
3637 # include <limits.h>
3639 # include <assert.h>
3641 /* Override any gcc2 internal prototype to avoid an error. */
3646 /* We use char because int might match the return type of a gcc2
3647 builtin and then its argument prototype would still apply. */
3649 /* The GNU C library defines this for functions which it implements
3650 to always fail with ENOSYS. Some functions are actually named
3651 something starting with __ and the normal name is an alias. */
3652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3655 char (*f) () = $ac_func;
3664 return f != $ac_func;
3669 rm -f conftest.
$ac_objext conftest
$ac_exeext
3670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3671 (eval $ac_link) 2>&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); } &&
3675 { ac_try
='test -s conftest$ac_exeext'
3676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); }; }; then
3681 eval "$as_ac_var=yes"
3683 echo "$as_me: failed program was:" >&5
3684 sed 's/^/| /' conftest.
$ac_ext >&5
3686 eval "$as_ac_var=no"
3688 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3692 if test `eval echo '${'$as_ac_var'}'` = yes; then
3693 cat >>confdefs.h
<<_ACEOF
3694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3696 OPTIONAL_BIN_PROGS
="$OPTIONAL_BIN_PROGS uname" MAN
="$MAN uname.1"
3701 for ac_func
in chroot
3703 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3704 echo "$as_me:$LINENO: checking for $ac_func" >&5
3705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3706 if eval "test \"\${$as_ac_var+set}\" = set"; then
3707 echo $ECHO_N "(cached) $ECHO_C" >&6
3709 cat >conftest.
$ac_ext <<_ACEOF
3710 #line $LINENO "configure"
3713 cat confdefs.h
>>conftest.
$ac_ext
3714 cat >>conftest.
$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3716 /* System header to define __stub macros and hopefully few prototypes,
3717 which can conflict with char $ac_func (); below.
3718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3719 <limits.h> exists even on freestanding compilers. */
3721 # include <limits.h>
3723 # include <assert.h>
3725 /* Override any gcc2 internal prototype to avoid an error. */
3730 /* We use char because int might match the return type of a gcc2
3731 builtin and then its argument prototype would still apply. */
3733 /* The GNU C library defines this for functions which it implements
3734 to always fail with ENOSYS. Some functions are actually named
3735 something starting with __ and the normal name is an alias. */
3736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3739 char (*f) () = $ac_func;
3748 return f != $ac_func;
3753 rm -f conftest.
$ac_objext conftest
$ac_exeext
3754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3755 (eval $ac_link) 2>&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); } &&
3759 { ac_try
='test -s conftest$ac_exeext'
3760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); }; }; then
3765 eval "$as_ac_var=yes"
3767 echo "$as_me: failed program was:" >&5
3768 sed 's/^/| /' conftest.
$ac_ext >&5
3770 eval "$as_ac_var=no"
3772 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3776 if test `eval echo '${'$as_ac_var'}'` = yes; then
3777 cat >>confdefs.h
<<_ACEOF
3778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3780 OPTIONAL_BIN_PROGS
="$OPTIONAL_BIN_PROGS chroot" MAN
="$MAN chroot.1"
3785 for ac_func
in gethostid
3787 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3788 echo "$as_me:$LINENO: checking for $ac_func" >&5
3789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3790 if eval "test \"\${$as_ac_var+set}\" = set"; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3793 cat >conftest.
$ac_ext <<_ACEOF
3794 #line $LINENO "configure"
3797 cat confdefs.h
>>conftest.
$ac_ext
3798 cat >>conftest.
$ac_ext <<_ACEOF
3799 /* end confdefs.h. */
3800 /* System header to define __stub macros and hopefully few prototypes,
3801 which can conflict with char $ac_func (); below.
3802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3803 <limits.h> exists even on freestanding compilers. */
3805 # include <limits.h>
3807 # include <assert.h>
3809 /* Override any gcc2 internal prototype to avoid an error. */
3814 /* We use char because int might match the return type of a gcc2
3815 builtin and then its argument prototype would still apply. */
3817 /* The GNU C library defines this for functions which it implements
3818 to always fail with ENOSYS. Some functions are actually named
3819 something starting with __ and the normal name is an alias. */
3820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3823 char (*f) () = $ac_func;
3832 return f != $ac_func;
3837 rm -f conftest.
$ac_objext conftest
$ac_exeext
3838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3839 (eval $ac_link) 2>&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); } &&
3843 { ac_try
='test -s conftest$ac_exeext'
3844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); }; }; then
3849 eval "$as_ac_var=yes"
3851 echo "$as_me: failed program was:" >&5
3852 sed 's/^/| /' conftest.
$ac_ext >&5
3854 eval "$as_ac_var=no"
3856 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3860 if test `eval echo '${'$as_ac_var'}'` = yes; then
3861 cat >>confdefs.h
<<_ACEOF
3862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3864 OPTIONAL_BIN_PROGS
="$OPTIONAL_BIN_PROGS hostid" MAN
="$MAN hostid.1"
3870 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3871 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3872 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
3875 ac_check_lib_save_LIBS
=$LIBS
3876 LIBS
="-lcposix $LIBS"
3877 cat >conftest.
$ac_ext <<_ACEOF
3878 #line $LINENO "configure"
3881 cat confdefs.h
>>conftest.
$ac_ext
3882 cat >>conftest.
$ac_ext <<_ACEOF
3883 /* end confdefs.h. */
3885 /* Override any gcc2 internal prototype to avoid an error. */
3889 /* We use char because int might match the return type of a gcc2
3890 builtin and then its argument prototype would still apply. */
3900 rm -f conftest.
$ac_objext conftest
$ac_exeext
3901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3902 (eval $ac_link) 2>&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); } &&
3906 { ac_try
='test -s conftest$ac_exeext'
3907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); }; }; then
3912 ac_cv_lib_cposix_strerror
=yes
3914 echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.
$ac_ext >&5
3917 ac_cv_lib_cposix_strerror
=no
3919 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3920 LIBS
=$ac_check_lib_save_LIBS
3922 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3923 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3924 if test $ac_cv_lib_cposix_strerror = yes; then
3925 LIBS
="$LIBS -lcposix"
3930 # Check whether --enable-largefile or --disable-largefile was given.
3931 if test "${enable_largefile+set}" = set; then
3932 enableval
="$enable_largefile"
3935 if test "$enable_largefile" != no
; then
3937 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3938 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3939 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3940 echo $ECHO_N "(cached) $ECHO_C" >&6
3942 ac_cv_sys_largefile_CC
=no
3943 if test "$GCC" != yes; then
3946 # IRIX 6.2 and later do not support large files by default,
3947 # so use the C compiler's -n32 option if that helps.
3948 cat >conftest.
$ac_ext <<_ACEOF
3949 #line $LINENO "configure"
3952 cat confdefs.h
>>conftest.
$ac_ext
3953 cat >>conftest.
$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3955 #include <sys/types.h>
3956 /* Check that off_t can represent 2**63 - 1 correctly.
3957 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3958 since some C++ compilers masquerading as C compilers
3959 incorrectly reject 9223372036854775807. */
3960 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3961 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3962 && LARGE_OFF_T % 2147483647 == 1)
3972 rm -f conftest.
$ac_objext
3973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3974 (eval $ac_compile) 2>&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); } &&
3978 { ac_try
='test -s conftest.$ac_objext'
3979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); }; }; then
3986 echo "$as_me: failed program was:" >&5
3987 sed 's/^/| /' conftest.
$ac_ext >&5
3990 rm -f conftest.
$ac_objext
3992 rm -f conftest.
$ac_objext
3993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3994 (eval $ac_compile) 2>&5
3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 (exit $ac_status); } &&
3998 { ac_try
='test -s conftest.$ac_objext'
3999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); }; }; then
4004 ac_cv_sys_largefile_CC
=' -n32'; break
4006 echo "$as_me: failed program was:" >&5
4007 sed 's/^/| /' conftest.
$ac_ext >&5
4010 rm -f conftest.
$ac_objext
4014 rm -f conftest.
$ac_ext
4017 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4018 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4019 if test "$ac_cv_sys_largefile_CC" != no
; then
4020 CC
=$CC$ac_cv_sys_largefile_CC
4023 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4024 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4025 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4026 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 ac_cv_sys_file_offset_bits
=no
4030 cat >conftest.
$ac_ext <<_ACEOF
4031 #line $LINENO "configure"
4034 cat confdefs.h
>>conftest.
$ac_ext
4035 cat >>conftest.
$ac_ext <<_ACEOF
4036 /* end confdefs.h. */
4037 #include <sys/types.h>
4038 /* Check that off_t can represent 2**63 - 1 correctly.
4039 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4040 since some C++ compilers masquerading as C compilers
4041 incorrectly reject 9223372036854775807. */
4042 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4043 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4044 && LARGE_OFF_T % 2147483647 == 1)
4054 rm -f conftest.
$ac_objext
4055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4056 (eval $ac_compile) 2>&5
4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); } &&
4060 { ac_try
='test -s conftest.$ac_objext'
4061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065 (exit $ac_status); }; }; then
4068 echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.
$ac_ext >&5
4072 rm -f conftest.
$ac_objext conftest.
$ac_ext
4073 cat >conftest.
$ac_ext <<_ACEOF
4074 #line $LINENO "configure"
4077 cat confdefs.h
>>conftest.
$ac_ext
4078 cat >>conftest.
$ac_ext <<_ACEOF
4079 /* end confdefs.h. */
4080 #define _FILE_OFFSET_BITS 64
4081 #include <sys/types.h>
4082 /* Check that off_t can represent 2**63 - 1 correctly.
4083 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4084 since some C++ compilers masquerading as C compilers
4085 incorrectly reject 9223372036854775807. */
4086 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4087 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4088 && LARGE_OFF_T % 2147483647 == 1)
4098 rm -f conftest.
$ac_objext
4099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4100 (eval $ac_compile) 2>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } &&
4104 { ac_try
='test -s conftest.$ac_objext'
4105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); }; }; then
4110 ac_cv_sys_file_offset_bits
=64; break
4112 echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.
$ac_ext >&5
4116 rm -f conftest.
$ac_objext conftest.
$ac_ext
4120 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4121 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4122 if test "$ac_cv_sys_file_offset_bits" != no
; then
4124 cat >>confdefs.h
<<_ACEOF
4125 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4130 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4131 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4132 if test "${ac_cv_sys_large_files+set}" = set; then
4133 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 ac_cv_sys_large_files
=no
4137 cat >conftest.
$ac_ext <<_ACEOF
4138 #line $LINENO "configure"
4141 cat confdefs.h
>>conftest.
$ac_ext
4142 cat >>conftest.
$ac_ext <<_ACEOF
4143 /* end confdefs.h. */
4144 #include <sys/types.h>
4145 /* Check that off_t can represent 2**63 - 1 correctly.
4146 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4147 since some C++ compilers masquerading as C compilers
4148 incorrectly reject 9223372036854775807. */
4149 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4150 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4151 && LARGE_OFF_T % 2147483647 == 1)
4161 rm -f conftest.
$ac_objext
4162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4163 (eval $ac_compile) 2>&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); } &&
4167 { ac_try
='test -s conftest.$ac_objext'
4168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); }; }; then
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.
$ac_ext >&5
4179 rm -f conftest.
$ac_objext conftest.
$ac_ext
4180 cat >conftest.
$ac_ext <<_ACEOF
4181 #line $LINENO "configure"
4184 cat confdefs.h
>>conftest.
$ac_ext
4185 cat >>conftest.
$ac_ext <<_ACEOF
4186 /* end confdefs.h. */
4187 #define _LARGE_FILES 1
4188 #include <sys/types.h>
4189 /* Check that off_t can represent 2**63 - 1 correctly.
4190 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4191 since some C++ compilers masquerading as C compilers
4192 incorrectly reject 9223372036854775807. */
4193 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4194 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4195 && LARGE_OFF_T % 2147483647 == 1)
4205 rm -f conftest.
$ac_objext
4206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4207 (eval $ac_compile) 2>&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } &&
4211 { ac_try
='test -s conftest.$ac_objext'
4212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }; }; then
4217 ac_cv_sys_large_files
=1; break
4219 echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.
$ac_ext >&5
4223 rm -f conftest.
$ac_objext conftest.
$ac_ext
4227 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4228 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4229 if test "$ac_cv_sys_large_files" != no
; then
4231 cat >>confdefs.h
<<_ACEOF
4232 #define _LARGE_FILES $ac_cv_sys_large_files
4242 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
4243 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
4244 if test "${am_cv_prog_cc_stdc+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 am_cv_prog_cc_stdc
=no
4249 # Don't try gcc -ansi; that turns off useful extensions and
4250 # breaks some systems' header files.
4251 # AIX -qlanglvl=ansi
4252 # Ultrix and OSF/1 -std1
4253 # HP-UX 10.20 and later -Ae
4254 # HP-UX older versions -Aa -D_HPUX_SOURCE
4255 # SVR4 -Xc -D__EXTENSIONS__
4256 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4258 CC
="$ac_save_CC $ac_arg"
4259 cat >conftest.
$ac_ext <<_ACEOF
4260 #line $LINENO "configure"
4263 cat confdefs.h
>>conftest.
$ac_ext
4264 cat >>conftest.
$ac_ext <<_ACEOF
4265 /* end confdefs.h. */
4268 #include <sys/types.h>
4269 #include <sys/stat.h>
4270 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4271 struct buf { int x; };
4272 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4273 static char *e (p, i)
4279 static char *f (char * (*g) (char **, int), char **p, ...)
4284 s = g (p, va_arg (v,int));
4288 int test (int i, double x);
4289 struct s1 {int (*f) (int a);};
4290 struct s2 {int (*f) (double a);};
4291 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4299 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4305 rm -f conftest.
$ac_objext
4306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4307 (eval $ac_compile) 2>&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); } &&
4311 { ac_try
='test -s conftest.$ac_objext'
4312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); }; }; then
4317 am_cv_prog_cc_stdc
="$ac_arg"; break
4319 echo "$as_me: failed program was:" >&5
4320 sed 's/^/| /' conftest.
$ac_ext >&5
4323 rm -f conftest.
$ac_objext conftest.
$ac_ext
4329 if test -z "$am_cv_prog_cc_stdc"; then
4330 echo "$as_me:$LINENO: result: none needed" >&5
4331 echo "${ECHO_T}none needed" >&6
4333 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
4334 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
4336 case "x$am_cv_prog_cc_stdc" in
4338 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
4343 echo "$as_me:$LINENO: checking for function prototypes" >&5
4344 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4345 if test "$am_cv_prog_cc_stdc" != no
; then
4346 echo "$as_me:$LINENO: result: yes" >&5
4347 echo "${ECHO_T}yes" >&6
4349 cat >>confdefs.h
<<\_ACEOF
4350 #define PROTOTYPES 1
4355 echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6
4357 U
=_ ANSI2KNR
=.
/ansi2knr
4359 # Ensure some checks needed by ansi2knr itself.
4360 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4361 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4362 if test "${ac_cv_header_stdc+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 cat >conftest.
$ac_ext <<_ACEOF
4366 #line $LINENO "configure"
4369 cat confdefs.h
>>conftest.
$ac_ext
4370 cat >>conftest.
$ac_ext <<_ACEOF
4371 /* end confdefs.h. */
4385 rm -f conftest.
$ac_objext
4386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4387 (eval $ac_compile) 2>&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); } &&
4391 { ac_try
='test -s conftest.$ac_objext'
4392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); }; }; then
4397 ac_cv_header_stdc
=yes
4399 echo "$as_me: failed program was:" >&5
4400 sed 's/^/| /' conftest.
$ac_ext >&5
4402 ac_cv_header_stdc
=no
4404 rm -f conftest.
$ac_objext conftest.
$ac_ext
4406 if test $ac_cv_header_stdc = yes; then
4407 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4408 cat >conftest.
$ac_ext <<_ACEOF
4409 #line $LINENO "configure"
4412 cat confdefs.h
>>conftest.
$ac_ext
4413 cat >>conftest.
$ac_ext <<_ACEOF
4414 /* end confdefs.h. */
4418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4419 $EGREP "memchr" >/dev
/null
2>&1; then
4422 ac_cv_header_stdc
=no
4428 if test $ac_cv_header_stdc = yes; then
4429 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4430 cat >conftest.
$ac_ext <<_ACEOF
4431 #line $LINENO "configure"
4434 cat confdefs.h
>>conftest.
$ac_ext
4435 cat >>conftest.
$ac_ext <<_ACEOF
4436 /* end confdefs.h. */
4440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4441 $EGREP "free" >/dev
/null
2>&1; then
4444 ac_cv_header_stdc
=no
4450 if test $ac_cv_header_stdc = yes; then
4451 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4452 if test "$cross_compiling" = yes; then
4455 cat >conftest.
$ac_ext <<_ACEOF
4456 #line $LINENO "configure"
4459 cat confdefs.h
>>conftest.
$ac_ext
4460 cat >>conftest.
$ac_ext <<_ACEOF
4461 /* end confdefs.h. */
4463 #if ((' ' & 0x0FF) == 0x020)
4464 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4465 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4467 # define ISLOWER(c) \
4468 (('a' <= (c) && (c) <= 'i') \
4469 || ('j' <= (c) && (c) <= 'r') \
4470 || ('s' <= (c) && (c) <= 'z'))
4471 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4474 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4479 for (i = 0; i < 256; i++)
4480 if (XOR (islower (i), ISLOWER (i))
4481 || toupper (i) != TOUPPER (i))
4486 rm -f conftest
$ac_exeext
4487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4488 (eval $ac_link) 2>&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; }; then
4499 echo "$as_me: program exited with status $ac_status" >&5
4500 echo "$as_me: failed program was:" >&5
4501 sed 's/^/| /' conftest.
$ac_ext >&5
4504 ac_cv_header_stdc
=no
4506 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4510 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4511 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4512 if test $ac_cv_header_stdc = yes; then
4514 cat >>confdefs.h
<<\_ACEOF
4515 #define STDC_HEADERS 1
4521 for ac_header
in string.h
4523 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4525 echo "$as_me:$LINENO: checking for $ac_header" >&5
4526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4528 echo $ECHO_N "(cached) $ECHO_C" >&6
4530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4533 # Is the header compilable?
4534 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4535 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4536 cat >conftest.
$ac_ext <<_ACEOF
4537 #line $LINENO "configure"
4540 cat confdefs.h
>>conftest.
$ac_ext
4541 cat >>conftest.
$ac_ext <<_ACEOF
4542 /* end confdefs.h. */
4543 $ac_includes_default
4544 #include <$ac_header>
4546 rm -f conftest.
$ac_objext
4547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4548 (eval $ac_compile) 2>&5
4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551 (exit $ac_status); } &&
4552 { ac_try
='test -s conftest.$ac_objext'
4553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); }; }; then
4558 ac_header_compiler
=yes
4560 echo "$as_me: failed program was:" >&5
4561 sed 's/^/| /' conftest.
$ac_ext >&5
4563 ac_header_compiler
=no
4565 rm -f conftest.
$ac_objext conftest.
$ac_ext
4566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4567 echo "${ECHO_T}$ac_header_compiler" >&6
4569 # Is the header present?
4570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4572 cat >conftest.
$ac_ext <<_ACEOF
4573 #line $LINENO "configure"
4576 cat confdefs.h
>>conftest.
$ac_ext
4577 cat >>conftest.
$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4579 #include <$ac_header>
4581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4582 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4584 grep -v '^ *+' conftest.er1
>conftest.err
4586 cat conftest.err
>&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } >/dev
/null
; then
4589 if test -s conftest.err
; then
4590 ac_cpp_err
=$ac_c_preproc_warn_flag
4597 if test -z "$ac_cpp_err"; then
4598 ac_header_preproc
=yes
4600 echo "$as_me: failed program was:" >&5
4601 sed 's/^/| /' conftest.
$ac_ext >&5
4603 ac_header_preproc
=no
4605 rm -f conftest.err conftest.
$ac_ext
4606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4607 echo "${ECHO_T}$ac_header_preproc" >&6
4609 # So? What about this header?
4610 case $ac_header_compiler:$ac_header_preproc in
4612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4618 ## ------------------------------------ ##
4619 ## Report this to bug-autoconf@gnu.org. ##
4620 ## ------------------------------------ ##
4623 sed "s/^/$as_me: WARNING: /" >&2
4626 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4627 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4628 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4629 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4634 ## ------------------------------------ ##
4635 ## Report this to bug-autoconf@gnu.org. ##
4636 ## ------------------------------------ ##
4639 sed "s/^/$as_me: WARNING: /" >&2
4642 echo "$as_me:$LINENO: checking for $ac_header" >&5
4643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 eval "$as_ac_Header=$ac_header_preproc"
4649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4654 cat >>confdefs.h
<<_ACEOF
4655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4663 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4664 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4665 if test "${ac_cv_c_bigendian+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 # See if sys/param.h defines the BYTE_ORDER macro.
4669 cat >conftest.
$ac_ext <<_ACEOF
4670 #line $LINENO "configure"
4673 cat confdefs.h
>>conftest.
$ac_ext
4674 cat >>conftest.
$ac_ext <<_ACEOF
4675 /* end confdefs.h. */
4676 #include <sys/types.h>
4677 #include <sys/param.h>
4682 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4690 rm -f conftest.
$ac_objext
4691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4692 (eval $ac_compile) 2>&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } &&
4696 { ac_try
='test -s conftest.$ac_objext'
4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); }; }; then
4702 # It does; now see whether it defined to BIG_ENDIAN or not.
4703 cat >conftest.
$ac_ext <<_ACEOF
4704 #line $LINENO "configure"
4707 cat confdefs.h
>>conftest.
$ac_ext
4708 cat >>conftest.
$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4710 #include <sys/types.h>
4711 #include <sys/param.h>
4716 #if BYTE_ORDER != BIG_ENDIAN
4724 rm -f conftest.
$ac_objext
4725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4726 (eval $ac_compile) 2>&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } &&
4730 { ac_try
='test -s conftest.$ac_objext'
4731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; }; then
4736 ac_cv_c_bigendian
=yes
4738 echo "$as_me: failed program was:" >&5
4739 sed 's/^/| /' conftest.
$ac_ext >&5
4741 ac_cv_c_bigendian
=no
4743 rm -f conftest.
$ac_objext conftest.
$ac_ext
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.
$ac_ext >&5
4748 # It does not; compile a test program.
4749 if test "$cross_compiling" = yes; then
4750 # try to guess the endianness by grepping values into an object file
4751 ac_cv_c_bigendian
=unknown
4752 cat >conftest.
$ac_ext <<_ACEOF
4753 #line $LINENO "configure"
4756 cat confdefs.h
>>conftest.
$ac_ext
4757 cat >>conftest.
$ac_ext <<_ACEOF
4758 /* end confdefs.h. */
4759 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4760 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4761 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4762 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4763 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4764 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4768 _ascii (); _ebcdic ();
4773 rm -f conftest.
$ac_objext
4774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4775 (eval $ac_compile) 2>&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); } &&
4779 { ac_try
='test -s conftest.$ac_objext'
4780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; }; then
4785 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4786 ac_cv_c_bigendian
=yes
4788 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4789 if test "$ac_cv_c_bigendian" = unknown
; then
4790 ac_cv_c_bigendian
=no
4792 # finding both strings is unlikely to happen, but who knows?
4793 ac_cv_c_bigendian
=unknown
4797 echo "$as_me: failed program was:" >&5
4798 sed 's/^/| /' conftest.
$ac_ext >&5
4801 rm -f conftest.
$ac_objext conftest.
$ac_ext
4803 cat >conftest.
$ac_ext <<_ACEOF
4804 #line $LINENO "configure"
4807 cat confdefs.h
>>conftest.
$ac_ext
4808 cat >>conftest.
$ac_ext <<_ACEOF
4809 /* end confdefs.h. */
4813 /* Are we little or big endian? From Harbison&Steele. */
4817 char c[sizeof (long)];
4820 exit (u.c[sizeof (long) - 1] == 1);
4823 rm -f conftest
$ac_exeext
4824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4825 (eval $ac_link) 2>&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); }; }; then
4834 ac_cv_c_bigendian
=no
4836 echo "$as_me: program exited with status $ac_status" >&5
4837 echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.
$ac_ext >&5
4841 ac_cv_c_bigendian
=yes
4843 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4846 rm -f conftest.
$ac_objext conftest.
$ac_ext
4848 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4849 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4850 case $ac_cv_c_bigendian in
4853 cat >>confdefs.h
<<\_ACEOF
4854 #define WORDS_BIGENDIAN 1
4860 { { echo "$as_me:$LINENO: error: unknown endianness
4861 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4862 echo "$as_me: error: unknown endianness
4863 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4864 { (exit 1); exit 1; }; } ;;
4867 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4868 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4869 if test "${ac_cv_c_const+set}" = set; then
4870 echo $ECHO_N "(cached) $ECHO_C" >&6
4872 cat >conftest.
$ac_ext <<_ACEOF
4873 #line $LINENO "configure"
4876 cat confdefs.h
>>conftest.
$ac_ext
4877 cat >>conftest.
$ac_ext <<_ACEOF
4878 /* end confdefs.h. */
4883 /* FIXME: Include the comments suggested by Paul. */
4885 /* Ultrix mips cc rejects this. */
4886 typedef int charset[2];
4888 /* SunOS 4.1.1 cc rejects this. */
4889 char const *const *ccp;
4891 /* NEC SVR4.0.2 mips cc rejects this. */
4892 struct point {int x, y;};
4893 static struct point const zero = {0,0};
4894 /* AIX XL C 1.02.0.0 rejects this.
4895 It does not let you subtract one const X* pointer from another in
4896 an arm of an if-expression whose if-part is not a constant
4898 const char *g = "string";
4899 ccp = &g + (g ? g-g : 0);
4900 /* HPUX 7.0 cc rejects these. */
4903 ccp = (char const *const *) p;
4904 { /* SCO 3.2v4 cc rejects this. */
4906 char const *s = 0 ? (char *) 0 : (char const *) 0;
4910 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4912 const int *foo = &x[0];
4915 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4916 typedef const int *iptr;
4920 { /* AIX XL C 1.02.0.0 rejects this saying
4921 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4922 struct s { int j; const int *ap[3]; };
4923 struct s *b; b->j = 5;
4925 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4934 rm -f conftest.
$ac_objext
4935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4936 (eval $ac_compile) 2>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } &&
4940 { ac_try
='test -s conftest.$ac_objext'
4941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); }; }; then
4948 echo "$as_me: failed program was:" >&5
4949 sed 's/^/| /' conftest.
$ac_ext >&5
4953 rm -f conftest.
$ac_objext conftest.
$ac_ext
4955 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4956 echo "${ECHO_T}$ac_cv_c_const" >&6
4957 if test $ac_cv_c_const = no
; then
4959 cat >>confdefs.h
<<\_ACEOF
4965 echo "$as_me:$LINENO: checking for working volatile" >&5
4966 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4967 if test "${ac_cv_c_volatile+set}" = set; then
4968 echo $ECHO_N "(cached) $ECHO_C" >&6
4970 cat >conftest.
$ac_ext <<_ACEOF
4971 #line $LINENO "configure"
4974 cat confdefs.h
>>conftest.
$ac_ext
4975 cat >>conftest.
$ac_ext <<_ACEOF
4976 /* end confdefs.h. */
4988 rm -f conftest.
$ac_objext
4989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4990 (eval $ac_compile) 2>&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); } &&
4994 { ac_try
='test -s conftest.$ac_objext'
4995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); }; }; then
5000 ac_cv_c_volatile
=yes
5002 echo "$as_me: failed program was:" >&5
5003 sed 's/^/| /' conftest.
$ac_ext >&5
5007 rm -f conftest.
$ac_objext conftest.
$ac_ext
5009 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
5010 echo "${ECHO_T}$ac_cv_c_volatile" >&6
5011 if test $ac_cv_c_volatile = no
; then
5013 cat >>confdefs.h
<<\_ACEOF
5019 echo "$as_me:$LINENO: checking for inline" >&5
5020 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5021 if test "${ac_cv_c_inline+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 for ac_kw
in inline __inline__ __inline
; do
5026 cat >conftest.
$ac_ext <<_ACEOF
5027 #line $LINENO "configure"
5030 cat confdefs.h
>>conftest.
$ac_ext
5031 cat >>conftest.
$ac_ext <<_ACEOF
5032 /* end confdefs.h. */
5035 static $ac_kw foo_t static_foo () {return 0; }
5036 $ac_kw foo_t foo () {return 0; }
5040 rm -f conftest.
$ac_objext
5041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5042 (eval $ac_compile) 2>&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); } &&
5046 { ac_try
='test -s conftest.$ac_objext'
5047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); }; }; then
5052 ac_cv_c_inline
=$ac_kw; break
5054 echo "$as_me: failed program was:" >&5
5055 sed 's/^/| /' conftest.
$ac_ext >&5
5058 rm -f conftest.
$ac_objext conftest.
$ac_ext
5062 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5063 echo "${ECHO_T}$ac_cv_c_inline" >&6
5064 case $ac_cv_c_inline in
5067 cat >>confdefs.h
<<\_ACEOF
5071 *) cat >>confdefs.h
<<_ACEOF
5072 #define inline $ac_cv_c_inline
5077 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
5078 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
5079 if test "${ac_cv_c_long_double+set}" = set; then
5080 echo $ECHO_N "(cached) $ECHO_C" >&6
5082 cat >conftest.
$ac_ext <<_ACEOF
5083 #line $LINENO "configure"
5086 cat confdefs.h
>>conftest.
$ac_ext
5087 cat >>conftest.
$ac_ext <<_ACEOF
5088 /* end confdefs.h. */
5090 long double foo = 0.0;
5094 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
5095 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
5096 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
5103 rm -f conftest.
$ac_objext
5104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5105 (eval $ac_compile) 2>&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); } &&
5109 { ac_try
='test -s conftest.$ac_objext'
5110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; }; then
5115 ac_cv_c_long_double
=yes
5117 echo "$as_me: failed program was:" >&5
5118 sed 's/^/| /' conftest.
$ac_ext >&5
5120 ac_cv_c_long_double
=no
5122 rm -f conftest.
$ac_objext conftest.
$ac_ext
5124 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
5125 echo "${ECHO_T}$ac_cv_c_long_double" >&6
5126 if test $ac_cv_c_long_double = yes; then
5128 cat >>confdefs.h
<<\_ACEOF
5129 #define HAVE_LONG_DOUBLE 1
5212 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5214 echo "$as_me:$LINENO: checking for $ac_header" >&5
5215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5217 echo $ECHO_N "(cached) $ECHO_C" >&6
5219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5222 # Is the header compilable?
5223 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5224 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5225 cat >conftest.
$ac_ext <<_ACEOF
5226 #line $LINENO "configure"
5229 cat confdefs.h
>>conftest.
$ac_ext
5230 cat >>conftest.
$ac_ext <<_ACEOF
5231 /* end confdefs.h. */
5232 $ac_includes_default
5233 #include <$ac_header>
5235 rm -f conftest.
$ac_objext
5236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5237 (eval $ac_compile) 2>&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); } &&
5241 { ac_try
='test -s conftest.$ac_objext'
5242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); }; }; then
5247 ac_header_compiler
=yes
5249 echo "$as_me: failed program was:" >&5
5250 sed 's/^/| /' conftest.
$ac_ext >&5
5252 ac_header_compiler
=no
5254 rm -f conftest.
$ac_objext conftest.
$ac_ext
5255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5256 echo "${ECHO_T}$ac_header_compiler" >&6
5258 # Is the header present?
5259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5261 cat >conftest.
$ac_ext <<_ACEOF
5262 #line $LINENO "configure"
5265 cat confdefs.h
>>conftest.
$ac_ext
5266 cat >>conftest.
$ac_ext <<_ACEOF
5267 /* end confdefs.h. */
5268 #include <$ac_header>
5270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5273 grep -v '^ *+' conftest.er1
>conftest.err
5275 cat conftest.err
>&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); } >/dev
/null
; then
5278 if test -s conftest.err
; then
5279 ac_cpp_err
=$ac_c_preproc_warn_flag
5286 if test -z "$ac_cpp_err"; then
5287 ac_header_preproc
=yes
5289 echo "$as_me: failed program was:" >&5
5290 sed 's/^/| /' conftest.
$ac_ext >&5
5292 ac_header_preproc
=no
5294 rm -f conftest.err conftest.
$ac_ext
5295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5296 echo "${ECHO_T}$ac_header_preproc" >&6
5298 # So? What about this header?
5299 case $ac_header_compiler:$ac_header_preproc in
5301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5307 ## ------------------------------------ ##
5308 ## Report this to bug-autoconf@gnu.org. ##
5309 ## ------------------------------------ ##
5312 sed "s/^/$as_me: WARNING: /" >&2
5315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5320 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5323 ## ------------------------------------ ##
5324 ## Report this to bug-autoconf@gnu.org. ##
5325 ## ------------------------------------ ##
5328 sed "s/^/$as_me: WARNING: /" >&2
5331 echo "$as_me:$LINENO: checking for $ac_header" >&5
5332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5334 echo $ECHO_N "(cached) $ECHO_C" >&6
5336 eval "$as_ac_Header=$ac_header_preproc"
5338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5343 cat >>confdefs.h
<<_ACEOF
5344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5358 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5359 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5360 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5361 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
5362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5363 echo $ECHO_N "(cached) $ECHO_C" >&6
5365 cat >conftest.
$ac_ext <<_ACEOF
5366 #line $LINENO "configure"
5369 cat confdefs.h
>>conftest.
$ac_ext
5370 cat >>conftest.
$ac_ext <<_ACEOF
5371 /* end confdefs.h. */
5372 #include <sys/types.h>
5384 rm -f conftest.
$ac_objext
5385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5386 (eval $ac_compile) 2>&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); } &&
5390 { ac_try
='test -s conftest.$ac_objext'
5391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); }; }; then
5396 eval "$as_ac_Header=yes"
5398 echo "$as_me: failed program was:" >&5
5399 sed 's/^/| /' conftest.
$ac_ext >&5
5401 eval "$as_ac_Header=no"
5403 rm -f conftest.
$ac_objext conftest.
$ac_ext
5405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5408 cat >>confdefs.h
<<_ACEOF
5409 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5412 ac_header_dirent
=$ac_hdr; break
5416 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5417 if test $ac_header_dirent = dirent.h
; then
5419 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5420 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5421 if test "${ac_cv_search_opendir+set}" = set; then
5422 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 ac_func_search_save_LIBS
=$LIBS
5426 ac_cv_search_opendir
=no
5427 cat >conftest.
$ac_ext <<_ACEOF
5428 #line $LINENO "configure"
5431 cat confdefs.h
>>conftest.
$ac_ext
5432 cat >>conftest.
$ac_ext <<_ACEOF
5433 /* end confdefs.h. */
5435 /* Override any gcc2 internal prototype to avoid an error. */
5439 /* We use char because int might match the return type of a gcc2
5440 builtin and then its argument prototype would still apply. */
5450 rm -f conftest.
$ac_objext conftest
$ac_exeext
5451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5452 (eval $ac_link) 2>&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } &&
5456 { ac_try
='test -s conftest$ac_exeext'
5457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); }; }; then
5462 ac_cv_search_opendir
='none required'
5464 echo "$as_me: failed program was:" >&5
5465 sed 's/^/| /' conftest.
$ac_ext >&5
5468 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5469 if test "$ac_cv_search_opendir" = no
; then
5470 for ac_lib
in dir
; do
5471 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5472 cat >conftest.
$ac_ext <<_ACEOF
5473 #line $LINENO "configure"
5476 cat confdefs.h
>>conftest.
$ac_ext
5477 cat >>conftest.
$ac_ext <<_ACEOF
5478 /* end confdefs.h. */
5480 /* Override any gcc2 internal prototype to avoid an error. */
5484 /* We use char because int might match the return type of a gcc2
5485 builtin and then its argument prototype would still apply. */
5495 rm -f conftest.
$ac_objext conftest
$ac_exeext
5496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5497 (eval $ac_link) 2>&5
5499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); } &&
5501 { ac_try
='test -s conftest$ac_exeext'
5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }; }; then
5507 ac_cv_search_opendir
="-l$ac_lib"; break
5509 echo "$as_me: failed program was:" >&5
5510 sed 's/^/| /' conftest.
$ac_ext >&5
5513 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5516 LIBS
=$ac_func_search_save_LIBS
5519 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5520 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5522 if test "$ac_cv_search_opendir" = no
; then :
5525 if test "$ac_cv_search_opendir" = 'none required'; then :
5528 LIBS
="$ac_cv_search_opendir $LIBS"
5535 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5536 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5537 if test "${ac_cv_search_opendir+set}" = set; then
5538 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 ac_func_search_save_LIBS
=$LIBS
5542 ac_cv_search_opendir
=no
5543 cat >conftest.
$ac_ext <<_ACEOF
5544 #line $LINENO "configure"
5547 cat confdefs.h
>>conftest.
$ac_ext
5548 cat >>conftest.
$ac_ext <<_ACEOF
5549 /* end confdefs.h. */
5551 /* Override any gcc2 internal prototype to avoid an error. */
5555 /* We use char because int might match the return type of a gcc2
5556 builtin and then its argument prototype would still apply. */
5566 rm -f conftest.
$ac_objext conftest
$ac_exeext
5567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5568 (eval $ac_link) 2>&5
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); } &&
5572 { ac_try
='test -s conftest$ac_exeext'
5573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); }; }; then
5578 ac_cv_search_opendir
='none required'
5580 echo "$as_me: failed program was:" >&5
5581 sed 's/^/| /' conftest.
$ac_ext >&5
5584 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5585 if test "$ac_cv_search_opendir" = no
; then
5587 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5588 cat >conftest.
$ac_ext <<_ACEOF
5589 #line $LINENO "configure"
5592 cat confdefs.h
>>conftest.
$ac_ext
5593 cat >>conftest.
$ac_ext <<_ACEOF
5594 /* end confdefs.h. */
5596 /* Override any gcc2 internal prototype to avoid an error. */
5600 /* We use char because int might match the return type of a gcc2
5601 builtin and then its argument prototype would still apply. */
5611 rm -f conftest.
$ac_objext conftest
$ac_exeext
5612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5613 (eval $ac_link) 2>&5
5615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); } &&
5617 { ac_try
='test -s conftest$ac_exeext'
5618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); }; }; then
5623 ac_cv_search_opendir
="-l$ac_lib"; break
5625 echo "$as_me: failed program was:" >&5
5626 sed 's/^/| /' conftest.
$ac_ext >&5
5629 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5632 LIBS
=$ac_func_search_save_LIBS
5635 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5636 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5638 if test "$ac_cv_search_opendir" = no
; then :
5641 if test "$ac_cv_search_opendir" = 'none required'; then :
5644 LIBS
="$ac_cv_search_opendir $LIBS"
5651 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
5652 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
5653 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
5654 echo $ECHO_N "(cached) $ECHO_C" >&6
5656 cat >conftest.
$ac_ext <<_ACEOF
5657 #line $LINENO "configure"
5660 cat confdefs.h
>>conftest.
$ac_ext
5661 cat >>conftest.
$ac_ext <<_ACEOF
5662 /* end confdefs.h. */
5663 $ac_includes_default
5667 static struct stat ac_aggr;
5668 if (ac_aggr.st_blocks)
5674 rm -f conftest.
$ac_objext
5675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5676 (eval $ac_compile) 2>&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); } &&
5680 { ac_try
='test -s conftest.$ac_objext'
5681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); }; }; then
5686 ac_cv_member_struct_stat_st_blocks
=yes
5688 echo "$as_me: failed program was:" >&5
5689 sed 's/^/| /' conftest.
$ac_ext >&5
5691 cat >conftest.
$ac_ext <<_ACEOF
5692 #line $LINENO "configure"
5695 cat confdefs.h
>>conftest.
$ac_ext
5696 cat >>conftest.
$ac_ext <<_ACEOF
5697 /* end confdefs.h. */
5698 $ac_includes_default
5702 static struct stat ac_aggr;
5703 if (sizeof ac_aggr.st_blocks)
5709 rm -f conftest.
$ac_objext
5710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5711 (eval $ac_compile) 2>&5
5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); } &&
5715 { ac_try
='test -s conftest.$ac_objext'
5716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); }; }; then
5721 ac_cv_member_struct_stat_st_blocks
=yes
5723 echo "$as_me: failed program was:" >&5
5724 sed 's/^/| /' conftest.
$ac_ext >&5
5726 ac_cv_member_struct_stat_st_blocks
=no
5728 rm -f conftest.
$ac_objext conftest.
$ac_ext
5730 rm -f conftest.
$ac_objext conftest.
$ac_ext
5732 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
5733 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
5734 if test $ac_cv_member_struct_stat_st_blocks = yes; then
5736 cat >>confdefs.h
<<_ACEOF
5737 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5741 cat >>confdefs.h
<<\_ACEOF
5742 #define HAVE_ST_BLOCKS 1
5746 LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
5750 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5751 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5752 if test "${ac_cv_struct_tm+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 cat >conftest.
$ac_ext <<_ACEOF
5756 #line $LINENO "configure"
5759 cat confdefs.h
>>conftest.
$ac_ext
5760 cat >>conftest.
$ac_ext <<_ACEOF
5761 /* end confdefs.h. */
5762 #include <sys/types.h>
5768 struct tm *tp; tp->tm_sec;
5773 rm -f conftest.
$ac_objext
5774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5775 (eval $ac_compile) 2>&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); } &&
5779 { ac_try
='test -s conftest.$ac_objext'
5780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); }; }; then
5785 ac_cv_struct_tm
=time.h
5787 echo "$as_me: failed program was:" >&5
5788 sed 's/^/| /' conftest.
$ac_ext >&5
5790 ac_cv_struct_tm
=sys
/time.h
5792 rm -f conftest.
$ac_objext conftest.
$ac_ext
5794 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5795 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5796 if test $ac_cv_struct_tm = sys
/time.h
; then
5798 cat >>confdefs.h
<<\_ACEOF
5799 #define TM_IN_SYS_TIME 1
5804 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
5805 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
5806 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
5807 echo $ECHO_N "(cached) $ECHO_C" >&6
5809 cat >conftest.
$ac_ext <<_ACEOF
5810 #line $LINENO "configure"
5813 cat confdefs.h
>>conftest.
$ac_ext
5814 cat >>conftest.
$ac_ext <<_ACEOF
5815 /* end confdefs.h. */
5816 #include <sys/types.h>
5817 #include <$ac_cv_struct_tm>
5823 static struct tm ac_aggr;
5824 if (ac_aggr.tm_zone)
5830 rm -f conftest.
$ac_objext
5831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5832 (eval $ac_compile) 2>&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); } &&
5836 { ac_try
='test -s conftest.$ac_objext'
5837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); }; }; then
5842 ac_cv_member_struct_tm_tm_zone
=yes
5844 echo "$as_me: failed program was:" >&5
5845 sed 's/^/| /' conftest.
$ac_ext >&5
5847 cat >conftest.
$ac_ext <<_ACEOF
5848 #line $LINENO "configure"
5851 cat confdefs.h
>>conftest.
$ac_ext
5852 cat >>conftest.
$ac_ext <<_ACEOF
5853 /* end confdefs.h. */
5854 #include <sys/types.h>
5855 #include <$ac_cv_struct_tm>
5861 static struct tm ac_aggr;
5862 if (sizeof ac_aggr.tm_zone)
5868 rm -f conftest.
$ac_objext
5869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5870 (eval $ac_compile) 2>&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); } &&
5874 { ac_try
='test -s conftest.$ac_objext'
5875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); }; }; then
5880 ac_cv_member_struct_tm_tm_zone
=yes
5882 echo "$as_me: failed program was:" >&5
5883 sed 's/^/| /' conftest.
$ac_ext >&5
5885 ac_cv_member_struct_tm_tm_zone
=no
5887 rm -f conftest.
$ac_objext conftest.
$ac_ext
5889 rm -f conftest.
$ac_objext conftest.
$ac_ext
5891 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
5892 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
5893 if test $ac_cv_member_struct_tm_tm_zone = yes; then
5895 cat >>confdefs.h
<<_ACEOF
5896 #define HAVE_STRUCT_TM_TM_ZONE 1
5902 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
5904 cat >>confdefs.h
<<\_ACEOF
5905 #define HAVE_TM_ZONE 1
5909 echo "$as_me:$LINENO: checking for tzname" >&5
5910 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
5911 if test "${ac_cv_var_tzname+set}" = set; then
5912 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 cat >conftest.
$ac_ext <<_ACEOF
5915 #line $LINENO "configure"
5918 cat confdefs.h
>>conftest.
$ac_ext
5919 cat >>conftest.
$ac_ext <<_ACEOF
5920 /* end confdefs.h. */
5922 #ifndef tzname /* For SGI. */
5923 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
5934 rm -f conftest.
$ac_objext conftest
$ac_exeext
5935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5936 (eval $ac_link) 2>&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); } &&
5940 { ac_try
='test -s conftest$ac_exeext'
5941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); }; }; then
5946 ac_cv_var_tzname
=yes
5948 echo "$as_me: failed program was:" >&5
5949 sed 's/^/| /' conftest.
$ac_ext >&5
5953 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5955 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
5956 echo "${ECHO_T}$ac_cv_var_tzname" >&6
5957 if test $ac_cv_var_tzname = yes; then
5959 cat >>confdefs.h
<<\_ACEOF
5960 #define HAVE_TZNAME 1
5966 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5967 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
5968 if test "${ac_cv_header_stat_broken+set}" = set; then
5969 echo $ECHO_N "(cached) $ECHO_C" >&6
5971 cat >conftest.
$ac_ext <<_ACEOF
5972 #line $LINENO "configure"
5975 cat confdefs.h
>>conftest.
$ac_ext
5976 cat >>conftest.
$ac_ext <<_ACEOF
5977 /* end confdefs.h. */
5978 #include <sys/types.h>
5979 #include <sys/stat.h>
5981 #if defined(S_ISBLK) && defined(S_IFDIR)
5982 # if S_ISBLK (S_IFDIR)
5987 #if defined(S_ISBLK) && defined(S_IFCHR)
5988 # if S_ISBLK (S_IFCHR)
5993 #if defined(S_ISLNK) && defined(S_IFREG)
5994 # if S_ISLNK (S_IFREG)
5999 #if defined(S_ISSOCK) && defined(S_IFREG)
6000 # if S_ISSOCK (S_IFREG)
6006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6007 $EGREP "You lose" >/dev
/null
2>&1; then
6008 ac_cv_header_stat_broken
=yes
6010 ac_cv_header_stat_broken
=no
6015 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6016 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
6017 if test $ac_cv_header_stat_broken = yes; then
6019 cat >>confdefs.h
<<\_ACEOF
6020 #define STAT_MACROS_BROKEN 1
6025 echo "$as_me:$LINENO: checking for nanoseconds member of struct stat.st_mtim" >&5
6026 echo $ECHO_N "checking for nanoseconds member of struct stat.st_mtim... $ECHO_C" >&6
6027 if test "${ac_cv_struct_st_mtim_nsec+set}" = set; then
6028 echo $ECHO_N "(cached) $ECHO_C" >&6
6030 ac_save_CPPFLAGS
="$CPPFLAGS"
6031 ac_cv_struct_st_mtim_nsec
=no
6032 # tv_nsec -- the usual case
6033 # _tv_nsec -- Solaris 2.6, if
6034 # (defined _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED == 1
6035 # && !defined __EXTENSIONS__)
6036 # st__tim.tv_nsec -- UnixWare 2.1.2
6037 for ac_val
in tv_nsec _tv_nsec st__tim.tv_nsec
; do
6038 CPPFLAGS
="$ac_save_CPPFLAGS -DST_MTIM_NSEC=$ac_val"
6039 cat >conftest.
$ac_ext <<_ACEOF
6040 #line $LINENO "configure"
6043 cat confdefs.h
>>conftest.
$ac_ext
6044 cat >>conftest.
$ac_ext <<_ACEOF
6045 /* end confdefs.h. */
6046 #include <sys/types.h>
6047 #include <sys/stat.h>
6051 struct stat s; s.st_mtim.ST_MTIM_NSEC;
6056 rm -f conftest.
$ac_objext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6058 (eval $ac_compile) 2>&5
6060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061 (exit $ac_status); } &&
6062 { ac_try
='test -s conftest.$ac_objext'
6063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); }; }; then
6068 ac_cv_struct_st_mtim_nsec
=$ac_val; break
6070 echo "$as_me: failed program was:" >&5
6071 sed 's/^/| /' conftest.
$ac_ext >&5
6074 rm -f conftest.
$ac_objext conftest.
$ac_ext
6076 CPPFLAGS
="$ac_save_CPPFLAGS"
6078 echo "$as_me:$LINENO: result: $ac_cv_struct_st_mtim_nsec" >&5
6079 echo "${ECHO_T}$ac_cv_struct_st_mtim_nsec" >&6
6081 if test $ac_cv_struct_st_mtim_nsec != no
; then
6083 cat >>confdefs.h
<<_ACEOF
6084 #define ST_MTIM_NSEC $ac_cv_struct_st_mtim_nsec
6090 echo "$as_me:$LINENO: checking for st_dm_mode in struct stat" >&5
6091 echo $ECHO_N "checking for st_dm_mode in struct stat... $ECHO_C" >&6
6092 if test "${ac_cv_struct_st_dm_mode+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 cat >conftest.
$ac_ext <<_ACEOF
6096 #line $LINENO "configure"
6099 cat confdefs.h
>>conftest.
$ac_ext
6100 cat >>conftest.
$ac_ext <<_ACEOF
6101 /* end confdefs.h. */
6102 #include <sys/types.h>
6103 #include <sys/stat.h>
6107 struct stat s; s.st_dm_mode;
6112 rm -f conftest.
$ac_objext
6113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6114 (eval $ac_compile) 2>&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } &&
6118 { ac_try
='test -s conftest.$ac_objext'
6119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); }; }; then
6124 ac_cv_struct_st_dm_mode
=yes
6126 echo "$as_me: failed program was:" >&5
6127 sed 's/^/| /' conftest.
$ac_ext >&5
6129 ac_cv_struct_st_dm_mode
=no
6131 rm -f conftest.
$ac_objext conftest.
$ac_ext
6133 echo "$as_me:$LINENO: result: $ac_cv_struct_st_dm_mode" >&5
6134 echo "${ECHO_T}$ac_cv_struct_st_dm_mode" >&6
6136 if test $ac_cv_struct_st_dm_mode = yes; then
6138 cat >>confdefs.h
<<\_ACEOF
6139 #define HAVE_ST_DM_MODE 1
6145 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6146 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6147 if test "${ac_cv_header_time+set}" = set; then
6148 echo $ECHO_N "(cached) $ECHO_C" >&6
6150 cat >conftest.
$ac_ext <<_ACEOF
6151 #line $LINENO "configure"
6154 cat confdefs.h
>>conftest.
$ac_ext
6155 cat >>conftest.
$ac_ext <<_ACEOF
6156 /* end confdefs.h. */
6157 #include <sys/types.h>
6158 #include <sys/time.h>
6164 if ((struct tm *) 0)
6170 rm -f conftest.
$ac_objext
6171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6172 (eval $ac_compile) 2>&5
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); } &&
6176 { ac_try
='test -s conftest.$ac_objext'
6177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }; }; then
6182 ac_cv_header_time
=yes
6184 echo "$as_me: failed program was:" >&5
6185 sed 's/^/| /' conftest.
$ac_ext >&5
6187 ac_cv_header_time
=no
6189 rm -f conftest.
$ac_objext conftest.
$ac_ext
6191 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6192 echo "${ECHO_T}$ac_cv_header_time" >&6
6193 if test $ac_cv_header_time = yes; then
6195 cat >>confdefs.h
<<\_ACEOF
6196 #define TIME_WITH_SYS_TIME 1
6203 echo "$as_me:$LINENO: checking for struct timespec" >&5
6204 echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
6205 if test "${fu_cv_sys_struct_timespec+set}" = set; then
6206 echo $ECHO_N "(cached) $ECHO_C" >&6
6208 cat >conftest.
$ac_ext <<_ACEOF
6209 #line $LINENO "configure"
6212 cat confdefs.h
>>conftest.
$ac_ext
6213 cat >>conftest.
$ac_ext <<_ACEOF
6214 /* end confdefs.h. */
6216 # if TIME_WITH_SYS_TIME
6217 # include <sys/time.h>
6220 # if HAVE_SYS_TIME_H
6221 # include <sys/time.h>
6230 static struct timespec x; x.tv_sec = x.tv_nsec;
6235 rm -f conftest.
$ac_objext
6236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6237 (eval $ac_compile) 2>&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } &&
6241 { ac_try
='test -s conftest.$ac_objext'
6242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); }; }; then
6247 fu_cv_sys_struct_timespec
=yes
6249 echo "$as_me: failed program was:" >&5
6250 sed 's/^/| /' conftest.
$ac_ext >&5
6252 fu_cv_sys_struct_timespec
=no
6254 rm -f conftest.
$ac_objext conftest.
$ac_ext
6257 echo "$as_me:$LINENO: result: $fu_cv_sys_struct_timespec" >&5
6258 echo "${ECHO_T}$fu_cv_sys_struct_timespec" >&6
6260 if test $fu_cv_sys_struct_timespec = yes; then
6262 cat >>confdefs.h
<<\_ACEOF
6263 #define HAVE_STRUCT_TIMESPEC 1
6268 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
6269 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
6270 if test "${ac_cv_type_uid_t+set}" = set; then
6271 echo $ECHO_N "(cached) $ECHO_C" >&6
6273 cat >conftest.
$ac_ext <<_ACEOF
6274 #line $LINENO "configure"
6277 cat confdefs.h
>>conftest.
$ac_ext
6278 cat >>conftest.
$ac_ext <<_ACEOF
6279 /* end confdefs.h. */
6280 #include <sys/types.h>
6283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6284 $EGREP "uid_t" >/dev
/null
2>&1; then
6285 ac_cv_type_uid_t
=yes
6292 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
6293 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
6294 if test $ac_cv_type_uid_t = no
; then
6296 cat >>confdefs.h
<<\_ACEOF
6301 cat >>confdefs.h
<<\_ACEOF
6307 echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
6308 echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6
6309 if test "${ac_cv_type_getgroups+set}" = set; then
6310 echo $ECHO_N "(cached) $ECHO_C" >&6
6312 if test "$cross_compiling" = yes; then
6313 ac_cv_type_getgroups
=cross
6315 cat >conftest.
$ac_ext <<_ACEOF
6316 #line $LINENO "configure"
6319 cat confdefs.h
>>conftest.
$ac_ext
6320 cat >>conftest.
$ac_ext <<_ACEOF
6321 /* end confdefs.h. */
6322 /* Thanks to Mike Rendell for this test. */
6323 #include <sys/types.h>
6326 #define MAX(x, y) ((x) > (y) ? (x) : (y))
6333 union { gid_t gval; long lval; } val;
6336 for (i = 0; i < NGID; i++)
6337 gidset[i] = val.gval;
6338 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
6340 /* Exit non-zero if getgroups seems to require an array of ints. This
6341 happens when gid_t is short but getgroups modifies an array of ints. */
6342 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
6345 rm -f conftest
$ac_exeext
6346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6347 (eval $ac_link) 2>&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); }; }; then
6356 ac_cv_type_getgroups
=gid_t
6358 echo "$as_me: program exited with status $ac_status" >&5
6359 echo "$as_me: failed program was:" >&5
6360 sed 's/^/| /' conftest.
$ac_ext >&5
6363 ac_cv_type_getgroups
=int
6365 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6367 if test $ac_cv_type_getgroups = cross
; then
6368 cat >conftest.
$ac_ext <<_ACEOF
6369 #line $LINENO "configure"
6372 cat confdefs.h
>>conftest.
$ac_ext
6373 cat >>conftest.
$ac_ext <<_ACEOF
6374 /* end confdefs.h. */
6378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6379 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
6380 ac_cv_type_getgroups
=gid_t
6382 ac_cv_type_getgroups
=int
6388 echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
6389 echo "${ECHO_T}$ac_cv_type_getgroups" >&6
6391 cat >>confdefs.h
<<_ACEOF
6392 #define GETGROUPS_T $ac_cv_type_getgroups
6396 echo "$as_me:$LINENO: checking for mode_t" >&5
6397 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
6398 if test "${ac_cv_type_mode_t+set}" = set; then
6399 echo $ECHO_N "(cached) $ECHO_C" >&6
6401 cat >conftest.
$ac_ext <<_ACEOF
6402 #line $LINENO "configure"
6405 cat confdefs.h
>>conftest.
$ac_ext
6406 cat >>conftest.
$ac_ext <<_ACEOF
6407 /* end confdefs.h. */
6408 $ac_includes_default
6414 if (sizeof (mode_t))
6420 rm -f conftest.
$ac_objext
6421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6422 (eval $ac_compile) 2>&5
6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 (exit $ac_status); } &&
6426 { ac_try
='test -s conftest.$ac_objext'
6427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); }; }; then
6432 ac_cv_type_mode_t
=yes
6434 echo "$as_me: failed program was:" >&5
6435 sed 's/^/| /' conftest.
$ac_ext >&5
6437 ac_cv_type_mode_t
=no
6439 rm -f conftest.
$ac_objext conftest.
$ac_ext
6441 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6442 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
6443 if test $ac_cv_type_mode_t = yes; then
6447 cat >>confdefs.h
<<_ACEOF
6453 echo "$as_me:$LINENO: checking for off_t" >&5
6454 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6455 if test "${ac_cv_type_off_t+set}" = set; then
6456 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 cat >conftest.
$ac_ext <<_ACEOF
6459 #line $LINENO "configure"
6462 cat confdefs.h
>>conftest.
$ac_ext
6463 cat >>conftest.
$ac_ext <<_ACEOF
6464 /* end confdefs.h. */
6465 $ac_includes_default
6477 rm -f conftest.
$ac_objext
6478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6479 (eval $ac_compile) 2>&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); } &&
6483 { ac_try
='test -s conftest.$ac_objext'
6484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; }; then
6489 ac_cv_type_off_t
=yes
6491 echo "$as_me: failed program was:" >&5
6492 sed 's/^/| /' conftest.
$ac_ext >&5
6496 rm -f conftest.
$ac_objext conftest.
$ac_ext
6498 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6499 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6500 if test $ac_cv_type_off_t = yes; then
6504 cat >>confdefs.h
<<_ACEOF
6510 echo "$as_me:$LINENO: checking for pid_t" >&5
6511 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
6512 if test "${ac_cv_type_pid_t+set}" = set; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 cat >conftest.
$ac_ext <<_ACEOF
6516 #line $LINENO "configure"
6519 cat confdefs.h
>>conftest.
$ac_ext
6520 cat >>conftest.
$ac_ext <<_ACEOF
6521 /* end confdefs.h. */
6522 $ac_includes_default
6534 rm -f conftest.
$ac_objext
6535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6536 (eval $ac_compile) 2>&5
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); } &&
6540 { ac_try
='test -s conftest.$ac_objext'
6541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); }; }; then
6546 ac_cv_type_pid_t
=yes
6548 echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.
$ac_ext >&5
6553 rm -f conftest.
$ac_objext conftest.
$ac_ext
6555 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6556 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
6557 if test $ac_cv_type_pid_t = yes; then
6561 cat >>confdefs.h
<<_ACEOF
6567 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6568 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6569 if test "${ac_cv_type_signal+set}" = set; then
6570 echo $ECHO_N "(cached) $ECHO_C" >&6
6572 cat >conftest.
$ac_ext <<_ACEOF
6573 #line $LINENO "configure"
6576 cat confdefs.h
>>conftest.
$ac_ext
6577 cat >>conftest.
$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6579 #include <sys/types.h>
6585 extern "C" void (*signal (int, void (*)(int)))(int);
6587 void (*signal ()) ();
6598 rm -f conftest.
$ac_objext
6599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6600 (eval $ac_compile) 2>&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); } &&
6604 { ac_try
='test -s conftest.$ac_objext'
6605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); }; }; then
6610 ac_cv_type_signal
=void
6612 echo "$as_me: failed program was:" >&5
6613 sed 's/^/| /' conftest.
$ac_ext >&5
6615 ac_cv_type_signal
=int
6617 rm -f conftest.
$ac_objext conftest.
$ac_ext
6619 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6620 echo "${ECHO_T}$ac_cv_type_signal" >&6
6622 cat >>confdefs.h
<<_ACEOF
6623 #define RETSIGTYPE $ac_cv_type_signal
6627 echo "$as_me:$LINENO: checking for size_t" >&5
6628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6629 if test "${ac_cv_type_size_t+set}" = set; then
6630 echo $ECHO_N "(cached) $ECHO_C" >&6
6632 cat >conftest.
$ac_ext <<_ACEOF
6633 #line $LINENO "configure"
6636 cat confdefs.h
>>conftest.
$ac_ext
6637 cat >>conftest.
$ac_ext <<_ACEOF
6638 /* end confdefs.h. */
6639 $ac_includes_default
6645 if (sizeof (size_t))
6651 rm -f conftest.
$ac_objext
6652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6653 (eval $ac_compile) 2>&5
6655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656 (exit $ac_status); } &&
6657 { ac_try
='test -s conftest.$ac_objext'
6658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); }; }; then
6663 ac_cv_type_size_t
=yes
6665 echo "$as_me: failed program was:" >&5
6666 sed 's/^/| /' conftest.
$ac_ext >&5
6668 ac_cv_type_size_t
=no
6670 rm -f conftest.
$ac_objext conftest.
$ac_ext
6672 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6673 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6674 if test $ac_cv_type_size_t = yes; then
6678 cat >>confdefs.h
<<_ACEOF
6679 #define size_t unsigned
6685 echo "$as_me:$LINENO: checking for unsigned long long" >&5
6686 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
6687 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
6688 echo $ECHO_N "(cached) $ECHO_C" >&6
6690 cat >conftest.
$ac_ext <<_ACEOF
6691 #line $LINENO "configure"
6694 cat confdefs.h
>>conftest.
$ac_ext
6695 cat >>conftest.
$ac_ext <<_ACEOF
6696 /* end confdefs.h. */
6697 unsigned long long ull = 1; int i = 63;
6701 unsigned long long ullmax = (unsigned long long) -1;
6702 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
6707 rm -f conftest.
$ac_objext conftest
$ac_exeext
6708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6709 (eval $ac_link) 2>&5
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); } &&
6713 { ac_try
='test -s conftest$ac_exeext'
6714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); }; }; then
6719 ac_cv_type_unsigned_long_long
=yes
6721 echo "$as_me: failed program was:" >&5
6722 sed 's/^/| /' conftest.
$ac_ext >&5
6724 ac_cv_type_unsigned_long_long
=no
6726 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6728 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
6729 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
6730 if test $ac_cv_type_unsigned_long_long = yes; then
6732 cat >>confdefs.h
<<\_ACEOF
6733 #define HAVE_UNSIGNED_LONG_LONG 1
6740 echo "$as_me:$LINENO: checking for uintmax_t" >&5
6741 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6742 if test "${ac_cv_type_uintmax_t+set}" = set; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 cat >conftest.
$ac_ext <<_ACEOF
6746 #line $LINENO "configure"
6749 cat confdefs.h
>>conftest.
$ac_ext
6750 cat >>conftest.
$ac_ext <<_ACEOF
6751 /* end confdefs.h. */
6752 $ac_includes_default
6756 if ((uintmax_t *) 0)
6758 if (sizeof (uintmax_t))
6764 rm -f conftest.
$ac_objext
6765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6766 (eval $ac_compile) 2>&5
6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); } &&
6770 { ac_try
='test -s conftest.$ac_objext'
6771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); }; }; then
6776 ac_cv_type_uintmax_t
=yes
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.
$ac_ext >&5
6781 ac_cv_type_uintmax_t
=no
6783 rm -f conftest.
$ac_objext conftest.
$ac_ext
6785 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
6786 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
6787 if test $ac_cv_type_uintmax_t = yes; then
6790 test $ac_cv_type_unsigned_long_long = yes \
6791 && ac_type
='unsigned long long' \
6792 || ac_type
='unsigned long'
6794 cat >>confdefs.h
<<_ACEOF
6795 #define uintmax_t $ac_type
6801 echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
6802 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6
6803 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
6804 echo $ECHO_N "(cached) $ECHO_C" >&6
6806 cat >conftest.
$ac_ext <<_ACEOF
6807 #line $LINENO "configure"
6810 cat confdefs.h
>>conftest.
$ac_ext
6811 cat >>conftest.
$ac_ext <<_ACEOF
6812 /* end confdefs.h. */
6813 #include <sys/types.h>
6817 return makedev(0, 0);
6822 rm -f conftest.
$ac_objext conftest
$ac_exeext
6823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6824 (eval $ac_link) 2>&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); } &&
6828 { ac_try
='test -s conftest$ac_exeext'
6829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6833 (exit $ac_status); }; }; then
6834 ac_cv_header_sys_types_h_makedev
=yes
6836 echo "$as_me: failed program was:" >&5
6837 sed 's/^/| /' conftest.
$ac_ext >&5
6839 ac_cv_header_sys_types_h_makedev
=no
6841 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6844 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
6845 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6
6847 if test $ac_cv_header_sys_types_h_makedev = no
; then
6848 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
6849 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
6850 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
6851 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
6852 echo $ECHO_N "(cached) $ECHO_C" >&6
6854 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
6855 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
6857 # Is the header compilable?
6858 echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
6859 echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6
6860 cat >conftest.
$ac_ext <<_ACEOF
6861 #line $LINENO "configure"
6864 cat confdefs.h
>>conftest.
$ac_ext
6865 cat >>conftest.
$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6867 $ac_includes_default
6868 #include <sys/mkdev.h>
6870 rm -f conftest.
$ac_objext
6871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6872 (eval $ac_compile) 2>&5
6874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 (exit $ac_status); } &&
6876 { ac_try
='test -s conftest.$ac_objext'
6877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); }; }; then
6882 ac_header_compiler
=yes
6884 echo "$as_me: failed program was:" >&5
6885 sed 's/^/| /' conftest.
$ac_ext >&5
6887 ac_header_compiler
=no
6889 rm -f conftest.
$ac_objext conftest.
$ac_ext
6890 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6891 echo "${ECHO_T}$ac_header_compiler" >&6
6893 # Is the header present?
6894 echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
6895 echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6
6896 cat >conftest.
$ac_ext <<_ACEOF
6897 #line $LINENO "configure"
6900 cat confdefs.h
>>conftest.
$ac_ext
6901 cat >>conftest.
$ac_ext <<_ACEOF
6902 /* end confdefs.h. */
6903 #include <sys/mkdev.h>
6905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6906 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6908 grep -v '^ *+' conftest.er1
>conftest.err
6910 cat conftest.err
>&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); } >/dev
/null
; then
6913 if test -s conftest.err
; then
6914 ac_cpp_err
=$ac_c_preproc_warn_flag
6921 if test -z "$ac_cpp_err"; then
6922 ac_header_preproc
=yes
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.
$ac_ext >&5
6927 ac_header_preproc
=no
6929 rm -f conftest.err conftest.
$ac_ext
6930 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6931 echo "${ECHO_T}$ac_header_preproc" >&6
6933 # So? What about this header?
6934 case $ac_header_compiler:$ac_header_preproc in
6936 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
6937 echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6938 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
6939 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
6942 ## ------------------------------------ ##
6943 ## Report this to bug-autoconf@gnu.org. ##
6944 ## ------------------------------------ ##
6947 sed "s/^/$as_me: WARNING: /" >&2
6950 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
6951 echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
6952 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5
6953 echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;}
6954 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
6955 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
6958 ## ------------------------------------ ##
6959 ## Report this to bug-autoconf@gnu.org. ##
6960 ## ------------------------------------ ##
6963 sed "s/^/$as_me: WARNING: /" >&2
6966 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
6967 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
6968 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
6969 echo $ECHO_N "(cached) $ECHO_C" >&6
6971 ac_cv_header_sys_mkdev_h
=$ac_header_preproc
6973 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
6974 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
6977 if test $ac_cv_header_sys_mkdev_h = yes; then
6979 cat >>confdefs.h
<<\_ACEOF
6980 #define MAJOR_IN_MKDEV 1
6987 if test $ac_cv_header_sys_mkdev_h = no
; then
6988 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
6989 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
6990 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
6991 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
6992 echo $ECHO_N "(cached) $ECHO_C" >&6
6994 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
6995 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
6997 # Is the header compilable?
6998 echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
6999 echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6
7000 cat >conftest.
$ac_ext <<_ACEOF
7001 #line $LINENO "configure"
7004 cat confdefs.h
>>conftest.
$ac_ext
7005 cat >>conftest.
$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7007 $ac_includes_default
7008 #include <sys/sysmacros.h>
7010 rm -f conftest.
$ac_objext
7011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7012 (eval $ac_compile) 2>&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); } &&
7016 { ac_try
='test -s conftest.$ac_objext'
7017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); }; }; then
7022 ac_header_compiler
=yes
7024 echo "$as_me: failed program was:" >&5
7025 sed 's/^/| /' conftest.
$ac_ext >&5
7027 ac_header_compiler
=no
7029 rm -f conftest.
$ac_objext conftest.
$ac_ext
7030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7031 echo "${ECHO_T}$ac_header_compiler" >&6
7033 # Is the header present?
7034 echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
7035 echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6
7036 cat >conftest.
$ac_ext <<_ACEOF
7037 #line $LINENO "configure"
7040 cat confdefs.h
>>conftest.
$ac_ext
7041 cat >>conftest.
$ac_ext <<_ACEOF
7042 /* end confdefs.h. */
7043 #include <sys/sysmacros.h>
7045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7046 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7048 grep -v '^ *+' conftest.er1
>conftest.err
7050 cat conftest.err
>&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); } >/dev
/null
; then
7053 if test -s conftest.err
; then
7054 ac_cpp_err
=$ac_c_preproc_warn_flag
7061 if test -z "$ac_cpp_err"; then
7062 ac_header_preproc
=yes
7064 echo "$as_me: failed program was:" >&5
7065 sed 's/^/| /' conftest.
$ac_ext >&5
7067 ac_header_preproc
=no
7069 rm -f conftest.err conftest.
$ac_ext
7070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7071 echo "${ECHO_T}$ac_header_preproc" >&6
7073 # So? What about this header?
7074 case $ac_header_compiler:$ac_header_preproc in
7076 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
7077 echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7078 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
7079 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
7082 ## ------------------------------------ ##
7083 ## Report this to bug-autoconf@gnu.org. ##
7084 ## ------------------------------------ ##
7087 sed "s/^/$as_me: WARNING: /" >&2
7090 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
7091 echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
7092 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5
7093 echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;}
7094 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
7095 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
7098 ## ------------------------------------ ##
7099 ## Report this to bug-autoconf@gnu.org. ##
7100 ## ------------------------------------ ##
7103 sed "s/^/$as_me: WARNING: /" >&2
7106 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
7107 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
7108 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
7109 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 ac_cv_header_sys_sysmacros_h
=$ac_header_preproc
7113 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
7114 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
7117 if test $ac_cv_header_sys_sysmacros_h = yes; then
7119 cat >>confdefs.h
<<\_ACEOF
7120 #define MAJOR_IN_SYSMACROS 1
7129 echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
7130 echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6
7131 if test "${acx_cv_c_restrict+set}" = set; then
7132 echo $ECHO_N "(cached) $ECHO_C" >&6
7134 acx_cv_c_restrict
=no
7135 # Try the official restrict keyword, then gcc's __restrict__.
7136 for acx_kw
in restrict __restrict__
; do
7137 cat >conftest.
$ac_ext <<_ACEOF
7138 #line $LINENO "configure"
7141 cat confdefs.h
>>conftest.
$ac_ext
7142 cat >>conftest.
$ac_ext <<_ACEOF
7143 /* end confdefs.h. */
7146 rm -f conftest.
$ac_objext
7147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7148 (eval $ac_compile) 2>&5
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); } &&
7152 { ac_try
='test -s conftest.$ac_objext'
7153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); }; }; then
7158 acx_cv_c_restrict
=$acx_kw; break
7160 echo "$as_me: failed program was:" >&5
7161 sed 's/^/| /' conftest.
$ac_ext >&5
7164 rm -f conftest.
$ac_objext conftest.
$ac_ext
7168 echo "$as_me:$LINENO: result: $acx_cv_c_restrict" >&5
7169 echo "${ECHO_T}$acx_cv_c_restrict" >&6
7170 case $acx_cv_c_restrict in
7173 cat >>confdefs.h
<<\_ACEOF
7177 *) cat >>confdefs.h
<<_ACEOF
7178 #define restrict $acx_cv_c_restrict
7183 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7184 # for constant arguments. Useless!
7185 echo "$as_me:$LINENO: checking for working alloca.h" >&5
7186 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7187 if test "${ac_cv_working_alloca_h+set}" = set; then
7188 echo $ECHO_N "(cached) $ECHO_C" >&6
7190 cat >conftest.
$ac_ext <<_ACEOF
7191 #line $LINENO "configure"
7194 cat confdefs.h
>>conftest.
$ac_ext
7195 cat >>conftest.
$ac_ext <<_ACEOF
7196 /* end confdefs.h. */
7201 char *p = (char *) alloca (2 * sizeof (int));
7206 rm -f conftest.
$ac_objext conftest
$ac_exeext
7207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7208 (eval $ac_link) 2>&5
7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7211 (exit $ac_status); } &&
7212 { ac_try
='test -s conftest$ac_exeext'
7213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); }; }; then
7218 ac_cv_working_alloca_h
=yes
7220 echo "$as_me: failed program was:" >&5
7221 sed 's/^/| /' conftest.
$ac_ext >&5
7223 ac_cv_working_alloca_h
=no
7225 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7227 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
7228 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7229 if test $ac_cv_working_alloca_h = yes; then
7231 cat >>confdefs.h
<<\_ACEOF
7232 #define HAVE_ALLOCA_H 1
7237 echo "$as_me:$LINENO: checking for alloca" >&5
7238 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7239 if test "${ac_cv_func_alloca_works+set}" = set; then
7240 echo $ECHO_N "(cached) $ECHO_C" >&6
7242 cat >conftest.
$ac_ext <<_ACEOF
7243 #line $LINENO "configure"
7246 cat confdefs.h
>>conftest.
$ac_ext
7247 cat >>conftest.
$ac_ext <<_ACEOF
7248 /* end confdefs.h. */
7250 # define alloca __builtin_alloca
7253 # include <malloc.h>
7254 # define alloca _alloca
7257 # include <alloca.h>
7262 # ifndef alloca /* predefined by HP cc +Olibcalls */
7273 char *p = (char *) alloca (1);
7278 rm -f conftest.
$ac_objext conftest
$ac_exeext
7279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7280 (eval $ac_link) 2>&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } &&
7284 { ac_try
='test -s conftest$ac_exeext'
7285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289 (exit $ac_status); }; }; then
7290 ac_cv_func_alloca_works
=yes
7292 echo "$as_me: failed program was:" >&5
7293 sed 's/^/| /' conftest.
$ac_ext >&5
7295 ac_cv_func_alloca_works
=no
7297 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7299 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7300 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7302 if test $ac_cv_func_alloca_works = yes; then
7304 cat >>confdefs.h
<<\_ACEOF
7305 #define HAVE_ALLOCA 1
7309 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7310 # that cause trouble. Some versions do not even contain alloca or
7311 # contain a buggy version. If you still want to use their alloca,
7312 # use ar to extract alloca.o from them instead of compiling alloca.c.
7314 ALLOCA
=alloca.
$ac_objext
7316 cat >>confdefs.h
<<\_ACEOF
7321 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7322 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7323 if test "${ac_cv_os_cray+set}" = set; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7326 cat >conftest.
$ac_ext <<_ACEOF
7327 #line $LINENO "configure"
7330 cat confdefs.h
>>conftest.
$ac_ext
7331 cat >>conftest.
$ac_ext <<_ACEOF
7332 /* end confdefs.h. */
7333 #if defined(CRAY) && ! defined(CRAY2)
7340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7341 $EGREP "webecray" >/dev
/null
2>&1; then
7349 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7350 echo "${ECHO_T}$ac_cv_os_cray" >&6
7351 if test $ac_cv_os_cray = yes; then
7352 for ac_func
in _getb67 GETB67 getb67
; do
7353 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7354 echo "$as_me:$LINENO: checking for $ac_func" >&5
7355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7356 if eval "test \"\${$as_ac_var+set}\" = set"; then
7357 echo $ECHO_N "(cached) $ECHO_C" >&6
7359 cat >conftest.
$ac_ext <<_ACEOF
7360 #line $LINENO "configure"
7363 cat confdefs.h
>>conftest.
$ac_ext
7364 cat >>conftest.
$ac_ext <<_ACEOF
7365 /* end confdefs.h. */
7366 /* System header to define __stub macros and hopefully few prototypes,
7367 which can conflict with char $ac_func (); below.
7368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7369 <limits.h> exists even on freestanding compilers. */
7371 # include <limits.h>
7373 # include <assert.h>
7375 /* Override any gcc2 internal prototype to avoid an error. */
7380 /* We use char because int might match the return type of a gcc2
7381 builtin and then its argument prototype would still apply. */
7383 /* The GNU C library defines this for functions which it implements
7384 to always fail with ENOSYS. Some functions are actually named
7385 something starting with __ and the normal name is an alias. */
7386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7389 char (*f) () = $ac_func;
7398 return f != $ac_func;
7403 rm -f conftest.
$ac_objext conftest
$ac_exeext
7404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7405 (eval $ac_link) 2>&5
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); } &&
7409 { ac_try
='test -s conftest$ac_exeext'
7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); }; }; then
7415 eval "$as_ac_var=yes"
7417 echo "$as_me: failed program was:" >&5
7418 sed 's/^/| /' conftest.
$ac_ext >&5
7420 eval "$as_ac_var=no"
7422 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7426 if test `eval echo '${'$as_ac_var'}'` = yes; then
7428 cat >>confdefs.h
<<_ACEOF
7429 #define CRAY_STACKSEG_END $ac_func
7438 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7439 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7440 if test "${ac_cv_c_stack_direction+set}" = set; then
7441 echo $ECHO_N "(cached) $ECHO_C" >&6
7443 if test "$cross_compiling" = yes; then
7444 ac_cv_c_stack_direction
=0
7446 cat >conftest.
$ac_ext <<_ACEOF
7447 #line $LINENO "configure"
7450 cat confdefs.h
>>conftest.
$ac_ext
7451 cat >>conftest.
$ac_ext <<_ACEOF
7452 /* end confdefs.h. */
7454 find_stack_direction ()
7456 static char *addr = 0;
7461 return find_stack_direction ();
7464 return (&dummy > addr) ? 1 : -1;
7470 exit (find_stack_direction () < 0);
7473 rm -f conftest
$ac_exeext
7474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7475 (eval $ac_link) 2>&5
7477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); }; }; then
7484 ac_cv_c_stack_direction
=1
7486 echo "$as_me: program exited with status $ac_status" >&5
7487 echo "$as_me: failed program was:" >&5
7488 sed 's/^/| /' conftest.
$ac_ext >&5
7491 ac_cv_c_stack_direction
=-1
7493 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7496 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7497 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7499 cat >>confdefs.h
<<_ACEOF
7500 #define STACK_DIRECTION $ac_cv_c_stack_direction
7508 for ac_header
in limits.h
7510 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7512 echo "$as_me:$LINENO: checking for $ac_header" >&5
7513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7515 echo $ECHO_N "(cached) $ECHO_C" >&6
7517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7520 # Is the header compilable?
7521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7523 cat >conftest.
$ac_ext <<_ACEOF
7524 #line $LINENO "configure"
7527 cat confdefs.h
>>conftest.
$ac_ext
7528 cat >>conftest.
$ac_ext <<_ACEOF
7529 /* end confdefs.h. */
7530 $ac_includes_default
7531 #include <$ac_header>
7533 rm -f conftest.
$ac_objext
7534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7535 (eval $ac_compile) 2>&5
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); } &&
7539 { ac_try
='test -s conftest.$ac_objext'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; }; then
7545 ac_header_compiler
=yes
7547 echo "$as_me: failed program was:" >&5
7548 sed 's/^/| /' conftest.
$ac_ext >&5
7550 ac_header_compiler
=no
7552 rm -f conftest.
$ac_objext conftest.
$ac_ext
7553 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7554 echo "${ECHO_T}$ac_header_compiler" >&6
7556 # Is the header present?
7557 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7559 cat >conftest.
$ac_ext <<_ACEOF
7560 #line $LINENO "configure"
7563 cat confdefs.h
>>conftest.
$ac_ext
7564 cat >>conftest.
$ac_ext <<_ACEOF
7565 /* end confdefs.h. */
7566 #include <$ac_header>
7568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7569 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7571 grep -v '^ *+' conftest.er1
>conftest.err
7573 cat conftest.err
>&5
7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); } >/dev
/null
; then
7576 if test -s conftest.err
; then
7577 ac_cpp_err
=$ac_c_preproc_warn_flag
7584 if test -z "$ac_cpp_err"; then
7585 ac_header_preproc
=yes
7587 echo "$as_me: failed program was:" >&5
7588 sed 's/^/| /' conftest.
$ac_ext >&5
7590 ac_header_preproc
=no
7592 rm -f conftest.err conftest.
$ac_ext
7593 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7594 echo "${ECHO_T}$ac_header_preproc" >&6
7596 # So? What about this header?
7597 case $ac_header_compiler:$ac_header_preproc in
7599 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7605 ## ------------------------------------ ##
7606 ## Report this to bug-autoconf@gnu.org. ##
7607 ## ------------------------------------ ##
7610 sed "s/^/$as_me: WARNING: /" >&2
7613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7621 ## ------------------------------------ ##
7622 ## Report this to bug-autoconf@gnu.org. ##
7623 ## ------------------------------------ ##
7626 sed "s/^/$as_me: WARNING: /" >&2
7629 echo "$as_me:$LINENO: checking for $ac_header" >&5
7630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 eval "$as_ac_Header=$ac_header_preproc"
7636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7641 cat >>confdefs.h
<<_ACEOF
7642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7652 for ac_header
in string.h
7654 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7656 echo "$as_me:$LINENO: checking for $ac_header" >&5
7657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7659 echo $ECHO_N "(cached) $ECHO_C" >&6
7661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7664 # Is the header compilable?
7665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7667 cat >conftest.
$ac_ext <<_ACEOF
7668 #line $LINENO "configure"
7671 cat confdefs.h
>>conftest.
$ac_ext
7672 cat >>conftest.
$ac_ext <<_ACEOF
7673 /* end confdefs.h. */
7674 $ac_includes_default
7675 #include <$ac_header>
7677 rm -f conftest.
$ac_objext
7678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7679 (eval $ac_compile) 2>&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); } &&
7683 { ac_try
='test -s conftest.$ac_objext'
7684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 (exit $ac_status); }; }; then
7689 ac_header_compiler
=yes
7691 echo "$as_me: failed program was:" >&5
7692 sed 's/^/| /' conftest.
$ac_ext >&5
7694 ac_header_compiler
=no
7696 rm -f conftest.
$ac_objext conftest.
$ac_ext
7697 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7698 echo "${ECHO_T}$ac_header_compiler" >&6
7700 # Is the header present?
7701 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7703 cat >conftest.
$ac_ext <<_ACEOF
7704 #line $LINENO "configure"
7707 cat confdefs.h
>>conftest.
$ac_ext
7708 cat >>conftest.
$ac_ext <<_ACEOF
7709 /* end confdefs.h. */
7710 #include <$ac_header>
7712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7713 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7715 grep -v '^ *+' conftest.er1
>conftest.err
7717 cat conftest.err
>&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); } >/dev
/null
; then
7720 if test -s conftest.err
; then
7721 ac_cpp_err
=$ac_c_preproc_warn_flag
7728 if test -z "$ac_cpp_err"; then
7729 ac_header_preproc
=yes
7731 echo "$as_me: failed program was:" >&5
7732 sed 's/^/| /' conftest.
$ac_ext >&5
7734 ac_header_preproc
=no
7736 rm -f conftest.err conftest.
$ac_ext
7737 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7738 echo "${ECHO_T}$ac_header_preproc" >&6
7740 # So? What about this header?
7741 case $ac_header_compiler:$ac_header_preproc in
7743 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7744 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7749 ## ------------------------------------ ##
7750 ## Report this to bug-autoconf@gnu.org. ##
7751 ## ------------------------------------ ##
7754 sed "s/^/$as_me: WARNING: /" >&2
7757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7765 ## ------------------------------------ ##
7766 ## Report this to bug-autoconf@gnu.org. ##
7767 ## ------------------------------------ ##
7770 sed "s/^/$as_me: WARNING: /" >&2
7773 echo "$as_me:$LINENO: checking for $ac_header" >&5
7774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7776 echo $ECHO_N "(cached) $ECHO_C" >&6
7778 eval "$as_ac_Header=$ac_header_preproc"
7780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7785 cat >>confdefs.h
<<_ACEOF
7786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7796 for ac_header
in wchar.h
7798 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7800 echo "$as_me:$LINENO: checking for $ac_header" >&5
7801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7803 echo $ECHO_N "(cached) $ECHO_C" >&6
7805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7808 # Is the header compilable?
7809 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7811 cat >conftest.
$ac_ext <<_ACEOF
7812 #line $LINENO "configure"
7815 cat confdefs.h
>>conftest.
$ac_ext
7816 cat >>conftest.
$ac_ext <<_ACEOF
7817 /* end confdefs.h. */
7818 $ac_includes_default
7819 #include <$ac_header>
7821 rm -f conftest.
$ac_objext
7822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7823 (eval $ac_compile) 2>&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); } &&
7827 { ac_try
='test -s conftest.$ac_objext'
7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }; }; then
7833 ac_header_compiler
=yes
7835 echo "$as_me: failed program was:" >&5
7836 sed 's/^/| /' conftest.
$ac_ext >&5
7838 ac_header_compiler
=no
7840 rm -f conftest.
$ac_objext conftest.
$ac_ext
7841 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7842 echo "${ECHO_T}$ac_header_compiler" >&6
7844 # Is the header present?
7845 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7847 cat >conftest.
$ac_ext <<_ACEOF
7848 #line $LINENO "configure"
7851 cat confdefs.h
>>conftest.
$ac_ext
7852 cat >>conftest.
$ac_ext <<_ACEOF
7853 /* end confdefs.h. */
7854 #include <$ac_header>
7856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7857 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7859 grep -v '^ *+' conftest.er1
>conftest.err
7861 cat conftest.err
>&5
7862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); } >/dev
/null
; then
7864 if test -s conftest.err
; then
7865 ac_cpp_err
=$ac_c_preproc_warn_flag
7872 if test -z "$ac_cpp_err"; then
7873 ac_header_preproc
=yes
7875 echo "$as_me: failed program was:" >&5
7876 sed 's/^/| /' conftest.
$ac_ext >&5
7878 ac_header_preproc
=no
7880 rm -f conftest.err conftest.
$ac_ext
7881 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7882 echo "${ECHO_T}$ac_header_preproc" >&6
7884 # So? What about this header?
7885 case $ac_header_compiler:$ac_header_preproc in
7887 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7888 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7893 ## ------------------------------------ ##
7894 ## Report this to bug-autoconf@gnu.org. ##
7895 ## ------------------------------------ ##
7898 sed "s/^/$as_me: WARNING: /" >&2
7901 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7902 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7903 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7904 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7909 ## ------------------------------------ ##
7910 ## Report this to bug-autoconf@gnu.org. ##
7911 ## ------------------------------------ ##
7914 sed "s/^/$as_me: WARNING: /" >&2
7917 echo "$as_me:$LINENO: checking for $ac_header" >&5
7918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7920 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 eval "$as_ac_Header=$ac_header_preproc"
7924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7929 cat >>confdefs.h
<<_ACEOF
7930 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7940 for ac_header
in wctype.h
7942 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7944 echo "$as_me:$LINENO: checking for $ac_header" >&5
7945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7947 echo $ECHO_N "(cached) $ECHO_C" >&6
7949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7952 # Is the header compilable?
7953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7955 cat >conftest.
$ac_ext <<_ACEOF
7956 #line $LINENO "configure"
7959 cat confdefs.h
>>conftest.
$ac_ext
7960 cat >>conftest.
$ac_ext <<_ACEOF
7961 /* end confdefs.h. */
7962 $ac_includes_default
7963 #include <$ac_header>
7965 rm -f conftest.
$ac_objext
7966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7967 (eval $ac_compile) 2>&5
7969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 (exit $ac_status); } &&
7971 { ac_try
='test -s conftest.$ac_objext'
7972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7976 (exit $ac_status); }; }; then
7977 ac_header_compiler
=yes
7979 echo "$as_me: failed program was:" >&5
7980 sed 's/^/| /' conftest.
$ac_ext >&5
7982 ac_header_compiler
=no
7984 rm -f conftest.
$ac_objext conftest.
$ac_ext
7985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7986 echo "${ECHO_T}$ac_header_compiler" >&6
7988 # Is the header present?
7989 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7991 cat >conftest.
$ac_ext <<_ACEOF
7992 #line $LINENO "configure"
7995 cat confdefs.h
>>conftest.
$ac_ext
7996 cat >>conftest.
$ac_ext <<_ACEOF
7997 /* end confdefs.h. */
7998 #include <$ac_header>
8000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8003 grep -v '^ *+' conftest.er1
>conftest.err
8005 cat conftest.err
>&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); } >/dev
/null
; then
8008 if test -s conftest.err
; then
8009 ac_cpp_err
=$ac_c_preproc_warn_flag
8016 if test -z "$ac_cpp_err"; then
8017 ac_header_preproc
=yes
8019 echo "$as_me: failed program was:" >&5
8020 sed 's/^/| /' conftest.
$ac_ext >&5
8022 ac_header_preproc
=no
8024 rm -f conftest.err conftest.
$ac_ext
8025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8026 echo "${ECHO_T}$ac_header_preproc" >&6
8028 # So? What about this header?
8029 case $ac_header_compiler:$ac_header_preproc in
8031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8037 ## ------------------------------------ ##
8038 ## Report this to bug-autoconf@gnu.org. ##
8039 ## ------------------------------------ ##
8042 sed "s/^/$as_me: WARNING: /" >&2
8045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8053 ## ------------------------------------ ##
8054 ## Report this to bug-autoconf@gnu.org. ##
8055 ## ------------------------------------ ##
8058 sed "s/^/$as_me: WARNING: /" >&2
8061 echo "$as_me:$LINENO: checking for $ac_header" >&5
8062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8064 echo $ECHO_N "(cached) $ECHO_C" >&6
8066 eval "$as_ac_Header=$ac_header_preproc"
8068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8073 cat >>confdefs.h
<<_ACEOF
8074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8084 for ac_func
in isascii
8086 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8087 echo "$as_me:$LINENO: checking for $ac_func" >&5
8088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8089 if eval "test \"\${$as_ac_var+set}\" = set"; then
8090 echo $ECHO_N "(cached) $ECHO_C" >&6
8092 cat >conftest.
$ac_ext <<_ACEOF
8093 #line $LINENO "configure"
8096 cat confdefs.h
>>conftest.
$ac_ext
8097 cat >>conftest.
$ac_ext <<_ACEOF
8098 /* end confdefs.h. */
8099 /* System header to define __stub macros and hopefully few prototypes,
8100 which can conflict with char $ac_func (); below.
8101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8102 <limits.h> exists even on freestanding compilers. */
8104 # include <limits.h>
8106 # include <assert.h>
8108 /* Override any gcc2 internal prototype to avoid an error. */
8113 /* We use char because int might match the return type of a gcc2
8114 builtin and then its argument prototype would still apply. */
8116 /* The GNU C library defines this for functions which it implements
8117 to always fail with ENOSYS. Some functions are actually named
8118 something starting with __ and the normal name is an alias. */
8119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8122 char (*f) () = $ac_func;
8131 return f != $ac_func;
8136 rm -f conftest.
$ac_objext conftest
$ac_exeext
8137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8138 (eval $ac_link) 2>&5
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); } &&
8142 { ac_try
='test -s conftest$ac_exeext'
8143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); }; }; then
8148 eval "$as_ac_var=yes"
8150 echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.
$ac_ext >&5
8153 eval "$as_ac_var=no"
8155 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8159 if test `eval echo '${'$as_ac_var'}'` = yes; then
8160 cat >>confdefs.h
<<_ACEOF
8161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8170 for ac_func
in mempcpy
8172 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8173 echo "$as_me:$LINENO: checking for $ac_func" >&5
8174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8175 if eval "test \"\${$as_ac_var+set}\" = set"; then
8176 echo $ECHO_N "(cached) $ECHO_C" >&6
8178 cat >conftest.
$ac_ext <<_ACEOF
8179 #line $LINENO "configure"
8182 cat confdefs.h
>>conftest.
$ac_ext
8183 cat >>conftest.
$ac_ext <<_ACEOF
8184 /* end confdefs.h. */
8185 /* System header to define __stub macros and hopefully few prototypes,
8186 which can conflict with char $ac_func (); below.
8187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8188 <limits.h> exists even on freestanding compilers. */
8190 # include <limits.h>
8192 # include <assert.h>
8194 /* Override any gcc2 internal prototype to avoid an error. */
8199 /* We use char because int might match the return type of a gcc2
8200 builtin and then its argument prototype would still apply. */
8202 /* The GNU C library defines this for functions which it implements
8203 to always fail with ENOSYS. Some functions are actually named
8204 something starting with __ and the normal name is an alias. */
8205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8208 char (*f) () = $ac_func;
8217 return f != $ac_func;
8222 rm -f conftest.
$ac_objext conftest
$ac_exeext
8223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8224 (eval $ac_link) 2>&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); } &&
8228 { ac_try
='test -s conftest$ac_exeext'
8229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); }; }; then
8234 eval "$as_ac_var=yes"
8236 echo "$as_me: failed program was:" >&5
8237 sed 's/^/| /' conftest.
$ac_ext >&5
8239 eval "$as_ac_var=no"
8241 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8245 if test `eval echo '${'$as_ac_var'}'` = yes; then
8246 cat >>confdefs.h
<<_ACEOF
8247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8255 echo "$as_me:$LINENO: checking host operating system" >&5
8256 echo $ECHO_N "checking host operating system... $ECHO_C" >&6
8257 if test "${utils_cv_host_operating_system+set}" = set; then
8258 echo $ECHO_N "(cached) $ECHO_C" >&6
8262 # These operating system names do not use the default heuristic below.
8263 # They are in reverse order, so that more-specific prefixes come first.
8264 winnt
*) os
='Windows NT';;
8266 sysv
*) os
='Unix System V';;
8267 superux
*) os
='SUPER-UX';;
8268 sunos
*) os
='SunOS';;
8270 sco
*) os
='SCO Unix';;
8271 riscos
*) os
='RISC OS';;
8272 riscix
*) os
='RISCiX';;
8276 plan9
*) os
='Plan 9';;
8279 openbsd
*) os
='OpenBSD';;
8280 nsk
*) os
='NonStop Kernel';;
8281 nonstopux
*) os
='NonStop-UX';;
8282 netbsd
*) os
='NetBSD';;
8283 msdosdjgpp
*) os
='DJGPP';;
8284 mpeix
*) os
='MPE/iX';;
8286 mingw
*) os
='MinGW';;
8287 lynxos
*) os
='LynxOS';;
8288 linux
*) os
='GNU/Linux';;
8292 freebsd
*-gnu*) os
='GNU/FreeBSD';;
8293 freebsd
*) os
='FreeBSD';;
8295 bsdi
*) os
='BSD/OS';;
8299 atheos
*) os
='AtheOS';;
8300 amigaos
*) os
='Amiga OS';;
8303 # The default heuristic takes the initial alphabetic string
8304 # from $host_os, but capitalizes its first letter.
8307 expr "X$host_os" : 'X\([A-Za-z]\)' | tr '[a-z]' '[A-Z]'
8309 expr "X$host_os" : 'X.\([A-Za-z]*\)'
8313 # If $host_os does not start with an alphabetic string, use it unchanged.
8317 utils_cv_host_operating_system
=$os
8319 echo "$as_me:$LINENO: result: $utils_cv_host_operating_system" >&5
8320 echo "${ECHO_T}$utils_cv_host_operating_system" >&6
8322 cat >>confdefs.h
<<_ACEOF
8323 #define HOST_OPERATING_SYSTEM "$utils_cv_host_operating_system"
8327 echo "$as_me:$LINENO: checking whether mkdir fails due to a trailing slash" >&5
8328 echo $ECHO_N "checking whether mkdir fails due to a trailing slash... $ECHO_C" >&6
8329 if test "${utils_cv_func_mkdir_trailing_slash_bug+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8333 # Arrange for deletion of the temporary directory this test might create.
8334 ac_clean_files
="$ac_clean_files confdir-slash"
8335 if test "$cross_compiling" = yes; then
8336 utils_cv_func_mkdir_trailing_slash_bug
=yes
8339 cat >conftest.
$ac_ext <<_ACEOF
8340 #line $LINENO "configure"
8343 cat confdefs.h
>>conftest.
$ac_ext
8344 cat >>conftest.
$ac_ext <<_ACEOF
8345 /* end confdefs.h. */
8347 # include <sys/types.h>
8348 # include <sys/stat.h>
8349 # include <stdlib.h>
8352 rmdir ("confdir-slash");
8353 exit (mkdir ("confdir-slash/", 0700));
8357 rm -f conftest
$ac_exeext
8358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8359 (eval $ac_link) 2>&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); }; }; then
8368 utils_cv_func_mkdir_trailing_slash_bug
=no
8370 echo "$as_me: program exited with status $ac_status" >&5
8371 echo "$as_me: failed program was:" >&5
8372 sed 's/^/| /' conftest.
$ac_ext >&5
8375 utils_cv_func_mkdir_trailing_slash_bug
=yes
8377 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8382 echo "$as_me:$LINENO: result: $utils_cv_func_mkdir_trailing_slash_bug" >&5
8383 echo "${ECHO_T}$utils_cv_func_mkdir_trailing_slash_bug" >&6
8385 if test $utils_cv_func_mkdir_trailing_slash_bug = yes; then
8386 LIBOBJS
="$LIBOBJS mkdir.$ac_objext"
8388 cat >>confdefs.h
<<\_ACEOF
8389 #define mkdir rpl_mkdir
8395 # getdate.y works with bison only.
8396 : ${YACC='bison -y'}
8400 echo "$as_me:$LINENO: checking whether to enable assertions" >&5
8401 echo $ECHO_N "checking whether to enable assertions... $ECHO_C" >&6
8402 # Check whether --enable-assert or --disable-assert was given.
8403 if test "${enable_assert+set}" = set; then
8404 enableval
="$enable_assert"
8405 echo "$as_me:$LINENO: result: no" >&5
8406 echo "${ECHO_T}no" >&6
8408 cat >>confdefs.h
<<\_ACEOF
8413 echo "$as_me:$LINENO: result: yes" >&5
8414 echo "${ECHO_T}yes" >&6
8420 for ac_header
in utime.h
8422 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8424 echo "$as_me:$LINENO: checking for $ac_header" >&5
8425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8427 echo $ECHO_N "(cached) $ECHO_C" >&6
8429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8432 # Is the header compilable?
8433 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8434 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8435 cat >conftest.
$ac_ext <<_ACEOF
8436 #line $LINENO "configure"
8439 cat confdefs.h
>>conftest.
$ac_ext
8440 cat >>conftest.
$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8442 $ac_includes_default
8443 #include <$ac_header>
8445 rm -f conftest.
$ac_objext
8446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8447 (eval $ac_compile) 2>&5
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 (exit $ac_status); } &&
8451 { ac_try
='test -s conftest.$ac_objext'
8452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 (exit $ac_status); }; }; then
8457 ac_header_compiler
=yes
8459 echo "$as_me: failed program was:" >&5
8460 sed 's/^/| /' conftest.
$ac_ext >&5
8462 ac_header_compiler
=no
8464 rm -f conftest.
$ac_objext conftest.
$ac_ext
8465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8466 echo "${ECHO_T}$ac_header_compiler" >&6
8468 # Is the header present?
8469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8471 cat >conftest.
$ac_ext <<_ACEOF
8472 #line $LINENO "configure"
8475 cat confdefs.h
>>conftest.
$ac_ext
8476 cat >>conftest.
$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8478 #include <$ac_header>
8480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8483 grep -v '^ *+' conftest.er1
>conftest.err
8485 cat conftest.err
>&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); } >/dev
/null
; then
8488 if test -s conftest.err
; then
8489 ac_cpp_err
=$ac_c_preproc_warn_flag
8496 if test -z "$ac_cpp_err"; then
8497 ac_header_preproc
=yes
8499 echo "$as_me: failed program was:" >&5
8500 sed 's/^/| /' conftest.
$ac_ext >&5
8502 ac_header_preproc
=no
8504 rm -f conftest.err conftest.
$ac_ext
8505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8506 echo "${ECHO_T}$ac_header_preproc" >&6
8508 # So? What about this header?
8509 case $ac_header_compiler:$ac_header_preproc in
8511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8517 ## ------------------------------------ ##
8518 ## Report this to bug-autoconf@gnu.org. ##
8519 ## ------------------------------------ ##
8522 sed "s/^/$as_me: WARNING: /" >&2
8525 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8527 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8528 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8533 ## ------------------------------------ ##
8534 ## Report this to bug-autoconf@gnu.org. ##
8535 ## ------------------------------------ ##
8538 sed "s/^/$as_me: WARNING: /" >&2
8541 echo "$as_me:$LINENO: checking for $ac_header" >&5
8542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8544 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 eval "$as_ac_Header=$ac_header_preproc"
8548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8553 cat >>confdefs.h
<<_ACEOF
8554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8562 echo "$as_me:$LINENO: checking for struct utimbuf" >&5
8563 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
8564 if test "${fu_cv_sys_struct_utimbuf+set}" = set; then
8565 echo $ECHO_N "(cached) $ECHO_C" >&6
8567 cat >conftest.
$ac_ext <<_ACEOF
8568 #line $LINENO "configure"
8571 cat confdefs.h
>>conftest.
$ac_ext
8572 cat >>conftest.
$ac_ext <<_ACEOF
8573 /* end confdefs.h. */
8575 #ifdef TIME_WITH_SYS_TIME
8576 # include <sys/time.h>
8579 # ifdef HAVE_SYS_TIME_H
8580 # include <sys/time.h>
8592 static struct utimbuf x; x.actime = x.modtime;
8597 rm -f conftest.
$ac_objext
8598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8599 (eval $ac_compile) 2>&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } &&
8603 { ac_try
='test -s conftest.$ac_objext'
8604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); }; }; then
8609 fu_cv_sys_struct_utimbuf
=yes
8611 echo "$as_me: failed program was:" >&5
8612 sed 's/^/| /' conftest.
$ac_ext >&5
8614 fu_cv_sys_struct_utimbuf
=no
8616 rm -f conftest.
$ac_objext conftest.
$ac_ext
8619 echo "$as_me:$LINENO: result: $fu_cv_sys_struct_utimbuf" >&5
8620 echo "${ECHO_T}$fu_cv_sys_struct_utimbuf" >&6
8622 if test $fu_cv_sys_struct_utimbuf = yes; then
8624 cat >>confdefs.h
<<\_ACEOF
8625 #define HAVE_STRUCT_UTIMBUF 1
8630 echo "$as_me:$LINENO: checking for d_type member in directory struct" >&5
8631 echo $ECHO_N "checking for d_type member in directory struct... $ECHO_C" >&6
8632 if test "${jm_cv_struct_dirent_d_type+set}" = set; then
8633 echo $ECHO_N "(cached) $ECHO_C" >&6
8635 cat >conftest.
$ac_ext <<_ACEOF
8636 #line $LINENO "configure"
8639 cat confdefs.h
>>conftest.
$ac_ext
8640 cat >>conftest.
$ac_ext <<_ACEOF
8641 /* end confdefs.h. */
8643 #include <sys/types.h>
8644 #ifdef HAVE_DIRENT_H
8645 # include <dirent.h>
8646 #else /* not HAVE_DIRENT_H */
8647 # define dirent direct
8648 # ifdef HAVE_SYS_NDIR_H
8649 # include <sys/ndir.h>
8650 # endif /* HAVE_SYS_NDIR_H */
8651 # ifdef HAVE_SYS_DIR_H
8652 # include <sys/dir.h>
8653 # endif /* HAVE_SYS_DIR_H */
8656 # endif /* HAVE_NDIR_H */
8657 #endif /* HAVE_DIRENT_H */
8662 struct dirent dp; dp.d_type = 0;
8667 rm -f conftest.
$ac_objext conftest
$ac_exeext
8668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8669 (eval $ac_link) 2>&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } &&
8673 { ac_try
='test -s conftest$ac_exeext'
8674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678 (exit $ac_status); }; }; then
8679 jm_cv_struct_dirent_d_type
=yes
8681 echo "$as_me: failed program was:" >&5
8682 sed 's/^/| /' conftest.
$ac_ext >&5
8684 jm_cv_struct_dirent_d_type
=no
8686 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8690 echo "$as_me:$LINENO: result: $jm_cv_struct_dirent_d_type" >&5
8691 echo "${ECHO_T}$jm_cv_struct_dirent_d_type" >&6
8692 if test $jm_cv_struct_dirent_d_type = yes; then
8694 cat >>confdefs.h
<<\_ACEOF
8695 #define HAVE_STRUCT_DIRENT_D_TYPE 1
8701 echo "$as_me:$LINENO: checking for d_ino member in directory struct" >&5
8702 echo $ECHO_N "checking for d_ino member in directory struct... $ECHO_C" >&6
8703 if test "${jm_cv_struct_dirent_d_ino+set}" = set; then
8704 echo $ECHO_N "(cached) $ECHO_C" >&6
8706 cat >conftest.
$ac_ext <<_ACEOF
8707 #line $LINENO "configure"
8710 cat confdefs.h
>>conftest.
$ac_ext
8711 cat >>conftest.
$ac_ext <<_ACEOF
8712 /* end confdefs.h. */
8714 #include <sys/types.h>
8715 #ifdef HAVE_DIRENT_H
8716 # include <dirent.h>
8717 #else /* not HAVE_DIRENT_H */
8718 # define dirent direct
8719 # ifdef HAVE_SYS_NDIR_H
8720 # include <sys/ndir.h>
8721 # endif /* HAVE_SYS_NDIR_H */
8722 # ifdef HAVE_SYS_DIR_H
8723 # include <sys/dir.h>
8724 # endif /* HAVE_SYS_DIR_H */
8727 # endif /* HAVE_NDIR_H */
8728 #endif /* HAVE_DIRENT_H */
8733 struct dirent dp; dp.d_ino = 0;
8738 rm -f conftest.
$ac_objext conftest
$ac_exeext
8739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8740 (eval $ac_link) 2>&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); } &&
8744 { ac_try
='test -s conftest$ac_exeext'
8745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749 (exit $ac_status); }; }; then
8750 jm_cv_struct_dirent_d_ino
=yes
8752 echo "$as_me: failed program was:" >&5
8753 sed 's/^/| /' conftest.
$ac_ext >&5
8755 jm_cv_struct_dirent_d_ino
=no
8757 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8761 echo "$as_me:$LINENO: result: $jm_cv_struct_dirent_d_ino" >&5
8762 echo "${ECHO_T}$jm_cv_struct_dirent_d_ino" >&6
8763 if test $jm_cv_struct_dirent_d_ino = yes; then
8765 cat >>confdefs.h
<<\_ACEOF
8766 #define D_INO_IN_DIRENT 1
8784 for ac_header
in grp.h memory.h
pwd.h string.h
strings.h stdlib.h \
8785 unistd.h sys
/time.h utmp.h utmpx.h
8787 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8789 echo "$as_me:$LINENO: checking for $ac_header" >&5
8790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8792 echo $ECHO_N "(cached) $ECHO_C" >&6
8794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8797 # Is the header compilable?
8798 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8799 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8800 cat >conftest.
$ac_ext <<_ACEOF
8801 #line $LINENO "configure"
8804 cat confdefs.h
>>conftest.
$ac_ext
8805 cat >>conftest.
$ac_ext <<_ACEOF
8806 /* end confdefs.h. */
8807 $ac_includes_default
8808 #include <$ac_header>
8810 rm -f conftest.
$ac_objext
8811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8812 (eval $ac_compile) 2>&5
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 (exit $ac_status); } &&
8816 { ac_try
='test -s conftest.$ac_objext'
8817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); }; }; then
8822 ac_header_compiler
=yes
8824 echo "$as_me: failed program was:" >&5
8825 sed 's/^/| /' conftest.
$ac_ext >&5
8827 ac_header_compiler
=no
8829 rm -f conftest.
$ac_objext conftest.
$ac_ext
8830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8831 echo "${ECHO_T}$ac_header_compiler" >&6
8833 # Is the header present?
8834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8836 cat >conftest.
$ac_ext <<_ACEOF
8837 #line $LINENO "configure"
8840 cat confdefs.h
>>conftest.
$ac_ext
8841 cat >>conftest.
$ac_ext <<_ACEOF
8842 /* end confdefs.h. */
8843 #include <$ac_header>
8845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8846 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8848 grep -v '^ *+' conftest.er1
>conftest.err
8850 cat conftest.err
>&5
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); } >/dev
/null
; then
8853 if test -s conftest.err
; then
8854 ac_cpp_err
=$ac_c_preproc_warn_flag
8861 if test -z "$ac_cpp_err"; then
8862 ac_header_preproc
=yes
8864 echo "$as_me: failed program was:" >&5
8865 sed 's/^/| /' conftest.
$ac_ext >&5
8867 ac_header_preproc
=no
8869 rm -f conftest.err conftest.
$ac_ext
8870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8871 echo "${ECHO_T}$ac_header_preproc" >&6
8873 # So? What about this header?
8874 case $ac_header_compiler:$ac_header_preproc in
8876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8882 ## ------------------------------------ ##
8883 ## Report this to bug-autoconf@gnu.org. ##
8884 ## ------------------------------------ ##
8887 sed "s/^/$as_me: WARNING: /" >&2
8890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8893 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8898 ## ------------------------------------ ##
8899 ## Report this to bug-autoconf@gnu.org. ##
8900 ## ------------------------------------ ##
8903 sed "s/^/$as_me: WARNING: /" >&2
8906 echo "$as_me:$LINENO: checking for $ac_header" >&5
8907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8909 echo $ECHO_N "(cached) $ECHO_C" >&6
8911 eval "$as_ac_Header=$ac_header_preproc"
8913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8918 cat >>confdefs.h
<<_ACEOF
8919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8933 # if !STDC_HEADERS && HAVE_MEMORY_H
8934 # include <memory.h>
8936 # include <string.h>
8939 # include <strings.h>
8943 # include <stdlib.h>
8946 # include <unistd.h>
8949 #include <sys/types.h>
8950 #if TIME_WITH_SYS_TIME
8951 # include <sys/time.h>
8954 # if HAVE_SYS_TIME_H
8955 # include <sys/time.h>
8974 echo "$as_me:$LINENO: checking whether euidaccess is declared" >&5
8975 echo $ECHO_N "checking whether euidaccess is declared... $ECHO_C" >&6
8976 if test "${ac_cv_have_decl_euidaccess+set}" = set; then
8977 echo $ECHO_N "(cached) $ECHO_C" >&6
8979 cat >conftest.
$ac_ext <<_ACEOF
8980 #line $LINENO "configure"
8983 cat confdefs.h
>>conftest.
$ac_ext
8984 cat >>conftest.
$ac_ext <<_ACEOF
8985 /* end confdefs.h. */
8992 char *p = (char *) euidaccess;
8999 rm -f conftest.
$ac_objext
9000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9001 (eval $ac_compile) 2>&5
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 (exit $ac_status); } &&
9005 { ac_try
='test -s conftest.$ac_objext'
9006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); }; }; then
9011 ac_cv_have_decl_euidaccess
=yes
9013 echo "$as_me: failed program was:" >&5
9014 sed 's/^/| /' conftest.
$ac_ext >&5
9016 ac_cv_have_decl_euidaccess
=no
9018 rm -f conftest.
$ac_objext conftest.
$ac_ext
9020 echo "$as_me:$LINENO: result: $ac_cv_have_decl_euidaccess" >&5
9021 echo "${ECHO_T}$ac_cv_have_decl_euidaccess" >&6
9022 if test $ac_cv_have_decl_euidaccess = yes; then
9024 cat >>confdefs.h
<<_ACEOF
9025 #define HAVE_DECL_EUIDACCESS 1
9030 cat >>confdefs.h
<<_ACEOF
9031 #define HAVE_DECL_EUIDACCESS 0
9036 echo "$as_me:$LINENO: checking whether free is declared" >&5
9037 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
9038 if test "${ac_cv_have_decl_free+set}" = set; then
9039 echo $ECHO_N "(cached) $ECHO_C" >&6
9041 cat >conftest.
$ac_ext <<_ACEOF
9042 #line $LINENO "configure"
9045 cat confdefs.h
>>conftest.
$ac_ext
9046 cat >>conftest.
$ac_ext <<_ACEOF
9047 /* end confdefs.h. */
9054 char *p = (char *) free;
9061 rm -f conftest.
$ac_objext
9062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9063 (eval $ac_compile) 2>&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); } &&
9067 { ac_try
='test -s conftest.$ac_objext'
9068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072 (exit $ac_status); }; }; then
9073 ac_cv_have_decl_free
=yes
9075 echo "$as_me: failed program was:" >&5
9076 sed 's/^/| /' conftest.
$ac_ext >&5
9078 ac_cv_have_decl_free
=no
9080 rm -f conftest.
$ac_objext conftest.
$ac_ext
9082 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
9083 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
9084 if test $ac_cv_have_decl_free = yes; then
9086 cat >>confdefs.h
<<_ACEOF
9087 #define HAVE_DECL_FREE 1
9092 cat >>confdefs.h
<<_ACEOF
9093 #define HAVE_DECL_FREE 0
9098 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
9099 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
9100 if test "${ac_cv_have_decl_getenv+set}" = set; then
9101 echo $ECHO_N "(cached) $ECHO_C" >&6
9103 cat >conftest.
$ac_ext <<_ACEOF
9104 #line $LINENO "configure"
9107 cat confdefs.h
>>conftest.
$ac_ext
9108 cat >>conftest.
$ac_ext <<_ACEOF
9109 /* end confdefs.h. */
9116 char *p = (char *) getenv;
9123 rm -f conftest.
$ac_objext
9124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9125 (eval $ac_compile) 2>&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); } &&
9129 { ac_try
='test -s conftest.$ac_objext'
9130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); }; }; then
9135 ac_cv_have_decl_getenv
=yes
9137 echo "$as_me: failed program was:" >&5
9138 sed 's/^/| /' conftest.
$ac_ext >&5
9140 ac_cv_have_decl_getenv
=no
9142 rm -f conftest.
$ac_objext conftest.
$ac_ext
9144 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
9145 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
9146 if test $ac_cv_have_decl_getenv = yes; then
9148 cat >>confdefs.h
<<_ACEOF
9149 #define HAVE_DECL_GETENV 1
9154 cat >>confdefs.h
<<_ACEOF
9155 #define HAVE_DECL_GETENV 0
9160 echo "$as_me:$LINENO: checking whether geteuid is declared" >&5
9161 echo $ECHO_N "checking whether geteuid is declared... $ECHO_C" >&6
9162 if test "${ac_cv_have_decl_geteuid+set}" = set; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 cat >conftest.
$ac_ext <<_ACEOF
9166 #line $LINENO "configure"
9169 cat confdefs.h
>>conftest.
$ac_ext
9170 cat >>conftest.
$ac_ext <<_ACEOF
9171 /* end confdefs.h. */
9178 char *p = (char *) geteuid;
9185 rm -f conftest.
$ac_objext
9186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9187 (eval $ac_compile) 2>&5
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 (exit $ac_status); } &&
9191 { ac_try
='test -s conftest.$ac_objext'
9192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196 (exit $ac_status); }; }; then
9197 ac_cv_have_decl_geteuid
=yes
9199 echo "$as_me: failed program was:" >&5
9200 sed 's/^/| /' conftest.
$ac_ext >&5
9202 ac_cv_have_decl_geteuid
=no
9204 rm -f conftest.
$ac_objext conftest.
$ac_ext
9206 echo "$as_me:$LINENO: result: $ac_cv_have_decl_geteuid" >&5
9207 echo "${ECHO_T}$ac_cv_have_decl_geteuid" >&6
9208 if test $ac_cv_have_decl_geteuid = yes; then
9210 cat >>confdefs.h
<<_ACEOF
9211 #define HAVE_DECL_GETEUID 1
9216 cat >>confdefs.h
<<_ACEOF
9217 #define HAVE_DECL_GETEUID 0
9222 echo "$as_me:$LINENO: checking whether getgrgid is declared" >&5
9223 echo $ECHO_N "checking whether getgrgid is declared... $ECHO_C" >&6
9224 if test "${ac_cv_have_decl_getgrgid+set}" = set; then
9225 echo $ECHO_N "(cached) $ECHO_C" >&6
9227 cat >conftest.
$ac_ext <<_ACEOF
9228 #line $LINENO "configure"
9231 cat confdefs.h
>>conftest.
$ac_ext
9232 cat >>conftest.
$ac_ext <<_ACEOF
9233 /* end confdefs.h. */
9240 char *p = (char *) getgrgid;
9247 rm -f conftest.
$ac_objext
9248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9249 (eval $ac_compile) 2>&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } &&
9253 { ac_try
='test -s conftest.$ac_objext'
9254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); }; }; then
9259 ac_cv_have_decl_getgrgid
=yes
9261 echo "$as_me: failed program was:" >&5
9262 sed 's/^/| /' conftest.
$ac_ext >&5
9264 ac_cv_have_decl_getgrgid
=no
9266 rm -f conftest.
$ac_objext conftest.
$ac_ext
9268 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getgrgid" >&5
9269 echo "${ECHO_T}$ac_cv_have_decl_getgrgid" >&6
9270 if test $ac_cv_have_decl_getgrgid = yes; then
9272 cat >>confdefs.h
<<_ACEOF
9273 #define HAVE_DECL_GETGRGID 1
9278 cat >>confdefs.h
<<_ACEOF
9279 #define HAVE_DECL_GETGRGID 0
9284 echo "$as_me:$LINENO: checking whether getlogin is declared" >&5
9285 echo $ECHO_N "checking whether getlogin is declared... $ECHO_C" >&6
9286 if test "${ac_cv_have_decl_getlogin+set}" = set; then
9287 echo $ECHO_N "(cached) $ECHO_C" >&6
9289 cat >conftest.
$ac_ext <<_ACEOF
9290 #line $LINENO "configure"
9293 cat confdefs.h
>>conftest.
$ac_ext
9294 cat >>conftest.
$ac_ext <<_ACEOF
9295 /* end confdefs.h. */
9302 char *p = (char *) getlogin;
9309 rm -f conftest.
$ac_objext
9310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9311 (eval $ac_compile) 2>&5
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); } &&
9315 { ac_try
='test -s conftest.$ac_objext'
9316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); }; }; then
9321 ac_cv_have_decl_getlogin
=yes
9323 echo "$as_me: failed program was:" >&5
9324 sed 's/^/| /' conftest.
$ac_ext >&5
9326 ac_cv_have_decl_getlogin
=no
9328 rm -f conftest.
$ac_objext conftest.
$ac_ext
9330 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getlogin" >&5
9331 echo "${ECHO_T}$ac_cv_have_decl_getlogin" >&6
9332 if test $ac_cv_have_decl_getlogin = yes; then
9334 cat >>confdefs.h
<<_ACEOF
9335 #define HAVE_DECL_GETLOGIN 1
9340 cat >>confdefs.h
<<_ACEOF
9341 #define HAVE_DECL_GETLOGIN 0
9346 echo "$as_me:$LINENO: checking whether getpwuid is declared" >&5
9347 echo $ECHO_N "checking whether getpwuid is declared... $ECHO_C" >&6
9348 if test "${ac_cv_have_decl_getpwuid+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 cat >conftest.
$ac_ext <<_ACEOF
9352 #line $LINENO "configure"
9355 cat confdefs.h
>>conftest.
$ac_ext
9356 cat >>conftest.
$ac_ext <<_ACEOF
9357 /* end confdefs.h. */
9364 char *p = (char *) getpwuid;
9371 rm -f conftest.
$ac_objext
9372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9373 (eval $ac_compile) 2>&5
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); } &&
9377 { ac_try
='test -s conftest.$ac_objext'
9378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); }; }; then
9383 ac_cv_have_decl_getpwuid
=yes
9385 echo "$as_me: failed program was:" >&5
9386 sed 's/^/| /' conftest.
$ac_ext >&5
9388 ac_cv_have_decl_getpwuid
=no
9390 rm -f conftest.
$ac_objext conftest.
$ac_ext
9392 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getpwuid" >&5
9393 echo "${ECHO_T}$ac_cv_have_decl_getpwuid" >&6
9394 if test $ac_cv_have_decl_getpwuid = yes; then
9396 cat >>confdefs.h
<<_ACEOF
9397 #define HAVE_DECL_GETPWUID 1
9402 cat >>confdefs.h
<<_ACEOF
9403 #define HAVE_DECL_GETPWUID 0
9408 echo "$as_me:$LINENO: checking whether getuid is declared" >&5
9409 echo $ECHO_N "checking whether getuid is declared... $ECHO_C" >&6
9410 if test "${ac_cv_have_decl_getuid+set}" = set; then
9411 echo $ECHO_N "(cached) $ECHO_C" >&6
9413 cat >conftest.
$ac_ext <<_ACEOF
9414 #line $LINENO "configure"
9417 cat confdefs.h
>>conftest.
$ac_ext
9418 cat >>conftest.
$ac_ext <<_ACEOF
9419 /* end confdefs.h. */
9426 char *p = (char *) getuid;
9433 rm -f conftest.
$ac_objext
9434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9435 (eval $ac_compile) 2>&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); } &&
9439 { ac_try
='test -s conftest.$ac_objext'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; }; then
9445 ac_cv_have_decl_getuid
=yes
9447 echo "$as_me: failed program was:" >&5
9448 sed 's/^/| /' conftest.
$ac_ext >&5
9450 ac_cv_have_decl_getuid
=no
9452 rm -f conftest.
$ac_objext conftest.
$ac_ext
9454 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getuid" >&5
9455 echo "${ECHO_T}$ac_cv_have_decl_getuid" >&6
9456 if test $ac_cv_have_decl_getuid = yes; then
9458 cat >>confdefs.h
<<_ACEOF
9459 #define HAVE_DECL_GETUID 1
9464 cat >>confdefs.h
<<_ACEOF
9465 #define HAVE_DECL_GETUID 0
9470 echo "$as_me:$LINENO: checking whether getutent is declared" >&5
9471 echo $ECHO_N "checking whether getutent is declared... $ECHO_C" >&6
9472 if test "${ac_cv_have_decl_getutent+set}" = set; then
9473 echo $ECHO_N "(cached) $ECHO_C" >&6
9475 cat >conftest.
$ac_ext <<_ACEOF
9476 #line $LINENO "configure"
9479 cat confdefs.h
>>conftest.
$ac_ext
9480 cat >>conftest.
$ac_ext <<_ACEOF
9481 /* end confdefs.h. */
9488 char *p = (char *) getutent;
9495 rm -f conftest.
$ac_objext
9496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9497 (eval $ac_compile) 2>&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); } &&
9501 { ac_try
='test -s conftest.$ac_objext'
9502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); }; }; then
9507 ac_cv_have_decl_getutent
=yes
9509 echo "$as_me: failed program was:" >&5
9510 sed 's/^/| /' conftest.
$ac_ext >&5
9512 ac_cv_have_decl_getutent
=no
9514 rm -f conftest.
$ac_objext conftest.
$ac_ext
9516 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getutent" >&5
9517 echo "${ECHO_T}$ac_cv_have_decl_getutent" >&6
9518 if test $ac_cv_have_decl_getutent = yes; then
9520 cat >>confdefs.h
<<_ACEOF
9521 #define HAVE_DECL_GETUTENT 1
9526 cat >>confdefs.h
<<_ACEOF
9527 #define HAVE_DECL_GETUTENT 0
9532 echo "$as_me:$LINENO: checking whether lseek is declared" >&5
9533 echo $ECHO_N "checking whether lseek is declared... $ECHO_C" >&6
9534 if test "${ac_cv_have_decl_lseek+set}" = set; then
9535 echo $ECHO_N "(cached) $ECHO_C" >&6
9537 cat >conftest.
$ac_ext <<_ACEOF
9538 #line $LINENO "configure"
9541 cat confdefs.h
>>conftest.
$ac_ext
9542 cat >>conftest.
$ac_ext <<_ACEOF
9543 /* end confdefs.h. */
9550 char *p = (char *) lseek;
9557 rm -f conftest.
$ac_objext
9558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9559 (eval $ac_compile) 2>&5
9561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562 (exit $ac_status); } &&
9563 { ac_try
='test -s conftest.$ac_objext'
9564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); }; }; then
9569 ac_cv_have_decl_lseek
=yes
9571 echo "$as_me: failed program was:" >&5
9572 sed 's/^/| /' conftest.
$ac_ext >&5
9574 ac_cv_have_decl_lseek
=no
9576 rm -f conftest.
$ac_objext conftest.
$ac_ext
9578 echo "$as_me:$LINENO: result: $ac_cv_have_decl_lseek" >&5
9579 echo "${ECHO_T}$ac_cv_have_decl_lseek" >&6
9580 if test $ac_cv_have_decl_lseek = yes; then
9582 cat >>confdefs.h
<<_ACEOF
9583 #define HAVE_DECL_LSEEK 1
9588 cat >>confdefs.h
<<_ACEOF
9589 #define HAVE_DECL_LSEEK 0
9594 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
9595 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
9596 if test "${ac_cv_have_decl_malloc+set}" = set; then
9597 echo $ECHO_N "(cached) $ECHO_C" >&6
9599 cat >conftest.
$ac_ext <<_ACEOF
9600 #line $LINENO "configure"
9603 cat confdefs.h
>>conftest.
$ac_ext
9604 cat >>conftest.
$ac_ext <<_ACEOF
9605 /* end confdefs.h. */
9612 char *p = (char *) malloc;
9619 rm -f conftest.
$ac_objext
9620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9621 (eval $ac_compile) 2>&5
9623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624 (exit $ac_status); } &&
9625 { ac_try
='test -s conftest.$ac_objext'
9626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630 (exit $ac_status); }; }; then
9631 ac_cv_have_decl_malloc
=yes
9633 echo "$as_me: failed program was:" >&5
9634 sed 's/^/| /' conftest.
$ac_ext >&5
9636 ac_cv_have_decl_malloc
=no
9638 rm -f conftest.
$ac_objext conftest.
$ac_ext
9640 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
9641 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
9642 if test $ac_cv_have_decl_malloc = yes; then
9644 cat >>confdefs.h
<<_ACEOF
9645 #define HAVE_DECL_MALLOC 1
9650 cat >>confdefs.h
<<_ACEOF
9651 #define HAVE_DECL_MALLOC 0
9656 echo "$as_me:$LINENO: checking whether memchr is declared" >&5
9657 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
9658 if test "${ac_cv_have_decl_memchr+set}" = set; then
9659 echo $ECHO_N "(cached) $ECHO_C" >&6
9661 cat >conftest.
$ac_ext <<_ACEOF
9662 #line $LINENO "configure"
9665 cat confdefs.h
>>conftest.
$ac_ext
9666 cat >>conftest.
$ac_ext <<_ACEOF
9667 /* end confdefs.h. */
9674 char *p = (char *) memchr;
9681 rm -f conftest.
$ac_objext
9682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9683 (eval $ac_compile) 2>&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); } &&
9687 { ac_try
='test -s conftest.$ac_objext'
9688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); }; }; then
9693 ac_cv_have_decl_memchr
=yes
9695 echo "$as_me: failed program was:" >&5
9696 sed 's/^/| /' conftest.
$ac_ext >&5
9698 ac_cv_have_decl_memchr
=no
9700 rm -f conftest.
$ac_objext conftest.
$ac_ext
9702 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memchr" >&5
9703 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
9704 if test $ac_cv_have_decl_memchr = yes; then
9706 cat >>confdefs.h
<<_ACEOF
9707 #define HAVE_DECL_MEMCHR 1
9712 cat >>confdefs.h
<<_ACEOF
9713 #define HAVE_DECL_MEMCHR 0
9718 echo "$as_me:$LINENO: checking whether memrchr is declared" >&5
9719 echo $ECHO_N "checking whether memrchr is declared... $ECHO_C" >&6
9720 if test "${ac_cv_have_decl_memrchr+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 cat >conftest.
$ac_ext <<_ACEOF
9724 #line $LINENO "configure"
9727 cat confdefs.h
>>conftest.
$ac_ext
9728 cat >>conftest.
$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9736 char *p = (char *) memrchr;
9743 rm -f conftest.
$ac_objext
9744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9745 (eval $ac_compile) 2>&5
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); } &&
9749 { ac_try
='test -s conftest.$ac_objext'
9750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); }; }; then
9755 ac_cv_have_decl_memrchr
=yes
9757 echo "$as_me: failed program was:" >&5
9758 sed 's/^/| /' conftest.
$ac_ext >&5
9760 ac_cv_have_decl_memrchr
=no
9762 rm -f conftest.
$ac_objext conftest.
$ac_ext
9764 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memrchr" >&5
9765 echo "${ECHO_T}$ac_cv_have_decl_memrchr" >&6
9766 if test $ac_cv_have_decl_memrchr = yes; then
9768 cat >>confdefs.h
<<_ACEOF
9769 #define HAVE_DECL_MEMRCHR 1
9774 cat >>confdefs.h
<<_ACEOF
9775 #define HAVE_DECL_MEMRCHR 0
9780 echo "$as_me:$LINENO: checking whether nanosleep is declared" >&5
9781 echo $ECHO_N "checking whether nanosleep is declared... $ECHO_C" >&6
9782 if test "${ac_cv_have_decl_nanosleep+set}" = set; then
9783 echo $ECHO_N "(cached) $ECHO_C" >&6
9785 cat >conftest.
$ac_ext <<_ACEOF
9786 #line $LINENO "configure"
9789 cat confdefs.h
>>conftest.
$ac_ext
9790 cat >>conftest.
$ac_ext <<_ACEOF
9791 /* end confdefs.h. */
9798 char *p = (char *) nanosleep;
9805 rm -f conftest.
$ac_objext
9806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9807 (eval $ac_compile) 2>&5
9809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9810 (exit $ac_status); } &&
9811 { ac_try
='test -s conftest.$ac_objext'
9812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); }; }; then
9817 ac_cv_have_decl_nanosleep
=yes
9819 echo "$as_me: failed program was:" >&5
9820 sed 's/^/| /' conftest.
$ac_ext >&5
9822 ac_cv_have_decl_nanosleep
=no
9824 rm -f conftest.
$ac_objext conftest.
$ac_ext
9826 echo "$as_me:$LINENO: result: $ac_cv_have_decl_nanosleep" >&5
9827 echo "${ECHO_T}$ac_cv_have_decl_nanosleep" >&6
9828 if test $ac_cv_have_decl_nanosleep = yes; then
9830 cat >>confdefs.h
<<_ACEOF
9831 #define HAVE_DECL_NANOSLEEP 1
9836 cat >>confdefs.h
<<_ACEOF
9837 #define HAVE_DECL_NANOSLEEP 0
9842 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
9843 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
9844 if test "${ac_cv_have_decl_realloc+set}" = set; then
9845 echo $ECHO_N "(cached) $ECHO_C" >&6
9847 cat >conftest.
$ac_ext <<_ACEOF
9848 #line $LINENO "configure"
9851 cat confdefs.h
>>conftest.
$ac_ext
9852 cat >>conftest.
$ac_ext <<_ACEOF
9853 /* end confdefs.h. */
9860 char *p = (char *) realloc;
9867 rm -f conftest.
$ac_objext
9868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9869 (eval $ac_compile) 2>&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); } &&
9873 { ac_try
='test -s conftest.$ac_objext'
9874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; }; then
9879 ac_cv_have_decl_realloc
=yes
9881 echo "$as_me: failed program was:" >&5
9882 sed 's/^/| /' conftest.
$ac_ext >&5
9884 ac_cv_have_decl_realloc
=no
9886 rm -f conftest.
$ac_objext conftest.
$ac_ext
9888 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
9889 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
9890 if test $ac_cv_have_decl_realloc = yes; then
9892 cat >>confdefs.h
<<_ACEOF
9893 #define HAVE_DECL_REALLOC 1
9898 cat >>confdefs.h
<<_ACEOF
9899 #define HAVE_DECL_REALLOC 0
9904 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
9905 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
9906 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
9907 echo $ECHO_N "(cached) $ECHO_C" >&6
9909 cat >conftest.
$ac_ext <<_ACEOF
9910 #line $LINENO "configure"
9913 cat confdefs.h
>>conftest.
$ac_ext
9914 cat >>conftest.
$ac_ext <<_ACEOF
9915 /* end confdefs.h. */
9922 char *p = (char *) stpcpy;
9929 rm -f conftest.
$ac_objext
9930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9931 (eval $ac_compile) 2>&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); } &&
9935 { ac_try
='test -s conftest.$ac_objext'
9936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); }; }; then
9941 ac_cv_have_decl_stpcpy
=yes
9943 echo "$as_me: failed program was:" >&5
9944 sed 's/^/| /' conftest.
$ac_ext >&5
9946 ac_cv_have_decl_stpcpy
=no
9948 rm -f conftest.
$ac_objext conftest.
$ac_ext
9950 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
9951 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
9952 if test $ac_cv_have_decl_stpcpy = yes; then
9954 cat >>confdefs.h
<<_ACEOF
9955 #define HAVE_DECL_STPCPY 1
9960 cat >>confdefs.h
<<_ACEOF
9961 #define HAVE_DECL_STPCPY 0
9966 echo "$as_me:$LINENO: checking whether strndup is declared" >&5
9967 echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
9968 if test "${ac_cv_have_decl_strndup+set}" = set; then
9969 echo $ECHO_N "(cached) $ECHO_C" >&6
9971 cat >conftest.
$ac_ext <<_ACEOF
9972 #line $LINENO "configure"
9975 cat confdefs.h
>>conftest.
$ac_ext
9976 cat >>conftest.
$ac_ext <<_ACEOF
9977 /* end confdefs.h. */
9984 char *p = (char *) strndup;
9991 rm -f conftest.
$ac_objext
9992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9993 (eval $ac_compile) 2>&5
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996 (exit $ac_status); } &&
9997 { ac_try
='test -s conftest.$ac_objext'
9998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); }; }; then
10003 ac_cv_have_decl_strndup
=yes
10005 echo "$as_me: failed program was:" >&5
10006 sed 's/^/| /' conftest.
$ac_ext >&5
10008 ac_cv_have_decl_strndup
=no
10010 rm -f conftest.
$ac_objext conftest.
$ac_ext
10012 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strndup" >&5
10013 echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
10014 if test $ac_cv_have_decl_strndup = yes; then
10016 cat >>confdefs.h
<<_ACEOF
10017 #define HAVE_DECL_STRNDUP 1
10022 cat >>confdefs.h
<<_ACEOF
10023 #define HAVE_DECL_STRNDUP 0
10028 echo "$as_me:$LINENO: checking whether strnlen is declared" >&5
10029 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
10030 if test "${ac_cv_have_decl_strnlen+set}" = set; then
10031 echo $ECHO_N "(cached) $ECHO_C" >&6
10033 cat >conftest.
$ac_ext <<_ACEOF
10034 #line $LINENO "configure"
10037 cat confdefs.h
>>conftest.
$ac_ext
10038 cat >>conftest.
$ac_ext <<_ACEOF
10039 /* end confdefs.h. */
10046 char *p = (char *) strnlen;
10053 rm -f conftest.
$ac_objext
10054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10055 (eval $ac_compile) 2>&5
10057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10058 (exit $ac_status); } &&
10059 { ac_try
='test -s conftest.$ac_objext'
10060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10061 (eval $ac_try) 2>&5
10063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064 (exit $ac_status); }; }; then
10065 ac_cv_have_decl_strnlen
=yes
10067 echo "$as_me: failed program was:" >&5
10068 sed 's/^/| /' conftest.
$ac_ext >&5
10070 ac_cv_have_decl_strnlen
=no
10072 rm -f conftest.
$ac_objext conftest.
$ac_ext
10074 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strnlen" >&5
10075 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
10076 if test $ac_cv_have_decl_strnlen = yes; then
10078 cat >>confdefs.h
<<_ACEOF
10079 #define HAVE_DECL_STRNLEN 1
10084 cat >>confdefs.h
<<_ACEOF
10085 #define HAVE_DECL_STRNLEN 0
10090 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
10091 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
10092 if test "${ac_cv_have_decl_strstr+set}" = set; then
10093 echo $ECHO_N "(cached) $ECHO_C" >&6
10095 cat >conftest.
$ac_ext <<_ACEOF
10096 #line $LINENO "configure"
10099 cat confdefs.h
>>conftest.
$ac_ext
10100 cat >>conftest.
$ac_ext <<_ACEOF
10101 /* end confdefs.h. */
10108 char *p = (char *) strstr;
10115 rm -f conftest.
$ac_objext
10116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10117 (eval $ac_compile) 2>&5
10119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120 (exit $ac_status); } &&
10121 { ac_try
='test -s conftest.$ac_objext'
10122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10123 (eval $ac_try) 2>&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); }; }; then
10127 ac_cv_have_decl_strstr
=yes
10129 echo "$as_me: failed program was:" >&5
10130 sed 's/^/| /' conftest.
$ac_ext >&5
10132 ac_cv_have_decl_strstr
=no
10134 rm -f conftest.
$ac_objext conftest.
$ac_ext
10136 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
10137 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
10138 if test $ac_cv_have_decl_strstr = yes; then
10140 cat >>confdefs.h
<<_ACEOF
10141 #define HAVE_DECL_STRSTR 1
10146 cat >>confdefs.h
<<_ACEOF
10147 #define HAVE_DECL_STRSTR 0
10152 echo "$as_me:$LINENO: checking whether strtoul is declared" >&5
10153 echo $ECHO_N "checking whether strtoul is declared... $ECHO_C" >&6
10154 if test "${ac_cv_have_decl_strtoul+set}" = set; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 cat >conftest.
$ac_ext <<_ACEOF
10158 #line $LINENO "configure"
10161 cat confdefs.h
>>conftest.
$ac_ext
10162 cat >>conftest.
$ac_ext <<_ACEOF
10163 /* end confdefs.h. */
10170 char *p = (char *) strtoul;
10177 rm -f conftest.
$ac_objext
10178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10179 (eval $ac_compile) 2>&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); } &&
10183 { ac_try
='test -s conftest.$ac_objext'
10184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10185 (eval $ac_try) 2>&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); }; }; then
10189 ac_cv_have_decl_strtoul
=yes
10191 echo "$as_me: failed program was:" >&5
10192 sed 's/^/| /' conftest.
$ac_ext >&5
10194 ac_cv_have_decl_strtoul
=no
10196 rm -f conftest.
$ac_objext conftest.
$ac_ext
10198 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoul" >&5
10199 echo "${ECHO_T}$ac_cv_have_decl_strtoul" >&6
10200 if test $ac_cv_have_decl_strtoul = yes; then
10202 cat >>confdefs.h
<<_ACEOF
10203 #define HAVE_DECL_STRTOUL 1
10208 cat >>confdefs.h
<<_ACEOF
10209 #define HAVE_DECL_STRTOUL 0
10214 echo "$as_me:$LINENO: checking whether strtoull is declared" >&5
10215 echo $ECHO_N "checking whether strtoull is declared... $ECHO_C" >&6
10216 if test "${ac_cv_have_decl_strtoull+set}" = set; then
10217 echo $ECHO_N "(cached) $ECHO_C" >&6
10219 cat >conftest.
$ac_ext <<_ACEOF
10220 #line $LINENO "configure"
10223 cat confdefs.h
>>conftest.
$ac_ext
10224 cat >>conftest.
$ac_ext <<_ACEOF
10225 /* end confdefs.h. */
10232 char *p = (char *) strtoull;
10239 rm -f conftest.
$ac_objext
10240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10241 (eval $ac_compile) 2>&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); } &&
10245 { ac_try
='test -s conftest.$ac_objext'
10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10247 (eval $ac_try) 2>&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); }; }; then
10251 ac_cv_have_decl_strtoull
=yes
10253 echo "$as_me: failed program was:" >&5
10254 sed 's/^/| /' conftest.
$ac_ext >&5
10256 ac_cv_have_decl_strtoull
=no
10258 rm -f conftest.
$ac_objext conftest.
$ac_ext
10260 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoull" >&5
10261 echo "${ECHO_T}$ac_cv_have_decl_strtoull" >&6
10262 if test $ac_cv_have_decl_strtoull = yes; then
10264 cat >>confdefs.h
<<_ACEOF
10265 #define HAVE_DECL_STRTOULL 1
10270 cat >>confdefs.h
<<_ACEOF
10271 #define HAVE_DECL_STRTOULL 0
10276 echo "$as_me:$LINENO: checking whether ttyname is declared" >&5
10277 echo $ECHO_N "checking whether ttyname is declared... $ECHO_C" >&6
10278 if test "${ac_cv_have_decl_ttyname+set}" = set; then
10279 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 cat >conftest.
$ac_ext <<_ACEOF
10282 #line $LINENO "configure"
10285 cat confdefs.h
>>conftest.
$ac_ext
10286 cat >>conftest.
$ac_ext <<_ACEOF
10287 /* end confdefs.h. */
10294 char *p = (char *) ttyname;
10301 rm -f conftest.
$ac_objext
10302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10303 (eval $ac_compile) 2>&5
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); } &&
10307 { ac_try
='test -s conftest.$ac_objext'
10308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10309 (eval $ac_try) 2>&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); }; }; then
10313 ac_cv_have_decl_ttyname
=yes
10315 echo "$as_me: failed program was:" >&5
10316 sed 's/^/| /' conftest.
$ac_ext >&5
10318 ac_cv_have_decl_ttyname
=no
10320 rm -f conftest.
$ac_objext conftest.
$ac_ext
10322 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ttyname" >&5
10323 echo "${ECHO_T}$ac_cv_have_decl_ttyname" >&6
10324 if test $ac_cv_have_decl_ttyname = yes; then
10326 cat >>confdefs.h
<<_ACEOF
10327 #define HAVE_DECL_TTYNAME 1
10332 cat >>confdefs.h
<<_ACEOF
10333 #define HAVE_DECL_TTYNAME 0
10341 echo "$as_me:$LINENO: checking for long file names" >&5
10342 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
10343 if test "${ac_cv_sys_long_file_names+set}" = set; then
10344 echo $ECHO_N "(cached) $ECHO_C" >&6
10346 ac_cv_sys_long_file_names
=yes
10347 # Test for long file names in all the places we know might matter:
10348 # . the current directory, where building will happen
10349 # $prefix/lib where we will be installing things
10350 # $exec_prefix/lib likewise
10351 # eval it to expand exec_prefix.
10352 # $TMPDIR if set, where it might want to write temporary files
10353 # if $TMPDIR is not set:
10354 # /tmp where it might want to write temporary files
10355 # /var/tmp likewise
10356 # /usr/tmp likewise
10357 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
10360 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
10362 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
10363 test -d $ac_dir ||
continue
10364 test -w $ac_dir ||
continue # It is less confusing to not echo anything here.
10365 ac_xdir
=$ac_dir/cf$$
10366 (umask 077 && mkdir
$ac_xdir 2>/dev
/null
) ||
continue
10367 ac_tf1
=$ac_xdir/conftest9012345
10368 ac_tf2
=$ac_xdir/conftest9012346
10369 (echo 1 >$ac_tf1) 2>/dev
/null
10370 (echo 2 >$ac_tf2) 2>/dev
/null
10371 ac_val
=`cat $ac_tf1 2>/dev/null`
10372 if test ! -f $ac_tf1 ||
test "$ac_val" != 1; then
10373 ac_cv_sys_long_file_names
=no
10374 rm -rf $ac_xdir 2>/dev
/null
10377 rm -rf $ac_xdir 2>/dev
/null
10380 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
10381 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
10382 if test $ac_cv_sys_long_file_names = yes; then
10384 cat >>confdefs.h
<<\_ACEOF
10385 #define HAVE_LONG_FILE_NAMES 1
10393 for ac_func
in pathconf
10395 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10396 echo "$as_me:$LINENO: checking for $ac_func" >&5
10397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10398 if eval "test \"\${$as_ac_var+set}\" = set"; then
10399 echo $ECHO_N "(cached) $ECHO_C" >&6
10401 cat >conftest.
$ac_ext <<_ACEOF
10402 #line $LINENO "configure"
10405 cat confdefs.h
>>conftest.
$ac_ext
10406 cat >>conftest.
$ac_ext <<_ACEOF
10407 /* end confdefs.h. */
10408 /* System header to define __stub macros and hopefully few prototypes,
10409 which can conflict with char $ac_func (); below.
10410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10411 <limits.h> exists even on freestanding compilers. */
10413 # include <limits.h>
10415 # include <assert.h>
10417 /* Override any gcc2 internal prototype to avoid an error. */
10422 /* We use char because int might match the return type of a gcc2
10423 builtin and then its argument prototype would still apply. */
10425 /* The GNU C library defines this for functions which it implements
10426 to always fail with ENOSYS. Some functions are actually named
10427 something starting with __ and the normal name is an alias. */
10428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10431 char (*f) () = $ac_func;
10440 return f != $ac_func;
10445 rm -f conftest.
$ac_objext conftest
$ac_exeext
10446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10447 (eval $ac_link) 2>&5
10449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10450 (exit $ac_status); } &&
10451 { ac_try
='test -s conftest$ac_exeext'
10452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10453 (eval $ac_try) 2>&5
10455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456 (exit $ac_status); }; }; then
10457 eval "$as_ac_var=yes"
10459 echo "$as_me: failed program was:" >&5
10460 sed 's/^/| /' conftest.
$ac_ext >&5
10462 eval "$as_ac_var=no"
10464 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10468 if test `eval echo '${'$as_ac_var'}'` = yes; then
10469 cat >>confdefs.h
<<_ACEOF
10470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10479 for ac_header
in limits.h string.h unistd.h
10481 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10483 echo "$as_me:$LINENO: checking for $ac_header" >&5
10484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10491 # Is the header compilable?
10492 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10493 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10494 cat >conftest.
$ac_ext <<_ACEOF
10495 #line $LINENO "configure"
10498 cat confdefs.h
>>conftest.
$ac_ext
10499 cat >>conftest.
$ac_ext <<_ACEOF
10500 /* end confdefs.h. */
10501 $ac_includes_default
10502 #include <$ac_header>
10504 rm -f conftest.
$ac_objext
10505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10506 (eval $ac_compile) 2>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try
='test -s conftest.$ac_objext'
10511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512 (eval $ac_try) 2>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; }; then
10516 ac_header_compiler
=yes
10518 echo "$as_me: failed program was:" >&5
10519 sed 's/^/| /' conftest.
$ac_ext >&5
10521 ac_header_compiler
=no
10523 rm -f conftest.
$ac_objext conftest.
$ac_ext
10524 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10525 echo "${ECHO_T}$ac_header_compiler" >&6
10527 # Is the header present?
10528 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10530 cat >conftest.
$ac_ext <<_ACEOF
10531 #line $LINENO "configure"
10534 cat confdefs.h
>>conftest.
$ac_ext
10535 cat >>conftest.
$ac_ext <<_ACEOF
10536 /* end confdefs.h. */
10537 #include <$ac_header>
10539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10542 grep -v '^ *+' conftest.er1
>conftest.err
10544 cat conftest.err
>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); } >/dev
/null
; then
10547 if test -s conftest.err
; then
10548 ac_cpp_err
=$ac_c_preproc_warn_flag
10555 if test -z "$ac_cpp_err"; then
10556 ac_header_preproc
=yes
10558 echo "$as_me: failed program was:" >&5
10559 sed 's/^/| /' conftest.
$ac_ext >&5
10561 ac_header_preproc
=no
10563 rm -f conftest.err conftest.
$ac_ext
10564 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10565 echo "${ECHO_T}$ac_header_preproc" >&6
10567 # So? What about this header?
10568 case $ac_header_compiler:$ac_header_preproc in
10570 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10576 ## ------------------------------------ ##
10577 ## Report this to bug-autoconf@gnu.org. ##
10578 ## ------------------------------------ ##
10581 sed "s/^/$as_me: WARNING: /" >&2
10584 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10585 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10586 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10587 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10592 ## ------------------------------------ ##
10593 ## Report this to bug-autoconf@gnu.org. ##
10594 ## ------------------------------------ ##
10597 sed "s/^/$as_me: WARNING: /" >&2
10600 echo "$as_me:$LINENO: checking for $ac_header" >&5
10601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10603 echo $ECHO_N "(cached) $ECHO_C" >&6
10605 eval "$as_ac_Header=$ac_header_preproc"
10607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10612 cat >>confdefs.h
<<_ACEOF
10613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10621 # for STACK_DIRECTION
10624 for ac_func
in setrlimit
10626 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10627 echo "$as_me:$LINENO: checking for $ac_func" >&5
10628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10629 if eval "test \"\${$as_ac_var+set}\" = set"; then
10630 echo $ECHO_N "(cached) $ECHO_C" >&6
10632 cat >conftest.
$ac_ext <<_ACEOF
10633 #line $LINENO "configure"
10636 cat confdefs.h
>>conftest.
$ac_ext
10637 cat >>conftest.
$ac_ext <<_ACEOF
10638 /* end confdefs.h. */
10639 /* System header to define __stub macros and hopefully few prototypes,
10640 which can conflict with char $ac_func (); below.
10641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10642 <limits.h> exists even on freestanding compilers. */
10644 # include <limits.h>
10646 # include <assert.h>
10648 /* Override any gcc2 internal prototype to avoid an error. */
10653 /* We use char because int might match the return type of a gcc2
10654 builtin and then its argument prototype would still apply. */
10656 /* The GNU C library defines this for functions which it implements
10657 to always fail with ENOSYS. Some functions are actually named
10658 something starting with __ and the normal name is an alias. */
10659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10662 char (*f) () = $ac_func;
10671 return f != $ac_func;
10676 rm -f conftest.
$ac_objext conftest
$ac_exeext
10677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10678 (eval $ac_link) 2>&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); } &&
10682 { ac_try
='test -s conftest$ac_exeext'
10683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 (eval $ac_try) 2>&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; }; then
10688 eval "$as_ac_var=yes"
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.
$ac_ext >&5
10693 eval "$as_ac_var=no"
10695 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10699 if test `eval echo '${'$as_ac_var'}'` = yes; then
10700 cat >>confdefs.h
<<_ACEOF
10701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10708 echo "$as_me:$LINENO: checking for working C stack overflow detection" >&5
10709 echo $ECHO_N "checking for working C stack overflow detection... $ECHO_C" >&6
10710 if test "${ac_cv_sys_xsi_stack_overflow_heuristic+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 if test "$cross_compiling" = yes; then
10714 ac_cv_sys_xsi_stack_overflow_heuristic
=cross-compiling
10716 cat >conftest.
$ac_ext <<_ACEOF
10717 #line $LINENO "configure"
10720 cat confdefs.h
>>conftest.
$ac_ext
10721 cat >>conftest.
$ac_ext <<_ACEOF
10722 /* end confdefs.h. */
10724 #include <unistd.h>
10725 #include <signal.h>
10726 #include <ucontext.h>
10728 # include <sys/types.h>
10729 # include <sys/time.h>
10730 # include <sys/resource.h>
10735 char buffer[SIGSTKSZ];
10739 } alternate_signal_stack;
10741 #if STACK_DIRECTION
10742 # define find_stack_direction(ptr) STACK_DIRECTION
10745 find_stack_direction (char const *addr)
10748 return (! addr ? find_stack_direction (&dummy)
10749 : addr < &dummy ? 1 : -1);
10754 segv_handler (int signo, siginfo_t *info, void *context)
10756 if (0 < info->si_code)
10758 ucontext_t const *user_context = context;
10759 char const *stack_min = user_context->uc_stack.ss_sp;
10760 size_t stack_size = user_context->uc_stack.ss_size;
10761 char const *faulting_address = info->si_addr;
10762 size_t s = faulting_address - stack_min;
10763 size_t page_size = sysconf (_SC_PAGESIZE);
10764 if (find_stack_direction (0) < 0)
10766 if (s < stack_size + page_size)
10774 c_stack_action (void)
10777 struct sigaction act;
10781 st.ss_sp = alternate_signal_stack.buffer;
10782 st.ss_size = sizeof alternate_signal_stack.buffer;
10783 r = sigaltstack (&st, 0);
10787 sigemptyset (&act.sa_mask);
10788 act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND | SA_SIGINFO;
10789 act.sa_sigaction = segv_handler;
10790 return sigaction (SIGSEGV, &act, 0);
10798 return *p + recurse (array);
10804 #if HAVE_SETRLIMIT && defined RLIMIT_STACK
10805 /* Before starting the endless recursion, try to be friendly
10806 to the user's machine. On some Linux 2.2.x systems, there
10807 is no stack limit for user processes at all. We don't want
10808 to kill such systems. */
10810 rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */
10811 setrlimit (RLIMIT_STACK, &rl);
10815 return recurse ("\1");
10819 rm -f conftest
$ac_exeext
10820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10821 (eval $ac_link) 2>&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10826 (eval $ac_try) 2>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); }; }; then
10830 ac_cv_sys_xsi_stack_overflow_heuristic
=yes
10832 echo "$as_me: program exited with status $ac_status" >&5
10833 echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.
$ac_ext >&5
10836 ( exit $ac_status )
10837 ac_cv_sys_xsi_stack_overflow_heuristic
=no
10839 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10842 echo "$as_me:$LINENO: result: $ac_cv_sys_xsi_stack_overflow_heuristic" >&5
10843 echo "${ECHO_T}$ac_cv_sys_xsi_stack_overflow_heuristic" >&6
10845 if test $ac_cv_sys_xsi_stack_overflow_heuristic = yes; then
10847 cat >>confdefs.h
<<\_ACEOF
10848 #define HAVE_XSI_STACK_OVERFLOW_HEURISTIC 1
10854 # for STACK_DIRECTION
10859 for ac_func
in getcontext sigaltstack
10861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10862 echo "$as_me:$LINENO: checking for $ac_func" >&5
10863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10864 if eval "test \"\${$as_ac_var+set}\" = set"; then
10865 echo $ECHO_N "(cached) $ECHO_C" >&6
10867 cat >conftest.
$ac_ext <<_ACEOF
10868 #line $LINENO "configure"
10871 cat confdefs.h
>>conftest.
$ac_ext
10872 cat >>conftest.
$ac_ext <<_ACEOF
10873 /* end confdefs.h. */
10874 /* System header to define __stub macros and hopefully few prototypes,
10875 which can conflict with char $ac_func (); below.
10876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10877 <limits.h> exists even on freestanding compilers. */
10879 # include <limits.h>
10881 # include <assert.h>
10883 /* Override any gcc2 internal prototype to avoid an error. */
10888 /* We use char because int might match the return type of a gcc2
10889 builtin and then its argument prototype would still apply. */
10891 /* The GNU C library defines this for functions which it implements
10892 to always fail with ENOSYS. Some functions are actually named
10893 something starting with __ and the normal name is an alias. */
10894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10897 char (*f) () = $ac_func;
10906 return f != $ac_func;
10911 rm -f conftest.
$ac_objext conftest
$ac_exeext
10912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10913 (eval $ac_link) 2>&5
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); } &&
10917 { ac_try
='test -s conftest$ac_exeext'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; }; then
10923 eval "$as_ac_var=yes"
10925 echo "$as_me: failed program was:" >&5
10926 sed 's/^/| /' conftest.
$ac_ext >&5
10928 eval "$as_ac_var=no"
10930 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10934 if test `eval echo '${'$as_ac_var'}'` = yes; then
10935 cat >>confdefs.h
<<_ACEOF
10936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10942 echo "$as_me:$LINENO: checking whether getcontext is declared" >&5
10943 echo $ECHO_N "checking whether getcontext is declared... $ECHO_C" >&6
10944 if test "${ac_cv_have_decl_getcontext+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 cat >conftest.
$ac_ext <<_ACEOF
10948 #line $LINENO "configure"
10951 cat confdefs.h
>>conftest.
$ac_ext
10952 cat >>conftest.
$ac_ext <<_ACEOF
10953 /* end confdefs.h. */
10954 #include <ucontext.h>
10960 char *p = (char *) getcontext;
10967 rm -f conftest.
$ac_objext
10968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10969 (eval $ac_compile) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); } &&
10973 { ac_try
='test -s conftest.$ac_objext'
10974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975 (eval $ac_try) 2>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); }; }; then
10979 ac_cv_have_decl_getcontext
=yes
10981 echo "$as_me: failed program was:" >&5
10982 sed 's/^/| /' conftest.
$ac_ext >&5
10984 ac_cv_have_decl_getcontext
=no
10986 rm -f conftest.
$ac_objext conftest.
$ac_ext
10988 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getcontext" >&5
10989 echo "${ECHO_T}$ac_cv_have_decl_getcontext" >&6
10990 if test $ac_cv_have_decl_getcontext = yes; then
10992 cat >>confdefs.h
<<_ACEOF
10993 #define HAVE_DECL_GETCONTEXT 1
10998 cat >>confdefs.h
<<_ACEOF
10999 #define HAVE_DECL_GETCONTEXT 0
11006 echo "$as_me:$LINENO: checking whether sigaltstack is declared" >&5
11007 echo $ECHO_N "checking whether sigaltstack is declared... $ECHO_C" >&6
11008 if test "${ac_cv_have_decl_sigaltstack+set}" = set; then
11009 echo $ECHO_N "(cached) $ECHO_C" >&6
11011 cat >conftest.
$ac_ext <<_ACEOF
11012 #line $LINENO "configure"
11015 cat confdefs.h
>>conftest.
$ac_ext
11016 cat >>conftest.
$ac_ext <<_ACEOF
11017 /* end confdefs.h. */
11018 #include <signal.h>
11023 #ifndef sigaltstack
11024 char *p = (char *) sigaltstack;
11031 rm -f conftest.
$ac_objext
11032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11033 (eval $ac_compile) 2>&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); } &&
11037 { ac_try
='test -s conftest.$ac_objext'
11038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11039 (eval $ac_try) 2>&5
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }; }; then
11043 ac_cv_have_decl_sigaltstack
=yes
11045 echo "$as_me: failed program was:" >&5
11046 sed 's/^/| /' conftest.
$ac_ext >&5
11048 ac_cv_have_decl_sigaltstack
=no
11050 rm -f conftest.
$ac_objext conftest.
$ac_ext
11052 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sigaltstack" >&5
11053 echo "${ECHO_T}$ac_cv_have_decl_sigaltstack" >&6
11054 if test $ac_cv_have_decl_sigaltstack = yes; then
11056 cat >>confdefs.h
<<_ACEOF
11057 #define HAVE_DECL_SIGALTSTACK 1
11062 cat >>confdefs.h
<<_ACEOF
11063 #define HAVE_DECL_SIGALTSTACK 0
11074 for ac_header
in sys
/resource.h ucontext.h unistd.h
11076 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11078 echo "$as_me:$LINENO: checking for $ac_header" >&5
11079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11081 echo $ECHO_N "(cached) $ECHO_C" >&6
11083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11086 # Is the header compilable?
11087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11089 cat >conftest.
$ac_ext <<_ACEOF
11090 #line $LINENO "configure"
11093 cat confdefs.h
>>conftest.
$ac_ext
11094 cat >>conftest.
$ac_ext <<_ACEOF
11095 /* end confdefs.h. */
11096 $ac_includes_default
11097 #include <$ac_header>
11099 rm -f conftest.
$ac_objext
11100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11101 (eval $ac_compile) 2>&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); } &&
11105 { ac_try
='test -s conftest.$ac_objext'
11106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11107 (eval $ac_try) 2>&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); }; }; then
11111 ac_header_compiler
=yes
11113 echo "$as_me: failed program was:" >&5
11114 sed 's/^/| /' conftest.
$ac_ext >&5
11116 ac_header_compiler
=no
11118 rm -f conftest.
$ac_objext conftest.
$ac_ext
11119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11120 echo "${ECHO_T}$ac_header_compiler" >&6
11122 # Is the header present?
11123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11125 cat >conftest.
$ac_ext <<_ACEOF
11126 #line $LINENO "configure"
11129 cat confdefs.h
>>conftest.
$ac_ext
11130 cat >>conftest.
$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11132 #include <$ac_header>
11134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11135 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11137 grep -v '^ *+' conftest.er1
>conftest.err
11139 cat conftest.err
>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); } >/dev
/null
; then
11142 if test -s conftest.err
; then
11143 ac_cpp_err
=$ac_c_preproc_warn_flag
11150 if test -z "$ac_cpp_err"; then
11151 ac_header_preproc
=yes
11153 echo "$as_me: failed program was:" >&5
11154 sed 's/^/| /' conftest.
$ac_ext >&5
11156 ac_header_preproc
=no
11158 rm -f conftest.err conftest.
$ac_ext
11159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11160 echo "${ECHO_T}$ac_header_preproc" >&6
11162 # So? What about this header?
11163 case $ac_header_compiler:$ac_header_preproc in
11165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11171 ## ------------------------------------ ##
11172 ## Report this to bug-autoconf@gnu.org. ##
11173 ## ------------------------------------ ##
11176 sed "s/^/$as_me: WARNING: /" >&2
11179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11187 ## ------------------------------------ ##
11188 ## Report this to bug-autoconf@gnu.org. ##
11189 ## ------------------------------------ ##
11192 sed "s/^/$as_me: WARNING: /" >&2
11195 echo "$as_me:$LINENO: checking for $ac_header" >&5
11196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11198 echo $ECHO_N "(cached) $ECHO_C" >&6
11200 eval "$as_ac_Header=$ac_header_preproc"
11202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11207 cat >>confdefs.h
<<_ACEOF
11208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11216 echo "$as_me:$LINENO: checking for stack_t" >&5
11217 echo $ECHO_N "checking for stack_t... $ECHO_C" >&6
11218 if test "${ac_cv_type_stack_t+set}" = set; then
11219 echo $ECHO_N "(cached) $ECHO_C" >&6
11221 cat >conftest.
$ac_ext <<_ACEOF
11222 #line $LINENO "configure"
11225 cat confdefs.h
>>conftest.
$ac_ext
11226 cat >>conftest.
$ac_ext <<_ACEOF
11227 /* end confdefs.h. */
11228 #include <signal.h>
11235 if (sizeof (stack_t))
11241 rm -f conftest.
$ac_objext
11242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11243 (eval $ac_compile) 2>&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); } &&
11247 { ac_try
='test -s conftest.$ac_objext'
11248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11249 (eval $ac_try) 2>&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); }; }; then
11253 ac_cv_type_stack_t
=yes
11255 echo "$as_me: failed program was:" >&5
11256 sed 's/^/| /' conftest.
$ac_ext >&5
11258 ac_cv_type_stack_t
=no
11260 rm -f conftest.
$ac_objext conftest.
$ac_ext
11262 echo "$as_me:$LINENO: result: $ac_cv_type_stack_t" >&5
11263 echo "${ECHO_T}$ac_cv_type_stack_t" >&6
11264 if test $ac_cv_type_stack_t = yes; then
11266 cat >>confdefs.h
<<_ACEOF
11267 #define HAVE_STACK_T 1
11275 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
11276 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
11277 if test "${ac_cv_search_gethostbyname+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11281 ac_func_search_save_LIBS
=$LIBS
11282 ac_cv_search_gethostbyname
=no
11283 cat >conftest.
$ac_ext <<_ACEOF
11284 #line $LINENO "configure"
11287 cat confdefs.h
>>conftest.
$ac_ext
11288 cat >>conftest.
$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11291 /* Override any gcc2 internal prototype to avoid an error. */
11295 /* We use char because int might match the return type of a gcc2
11296 builtin and then its argument prototype would still apply. */
11297 char gethostbyname ();
11306 rm -f conftest.
$ac_objext conftest
$ac_exeext
11307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11308 (eval $ac_link) 2>&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); } &&
11312 { ac_try
='test -s conftest$ac_exeext'
11313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11314 (eval $ac_try) 2>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; }; then
11318 ac_cv_search_gethostbyname
='none required'
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.
$ac_ext >&5
11324 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11325 if test "$ac_cv_search_gethostbyname" = no
; then
11326 for ac_lib
in inet nsl
; do
11327 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11328 cat >conftest.
$ac_ext <<_ACEOF
11329 #line $LINENO "configure"
11332 cat confdefs.h
>>conftest.
$ac_ext
11333 cat >>conftest.
$ac_ext <<_ACEOF
11334 /* end confdefs.h. */
11336 /* Override any gcc2 internal prototype to avoid an error. */
11340 /* We use char because int might match the return type of a gcc2
11341 builtin and then its argument prototype would still apply. */
11342 char gethostbyname ();
11351 rm -f conftest.
$ac_objext conftest
$ac_exeext
11352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11353 (eval $ac_link) 2>&5
11355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11356 (exit $ac_status); } &&
11357 { ac_try
='test -s conftest$ac_exeext'
11358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11359 (eval $ac_try) 2>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); }; }; then
11363 ac_cv_search_gethostbyname
="-l$ac_lib"; break
11365 echo "$as_me: failed program was:" >&5
11366 sed 's/^/| /' conftest.
$ac_ext >&5
11369 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11372 LIBS
=$ac_func_search_save_LIBS
11375 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
11376 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
11378 if test "$ac_cv_search_gethostbyname" = no
; then :
11381 if test "$ac_cv_search_gethostbyname" = 'none required'; then :
11384 LIBS
="$ac_cv_search_gethostbyname $LIBS"
11393 for ac_func
in gethostbyname gethostbyaddr inet_ntoa
11395 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11396 echo "$as_me:$LINENO: checking for $ac_func" >&5
11397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11398 if eval "test \"\${$as_ac_var+set}\" = set"; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 cat >conftest.
$ac_ext <<_ACEOF
11402 #line $LINENO "configure"
11405 cat confdefs.h
>>conftest.
$ac_ext
11406 cat >>conftest.
$ac_ext <<_ACEOF
11407 /* end confdefs.h. */
11408 /* System header to define __stub macros and hopefully few prototypes,
11409 which can conflict with char $ac_func (); below.
11410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11411 <limits.h> exists even on freestanding compilers. */
11413 # include <limits.h>
11415 # include <assert.h>
11417 /* Override any gcc2 internal prototype to avoid an error. */
11422 /* We use char because int might match the return type of a gcc2
11423 builtin and then its argument prototype would still apply. */
11425 /* The GNU C library defines this for functions which it implements
11426 to always fail with ENOSYS. Some functions are actually named
11427 something starting with __ and the normal name is an alias. */
11428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11431 char (*f) () = $ac_func;
11440 return f != $ac_func;
11445 rm -f conftest.
$ac_objext conftest
$ac_exeext
11446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11447 (eval $ac_link) 2>&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); } &&
11451 { ac_try
='test -s conftest$ac_exeext'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; }; then
11457 eval "$as_ac_var=yes"
11459 echo "$as_me: failed program was:" >&5
11460 sed 's/^/| /' conftest.
$ac_ext >&5
11462 eval "$as_ac_var=no"
11464 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11468 if test `eval echo '${'$as_ac_var'}'` = yes; then
11469 cat >>confdefs.h
<<_ACEOF
11470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11483 for ac_header
in unistd.h string.h netdb.h sys
/socket.h \
11484 netinet
/in.h arpa
/inet.h
11486 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11488 echo "$as_me:$LINENO: checking for $ac_header" >&5
11489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11491 echo $ECHO_N "(cached) $ECHO_C" >&6
11493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11496 # Is the header compilable?
11497 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11498 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11499 cat >conftest.
$ac_ext <<_ACEOF
11500 #line $LINENO "configure"
11503 cat confdefs.h
>>conftest.
$ac_ext
11504 cat >>conftest.
$ac_ext <<_ACEOF
11505 /* end confdefs.h. */
11506 $ac_includes_default
11507 #include <$ac_header>
11509 rm -f conftest.
$ac_objext
11510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11511 (eval $ac_compile) 2>&5
11513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 (exit $ac_status); } &&
11515 { ac_try
='test -s conftest.$ac_objext'
11516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11517 (eval $ac_try) 2>&5
11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 (exit $ac_status); }; }; then
11521 ac_header_compiler
=yes
11523 echo "$as_me: failed program was:" >&5
11524 sed 's/^/| /' conftest.
$ac_ext >&5
11526 ac_header_compiler
=no
11528 rm -f conftest.
$ac_objext conftest.
$ac_ext
11529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11530 echo "${ECHO_T}$ac_header_compiler" >&6
11532 # Is the header present?
11533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11535 cat >conftest.
$ac_ext <<_ACEOF
11536 #line $LINENO "configure"
11539 cat confdefs.h
>>conftest.
$ac_ext
11540 cat >>conftest.
$ac_ext <<_ACEOF
11541 /* end confdefs.h. */
11542 #include <$ac_header>
11544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11545 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11547 grep -v '^ *+' conftest.er1
>conftest.err
11549 cat conftest.err
>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); } >/dev
/null
; then
11552 if test -s conftest.err
; then
11553 ac_cpp_err
=$ac_c_preproc_warn_flag
11560 if test -z "$ac_cpp_err"; then
11561 ac_header_preproc
=yes
11563 echo "$as_me: failed program was:" >&5
11564 sed 's/^/| /' conftest.
$ac_ext >&5
11566 ac_header_preproc
=no
11568 rm -f conftest.err conftest.
$ac_ext
11569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11570 echo "${ECHO_T}$ac_header_preproc" >&6
11572 # So? What about this header?
11573 case $ac_header_compiler:$ac_header_preproc in
11575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11581 ## ------------------------------------ ##
11582 ## Report this to bug-autoconf@gnu.org. ##
11583 ## ------------------------------------ ##
11586 sed "s/^/$as_me: WARNING: /" >&2
11589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11594 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11597 ## ------------------------------------ ##
11598 ## Report this to bug-autoconf@gnu.org. ##
11599 ## ------------------------------------ ##
11602 sed "s/^/$as_me: WARNING: /" >&2
11605 echo "$as_me:$LINENO: checking for $ac_header" >&5
11606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11608 echo $ECHO_N "(cached) $ECHO_C" >&6
11610 eval "$as_ac_Header=$ac_header_preproc"
11612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11617 cat >>confdefs.h
<<_ACEOF
11618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11629 for ac_header
in string.h
11631 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11633 echo "$as_me:$LINENO: checking for $ac_header" >&5
11634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11636 echo $ECHO_N "(cached) $ECHO_C" >&6
11638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11641 # Is the header compilable?
11642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11644 cat >conftest.
$ac_ext <<_ACEOF
11645 #line $LINENO "configure"
11648 cat confdefs.h
>>conftest.
$ac_ext
11649 cat >>conftest.
$ac_ext <<_ACEOF
11650 /* end confdefs.h. */
11651 $ac_includes_default
11652 #include <$ac_header>
11654 rm -f conftest.
$ac_objext
11655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11656 (eval $ac_compile) 2>&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } &&
11660 { ac_try
='test -s conftest.$ac_objext'
11661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11662 (eval $ac_try) 2>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; }; then
11666 ac_header_compiler
=yes
11668 echo "$as_me: failed program was:" >&5
11669 sed 's/^/| /' conftest.
$ac_ext >&5
11671 ac_header_compiler
=no
11673 rm -f conftest.
$ac_objext conftest.
$ac_ext
11674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11675 echo "${ECHO_T}$ac_header_compiler" >&6
11677 # Is the header present?
11678 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11680 cat >conftest.
$ac_ext <<_ACEOF
11681 #line $LINENO "configure"
11684 cat confdefs.h
>>conftest.
$ac_ext
11685 cat >>conftest.
$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11687 #include <$ac_header>
11689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11690 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11692 grep -v '^ *+' conftest.er1
>conftest.err
11694 cat conftest.err
>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } >/dev
/null
; then
11697 if test -s conftest.err
; then
11698 ac_cpp_err
=$ac_c_preproc_warn_flag
11705 if test -z "$ac_cpp_err"; then
11706 ac_header_preproc
=yes
11708 echo "$as_me: failed program was:" >&5
11709 sed 's/^/| /' conftest.
$ac_ext >&5
11711 ac_header_preproc
=no
11713 rm -f conftest.err conftest.
$ac_ext
11714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11715 echo "${ECHO_T}$ac_header_preproc" >&6
11717 # So? What about this header?
11718 case $ac_header_compiler:$ac_header_preproc in
11720 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11721 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11723 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11726 ## ------------------------------------ ##
11727 ## Report this to bug-autoconf@gnu.org. ##
11728 ## ------------------------------------ ##
11731 sed "s/^/$as_me: WARNING: /" >&2
11734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11739 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11742 ## ------------------------------------ ##
11743 ## Report this to bug-autoconf@gnu.org. ##
11744 ## ------------------------------------ ##
11747 sed "s/^/$as_me: WARNING: /" >&2
11750 echo "$as_me:$LINENO: checking for $ac_header" >&5
11751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11755 eval "$as_ac_Header=$ac_header_preproc"
11757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11762 cat >>confdefs.h
<<_ACEOF
11763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11775 for ac_func
in strerror vprintf doprnt
11777 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11778 echo "$as_me:$LINENO: checking for $ac_func" >&5
11779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11780 if eval "test \"\${$as_ac_var+set}\" = set"; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 cat >conftest.
$ac_ext <<_ACEOF
11784 #line $LINENO "configure"
11787 cat confdefs.h
>>conftest.
$ac_ext
11788 cat >>conftest.
$ac_ext <<_ACEOF
11789 /* end confdefs.h. */
11790 /* System header to define __stub macros and hopefully few prototypes,
11791 which can conflict with char $ac_func (); below.
11792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11793 <limits.h> exists even on freestanding compilers. */
11795 # include <limits.h>
11797 # include <assert.h>
11799 /* Override any gcc2 internal prototype to avoid an error. */
11804 /* We use char because int might match the return type of a gcc2
11805 builtin and then its argument prototype would still apply. */
11807 /* The GNU C library defines this for functions which it implements
11808 to always fail with ENOSYS. Some functions are actually named
11809 something starting with __ and the normal name is an alias. */
11810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11813 char (*f) () = $ac_func;
11822 return f != $ac_func;
11827 rm -f conftest.
$ac_objext conftest
$ac_exeext
11828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11829 (eval $ac_link) 2>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } &&
11833 { ac_try
='test -s conftest$ac_exeext'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; }; then
11839 eval "$as_ac_var=yes"
11841 echo "$as_me: failed program was:" >&5
11842 sed 's/^/| /' conftest.
$ac_ext >&5
11844 eval "$as_ac_var=no"
11846 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11850 if test `eval echo '${'$as_ac_var'}'` = yes; then
11851 cat >>confdefs.h
<<_ACEOF
11852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11858 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
11859 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
11860 if test "${ac_cv_have_decl_strerror+set}" = set; then
11861 echo $ECHO_N "(cached) $ECHO_C" >&6
11863 cat >conftest.
$ac_ext <<_ACEOF
11864 #line $LINENO "configure"
11867 cat confdefs.h
>>conftest.
$ac_ext
11868 cat >>conftest.
$ac_ext <<_ACEOF
11869 /* end confdefs.h. */
11870 $ac_includes_default
11875 char *p = (char *) strerror;
11882 rm -f conftest.
$ac_objext
11883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11884 (eval $ac_compile) 2>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } &&
11888 { ac_try
='test -s conftest.$ac_objext'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; }; then
11894 ac_cv_have_decl_strerror
=yes
11896 echo "$as_me: failed program was:" >&5
11897 sed 's/^/| /' conftest.
$ac_ext >&5
11899 ac_cv_have_decl_strerror
=no
11901 rm -f conftest.
$ac_objext conftest.
$ac_ext
11903 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
11904 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
11905 if test $ac_cv_have_decl_strerror = yes; then
11907 cat >>confdefs.h
<<_ACEOF
11908 #define HAVE_DECL_STRERROR 1
11913 cat >>confdefs.h
<<_ACEOF
11914 #define HAVE_DECL_STRERROR 0
11922 for ac_header
in libintl.h
11924 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11926 echo "$as_me:$LINENO: checking for $ac_header" >&5
11927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11929 echo $ECHO_N "(cached) $ECHO_C" >&6
11931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11934 # Is the header compilable?
11935 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11936 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11937 cat >conftest.
$ac_ext <<_ACEOF
11938 #line $LINENO "configure"
11941 cat confdefs.h
>>conftest.
$ac_ext
11942 cat >>conftest.
$ac_ext <<_ACEOF
11943 /* end confdefs.h. */
11944 $ac_includes_default
11945 #include <$ac_header>
11947 rm -f conftest.
$ac_objext
11948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11949 (eval $ac_compile) 2>&5
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); } &&
11953 { ac_try
='test -s conftest.$ac_objext'
11954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11955 (eval $ac_try) 2>&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); }; }; then
11959 ac_header_compiler
=yes
11961 echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.
$ac_ext >&5
11964 ac_header_compiler
=no
11966 rm -f conftest.
$ac_objext conftest.
$ac_ext
11967 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11968 echo "${ECHO_T}$ac_header_compiler" >&6
11970 # Is the header present?
11971 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11972 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11973 cat >conftest.
$ac_ext <<_ACEOF
11974 #line $LINENO "configure"
11977 cat confdefs.h
>>conftest.
$ac_ext
11978 cat >>conftest.
$ac_ext <<_ACEOF
11979 /* end confdefs.h. */
11980 #include <$ac_header>
11982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11983 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11985 grep -v '^ *+' conftest.er1
>conftest.err
11987 cat conftest.err
>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); } >/dev
/null
; then
11990 if test -s conftest.err
; then
11991 ac_cpp_err
=$ac_c_preproc_warn_flag
11998 if test -z "$ac_cpp_err"; then
11999 ac_header_preproc
=yes
12001 echo "$as_me: failed program was:" >&5
12002 sed 's/^/| /' conftest.
$ac_ext >&5
12004 ac_header_preproc
=no
12006 rm -f conftest.err conftest.
$ac_ext
12007 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12008 echo "${ECHO_T}$ac_header_preproc" >&6
12010 # So? What about this header?
12011 case $ac_header_compiler:$ac_header_preproc in
12013 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12014 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12016 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12019 ## ------------------------------------ ##
12020 ## Report this to bug-autoconf@gnu.org. ##
12021 ## ------------------------------------ ##
12024 sed "s/^/$as_me: WARNING: /" >&2
12027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12035 ## ------------------------------------ ##
12036 ## Report this to bug-autoconf@gnu.org. ##
12037 ## ------------------------------------ ##
12040 sed "s/^/$as_me: WARNING: /" >&2
12043 echo "$as_me:$LINENO: checking for $ac_header" >&5
12044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12046 echo $ECHO_N "(cached) $ECHO_C" >&6
12048 eval "$as_ac_Header=$ac_header_preproc"
12050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12055 cat >>confdefs.h
<<_ACEOF
12056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12063 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
12064 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
12065 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 cat >conftest.
$ac_ext <<_ACEOF
12069 #line $LINENO "configure"
12072 cat confdefs.h
>>conftest.
$ac_ext
12073 cat >>conftest.
$ac_ext <<_ACEOF
12074 /* end confdefs.h. */
12075 $ac_includes_default
12080 char *p = (char *) strerror_r;
12087 rm -f conftest.
$ac_objext
12088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12089 (eval $ac_compile) 2>&5
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); } &&
12093 { ac_try
='test -s conftest.$ac_objext'
12094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12095 (eval $ac_try) 2>&5
12097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12098 (exit $ac_status); }; }; then
12099 ac_cv_have_decl_strerror_r
=yes
12101 echo "$as_me: failed program was:" >&5
12102 sed 's/^/| /' conftest.
$ac_ext >&5
12104 ac_cv_have_decl_strerror_r
=no
12106 rm -f conftest.
$ac_objext conftest.
$ac_ext
12108 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
12109 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
12110 if test $ac_cv_have_decl_strerror_r = yes; then
12112 cat >>confdefs.h
<<_ACEOF
12113 #define HAVE_DECL_STRERROR_R 1
12118 cat >>confdefs.h
<<_ACEOF
12119 #define HAVE_DECL_STRERROR_R 0
12127 for ac_func
in strerror_r
12129 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12130 echo "$as_me:$LINENO: checking for $ac_func" >&5
12131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12132 if eval "test \"\${$as_ac_var+set}\" = set"; then
12133 echo $ECHO_N "(cached) $ECHO_C" >&6
12135 cat >conftest.
$ac_ext <<_ACEOF
12136 #line $LINENO "configure"
12139 cat confdefs.h
>>conftest.
$ac_ext
12140 cat >>conftest.
$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12142 /* System header to define __stub macros and hopefully few prototypes,
12143 which can conflict with char $ac_func (); below.
12144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12145 <limits.h> exists even on freestanding compilers. */
12147 # include <limits.h>
12149 # include <assert.h>
12151 /* Override any gcc2 internal prototype to avoid an error. */
12156 /* We use char because int might match the return type of a gcc2
12157 builtin and then its argument prototype would still apply. */
12159 /* The GNU C library defines this for functions which it implements
12160 to always fail with ENOSYS. Some functions are actually named
12161 something starting with __ and the normal name is an alias. */
12162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12165 char (*f) () = $ac_func;
12174 return f != $ac_func;
12179 rm -f conftest.
$ac_objext conftest
$ac_exeext
12180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12181 (eval $ac_link) 2>&5
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); } &&
12185 { ac_try
='test -s conftest$ac_exeext'
12186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12187 (eval $ac_try) 2>&5
12189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); }; }; then
12191 eval "$as_ac_var=yes"
12193 echo "$as_me: failed program was:" >&5
12194 sed 's/^/| /' conftest.
$ac_ext >&5
12196 eval "$as_ac_var=no"
12198 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12202 if test `eval echo '${'$as_ac_var'}'` = yes; then
12203 cat >>confdefs.h
<<_ACEOF
12204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12210 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
12211 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
12212 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
12213 echo $ECHO_N "(cached) $ECHO_C" >&6
12216 ac_cv_func_strerror_r_char_p
=no
12217 if test $ac_cv_have_decl_strerror_r = yes; then
12218 cat >conftest.
$ac_ext <<_ACEOF
12219 #line $LINENO "configure"
12222 cat confdefs.h
>>conftest.
$ac_ext
12223 cat >>conftest.
$ac_ext <<_ACEOF
12224 /* end confdefs.h. */
12225 $ac_includes_default
12231 char x = *strerror_r (0, buf, sizeof buf);
12232 char *p = strerror_r (0, buf, sizeof buf);
12238 rm -f conftest.
$ac_objext
12239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12240 (eval $ac_compile) 2>&5
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); } &&
12244 { ac_try
='test -s conftest.$ac_objext'
12245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12246 (eval $ac_try) 2>&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); }; }; then
12250 ac_cv_func_strerror_r_char_p
=yes
12252 echo "$as_me: failed program was:" >&5
12253 sed 's/^/| /' conftest.
$ac_ext >&5
12256 rm -f conftest.
$ac_objext conftest.
$ac_ext
12258 # strerror_r is not declared. Choose between
12259 # systems that have relatively inaccessible declarations for the
12260 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
12261 # former has a strerror_r that returns char*, while the latter
12262 # has a strerror_r that returns `int'.
12263 # This test should segfault on the DEC system.
12264 if test "$cross_compiling" = yes; then
12267 cat >conftest.
$ac_ext <<_ACEOF
12268 #line $LINENO "configure"
12271 cat confdefs.h
>>conftest.
$ac_ext
12272 cat >>conftest.
$ac_ext <<_ACEOF
12273 /* end confdefs.h. */
12274 $ac_includes_default
12275 extern char *strerror_r ();
12280 char x = *strerror_r (0, buf, sizeof buf);
12281 exit (!isalpha (x));
12286 rm -f conftest
$ac_exeext
12287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12288 (eval $ac_link) 2>&5
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12293 (eval $ac_try) 2>&5
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); }; }; then
12297 ac_cv_func_strerror_r_char_p
=yes
12299 echo "$as_me: program exited with status $ac_status" >&5
12300 echo "$as_me: failed program was:" >&5
12301 sed 's/^/| /' conftest.
$ac_ext >&5
12304 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12309 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
12310 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
12311 if test $ac_cv_func_strerror_r_char_p = yes; then
12313 cat >>confdefs.h
<<\_ACEOF
12314 #define STRERROR_R_CHAR_P 1
12319 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12320 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12321 if test "${ac_cv_header_stdc+set}" = set; then
12322 echo $ECHO_N "(cached) $ECHO_C" >&6
12324 cat >conftest.
$ac_ext <<_ACEOF
12325 #line $LINENO "configure"
12328 cat confdefs.h
>>conftest.
$ac_ext
12329 cat >>conftest.
$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12331 #include <stdlib.h>
12332 #include <stdarg.h>
12333 #include <string.h>
12344 rm -f conftest.
$ac_objext
12345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12346 (eval $ac_compile) 2>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); } &&
12350 { ac_try
='test -s conftest.$ac_objext'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; }; then
12356 ac_cv_header_stdc
=yes
12358 echo "$as_me: failed program was:" >&5
12359 sed 's/^/| /' conftest.
$ac_ext >&5
12361 ac_cv_header_stdc
=no
12363 rm -f conftest.
$ac_objext conftest.
$ac_ext
12365 if test $ac_cv_header_stdc = yes; then
12366 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12367 cat >conftest.
$ac_ext <<_ACEOF
12368 #line $LINENO "configure"
12371 cat confdefs.h
>>conftest.
$ac_ext
12372 cat >>conftest.
$ac_ext <<_ACEOF
12373 /* end confdefs.h. */
12374 #include <string.h>
12377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12378 $EGREP "memchr" >/dev
/null
2>&1; then
12381 ac_cv_header_stdc
=no
12387 if test $ac_cv_header_stdc = yes; then
12388 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12389 cat >conftest.
$ac_ext <<_ACEOF
12390 #line $LINENO "configure"
12393 cat confdefs.h
>>conftest.
$ac_ext
12394 cat >>conftest.
$ac_ext <<_ACEOF
12395 /* end confdefs.h. */
12396 #include <stdlib.h>
12399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12400 $EGREP "free" >/dev
/null
2>&1; then
12403 ac_cv_header_stdc
=no
12409 if test $ac_cv_header_stdc = yes; then
12410 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12411 if test "$cross_compiling" = yes; then
12414 cat >conftest.
$ac_ext <<_ACEOF
12415 #line $LINENO "configure"
12418 cat confdefs.h
>>conftest.
$ac_ext
12419 cat >>conftest.
$ac_ext <<_ACEOF
12420 /* end confdefs.h. */
12422 #if ((' ' & 0x0FF) == 0x020)
12423 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12424 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12426 # define ISLOWER(c) \
12427 (('a' <= (c) && (c) <= 'i') \
12428 || ('j' <= (c) && (c) <= 'r') \
12429 || ('s' <= (c) && (c) <= 'z'))
12430 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12433 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12438 for (i = 0; i < 256; i++)
12439 if (XOR (islower (i), ISLOWER (i))
12440 || toupper (i) != TOUPPER (i))
12445 rm -f conftest
$ac_exeext
12446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12447 (eval $ac_link) 2>&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12452 (eval $ac_try) 2>&5
12454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 (exit $ac_status); }; }; then
12458 echo "$as_me: program exited with status $ac_status" >&5
12459 echo "$as_me: failed program was:" >&5
12460 sed 's/^/| /' conftest.
$ac_ext >&5
12462 ( exit $ac_status )
12463 ac_cv_header_stdc
=no
12465 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12469 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12470 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12471 if test $ac_cv_header_stdc = yes; then
12473 cat >>confdefs.h
<<\_ACEOF
12474 #define STDC_HEADERS 1
12480 echo "$as_me:$LINENO: checking for mbstate_t" >&5
12481 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
12482 if test "${ac_cv_type_mbstate_t+set}" = set; then
12483 echo $ECHO_N "(cached) $ECHO_C" >&6
12485 cat >conftest.
$ac_ext <<_ACEOF
12486 #line $LINENO "configure"
12489 cat confdefs.h
>>conftest.
$ac_ext
12490 cat >>conftest.
$ac_ext <<_ACEOF
12491 /* end confdefs.h. */
12492 $ac_includes_default
12493 # include <wchar.h>
12497 mbstate_t x; return sizeof x;
12502 rm -f conftest.
$ac_objext
12503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12504 (eval $ac_compile) 2>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); } &&
12508 { ac_try
='test -s conftest.$ac_objext'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12514 ac_cv_type_mbstate_t
=yes
12516 echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.
$ac_ext >&5
12519 ac_cv_type_mbstate_t
=no
12521 rm -f conftest.
$ac_objext conftest.
$ac_ext
12523 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
12524 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
12525 if test $ac_cv_type_mbstate_t = yes; then
12527 cat >>confdefs.h
<<\_ACEOF
12528 #define HAVE_MBSTATE_T 1
12533 cat >>confdefs.h
<<\_ACEOF
12534 #define mbstate_t int
12539 echo "$as_me:$LINENO: checking for working GNU fnmatch" >&5
12540 echo $ECHO_N "checking for working GNU fnmatch... $ECHO_C" >&6
12541 if test "${ac_cv_func_fnmatch_gnu+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12544 # Some versions of Solaris, SCO, and the GNU C Library
12545 # have a broken or incompatible fnmatch.
12546 # So we run a test program. If we are cross-compiling, take no chance.
12547 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
12548 if test "$cross_compiling" = yes; then
12549 ac_cv_func_fnmatch_gnu
=cross
12551 cat >conftest.
$ac_ext <<_ACEOF
12552 #line $LINENO "configure"
12555 cat confdefs.h
>>conftest.
$ac_ext
12556 cat >>conftest.
$ac_ext <<_ACEOF
12557 /* end confdefs.h. */
12558 #include <fnmatch.h>
12559 # define y(a, b, c) (fnmatch (a, b, c) == 0)
12560 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
12566 (!(y ("a*", "abc", 0)
12567 && n ("d*/*1", "d/s/1", FNM_PATHNAME)
12568 && y ("a\\\\bc", "abc", 0)
12569 && n ("a\\\\bc", "abc", FNM_NOESCAPE)
12570 && y ("*x", ".x", 0)
12571 && n ("*x", ".x", FNM_PERIOD)
12572 && y ("xxXX", "xXxX", FNM_CASEFOLD)
12573 && y ("a++(x|yy)b", "a+xyyyyxb", FNM_EXTMATCH)
12574 && n ("d*/*1", "d/s/1", FNM_FILE_NAME)
12575 && y ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR)
12576 && y ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR)
12577 && y ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR)));
12582 rm -f conftest
$ac_exeext
12583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12584 (eval $ac_link) 2>&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 ac_cv_func_fnmatch_gnu
=yes
12595 echo "$as_me: program exited with status $ac_status" >&5
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.
$ac_ext >&5
12599 ( exit $ac_status )
12600 ac_cv_func_fnmatch_gnu
=no
12602 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12605 echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_gnu" >&5
12606 echo "${ECHO_T}$ac_cv_func_fnmatch_gnu" >&6
12607 if test $ac_cv_func_fnmatch_gnu = yes; then
12608 rm -f $ac_config_libobj_dir/fnmatch.h
12610 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
12611 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
12612 if test "${ac_cv_have_decl_getenv+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 cat >conftest.
$ac_ext <<_ACEOF
12616 #line $LINENO "configure"
12619 cat confdefs.h
>>conftest.
$ac_ext
12620 cat >>conftest.
$ac_ext <<_ACEOF
12621 /* end confdefs.h. */
12622 $ac_includes_default
12627 char *p = (char *) getenv;
12634 rm -f conftest.
$ac_objext
12635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12636 (eval $ac_compile) 2>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); } &&
12640 { ac_try
='test -s conftest.$ac_objext'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; }; then
12646 ac_cv_have_decl_getenv
=yes
12648 echo "$as_me: failed program was:" >&5
12649 sed 's/^/| /' conftest.
$ac_ext >&5
12651 ac_cv_have_decl_getenv
=no
12653 rm -f conftest.
$ac_objext conftest.
$ac_ext
12655 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
12656 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
12657 if test $ac_cv_have_decl_getenv = yes; then
12659 cat >>confdefs.h
<<_ACEOF
12660 #define HAVE_DECL_GETENV 1
12665 cat >>confdefs.h
<<_ACEOF
12666 #define HAVE_DECL_GETENV 0
12677 for ac_func
in btowc mbsrtowcs mempcpy wmempcpy
12679 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12680 echo "$as_me:$LINENO: checking for $ac_func" >&5
12681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12682 if eval "test \"\${$as_ac_var+set}\" = set"; then
12683 echo $ECHO_N "(cached) $ECHO_C" >&6
12685 cat >conftest.
$ac_ext <<_ACEOF
12686 #line $LINENO "configure"
12689 cat confdefs.h
>>conftest.
$ac_ext
12690 cat >>conftest.
$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692 /* System header to define __stub macros and hopefully few prototypes,
12693 which can conflict with char $ac_func (); below.
12694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12695 <limits.h> exists even on freestanding compilers. */
12697 # include <limits.h>
12699 # include <assert.h>
12701 /* Override any gcc2 internal prototype to avoid an error. */
12706 /* We use char because int might match the return type of a gcc2
12707 builtin and then its argument prototype would still apply. */
12709 /* The GNU C library defines this for functions which it implements
12710 to always fail with ENOSYS. Some functions are actually named
12711 something starting with __ and the normal name is an alias. */
12712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12715 char (*f) () = $ac_func;
12724 return f != $ac_func;
12729 rm -f conftest.
$ac_objext conftest
$ac_exeext
12730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12731 (eval $ac_link) 2>&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); } &&
12735 { ac_try
='test -s conftest$ac_exeext'
12736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 (eval $ac_try) 2>&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); }; }; then
12741 eval "$as_ac_var=yes"
12743 echo "$as_me: failed program was:" >&5
12744 sed 's/^/| /' conftest.
$ac_ext >&5
12746 eval "$as_ac_var=no"
12748 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12752 if test `eval echo '${'$as_ac_var'}'` = yes; then
12753 cat >>confdefs.h
<<_ACEOF
12754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12762 for ac_header
in wchar.h wctype.h
12764 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12766 echo "$as_me:$LINENO: checking for $ac_header" >&5
12767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12769 echo $ECHO_N "(cached) $ECHO_C" >&6
12771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12774 # Is the header compilable?
12775 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12777 cat >conftest.
$ac_ext <<_ACEOF
12778 #line $LINENO "configure"
12781 cat confdefs.h
>>conftest.
$ac_ext
12782 cat >>conftest.
$ac_ext <<_ACEOF
12783 /* end confdefs.h. */
12784 $ac_includes_default
12785 #include <$ac_header>
12787 rm -f conftest.
$ac_objext
12788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12789 (eval $ac_compile) 2>&5
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); } &&
12793 { ac_try
='test -s conftest.$ac_objext'
12794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12795 (eval $ac_try) 2>&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); }; }; then
12799 ac_header_compiler
=yes
12801 echo "$as_me: failed program was:" >&5
12802 sed 's/^/| /' conftest.
$ac_ext >&5
12804 ac_header_compiler
=no
12806 rm -f conftest.
$ac_objext conftest.
$ac_ext
12807 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12808 echo "${ECHO_T}$ac_header_compiler" >&6
12810 # Is the header present?
12811 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12812 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12813 cat >conftest.
$ac_ext <<_ACEOF
12814 #line $LINENO "configure"
12817 cat confdefs.h
>>conftest.
$ac_ext
12818 cat >>conftest.
$ac_ext <<_ACEOF
12819 /* end confdefs.h. */
12820 #include <$ac_header>
12822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12823 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12825 grep -v '^ *+' conftest.er1
>conftest.err
12827 cat conftest.err
>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } >/dev
/null
; then
12830 if test -s conftest.err
; then
12831 ac_cpp_err
=$ac_c_preproc_warn_flag
12838 if test -z "$ac_cpp_err"; then
12839 ac_header_preproc
=yes
12841 echo "$as_me: failed program was:" >&5
12842 sed 's/^/| /' conftest.
$ac_ext >&5
12844 ac_header_preproc
=no
12846 rm -f conftest.err conftest.
$ac_ext
12847 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12848 echo "${ECHO_T}$ac_header_preproc" >&6
12850 # So? What about this header?
12851 case $ac_header_compiler:$ac_header_preproc in
12853 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12854 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12859 ## ------------------------------------ ##
12860 ## Report this to bug-autoconf@gnu.org. ##
12861 ## ------------------------------------ ##
12864 sed "s/^/$as_me: WARNING: /" >&2
12867 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12868 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12869 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12870 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12875 ## ------------------------------------ ##
12876 ## Report this to bug-autoconf@gnu.org. ##
12877 ## ------------------------------------ ##
12880 sed "s/^/$as_me: WARNING: /" >&2
12883 echo "$as_me:$LINENO: checking for $ac_header" >&5
12884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12886 echo $ECHO_N "(cached) $ECHO_C" >&6
12888 eval "$as_ac_Header=$ac_header_preproc"
12890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12895 cat >>confdefs.h
<<_ACEOF
12896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12903 LIBOBJS
="$LIBOBJS fnmatch.$ac_objext"
12904 ac_config_links
="$ac_config_links $ac_config_libobj_dir/fnmatch.h:$ac_config_libobj_dir/fnmatch_.h"
12907 cat >>confdefs.h
<<\_ACEOF
12908 #define fnmatch rpl_fnmatch
12916 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
12917 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
12918 if test "${ac_cv_header_stdbool_h+set}" = set; then
12919 echo $ECHO_N "(cached) $ECHO_C" >&6
12921 cat >conftest.
$ac_ext <<_ACEOF
12922 #line $LINENO "configure"
12925 cat confdefs.h
>>conftest.
$ac_ext
12926 cat >>conftest.
$ac_ext <<_ACEOF
12927 /* end confdefs.h. */
12929 #include <stdbool.h>
12931 "error: bool is not defined"
12934 "error: false is not defined"
12937 "error: false is not 0"
12940 "error: false is not defined"
12943 "error: true is not 1"
12945 #ifndef __bool_true_false_are_defined
12946 "error: __bool_true_false_are_defined is not defined"
12949 struct s { _Bool s: 1; _Bool t; } s;
12951 char a[true == 1 ? 1 : -1];
12952 char b[false == 0 ? 1 : -1];
12953 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
12954 char d[(bool) -0.5 == true ? 1 : -1];
12956 char f[(_Bool) -0.0 == false ? 1 : -1];
12958 char h[sizeof (_Bool)];
12959 char i[sizeof s.t];
12964 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
12969 rm -f conftest.
$ac_objext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12971 (eval $ac_compile) 2>&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } &&
12975 { ac_try
='test -s conftest.$ac_objext'
12976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977 (eval $ac_try) 2>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; }; then
12981 ac_cv_header_stdbool_h
=yes
12983 echo "$as_me: failed program was:" >&5
12984 sed 's/^/| /' conftest.
$ac_ext >&5
12986 ac_cv_header_stdbool_h
=no
12988 rm -f conftest.
$ac_objext conftest.
$ac_ext
12990 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
12991 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
12992 if test $ac_cv_header_stdbool_h = yes; then
12994 cat >>confdefs.h
<<\_ACEOF
12995 #define HAVE_STDBOOL_H 1
13005 for ac_func
in getpagesize
13007 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13008 echo "$as_me:$LINENO: checking for $ac_func" >&5
13009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13010 if eval "test \"\${$as_ac_var+set}\" = set"; then
13011 echo $ECHO_N "(cached) $ECHO_C" >&6
13013 cat >conftest.
$ac_ext <<_ACEOF
13014 #line $LINENO "configure"
13017 cat confdefs.h
>>conftest.
$ac_ext
13018 cat >>conftest.
$ac_ext <<_ACEOF
13019 /* end confdefs.h. */
13020 /* System header to define __stub macros and hopefully few prototypes,
13021 which can conflict with char $ac_func (); below.
13022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13023 <limits.h> exists even on freestanding compilers. */
13025 # include <limits.h>
13027 # include <assert.h>
13029 /* Override any gcc2 internal prototype to avoid an error. */
13034 /* We use char because int might match the return type of a gcc2
13035 builtin and then its argument prototype would still apply. */
13037 /* The GNU C library defines this for functions which it implements
13038 to always fail with ENOSYS. Some functions are actually named
13039 something starting with __ and the normal name is an alias. */
13040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13043 char (*f) () = $ac_func;
13052 return f != $ac_func;
13057 rm -f conftest.
$ac_objext conftest
$ac_exeext
13058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13059 (eval $ac_link) 2>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } &&
13063 { ac_try
='test -s conftest$ac_exeext'
13064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13065 (eval $ac_try) 2>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }; }; then
13069 eval "$as_ac_var=yes"
13071 echo "$as_me: failed program was:" >&5
13072 sed 's/^/| /' conftest.
$ac_ext >&5
13074 eval "$as_ac_var=no"
13076 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13080 if test `eval echo '${'$as_ac_var'}'` = yes; then
13081 cat >>confdefs.h
<<_ACEOF
13082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13090 for ac_header
in OS.h unistd.h
13092 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13094 echo "$as_me:$LINENO: checking for $ac_header" >&5
13095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13097 echo $ECHO_N "(cached) $ECHO_C" >&6
13099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13102 # Is the header compilable?
13103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13105 cat >conftest.
$ac_ext <<_ACEOF
13106 #line $LINENO "configure"
13109 cat confdefs.h
>>conftest.
$ac_ext
13110 cat >>conftest.
$ac_ext <<_ACEOF
13111 /* end confdefs.h. */
13112 $ac_includes_default
13113 #include <$ac_header>
13115 rm -f conftest.
$ac_objext
13116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13117 (eval $ac_compile) 2>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); } &&
13121 { ac_try
='test -s conftest.$ac_objext'
13122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13123 (eval $ac_try) 2>&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); }; }; then
13127 ac_header_compiler
=yes
13129 echo "$as_me: failed program was:" >&5
13130 sed 's/^/| /' conftest.
$ac_ext >&5
13132 ac_header_compiler
=no
13134 rm -f conftest.
$ac_objext conftest.
$ac_ext
13135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13136 echo "${ECHO_T}$ac_header_compiler" >&6
13138 # Is the header present?
13139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13141 cat >conftest.
$ac_ext <<_ACEOF
13142 #line $LINENO "configure"
13145 cat confdefs.h
>>conftest.
$ac_ext
13146 cat >>conftest.
$ac_ext <<_ACEOF
13147 /* end confdefs.h. */
13148 #include <$ac_header>
13150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13151 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13153 grep -v '^ *+' conftest.er1
>conftest.err
13155 cat conftest.err
>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); } >/dev
/null
; then
13158 if test -s conftest.err
; then
13159 ac_cpp_err
=$ac_c_preproc_warn_flag
13166 if test -z "$ac_cpp_err"; then
13167 ac_header_preproc
=yes
13169 echo "$as_me: failed program was:" >&5
13170 sed 's/^/| /' conftest.
$ac_ext >&5
13172 ac_header_preproc
=no
13174 rm -f conftest.err conftest.
$ac_ext
13175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13176 echo "${ECHO_T}$ac_header_preproc" >&6
13178 # So? What about this header?
13179 case $ac_header_compiler:$ac_header_preproc in
13181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13187 ## ------------------------------------ ##
13188 ## Report this to bug-autoconf@gnu.org. ##
13189 ## ------------------------------------ ##
13192 sed "s/^/$as_me: WARNING: /" >&2
13195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13203 ## ------------------------------------ ##
13204 ## Report this to bug-autoconf@gnu.org. ##
13205 ## ------------------------------------ ##
13208 sed "s/^/$as_me: WARNING: /" >&2
13211 echo "$as_me:$LINENO: checking for $ac_header" >&5
13212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13214 echo $ECHO_N "(cached) $ECHO_C" >&6
13216 eval "$as_ac_Header=$ac_header_preproc"
13218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13223 cat >>confdefs.h
<<_ACEOF
13224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13236 for ac_header
in locale.h stdlib.h string.h
13238 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13240 echo "$as_me:$LINENO: checking for $ac_header" >&5
13241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13243 echo $ECHO_N "(cached) $ECHO_C" >&6
13245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13248 # Is the header compilable?
13249 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13251 cat >conftest.
$ac_ext <<_ACEOF
13252 #line $LINENO "configure"
13255 cat confdefs.h
>>conftest.
$ac_ext
13256 cat >>conftest.
$ac_ext <<_ACEOF
13257 /* end confdefs.h. */
13258 $ac_includes_default
13259 #include <$ac_header>
13261 rm -f conftest.
$ac_objext
13262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13263 (eval $ac_compile) 2>&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
13267 { ac_try
='test -s conftest.$ac_objext'
13268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13269 (eval $ac_try) 2>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; }; then
13273 ac_header_compiler
=yes
13275 echo "$as_me: failed program was:" >&5
13276 sed 's/^/| /' conftest.
$ac_ext >&5
13278 ac_header_compiler
=no
13280 rm -f conftest.
$ac_objext conftest.
$ac_ext
13281 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13282 echo "${ECHO_T}$ac_header_compiler" >&6
13284 # Is the header present?
13285 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13286 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13287 cat >conftest.
$ac_ext <<_ACEOF
13288 #line $LINENO "configure"
13291 cat confdefs.h
>>conftest.
$ac_ext
13292 cat >>conftest.
$ac_ext <<_ACEOF
13293 /* end confdefs.h. */
13294 #include <$ac_header>
13296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13297 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13299 grep -v '^ *+' conftest.er1
>conftest.err
13301 cat conftest.err
>&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); } >/dev
/null
; then
13304 if test -s conftest.err
; then
13305 ac_cpp_err
=$ac_c_preproc_warn_flag
13312 if test -z "$ac_cpp_err"; then
13313 ac_header_preproc
=yes
13315 echo "$as_me: failed program was:" >&5
13316 sed 's/^/| /' conftest.
$ac_ext >&5
13318 ac_header_preproc
=no
13320 rm -f conftest.err conftest.
$ac_ext
13321 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13322 echo "${ECHO_T}$ac_header_preproc" >&6
13324 # So? What about this header?
13325 case $ac_header_compiler:$ac_header_preproc in
13327 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13328 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13333 ## ------------------------------------ ##
13334 ## Report this to bug-autoconf@gnu.org. ##
13335 ## ------------------------------------ ##
13338 sed "s/^/$as_me: WARNING: /" >&2
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13343 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13344 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13349 ## ------------------------------------ ##
13350 ## Report this to bug-autoconf@gnu.org. ##
13351 ## ------------------------------------ ##
13354 sed "s/^/$as_me: WARNING: /" >&2
13357 echo "$as_me:$LINENO: checking for $ac_header" >&5
13358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13360 echo $ECHO_N "(cached) $ECHO_C" >&6
13362 eval "$as_ac_Header=$ac_header_preproc"
13364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13369 cat >>confdefs.h
<<_ACEOF
13370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13378 for ac_func
in setlocale
13380 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13381 echo "$as_me:$LINENO: checking for $ac_func" >&5
13382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13383 if eval "test \"\${$as_ac_var+set}\" = set"; then
13384 echo $ECHO_N "(cached) $ECHO_C" >&6
13386 cat >conftest.
$ac_ext <<_ACEOF
13387 #line $LINENO "configure"
13390 cat confdefs.h
>>conftest.
$ac_ext
13391 cat >>conftest.
$ac_ext <<_ACEOF
13392 /* end confdefs.h. */
13393 /* System header to define __stub macros and hopefully few prototypes,
13394 which can conflict with char $ac_func (); below.
13395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13396 <limits.h> exists even on freestanding compilers. */
13398 # include <limits.h>
13400 # include <assert.h>
13402 /* Override any gcc2 internal prototype to avoid an error. */
13407 /* We use char because int might match the return type of a gcc2
13408 builtin and then its argument prototype would still apply. */
13410 /* The GNU C library defines this for functions which it implements
13411 to always fail with ENOSYS. Some functions are actually named
13412 something starting with __ and the normal name is an alias. */
13413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13416 char (*f) () = $ac_func;
13425 return f != $ac_func;
13430 rm -f conftest.
$ac_objext conftest
$ac_exeext
13431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13432 (eval $ac_link) 2>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } &&
13436 { ac_try
='test -s conftest$ac_exeext'
13437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13438 (eval $ac_try) 2>&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); }; }; then
13442 eval "$as_ac_var=yes"
13444 echo "$as_me: failed program was:" >&5
13445 sed 's/^/| /' conftest.
$ac_ext >&5
13447 eval "$as_ac_var=no"
13449 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13453 if test `eval echo '${'$as_ac_var'}'` = yes; then
13454 cat >>confdefs.h
<<_ACEOF
13455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13465 for ac_header
in stdlib.h
13467 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13469 echo "$as_me:$LINENO: checking for $ac_header" >&5
13470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13472 echo $ECHO_N "(cached) $ECHO_C" >&6
13474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13477 # Is the header compilable?
13478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13480 cat >conftest.
$ac_ext <<_ACEOF
13481 #line $LINENO "configure"
13484 cat confdefs.h
>>conftest.
$ac_ext
13485 cat >>conftest.
$ac_ext <<_ACEOF
13486 /* end confdefs.h. */
13487 $ac_includes_default
13488 #include <$ac_header>
13490 rm -f conftest.
$ac_objext
13491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13492 (eval $ac_compile) 2>&5
13494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); } &&
13496 { ac_try
='test -s conftest.$ac_objext'
13497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13498 (eval $ac_try) 2>&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); }; }; then
13502 ac_header_compiler
=yes
13504 echo "$as_me: failed program was:" >&5
13505 sed 's/^/| /' conftest.
$ac_ext >&5
13507 ac_header_compiler
=no
13509 rm -f conftest.
$ac_objext conftest.
$ac_ext
13510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13511 echo "${ECHO_T}$ac_header_compiler" >&6
13513 # Is the header present?
13514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13516 cat >conftest.
$ac_ext <<_ACEOF
13517 #line $LINENO "configure"
13520 cat confdefs.h
>>conftest.
$ac_ext
13521 cat >>conftest.
$ac_ext <<_ACEOF
13522 /* end confdefs.h. */
13523 #include <$ac_header>
13525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13528 grep -v '^ *+' conftest.er1
>conftest.err
13530 cat conftest.err
>&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); } >/dev
/null
; then
13533 if test -s conftest.err
; then
13534 ac_cpp_err
=$ac_c_preproc_warn_flag
13541 if test -z "$ac_cpp_err"; then
13542 ac_header_preproc
=yes
13544 echo "$as_me: failed program was:" >&5
13545 sed 's/^/| /' conftest.
$ac_ext >&5
13547 ac_header_preproc
=no
13549 rm -f conftest.err conftest.
$ac_ext
13550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13551 echo "${ECHO_T}$ac_header_preproc" >&6
13553 # So? What about this header?
13554 case $ac_header_compiler:$ac_header_preproc in
13556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13562 ## ------------------------------------ ##
13563 ## Report this to bug-autoconf@gnu.org. ##
13564 ## ------------------------------------ ##
13567 sed "s/^/$as_me: WARNING: /" >&2
13570 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13572 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13573 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13578 ## ------------------------------------ ##
13579 ## Report this to bug-autoconf@gnu.org. ##
13580 ## ------------------------------------ ##
13583 sed "s/^/$as_me: WARNING: /" >&2
13586 echo "$as_me:$LINENO: checking for $ac_header" >&5
13587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13589 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 eval "$as_ac_Header=$ac_header_preproc"
13593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13598 cat >>confdefs.h
<<_ACEOF
13599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13611 for ac_header
in locale.h
13613 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13615 echo "$as_me:$LINENO: checking for $ac_header" >&5
13616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13623 # Is the header compilable?
13624 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13625 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13626 cat >conftest.
$ac_ext <<_ACEOF
13627 #line $LINENO "configure"
13630 cat confdefs.h
>>conftest.
$ac_ext
13631 cat >>conftest.
$ac_ext <<_ACEOF
13632 /* end confdefs.h. */
13633 $ac_includes_default
13634 #include <$ac_header>
13636 rm -f conftest.
$ac_objext
13637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13638 (eval $ac_compile) 2>&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); } &&
13642 { ac_try
='test -s conftest.$ac_objext'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; }; then
13648 ac_header_compiler
=yes
13650 echo "$as_me: failed program was:" >&5
13651 sed 's/^/| /' conftest.
$ac_ext >&5
13653 ac_header_compiler
=no
13655 rm -f conftest.
$ac_objext conftest.
$ac_ext
13656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13657 echo "${ECHO_T}$ac_header_compiler" >&6
13659 # Is the header present?
13660 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13662 cat >conftest.
$ac_ext <<_ACEOF
13663 #line $LINENO "configure"
13666 cat confdefs.h
>>conftest.
$ac_ext
13667 cat >>conftest.
$ac_ext <<_ACEOF
13668 /* end confdefs.h. */
13669 #include <$ac_header>
13671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13674 grep -v '^ *+' conftest.er1
>conftest.err
13676 cat conftest.err
>&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); } >/dev
/null
; then
13679 if test -s conftest.err
; then
13680 ac_cpp_err
=$ac_c_preproc_warn_flag
13687 if test -z "$ac_cpp_err"; then
13688 ac_header_preproc
=yes
13690 echo "$as_me: failed program was:" >&5
13691 sed 's/^/| /' conftest.
$ac_ext >&5
13693 ac_header_preproc
=no
13695 rm -f conftest.err conftest.
$ac_ext
13696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13697 echo "${ECHO_T}$ac_header_preproc" >&6
13699 # So? What about this header?
13700 case $ac_header_compiler:$ac_header_preproc in
13702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13708 ## ------------------------------------ ##
13709 ## Report this to bug-autoconf@gnu.org. ##
13710 ## ------------------------------------ ##
13713 sed "s/^/$as_me: WARNING: /" >&2
13716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13724 ## ------------------------------------ ##
13725 ## Report this to bug-autoconf@gnu.org. ##
13726 ## ------------------------------------ ##
13729 sed "s/^/$as_me: WARNING: /" >&2
13732 echo "$as_me:$LINENO: checking for $ac_header" >&5
13733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13735 echo $ECHO_N "(cached) $ECHO_C" >&6
13737 eval "$as_ac_Header=$ac_header_preproc"
13739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13744 cat >>confdefs.h
<<_ACEOF
13745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13752 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
13753 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
13754 if test "${ac_cv_have_decl_getenv+set}" = set; then
13755 echo $ECHO_N "(cached) $ECHO_C" >&6
13757 cat >conftest.
$ac_ext <<_ACEOF
13758 #line $LINENO "configure"
13761 cat confdefs.h
>>conftest.
$ac_ext
13762 cat >>conftest.
$ac_ext <<_ACEOF
13763 /* end confdefs.h. */
13764 $ac_includes_default
13769 char *p = (char *) getenv;
13776 rm -f conftest.
$ac_objext
13777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13778 (eval $ac_compile) 2>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); } &&
13782 { ac_try
='test -s conftest.$ac_objext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_cv_have_decl_getenv
=yes
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.
$ac_ext >&5
13793 ac_cv_have_decl_getenv
=no
13795 rm -f conftest.
$ac_objext conftest.
$ac_ext
13797 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
13798 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
13799 if test $ac_cv_have_decl_getenv = yes; then
13801 cat >>confdefs.h
<<_ACEOF
13802 #define HAVE_DECL_GETENV 1
13807 cat >>confdefs.h
<<_ACEOF
13808 #define HAVE_DECL_GETENV 0
13816 for ac_func
in localeconv
13818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13819 echo "$as_me:$LINENO: checking for $ac_func" >&5
13820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13821 if eval "test \"\${$as_ac_var+set}\" = set"; then
13822 echo $ECHO_N "(cached) $ECHO_C" >&6
13824 cat >conftest.
$ac_ext <<_ACEOF
13825 #line $LINENO "configure"
13828 cat confdefs.h
>>conftest.
$ac_ext
13829 cat >>conftest.
$ac_ext <<_ACEOF
13830 /* end confdefs.h. */
13831 /* System header to define __stub macros and hopefully few prototypes,
13832 which can conflict with char $ac_func (); below.
13833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13834 <limits.h> exists even on freestanding compilers. */
13836 # include <limits.h>
13838 # include <assert.h>
13840 /* Override any gcc2 internal prototype to avoid an error. */
13845 /* We use char because int might match the return type of a gcc2
13846 builtin and then its argument prototype would still apply. */
13848 /* The GNU C library defines this for functions which it implements
13849 to always fail with ENOSYS. Some functions are actually named
13850 something starting with __ and the normal name is an alias. */
13851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13854 char (*f) () = $ac_func;
13863 return f != $ac_func;
13868 rm -f conftest.
$ac_objext conftest
$ac_exeext
13869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13870 (eval $ac_link) 2>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); } &&
13874 { ac_try
='test -s conftest$ac_exeext'
13875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13876 (eval $ac_try) 2>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); }; }; then
13880 eval "$as_ac_var=yes"
13882 echo "$as_me: failed program was:" >&5
13883 sed 's/^/| /' conftest.
$ac_ext >&5
13885 eval "$as_ac_var=no"
13887 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13891 if test `eval echo '${'$as_ac_var'}'` = yes; then
13892 cat >>confdefs.h
<<_ACEOF
13893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13909 for ac_header
in limits.h stdlib.h string.h wchar.h wctype.h
13911 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13913 echo "$as_me:$LINENO: checking for $ac_header" >&5
13914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13916 echo $ECHO_N "(cached) $ECHO_C" >&6
13918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13921 # Is the header compilable?
13922 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13923 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13924 cat >conftest.
$ac_ext <<_ACEOF
13925 #line $LINENO "configure"
13928 cat confdefs.h
>>conftest.
$ac_ext
13929 cat >>conftest.
$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 $ac_includes_default
13932 #include <$ac_header>
13934 rm -f conftest.
$ac_objext
13935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13936 (eval $ac_compile) 2>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); } &&
13940 { ac_try
='test -s conftest.$ac_objext'
13941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13942 (eval $ac_try) 2>&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); }; }; then
13946 ac_header_compiler
=yes
13948 echo "$as_me: failed program was:" >&5
13949 sed 's/^/| /' conftest.
$ac_ext >&5
13951 ac_header_compiler
=no
13953 rm -f conftest.
$ac_objext conftest.
$ac_ext
13954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13955 echo "${ECHO_T}$ac_header_compiler" >&6
13957 # Is the header present?
13958 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13959 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13960 cat >conftest.
$ac_ext <<_ACEOF
13961 #line $LINENO "configure"
13964 cat confdefs.h
>>conftest.
$ac_ext
13965 cat >>conftest.
$ac_ext <<_ACEOF
13966 /* end confdefs.h. */
13967 #include <$ac_header>
13969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13972 grep -v '^ *+' conftest.er1
>conftest.err
13974 cat conftest.err
>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } >/dev
/null
; then
13977 if test -s conftest.err
; then
13978 ac_cpp_err
=$ac_c_preproc_warn_flag
13985 if test -z "$ac_cpp_err"; then
13986 ac_header_preproc
=yes
13988 echo "$as_me: failed program was:" >&5
13989 sed 's/^/| /' conftest.
$ac_ext >&5
13991 ac_header_preproc
=no
13993 rm -f conftest.err conftest.
$ac_ext
13994 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13995 echo "${ECHO_T}$ac_header_preproc" >&6
13997 # So? What about this header?
13998 case $ac_header_compiler:$ac_header_preproc in
14000 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14001 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14006 ## ------------------------------------ ##
14007 ## Report this to bug-autoconf@gnu.org. ##
14008 ## ------------------------------------ ##
14011 sed "s/^/$as_me: WARNING: /" >&2
14014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14016 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14017 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14022 ## ------------------------------------ ##
14023 ## Report this to bug-autoconf@gnu.org. ##
14024 ## ------------------------------------ ##
14027 sed "s/^/$as_me: WARNING: /" >&2
14030 echo "$as_me:$LINENO: checking for $ac_header" >&5
14031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 eval "$as_ac_Header=$ac_header_preproc"
14037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14042 cat >>confdefs.h
<<_ACEOF
14043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14055 for ac_func
in isascii iswcntrl iswprint mbsinit wcwidth
14057 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14058 echo "$as_me:$LINENO: checking for $ac_func" >&5
14059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14060 if eval "test \"\${$as_ac_var+set}\" = set"; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 cat >conftest.
$ac_ext <<_ACEOF
14064 #line $LINENO "configure"
14067 cat confdefs.h
>>conftest.
$ac_ext
14068 cat >>conftest.
$ac_ext <<_ACEOF
14069 /* end confdefs.h. */
14070 /* System header to define __stub macros and hopefully few prototypes,
14071 which can conflict with char $ac_func (); below.
14072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14073 <limits.h> exists even on freestanding compilers. */
14075 # include <limits.h>
14077 # include <assert.h>
14079 /* Override any gcc2 internal prototype to avoid an error. */
14084 /* We use char because int might match the return type of a gcc2
14085 builtin and then its argument prototype would still apply. */
14087 /* The GNU C library defines this for functions which it implements
14088 to always fail with ENOSYS. Some functions are actually named
14089 something starting with __ and the normal name is an alias. */
14090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14093 char (*f) () = $ac_func;
14102 return f != $ac_func;
14107 rm -f conftest.
$ac_objext conftest
$ac_exeext
14108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14109 (eval $ac_link) 2>&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } &&
14113 { ac_try
='test -s conftest$ac_exeext'
14114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14115 (eval $ac_try) 2>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; }; then
14119 eval "$as_ac_var=yes"
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.
$ac_ext >&5
14124 eval "$as_ac_var=no"
14126 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14130 if test `eval echo '${'$as_ac_var'}'` = yes; then
14131 cat >>confdefs.h
<<_ACEOF
14132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14139 echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
14140 echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6
14141 if test "${jm_cv_func_mbrtowc+set}" = set; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14144 cat >conftest.
$ac_ext <<_ACEOF
14145 #line $LINENO "configure"
14148 cat confdefs.h
>>conftest.
$ac_ext
14149 cat >>conftest.
$ac_ext <<_ACEOF
14150 /* end confdefs.h. */
14155 mbstate_t state; return ! (sizeof state && mbrtowc);
14160 rm -f conftest.
$ac_objext conftest
$ac_exeext
14161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14162 (eval $ac_link) 2>&5
14164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14165 (exit $ac_status); } &&
14166 { ac_try
='test -s conftest$ac_exeext'
14167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168 (eval $ac_try) 2>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); }; }; then
14172 jm_cv_func_mbrtowc
=yes
14174 echo "$as_me: failed program was:" >&5
14175 sed 's/^/| /' conftest.
$ac_ext >&5
14177 jm_cv_func_mbrtowc
=no
14179 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14181 echo "$as_me:$LINENO: result: $jm_cv_func_mbrtowc" >&5
14182 echo "${ECHO_T}$jm_cv_func_mbrtowc" >&6
14183 if test $jm_cv_func_mbrtowc = yes; then
14185 cat >>confdefs.h
<<\_ACEOF
14186 #define HAVE_MBRTOWC 1
14192 echo "$as_me:$LINENO: checking whether wcwidth is declared" >&5
14193 echo $ECHO_N "checking whether wcwidth is declared... $ECHO_C" >&6
14194 if test "${ac_cv_have_decl_wcwidth+set}" = set; then
14195 echo $ECHO_N "(cached) $ECHO_C" >&6
14197 cat >conftest.
$ac_ext <<_ACEOF
14198 #line $LINENO "configure"
14201 cat confdefs.h
>>conftest.
$ac_ext
14202 cat >>conftest.
$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14205 /* AIX 3.2.5 declares wcwidth in <string.h>. */
14207 # include <string.h>
14210 # include <wchar.h>
14218 char *p = (char *) wcwidth;
14225 rm -f conftest.
$ac_objext
14226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14227 (eval $ac_compile) 2>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } &&
14231 { ac_try
='test -s conftest.$ac_objext'
14232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14233 (eval $ac_try) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; }; then
14237 ac_cv_have_decl_wcwidth
=yes
14239 echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.
$ac_ext >&5
14242 ac_cv_have_decl_wcwidth
=no
14244 rm -f conftest.
$ac_objext conftest.
$ac_ext
14246 echo "$as_me:$LINENO: result: $ac_cv_have_decl_wcwidth" >&5
14247 echo "${ECHO_T}$ac_cv_have_decl_wcwidth" >&6
14248 if test $ac_cv_have_decl_wcwidth = yes; then
14254 cat >>confdefs.h
<<_ACEOF
14255 #define HAVE_DECL_WCWIDTH $ac_val
14259 echo "$as_me:$LINENO: checking for mbstate_t" >&5
14260 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
14261 if test "${ac_cv_type_mbstate_t+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14264 cat >conftest.
$ac_ext <<_ACEOF
14265 #line $LINENO "configure"
14268 cat confdefs.h
>>conftest.
$ac_ext
14269 cat >>conftest.
$ac_ext <<_ACEOF
14270 /* end confdefs.h. */
14271 $ac_includes_default
14272 # include <wchar.h>
14276 mbstate_t x; return sizeof x;
14281 rm -f conftest.
$ac_objext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14283 (eval $ac_compile) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } &&
14287 { ac_try
='test -s conftest.$ac_objext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 ac_cv_type_mbstate_t
=yes
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.
$ac_ext >&5
14298 ac_cv_type_mbstate_t
=no
14300 rm -f conftest.
$ac_objext conftest.
$ac_ext
14302 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
14303 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
14304 if test $ac_cv_type_mbstate_t = yes; then
14306 cat >>confdefs.h
<<\_ACEOF
14307 #define HAVE_MBSTATE_T 1
14312 cat >>confdefs.h
<<\_ACEOF
14313 #define mbstate_t int
14322 for ac_header
in limits.h stdlib.h bp-sym.h
14324 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14326 echo "$as_me:$LINENO: checking for $ac_header" >&5
14327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14329 echo $ECHO_N "(cached) $ECHO_C" >&6
14331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14334 # Is the header compilable?
14335 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14336 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14337 cat >conftest.
$ac_ext <<_ACEOF
14338 #line $LINENO "configure"
14341 cat confdefs.h
>>conftest.
$ac_ext
14342 cat >>conftest.
$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14344 $ac_includes_default
14345 #include <$ac_header>
14347 rm -f conftest.
$ac_objext
14348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14349 (eval $ac_compile) 2>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); } &&
14353 { ac_try
='test -s conftest.$ac_objext'
14354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14355 (eval $ac_try) 2>&5
14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); }; }; then
14359 ac_header_compiler
=yes
14361 echo "$as_me: failed program was:" >&5
14362 sed 's/^/| /' conftest.
$ac_ext >&5
14364 ac_header_compiler
=no
14366 rm -f conftest.
$ac_objext conftest.
$ac_ext
14367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14368 echo "${ECHO_T}$ac_header_compiler" >&6
14370 # Is the header present?
14371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14373 cat >conftest.
$ac_ext <<_ACEOF
14374 #line $LINENO "configure"
14377 cat confdefs.h
>>conftest.
$ac_ext
14378 cat >>conftest.
$ac_ext <<_ACEOF
14379 /* end confdefs.h. */
14380 #include <$ac_header>
14382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14383 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14385 grep -v '^ *+' conftest.er1
>conftest.err
14387 cat conftest.err
>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); } >/dev
/null
; then
14390 if test -s conftest.err
; then
14391 ac_cpp_err
=$ac_c_preproc_warn_flag
14398 if test -z "$ac_cpp_err"; then
14399 ac_header_preproc
=yes
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.
$ac_ext >&5
14404 ac_header_preproc
=no
14406 rm -f conftest.err conftest.
$ac_ext
14407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14408 echo "${ECHO_T}$ac_header_preproc" >&6
14410 # So? What about this header?
14411 case $ac_header_compiler:$ac_header_preproc in
14413 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14416 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14419 ## ------------------------------------ ##
14420 ## Report this to bug-autoconf@gnu.org. ##
14421 ## ------------------------------------ ##
14424 sed "s/^/$as_me: WARNING: /" >&2
14427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14435 ## ------------------------------------ ##
14436 ## Report this to bug-autoconf@gnu.org. ##
14437 ## ------------------------------------ ##
14440 sed "s/^/$as_me: WARNING: /" >&2
14443 echo "$as_me:$LINENO: checking for $ac_header" >&5
14444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14446 echo $ECHO_N "(cached) $ECHO_C" >&6
14448 eval "$as_ac_Header=$ac_header_preproc"
14450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14455 cat >>confdefs.h
<<_ACEOF
14456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14464 echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
14465 echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
14466 if test "${gl_cv_var__system_configuration+set}" = set; then
14467 echo $ECHO_N "(cached) $ECHO_C" >&6
14469 cat >conftest.
$ac_ext <<_ACEOF
14470 #line $LINENO "configure"
14473 cat confdefs.h
>>conftest.
$ac_ext
14474 cat >>conftest.
$ac_ext <<_ACEOF
14475 /* end confdefs.h. */
14476 #include <sys/systemcfg.h>
14481 double x = _system_configuration.physmem;
14486 rm -f conftest.
$ac_objext conftest
$ac_exeext
14487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14488 (eval $ac_link) 2>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); } &&
14492 { ac_try
='test -s conftest$ac_exeext'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; }; then
14498 gl_cv_var__system_configuration
=yes
14500 echo "$as_me: failed program was:" >&5
14501 sed 's/^/| /' conftest.
$ac_ext >&5
14503 gl_cv_var__system_configuration
=no
14505 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14507 echo "$as_me:$LINENO: result: $gl_cv_var__system_configuration" >&5
14508 echo "${ECHO_T}$gl_cv_var__system_configuration" >&6
14510 if test $gl_cv_var__system_configuration = yes; then
14512 cat >>confdefs.h
<<\_ACEOF
14513 #define HAVE__SYSTEM_CONFIGURATION 1
14529 for ac_header
in unistd.h sys
/pstat.h sys
/sysmp.h sys
/sysinfo.h \
14530 machine
/hal_sysinfo.h sys
/table.h sys
/param.h sys
/sysctl.h \
14533 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14535 echo "$as_me:$LINENO: checking for $ac_header" >&5
14536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14538 echo $ECHO_N "(cached) $ECHO_C" >&6
14540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14543 # Is the header compilable?
14544 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14546 cat >conftest.
$ac_ext <<_ACEOF
14547 #line $LINENO "configure"
14550 cat confdefs.h
>>conftest.
$ac_ext
14551 cat >>conftest.
$ac_ext <<_ACEOF
14552 /* end confdefs.h. */
14553 $ac_includes_default
14554 #include <$ac_header>
14556 rm -f conftest.
$ac_objext
14557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14558 (eval $ac_compile) 2>&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); } &&
14562 { ac_try
='test -s conftest.$ac_objext'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; }; then
14568 ac_header_compiler
=yes
14570 echo "$as_me: failed program was:" >&5
14571 sed 's/^/| /' conftest.
$ac_ext >&5
14573 ac_header_compiler
=no
14575 rm -f conftest.
$ac_objext conftest.
$ac_ext
14576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14577 echo "${ECHO_T}$ac_header_compiler" >&6
14579 # Is the header present?
14580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14582 cat >conftest.
$ac_ext <<_ACEOF
14583 #line $LINENO "configure"
14586 cat confdefs.h
>>conftest.
$ac_ext
14587 cat >>conftest.
$ac_ext <<_ACEOF
14588 /* end confdefs.h. */
14589 #include <$ac_header>
14591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14592 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14594 grep -v '^ *+' conftest.er1
>conftest.err
14596 cat conftest.err
>&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } >/dev
/null
; then
14599 if test -s conftest.err
; then
14600 ac_cpp_err
=$ac_c_preproc_warn_flag
14607 if test -z "$ac_cpp_err"; then
14608 ac_header_preproc
=yes
14610 echo "$as_me: failed program was:" >&5
14611 sed 's/^/| /' conftest.
$ac_ext >&5
14613 ac_header_preproc
=no
14615 rm -f conftest.err conftest.
$ac_ext
14616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14617 echo "${ECHO_T}$ac_header_preproc" >&6
14619 # So? What about this header?
14620 case $ac_header_compiler:$ac_header_preproc in
14622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14628 ## ------------------------------------ ##
14629 ## Report this to bug-autoconf@gnu.org. ##
14630 ## ------------------------------------ ##
14633 sed "s/^/$as_me: WARNING: /" >&2
14636 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14637 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14638 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14639 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14644 ## ------------------------------------ ##
14645 ## Report this to bug-autoconf@gnu.org. ##
14646 ## ------------------------------------ ##
14649 sed "s/^/$as_me: WARNING: /" >&2
14652 echo "$as_me:$LINENO: checking for $ac_header" >&5
14653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14655 echo $ECHO_N "(cached) $ECHO_C" >&6
14657 eval "$as_ac_Header=$ac_header_preproc"
14659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14664 cat >>confdefs.h
<<_ACEOF
14665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14678 for ac_func
in pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table
14680 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14681 echo "$as_me:$LINENO: checking for $ac_func" >&5
14682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14683 if eval "test \"\${$as_ac_var+set}\" = set"; then
14684 echo $ECHO_N "(cached) $ECHO_C" >&6
14686 cat >conftest.
$ac_ext <<_ACEOF
14687 #line $LINENO "configure"
14690 cat confdefs.h
>>conftest.
$ac_ext
14691 cat >>conftest.
$ac_ext <<_ACEOF
14692 /* end confdefs.h. */
14693 /* System header to define __stub macros and hopefully few prototypes,
14694 which can conflict with char $ac_func (); below.
14695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14696 <limits.h> exists even on freestanding compilers. */
14698 # include <limits.h>
14700 # include <assert.h>
14702 /* Override any gcc2 internal prototype to avoid an error. */
14707 /* We use char because int might match the return type of a gcc2
14708 builtin and then its argument prototype would still apply. */
14710 /* The GNU C library defines this for functions which it implements
14711 to always fail with ENOSYS. Some functions are actually named
14712 something starting with __ and the normal name is an alias. */
14713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14716 char (*f) () = $ac_func;
14725 return f != $ac_func;
14730 rm -f conftest.
$ac_objext conftest
$ac_exeext
14731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14732 (eval $ac_link) 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try
='test -s conftest$ac_exeext'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14742 eval "$as_ac_var=yes"
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.
$ac_ext >&5
14747 eval "$as_ac_var=no"
14749 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14753 if test `eval echo '${'$as_ac_var'}'` = yes; then
14754 cat >>confdefs.h
<<_ACEOF
14755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14766 for ac_header
in unistd.h
14768 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14770 echo "$as_me:$LINENO: checking for $ac_header" >&5
14771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14778 # Is the header compilable?
14779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14781 cat >conftest.
$ac_ext <<_ACEOF
14782 #line $LINENO "configure"
14785 cat confdefs.h
>>conftest.
$ac_ext
14786 cat >>conftest.
$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14788 $ac_includes_default
14789 #include <$ac_header>
14791 rm -f conftest.
$ac_objext
14792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14793 (eval $ac_compile) 2>&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); } &&
14797 { ac_try
='test -s conftest.$ac_objext'
14798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14799 (eval $ac_try) 2>&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); }; }; then
14803 ac_header_compiler
=yes
14805 echo "$as_me: failed program was:" >&5
14806 sed 's/^/| /' conftest.
$ac_ext >&5
14808 ac_header_compiler
=no
14810 rm -f conftest.
$ac_objext conftest.
$ac_ext
14811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14812 echo "${ECHO_T}$ac_header_compiler" >&6
14814 # Is the header present?
14815 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14817 cat >conftest.
$ac_ext <<_ACEOF
14818 #line $LINENO "configure"
14821 cat confdefs.h
>>conftest.
$ac_ext
14822 cat >>conftest.
$ac_ext <<_ACEOF
14823 /* end confdefs.h. */
14824 #include <$ac_header>
14826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14827 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14829 grep -v '^ *+' conftest.er1
>conftest.err
14831 cat conftest.err
>&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); } >/dev
/null
; then
14834 if test -s conftest.err
; then
14835 ac_cpp_err
=$ac_c_preproc_warn_flag
14842 if test -z "$ac_cpp_err"; then
14843 ac_header_preproc
=yes
14845 echo "$as_me: failed program was:" >&5
14846 sed 's/^/| /' conftest.
$ac_ext >&5
14848 ac_header_preproc
=no
14850 rm -f conftest.err conftest.
$ac_ext
14851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14852 echo "${ECHO_T}$ac_header_preproc" >&6
14854 # So? What about this header?
14855 case $ac_header_compiler:$ac_header_preproc in
14857 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14863 ## ------------------------------------ ##
14864 ## Report this to bug-autoconf@gnu.org. ##
14865 ## ------------------------------------ ##
14868 sed "s/^/$as_me: WARNING: /" >&2
14871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14879 ## ------------------------------------ ##
14880 ## Report this to bug-autoconf@gnu.org. ##
14881 ## ------------------------------------ ##
14884 sed "s/^/$as_me: WARNING: /" >&2
14887 echo "$as_me:$LINENO: checking for $ac_header" >&5
14888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14890 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 eval "$as_ac_Header=$ac_header_preproc"
14894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14899 cat >>confdefs.h
<<_ACEOF
14900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14907 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
14908 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
14909 if test "${ac_cv_have_decl_getenv+set}" = set; then
14910 echo $ECHO_N "(cached) $ECHO_C" >&6
14912 cat >conftest.
$ac_ext <<_ACEOF
14913 #line $LINENO "configure"
14916 cat confdefs.h
>>conftest.
$ac_ext
14917 cat >>conftest.
$ac_ext <<_ACEOF
14918 /* end confdefs.h. */
14919 $ac_includes_default
14924 char *p = (char *) getenv;
14931 rm -f conftest.
$ac_objext
14932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14933 (eval $ac_compile) 2>&5
14935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14936 (exit $ac_status); } &&
14937 { ac_try
='test -s conftest.$ac_objext'
14938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14939 (eval $ac_try) 2>&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); }; }; then
14943 ac_cv_have_decl_getenv
=yes
14945 echo "$as_me: failed program was:" >&5
14946 sed 's/^/| /' conftest.
$ac_ext >&5
14948 ac_cv_have_decl_getenv
=no
14950 rm -f conftest.
$ac_objext conftest.
$ac_ext
14952 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
14953 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
14954 if test $ac_cv_have_decl_getenv = yes; then
14956 cat >>confdefs.h
<<_ACEOF
14957 #define HAVE_DECL_GETENV 1
14962 cat >>confdefs.h
<<_ACEOF
14963 #define HAVE_DECL_GETENV 0
14971 echo "$as_me:$LINENO: checking for working memcmp" >&5
14972 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
14973 if test "${ac_cv_func_memcmp_working+set}" = set; then
14974 echo $ECHO_N "(cached) $ECHO_C" >&6
14976 if test "$cross_compiling" = yes; then
14977 ac_cv_func_memcmp_working
=no
14979 cat >conftest.
$ac_ext <<_ACEOF
14980 #line $LINENO "configure"
14983 cat confdefs.h
>>conftest.
$ac_ext
14984 cat >>conftest.
$ac_ext <<_ACEOF
14985 /* end confdefs.h. */
14991 /* Some versions of memcmp are not 8-bit clean. */
14992 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
14993 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
14996 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
14997 or more and with at least one buffer not starting on a 4-byte boundary.
14998 William Lewis provided this test program. */
15003 for (i = 0; i < 4; i++)
15007 strcpy (a, "--------01111111");
15008 strcpy (b, "--------10000000");
15009 if (memcmp (a, b, 16) >= 0)
15019 rm -f conftest
$ac_exeext
15020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15021 (eval $ac_link) 2>&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15026 (eval $ac_try) 2>&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); }; }; then
15030 ac_cv_func_memcmp_working
=yes
15032 echo "$as_me: program exited with status $ac_status" >&5
15033 echo "$as_me: failed program was:" >&5
15034 sed 's/^/| /' conftest.
$ac_ext >&5
15036 ( exit $ac_status )
15037 ac_cv_func_memcmp_working
=no
15039 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15042 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
15043 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
15044 test $ac_cv_func_memcmp_working = no
&& LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
15046 if test $ac_cv_func_memcmp_working = no
; then
15048 cat >>confdefs.h
<<\_ACEOF
15049 #define memcmp rpl_memcmp
15055 echo "$as_me:$LINENO: checking whether backslash-a works in strings" >&5
15056 echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
15057 if test "${ac_cv_c_backslash_a+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 cat >conftest.
$ac_ext <<_ACEOF
15061 #line $LINENO "configure"
15064 cat confdefs.h
>>conftest.
$ac_ext
15065 cat >>conftest.
$ac_ext <<_ACEOF
15066 /* end confdefs.h. */
15075 char buf['\a' == 'a' ? -1 : 1];
15077 return buf[0] != "\a"[0];
15083 rm -f conftest.
$ac_objext
15084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15085 (eval $ac_compile) 2>&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); } &&
15089 { ac_try
='test -s conftest.$ac_objext'
15090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091 (eval $ac_try) 2>&5
15093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094 (exit $ac_status); }; }; then
15095 ac_cv_c_backslash_a
=yes
15097 echo "$as_me: failed program was:" >&5
15098 sed 's/^/| /' conftest.
$ac_ext >&5
15100 ac_cv_c_backslash_a
=no
15102 rm -f conftest.
$ac_objext conftest.
$ac_ext
15104 echo "$as_me:$LINENO: result: $ac_cv_c_backslash_a" >&5
15105 echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
15106 if test $ac_cv_c_backslash_a = yes; then
15108 cat >>confdefs.h
<<\_ACEOF
15109 #define HAVE_C_BACKSLASH_A 1
15117 for ac_func
in isascii iswprint
15119 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15120 echo "$as_me:$LINENO: checking for $ac_func" >&5
15121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15122 if eval "test \"\${$as_ac_var+set}\" = set"; then
15123 echo $ECHO_N "(cached) $ECHO_C" >&6
15125 cat >conftest.
$ac_ext <<_ACEOF
15126 #line $LINENO "configure"
15129 cat confdefs.h
>>conftest.
$ac_ext
15130 cat >>conftest.
$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15132 /* System header to define __stub macros and hopefully few prototypes,
15133 which can conflict with char $ac_func (); below.
15134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15135 <limits.h> exists even on freestanding compilers. */
15137 # include <limits.h>
15139 # include <assert.h>
15141 /* Override any gcc2 internal prototype to avoid an error. */
15146 /* We use char because int might match the return type of a gcc2
15147 builtin and then its argument prototype would still apply. */
15149 /* The GNU C library defines this for functions which it implements
15150 to always fail with ENOSYS. Some functions are actually named
15151 something starting with __ and the normal name is an alias. */
15152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15155 char (*f) () = $ac_func;
15164 return f != $ac_func;
15169 rm -f conftest.
$ac_objext conftest
$ac_exeext
15170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15171 (eval $ac_link) 2>&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } &&
15175 { ac_try
='test -s conftest$ac_exeext'
15176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15177 (eval $ac_try) 2>&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); }; }; then
15181 eval "$as_ac_var=yes"
15183 echo "$as_me: failed program was:" >&5
15184 sed 's/^/| /' conftest.
$ac_ext >&5
15186 eval "$as_ac_var=no"
15188 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15192 if test `eval echo '${'$as_ac_var'}'` = yes; then
15193 cat >>confdefs.h
<<_ACEOF
15194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15208 for ac_header
in limits.h stddef.h stdlib.h string.h wchar.h wctype.h
15210 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15212 echo "$as_me:$LINENO: checking for $ac_header" >&5
15213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15215 echo $ECHO_N "(cached) $ECHO_C" >&6
15217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15220 # Is the header compilable?
15221 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15223 cat >conftest.
$ac_ext <<_ACEOF
15224 #line $LINENO "configure"
15227 cat confdefs.h
>>conftest.
$ac_ext
15228 cat >>conftest.
$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15230 $ac_includes_default
15231 #include <$ac_header>
15233 rm -f conftest.
$ac_objext
15234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15235 (eval $ac_compile) 2>&5
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); } &&
15239 { ac_try
='test -s conftest.$ac_objext'
15240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15241 (eval $ac_try) 2>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); }; }; then
15245 ac_header_compiler
=yes
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.
$ac_ext >&5
15250 ac_header_compiler
=no
15252 rm -f conftest.
$ac_objext conftest.
$ac_ext
15253 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15254 echo "${ECHO_T}$ac_header_compiler" >&6
15256 # Is the header present?
15257 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15258 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15259 cat >conftest.
$ac_ext <<_ACEOF
15260 #line $LINENO "configure"
15263 cat confdefs.h
>>conftest.
$ac_ext
15264 cat >>conftest.
$ac_ext <<_ACEOF
15265 /* end confdefs.h. */
15266 #include <$ac_header>
15268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15269 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15271 grep -v '^ *+' conftest.er1
>conftest.err
15273 cat conftest.err
>&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); } >/dev
/null
; then
15276 if test -s conftest.err
; then
15277 ac_cpp_err
=$ac_c_preproc_warn_flag
15284 if test -z "$ac_cpp_err"; then
15285 ac_header_preproc
=yes
15287 echo "$as_me: failed program was:" >&5
15288 sed 's/^/| /' conftest.
$ac_ext >&5
15290 ac_header_preproc
=no
15292 rm -f conftest.err conftest.
$ac_ext
15293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15294 echo "${ECHO_T}$ac_header_preproc" >&6
15296 # So? What about this header?
15297 case $ac_header_compiler:$ac_header_preproc in
15299 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15300 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15302 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15305 ## ------------------------------------ ##
15306 ## Report this to bug-autoconf@gnu.org. ##
15307 ## ------------------------------------ ##
15310 sed "s/^/$as_me: WARNING: /" >&2
15313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15321 ## ------------------------------------ ##
15322 ## Report this to bug-autoconf@gnu.org. ##
15323 ## ------------------------------------ ##
15326 sed "s/^/$as_me: WARNING: /" >&2
15329 echo "$as_me:$LINENO: checking for $ac_header" >&5
15330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15332 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 eval "$as_ac_Header=$ac_header_preproc"
15336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15341 cat >>confdefs.h
<<_ACEOF
15342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15360 for ac_header
in string.h utmp.h utmpx.h sys
/param.h
15362 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15364 echo "$as_me:$LINENO: checking for $ac_header" >&5
15365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15372 # Is the header compilable?
15373 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15374 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15375 cat >conftest.
$ac_ext <<_ACEOF
15376 #line $LINENO "configure"
15379 cat confdefs.h
>>conftest.
$ac_ext
15380 cat >>conftest.
$ac_ext <<_ACEOF
15381 /* end confdefs.h. */
15382 $ac_includes_default
15383 #include <$ac_header>
15385 rm -f conftest.
$ac_objext
15386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15387 (eval $ac_compile) 2>&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); } &&
15391 { ac_try
='test -s conftest.$ac_objext'
15392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15393 (eval $ac_try) 2>&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); }; }; then
15397 ac_header_compiler
=yes
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.
$ac_ext >&5
15402 ac_header_compiler
=no
15404 rm -f conftest.
$ac_objext conftest.
$ac_ext
15405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15406 echo "${ECHO_T}$ac_header_compiler" >&6
15408 # Is the header present?
15409 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15411 cat >conftest.
$ac_ext <<_ACEOF
15412 #line $LINENO "configure"
15415 cat confdefs.h
>>conftest.
$ac_ext
15416 cat >>conftest.
$ac_ext <<_ACEOF
15417 /* end confdefs.h. */
15418 #include <$ac_header>
15420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15421 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15423 grep -v '^ *+' conftest.er1
>conftest.err
15425 cat conftest.err
>&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } >/dev
/null
; then
15428 if test -s conftest.err
; then
15429 ac_cpp_err
=$ac_c_preproc_warn_flag
15436 if test -z "$ac_cpp_err"; then
15437 ac_header_preproc
=yes
15439 echo "$as_me: failed program was:" >&5
15440 sed 's/^/| /' conftest.
$ac_ext >&5
15442 ac_header_preproc
=no
15444 rm -f conftest.err conftest.
$ac_ext
15445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15446 echo "${ECHO_T}$ac_header_preproc" >&6
15448 # So? What about this header?
15449 case $ac_header_compiler:$ac_header_preproc in
15451 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15457 ## ------------------------------------ ##
15458 ## Report this to bug-autoconf@gnu.org. ##
15459 ## ------------------------------------ ##
15462 sed "s/^/$as_me: WARNING: /" >&2
15465 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15466 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15467 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15468 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15473 ## ------------------------------------ ##
15474 ## Report this to bug-autoconf@gnu.org. ##
15475 ## ------------------------------------ ##
15478 sed "s/^/$as_me: WARNING: /" >&2
15481 echo "$as_me:$LINENO: checking for $ac_header" >&5
15482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15484 echo $ECHO_N "(cached) $ECHO_C" >&6
15486 eval "$as_ac_Header=$ac_header_preproc"
15488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15493 cat >>confdefs.h
<<_ACEOF
15494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15502 for ac_func
in utmpname
15504 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15505 echo "$as_me:$LINENO: checking for $ac_func" >&5
15506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15507 if eval "test \"\${$as_ac_var+set}\" = set"; then
15508 echo $ECHO_N "(cached) $ECHO_C" >&6
15510 cat >conftest.
$ac_ext <<_ACEOF
15511 #line $LINENO "configure"
15514 cat confdefs.h
>>conftest.
$ac_ext
15515 cat >>conftest.
$ac_ext <<_ACEOF
15516 /* end confdefs.h. */
15517 /* System header to define __stub macros and hopefully few prototypes,
15518 which can conflict with char $ac_func (); below.
15519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15520 <limits.h> exists even on freestanding compilers. */
15522 # include <limits.h>
15524 # include <assert.h>
15526 /* Override any gcc2 internal prototype to avoid an error. */
15531 /* We use char because int might match the return type of a gcc2
15532 builtin and then its argument prototype would still apply. */
15534 /* The GNU C library defines this for functions which it implements
15535 to always fail with ENOSYS. Some functions are actually named
15536 something starting with __ and the normal name is an alias. */
15537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15540 char (*f) () = $ac_func;
15549 return f != $ac_func;
15554 rm -f conftest.
$ac_objext conftest
$ac_exeext
15555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15556 (eval $ac_link) 2>&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); } &&
15560 { ac_try
='test -s conftest$ac_exeext'
15561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15562 (eval $ac_try) 2>&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; }; then
15566 eval "$as_ac_var=yes"
15568 echo "$as_me: failed program was:" >&5
15569 sed 's/^/| /' conftest.
$ac_ext >&5
15571 eval "$as_ac_var=no"
15573 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15577 if test `eval echo '${'$as_ac_var'}'` = yes; then
15578 cat >>confdefs.h
<<_ACEOF
15579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15586 for ac_func
in utmpxname
15588 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15589 echo "$as_me:$LINENO: checking for $ac_func" >&5
15590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15591 if eval "test \"\${$as_ac_var+set}\" = set"; then
15592 echo $ECHO_N "(cached) $ECHO_C" >&6
15594 cat >conftest.
$ac_ext <<_ACEOF
15595 #line $LINENO "configure"
15598 cat confdefs.h
>>conftest.
$ac_ext
15599 cat >>conftest.
$ac_ext <<_ACEOF
15600 /* end confdefs.h. */
15601 /* System header to define __stub macros and hopefully few prototypes,
15602 which can conflict with char $ac_func (); below.
15603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15604 <limits.h> exists even on freestanding compilers. */
15606 # include <limits.h>
15608 # include <assert.h>
15610 /* Override any gcc2 internal prototype to avoid an error. */
15615 /* We use char because int might match the return type of a gcc2
15616 builtin and then its argument prototype would still apply. */
15618 /* The GNU C library defines this for functions which it implements
15619 to always fail with ENOSYS. Some functions are actually named
15620 something starting with __ and the normal name is an alias. */
15621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15624 char (*f) () = $ac_func;
15633 return f != $ac_func;
15638 rm -f conftest.
$ac_objext conftest
$ac_exeext
15639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15640 (eval $ac_link) 2>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); } &&
15644 { ac_try
='test -s conftest$ac_exeext'
15645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15646 (eval $ac_try) 2>&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); }; }; then
15650 eval "$as_ac_var=yes"
15652 echo "$as_me: failed program was:" >&5
15653 sed 's/^/| /' conftest.
$ac_ext >&5
15655 eval "$as_ac_var=no"
15657 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15661 if test `eval echo '${'$as_ac_var'}'` = yes; then
15662 cat >>confdefs.h
<<_ACEOF
15663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15671 if test $ac_cv_header_utmp_h = yes ||
test $ac_cv_header_utmpx_h = yes; then
15673 $ac_includes_default
15674 #ifdef HAVE_UTMPX_H
15675 # include <utmpx.h>
15681 echo "$as_me:$LINENO: checking for struct utmpx.ut_user" >&5
15682 echo $ECHO_N "checking for struct utmpx.ut_user... $ECHO_C" >&6
15683 if test "${ac_cv_member_struct_utmpx_ut_user+set}" = set; then
15684 echo $ECHO_N "(cached) $ECHO_C" >&6
15686 cat >conftest.
$ac_ext <<_ACEOF
15687 #line $LINENO "configure"
15690 cat confdefs.h
>>conftest.
$ac_ext
15691 cat >>conftest.
$ac_ext <<_ACEOF
15692 /* end confdefs.h. */
15698 static struct utmpx ac_aggr;
15699 if (ac_aggr.ut_user)
15705 rm -f conftest.
$ac_objext
15706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15707 (eval $ac_compile) 2>&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); } &&
15711 { ac_try
='test -s conftest.$ac_objext'
15712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713 (eval $ac_try) 2>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; }; then
15717 ac_cv_member_struct_utmpx_ut_user
=yes
15719 echo "$as_me: failed program was:" >&5
15720 sed 's/^/| /' conftest.
$ac_ext >&5
15722 cat >conftest.
$ac_ext <<_ACEOF
15723 #line $LINENO "configure"
15726 cat confdefs.h
>>conftest.
$ac_ext
15727 cat >>conftest.
$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15734 static struct utmpx ac_aggr;
15735 if (sizeof ac_aggr.ut_user)
15741 rm -f conftest.
$ac_objext
15742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15743 (eval $ac_compile) 2>&5
15745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746 (exit $ac_status); } &&
15747 { ac_try
='test -s conftest.$ac_objext'
15748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15749 (eval $ac_try) 2>&5
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); }; }; then
15753 ac_cv_member_struct_utmpx_ut_user
=yes
15755 echo "$as_me: failed program was:" >&5
15756 sed 's/^/| /' conftest.
$ac_ext >&5
15758 ac_cv_member_struct_utmpx_ut_user
=no
15760 rm -f conftest.
$ac_objext conftest.
$ac_ext
15762 rm -f conftest.
$ac_objext conftest.
$ac_ext
15764 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_user" >&5
15765 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_user" >&6
15766 if test $ac_cv_member_struct_utmpx_ut_user = yes; then
15768 cat >>confdefs.h
<<_ACEOF
15769 #define HAVE_STRUCT_UTMPX_UT_USER 1
15775 echo "$as_me:$LINENO: checking for struct utmp.ut_user" >&5
15776 echo $ECHO_N "checking for struct utmp.ut_user... $ECHO_C" >&6
15777 if test "${ac_cv_member_struct_utmp_ut_user+set}" = set; then
15778 echo $ECHO_N "(cached) $ECHO_C" >&6
15780 cat >conftest.
$ac_ext <<_ACEOF
15781 #line $LINENO "configure"
15784 cat confdefs.h
>>conftest.
$ac_ext
15785 cat >>conftest.
$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15792 static struct utmp ac_aggr;
15793 if (ac_aggr.ut_user)
15799 rm -f conftest.
$ac_objext
15800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15801 (eval $ac_compile) 2>&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); } &&
15805 { ac_try
='test -s conftest.$ac_objext'
15806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15807 (eval $ac_try) 2>&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); }; }; then
15811 ac_cv_member_struct_utmp_ut_user
=yes
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.
$ac_ext >&5
15816 cat >conftest.
$ac_ext <<_ACEOF
15817 #line $LINENO "configure"
15820 cat confdefs.h
>>conftest.
$ac_ext
15821 cat >>conftest.
$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15828 static struct utmp ac_aggr;
15829 if (sizeof ac_aggr.ut_user)
15835 rm -f conftest.
$ac_objext
15836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15837 (eval $ac_compile) 2>&5
15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); } &&
15841 { ac_try
='test -s conftest.$ac_objext'
15842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15843 (eval $ac_try) 2>&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); }; }; then
15847 ac_cv_member_struct_utmp_ut_user
=yes
15849 echo "$as_me: failed program was:" >&5
15850 sed 's/^/| /' conftest.
$ac_ext >&5
15852 ac_cv_member_struct_utmp_ut_user
=no
15854 rm -f conftest.
$ac_objext conftest.
$ac_ext
15856 rm -f conftest.
$ac_objext conftest.
$ac_ext
15858 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_user" >&5
15859 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_user" >&6
15860 if test $ac_cv_member_struct_utmp_ut_user = yes; then
15862 cat >>confdefs.h
<<_ACEOF
15863 #define HAVE_STRUCT_UTMP_UT_USER 1
15869 echo "$as_me:$LINENO: checking for struct utmpx.ut_name" >&5
15870 echo $ECHO_N "checking for struct utmpx.ut_name... $ECHO_C" >&6
15871 if test "${ac_cv_member_struct_utmpx_ut_name+set}" = set; then
15872 echo $ECHO_N "(cached) $ECHO_C" >&6
15874 cat >conftest.
$ac_ext <<_ACEOF
15875 #line $LINENO "configure"
15878 cat confdefs.h
>>conftest.
$ac_ext
15879 cat >>conftest.
$ac_ext <<_ACEOF
15880 /* end confdefs.h. */
15886 static struct utmpx ac_aggr;
15887 if (ac_aggr.ut_name)
15893 rm -f conftest.
$ac_objext
15894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15895 (eval $ac_compile) 2>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); } &&
15899 { ac_try
='test -s conftest.$ac_objext'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; }; then
15905 ac_cv_member_struct_utmpx_ut_name
=yes
15907 echo "$as_me: failed program was:" >&5
15908 sed 's/^/| /' conftest.
$ac_ext >&5
15910 cat >conftest.
$ac_ext <<_ACEOF
15911 #line $LINENO "configure"
15914 cat confdefs.h
>>conftest.
$ac_ext
15915 cat >>conftest.
$ac_ext <<_ACEOF
15916 /* end confdefs.h. */
15922 static struct utmpx ac_aggr;
15923 if (sizeof ac_aggr.ut_name)
15929 rm -f conftest.
$ac_objext
15930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15931 (eval $ac_compile) 2>&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); } &&
15935 { ac_try
='test -s conftest.$ac_objext'
15936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15937 (eval $ac_try) 2>&5
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); }; }; then
15941 ac_cv_member_struct_utmpx_ut_name
=yes
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.
$ac_ext >&5
15946 ac_cv_member_struct_utmpx_ut_name
=no
15948 rm -f conftest.
$ac_objext conftest.
$ac_ext
15950 rm -f conftest.
$ac_objext conftest.
$ac_ext
15952 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_name" >&5
15953 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_name" >&6
15954 if test $ac_cv_member_struct_utmpx_ut_name = yes; then
15956 cat >>confdefs.h
<<_ACEOF
15957 #define HAVE_STRUCT_UTMPX_UT_NAME 1
15963 echo "$as_me:$LINENO: checking for struct utmp.ut_name" >&5
15964 echo $ECHO_N "checking for struct utmp.ut_name... $ECHO_C" >&6
15965 if test "${ac_cv_member_struct_utmp_ut_name+set}" = set; then
15966 echo $ECHO_N "(cached) $ECHO_C" >&6
15968 cat >conftest.
$ac_ext <<_ACEOF
15969 #line $LINENO "configure"
15972 cat confdefs.h
>>conftest.
$ac_ext
15973 cat >>conftest.
$ac_ext <<_ACEOF
15974 /* end confdefs.h. */
15980 static struct utmp ac_aggr;
15981 if (ac_aggr.ut_name)
15987 rm -f conftest.
$ac_objext
15988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15989 (eval $ac_compile) 2>&5
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); } &&
15993 { ac_try
='test -s conftest.$ac_objext'
15994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 (eval $ac_try) 2>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; }; then
15999 ac_cv_member_struct_utmp_ut_name
=yes
16001 echo "$as_me: failed program was:" >&5
16002 sed 's/^/| /' conftest.
$ac_ext >&5
16004 cat >conftest.
$ac_ext <<_ACEOF
16005 #line $LINENO "configure"
16008 cat confdefs.h
>>conftest.
$ac_ext
16009 cat >>conftest.
$ac_ext <<_ACEOF
16010 /* end confdefs.h. */
16016 static struct utmp ac_aggr;
16017 if (sizeof ac_aggr.ut_name)
16023 rm -f conftest.
$ac_objext
16024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16025 (eval $ac_compile) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
16029 { ac_try
='test -s conftest.$ac_objext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 ac_cv_member_struct_utmp_ut_name
=yes
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.
$ac_ext >&5
16040 ac_cv_member_struct_utmp_ut_name
=no
16042 rm -f conftest.
$ac_objext conftest.
$ac_ext
16044 rm -f conftest.
$ac_objext conftest.
$ac_ext
16046 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_name" >&5
16047 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_name" >&6
16048 if test $ac_cv_member_struct_utmp_ut_name = yes; then
16050 cat >>confdefs.h
<<_ACEOF
16051 #define HAVE_STRUCT_UTMP_UT_NAME 1
16057 echo "$as_me:$LINENO: checking for struct utmpx.ut_type" >&5
16058 echo $ECHO_N "checking for struct utmpx.ut_type... $ECHO_C" >&6
16059 if test "${ac_cv_member_struct_utmpx_ut_type+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16062 cat >conftest.
$ac_ext <<_ACEOF
16063 #line $LINENO "configure"
16066 cat confdefs.h
>>conftest.
$ac_ext
16067 cat >>conftest.
$ac_ext <<_ACEOF
16068 /* end confdefs.h. */
16074 static struct utmpx ac_aggr;
16075 if (ac_aggr.ut_type)
16081 rm -f conftest.
$ac_objext
16082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16083 (eval $ac_compile) 2>&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } &&
16087 { ac_try
='test -s conftest.$ac_objext'
16088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16089 (eval $ac_try) 2>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); }; }; then
16093 ac_cv_member_struct_utmpx_ut_type
=yes
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.
$ac_ext >&5
16098 cat >conftest.
$ac_ext <<_ACEOF
16099 #line $LINENO "configure"
16102 cat confdefs.h
>>conftest.
$ac_ext
16103 cat >>conftest.
$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16110 static struct utmpx ac_aggr;
16111 if (sizeof ac_aggr.ut_type)
16117 rm -f conftest.
$ac_objext
16118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16119 (eval $ac_compile) 2>&5
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); } &&
16123 { ac_try
='test -s conftest.$ac_objext'
16124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16125 (eval $ac_try) 2>&5
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); }; }; then
16129 ac_cv_member_struct_utmpx_ut_type
=yes
16131 echo "$as_me: failed program was:" >&5
16132 sed 's/^/| /' conftest.
$ac_ext >&5
16134 ac_cv_member_struct_utmpx_ut_type
=no
16136 rm -f conftest.
$ac_objext conftest.
$ac_ext
16138 rm -f conftest.
$ac_objext conftest.
$ac_ext
16140 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_type" >&5
16141 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_type" >&6
16142 if test $ac_cv_member_struct_utmpx_ut_type = yes; then
16144 cat >>confdefs.h
<<_ACEOF
16145 #define HAVE_STRUCT_UTMPX_UT_TYPE 1
16151 echo "$as_me:$LINENO: checking for struct utmp.ut_type" >&5
16152 echo $ECHO_N "checking for struct utmp.ut_type... $ECHO_C" >&6
16153 if test "${ac_cv_member_struct_utmp_ut_type+set}" = set; then
16154 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 cat >conftest.
$ac_ext <<_ACEOF
16157 #line $LINENO "configure"
16160 cat confdefs.h
>>conftest.
$ac_ext
16161 cat >>conftest.
$ac_ext <<_ACEOF
16162 /* end confdefs.h. */
16168 static struct utmp ac_aggr;
16169 if (ac_aggr.ut_type)
16175 rm -f conftest.
$ac_objext
16176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16177 (eval $ac_compile) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
16181 { ac_try
='test -s conftest.$ac_objext'
16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; }; then
16187 ac_cv_member_struct_utmp_ut_type
=yes
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.
$ac_ext >&5
16192 cat >conftest.
$ac_ext <<_ACEOF
16193 #line $LINENO "configure"
16196 cat confdefs.h
>>conftest.
$ac_ext
16197 cat >>conftest.
$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16204 static struct utmp ac_aggr;
16205 if (sizeof ac_aggr.ut_type)
16211 rm -f conftest.
$ac_objext
16212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16213 (eval $ac_compile) 2>&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); } &&
16217 { ac_try
='test -s conftest.$ac_objext'
16218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16219 (eval $ac_try) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); }; }; then
16223 ac_cv_member_struct_utmp_ut_type
=yes
16225 echo "$as_me: failed program was:" >&5
16226 sed 's/^/| /' conftest.
$ac_ext >&5
16228 ac_cv_member_struct_utmp_ut_type
=no
16230 rm -f conftest.
$ac_objext conftest.
$ac_ext
16232 rm -f conftest.
$ac_objext conftest.
$ac_ext
16234 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_type" >&5
16235 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_type" >&6
16236 if test $ac_cv_member_struct_utmp_ut_type = yes; then
16238 cat >>confdefs.h
<<_ACEOF
16239 #define HAVE_STRUCT_UTMP_UT_TYPE 1
16245 echo "$as_me:$LINENO: checking for struct utmpx.ut_pid" >&5
16246 echo $ECHO_N "checking for struct utmpx.ut_pid... $ECHO_C" >&6
16247 if test "${ac_cv_member_struct_utmpx_ut_pid+set}" = set; then
16248 echo $ECHO_N "(cached) $ECHO_C" >&6
16250 cat >conftest.
$ac_ext <<_ACEOF
16251 #line $LINENO "configure"
16254 cat confdefs.h
>>conftest.
$ac_ext
16255 cat >>conftest.
$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16262 static struct utmpx ac_aggr;
16263 if (ac_aggr.ut_pid)
16269 rm -f conftest.
$ac_objext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16271 (eval $ac_compile) 2>&5
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); } &&
16275 { ac_try
='test -s conftest.$ac_objext'
16276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16277 (eval $ac_try) 2>&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }; }; then
16281 ac_cv_member_struct_utmpx_ut_pid
=yes
16283 echo "$as_me: failed program was:" >&5
16284 sed 's/^/| /' conftest.
$ac_ext >&5
16286 cat >conftest.
$ac_ext <<_ACEOF
16287 #line $LINENO "configure"
16290 cat confdefs.h
>>conftest.
$ac_ext
16291 cat >>conftest.
$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16298 static struct utmpx ac_aggr;
16299 if (sizeof ac_aggr.ut_pid)
16305 rm -f conftest.
$ac_objext
16306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16307 (eval $ac_compile) 2>&5
16309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 (exit $ac_status); } &&
16311 { ac_try
='test -s conftest.$ac_objext'
16312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16313 (eval $ac_try) 2>&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); }; }; then
16317 ac_cv_member_struct_utmpx_ut_pid
=yes
16319 echo "$as_me: failed program was:" >&5
16320 sed 's/^/| /' conftest.
$ac_ext >&5
16322 ac_cv_member_struct_utmpx_ut_pid
=no
16324 rm -f conftest.
$ac_objext conftest.
$ac_ext
16326 rm -f conftest.
$ac_objext conftest.
$ac_ext
16328 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_pid" >&5
16329 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_pid" >&6
16330 if test $ac_cv_member_struct_utmpx_ut_pid = yes; then
16332 cat >>confdefs.h
<<_ACEOF
16333 #define HAVE_STRUCT_UTMPX_UT_PID 1
16339 echo "$as_me:$LINENO: checking for struct utmp.ut_pid" >&5
16340 echo $ECHO_N "checking for struct utmp.ut_pid... $ECHO_C" >&6
16341 if test "${ac_cv_member_struct_utmp_ut_pid+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 cat >conftest.
$ac_ext <<_ACEOF
16345 #line $LINENO "configure"
16348 cat confdefs.h
>>conftest.
$ac_ext
16349 cat >>conftest.
$ac_ext <<_ACEOF
16350 /* end confdefs.h. */
16356 static struct utmp ac_aggr;
16357 if (ac_aggr.ut_pid)
16363 rm -f conftest.
$ac_objext
16364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16365 (eval $ac_compile) 2>&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); } &&
16369 { ac_try
='test -s conftest.$ac_objext'
16370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16371 (eval $ac_try) 2>&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); }; }; then
16375 ac_cv_member_struct_utmp_ut_pid
=yes
16377 echo "$as_me: failed program was:" >&5
16378 sed 's/^/| /' conftest.
$ac_ext >&5
16380 cat >conftest.
$ac_ext <<_ACEOF
16381 #line $LINENO "configure"
16384 cat confdefs.h
>>conftest.
$ac_ext
16385 cat >>conftest.
$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16392 static struct utmp ac_aggr;
16393 if (sizeof ac_aggr.ut_pid)
16399 rm -f conftest.
$ac_objext
16400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16401 (eval $ac_compile) 2>&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } &&
16405 { ac_try
='test -s conftest.$ac_objext'
16406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407 (eval $ac_try) 2>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; }; then
16411 ac_cv_member_struct_utmp_ut_pid
=yes
16413 echo "$as_me: failed program was:" >&5
16414 sed 's/^/| /' conftest.
$ac_ext >&5
16416 ac_cv_member_struct_utmp_ut_pid
=no
16418 rm -f conftest.
$ac_objext conftest.
$ac_ext
16420 rm -f conftest.
$ac_objext conftest.
$ac_ext
16422 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_pid" >&5
16423 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_pid" >&6
16424 if test $ac_cv_member_struct_utmp_ut_pid = yes; then
16426 cat >>confdefs.h
<<_ACEOF
16427 #define HAVE_STRUCT_UTMP_UT_PID 1
16433 echo "$as_me:$LINENO: checking for struct utmpx.ut_id" >&5
16434 echo $ECHO_N "checking for struct utmpx.ut_id... $ECHO_C" >&6
16435 if test "${ac_cv_member_struct_utmpx_ut_id+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 cat >conftest.
$ac_ext <<_ACEOF
16439 #line $LINENO "configure"
16442 cat confdefs.h
>>conftest.
$ac_ext
16443 cat >>conftest.
$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16450 static struct utmpx ac_aggr;
16457 rm -f conftest.
$ac_objext
16458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16459 (eval $ac_compile) 2>&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try
='test -s conftest.$ac_objext'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; }; then
16469 ac_cv_member_struct_utmpx_ut_id
=yes
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.
$ac_ext >&5
16474 cat >conftest.
$ac_ext <<_ACEOF
16475 #line $LINENO "configure"
16478 cat confdefs.h
>>conftest.
$ac_ext
16479 cat >>conftest.
$ac_ext <<_ACEOF
16480 /* end confdefs.h. */
16486 static struct utmpx ac_aggr;
16487 if (sizeof ac_aggr.ut_id)
16493 rm -f conftest.
$ac_objext
16494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16495 (eval $ac_compile) 2>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } &&
16499 { ac_try
='test -s conftest.$ac_objext'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; }; then
16505 ac_cv_member_struct_utmpx_ut_id
=yes
16507 echo "$as_me: failed program was:" >&5
16508 sed 's/^/| /' conftest.
$ac_ext >&5
16510 ac_cv_member_struct_utmpx_ut_id
=no
16512 rm -f conftest.
$ac_objext conftest.
$ac_ext
16514 rm -f conftest.
$ac_objext conftest.
$ac_ext
16516 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_id" >&5
16517 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_id" >&6
16518 if test $ac_cv_member_struct_utmpx_ut_id = yes; then
16520 cat >>confdefs.h
<<_ACEOF
16521 #define HAVE_STRUCT_UTMPX_UT_ID 1
16527 echo "$as_me:$LINENO: checking for struct utmp.ut_id" >&5
16528 echo $ECHO_N "checking for struct utmp.ut_id... $ECHO_C" >&6
16529 if test "${ac_cv_member_struct_utmp_ut_id+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 cat >conftest.
$ac_ext <<_ACEOF
16533 #line $LINENO "configure"
16536 cat confdefs.h
>>conftest.
$ac_ext
16537 cat >>conftest.
$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16544 static struct utmp ac_aggr;
16551 rm -f conftest.
$ac_objext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16553 (eval $ac_compile) 2>&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } &&
16557 { ac_try
='test -s conftest.$ac_objext'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; }; then
16563 ac_cv_member_struct_utmp_ut_id
=yes
16565 echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.
$ac_ext >&5
16568 cat >conftest.
$ac_ext <<_ACEOF
16569 #line $LINENO "configure"
16572 cat confdefs.h
>>conftest.
$ac_ext
16573 cat >>conftest.
$ac_ext <<_ACEOF
16574 /* end confdefs.h. */
16580 static struct utmp ac_aggr;
16581 if (sizeof ac_aggr.ut_id)
16587 rm -f conftest.
$ac_objext
16588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16589 (eval $ac_compile) 2>&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); } &&
16593 { ac_try
='test -s conftest.$ac_objext'
16594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595 (eval $ac_try) 2>&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); }; }; then
16599 ac_cv_member_struct_utmp_ut_id
=yes
16601 echo "$as_me: failed program was:" >&5
16602 sed 's/^/| /' conftest.
$ac_ext >&5
16604 ac_cv_member_struct_utmp_ut_id
=no
16606 rm -f conftest.
$ac_objext conftest.
$ac_ext
16608 rm -f conftest.
$ac_objext conftest.
$ac_ext
16610 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_id" >&5
16611 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_id" >&6
16612 if test $ac_cv_member_struct_utmp_ut_id = yes; then
16614 cat >>confdefs.h
<<_ACEOF
16615 #define HAVE_STRUCT_UTMP_UT_ID 1
16622 echo "$as_me:$LINENO: checking for struct utmpx.ut_exit.ut_exit" >&5
16623 echo $ECHO_N "checking for struct utmpx.ut_exit.ut_exit... $ECHO_C" >&6
16624 if test "${ac_cv_member_struct_utmpx_ut_exit_ut_exit+set}" = set; then
16625 echo $ECHO_N "(cached) $ECHO_C" >&6
16627 cat >conftest.
$ac_ext <<_ACEOF
16628 #line $LINENO "configure"
16631 cat confdefs.h
>>conftest.
$ac_ext
16632 cat >>conftest.
$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16639 static struct utmpx ac_aggr;
16640 if (ac_aggr.ut_exit.ut_exit)
16646 rm -f conftest.
$ac_objext
16647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16648 (eval $ac_compile) 2>&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try
='test -s conftest.$ac_objext'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; }; then
16658 ac_cv_member_struct_utmpx_ut_exit_ut_exit
=yes
16660 echo "$as_me: failed program was:" >&5
16661 sed 's/^/| /' conftest.
$ac_ext >&5
16663 cat >conftest.
$ac_ext <<_ACEOF
16664 #line $LINENO "configure"
16667 cat confdefs.h
>>conftest.
$ac_ext
16668 cat >>conftest.
$ac_ext <<_ACEOF
16669 /* end confdefs.h. */
16675 static struct utmpx ac_aggr;
16676 if (sizeof ac_aggr.ut_exit.ut_exit)
16682 rm -f conftest.
$ac_objext
16683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16684 (eval $ac_compile) 2>&5
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); } &&
16688 { ac_try
='test -s conftest.$ac_objext'
16689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16690 (eval $ac_try) 2>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; }; then
16694 ac_cv_member_struct_utmpx_ut_exit_ut_exit
=yes
16696 echo "$as_me: failed program was:" >&5
16697 sed 's/^/| /' conftest.
$ac_ext >&5
16699 ac_cv_member_struct_utmpx_ut_exit_ut_exit
=no
16701 rm -f conftest.
$ac_objext conftest.
$ac_ext
16703 rm -f conftest.
$ac_objext conftest.
$ac_ext
16705 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_exit_ut_exit" >&5
16706 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_exit_ut_exit" >&6
16707 if test $ac_cv_member_struct_utmpx_ut_exit_ut_exit = yes; then
16709 cat >>confdefs.h
<<_ACEOF
16710 #define HAVE_STRUCT_UTMPX_UT_EXIT_UT_EXIT 1
16716 echo "$as_me:$LINENO: checking for struct utmp.ut_exit.ut_exit" >&5
16717 echo $ECHO_N "checking for struct utmp.ut_exit.ut_exit... $ECHO_C" >&6
16718 if test "${ac_cv_member_struct_utmp_ut_exit_ut_exit+set}" = set; then
16719 echo $ECHO_N "(cached) $ECHO_C" >&6
16721 cat >conftest.
$ac_ext <<_ACEOF
16722 #line $LINENO "configure"
16725 cat confdefs.h
>>conftest.
$ac_ext
16726 cat >>conftest.
$ac_ext <<_ACEOF
16727 /* end confdefs.h. */
16733 static struct utmp ac_aggr;
16734 if (ac_aggr.ut_exit.ut_exit)
16740 rm -f conftest.
$ac_objext
16741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16742 (eval $ac_compile) 2>&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } &&
16746 { ac_try
='test -s conftest.$ac_objext'
16747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16748 (eval $ac_try) 2>&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); }; }; then
16752 ac_cv_member_struct_utmp_ut_exit_ut_exit
=yes
16754 echo "$as_me: failed program was:" >&5
16755 sed 's/^/| /' conftest.
$ac_ext >&5
16757 cat >conftest.
$ac_ext <<_ACEOF
16758 #line $LINENO "configure"
16761 cat confdefs.h
>>conftest.
$ac_ext
16762 cat >>conftest.
$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16769 static struct utmp ac_aggr;
16770 if (sizeof ac_aggr.ut_exit.ut_exit)
16776 rm -f conftest.
$ac_objext
16777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16778 (eval $ac_compile) 2>&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } &&
16782 { ac_try
='test -s conftest.$ac_objext'
16783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16784 (eval $ac_try) 2>&5
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); }; }; then
16788 ac_cv_member_struct_utmp_ut_exit_ut_exit
=yes
16790 echo "$as_me: failed program was:" >&5
16791 sed 's/^/| /' conftest.
$ac_ext >&5
16793 ac_cv_member_struct_utmp_ut_exit_ut_exit
=no
16795 rm -f conftest.
$ac_objext conftest.
$ac_ext
16797 rm -f conftest.
$ac_objext conftest.
$ac_ext
16799 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_exit_ut_exit" >&5
16800 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_exit_ut_exit" >&6
16801 if test $ac_cv_member_struct_utmp_ut_exit_ut_exit = yes; then
16803 cat >>confdefs.h
<<_ACEOF
16804 #define HAVE_STRUCT_UTMP_UT_EXIT_UT_EXIT 1
16810 echo "$as_me:$LINENO: checking for struct utmpx.ut_exit.e_exit" >&5
16811 echo $ECHO_N "checking for struct utmpx.ut_exit.e_exit... $ECHO_C" >&6
16812 if test "${ac_cv_member_struct_utmpx_ut_exit_e_exit+set}" = set; then
16813 echo $ECHO_N "(cached) $ECHO_C" >&6
16815 cat >conftest.
$ac_ext <<_ACEOF
16816 #line $LINENO "configure"
16819 cat confdefs.h
>>conftest.
$ac_ext
16820 cat >>conftest.
$ac_ext <<_ACEOF
16821 /* end confdefs.h. */
16827 static struct utmpx ac_aggr;
16828 if (ac_aggr.ut_exit.e_exit)
16834 rm -f conftest.
$ac_objext
16835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16836 (eval $ac_compile) 2>&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); } &&
16840 { ac_try
='test -s conftest.$ac_objext'
16841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16842 (eval $ac_try) 2>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); }; }; then
16846 ac_cv_member_struct_utmpx_ut_exit_e_exit
=yes
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.
$ac_ext >&5
16851 cat >conftest.
$ac_ext <<_ACEOF
16852 #line $LINENO "configure"
16855 cat confdefs.h
>>conftest.
$ac_ext
16856 cat >>conftest.
$ac_ext <<_ACEOF
16857 /* end confdefs.h. */
16863 static struct utmpx ac_aggr;
16864 if (sizeof ac_aggr.ut_exit.e_exit)
16870 rm -f conftest.
$ac_objext
16871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16872 (eval $ac_compile) 2>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } &&
16876 { ac_try
='test -s conftest.$ac_objext'
16877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16878 (eval $ac_try) 2>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); }; }; then
16882 ac_cv_member_struct_utmpx_ut_exit_e_exit
=yes
16884 echo "$as_me: failed program was:" >&5
16885 sed 's/^/| /' conftest.
$ac_ext >&5
16887 ac_cv_member_struct_utmpx_ut_exit_e_exit
=no
16889 rm -f conftest.
$ac_objext conftest.
$ac_ext
16891 rm -f conftest.
$ac_objext conftest.
$ac_ext
16893 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_exit_e_exit" >&5
16894 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_exit_e_exit" >&6
16895 if test $ac_cv_member_struct_utmpx_ut_exit_e_exit = yes; then
16897 cat >>confdefs.h
<<_ACEOF
16898 #define HAVE_STRUCT_UTMPX_UT_EXIT_E_EXIT 1
16904 echo "$as_me:$LINENO: checking for struct utmp.ut_exit.e_exit" >&5
16905 echo $ECHO_N "checking for struct utmp.ut_exit.e_exit... $ECHO_C" >&6
16906 if test "${ac_cv_member_struct_utmp_ut_exit_e_exit+set}" = set; then
16907 echo $ECHO_N "(cached) $ECHO_C" >&6
16909 cat >conftest.
$ac_ext <<_ACEOF
16910 #line $LINENO "configure"
16913 cat confdefs.h
>>conftest.
$ac_ext
16914 cat >>conftest.
$ac_ext <<_ACEOF
16915 /* end confdefs.h. */
16921 static struct utmp ac_aggr;
16922 if (ac_aggr.ut_exit.e_exit)
16928 rm -f conftest.
$ac_objext
16929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16930 (eval $ac_compile) 2>&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); } &&
16934 { ac_try
='test -s conftest.$ac_objext'
16935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16936 (eval $ac_try) 2>&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }; }; then
16940 ac_cv_member_struct_utmp_ut_exit_e_exit
=yes
16942 echo "$as_me: failed program was:" >&5
16943 sed 's/^/| /' conftest.
$ac_ext >&5
16945 cat >conftest.
$ac_ext <<_ACEOF
16946 #line $LINENO "configure"
16949 cat confdefs.h
>>conftest.
$ac_ext
16950 cat >>conftest.
$ac_ext <<_ACEOF
16951 /* end confdefs.h. */
16957 static struct utmp ac_aggr;
16958 if (sizeof ac_aggr.ut_exit.e_exit)
16964 rm -f conftest.
$ac_objext
16965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16966 (eval $ac_compile) 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); } &&
16970 { ac_try
='test -s conftest.$ac_objext'
16971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16972 (eval $ac_try) 2>&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); }; }; then
16976 ac_cv_member_struct_utmp_ut_exit_e_exit
=yes
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.
$ac_ext >&5
16981 ac_cv_member_struct_utmp_ut_exit_e_exit
=no
16983 rm -f conftest.
$ac_objext conftest.
$ac_ext
16985 rm -f conftest.
$ac_objext conftest.
$ac_ext
16987 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_exit_e_exit" >&5
16988 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_exit_e_exit" >&6
16989 if test $ac_cv_member_struct_utmp_ut_exit_e_exit = yes; then
16991 cat >>confdefs.h
<<_ACEOF
16992 #define HAVE_STRUCT_UTMP_UT_EXIT_E_EXIT 1
16999 echo "$as_me:$LINENO: checking for struct utmpx.ut_exit.ut_termination" >&5
17000 echo $ECHO_N "checking for struct utmpx.ut_exit.ut_termination... $ECHO_C" >&6
17001 if test "${ac_cv_member_struct_utmpx_ut_exit_ut_termination+set}" = set; then
17002 echo $ECHO_N "(cached) $ECHO_C" >&6
17004 cat >conftest.
$ac_ext <<_ACEOF
17005 #line $LINENO "configure"
17008 cat confdefs.h
>>conftest.
$ac_ext
17009 cat >>conftest.
$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17016 static struct utmpx ac_aggr;
17017 if (ac_aggr.ut_exit.ut_termination)
17023 rm -f conftest.
$ac_objext
17024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17025 (eval $ac_compile) 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } &&
17029 { ac_try
='test -s conftest.$ac_objext'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; }; then
17035 ac_cv_member_struct_utmpx_ut_exit_ut_termination
=yes
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.
$ac_ext >&5
17040 cat >conftest.
$ac_ext <<_ACEOF
17041 #line $LINENO "configure"
17044 cat confdefs.h
>>conftest.
$ac_ext
17045 cat >>conftest.
$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17052 static struct utmpx ac_aggr;
17053 if (sizeof ac_aggr.ut_exit.ut_termination)
17059 rm -f conftest.
$ac_objext
17060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17061 (eval $ac_compile) 2>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } &&
17065 { ac_try
='test -s conftest.$ac_objext'
17066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17067 (eval $ac_try) 2>&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); }; }; then
17071 ac_cv_member_struct_utmpx_ut_exit_ut_termination
=yes
17073 echo "$as_me: failed program was:" >&5
17074 sed 's/^/| /' conftest.
$ac_ext >&5
17076 ac_cv_member_struct_utmpx_ut_exit_ut_termination
=no
17078 rm -f conftest.
$ac_objext conftest.
$ac_ext
17080 rm -f conftest.
$ac_objext conftest.
$ac_ext
17082 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_exit_ut_termination" >&5
17083 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_exit_ut_termination" >&6
17084 if test $ac_cv_member_struct_utmpx_ut_exit_ut_termination = yes; then
17086 cat >>confdefs.h
<<_ACEOF
17087 #define HAVE_STRUCT_UTMPX_UT_EXIT_UT_TERMINATION 1
17093 echo "$as_me:$LINENO: checking for struct utmp.ut_exit.ut_termination" >&5
17094 echo $ECHO_N "checking for struct utmp.ut_exit.ut_termination... $ECHO_C" >&6
17095 if test "${ac_cv_member_struct_utmp_ut_exit_ut_termination+set}" = set; then
17096 echo $ECHO_N "(cached) $ECHO_C" >&6
17098 cat >conftest.
$ac_ext <<_ACEOF
17099 #line $LINENO "configure"
17102 cat confdefs.h
>>conftest.
$ac_ext
17103 cat >>conftest.
$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17110 static struct utmp ac_aggr;
17111 if (ac_aggr.ut_exit.ut_termination)
17117 rm -f conftest.
$ac_objext
17118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17119 (eval $ac_compile) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); } &&
17123 { ac_try
='test -s conftest.$ac_objext'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; }; then
17129 ac_cv_member_struct_utmp_ut_exit_ut_termination
=yes
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.
$ac_ext >&5
17134 cat >conftest.
$ac_ext <<_ACEOF
17135 #line $LINENO "configure"
17138 cat confdefs.h
>>conftest.
$ac_ext
17139 cat >>conftest.
$ac_ext <<_ACEOF
17140 /* end confdefs.h. */
17146 static struct utmp ac_aggr;
17147 if (sizeof ac_aggr.ut_exit.ut_termination)
17153 rm -f conftest.
$ac_objext
17154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17155 (eval $ac_compile) 2>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } &&
17159 { ac_try
='test -s conftest.$ac_objext'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; }; then
17165 ac_cv_member_struct_utmp_ut_exit_ut_termination
=yes
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.
$ac_ext >&5
17170 ac_cv_member_struct_utmp_ut_exit_ut_termination
=no
17172 rm -f conftest.
$ac_objext conftest.
$ac_ext
17174 rm -f conftest.
$ac_objext conftest.
$ac_ext
17176 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_exit_ut_termination" >&5
17177 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_exit_ut_termination" >&6
17178 if test $ac_cv_member_struct_utmp_ut_exit_ut_termination = yes; then
17180 cat >>confdefs.h
<<_ACEOF
17181 #define HAVE_STRUCT_UTMP_UT_EXIT_UT_TERMINATION 1
17187 echo "$as_me:$LINENO: checking for struct utmpx.ut_exit.e_termination" >&5
17188 echo $ECHO_N "checking for struct utmpx.ut_exit.e_termination... $ECHO_C" >&6
17189 if test "${ac_cv_member_struct_utmpx_ut_exit_e_termination+set}" = set; then
17190 echo $ECHO_N "(cached) $ECHO_C" >&6
17192 cat >conftest.
$ac_ext <<_ACEOF
17193 #line $LINENO "configure"
17196 cat confdefs.h
>>conftest.
$ac_ext
17197 cat >>conftest.
$ac_ext <<_ACEOF
17198 /* end confdefs.h. */
17204 static struct utmpx ac_aggr;
17205 if (ac_aggr.ut_exit.e_termination)
17211 rm -f conftest.
$ac_objext
17212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17213 (eval $ac_compile) 2>&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); } &&
17217 { ac_try
='test -s conftest.$ac_objext'
17218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17219 (eval $ac_try) 2>&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); }; }; then
17223 ac_cv_member_struct_utmpx_ut_exit_e_termination
=yes
17225 echo "$as_me: failed program was:" >&5
17226 sed 's/^/| /' conftest.
$ac_ext >&5
17228 cat >conftest.
$ac_ext <<_ACEOF
17229 #line $LINENO "configure"
17232 cat confdefs.h
>>conftest.
$ac_ext
17233 cat >>conftest.
$ac_ext <<_ACEOF
17234 /* end confdefs.h. */
17240 static struct utmpx ac_aggr;
17241 if (sizeof ac_aggr.ut_exit.e_termination)
17247 rm -f conftest.
$ac_objext
17248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17249 (eval $ac_compile) 2>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); } &&
17253 { ac_try
='test -s conftest.$ac_objext'
17254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17255 (eval $ac_try) 2>&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); }; }; then
17259 ac_cv_member_struct_utmpx_ut_exit_e_termination
=yes
17261 echo "$as_me: failed program was:" >&5
17262 sed 's/^/| /' conftest.
$ac_ext >&5
17264 ac_cv_member_struct_utmpx_ut_exit_e_termination
=no
17266 rm -f conftest.
$ac_objext conftest.
$ac_ext
17268 rm -f conftest.
$ac_objext conftest.
$ac_ext
17270 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_exit_e_termination" >&5
17271 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_exit_e_termination" >&6
17272 if test $ac_cv_member_struct_utmpx_ut_exit_e_termination = yes; then
17274 cat >>confdefs.h
<<_ACEOF
17275 #define HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION 1
17281 echo "$as_me:$LINENO: checking for struct utmp.ut_exit.e_termination" >&5
17282 echo $ECHO_N "checking for struct utmp.ut_exit.e_termination... $ECHO_C" >&6
17283 if test "${ac_cv_member_struct_utmp_ut_exit_e_termination+set}" = set; then
17284 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 cat >conftest.
$ac_ext <<_ACEOF
17287 #line $LINENO "configure"
17290 cat confdefs.h
>>conftest.
$ac_ext
17291 cat >>conftest.
$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17298 static struct utmp ac_aggr;
17299 if (ac_aggr.ut_exit.e_termination)
17305 rm -f conftest.
$ac_objext
17306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17307 (eval $ac_compile) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); } &&
17311 { ac_try
='test -s conftest.$ac_objext'
17312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17313 (eval $ac_try) 2>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; }; then
17317 ac_cv_member_struct_utmp_ut_exit_e_termination
=yes
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.
$ac_ext >&5
17322 cat >conftest.
$ac_ext <<_ACEOF
17323 #line $LINENO "configure"
17326 cat confdefs.h
>>conftest.
$ac_ext
17327 cat >>conftest.
$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17334 static struct utmp ac_aggr;
17335 if (sizeof ac_aggr.ut_exit.e_termination)
17341 rm -f conftest.
$ac_objext
17342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17343 (eval $ac_compile) 2>&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } &&
17347 { ac_try
='test -s conftest.$ac_objext'
17348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349 (eval $ac_try) 2>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); }; }; then
17353 ac_cv_member_struct_utmp_ut_exit_e_termination
=yes
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.
$ac_ext >&5
17358 ac_cv_member_struct_utmp_ut_exit_e_termination
=no
17360 rm -f conftest.
$ac_objext conftest.
$ac_ext
17362 rm -f conftest.
$ac_objext conftest.
$ac_ext
17364 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_exit_e_termination" >&5
17365 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_exit_e_termination" >&6
17366 if test $ac_cv_member_struct_utmp_ut_exit_e_termination = yes; then
17368 cat >>confdefs.h
<<_ACEOF
17369 #define HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION 1
17375 LIBOBJS
="$LIBOBJS readutmp.$ac_objext"
17379 echo "$as_me:$LINENO: checking for long long" >&5
17380 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17381 if test "${ac_cv_type_long_long+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17384 cat >conftest.
$ac_ext <<_ACEOF
17385 #line $LINENO "configure"
17388 cat confdefs.h
>>conftest.
$ac_ext
17389 cat >>conftest.
$ac_ext <<_ACEOF
17390 /* end confdefs.h. */
17391 long long ll = 1; int i = 63;
17395 long long llmax = (long long) -1;
17396 return ll << i | ll >> i | llmax / ll | llmax % ll;
17401 rm -f conftest.
$ac_objext conftest
$ac_exeext
17402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17403 (eval $ac_link) 2>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } &&
17407 { ac_try
='test -s conftest$ac_exeext'
17408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17409 (eval $ac_try) 2>&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); }; }; then
17413 ac_cv_type_long_long
=yes
17415 echo "$as_me: failed program was:" >&5
17416 sed 's/^/| /' conftest.
$ac_ext >&5
17418 ac_cv_type_long_long
=no
17420 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17422 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17423 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17424 if test $ac_cv_type_long_long = yes; then
17426 cat >>confdefs.h
<<\_ACEOF
17427 #define HAVE_LONG_LONG 1
17437 for ac_header
in sys
/sysmacros.h sys
/statvfs.h sys
/vfs.h inttypes.h
17439 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17441 echo "$as_me:$LINENO: checking for $ac_header" >&5
17442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17444 echo $ECHO_N "(cached) $ECHO_C" >&6
17446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17449 # Is the header compilable?
17450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17452 cat >conftest.
$ac_ext <<_ACEOF
17453 #line $LINENO "configure"
17456 cat confdefs.h
>>conftest.
$ac_ext
17457 cat >>conftest.
$ac_ext <<_ACEOF
17458 /* end confdefs.h. */
17459 $ac_includes_default
17460 #include <$ac_header>
17462 rm -f conftest.
$ac_objext
17463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17464 (eval $ac_compile) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); } &&
17468 { ac_try
='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17474 ac_header_compiler
=yes
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.
$ac_ext >&5
17479 ac_header_compiler
=no
17481 rm -f conftest.
$ac_objext conftest.
$ac_ext
17482 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17483 echo "${ECHO_T}$ac_header_compiler" >&6
17485 # Is the header present?
17486 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17487 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17488 cat >conftest.
$ac_ext <<_ACEOF
17489 #line $LINENO "configure"
17492 cat confdefs.h
>>conftest.
$ac_ext
17493 cat >>conftest.
$ac_ext <<_ACEOF
17494 /* end confdefs.h. */
17495 #include <$ac_header>
17497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17500 grep -v '^ *+' conftest.er1
>conftest.err
17502 cat conftest.err
>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } >/dev
/null
; then
17505 if test -s conftest.err
; then
17506 ac_cpp_err
=$ac_c_preproc_warn_flag
17513 if test -z "$ac_cpp_err"; then
17514 ac_header_preproc
=yes
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.
$ac_ext >&5
17519 ac_header_preproc
=no
17521 rm -f conftest.err conftest.
$ac_ext
17522 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17523 echo "${ECHO_T}$ac_header_preproc" >&6
17525 # So? What about this header?
17526 case $ac_header_compiler:$ac_header_preproc in
17528 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17529 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17531 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17534 ## ------------------------------------ ##
17535 ## Report this to bug-autoconf@gnu.org. ##
17536 ## ------------------------------------ ##
17539 sed "s/^/$as_me: WARNING: /" >&2
17542 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17543 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17544 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17545 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17550 ## ------------------------------------ ##
17551 ## Report this to bug-autoconf@gnu.org. ##
17552 ## ------------------------------------ ##
17555 sed "s/^/$as_me: WARNING: /" >&2
17558 echo "$as_me:$LINENO: checking for $ac_header" >&5
17559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17561 echo $ECHO_N "(cached) $ECHO_C" >&6
17563 eval "$as_ac_Header=$ac_header_preproc"
17565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17570 cat >>confdefs.h
<<_ACEOF
17571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17580 for ac_header
in sys
/param.h sys
/mount.h
17582 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17584 echo "$as_me:$LINENO: checking for $ac_header" >&5
17585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17587 echo $ECHO_N "(cached) $ECHO_C" >&6
17589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17592 # Is the header compilable?
17593 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17594 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17595 cat >conftest.
$ac_ext <<_ACEOF
17596 #line $LINENO "configure"
17599 cat confdefs.h
>>conftest.
$ac_ext
17600 cat >>conftest.
$ac_ext <<_ACEOF
17601 /* end confdefs.h. */
17602 $ac_includes_default
17603 #include <$ac_header>
17605 rm -f conftest.
$ac_objext
17606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17607 (eval $ac_compile) 2>&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } &&
17611 { ac_try
='test -s conftest.$ac_objext'
17612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613 (eval $ac_try) 2>&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); }; }; then
17617 ac_header_compiler
=yes
17619 echo "$as_me: failed program was:" >&5
17620 sed 's/^/| /' conftest.
$ac_ext >&5
17622 ac_header_compiler
=no
17624 rm -f conftest.
$ac_objext conftest.
$ac_ext
17625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17626 echo "${ECHO_T}$ac_header_compiler" >&6
17628 # Is the header present?
17629 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17631 cat >conftest.
$ac_ext <<_ACEOF
17632 #line $LINENO "configure"
17635 cat confdefs.h
>>conftest.
$ac_ext
17636 cat >>conftest.
$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17638 #include <$ac_header>
17640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17643 grep -v '^ *+' conftest.er1
>conftest.err
17645 cat conftest.err
>&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); } >/dev
/null
; then
17648 if test -s conftest.err
; then
17649 ac_cpp_err
=$ac_c_preproc_warn_flag
17656 if test -z "$ac_cpp_err"; then
17657 ac_header_preproc
=yes
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.
$ac_ext >&5
17662 ac_header_preproc
=no
17664 rm -f conftest.err conftest.
$ac_ext
17665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17666 echo "${ECHO_T}$ac_header_preproc" >&6
17668 # So? What about this header?
17669 case $ac_header_compiler:$ac_header_preproc in
17671 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17672 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17677 ## ------------------------------------ ##
17678 ## Report this to bug-autoconf@gnu.org. ##
17679 ## ------------------------------------ ##
17682 sed "s/^/$as_me: WARNING: /" >&2
17685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17693 ## ------------------------------------ ##
17694 ## Report this to bug-autoconf@gnu.org. ##
17695 ## ------------------------------------ ##
17698 sed "s/^/$as_me: WARNING: /" >&2
17701 echo "$as_me:$LINENO: checking for $ac_header" >&5
17702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17704 echo $ECHO_N "(cached) $ECHO_C" >&6
17706 eval "$as_ac_Header=$ac_header_preproc"
17708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17713 cat >>confdefs.h
<<_ACEOF
17714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17722 for ac_func
in statvfs
17724 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17725 echo "$as_me:$LINENO: checking for $ac_func" >&5
17726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17727 if eval "test \"\${$as_ac_var+set}\" = set"; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17730 cat >conftest.
$ac_ext <<_ACEOF
17731 #line $LINENO "configure"
17734 cat confdefs.h
>>conftest.
$ac_ext
17735 cat >>conftest.
$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 /* System header to define __stub macros and hopefully few prototypes,
17738 which can conflict with char $ac_func (); below.
17739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17740 <limits.h> exists even on freestanding compilers. */
17742 # include <limits.h>
17744 # include <assert.h>
17746 /* Override any gcc2 internal prototype to avoid an error. */
17751 /* We use char because int might match the return type of a gcc2
17752 builtin and then its argument prototype would still apply. */
17754 /* The GNU C library defines this for functions which it implements
17755 to always fail with ENOSYS. Some functions are actually named
17756 something starting with __ and the normal name is an alias. */
17757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17760 char (*f) () = $ac_func;
17769 return f != $ac_func;
17774 rm -f conftest.
$ac_objext conftest
$ac_exeext
17775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17776 (eval $ac_link) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } &&
17780 { ac_try
='test -s conftest$ac_exeext'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17786 eval "$as_ac_var=yes"
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.
$ac_ext >&5
17791 eval "$as_ac_var=no"
17793 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17797 if test `eval echo '${'$as_ac_var'}'` = yes; then
17798 cat >>confdefs.h
<<_ACEOF
17799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17807 statxfs_includes
="\
17808 $ac_includes_default
17809 #if HAVE_SYS_STATVFS_H
17810 # include <sys/statvfs.h>
17813 # include <sys/vfs.h>
17815 #if ( ! HAVE_SYS_STATVFS_H && ! HAVE_SYS_VFS_H && HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H )
17816 /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */
17817 # include <sys/param.h>
17818 # include <sys/mount.h>
17821 echo "$as_me:$LINENO: checking for struct statfs.f_basetype" >&5
17822 echo $ECHO_N "checking for struct statfs.f_basetype... $ECHO_C" >&6
17823 if test "${ac_cv_member_struct_statfs_f_basetype+set}" = set; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17826 cat >conftest.
$ac_ext <<_ACEOF
17827 #line $LINENO "configure"
17830 cat confdefs.h
>>conftest.
$ac_ext
17831 cat >>conftest.
$ac_ext <<_ACEOF
17832 /* end confdefs.h. */
17838 static struct statfs ac_aggr;
17839 if (ac_aggr.f_basetype)
17845 rm -f conftest.
$ac_objext
17846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17847 (eval $ac_compile) 2>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } &&
17851 { ac_try
='test -s conftest.$ac_objext'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; }; then
17857 ac_cv_member_struct_statfs_f_basetype
=yes
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.
$ac_ext >&5
17862 cat >conftest.
$ac_ext <<_ACEOF
17863 #line $LINENO "configure"
17866 cat confdefs.h
>>conftest.
$ac_ext
17867 cat >>conftest.
$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17874 static struct statfs ac_aggr;
17875 if (sizeof ac_aggr.f_basetype)
17881 rm -f conftest.
$ac_objext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17883 (eval $ac_compile) 2>&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } &&
17887 { ac_try
='test -s conftest.$ac_objext'
17888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17889 (eval $ac_try) 2>&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); }; }; then
17893 ac_cv_member_struct_statfs_f_basetype
=yes
17895 echo "$as_me: failed program was:" >&5
17896 sed 's/^/| /' conftest.
$ac_ext >&5
17898 ac_cv_member_struct_statfs_f_basetype
=no
17900 rm -f conftest.
$ac_objext conftest.
$ac_ext
17902 rm -f conftest.
$ac_objext conftest.
$ac_ext
17904 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_basetype" >&5
17905 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_basetype" >&6
17906 if test $ac_cv_member_struct_statfs_f_basetype = yes; then
17908 cat >>confdefs.h
<<_ACEOF
17909 #define HAVE_STRUCT_STATFS_F_BASETYPE 1
17915 echo "$as_me:$LINENO: checking for struct statvfs.f_basetype" >&5
17916 echo $ECHO_N "checking for struct statvfs.f_basetype... $ECHO_C" >&6
17917 if test "${ac_cv_member_struct_statvfs_f_basetype+set}" = set; then
17918 echo $ECHO_N "(cached) $ECHO_C" >&6
17920 cat >conftest.
$ac_ext <<_ACEOF
17921 #line $LINENO "configure"
17924 cat confdefs.h
>>conftest.
$ac_ext
17925 cat >>conftest.
$ac_ext <<_ACEOF
17926 /* end confdefs.h. */
17932 static struct statvfs ac_aggr;
17933 if (ac_aggr.f_basetype)
17939 rm -f conftest.
$ac_objext
17940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17941 (eval $ac_compile) 2>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } &&
17945 { ac_try
='test -s conftest.$ac_objext'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; }; then
17951 ac_cv_member_struct_statvfs_f_basetype
=yes
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.
$ac_ext >&5
17956 cat >conftest.
$ac_ext <<_ACEOF
17957 #line $LINENO "configure"
17960 cat confdefs.h
>>conftest.
$ac_ext
17961 cat >>conftest.
$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17968 static struct statvfs ac_aggr;
17969 if (sizeof ac_aggr.f_basetype)
17975 rm -f conftest.
$ac_objext
17976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17977 (eval $ac_compile) 2>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); } &&
17981 { ac_try
='test -s conftest.$ac_objext'
17982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 (eval $ac_try) 2>&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; }; then
17987 ac_cv_member_struct_statvfs_f_basetype
=yes
17989 echo "$as_me: failed program was:" >&5
17990 sed 's/^/| /' conftest.
$ac_ext >&5
17992 ac_cv_member_struct_statvfs_f_basetype
=no
17994 rm -f conftest.
$ac_objext conftest.
$ac_ext
17996 rm -f conftest.
$ac_objext conftest.
$ac_ext
17998 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_basetype" >&5
17999 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_basetype" >&6
18000 if test $ac_cv_member_struct_statvfs_f_basetype = yes; then
18002 cat >>confdefs.h
<<_ACEOF
18003 #define HAVE_STRUCT_STATVFS_F_BASETYPE 1
18009 echo "$as_me:$LINENO: checking for struct statfs.f_fstypename" >&5
18010 echo $ECHO_N "checking for struct statfs.f_fstypename... $ECHO_C" >&6
18011 if test "${ac_cv_member_struct_statfs_f_fstypename+set}" = set; then
18012 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 cat >conftest.
$ac_ext <<_ACEOF
18015 #line $LINENO "configure"
18018 cat confdefs.h
>>conftest.
$ac_ext
18019 cat >>conftest.
$ac_ext <<_ACEOF
18020 /* end confdefs.h. */
18026 static struct statfs ac_aggr;
18027 if (ac_aggr.f_fstypename)
18033 rm -f conftest.
$ac_objext
18034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18035 (eval $ac_compile) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); } &&
18039 { ac_try
='test -s conftest.$ac_objext'
18040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18041 (eval $ac_try) 2>&5
18043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18044 (exit $ac_status); }; }; then
18045 ac_cv_member_struct_statfs_f_fstypename
=yes
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.
$ac_ext >&5
18050 cat >conftest.
$ac_ext <<_ACEOF
18051 #line $LINENO "configure"
18054 cat confdefs.h
>>conftest.
$ac_ext
18055 cat >>conftest.
$ac_ext <<_ACEOF
18056 /* end confdefs.h. */
18062 static struct statfs ac_aggr;
18063 if (sizeof ac_aggr.f_fstypename)
18069 rm -f conftest.
$ac_objext
18070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18071 (eval $ac_compile) 2>&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); } &&
18075 { ac_try
='test -s conftest.$ac_objext'
18076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18077 (eval $ac_try) 2>&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); }; }; then
18081 ac_cv_member_struct_statfs_f_fstypename
=yes
18083 echo "$as_me: failed program was:" >&5
18084 sed 's/^/| /' conftest.
$ac_ext >&5
18086 ac_cv_member_struct_statfs_f_fstypename
=no
18088 rm -f conftest.
$ac_objext conftest.
$ac_ext
18090 rm -f conftest.
$ac_objext conftest.
$ac_ext
18092 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_fstypename" >&5
18093 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_fstypename" >&6
18094 if test $ac_cv_member_struct_statfs_f_fstypename = yes; then
18096 cat >>confdefs.h
<<_ACEOF
18097 #define HAVE_STRUCT_STATFS_F_FSTYPENAME 1
18103 echo "$as_me:$LINENO: checking for struct statfs.f_type" >&5
18104 echo $ECHO_N "checking for struct statfs.f_type... $ECHO_C" >&6
18105 if test "${ac_cv_member_struct_statfs_f_type+set}" = set; then
18106 echo $ECHO_N "(cached) $ECHO_C" >&6
18108 cat >conftest.
$ac_ext <<_ACEOF
18109 #line $LINENO "configure"
18112 cat confdefs.h
>>conftest.
$ac_ext
18113 cat >>conftest.
$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18120 static struct statfs ac_aggr;
18121 if (ac_aggr.f_type)
18127 rm -f conftest.
$ac_objext
18128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18129 (eval $ac_compile) 2>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } &&
18133 { ac_try
='test -s conftest.$ac_objext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 ac_cv_member_struct_statfs_f_type
=yes
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.
$ac_ext >&5
18144 cat >conftest.
$ac_ext <<_ACEOF
18145 #line $LINENO "configure"
18148 cat confdefs.h
>>conftest.
$ac_ext
18149 cat >>conftest.
$ac_ext <<_ACEOF
18150 /* end confdefs.h. */
18156 static struct statfs ac_aggr;
18157 if (sizeof ac_aggr.f_type)
18163 rm -f conftest.
$ac_objext
18164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18165 (eval $ac_compile) 2>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } &&
18169 { ac_try
='test -s conftest.$ac_objext'
18170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18171 (eval $ac_try) 2>&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); }; }; then
18175 ac_cv_member_struct_statfs_f_type
=yes
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.
$ac_ext >&5
18180 ac_cv_member_struct_statfs_f_type
=no
18182 rm -f conftest.
$ac_objext conftest.
$ac_ext
18184 rm -f conftest.
$ac_objext conftest.
$ac_ext
18186 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_type" >&5
18187 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_type" >&6
18188 if test $ac_cv_member_struct_statfs_f_type = yes; then
18190 cat >>confdefs.h
<<_ACEOF
18191 #define HAVE_STRUCT_STATFS_F_TYPE 1
18197 echo "$as_me:$LINENO: checking for struct statvfs.f_type" >&5
18198 echo $ECHO_N "checking for struct statvfs.f_type... $ECHO_C" >&6
18199 if test "${ac_cv_member_struct_statvfs_f_type+set}" = set; then
18200 echo $ECHO_N "(cached) $ECHO_C" >&6
18202 cat >conftest.
$ac_ext <<_ACEOF
18203 #line $LINENO "configure"
18206 cat confdefs.h
>>conftest.
$ac_ext
18207 cat >>conftest.
$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18214 static struct statvfs ac_aggr;
18215 if (ac_aggr.f_type)
18221 rm -f conftest.
$ac_objext
18222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18223 (eval $ac_compile) 2>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } &&
18227 { ac_try
='test -s conftest.$ac_objext'
18228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229 (eval $ac_try) 2>&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); }; }; then
18233 ac_cv_member_struct_statvfs_f_type
=yes
18235 echo "$as_me: failed program was:" >&5
18236 sed 's/^/| /' conftest.
$ac_ext >&5
18238 cat >conftest.
$ac_ext <<_ACEOF
18239 #line $LINENO "configure"
18242 cat confdefs.h
>>conftest.
$ac_ext
18243 cat >>conftest.
$ac_ext <<_ACEOF
18244 /* end confdefs.h. */
18250 static struct statvfs ac_aggr;
18251 if (sizeof ac_aggr.f_type)
18257 rm -f conftest.
$ac_objext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); } &&
18263 { ac_try
='test -s conftest.$ac_objext'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; }; then
18269 ac_cv_member_struct_statvfs_f_type
=yes
18271 echo "$as_me: failed program was:" >&5
18272 sed 's/^/| /' conftest.
$ac_ext >&5
18274 ac_cv_member_struct_statvfs_f_type
=no
18276 rm -f conftest.
$ac_objext conftest.
$ac_ext
18278 rm -f conftest.
$ac_objext conftest.
$ac_ext
18280 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_type" >&5
18281 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_type" >&6
18282 if test $ac_cv_member_struct_statvfs_f_type = yes; then
18284 cat >>confdefs.h
<<_ACEOF
18285 #define HAVE_STRUCT_STATVFS_F_TYPE 1
18291 echo "$as_me:$LINENO: checking for struct statfs.f_fsid.__val" >&5
18292 echo $ECHO_N "checking for struct statfs.f_fsid.__val... $ECHO_C" >&6
18293 if test "${ac_cv_member_struct_statfs_f_fsid___val+set}" = set; then
18294 echo $ECHO_N "(cached) $ECHO_C" >&6
18296 cat >conftest.
$ac_ext <<_ACEOF
18297 #line $LINENO "configure"
18300 cat confdefs.h
>>conftest.
$ac_ext
18301 cat >>conftest.
$ac_ext <<_ACEOF
18302 /* end confdefs.h. */
18308 static struct statfs ac_aggr;
18309 if (ac_aggr.f_fsid.__val)
18315 rm -f conftest.
$ac_objext
18316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18317 (eval $ac_compile) 2>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } &&
18321 { ac_try
='test -s conftest.$ac_objext'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; }; then
18327 ac_cv_member_struct_statfs_f_fsid___val
=yes
18329 echo "$as_me: failed program was:" >&5
18330 sed 's/^/| /' conftest.
$ac_ext >&5
18332 cat >conftest.
$ac_ext <<_ACEOF
18333 #line $LINENO "configure"
18336 cat confdefs.h
>>conftest.
$ac_ext
18337 cat >>conftest.
$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18344 static struct statfs ac_aggr;
18345 if (sizeof ac_aggr.f_fsid.__val)
18351 rm -f conftest.
$ac_objext
18352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18353 (eval $ac_compile) 2>&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); } &&
18357 { ac_try
='test -s conftest.$ac_objext'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; }; then
18363 ac_cv_member_struct_statfs_f_fsid___val
=yes
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.
$ac_ext >&5
18368 ac_cv_member_struct_statfs_f_fsid___val
=no
18370 rm -f conftest.
$ac_objext conftest.
$ac_ext
18372 rm -f conftest.
$ac_objext conftest.
$ac_ext
18374 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_fsid___val" >&5
18375 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_fsid___val" >&6
18376 if test $ac_cv_member_struct_statfs_f_fsid___val = yes; then
18378 cat >>confdefs.h
<<_ACEOF
18379 #define HAVE_STRUCT_STATFS_F_FSID___VAL 1
18385 echo "$as_me:$LINENO: checking for struct statvfs.f_fsid.__val" >&5
18386 echo $ECHO_N "checking for struct statvfs.f_fsid.__val... $ECHO_C" >&6
18387 if test "${ac_cv_member_struct_statvfs_f_fsid___val+set}" = set; then
18388 echo $ECHO_N "(cached) $ECHO_C" >&6
18390 cat >conftest.
$ac_ext <<_ACEOF
18391 #line $LINENO "configure"
18394 cat confdefs.h
>>conftest.
$ac_ext
18395 cat >>conftest.
$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18402 static struct statvfs ac_aggr;
18403 if (ac_aggr.f_fsid.__val)
18409 rm -f conftest.
$ac_objext
18410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18411 (eval $ac_compile) 2>&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } &&
18415 { ac_try
='test -s conftest.$ac_objext'
18416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18417 (eval $ac_try) 2>&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); }; }; then
18421 ac_cv_member_struct_statvfs_f_fsid___val
=yes
18423 echo "$as_me: failed program was:" >&5
18424 sed 's/^/| /' conftest.
$ac_ext >&5
18426 cat >conftest.
$ac_ext <<_ACEOF
18427 #line $LINENO "configure"
18430 cat confdefs.h
>>conftest.
$ac_ext
18431 cat >>conftest.
$ac_ext <<_ACEOF
18432 /* end confdefs.h. */
18438 static struct statvfs ac_aggr;
18439 if (sizeof ac_aggr.f_fsid.__val)
18445 rm -f conftest.
$ac_objext
18446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18447 (eval $ac_compile) 2>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } &&
18451 { ac_try
='test -s conftest.$ac_objext'
18452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18453 (eval $ac_try) 2>&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); }; }; then
18457 ac_cv_member_struct_statvfs_f_fsid___val
=yes
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.
$ac_ext >&5
18462 ac_cv_member_struct_statvfs_f_fsid___val
=no
18464 rm -f conftest.
$ac_objext conftest.
$ac_ext
18466 rm -f conftest.
$ac_objext conftest.
$ac_ext
18468 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_fsid___val" >&5
18469 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_fsid___val" >&6
18470 if test $ac_cv_member_struct_statvfs_f_fsid___val = yes; then
18472 cat >>confdefs.h
<<_ACEOF
18473 #define HAVE_STRUCT_STATVFS_F_FSID___VAL 1
18479 echo "$as_me:$LINENO: checking for struct statfs.f_namemax" >&5
18480 echo $ECHO_N "checking for struct statfs.f_namemax... $ECHO_C" >&6
18481 if test "${ac_cv_member_struct_statfs_f_namemax+set}" = set; then
18482 echo $ECHO_N "(cached) $ECHO_C" >&6
18484 cat >conftest.
$ac_ext <<_ACEOF
18485 #line $LINENO "configure"
18488 cat confdefs.h
>>conftest.
$ac_ext
18489 cat >>conftest.
$ac_ext <<_ACEOF
18490 /* end confdefs.h. */
18496 static struct statfs ac_aggr;
18497 if (ac_aggr.f_namemax)
18503 rm -f conftest.
$ac_objext
18504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18505 (eval $ac_compile) 2>&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } &&
18509 { ac_try
='test -s conftest.$ac_objext'
18510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18511 (eval $ac_try) 2>&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); }; }; then
18515 ac_cv_member_struct_statfs_f_namemax
=yes
18517 echo "$as_me: failed program was:" >&5
18518 sed 's/^/| /' conftest.
$ac_ext >&5
18520 cat >conftest.
$ac_ext <<_ACEOF
18521 #line $LINENO "configure"
18524 cat confdefs.h
>>conftest.
$ac_ext
18525 cat >>conftest.
$ac_ext <<_ACEOF
18526 /* end confdefs.h. */
18532 static struct statfs ac_aggr;
18533 if (sizeof ac_aggr.f_namemax)
18539 rm -f conftest.
$ac_objext
18540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18541 (eval $ac_compile) 2>&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); } &&
18545 { ac_try
='test -s conftest.$ac_objext'
18546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18547 (eval $ac_try) 2>&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); }; }; then
18551 ac_cv_member_struct_statfs_f_namemax
=yes
18553 echo "$as_me: failed program was:" >&5
18554 sed 's/^/| /' conftest.
$ac_ext >&5
18556 ac_cv_member_struct_statfs_f_namemax
=no
18558 rm -f conftest.
$ac_objext conftest.
$ac_ext
18560 rm -f conftest.
$ac_objext conftest.
$ac_ext
18562 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namemax" >&5
18563 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namemax" >&6
18564 if test $ac_cv_member_struct_statfs_f_namemax = yes; then
18566 cat >>confdefs.h
<<_ACEOF
18567 #define HAVE_STRUCT_STATFS_F_NAMEMAX 1
18573 echo "$as_me:$LINENO: checking for struct statvfs.f_namemax" >&5
18574 echo $ECHO_N "checking for struct statvfs.f_namemax... $ECHO_C" >&6
18575 if test "${ac_cv_member_struct_statvfs_f_namemax+set}" = set; then
18576 echo $ECHO_N "(cached) $ECHO_C" >&6
18578 cat >conftest.
$ac_ext <<_ACEOF
18579 #line $LINENO "configure"
18582 cat confdefs.h
>>conftest.
$ac_ext
18583 cat >>conftest.
$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18590 static struct statvfs ac_aggr;
18591 if (ac_aggr.f_namemax)
18597 rm -f conftest.
$ac_objext
18598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18599 (eval $ac_compile) 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); } &&
18603 { ac_try
='test -s conftest.$ac_objext'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; }; then
18609 ac_cv_member_struct_statvfs_f_namemax
=yes
18611 echo "$as_me: failed program was:" >&5
18612 sed 's/^/| /' conftest.
$ac_ext >&5
18614 cat >conftest.
$ac_ext <<_ACEOF
18615 #line $LINENO "configure"
18618 cat confdefs.h
>>conftest.
$ac_ext
18619 cat >>conftest.
$ac_ext <<_ACEOF
18620 /* end confdefs.h. */
18626 static struct statvfs ac_aggr;
18627 if (sizeof ac_aggr.f_namemax)
18633 rm -f conftest.
$ac_objext
18634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18635 (eval $ac_compile) 2>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } &&
18639 { ac_try
='test -s conftest.$ac_objext'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; }; then
18645 ac_cv_member_struct_statvfs_f_namemax
=yes
18647 echo "$as_me: failed program was:" >&5
18648 sed 's/^/| /' conftest.
$ac_ext >&5
18650 ac_cv_member_struct_statvfs_f_namemax
=no
18652 rm -f conftest.
$ac_objext conftest.
$ac_ext
18654 rm -f conftest.
$ac_objext conftest.
$ac_ext
18656 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_namemax" >&5
18657 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_namemax" >&6
18658 if test $ac_cv_member_struct_statvfs_f_namemax = yes; then
18660 cat >>confdefs.h
<<_ACEOF
18661 #define HAVE_STRUCT_STATVFS_F_NAMEMAX 1
18667 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18668 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18669 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18670 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 cat >conftest.
$ac_ext <<_ACEOF
18673 #line $LINENO "configure"
18676 cat confdefs.h
>>conftest.
$ac_ext
18677 cat >>conftest.
$ac_ext <<_ACEOF
18678 /* end confdefs.h. */
18684 static struct statfs ac_aggr;
18685 if (ac_aggr.f_namelen)
18691 rm -f conftest.
$ac_objext
18692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18693 (eval $ac_compile) 2>&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } &&
18697 { ac_try
='test -s conftest.$ac_objext'
18698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18699 (eval $ac_try) 2>&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); }; }; then
18703 ac_cv_member_struct_statfs_f_namelen
=yes
18705 echo "$as_me: failed program was:" >&5
18706 sed 's/^/| /' conftest.
$ac_ext >&5
18708 cat >conftest.
$ac_ext <<_ACEOF
18709 #line $LINENO "configure"
18712 cat confdefs.h
>>conftest.
$ac_ext
18713 cat >>conftest.
$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18720 static struct statfs ac_aggr;
18721 if (sizeof ac_aggr.f_namelen)
18727 rm -f conftest.
$ac_objext
18728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18729 (eval $ac_compile) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); } &&
18733 { ac_try
='test -s conftest.$ac_objext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18739 ac_cv_member_struct_statfs_f_namelen
=yes
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.
$ac_ext >&5
18744 ac_cv_member_struct_statfs_f_namelen
=no
18746 rm -f conftest.
$ac_objext conftest.
$ac_ext
18748 rm -f conftest.
$ac_objext conftest.
$ac_ext
18750 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18751 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18752 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18754 cat >>confdefs.h
<<_ACEOF
18755 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18761 echo "$as_me:$LINENO: checking for struct statvfs.f_namelen" >&5
18762 echo $ECHO_N "checking for struct statvfs.f_namelen... $ECHO_C" >&6
18763 if test "${ac_cv_member_struct_statvfs_f_namelen+set}" = set; then
18764 echo $ECHO_N "(cached) $ECHO_C" >&6
18766 cat >conftest.
$ac_ext <<_ACEOF
18767 #line $LINENO "configure"
18770 cat confdefs.h
>>conftest.
$ac_ext
18771 cat >>conftest.
$ac_ext <<_ACEOF
18772 /* end confdefs.h. */
18778 static struct statvfs ac_aggr;
18779 if (ac_aggr.f_namelen)
18785 rm -f conftest.
$ac_objext
18786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18787 (eval $ac_compile) 2>&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); } &&
18791 { ac_try
='test -s conftest.$ac_objext'
18792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18793 (eval $ac_try) 2>&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); }; }; then
18797 ac_cv_member_struct_statvfs_f_namelen
=yes
18799 echo "$as_me: failed program was:" >&5
18800 sed 's/^/| /' conftest.
$ac_ext >&5
18802 cat >conftest.
$ac_ext <<_ACEOF
18803 #line $LINENO "configure"
18806 cat confdefs.h
>>conftest.
$ac_ext
18807 cat >>conftest.
$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18814 static struct statvfs ac_aggr;
18815 if (sizeof ac_aggr.f_namelen)
18821 rm -f conftest.
$ac_objext
18822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18823 (eval $ac_compile) 2>&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); } &&
18827 { ac_try
='test -s conftest.$ac_objext'
18828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18829 (eval $ac_try) 2>&5
18831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832 (exit $ac_status); }; }; then
18833 ac_cv_member_struct_statvfs_f_namelen
=yes
18835 echo "$as_me: failed program was:" >&5
18836 sed 's/^/| /' conftest.
$ac_ext >&5
18838 ac_cv_member_struct_statvfs_f_namelen
=no
18840 rm -f conftest.
$ac_objext conftest.
$ac_ext
18842 rm -f conftest.
$ac_objext conftest.
$ac_ext
18844 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_namelen" >&5
18845 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_namelen" >&6
18846 if test $ac_cv_member_struct_statvfs_f_namelen = yes; then
18848 cat >>confdefs.h
<<_ACEOF
18849 #define HAVE_STRUCT_STATVFS_F_NAMELEN 1
18856 echo "$as_me:$LINENO: checking for working strnlen" >&5
18857 echo $ECHO_N "checking for working strnlen... $ECHO_C" >&6
18858 if test "${ac_cv_func_strnlen_working+set}" = set; then
18859 echo $ECHO_N "(cached) $ECHO_C" >&6
18861 if test "$cross_compiling" = yes; then
18862 ac_cv_func_strnlen_working
=no
18864 cat >conftest.
$ac_ext <<_ACEOF
18865 #line $LINENO "configure"
18868 cat confdefs.h
>>conftest.
$ac_ext
18869 cat >>conftest.
$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18877 #define S_LEN (sizeof S - 1)
18879 /* At least one implementation is buggy: that of AIX 4.3 would
18880 give strnlen (S, 1) == 3. */
18883 for (i = 0; i < S_LEN + 1; ++i)
18885 int expected = i <= S_LEN ? i : S_LEN;
18886 if (strnlen (S, i) != expected)
18895 rm -f conftest
$ac_exeext
18896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18897 (eval $ac_link) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; }; then
18906 ac_cv_func_strnlen_working
=yes
18908 echo "$as_me: program exited with status $ac_status" >&5
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.
$ac_ext >&5
18912 ( exit $ac_status )
18913 ac_cv_func_strnlen_working
=no
18915 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18918 echo "$as_me:$LINENO: result: $ac_cv_func_strnlen_working" >&5
18919 echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6
18920 test $ac_cv_func_strnlen_working = no
&& LIBOBJS
="$LIBOBJS strnlen.$ac_objext"
18926 for ac_header
in memory.h
18928 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18930 echo "$as_me:$LINENO: checking for $ac_header" >&5
18931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18933 echo $ECHO_N "(cached) $ECHO_C" >&6
18935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18938 # Is the header compilable?
18939 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18940 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18941 cat >conftest.
$ac_ext <<_ACEOF
18942 #line $LINENO "configure"
18945 cat confdefs.h
>>conftest.
$ac_ext
18946 cat >>conftest.
$ac_ext <<_ACEOF
18947 /* end confdefs.h. */
18948 $ac_includes_default
18949 #include <$ac_header>
18951 rm -f conftest.
$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } &&
18957 { ac_try
='test -s conftest.$ac_objext'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; }; then
18963 ac_header_compiler
=yes
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.
$ac_ext >&5
18968 ac_header_compiler
=no
18970 rm -f conftest.
$ac_objext conftest.
$ac_ext
18971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18972 echo "${ECHO_T}$ac_header_compiler" >&6
18974 # Is the header present?
18975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18977 cat >conftest.
$ac_ext <<_ACEOF
18978 #line $LINENO "configure"
18981 cat confdefs.h
>>conftest.
$ac_ext
18982 cat >>conftest.
$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18984 #include <$ac_header>
18986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18987 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18989 grep -v '^ *+' conftest.er1
>conftest.err
18991 cat conftest.err
>&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); } >/dev
/null
; then
18994 if test -s conftest.err
; then
18995 ac_cpp_err
=$ac_c_preproc_warn_flag
19002 if test -z "$ac_cpp_err"; then
19003 ac_header_preproc
=yes
19005 echo "$as_me: failed program was:" >&5
19006 sed 's/^/| /' conftest.
$ac_ext >&5
19008 ac_header_preproc
=no
19010 rm -f conftest.err conftest.
$ac_ext
19011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19012 echo "${ECHO_T}$ac_header_preproc" >&6
19014 # So? What about this header?
19015 case $ac_header_compiler:$ac_header_preproc in
19017 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19020 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19023 ## ------------------------------------ ##
19024 ## Report this to bug-autoconf@gnu.org. ##
19025 ## ------------------------------------ ##
19028 sed "s/^/$as_me: WARNING: /" >&2
19031 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19032 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19033 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19034 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19039 ## ------------------------------------ ##
19040 ## Report this to bug-autoconf@gnu.org. ##
19041 ## ------------------------------------ ##
19044 sed "s/^/$as_me: WARNING: /" >&2
19047 echo "$as_me:$LINENO: checking for $ac_header" >&5
19048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19050 echo $ECHO_N "(cached) $ECHO_C" >&6
19052 eval "$as_ac_Header=$ac_header_preproc"
19054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19059 cat >>confdefs.h
<<_ACEOF
19060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19067 echo "$as_me:$LINENO: checking whether memchr is declared" >&5
19068 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
19069 if test "${ac_cv_have_decl_memchr+set}" = set; then
19070 echo $ECHO_N "(cached) $ECHO_C" >&6
19072 cat >conftest.
$ac_ext <<_ACEOF
19073 #line $LINENO "configure"
19076 cat confdefs.h
>>conftest.
$ac_ext
19077 cat >>conftest.
$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 $ac_includes_default
19084 char *p = (char *) memchr;
19091 rm -f conftest.
$ac_objext
19092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19093 (eval $ac_compile) 2>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } &&
19097 { ac_try
='test -s conftest.$ac_objext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19103 ac_cv_have_decl_memchr
=yes
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.
$ac_ext >&5
19108 ac_cv_have_decl_memchr
=no
19110 rm -f conftest.
$ac_objext conftest.
$ac_ext
19112 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memchr" >&5
19113 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
19114 if test $ac_cv_have_decl_memchr = yes; then
19116 cat >>confdefs.h
<<_ACEOF
19117 #define HAVE_DECL_MEMCHR 1
19122 cat >>confdefs.h
<<_ACEOF
19123 #define HAVE_DECL_MEMCHR 0
19131 # This is necessary because automake-1.6.1 doesn't understand
19132 # that the above use of AC_FUNC_STRNLEN means we may have to use
19134 test $ac_cv_func_strnlen_working = yes \
19135 && LIBOBJS
="$LIBOBJS strnlen.$ac_objext"
19144 for ac_header
in fcntl.h sys
/time.h stdint.h unistd.h
19146 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19148 echo "$as_me:$LINENO: checking for $ac_header" >&5
19149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19151 echo $ECHO_N "(cached) $ECHO_C" >&6
19153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19156 # Is the header compilable?
19157 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19158 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19159 cat >conftest.
$ac_ext <<_ACEOF
19160 #line $LINENO "configure"
19163 cat confdefs.h
>>conftest.
$ac_ext
19164 cat >>conftest.
$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166 $ac_includes_default
19167 #include <$ac_header>
19169 rm -f conftest.
$ac_objext
19170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19171 (eval $ac_compile) 2>&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); } &&
19175 { ac_try
='test -s conftest.$ac_objext'
19176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19177 (eval $ac_try) 2>&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); }; }; then
19181 ac_header_compiler
=yes
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.
$ac_ext >&5
19186 ac_header_compiler
=no
19188 rm -f conftest.
$ac_objext conftest.
$ac_ext
19189 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19190 echo "${ECHO_T}$ac_header_compiler" >&6
19192 # Is the header present?
19193 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19194 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19195 cat >conftest.
$ac_ext <<_ACEOF
19196 #line $LINENO "configure"
19199 cat confdefs.h
>>conftest.
$ac_ext
19200 cat >>conftest.
$ac_ext <<_ACEOF
19201 /* end confdefs.h. */
19202 #include <$ac_header>
19204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19207 grep -v '^ *+' conftest.er1
>conftest.err
19209 cat conftest.err
>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); } >/dev
/null
; then
19212 if test -s conftest.err
; then
19213 ac_cpp_err
=$ac_c_preproc_warn_flag
19220 if test -z "$ac_cpp_err"; then
19221 ac_header_preproc
=yes
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.
$ac_ext >&5
19226 ac_header_preproc
=no
19228 rm -f conftest.err conftest.
$ac_ext
19229 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19230 echo "${ECHO_T}$ac_header_preproc" >&6
19232 # So? What about this header?
19233 case $ac_header_compiler:$ac_header_preproc in
19235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19238 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19241 ## ------------------------------------ ##
19242 ## Report this to bug-autoconf@gnu.org. ##
19243 ## ------------------------------------ ##
19246 sed "s/^/$as_me: WARNING: /" >&2
19249 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19250 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19251 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19252 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19257 ## ------------------------------------ ##
19258 ## Report this to bug-autoconf@gnu.org. ##
19259 ## ------------------------------------ ##
19262 sed "s/^/$as_me: WARNING: /" >&2
19265 echo "$as_me:$LINENO: checking for $ac_header" >&5
19266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19268 echo $ECHO_N "(cached) $ECHO_C" >&6
19270 eval "$as_ac_Header=$ac_header_preproc"
19272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19277 cat >>confdefs.h
<<_ACEOF
19278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19287 for ac_func
in __secure_getenv gettimeofday
19289 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19290 echo "$as_me:$LINENO: checking for $ac_func" >&5
19291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19292 if eval "test \"\${$as_ac_var+set}\" = set"; then
19293 echo $ECHO_N "(cached) $ECHO_C" >&6
19295 cat >conftest.
$ac_ext <<_ACEOF
19296 #line $LINENO "configure"
19299 cat confdefs.h
>>conftest.
$ac_ext
19300 cat >>conftest.
$ac_ext <<_ACEOF
19301 /* end confdefs.h. */
19302 /* System header to define __stub macros and hopefully few prototypes,
19303 which can conflict with char $ac_func (); below.
19304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19305 <limits.h> exists even on freestanding compilers. */
19307 # include <limits.h>
19309 # include <assert.h>
19311 /* Override any gcc2 internal prototype to avoid an error. */
19316 /* We use char because int might match the return type of a gcc2
19317 builtin and then its argument prototype would still apply. */
19319 /* The GNU C library defines this for functions which it implements
19320 to always fail with ENOSYS. Some functions are actually named
19321 something starting with __ and the normal name is an alias. */
19322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19325 char (*f) () = $ac_func;
19334 return f != $ac_func;
19339 rm -f conftest.
$ac_objext conftest
$ac_exeext
19340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19341 (eval $ac_link) 2>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } &&
19345 { ac_try
='test -s conftest$ac_exeext'
19346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19347 (eval $ac_try) 2>&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); }; }; then
19351 eval "$as_ac_var=yes"
19353 echo "$as_me: failed program was:" >&5
19354 sed 's/^/| /' conftest.
$ac_ext >&5
19356 eval "$as_ac_var=no"
19358 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19362 if test `eval echo '${'$as_ac_var'}'` = yes; then
19363 cat >>confdefs.h
<<_ACEOF
19364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19370 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
19371 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
19372 if test "${ac_cv_have_decl_getenv+set}" = set; then
19373 echo $ECHO_N "(cached) $ECHO_C" >&6
19375 cat >conftest.
$ac_ext <<_ACEOF
19376 #line $LINENO "configure"
19379 cat confdefs.h
>>conftest.
$ac_ext
19380 cat >>conftest.
$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 $ac_includes_default
19387 char *p = (char *) getenv;
19394 rm -f conftest.
$ac_objext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } &&
19400 { ac_try
='test -s conftest.$ac_objext'
19401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19402 (eval $ac_try) 2>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); }; }; then
19406 ac_cv_have_decl_getenv
=yes
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.
$ac_ext >&5
19411 ac_cv_have_decl_getenv
=no
19413 rm -f conftest.
$ac_objext conftest.
$ac_ext
19415 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
19416 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
19417 if test $ac_cv_have_decl_getenv = yes; then
19419 cat >>confdefs.h
<<_ACEOF
19420 #define HAVE_DECL_GETENV 1
19425 cat >>confdefs.h
<<_ACEOF
19426 #define HAVE_DECL_GETENV 0
19435 echo "$as_me:$LINENO: checking for function prototypes" >&5
19436 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
19437 if test "$ac_cv_prog_cc_stdc" != no
; then
19438 echo "$as_me:$LINENO: result: yes" >&5
19439 echo "${ECHO_T}yes" >&6
19441 cat >>confdefs.h
<<\_ACEOF
19442 #define PROTOTYPES 1
19446 cat >>confdefs.h
<<\_ACEOF
19447 #define __PROTOTYPES 1
19451 echo "$as_me:$LINENO: result: no" >&5
19452 echo "${ECHO_T}no" >&6
19457 for ac_header
in stdlib.h unistd.h
19459 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19461 echo "$as_me:$LINENO: checking for $ac_header" >&5
19462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19464 echo $ECHO_N "(cached) $ECHO_C" >&6
19466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19469 # Is the header compilable?
19470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19472 cat >conftest.
$ac_ext <<_ACEOF
19473 #line $LINENO "configure"
19476 cat confdefs.h
>>conftest.
$ac_ext
19477 cat >>conftest.
$ac_ext <<_ACEOF
19478 /* end confdefs.h. */
19479 $ac_includes_default
19480 #include <$ac_header>
19482 rm -f conftest.
$ac_objext
19483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19484 (eval $ac_compile) 2>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } &&
19488 { ac_try
='test -s conftest.$ac_objext'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; }; then
19494 ac_header_compiler
=yes
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.
$ac_ext >&5
19499 ac_header_compiler
=no
19501 rm -f conftest.
$ac_objext conftest.
$ac_ext
19502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19503 echo "${ECHO_T}$ac_header_compiler" >&6
19505 # Is the header present?
19506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19508 cat >conftest.
$ac_ext <<_ACEOF
19509 #line $LINENO "configure"
19512 cat confdefs.h
>>conftest.
$ac_ext
19513 cat >>conftest.
$ac_ext <<_ACEOF
19514 /* end confdefs.h. */
19515 #include <$ac_header>
19517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19518 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19520 grep -v '^ *+' conftest.er1
>conftest.err
19522 cat conftest.err
>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } >/dev
/null
; then
19525 if test -s conftest.err
; then
19526 ac_cpp_err
=$ac_c_preproc_warn_flag
19533 if test -z "$ac_cpp_err"; then
19534 ac_header_preproc
=yes
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.
$ac_ext >&5
19539 ac_header_preproc
=no
19541 rm -f conftest.err conftest.
$ac_ext
19542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19543 echo "${ECHO_T}$ac_header_preproc" >&6
19545 # So? What about this header?
19546 case $ac_header_compiler:$ac_header_preproc in
19548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19554 ## ------------------------------------ ##
19555 ## Report this to bug-autoconf@gnu.org. ##
19556 ## ------------------------------------ ##
19559 sed "s/^/$as_me: WARNING: /" >&2
19562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19570 ## ------------------------------------ ##
19571 ## Report this to bug-autoconf@gnu.org. ##
19572 ## ------------------------------------ ##
19575 sed "s/^/$as_me: WARNING: /" >&2
19578 echo "$as_me:$LINENO: checking for $ac_header" >&5
19579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19581 echo $ECHO_N "(cached) $ECHO_C" >&6
19583 eval "$as_ac_Header=$ac_header_preproc"
19585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19590 cat >>confdefs.h
<<_ACEOF
19591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19598 echo "$as_me:$LINENO: checking whether getcwd (NULL, 0) allocates memory for result" >&5
19599 echo $ECHO_N "checking whether getcwd (NULL, 0) allocates memory for result... $ECHO_C" >&6
19600 if test "${ac_cv_func_getcwd_null+set}" = set; then
19601 echo $ECHO_N "(cached) $ECHO_C" >&6
19603 if test "$cross_compiling" = yes; then
19604 ac_cv_func_getcwd_null
=no
19606 cat >conftest.
$ac_ext <<_ACEOF
19607 #line $LINENO "configure"
19610 cat confdefs.h
>>conftest.
$ac_ext
19611 cat >>conftest.
$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19614 # ifdef HAVE_STDLIB_H
19615 # include <stdlib.h>
19617 # ifdef HAVE_UNISTD_H
19618 # include <unistd.h>
19626 if (chdir ("/") != 0)
19630 char *f = getcwd (NULL, 0);
19631 exit (! (f && f[0] == '/' && !f[1]));
19635 rm -f conftest
$ac_exeext
19636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19637 (eval $ac_link) 2>&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; }; then
19646 ac_cv_func_getcwd_null
=yes
19648 echo "$as_me: program exited with status $ac_status" >&5
19649 echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.
$ac_ext >&5
19652 ( exit $ac_status )
19653 ac_cv_func_getcwd_null
=no
19655 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19658 echo "$as_me:$LINENO: result: $ac_cv_func_getcwd_null" >&5
19659 echo "${ECHO_T}$ac_cv_func_getcwd_null" >&6
19660 if test $ac_cv_func_getcwd_null = yes; then
19662 cat >>confdefs.h
<<\_ACEOF
19663 #define HAVE_GETCWD_NULL 1
19673 for ac_header
in limits.h stdlib.h sys
/param.h unistd.h
19675 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19677 echo "$as_me:$LINENO: checking for $ac_header" >&5
19678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19680 echo $ECHO_N "(cached) $ECHO_C" >&6
19682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19685 # Is the header compilable?
19686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19688 cat >conftest.
$ac_ext <<_ACEOF
19689 #line $LINENO "configure"
19692 cat confdefs.h
>>conftest.
$ac_ext
19693 cat >>conftest.
$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 $ac_includes_default
19696 #include <$ac_header>
19698 rm -f conftest.
$ac_objext
19699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19700 (eval $ac_compile) 2>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } &&
19704 { ac_try
='test -s conftest.$ac_objext'
19705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19706 (eval $ac_try) 2>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); }; }; then
19710 ac_header_compiler
=yes
19712 echo "$as_me: failed program was:" >&5
19713 sed 's/^/| /' conftest.
$ac_ext >&5
19715 ac_header_compiler
=no
19717 rm -f conftest.
$ac_objext conftest.
$ac_ext
19718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19719 echo "${ECHO_T}$ac_header_compiler" >&6
19721 # Is the header present?
19722 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19723 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19724 cat >conftest.
$ac_ext <<_ACEOF
19725 #line $LINENO "configure"
19728 cat confdefs.h
>>conftest.
$ac_ext
19729 cat >>conftest.
$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19731 #include <$ac_header>
19733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19736 grep -v '^ *+' conftest.er1
>conftest.err
19738 cat conftest.err
>&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); } >/dev
/null
; then
19741 if test -s conftest.err
; then
19742 ac_cpp_err
=$ac_c_preproc_warn_flag
19749 if test -z "$ac_cpp_err"; then
19750 ac_header_preproc
=yes
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.
$ac_ext >&5
19755 ac_header_preproc
=no
19757 rm -f conftest.err conftest.
$ac_ext
19758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19759 echo "${ECHO_T}$ac_header_preproc" >&6
19761 # So? What about this header?
19762 case $ac_header_compiler:$ac_header_preproc in
19764 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19765 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19767 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19770 ## ------------------------------------ ##
19771 ## Report this to bug-autoconf@gnu.org. ##
19772 ## ------------------------------------ ##
19775 sed "s/^/$as_me: WARNING: /" >&2
19778 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19779 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19780 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19781 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19786 ## ------------------------------------ ##
19787 ## Report this to bug-autoconf@gnu.org. ##
19788 ## ------------------------------------ ##
19791 sed "s/^/$as_me: WARNING: /" >&2
19794 echo "$as_me:$LINENO: checking for $ac_header" >&5
19795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19797 echo $ECHO_N "(cached) $ECHO_C" >&6
19799 eval "$as_ac_Header=$ac_header_preproc"
19801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19806 cat >>confdefs.h
<<_ACEOF
19807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19815 for ac_func
in getcwd
19817 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19818 echo "$as_me:$LINENO: checking for $ac_func" >&5
19819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19820 if eval "test \"\${$as_ac_var+set}\" = set"; then
19821 echo $ECHO_N "(cached) $ECHO_C" >&6
19823 cat >conftest.
$ac_ext <<_ACEOF
19824 #line $LINENO "configure"
19827 cat confdefs.h
>>conftest.
$ac_ext
19828 cat >>conftest.
$ac_ext <<_ACEOF
19829 /* end confdefs.h. */
19830 /* System header to define __stub macros and hopefully few prototypes,
19831 which can conflict with char $ac_func (); below.
19832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19833 <limits.h> exists even on freestanding compilers. */
19835 # include <limits.h>
19837 # include <assert.h>
19839 /* Override any gcc2 internal prototype to avoid an error. */
19844 /* We use char because int might match the return type of a gcc2
19845 builtin and then its argument prototype would still apply. */
19847 /* The GNU C library defines this for functions which it implements
19848 to always fail with ENOSYS. Some functions are actually named
19849 something starting with __ and the normal name is an alias. */
19850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19853 char (*f) () = $ac_func;
19862 return f != $ac_func;
19867 rm -f conftest.
$ac_objext conftest
$ac_exeext
19868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19869 (eval $ac_link) 2>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } &&
19873 { ac_try
='test -s conftest$ac_exeext'
19874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19875 (eval $ac_try) 2>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); }; }; then
19879 eval "$as_ac_var=yes"
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.
$ac_ext >&5
19884 eval "$as_ac_var=no"
19886 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19890 if test `eval echo '${'$as_ac_var'}'` = yes; then
19891 cat >>confdefs.h
<<_ACEOF
19892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19906 for ac_header
in limits.h stdlib.h sys
/types.h unistd.h
19908 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19910 echo "$as_me:$LINENO: checking for $ac_header" >&5
19911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19913 echo $ECHO_N "(cached) $ECHO_C" >&6
19915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19918 # Is the header compilable?
19919 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19920 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19921 cat >conftest.
$ac_ext <<_ACEOF
19922 #line $LINENO "configure"
19925 cat confdefs.h
>>conftest.
$ac_ext
19926 cat >>conftest.
$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 $ac_includes_default
19929 #include <$ac_header>
19931 rm -f conftest.
$ac_objext
19932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19933 (eval $ac_compile) 2>&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } &&
19937 { ac_try
='test -s conftest.$ac_objext'
19938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19939 (eval $ac_try) 2>&5
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); }; }; then
19943 ac_header_compiler
=yes
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.
$ac_ext >&5
19948 ac_header_compiler
=no
19950 rm -f conftest.
$ac_objext conftest.
$ac_ext
19951 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19952 echo "${ECHO_T}$ac_header_compiler" >&6
19954 # Is the header present?
19955 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19956 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19957 cat >conftest.
$ac_ext <<_ACEOF
19958 #line $LINENO "configure"
19961 cat confdefs.h
>>conftest.
$ac_ext
19962 cat >>conftest.
$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 #include <$ac_header>
19966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19969 grep -v '^ *+' conftest.er1
>conftest.err
19971 cat conftest.err
>&5
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); } >/dev
/null
; then
19974 if test -s conftest.err
; then
19975 ac_cpp_err
=$ac_c_preproc_warn_flag
19982 if test -z "$ac_cpp_err"; then
19983 ac_header_preproc
=yes
19985 echo "$as_me: failed program was:" >&5
19986 sed 's/^/| /' conftest.
$ac_ext >&5
19988 ac_header_preproc
=no
19990 rm -f conftest.err conftest.
$ac_ext
19991 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19992 echo "${ECHO_T}$ac_header_preproc" >&6
19994 # So? What about this header?
19995 case $ac_header_compiler:$ac_header_preproc in
19997 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19998 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20000 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20003 ## ------------------------------------ ##
20004 ## Report this to bug-autoconf@gnu.org. ##
20005 ## ------------------------------------ ##
20008 sed "s/^/$as_me: WARNING: /" >&2
20011 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20012 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20013 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20014 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20016 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20019 ## ------------------------------------ ##
20020 ## Report this to bug-autoconf@gnu.org. ##
20021 ## ------------------------------------ ##
20024 sed "s/^/$as_me: WARNING: /" >&2
20027 echo "$as_me:$LINENO: checking for $ac_header" >&5
20028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20030 echo $ECHO_N "(cached) $ECHO_C" >&6
20032 eval "$as_ac_Header=$ac_header_preproc"
20034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20039 cat >>confdefs.h
<<_ACEOF
20040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20067 # called by mkstemp
20080 ac_header_dirent
=no
20081 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
20082 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20083 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
20084 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
20085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20086 echo $ECHO_N "(cached) $ECHO_C" >&6
20088 cat >conftest.
$ac_ext <<_ACEOF
20089 #line $LINENO "configure"
20092 cat confdefs.h
>>conftest.
$ac_ext
20093 cat >>conftest.
$ac_ext <<_ACEOF
20094 /* end confdefs.h. */
20095 #include <sys/types.h>
20107 rm -f conftest.
$ac_objext
20108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20109 (eval $ac_compile) 2>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } &&
20113 { ac_try
='test -s conftest.$ac_objext'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; }; then
20119 eval "$as_ac_Header=yes"
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.
$ac_ext >&5
20124 eval "$as_ac_Header=no"
20126 rm -f conftest.
$ac_objext conftest.
$ac_ext
20128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20131 cat >>confdefs.h
<<_ACEOF
20132 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20135 ac_header_dirent
=$ac_hdr; break
20139 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20140 if test $ac_header_dirent = dirent.h
; then
20142 echo "$as_me:$LINENO: checking for library containing opendir" >&5
20143 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
20144 if test "${ac_cv_search_opendir+set}" = set; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20148 ac_func_search_save_LIBS
=$LIBS
20149 ac_cv_search_opendir
=no
20150 cat >conftest.
$ac_ext <<_ACEOF
20151 #line $LINENO "configure"
20154 cat confdefs.h
>>conftest.
$ac_ext
20155 cat >>conftest.
$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20158 /* Override any gcc2 internal prototype to avoid an error. */
20162 /* We use char because int might match the return type of a gcc2
20163 builtin and then its argument prototype would still apply. */
20173 rm -f conftest.
$ac_objext conftest
$ac_exeext
20174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20175 (eval $ac_link) 2>&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); } &&
20179 { ac_try
='test -s conftest$ac_exeext'
20180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20181 (eval $ac_try) 2>&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); }; }; then
20185 ac_cv_search_opendir
='none required'
20187 echo "$as_me: failed program was:" >&5
20188 sed 's/^/| /' conftest.
$ac_ext >&5
20191 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20192 if test "$ac_cv_search_opendir" = no
; then
20193 for ac_lib
in dir
; do
20194 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20195 cat >conftest.
$ac_ext <<_ACEOF
20196 #line $LINENO "configure"
20199 cat confdefs.h
>>conftest.
$ac_ext
20200 cat >>conftest.
$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20203 /* Override any gcc2 internal prototype to avoid an error. */
20207 /* We use char because int might match the return type of a gcc2
20208 builtin and then its argument prototype would still apply. */
20218 rm -f conftest.
$ac_objext conftest
$ac_exeext
20219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20220 (eval $ac_link) 2>&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } &&
20224 { ac_try
='test -s conftest$ac_exeext'
20225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20226 (eval $ac_try) 2>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); }; }; then
20230 ac_cv_search_opendir
="-l$ac_lib"; break
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.
$ac_ext >&5
20236 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20239 LIBS
=$ac_func_search_save_LIBS
20242 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20243 echo "${ECHO_T}$ac_cv_search_opendir" >&6
20245 if test "$ac_cv_search_opendir" = no
; then :
20248 if test "$ac_cv_search_opendir" = 'none required'; then :
20251 LIBS
="$ac_cv_search_opendir $LIBS"
20258 echo "$as_me:$LINENO: checking for library containing opendir" >&5
20259 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
20260 if test "${ac_cv_search_opendir+set}" = set; then
20261 echo $ECHO_N "(cached) $ECHO_C" >&6
20264 ac_func_search_save_LIBS
=$LIBS
20265 ac_cv_search_opendir
=no
20266 cat >conftest.
$ac_ext <<_ACEOF
20267 #line $LINENO "configure"
20270 cat confdefs.h
>>conftest.
$ac_ext
20271 cat >>conftest.
$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20274 /* Override any gcc2 internal prototype to avoid an error. */
20278 /* We use char because int might match the return type of a gcc2
20279 builtin and then its argument prototype would still apply. */
20289 rm -f conftest.
$ac_objext conftest
$ac_exeext
20290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20291 (eval $ac_link) 2>&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); } &&
20295 { ac_try
='test -s conftest$ac_exeext'
20296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20297 (eval $ac_try) 2>&5
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); }; }; then
20301 ac_cv_search_opendir
='none required'
20303 echo "$as_me: failed program was:" >&5
20304 sed 's/^/| /' conftest.
$ac_ext >&5
20307 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20308 if test "$ac_cv_search_opendir" = no
; then
20309 for ac_lib
in x
; do
20310 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20311 cat >conftest.
$ac_ext <<_ACEOF
20312 #line $LINENO "configure"
20315 cat confdefs.h
>>conftest.
$ac_ext
20316 cat >>conftest.
$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20319 /* Override any gcc2 internal prototype to avoid an error. */
20323 /* We use char because int might match the return type of a gcc2
20324 builtin and then its argument prototype would still apply. */
20334 rm -f conftest.
$ac_objext conftest
$ac_exeext
20335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20336 (eval $ac_link) 2>&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } &&
20340 { ac_try
='test -s conftest$ac_exeext'
20341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20342 (eval $ac_try) 2>&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); }; }; then
20346 ac_cv_search_opendir
="-l$ac_lib"; break
20348 echo "$as_me: failed program was:" >&5
20349 sed 's/^/| /' conftest.
$ac_ext >&5
20352 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20355 LIBS
=$ac_func_search_save_LIBS
20358 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20359 echo "${ECHO_T}$ac_cv_search_opendir" >&6
20361 if test "$ac_cv_search_opendir" = no
; then :
20364 if test "$ac_cv_search_opendir" = 'none required'; then :
20367 LIBS
="$ac_cv_search_opendir $LIBS"
20376 # include <dirent.h>
20377 #else /* not HAVE_DIRENT_H */
20378 # define dirent direct
20379 # if HAVE_SYS_NDIR_H
20380 # include <sys/ndir.h>
20381 # endif /* HAVE_SYS_NDIR_H */
20382 # if HAVE_SYS_DIR_H
20383 # include <sys/dir.h>
20384 # endif /* HAVE_SYS_DIR_H */
20387 # endif /* HAVE_NDIR_H */
20388 #endif /* HAVE_DIRENT_H */
20391 for ac_func
in dirfd
20393 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20394 echo "$as_me:$LINENO: checking for $ac_func" >&5
20395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20396 if eval "test \"\${$as_ac_var+set}\" = set"; then
20397 echo $ECHO_N "(cached) $ECHO_C" >&6
20399 cat >conftest.
$ac_ext <<_ACEOF
20400 #line $LINENO "configure"
20403 cat confdefs.h
>>conftest.
$ac_ext
20404 cat >>conftest.
$ac_ext <<_ACEOF
20405 /* end confdefs.h. */
20406 /* System header to define __stub macros and hopefully few prototypes,
20407 which can conflict with char $ac_func (); below.
20408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20409 <limits.h> exists even on freestanding compilers. */
20411 # include <limits.h>
20413 # include <assert.h>
20415 /* Override any gcc2 internal prototype to avoid an error. */
20420 /* We use char because int might match the return type of a gcc2
20421 builtin and then its argument prototype would still apply. */
20423 /* The GNU C library defines this for functions which it implements
20424 to always fail with ENOSYS. Some functions are actually named
20425 something starting with __ and the normal name is an alias. */
20426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20429 char (*f) () = $ac_func;
20438 return f != $ac_func;
20443 rm -f conftest.
$ac_objext conftest
$ac_exeext
20444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20445 (eval $ac_link) 2>&5
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); } &&
20449 { ac_try
='test -s conftest$ac_exeext'
20450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20451 (eval $ac_try) 2>&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); }; }; then
20455 eval "$as_ac_var=yes"
20457 echo "$as_me: failed program was:" >&5
20458 sed 's/^/| /' conftest.
$ac_ext >&5
20460 eval "$as_ac_var=no"
20462 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20466 if test `eval echo '${'$as_ac_var'}'` = yes; then
20467 cat >>confdefs.h
<<_ACEOF
20468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20474 echo "$as_me:$LINENO: checking whether dirfd is declared" >&5
20475 echo $ECHO_N "checking whether dirfd is declared... $ECHO_C" >&6
20476 if test "${ac_cv_have_decl_dirfd+set}" = set; then
20477 echo $ECHO_N "(cached) $ECHO_C" >&6
20479 cat >conftest.
$ac_ext <<_ACEOF
20480 #line $LINENO "configure"
20483 cat confdefs.h
>>conftest.
$ac_ext
20484 cat >>conftest.
$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20492 char *p = (char *) dirfd;
20499 rm -f conftest.
$ac_objext
20500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20501 (eval $ac_compile) 2>&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); } &&
20505 { ac_try
='test -s conftest.$ac_objext'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; }; then
20511 ac_cv_have_decl_dirfd
=yes
20513 echo "$as_me: failed program was:" >&5
20514 sed 's/^/| /' conftest.
$ac_ext >&5
20516 ac_cv_have_decl_dirfd
=no
20518 rm -f conftest.
$ac_objext conftest.
$ac_ext
20520 echo "$as_me:$LINENO: result: $ac_cv_have_decl_dirfd" >&5
20521 echo "${ECHO_T}$ac_cv_have_decl_dirfd" >&6
20522 if test $ac_cv_have_decl_dirfd = yes; then
20524 cat >>confdefs.h
<<_ACEOF
20525 #define HAVE_DECL_DIRFD 1
20530 cat >>confdefs.h
<<_ACEOF
20531 #define HAVE_DECL_DIRFD 0
20539 echo "$as_me:$LINENO: checking whether dirfd is a macro" >&5
20540 echo $ECHO_N "checking whether dirfd is a macro... $ECHO_C" >&6
20541 if test "${jm_cv_func_dirfd_macro+set}" = set; then
20542 echo $ECHO_N "(cached) $ECHO_C" >&6
20544 cat >conftest.
$ac_ext <<_ACEOF
20545 #line $LINENO "configure"
20548 cat confdefs.h
>>conftest.
$ac_ext
20549 cat >>conftest.
$ac_ext <<_ACEOF
20550 /* end confdefs.h. */
20553 dirent_header_defines_dirfd
20556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20557 $EGREP "dirent_header_defines_dirfd" >/dev
/null
2>&1; then
20558 jm_cv_func_dirfd_macro
=yes
20560 jm_cv_func_dirfd_macro
=no
20565 echo "$as_me:$LINENO: result: $jm_cv_func_dirfd_macro" >&5
20566 echo "${ECHO_T}$jm_cv_func_dirfd_macro" >&6
20568 # Use the replacement only if we have no function, macro,
20569 # or declaration with that name.
20570 if test $ac_cv_func_dirfd,$ac_cv_have_decl_dirfd,$jm_cv_func_dirfd_macro \
20573 for ac_func
in dirfd
20575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20576 echo "$as_me:$LINENO: checking for $ac_func" >&5
20577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20578 if eval "test \"\${$as_ac_var+set}\" = set"; then
20579 echo $ECHO_N "(cached) $ECHO_C" >&6
20581 cat >conftest.
$ac_ext <<_ACEOF
20582 #line $LINENO "configure"
20585 cat confdefs.h
>>conftest.
$ac_ext
20586 cat >>conftest.
$ac_ext <<_ACEOF
20587 /* end confdefs.h. */
20588 /* System header to define __stub macros and hopefully few prototypes,
20589 which can conflict with char $ac_func (); below.
20590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20591 <limits.h> exists even on freestanding compilers. */
20593 # include <limits.h>
20595 # include <assert.h>
20597 /* Override any gcc2 internal prototype to avoid an error. */
20602 /* We use char because int might match the return type of a gcc2
20603 builtin and then its argument prototype would still apply. */
20605 /* The GNU C library defines this for functions which it implements
20606 to always fail with ENOSYS. Some functions are actually named
20607 something starting with __ and the normal name is an alias. */
20608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20611 char (*f) () = $ac_func;
20620 return f != $ac_func;
20625 rm -f conftest.
$ac_objext conftest
$ac_exeext
20626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20627 (eval $ac_link) 2>&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); } &&
20631 { ac_try
='test -s conftest$ac_exeext'
20632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20633 (eval $ac_try) 2>&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); }; }; then
20637 eval "$as_ac_var=yes"
20639 echo "$as_me: failed program was:" >&5
20640 sed 's/^/| /' conftest.
$ac_ext >&5
20642 eval "$as_ac_var=no"
20644 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20648 if test `eval echo '${'$as_ac_var'}'` = yes; then
20649 cat >>confdefs.h
<<_ACEOF
20650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20654 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
20659 echo "$as_me:$LINENO: checking how to get the file descriptor associated with an open DIR*" >&5
20660 echo $ECHO_N "checking how to get the file descriptor associated with an open DIR*... $ECHO_C" >&6
20661 if test "${ac_cv_sys_dir_fd_member_name+set}" = set; then
20662 echo $ECHO_N "(cached) $ECHO_C" >&6
20665 dirfd_save_CFLAGS
=$CFLAGS
20666 for ac_expr
in d_fd dd_fd
; do
20668 CFLAGS
="$CFLAGS -DDIR_FD_MEMBER_NAME=$ac_expr"
20669 cat >conftest.
$ac_ext <<_ACEOF
20670 #line $LINENO "configure"
20673 cat confdefs.h
>>conftest.
$ac_ext
20674 cat >>conftest.
$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20681 DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME;
20686 rm -f conftest.
$ac_objext
20687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20688 (eval $ac_compile) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } &&
20692 { ac_try
='test -s conftest.$ac_objext'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; }; then
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.
$ac_ext >&5
20705 rm -f conftest.
$ac_objext conftest.
$ac_ext
20706 CFLAGS
=$dirfd_save_CFLAGS
20707 test "$dir_fd_found" = yes && break
20709 test "$dir_fd_found" = yes || ac_expr
=-1
20711 ac_cv_sys_dir_fd_member_name
=$ac_expr
20715 echo "$as_me:$LINENO: result: $ac_cv_sys_dir_fd_member_name" >&5
20716 echo "${ECHO_T}$ac_cv_sys_dir_fd_member_name" >&6
20717 if test $ac_cv_have_decl_dirfd = no
; then
20719 cat >>confdefs.h
<<_ACEOF
20720 #define DIR_FD_MEMBER_NAME $ac_cv_sys_dir_fd_member_name
20729 for ac_header
in sys
/acl.h
20731 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20733 echo "$as_me:$LINENO: checking for $ac_header" >&5
20734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20736 echo $ECHO_N "(cached) $ECHO_C" >&6
20738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20741 # Is the header compilable?
20742 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20743 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20744 cat >conftest.
$ac_ext <<_ACEOF
20745 #line $LINENO "configure"
20748 cat confdefs.h
>>conftest.
$ac_ext
20749 cat >>conftest.
$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20752 #include <$ac_header>
20754 rm -f conftest.
$ac_objext
20755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20756 (eval $ac_compile) 2>&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try
='test -s conftest.$ac_objext'
20761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20762 (eval $ac_try) 2>&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); }; }; then
20766 ac_header_compiler
=yes
20768 echo "$as_me: failed program was:" >&5
20769 sed 's/^/| /' conftest.
$ac_ext >&5
20771 ac_header_compiler
=no
20773 rm -f conftest.
$ac_objext conftest.
$ac_ext
20774 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20775 echo "${ECHO_T}$ac_header_compiler" >&6
20777 # Is the header present?
20778 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20779 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20780 cat >conftest.
$ac_ext <<_ACEOF
20781 #line $LINENO "configure"
20784 cat confdefs.h
>>conftest.
$ac_ext
20785 cat >>conftest.
$ac_ext <<_ACEOF
20786 /* end confdefs.h. */
20787 #include <$ac_header>
20789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20790 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20792 grep -v '^ *+' conftest.er1
>conftest.err
20794 cat conftest.err
>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } >/dev
/null
; then
20797 if test -s conftest.err
; then
20798 ac_cpp_err
=$ac_c_preproc_warn_flag
20805 if test -z "$ac_cpp_err"; then
20806 ac_header_preproc
=yes
20808 echo "$as_me: failed program was:" >&5
20809 sed 's/^/| /' conftest.
$ac_ext >&5
20811 ac_header_preproc
=no
20813 rm -f conftest.err conftest.
$ac_ext
20814 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20815 echo "${ECHO_T}$ac_header_preproc" >&6
20817 # So? What about this header?
20818 case $ac_header_compiler:$ac_header_preproc in
20820 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20821 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20823 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20826 ## ------------------------------------ ##
20827 ## Report this to bug-autoconf@gnu.org. ##
20828 ## ------------------------------------ ##
20831 sed "s/^/$as_me: WARNING: /" >&2
20834 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20836 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20837 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20842 ## ------------------------------------ ##
20843 ## Report this to bug-autoconf@gnu.org. ##
20844 ## ------------------------------------ ##
20847 sed "s/^/$as_me: WARNING: /" >&2
20850 echo "$as_me:$LINENO: checking for $ac_header" >&5
20851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 eval "$as_ac_Header=$ac_header_preproc"
20857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20862 cat >>confdefs.h
<<_ACEOF
20863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20874 echo "$as_me:$LINENO: checking for $ac_func" >&5
20875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20876 if eval "test \"\${$as_ac_var+set}\" = set"; then
20877 echo $ECHO_N "(cached) $ECHO_C" >&6
20879 cat >conftest.
$ac_ext <<_ACEOF
20880 #line $LINENO "configure"
20883 cat confdefs.h
>>conftest.
$ac_ext
20884 cat >>conftest.
$ac_ext <<_ACEOF
20885 /* end confdefs.h. */
20886 /* System header to define __stub macros and hopefully few prototypes,
20887 which can conflict with char $ac_func (); below.
20888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20889 <limits.h> exists even on freestanding compilers. */
20891 # include <limits.h>
20893 # include <assert.h>
20895 /* Override any gcc2 internal prototype to avoid an error. */
20900 /* We use char because int might match the return type of a gcc2
20901 builtin and then its argument prototype would still apply. */
20903 /* The GNU C library defines this for functions which it implements
20904 to always fail with ENOSYS. Some functions are actually named
20905 something starting with __ and the normal name is an alias. */
20906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20909 char (*f) () = $ac_func;
20918 return f != $ac_func;
20923 rm -f conftest.
$ac_objext conftest
$ac_exeext
20924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20925 (eval $ac_link) 2>&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); } &&
20929 { ac_try
='test -s conftest$ac_exeext'
20930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931 (eval $ac_try) 2>&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); }; }; then
20935 eval "$as_ac_var=yes"
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.
$ac_ext >&5
20940 eval "$as_ac_var=no"
20942 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20946 if test `eval echo '${'$as_ac_var'}'` = yes; then
20947 cat >>confdefs.h
<<_ACEOF
20948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20954 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
20955 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
20956 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
20957 echo $ECHO_N "(cached) $ECHO_C" >&6
20959 rm -f conftest.sym conftest.
file
20960 echo >conftest.
file
20961 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
20962 if test "$cross_compiling" = yes; then
20963 ac_cv_func_lstat_dereferences_slashed_symlink
=no
20965 cat >conftest.
$ac_ext <<_ACEOF
20966 #line $LINENO "configure"
20969 cat confdefs.h
>>conftest.
$ac_ext
20970 cat >>conftest.
$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 $ac_includes_default
20977 /* Linux will dereference the symlink and fail.
20978 That is better in the sense that it means we will not
20979 have to compile and use the lstat wrapper. */
20980 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
20985 rm -f conftest
$ac_exeext
20986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20987 (eval $ac_link) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992 (eval $ac_try) 2>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); }; }; then
20996 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
20998 echo "$as_me: program exited with status $ac_status" >&5
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.
$ac_ext >&5
21002 ( exit $ac_status )
21003 ac_cv_func_lstat_dereferences_slashed_symlink
=no
21005 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21008 # If the `ln -s' command failed, then we probably don't even
21009 # have an lstat function.
21010 ac_cv_func_lstat_dereferences_slashed_symlink
=no
21012 rm -f conftest.sym conftest.
file
21015 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
21016 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
21018 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
21020 cat >>confdefs.h
<<_ACEOF
21021 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
21025 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
21026 LIBOBJS
="$LIBOBJS lstat.$ac_objext"
21031 echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
21032 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6
21033 if test "${jm_cv_func_lstat_empty_string_bug+set}" = set; then
21034 echo $ECHO_N "(cached) $ECHO_C" >&6
21036 if test "$cross_compiling" = yes; then
21037 jm_cv_func_lstat_empty_string_bug
=yes
21039 cat >conftest.
$ac_ext <<_ACEOF
21040 #line $LINENO "configure"
21043 cat confdefs.h
>>conftest.
$ac_ext
21044 cat >>conftest.
$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21047 # include <sys/types.h>
21048 # include <sys/stat.h>
21054 exit (lstat ("", &sbuf) ? 1 : 0);
21058 rm -f conftest
$ac_exeext
21059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21060 (eval $ac_link) 2>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21065 (eval $ac_try) 2>&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); }; }; then
21069 jm_cv_func_lstat_empty_string_bug
=yes
21071 echo "$as_me: program exited with status $ac_status" >&5
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.
$ac_ext >&5
21075 ( exit $ac_status )
21076 jm_cv_func_lstat_empty_string_bug
=no
21078 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21082 echo "$as_me:$LINENO: result: $jm_cv_func_lstat_empty_string_bug" >&5
21083 echo "${ECHO_T}$jm_cv_func_lstat_empty_string_bug" >&6
21084 if test $jm_cv_func_lstat_empty_string_bug = yes; then
21085 LIBOBJS
="$LIBOBJS lstat.$ac_objext"
21087 cat >>confdefs.h
<<\_ACEOF
21088 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
21098 for ac_header
in sys
/param.h
21100 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21102 echo "$as_me:$LINENO: checking for $ac_header" >&5
21103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21105 echo $ECHO_N "(cached) $ECHO_C" >&6
21107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21110 # Is the header compilable?
21111 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21113 cat >conftest.
$ac_ext <<_ACEOF
21114 #line $LINENO "configure"
21117 cat confdefs.h
>>conftest.
$ac_ext
21118 cat >>conftest.
$ac_ext <<_ACEOF
21119 /* end confdefs.h. */
21120 $ac_includes_default
21121 #include <$ac_header>
21123 rm -f conftest.
$ac_objext
21124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21125 (eval $ac_compile) 2>&5
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); } &&
21129 { ac_try
='test -s conftest.$ac_objext'
21130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21131 (eval $ac_try) 2>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; }; then
21135 ac_header_compiler
=yes
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.
$ac_ext >&5
21140 ac_header_compiler
=no
21142 rm -f conftest.
$ac_objext conftest.
$ac_ext
21143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21144 echo "${ECHO_T}$ac_header_compiler" >&6
21146 # Is the header present?
21147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21149 cat >conftest.
$ac_ext <<_ACEOF
21150 #line $LINENO "configure"
21153 cat confdefs.h
>>conftest.
$ac_ext
21154 cat >>conftest.
$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 #include <$ac_header>
21158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21161 grep -v '^ *+' conftest.er1
>conftest.err
21163 cat conftest.err
>&5
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); } >/dev
/null
; then
21166 if test -s conftest.err
; then
21167 ac_cpp_err
=$ac_c_preproc_warn_flag
21174 if test -z "$ac_cpp_err"; then
21175 ac_header_preproc
=yes
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.
$ac_ext >&5
21180 ac_header_preproc
=no
21182 rm -f conftest.err conftest.
$ac_ext
21183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21184 echo "${ECHO_T}$ac_header_preproc" >&6
21186 # So? What about this header?
21187 case $ac_header_compiler:$ac_header_preproc in
21189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21192 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21195 ## ------------------------------------ ##
21196 ## Report this to bug-autoconf@gnu.org. ##
21197 ## ------------------------------------ ##
21200 sed "s/^/$as_me: WARNING: /" >&2
21203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21208 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21211 ## ------------------------------------ ##
21212 ## Report this to bug-autoconf@gnu.org. ##
21213 ## ------------------------------------ ##
21216 sed "s/^/$as_me: WARNING: /" >&2
21219 echo "$as_me:$LINENO: checking for $ac_header" >&5
21220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21222 echo $ECHO_N "(cached) $ECHO_C" >&6
21224 eval "$as_ac_Header=$ac_header_preproc"
21226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21231 cat >>confdefs.h
<<_ACEOF
21232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21239 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
21240 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
21241 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
21242 echo $ECHO_N "(cached) $ECHO_C" >&6
21244 cat >conftest.
$ac_ext <<_ACEOF
21245 #line $LINENO "configure"
21248 cat confdefs.h
>>conftest.
$ac_ext
21249 cat >>conftest.
$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 $ac_includes_default
21256 char *p = (char *) stpcpy;
21263 rm -f conftest.
$ac_objext
21264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21265 (eval $ac_compile) 2>&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } &&
21269 { ac_try
='test -s conftest.$ac_objext'
21270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21271 (eval $ac_try) 2>&5
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); }; }; then
21275 ac_cv_have_decl_stpcpy
=yes
21277 echo "$as_me: failed program was:" >&5
21278 sed 's/^/| /' conftest.
$ac_ext >&5
21280 ac_cv_have_decl_stpcpy
=no
21282 rm -f conftest.
$ac_objext conftest.
$ac_ext
21284 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
21285 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
21286 if test $ac_cv_have_decl_stpcpy = yes; then
21288 cat >>confdefs.h
<<_ACEOF
21289 #define HAVE_DECL_STPCPY 1
21294 cat >>confdefs.h
<<_ACEOF
21295 #define HAVE_DECL_STPCPY 0
21303 # In the event that we have to use the replacement ftw.c,
21304 # see if we'll also need the replacement tsearch.c.
21305 echo "$as_me:$LINENO: checking for tdestroy" >&5
21306 echo $ECHO_N "checking for tdestroy... $ECHO_C" >&6
21307 if test "${ac_cv_func_tdestroy+set}" = set; then
21308 echo $ECHO_N "(cached) $ECHO_C" >&6
21310 cat >conftest.
$ac_ext <<_ACEOF
21311 #line $LINENO "configure"
21314 cat confdefs.h
>>conftest.
$ac_ext
21315 cat >>conftest.
$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21317 /* System header to define __stub macros and hopefully few prototypes,
21318 which can conflict with char tdestroy (); below.
21319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21320 <limits.h> exists even on freestanding compilers. */
21322 # include <limits.h>
21324 # include <assert.h>
21326 /* Override any gcc2 internal prototype to avoid an error. */
21331 /* We use char because int might match the return type of a gcc2
21332 builtin and then its argument prototype would still apply. */
21334 /* The GNU C library defines this for functions which it implements
21335 to always fail with ENOSYS. Some functions are actually named
21336 something starting with __ and the normal name is an alias. */
21337 #if defined (__stub_tdestroy) || defined (__stub___tdestroy)
21340 char (*f) () = tdestroy;
21349 return f != tdestroy;
21354 rm -f conftest.
$ac_objext conftest
$ac_exeext
21355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21356 (eval $ac_link) 2>&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); } &&
21360 { ac_try
='test -s conftest$ac_exeext'
21361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21362 (eval $ac_try) 2>&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); }; }; then
21366 ac_cv_func_tdestroy
=yes
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.
$ac_ext >&5
21371 ac_cv_func_tdestroy
=no
21373 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21375 echo "$as_me:$LINENO: result: $ac_cv_func_tdestroy" >&5
21376 echo "${ECHO_T}$ac_cv_func_tdestroy" >&6
21377 if test $ac_cv_func_tdestroy = yes; then
21384 echo "$as_me:$LINENO: checking for ftw/FTW_CHDIR that informs callback of failed chdir" >&5
21385 echo $ECHO_N "checking for ftw/FTW_CHDIR that informs callback of failed chdir... $ECHO_C" >&6
21386 if test "${ac_cv_func_ftw_working+set}" = set; then
21387 echo $ECHO_N "(cached) $ECHO_C" >&6
21390 # The following test would fail prior to glibc-2.3.2, because `depth'
21391 # would be 2 rather than 4. Of course, now that we require FTW_DCH
21392 # and FTW_DCHP, this test fails even with GNU libc's fixed ftw.
21393 mkdir
-p conftest.dir
/a
/b
/c
21394 if test "$cross_compiling" = yes; then
21395 ac_cv_func_ftw_working
=no
21397 cat >conftest.
$ac_ext <<_ACEOF
21398 #line $LINENO "configure"
21401 cat confdefs.h
>>conftest.
$ac_ext
21402 cat >>conftest.
$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21405 #include <string.h>
21406 #include <stdlib.h>
21409 static char *_f[] = { "conftest.dir", "conftest.dir/a",
21410 "conftest.dir/a/b", "conftest.dir/a/b/c" };
21411 static char **p = _f;
21415 cb (const char *file, const struct stat *sb, int file_type, struct FTW *info)
21417 if (strcmp (file, *p++) != 0)
21426 /* Require these symbols, too. */
21430 int err = nftw ("conftest.dir", cb, 30, FTW_PHYS | FTW_MOUNT | FTW_CHDIR);
21431 exit ((err == 0 && depth == 4) ? 0 : 1);
21435 rm -f conftest
$ac_exeext
21436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21437 (eval $ac_link) 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442 (eval $ac_try) 2>&5
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; }; then
21446 ac_cv_func_ftw_working
=yes
21448 echo "$as_me: program exited with status $ac_status" >&5
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.
$ac_ext >&5
21452 ( exit $ac_status )
21453 ac_cv_func_ftw_working
=no
21455 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21458 echo "$as_me:$LINENO: result: $ac_cv_func_ftw_working" >&5
21459 echo "${ECHO_T}$ac_cv_func_ftw_working" >&6
21460 rm -rf conftest.dir
21461 if test $ac_cv_func_ftw_working = no
; then
21462 LIBOBJS
="$LIBOBJS ftw.$ac_objext"
21463 ac_config_links
="$ac_config_links $ac_config_libobj_dir/ftw.h:$ac_config_libobj_dir/ftw_.h"
21465 # Add tsearch.o IFF we have to use the replacement ftw.c.
21466 if test -n "$need_tdestroy"; then
21467 LIBOBJS
="$LIBOBJS tsearch.$ac_objext"
21468 # Link search.h to search_.h if we use the replacement tsearch.c.
21469 ac_config_links
="$ac_config_links $ac_config_libobj_dir/search.h:$ac_config_libobj_dir/search_.h"
21477 for ac_func
in lchown
21479 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21480 echo "$as_me:$LINENO: checking for $ac_func" >&5
21481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21482 if eval "test \"\${$as_ac_var+set}\" = set"; then
21483 echo $ECHO_N "(cached) $ECHO_C" >&6
21485 cat >conftest.
$ac_ext <<_ACEOF
21486 #line $LINENO "configure"
21489 cat confdefs.h
>>conftest.
$ac_ext
21490 cat >>conftest.
$ac_ext <<_ACEOF
21491 /* end confdefs.h. */
21492 /* System header to define __stub macros and hopefully few prototypes,
21493 which can conflict with char $ac_func (); below.
21494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21495 <limits.h> exists even on freestanding compilers. */
21497 # include <limits.h>
21499 # include <assert.h>
21501 /* Override any gcc2 internal prototype to avoid an error. */
21506 /* We use char because int might match the return type of a gcc2
21507 builtin and then its argument prototype would still apply. */
21509 /* The GNU C library defines this for functions which it implements
21510 to always fail with ENOSYS. Some functions are actually named
21511 something starting with __ and the normal name is an alias. */
21512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21515 char (*f) () = $ac_func;
21524 return f != $ac_func;
21529 rm -f conftest.
$ac_objext conftest
$ac_exeext
21530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21531 (eval $ac_link) 2>&5
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); } &&
21535 { ac_try
='test -s conftest$ac_exeext'
21536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21537 (eval $ac_try) 2>&5
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); }; }; then
21541 eval "$as_ac_var=yes"
21543 echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.
$ac_ext >&5
21546 eval "$as_ac_var=no"
21548 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21552 if test `eval echo '${'$as_ac_var'}'` = yes; then
21553 cat >>confdefs.h
<<_ACEOF
21554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21558 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
21564 echo "$as_me:$LINENO: checking for rmdir-not-empty errno value" >&5
21565 echo $ECHO_N "checking for rmdir-not-empty errno value... $ECHO_C" >&6
21566 if test "${fetish_cv_func_rmdir_errno_not_empty+set}" = set; then
21567 echo $ECHO_N "(cached) $ECHO_C" >&6
21570 # Arrange for deletion of the temporary directory this test creates.
21571 ac_clean_files
="$ac_clean_files confdir2"
21572 mkdir confdir2
; : > confdir
2/file
21573 if test "$cross_compiling" = yes; then
21574 fetish_cv_func_rmdir_errno_not_empty
=ENOTEMPTY
21577 cat >conftest.
$ac_ext <<_ACEOF
21578 #line $LINENO "configure"
21581 cat confdefs.h
>>conftest.
$ac_ext
21582 cat >>conftest.
$ac_ext <<_ACEOF
21583 /* end confdefs.h. */
21594 rmdir ("confdir2");
21596 s = fopen ("confdir2/errno", "w");
21597 fprintf (s, "%d\n", val);
21602 rm -f conftest
$ac_exeext
21603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21604 (eval $ac_link) 2>&5
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21609 (eval $ac_try) 2>&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21613 fetish_cv_func_rmdir_errno_not_empty
=`cat confdir2/errno`
21615 echo "$as_me: program exited with status $ac_status" >&5
21616 echo "$as_me: failed program was:" >&5
21617 sed 's/^/| /' conftest.
$ac_ext >&5
21619 ( exit $ac_status )
21620 fetish_cv_func_rmdir_errno_not_empty
='configure error in rmdir-errno.m4'
21622 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21627 echo "$as_me:$LINENO: result: $fetish_cv_func_rmdir_errno_not_empty" >&5
21628 echo "${ECHO_T}$fetish_cv_func_rmdir_errno_not_empty" >&6
21631 cat >>confdefs.h
<<_ACEOF
21632 #define RMDIR_ERRNO_NOT_EMPTY $fetish_cv_func_rmdir_errno_not_empty
21636 test -z "$ac_cv_header_unistd_h" \
21638 for ac_header
in unistd.h
21640 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21642 echo "$as_me:$LINENO: checking for $ac_header" >&5
21643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21645 echo $ECHO_N "(cached) $ECHO_C" >&6
21647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21650 # Is the header compilable?
21651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21653 cat >conftest.
$ac_ext <<_ACEOF
21654 #line $LINENO "configure"
21657 cat confdefs.h
>>conftest.
$ac_ext
21658 cat >>conftest.
$ac_ext <<_ACEOF
21659 /* end confdefs.h. */
21660 $ac_includes_default
21661 #include <$ac_header>
21663 rm -f conftest.
$ac_objext
21664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21665 (eval $ac_compile) 2>&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); } &&
21669 { ac_try
='test -s conftest.$ac_objext'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; }; then
21675 ac_header_compiler
=yes
21677 echo "$as_me: failed program was:" >&5
21678 sed 's/^/| /' conftest.
$ac_ext >&5
21680 ac_header_compiler
=no
21682 rm -f conftest.
$ac_objext conftest.
$ac_ext
21683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21684 echo "${ECHO_T}$ac_header_compiler" >&6
21686 # Is the header present?
21687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21689 cat >conftest.
$ac_ext <<_ACEOF
21690 #line $LINENO "configure"
21693 cat confdefs.h
>>conftest.
$ac_ext
21694 cat >>conftest.
$ac_ext <<_ACEOF
21695 /* end confdefs.h. */
21696 #include <$ac_header>
21698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21699 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21701 grep -v '^ *+' conftest.er1
>conftest.err
21703 cat conftest.err
>&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); } >/dev
/null
; then
21706 if test -s conftest.err
; then
21707 ac_cpp_err
=$ac_c_preproc_warn_flag
21714 if test -z "$ac_cpp_err"; then
21715 ac_header_preproc
=yes
21717 echo "$as_me: failed program was:" >&5
21718 sed 's/^/| /' conftest.
$ac_ext >&5
21720 ac_header_preproc
=no
21722 rm -f conftest.err conftest.
$ac_ext
21723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21724 echo "${ECHO_T}$ac_header_preproc" >&6
21726 # So? What about this header?
21727 case $ac_header_compiler:$ac_header_preproc in
21729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21735 ## ------------------------------------ ##
21736 ## Report this to bug-autoconf@gnu.org. ##
21737 ## ------------------------------------ ##
21740 sed "s/^/$as_me: WARNING: /" >&2
21743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21751 ## ------------------------------------ ##
21752 ## Report this to bug-autoconf@gnu.org. ##
21753 ## ------------------------------------ ##
21756 sed "s/^/$as_me: WARNING: /" >&2
21759 echo "$as_me:$LINENO: checking for $ac_header" >&5
21760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21762 echo $ECHO_N "(cached) $ECHO_C" >&6
21764 eval "$as_ac_Header=$ac_header_preproc"
21766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21771 cat >>confdefs.h
<<_ACEOF
21772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21779 echo "$as_me:$LINENO: checking for working chown" >&5
21780 echo $ECHO_N "checking for working chown... $ECHO_C" >&6
21781 if test "${jm_cv_func_working_chown+set}" = set; then
21782 echo $ECHO_N "(cached) $ECHO_C" >&6
21784 if test "$cross_compiling" = yes; then
21785 jm_cv_func_working_chown
=no
21787 cat >conftest.
$ac_ext <<_ACEOF
21788 #line $LINENO "configure"
21791 cat confdefs.h
>>conftest.
$ac_ext
21792 cat >>conftest.
$ac_ext <<_ACEOF
21793 /* end confdefs.h. */
21795 # include <sys/types.h>
21796 # include <sys/stat.h>
21797 # include <fcntl.h>
21798 # ifdef HAVE_UNISTD_H
21799 # include <unistd.h>
21805 char *f = "conftest.chown";
21806 struct stat before, after;
21808 if (creat (f, 0600) < 0)
21810 if (stat (f, &before) < 0)
21812 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
21814 if (stat (f, &after) < 0)
21816 exit ((before.st_uid == after.st_uid
21817 && before.st_gid == after.st_gid) ? 0 : 1);
21821 rm -f conftest
$ac_exeext
21822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21823 (eval $ac_link) 2>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828 (eval $ac_try) 2>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); }; }; then
21832 jm_cv_func_working_chown
=yes
21834 echo "$as_me: program exited with status $ac_status" >&5
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.
$ac_ext >&5
21838 ( exit $ac_status )
21839 jm_cv_func_working_chown
=no
21841 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21845 echo "$as_me:$LINENO: result: $jm_cv_func_working_chown" >&5
21846 echo "${ECHO_T}$jm_cv_func_working_chown" >&6
21847 if test $jm_cv_func_working_chown = no
; then
21848 LIBOBJS
="$LIBOBJS chown.$ac_objext"
21850 cat >>confdefs.h
<<\_ACEOF
21851 #define chown rpl_chown
21858 for ac_header
in sys
/time.h unistd.h
21860 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21862 echo "$as_me:$LINENO: checking for $ac_header" >&5
21863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21865 echo $ECHO_N "(cached) $ECHO_C" >&6
21867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21870 # Is the header compilable?
21871 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21872 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21873 cat >conftest.
$ac_ext <<_ACEOF
21874 #line $LINENO "configure"
21877 cat confdefs.h
>>conftest.
$ac_ext
21878 cat >>conftest.
$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880 $ac_includes_default
21881 #include <$ac_header>
21883 rm -f conftest.
$ac_objext
21884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21885 (eval $ac_compile) 2>&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); } &&
21889 { ac_try
='test -s conftest.$ac_objext'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; }; then
21895 ac_header_compiler
=yes
21897 echo "$as_me: failed program was:" >&5
21898 sed 's/^/| /' conftest.
$ac_ext >&5
21900 ac_header_compiler
=no
21902 rm -f conftest.
$ac_objext conftest.
$ac_ext
21903 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21904 echo "${ECHO_T}$ac_header_compiler" >&6
21906 # Is the header present?
21907 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21908 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21909 cat >conftest.
$ac_ext <<_ACEOF
21910 #line $LINENO "configure"
21913 cat confdefs.h
>>conftest.
$ac_ext
21914 cat >>conftest.
$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21916 #include <$ac_header>
21918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21919 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21921 grep -v '^ *+' conftest.er1
>conftest.err
21923 cat conftest.err
>&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } >/dev
/null
; then
21926 if test -s conftest.err
; then
21927 ac_cpp_err
=$ac_c_preproc_warn_flag
21934 if test -z "$ac_cpp_err"; then
21935 ac_header_preproc
=yes
21937 echo "$as_me: failed program was:" >&5
21938 sed 's/^/| /' conftest.
$ac_ext >&5
21940 ac_header_preproc
=no
21942 rm -f conftest.err conftest.
$ac_ext
21943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21944 echo "${ECHO_T}$ac_header_preproc" >&6
21946 # So? What about this header?
21947 case $ac_header_compiler:$ac_header_preproc in
21949 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21950 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21955 ## ------------------------------------ ##
21956 ## Report this to bug-autoconf@gnu.org. ##
21957 ## ------------------------------------ ##
21960 sed "s/^/$as_me: WARNING: /" >&2
21963 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21964 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21965 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21966 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21971 ## ------------------------------------ ##
21972 ## Report this to bug-autoconf@gnu.org. ##
21973 ## ------------------------------------ ##
21976 sed "s/^/$as_me: WARNING: /" >&2
21979 echo "$as_me:$LINENO: checking for $ac_header" >&5
21980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21982 echo $ECHO_N "(cached) $ECHO_C" >&6
21984 eval "$as_ac_Header=$ac_header_preproc"
21986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21990 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21991 cat >>confdefs.h
<<_ACEOF
21992 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22000 for ac_func
in alarm
22002 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22003 echo "$as_me:$LINENO: checking for $ac_func" >&5
22004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22005 if eval "test \"\${$as_ac_var+set}\" = set"; then
22006 echo $ECHO_N "(cached) $ECHO_C" >&6
22008 cat >conftest.
$ac_ext <<_ACEOF
22009 #line $LINENO "configure"
22012 cat confdefs.h
>>conftest.
$ac_ext
22013 cat >>conftest.
$ac_ext <<_ACEOF
22014 /* end confdefs.h. */
22015 /* System header to define __stub macros and hopefully few prototypes,
22016 which can conflict with char $ac_func (); below.
22017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22018 <limits.h> exists even on freestanding compilers. */
22020 # include <limits.h>
22022 # include <assert.h>
22024 /* Override any gcc2 internal prototype to avoid an error. */
22029 /* We use char because int might match the return type of a gcc2
22030 builtin and then its argument prototype would still apply. */
22032 /* The GNU C library defines this for functions which it implements
22033 to always fail with ENOSYS. Some functions are actually named
22034 something starting with __ and the normal name is an alias. */
22035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22038 char (*f) () = $ac_func;
22047 return f != $ac_func;
22052 rm -f conftest.
$ac_objext conftest
$ac_exeext
22053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22054 (eval $ac_link) 2>&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); } &&
22058 { ac_try
='test -s conftest$ac_exeext'
22059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22060 (eval $ac_try) 2>&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); }; }; then
22064 eval "$as_ac_var=yes"
22066 echo "$as_me: failed program was:" >&5
22067 sed 's/^/| /' conftest.
$ac_ext >&5
22069 eval "$as_ac_var=no"
22071 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22075 if test `eval echo '${'$as_ac_var'}'` = yes; then
22076 cat >>confdefs.h
<<_ACEOF
22077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22083 echo "$as_me:$LINENO: checking for working mktime" >&5
22084 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
22085 if test "${ac_cv_func_working_mktime+set}" = set; then
22086 echo $ECHO_N "(cached) $ECHO_C" >&6
22088 if test "$cross_compiling" = yes; then
22089 ac_cv_func_working_mktime
=no
22091 cat >conftest.
$ac_ext <<_ACEOF
22092 #line $LINENO "configure"
22095 cat confdefs.h
>>conftest.
$ac_ext
22096 cat >>conftest.
$ac_ext <<_ACEOF
22097 /* end confdefs.h. */
22098 /* Test program from Paul Eggert and Tony Leneis. */
22099 #if TIME_WITH_SYS_TIME
22100 # include <sys/time.h>
22103 # if HAVE_SYS_TIME_H
22104 # include <sys/time.h>
22111 # include <unistd.h>
22115 # define alarm(X) /* empty */
22118 /* Work around redefinition to rpl_putenv by other config tests. */
22121 static time_t time_t_max;
22123 /* Values we'll use to set the TZ environment variable. */
22124 static const char *const tz_strings[] = {
22125 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
22126 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
22128 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
22130 /* Fail if mktime fails to convert a date in the spring-forward gap.
22131 Based on a problem report from Andreas Jaeger. */
22133 spring_forward_gap ()
22135 /* glibc (up to about 1998-10-07) failed this test. */
22138 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
22139 instead of "TZ=America/Vancouver" in order to detect the bug even
22140 on systems that don't support the Olson extension, or don't have the
22141 full zoneinfo tables installed. */
22142 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
22151 if (mktime (&tm) == (time_t)-1)
22160 if ((lt = localtime (&now)) && mktime (lt) != now)
22162 now = time_t_max - now;
22163 if ((lt = localtime (&now)) && mktime (lt) != now)
22170 /* Based on code from Ariel Faigon. */
22180 if (tm.tm_mon != 2 || tm.tm_mday != 31)
22190 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
22191 now = mktime (&tm);
22192 if (now != (time_t) -1)
22194 struct tm *lt = localtime (&now);
22196 && lt->tm_year == tm.tm_year
22197 && lt->tm_mon == tm.tm_mon
22198 && lt->tm_mday == tm.tm_mday
22199 && lt->tm_hour == tm.tm_hour
22200 && lt->tm_min == tm.tm_min
22201 && lt->tm_sec == tm.tm_sec
22202 && lt->tm_yday == tm.tm_yday
22203 && lt->tm_wday == tm.tm_wday
22204 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
22205 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
22216 /* This test makes some buggy mktime implementations loop.
22217 Give up after 60 seconds; a mktime slower than that
22218 isn't worth using anyway. */
22221 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
22224 delta = time_t_max / 997; /* a suitable prime number */
22225 for (i = 0; i < N_STRINGS; i++)
22228 putenv (tz_strings[i]);
22230 for (t = 0; t <= time_t_max - delta; t += delta)
22232 mktime_test ((time_t) 60 * 60);
22233 mktime_test ((time_t) 60 * 60 * 24);
22235 for (j = 1; 0 < j; j *= 2)
22237 bigtime_test (j - 1);
22240 spring_forward_gap ();
22244 rm -f conftest
$ac_exeext
22245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22246 (eval $ac_link) 2>&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22251 (eval $ac_try) 2>&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); }; }; then
22255 ac_cv_func_working_mktime
=yes
22257 echo "$as_me: program exited with status $ac_status" >&5
22258 echo "$as_me: failed program was:" >&5
22259 sed 's/^/| /' conftest.
$ac_ext >&5
22261 ( exit $ac_status )
22262 ac_cv_func_working_mktime
=no
22264 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22267 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
22268 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
22269 if test $ac_cv_func_working_mktime = no
; then
22270 LIBOBJS
="$LIBOBJS mktime.$ac_objext"
22275 for ac_func
in localtime_r
22277 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22278 echo "$as_me:$LINENO: checking for $ac_func" >&5
22279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22280 if eval "test \"\${$as_ac_var+set}\" = set"; then
22281 echo $ECHO_N "(cached) $ECHO_C" >&6
22283 cat >conftest.
$ac_ext <<_ACEOF
22284 #line $LINENO "configure"
22287 cat confdefs.h
>>conftest.
$ac_ext
22288 cat >>conftest.
$ac_ext <<_ACEOF
22289 /* end confdefs.h. */
22290 /* System header to define __stub macros and hopefully few prototypes,
22291 which can conflict with char $ac_func (); below.
22292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22293 <limits.h> exists even on freestanding compilers. */
22295 # include <limits.h>
22297 # include <assert.h>
22299 /* Override any gcc2 internal prototype to avoid an error. */
22304 /* We use char because int might match the return type of a gcc2
22305 builtin and then its argument prototype would still apply. */
22307 /* The GNU C library defines this for functions which it implements
22308 to always fail with ENOSYS. Some functions are actually named
22309 something starting with __ and the normal name is an alias. */
22310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22313 char (*f) () = $ac_func;
22322 return f != $ac_func;
22327 rm -f conftest.
$ac_objext conftest
$ac_exeext
22328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22329 (eval $ac_link) 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); } &&
22333 { ac_try
='test -s conftest$ac_exeext'
22334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22335 (eval $ac_try) 2>&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); }; }; then
22339 eval "$as_ac_var=yes"
22341 echo "$as_me: failed program was:" >&5
22342 sed 's/^/| /' conftest.
$ac_ext >&5
22344 eval "$as_ac_var=no"
22346 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22350 if test `eval echo '${'$as_ac_var'}'` = yes; then
22351 cat >>confdefs.h
<<_ACEOF
22352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22359 if test $ac_cv_func_working_mktime = no
; then
22361 cat >>confdefs.h
<<\_ACEOF
22362 #define mktime rpl_mktime
22369 echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
22370 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
22371 if test "${jm_cv_func_stat_empty_string_bug+set}" = set; then
22372 echo $ECHO_N "(cached) $ECHO_C" >&6
22374 if test "$cross_compiling" = yes; then
22375 jm_cv_func_stat_empty_string_bug
=yes
22377 cat >conftest.
$ac_ext <<_ACEOF
22378 #line $LINENO "configure"
22381 cat confdefs.h
>>conftest.
$ac_ext
22382 cat >>conftest.
$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22385 # include <sys/types.h>
22386 # include <sys/stat.h>
22392 exit (stat ("", &sbuf) ? 1 : 0);
22396 rm -f conftest
$ac_exeext
22397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22398 (eval $ac_link) 2>&5
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22403 (eval $ac_try) 2>&5
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); }; }; then
22407 jm_cv_func_stat_empty_string_bug
=yes
22409 echo "$as_me: program exited with status $ac_status" >&5
22410 echo "$as_me: failed program was:" >&5
22411 sed 's/^/| /' conftest.
$ac_ext >&5
22413 ( exit $ac_status )
22414 jm_cv_func_stat_empty_string_bug
=no
22416 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22420 echo "$as_me:$LINENO: result: $jm_cv_func_stat_empty_string_bug" >&5
22421 echo "${ECHO_T}$jm_cv_func_stat_empty_string_bug" >&6
22422 if test $jm_cv_func_stat_empty_string_bug = yes; then
22423 LIBOBJS
="$LIBOBJS stat.$ac_objext"
22425 cat >>confdefs.h
<<\_ACEOF
22426 #define HAVE_STAT_EMPTY_STRING_BUG 1
22432 for ac_header
in stdlib.h
22434 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22436 echo "$as_me:$LINENO: checking for $ac_header" >&5
22437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22439 echo $ECHO_N "(cached) $ECHO_C" >&6
22441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22444 # Is the header compilable?
22445 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22447 cat >conftest.
$ac_ext <<_ACEOF
22448 #line $LINENO "configure"
22451 cat confdefs.h
>>conftest.
$ac_ext
22452 cat >>conftest.
$ac_ext <<_ACEOF
22453 /* end confdefs.h. */
22454 $ac_includes_default
22455 #include <$ac_header>
22457 rm -f conftest.
$ac_objext
22458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22459 (eval $ac_compile) 2>&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } &&
22463 { ac_try
='test -s conftest.$ac_objext'
22464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22465 (eval $ac_try) 2>&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); }; }; then
22469 ac_header_compiler
=yes
22471 echo "$as_me: failed program was:" >&5
22472 sed 's/^/| /' conftest.
$ac_ext >&5
22474 ac_header_compiler
=no
22476 rm -f conftest.
$ac_objext conftest.
$ac_ext
22477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22478 echo "${ECHO_T}$ac_header_compiler" >&6
22480 # Is the header present?
22481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22483 cat >conftest.
$ac_ext <<_ACEOF
22484 #line $LINENO "configure"
22487 cat confdefs.h
>>conftest.
$ac_ext
22488 cat >>conftest.
$ac_ext <<_ACEOF
22489 /* end confdefs.h. */
22490 #include <$ac_header>
22492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22493 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22495 grep -v '^ *+' conftest.er1
>conftest.err
22497 cat conftest.err
>&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } >/dev
/null
; then
22500 if test -s conftest.err
; then
22501 ac_cpp_err
=$ac_c_preproc_warn_flag
22508 if test -z "$ac_cpp_err"; then
22509 ac_header_preproc
=yes
22511 echo "$as_me: failed program was:" >&5
22512 sed 's/^/| /' conftest.
$ac_ext >&5
22514 ac_header_preproc
=no
22516 rm -f conftest.err conftest.
$ac_ext
22517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22518 echo "${ECHO_T}$ac_header_preproc" >&6
22520 # So? What about this header?
22521 case $ac_header_compiler:$ac_header_preproc in
22523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22526 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22529 ## ------------------------------------ ##
22530 ## Report this to bug-autoconf@gnu.org. ##
22531 ## ------------------------------------ ##
22534 sed "s/^/$as_me: WARNING: /" >&2
22537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22545 ## ------------------------------------ ##
22546 ## Report this to bug-autoconf@gnu.org. ##
22547 ## ------------------------------------ ##
22550 sed "s/^/$as_me: WARNING: /" >&2
22553 echo "$as_me:$LINENO: checking for $ac_header" >&5
22554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22556 echo $ECHO_N "(cached) $ECHO_C" >&6
22558 eval "$as_ac_Header=$ac_header_preproc"
22560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22565 cat >>confdefs.h
<<_ACEOF
22566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22573 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
22574 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
22575 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
22576 echo $ECHO_N "(cached) $ECHO_C" >&6
22578 if test "$cross_compiling" = yes; then
22579 ac_cv_func_realloc_0_nonnull
=no
22581 cat >conftest.
$ac_ext <<_ACEOF
22582 #line $LINENO "configure"
22585 cat confdefs.h
>>conftest.
$ac_ext
22586 cat >>conftest.
$ac_ext <<_ACEOF
22587 /* end confdefs.h. */
22588 #if STDC_HEADERS || HAVE_STDLIB_H
22589 # include <stdlib.h>
22597 exit (realloc (0, 0) ? 0 : 1);
22602 rm -f conftest
$ac_exeext
22603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22604 (eval $ac_link) 2>&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22609 (eval $ac_try) 2>&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); }; }; then
22613 ac_cv_func_realloc_0_nonnull
=yes
22615 echo "$as_me: program exited with status $ac_status" >&5
22616 echo "$as_me: failed program was:" >&5
22617 sed 's/^/| /' conftest.
$ac_ext >&5
22619 ( exit $ac_status )
22620 ac_cv_func_realloc_0_nonnull
=no
22622 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22625 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
22626 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
22627 if test $ac_cv_func_realloc_0_nonnull = yes; then
22629 cat >>confdefs.h
<<\_ACEOF
22630 #define HAVE_REALLOC 1
22634 cat >>confdefs.h
<<\_ACEOF
22635 #define HAVE_REALLOC 0
22638 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
22640 cat >>confdefs.h
<<\_ACEOF
22641 #define realloc rpl_realloc
22649 for ac_header
in stdlib.h
22651 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22653 echo "$as_me:$LINENO: checking for $ac_header" >&5
22654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22656 echo $ECHO_N "(cached) $ECHO_C" >&6
22658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22661 # Is the header compilable?
22662 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22663 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22664 cat >conftest.
$ac_ext <<_ACEOF
22665 #line $LINENO "configure"
22668 cat confdefs.h
>>conftest.
$ac_ext
22669 cat >>conftest.
$ac_ext <<_ACEOF
22670 /* end confdefs.h. */
22671 $ac_includes_default
22672 #include <$ac_header>
22674 rm -f conftest.
$ac_objext
22675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22676 (eval $ac_compile) 2>&5
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); } &&
22680 { ac_try
='test -s conftest.$ac_objext'
22681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682 (eval $ac_try) 2>&5
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; }; then
22686 ac_header_compiler
=yes
22688 echo "$as_me: failed program was:" >&5
22689 sed 's/^/| /' conftest.
$ac_ext >&5
22691 ac_header_compiler
=no
22693 rm -f conftest.
$ac_objext conftest.
$ac_ext
22694 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22695 echo "${ECHO_T}$ac_header_compiler" >&6
22697 # Is the header present?
22698 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22699 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22700 cat >conftest.
$ac_ext <<_ACEOF
22701 #line $LINENO "configure"
22704 cat confdefs.h
>>conftest.
$ac_ext
22705 cat >>conftest.
$ac_ext <<_ACEOF
22706 /* end confdefs.h. */
22707 #include <$ac_header>
22709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22712 grep -v '^ *+' conftest.er1
>conftest.err
22714 cat conftest.err
>&5
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); } >/dev
/null
; then
22717 if test -s conftest.err
; then
22718 ac_cpp_err
=$ac_c_preproc_warn_flag
22725 if test -z "$ac_cpp_err"; then
22726 ac_header_preproc
=yes
22728 echo "$as_me: failed program was:" >&5
22729 sed 's/^/| /' conftest.
$ac_ext >&5
22731 ac_header_preproc
=no
22733 rm -f conftest.err conftest.
$ac_ext
22734 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22735 echo "${ECHO_T}$ac_header_preproc" >&6
22737 # So? What about this header?
22738 case $ac_header_compiler:$ac_header_preproc in
22740 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22741 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22743 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22746 ## ------------------------------------ ##
22747 ## Report this to bug-autoconf@gnu.org. ##
22748 ## ------------------------------------ ##
22751 sed "s/^/$as_me: WARNING: /" >&2
22754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22762 ## ------------------------------------ ##
22763 ## Report this to bug-autoconf@gnu.org. ##
22764 ## ------------------------------------ ##
22767 sed "s/^/$as_me: WARNING: /" >&2
22770 echo "$as_me:$LINENO: checking for $ac_header" >&5
22771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22773 echo $ECHO_N "(cached) $ECHO_C" >&6
22775 eval "$as_ac_Header=$ac_header_preproc"
22777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22782 cat >>confdefs.h
<<_ACEOF
22783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22790 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
22791 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
22792 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
22793 echo $ECHO_N "(cached) $ECHO_C" >&6
22795 if test "$cross_compiling" = yes; then
22796 ac_cv_func_malloc_0_nonnull
=no
22798 cat >conftest.
$ac_ext <<_ACEOF
22799 #line $LINENO "configure"
22802 cat confdefs.h
>>conftest.
$ac_ext
22803 cat >>conftest.
$ac_ext <<_ACEOF
22804 /* end confdefs.h. */
22805 #if STDC_HEADERS || HAVE_STDLIB_H
22806 # include <stdlib.h>
22814 exit (malloc (0) ? 0 : 1);
22819 rm -f conftest
$ac_exeext
22820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22821 (eval $ac_link) 2>&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826 (eval $ac_try) 2>&5
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; }; then
22830 ac_cv_func_malloc_0_nonnull
=yes
22832 echo "$as_me: program exited with status $ac_status" >&5
22833 echo "$as_me: failed program was:" >&5
22834 sed 's/^/| /' conftest.
$ac_ext >&5
22836 ( exit $ac_status )
22837 ac_cv_func_malloc_0_nonnull
=no
22839 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22842 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
22843 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
22844 if test $ac_cv_func_malloc_0_nonnull = yes; then
22846 cat >>confdefs.h
<<\_ACEOF
22847 #define HAVE_MALLOC 1
22851 cat >>confdefs.h
<<\_ACEOF
22852 #define HAVE_MALLOC 0
22855 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
22857 cat >>confdefs.h
<<\_ACEOF
22858 #define malloc rpl_malloc
22866 nanosleep_save_libs
=$LIBS
22868 # Solaris 2.5.1 needs -lposix4 to get the nanosleep function.
22869 # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
22871 echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
22872 echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
22873 if test "${ac_cv_search_nanosleep+set}" = set; then
22874 echo $ECHO_N "(cached) $ECHO_C" >&6
22877 ac_func_search_save_LIBS
=$LIBS
22878 ac_cv_search_nanosleep
=no
22879 cat >conftest.
$ac_ext <<_ACEOF
22880 #line $LINENO "configure"
22883 cat confdefs.h
>>conftest.
$ac_ext
22884 cat >>conftest.
$ac_ext <<_ACEOF
22885 /* end confdefs.h. */
22887 /* Override any gcc2 internal prototype to avoid an error. */
22891 /* We use char because int might match the return type of a gcc2
22892 builtin and then its argument prototype would still apply. */
22902 rm -f conftest.
$ac_objext conftest
$ac_exeext
22903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22904 (eval $ac_link) 2>&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } &&
22908 { ac_try
='test -s conftest$ac_exeext'
22909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22910 (eval $ac_try) 2>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; }; then
22914 ac_cv_search_nanosleep
='none required'
22916 echo "$as_me: failed program was:" >&5
22917 sed 's/^/| /' conftest.
$ac_ext >&5
22920 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22921 if test "$ac_cv_search_nanosleep" = no
; then
22922 for ac_lib
in rt posix4
; do
22923 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22924 cat >conftest.
$ac_ext <<_ACEOF
22925 #line $LINENO "configure"
22928 cat confdefs.h
>>conftest.
$ac_ext
22929 cat >>conftest.
$ac_ext <<_ACEOF
22930 /* end confdefs.h. */
22932 /* Override any gcc2 internal prototype to avoid an error. */
22936 /* We use char because int might match the return type of a gcc2
22937 builtin and then its argument prototype would still apply. */
22947 rm -f conftest.
$ac_objext conftest
$ac_exeext
22948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22949 (eval $ac_link) 2>&5
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); } &&
22953 { ac_try
='test -s conftest$ac_exeext'
22954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22955 (eval $ac_try) 2>&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); }; }; then
22959 ac_cv_search_nanosleep
="-l$ac_lib"; break
22961 echo "$as_me: failed program was:" >&5
22962 sed 's/^/| /' conftest.
$ac_ext >&5
22965 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22968 LIBS
=$ac_func_search_save_LIBS
22971 echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
22972 echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
22974 if test "$ac_cv_search_nanosleep" = no
; then :
22977 if test "$ac_cv_search_nanosleep" = 'none required'; then :
22980 LIBS
="$ac_cv_search_nanosleep $LIBS"
22981 LIB_NANOSLEEP
=$ac_cv_search_nanosleep
22987 echo "$as_me:$LINENO: checking whether nanosleep works" >&5
22988 echo $ECHO_N "checking whether nanosleep works... $ECHO_C" >&6
22989 if test "${jm_cv_func_nanosleep_works+set}" = set; then
22990 echo $ECHO_N "(cached) $ECHO_C" >&6
22994 if test "$cross_compiling" = yes; then
22995 jm_cv_func_nanosleep_works
=no
22997 cat >conftest.
$ac_ext <<_ACEOF
22998 #line $LINENO "configure"
23001 cat confdefs.h
>>conftest.
$ac_ext
23002 cat >>conftest.
$ac_ext <<_ACEOF
23003 /* end confdefs.h. */
23005 # if TIME_WITH_SYS_TIME
23006 # include <sys/time.h>
23009 # if HAVE_SYS_TIME_H
23010 # include <sys/time.h>
23019 struct timespec ts_sleep, ts_remaining;
23020 ts_sleep.tv_sec = 0;
23021 ts_sleep.tv_nsec = 1;
23022 exit (nanosleep (&ts_sleep, &ts_remaining) == 0 ? 0 : 1);
23026 rm -f conftest
$ac_exeext
23027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23028 (eval $ac_link) 2>&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23033 (eval $ac_try) 2>&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); }; }; then
23037 jm_cv_func_nanosleep_works
=yes
23039 echo "$as_me: program exited with status $ac_status" >&5
23040 echo "$as_me: failed program was:" >&5
23041 sed 's/^/| /' conftest.
$ac_ext >&5
23043 ( exit $ac_status )
23044 jm_cv_func_nanosleep_works
=no
23046 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23050 echo "$as_me:$LINENO: result: $jm_cv_func_nanosleep_works" >&5
23051 echo "${ECHO_T}$jm_cv_func_nanosleep_works" >&6
23052 if test $jm_cv_func_nanosleep_works = no
; then
23053 LIBOBJS
="$LIBOBJS nanosleep.$ac_objext"
23055 cat >>confdefs.h
<<\_ACEOF
23056 #define nanosleep rpl_nanosleep
23061 LIBS
=$nanosleep_save_libs
23063 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
23064 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
23065 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
23066 echo $ECHO_N "(cached) $ECHO_C" >&6
23068 cat >conftest.
$ac_ext <<_ACEOF
23069 #line $LINENO "configure"
23072 cat confdefs.h
>>conftest.
$ac_ext
23073 cat >>conftest.
$ac_ext <<_ACEOF
23074 /* end confdefs.h. */
23075 $ac_includes_default
23079 #ifndef clearerr_unlocked
23080 char *p = (char *) clearerr_unlocked;
23087 rm -f conftest.
$ac_objext
23088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23089 (eval $ac_compile) 2>&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); } &&
23093 { ac_try
='test -s conftest.$ac_objext'
23094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23095 (eval $ac_try) 2>&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); }; }; then
23099 ac_cv_have_decl_clearerr_unlocked
=yes
23101 echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.
$ac_ext >&5
23104 ac_cv_have_decl_clearerr_unlocked
=no
23106 rm -f conftest.
$ac_objext conftest.
$ac_ext
23108 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
23109 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
23110 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
23112 cat >>confdefs.h
<<_ACEOF
23113 #define HAVE_DECL_CLEARERR_UNLOCKED 1
23118 cat >>confdefs.h
<<_ACEOF
23119 #define HAVE_DECL_CLEARERR_UNLOCKED 0
23124 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
23125 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
23126 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
23127 echo $ECHO_N "(cached) $ECHO_C" >&6
23129 cat >conftest.
$ac_ext <<_ACEOF
23130 #line $LINENO "configure"
23133 cat confdefs.h
>>conftest.
$ac_ext
23134 cat >>conftest.
$ac_ext <<_ACEOF
23135 /* end confdefs.h. */
23136 $ac_includes_default
23140 #ifndef feof_unlocked
23141 char *p = (char *) feof_unlocked;
23148 rm -f conftest.
$ac_objext
23149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23150 (eval $ac_compile) 2>&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); } &&
23154 { ac_try
='test -s conftest.$ac_objext'
23155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156 (eval $ac_try) 2>&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); }; }; then
23160 ac_cv_have_decl_feof_unlocked
=yes
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.
$ac_ext >&5
23165 ac_cv_have_decl_feof_unlocked
=no
23167 rm -f conftest.
$ac_objext conftest.
$ac_ext
23169 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
23170 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
23171 if test $ac_cv_have_decl_feof_unlocked = yes; then
23173 cat >>confdefs.h
<<_ACEOF
23174 #define HAVE_DECL_FEOF_UNLOCKED 1
23179 cat >>confdefs.h
<<_ACEOF
23180 #define HAVE_DECL_FEOF_UNLOCKED 0
23185 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
23186 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
23187 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
23188 echo $ECHO_N "(cached) $ECHO_C" >&6
23190 cat >conftest.
$ac_ext <<_ACEOF
23191 #line $LINENO "configure"
23194 cat confdefs.h
>>conftest.
$ac_ext
23195 cat >>conftest.
$ac_ext <<_ACEOF
23196 /* end confdefs.h. */
23197 $ac_includes_default
23201 #ifndef ferror_unlocked
23202 char *p = (char *) ferror_unlocked;
23209 rm -f conftest.
$ac_objext
23210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23211 (eval $ac_compile) 2>&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); } &&
23215 { ac_try
='test -s conftest.$ac_objext'
23216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23217 (eval $ac_try) 2>&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); }; }; then
23221 ac_cv_have_decl_ferror_unlocked
=yes
23223 echo "$as_me: failed program was:" >&5
23224 sed 's/^/| /' conftest.
$ac_ext >&5
23226 ac_cv_have_decl_ferror_unlocked
=no
23228 rm -f conftest.
$ac_objext conftest.
$ac_ext
23230 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
23231 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
23232 if test $ac_cv_have_decl_ferror_unlocked = yes; then
23234 cat >>confdefs.h
<<_ACEOF
23235 #define HAVE_DECL_FERROR_UNLOCKED 1
23240 cat >>confdefs.h
<<_ACEOF
23241 #define HAVE_DECL_FERROR_UNLOCKED 0
23246 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
23247 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
23248 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
23249 echo $ECHO_N "(cached) $ECHO_C" >&6
23251 cat >conftest.
$ac_ext <<_ACEOF
23252 #line $LINENO "configure"
23255 cat confdefs.h
>>conftest.
$ac_ext
23256 cat >>conftest.
$ac_ext <<_ACEOF
23257 /* end confdefs.h. */
23258 $ac_includes_default
23262 #ifndef fflush_unlocked
23263 char *p = (char *) fflush_unlocked;
23270 rm -f conftest.
$ac_objext
23271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23272 (eval $ac_compile) 2>&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } &&
23276 { ac_try
='test -s conftest.$ac_objext'
23277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278 (eval $ac_try) 2>&5
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; }; then
23282 ac_cv_have_decl_fflush_unlocked
=yes
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.
$ac_ext >&5
23287 ac_cv_have_decl_fflush_unlocked
=no
23289 rm -f conftest.
$ac_objext conftest.
$ac_ext
23291 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
23292 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
23293 if test $ac_cv_have_decl_fflush_unlocked = yes; then
23295 cat >>confdefs.h
<<_ACEOF
23296 #define HAVE_DECL_FFLUSH_UNLOCKED 1
23301 cat >>confdefs.h
<<_ACEOF
23302 #define HAVE_DECL_FFLUSH_UNLOCKED 0
23307 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
23308 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
23309 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
23310 echo $ECHO_N "(cached) $ECHO_C" >&6
23312 cat >conftest.
$ac_ext <<_ACEOF
23313 #line $LINENO "configure"
23316 cat confdefs.h
>>conftest.
$ac_ext
23317 cat >>conftest.
$ac_ext <<_ACEOF
23318 /* end confdefs.h. */
23319 $ac_includes_default
23323 #ifndef fgets_unlocked
23324 char *p = (char *) fgets_unlocked;
23331 rm -f conftest.
$ac_objext
23332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23333 (eval $ac_compile) 2>&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); } &&
23337 { ac_try
='test -s conftest.$ac_objext'
23338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23339 (eval $ac_try) 2>&5
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); }; }; then
23343 ac_cv_have_decl_fgets_unlocked
=yes
23345 echo "$as_me: failed program was:" >&5
23346 sed 's/^/| /' conftest.
$ac_ext >&5
23348 ac_cv_have_decl_fgets_unlocked
=no
23350 rm -f conftest.
$ac_objext conftest.
$ac_ext
23352 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
23353 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
23354 if test $ac_cv_have_decl_fgets_unlocked = yes; then
23356 cat >>confdefs.h
<<_ACEOF
23357 #define HAVE_DECL_FGETS_UNLOCKED 1
23362 cat >>confdefs.h
<<_ACEOF
23363 #define HAVE_DECL_FGETS_UNLOCKED 0
23368 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
23369 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
23370 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
23371 echo $ECHO_N "(cached) $ECHO_C" >&6
23373 cat >conftest.
$ac_ext <<_ACEOF
23374 #line $LINENO "configure"
23377 cat confdefs.h
>>conftest.
$ac_ext
23378 cat >>conftest.
$ac_ext <<_ACEOF
23379 /* end confdefs.h. */
23380 $ac_includes_default
23384 #ifndef fputc_unlocked
23385 char *p = (char *) fputc_unlocked;
23392 rm -f conftest.
$ac_objext
23393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23394 (eval $ac_compile) 2>&5
23396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23397 (exit $ac_status); } &&
23398 { ac_try
='test -s conftest.$ac_objext'
23399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23400 (eval $ac_try) 2>&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); }; }; then
23404 ac_cv_have_decl_fputc_unlocked
=yes
23406 echo "$as_me: failed program was:" >&5
23407 sed 's/^/| /' conftest.
$ac_ext >&5
23409 ac_cv_have_decl_fputc_unlocked
=no
23411 rm -f conftest.
$ac_objext conftest.
$ac_ext
23413 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
23414 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
23415 if test $ac_cv_have_decl_fputc_unlocked = yes; then
23417 cat >>confdefs.h
<<_ACEOF
23418 #define HAVE_DECL_FPUTC_UNLOCKED 1
23423 cat >>confdefs.h
<<_ACEOF
23424 #define HAVE_DECL_FPUTC_UNLOCKED 0
23429 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
23430 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
23431 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
23432 echo $ECHO_N "(cached) $ECHO_C" >&6
23434 cat >conftest.
$ac_ext <<_ACEOF
23435 #line $LINENO "configure"
23438 cat confdefs.h
>>conftest.
$ac_ext
23439 cat >>conftest.
$ac_ext <<_ACEOF
23440 /* end confdefs.h. */
23441 $ac_includes_default
23445 #ifndef fputs_unlocked
23446 char *p = (char *) fputs_unlocked;
23453 rm -f conftest.
$ac_objext
23454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23455 (eval $ac_compile) 2>&5
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); } &&
23459 { ac_try
='test -s conftest.$ac_objext'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; }; then
23465 ac_cv_have_decl_fputs_unlocked
=yes
23467 echo "$as_me: failed program was:" >&5
23468 sed 's/^/| /' conftest.
$ac_ext >&5
23470 ac_cv_have_decl_fputs_unlocked
=no
23472 rm -f conftest.
$ac_objext conftest.
$ac_ext
23474 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
23475 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
23476 if test $ac_cv_have_decl_fputs_unlocked = yes; then
23478 cat >>confdefs.h
<<_ACEOF
23479 #define HAVE_DECL_FPUTS_UNLOCKED 1
23484 cat >>confdefs.h
<<_ACEOF
23485 #define HAVE_DECL_FPUTS_UNLOCKED 0
23490 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
23491 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
23492 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
23493 echo $ECHO_N "(cached) $ECHO_C" >&6
23495 cat >conftest.
$ac_ext <<_ACEOF
23496 #line $LINENO "configure"
23499 cat confdefs.h
>>conftest.
$ac_ext
23500 cat >>conftest.
$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23502 $ac_includes_default
23506 #ifndef fread_unlocked
23507 char *p = (char *) fread_unlocked;
23514 rm -f conftest.
$ac_objext
23515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23516 (eval $ac_compile) 2>&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); } &&
23520 { ac_try
='test -s conftest.$ac_objext'
23521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522 (eval $ac_try) 2>&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 ac_cv_have_decl_fread_unlocked
=yes
23528 echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.
$ac_ext >&5
23531 ac_cv_have_decl_fread_unlocked
=no
23533 rm -f conftest.
$ac_objext conftest.
$ac_ext
23535 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
23536 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
23537 if test $ac_cv_have_decl_fread_unlocked = yes; then
23539 cat >>confdefs.h
<<_ACEOF
23540 #define HAVE_DECL_FREAD_UNLOCKED 1
23545 cat >>confdefs.h
<<_ACEOF
23546 #define HAVE_DECL_FREAD_UNLOCKED 0
23551 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
23552 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
23553 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
23554 echo $ECHO_N "(cached) $ECHO_C" >&6
23556 cat >conftest.
$ac_ext <<_ACEOF
23557 #line $LINENO "configure"
23560 cat confdefs.h
>>conftest.
$ac_ext
23561 cat >>conftest.
$ac_ext <<_ACEOF
23562 /* end confdefs.h. */
23563 $ac_includes_default
23567 #ifndef fwrite_unlocked
23568 char *p = (char *) fwrite_unlocked;
23575 rm -f conftest.
$ac_objext
23576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23577 (eval $ac_compile) 2>&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); } &&
23581 { ac_try
='test -s conftest.$ac_objext'
23582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23583 (eval $ac_try) 2>&5
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); }; }; then
23587 ac_cv_have_decl_fwrite_unlocked
=yes
23589 echo "$as_me: failed program was:" >&5
23590 sed 's/^/| /' conftest.
$ac_ext >&5
23592 ac_cv_have_decl_fwrite_unlocked
=no
23594 rm -f conftest.
$ac_objext conftest.
$ac_ext
23596 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
23597 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
23598 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
23600 cat >>confdefs.h
<<_ACEOF
23601 #define HAVE_DECL_FWRITE_UNLOCKED 1
23606 cat >>confdefs.h
<<_ACEOF
23607 #define HAVE_DECL_FWRITE_UNLOCKED 0
23612 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
23613 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
23614 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
23615 echo $ECHO_N "(cached) $ECHO_C" >&6
23617 cat >conftest.
$ac_ext <<_ACEOF
23618 #line $LINENO "configure"
23621 cat confdefs.h
>>conftest.
$ac_ext
23622 cat >>conftest.
$ac_ext <<_ACEOF
23623 /* end confdefs.h. */
23624 $ac_includes_default
23628 #ifndef getc_unlocked
23629 char *p = (char *) getc_unlocked;
23636 rm -f conftest.
$ac_objext
23637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23638 (eval $ac_compile) 2>&5
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); } &&
23642 { ac_try
='test -s conftest.$ac_objext'
23643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23644 (eval $ac_try) 2>&5
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); }; }; then
23648 ac_cv_have_decl_getc_unlocked
=yes
23650 echo "$as_me: failed program was:" >&5
23651 sed 's/^/| /' conftest.
$ac_ext >&5
23653 ac_cv_have_decl_getc_unlocked
=no
23655 rm -f conftest.
$ac_objext conftest.
$ac_ext
23657 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
23658 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
23659 if test $ac_cv_have_decl_getc_unlocked = yes; then
23661 cat >>confdefs.h
<<_ACEOF
23662 #define HAVE_DECL_GETC_UNLOCKED 1
23667 cat >>confdefs.h
<<_ACEOF
23668 #define HAVE_DECL_GETC_UNLOCKED 0
23673 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
23674 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
23675 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
23676 echo $ECHO_N "(cached) $ECHO_C" >&6
23678 cat >conftest.
$ac_ext <<_ACEOF
23679 #line $LINENO "configure"
23682 cat confdefs.h
>>conftest.
$ac_ext
23683 cat >>conftest.
$ac_ext <<_ACEOF
23684 /* end confdefs.h. */
23685 $ac_includes_default
23689 #ifndef getchar_unlocked
23690 char *p = (char *) getchar_unlocked;
23697 rm -f conftest.
$ac_objext
23698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23699 (eval $ac_compile) 2>&5
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); } &&
23703 { ac_try
='test -s conftest.$ac_objext'
23704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23705 (eval $ac_try) 2>&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); }; }; then
23709 ac_cv_have_decl_getchar_unlocked
=yes
23711 echo "$as_me: failed program was:" >&5
23712 sed 's/^/| /' conftest.
$ac_ext >&5
23714 ac_cv_have_decl_getchar_unlocked
=no
23716 rm -f conftest.
$ac_objext conftest.
$ac_ext
23718 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
23719 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
23720 if test $ac_cv_have_decl_getchar_unlocked = yes; then
23722 cat >>confdefs.h
<<_ACEOF
23723 #define HAVE_DECL_GETCHAR_UNLOCKED 1
23728 cat >>confdefs.h
<<_ACEOF
23729 #define HAVE_DECL_GETCHAR_UNLOCKED 0
23734 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
23735 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
23736 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
23737 echo $ECHO_N "(cached) $ECHO_C" >&6
23739 cat >conftest.
$ac_ext <<_ACEOF
23740 #line $LINENO "configure"
23743 cat confdefs.h
>>conftest.
$ac_ext
23744 cat >>conftest.
$ac_ext <<_ACEOF
23745 /* end confdefs.h. */
23746 $ac_includes_default
23750 #ifndef putc_unlocked
23751 char *p = (char *) putc_unlocked;
23758 rm -f conftest.
$ac_objext
23759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23760 (eval $ac_compile) 2>&5
23762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23763 (exit $ac_status); } &&
23764 { ac_try
='test -s conftest.$ac_objext'
23765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23766 (eval $ac_try) 2>&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); }; }; then
23770 ac_cv_have_decl_putc_unlocked
=yes
23772 echo "$as_me: failed program was:" >&5
23773 sed 's/^/| /' conftest.
$ac_ext >&5
23775 ac_cv_have_decl_putc_unlocked
=no
23777 rm -f conftest.
$ac_objext conftest.
$ac_ext
23779 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
23780 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
23781 if test $ac_cv_have_decl_putc_unlocked = yes; then
23783 cat >>confdefs.h
<<_ACEOF
23784 #define HAVE_DECL_PUTC_UNLOCKED 1
23789 cat >>confdefs.h
<<_ACEOF
23790 #define HAVE_DECL_PUTC_UNLOCKED 0
23795 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
23796 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
23797 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
23798 echo $ECHO_N "(cached) $ECHO_C" >&6
23800 cat >conftest.
$ac_ext <<_ACEOF
23801 #line $LINENO "configure"
23804 cat confdefs.h
>>conftest.
$ac_ext
23805 cat >>conftest.
$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807 $ac_includes_default
23811 #ifndef putchar_unlocked
23812 char *p = (char *) putchar_unlocked;
23819 rm -f conftest.
$ac_objext
23820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23821 (eval $ac_compile) 2>&5
23823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824 (exit $ac_status); } &&
23825 { ac_try
='test -s conftest.$ac_objext'
23826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23827 (eval $ac_try) 2>&5
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); }; }; then
23831 ac_cv_have_decl_putchar_unlocked
=yes
23833 echo "$as_me: failed program was:" >&5
23834 sed 's/^/| /' conftest.
$ac_ext >&5
23836 ac_cv_have_decl_putchar_unlocked
=no
23838 rm -f conftest.
$ac_objext conftest.
$ac_ext
23840 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
23841 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
23842 if test $ac_cv_have_decl_putchar_unlocked = yes; then
23844 cat >>confdefs.h
<<_ACEOF
23845 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
23850 cat >>confdefs.h
<<_ACEOF
23851 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
23859 echo "$as_me:$LINENO: checking for group_member" >&5
23860 echo $ECHO_N "checking for group_member... $ECHO_C" >&6
23861 if test "${ac_cv_func_group_member+set}" = set; then
23862 echo $ECHO_N "(cached) $ECHO_C" >&6
23864 cat >conftest.
$ac_ext <<_ACEOF
23865 #line $LINENO "configure"
23868 cat confdefs.h
>>conftest.
$ac_ext
23869 cat >>conftest.
$ac_ext <<_ACEOF
23870 /* end confdefs.h. */
23871 /* System header to define __stub macros and hopefully few prototypes,
23872 which can conflict with char group_member (); below.
23873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23874 <limits.h> exists even on freestanding compilers. */
23876 # include <limits.h>
23878 # include <assert.h>
23880 /* Override any gcc2 internal prototype to avoid an error. */
23885 /* We use char because int might match the return type of a gcc2
23886 builtin and then its argument prototype would still apply. */
23887 char group_member ();
23888 /* The GNU C library defines this for functions which it implements
23889 to always fail with ENOSYS. Some functions are actually named
23890 something starting with __ and the normal name is an alias. */
23891 #if defined (__stub_group_member) || defined (__stub___group_member)
23894 char (*f) () = group_member;
23903 return f != group_member;
23908 rm -f conftest.
$ac_objext conftest
$ac_exeext
23909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23910 (eval $ac_link) 2>&5
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); } &&
23914 { ac_try
='test -s conftest$ac_exeext'
23915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23916 (eval $ac_try) 2>&5
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; }; then
23920 ac_cv_func_group_member
=yes
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.
$ac_ext >&5
23925 ac_cv_func_group_member
=no
23927 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23929 echo "$as_me:$LINENO: result: $ac_cv_func_group_member" >&5
23930 echo "${ECHO_T}$ac_cv_func_group_member" >&6
23931 if test $ac_cv_func_group_member = yes; then
23934 LIBOBJS
="$LIBOBJS group-member.$ac_objext"
23939 echo "$as_me:$LINENO: checking for SVID conformant putenv" >&5
23940 echo $ECHO_N "checking for SVID conformant putenv... $ECHO_C" >&6
23941 if test "${jm_cv_func_svid_putenv+set}" = set; then
23942 echo $ECHO_N "(cached) $ECHO_C" >&6
23944 if test "$cross_compiling" = yes; then
23945 jm_cv_func_svid_putenv
=no
23947 cat >conftest.
$ac_ext <<_ACEOF
23948 #line $LINENO "configure"
23951 cat confdefs.h
>>conftest.
$ac_ext
23952 cat >>conftest.
$ac_ext <<_ACEOF
23953 /* end confdefs.h. */
23958 /* Put it in env. */
23959 if (putenv ("CONFTEST_putenv=val"))
23962 /* Try to remove it. */
23963 if (putenv ("CONFTEST_putenv"))
23966 /* Make sure it was deleted. */
23967 if (getenv ("CONFTEST_putenv") != 0)
23974 rm -f conftest
$ac_exeext
23975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23976 (eval $ac_link) 2>&5
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23981 (eval $ac_try) 2>&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); }; }; then
23985 jm_cv_func_svid_putenv
=yes
23987 echo "$as_me: program exited with status $ac_status" >&5
23988 echo "$as_me: failed program was:" >&5
23989 sed 's/^/| /' conftest.
$ac_ext >&5
23991 ( exit $ac_status )
23992 jm_cv_func_svid_putenv
=no
23994 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23998 echo "$as_me:$LINENO: result: $jm_cv_func_svid_putenv" >&5
23999 echo "${ECHO_T}$jm_cv_func_svid_putenv" >&6
24000 if test $jm_cv_func_svid_putenv = no
; then
24001 LIBOBJS
="$LIBOBJS putenv.$ac_objext"
24003 cat >>confdefs.h
<<\_ACEOF
24004 #define putenv rpl_putenv
24010 echo "$as_me:$LINENO: checking for AFS" >&5
24011 echo $ECHO_N "checking for AFS... $ECHO_C" >&6
24012 if test -d /afs
; then
24014 cat >>confdefs.h
<<\_ACEOF
24022 echo "$as_me:$LINENO: result: $ac_result" >&5
24023 echo "${ECHO_T}$ac_result" >&6
24027 echo "$as_me:$LINENO: checking for intmax_t" >&5
24028 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
24029 if test "${ac_cv_type_intmax_t+set}" = set; then
24030 echo $ECHO_N "(cached) $ECHO_C" >&6
24032 cat >conftest.
$ac_ext <<_ACEOF
24033 #line $LINENO "configure"
24036 cat confdefs.h
>>conftest.
$ac_ext
24037 cat >>conftest.
$ac_ext <<_ACEOF
24038 /* end confdefs.h. */
24039 $ac_includes_default
24043 if ((intmax_t *) 0)
24045 if (sizeof (intmax_t))
24051 rm -f conftest.
$ac_objext
24052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24053 (eval $ac_compile) 2>&5
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); } &&
24057 { ac_try
='test -s conftest.$ac_objext'
24058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24059 (eval $ac_try) 2>&5
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); }; }; then
24063 ac_cv_type_intmax_t
=yes
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.
$ac_ext >&5
24068 ac_cv_type_intmax_t
=no
24070 rm -f conftest.
$ac_objext conftest.
$ac_ext
24072 echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
24073 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
24074 if test $ac_cv_type_intmax_t = yes; then
24077 test $ac_cv_type_long_long = yes \
24078 && ac_type
='long long' \
24081 cat >>confdefs.h
<<_ACEOF
24082 #define intmax_t $ac_type
24093 echo "$as_me:$LINENO: checking whether strtol is declared" >&5
24094 echo $ECHO_N "checking whether strtol is declared... $ECHO_C" >&6
24095 if test "${ac_cv_have_decl_strtol+set}" = set; then
24096 echo $ECHO_N "(cached) $ECHO_C" >&6
24098 cat >conftest.
$ac_ext <<_ACEOF
24099 #line $LINENO "configure"
24102 cat confdefs.h
>>conftest.
$ac_ext
24103 cat >>conftest.
$ac_ext <<_ACEOF
24104 /* end confdefs.h. */
24105 $ac_includes_default
24110 char *p = (char *) strtol;
24117 rm -f conftest.
$ac_objext
24118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24119 (eval $ac_compile) 2>&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } &&
24123 { ac_try
='test -s conftest.$ac_objext'
24124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24125 (eval $ac_try) 2>&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); }; }; then
24129 ac_cv_have_decl_strtol
=yes
24131 echo "$as_me: failed program was:" >&5
24132 sed 's/^/| /' conftest.
$ac_ext >&5
24134 ac_cv_have_decl_strtol
=no
24136 rm -f conftest.
$ac_objext conftest.
$ac_ext
24138 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtol" >&5
24139 echo "${ECHO_T}$ac_cv_have_decl_strtol" >&6
24140 if test $ac_cv_have_decl_strtol = yes; then
24142 cat >>confdefs.h
<<_ACEOF
24143 #define HAVE_DECL_STRTOL 1
24148 cat >>confdefs.h
<<_ACEOF
24149 #define HAVE_DECL_STRTOL 0
24154 echo "$as_me:$LINENO: checking whether strtoul is declared" >&5
24155 echo $ECHO_N "checking whether strtoul is declared... $ECHO_C" >&6
24156 if test "${ac_cv_have_decl_strtoul+set}" = set; then
24157 echo $ECHO_N "(cached) $ECHO_C" >&6
24159 cat >conftest.
$ac_ext <<_ACEOF
24160 #line $LINENO "configure"
24163 cat confdefs.h
>>conftest.
$ac_ext
24164 cat >>conftest.
$ac_ext <<_ACEOF
24165 /* end confdefs.h. */
24166 $ac_includes_default
24171 char *p = (char *) strtoul;
24178 rm -f conftest.
$ac_objext
24179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24180 (eval $ac_compile) 2>&5
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); } &&
24184 { ac_try
='test -s conftest.$ac_objext'
24185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24186 (eval $ac_try) 2>&5
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); }; }; then
24190 ac_cv_have_decl_strtoul
=yes
24192 echo "$as_me: failed program was:" >&5
24193 sed 's/^/| /' conftest.
$ac_ext >&5
24195 ac_cv_have_decl_strtoul
=no
24197 rm -f conftest.
$ac_objext conftest.
$ac_ext
24199 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoul" >&5
24200 echo "${ECHO_T}$ac_cv_have_decl_strtoul" >&6
24201 if test $ac_cv_have_decl_strtoul = yes; then
24203 cat >>confdefs.h
<<_ACEOF
24204 #define HAVE_DECL_STRTOUL 1
24209 cat >>confdefs.h
<<_ACEOF
24210 #define HAVE_DECL_STRTOUL 0
24215 echo "$as_me:$LINENO: checking whether strtoull is declared" >&5
24216 echo $ECHO_N "checking whether strtoull is declared... $ECHO_C" >&6
24217 if test "${ac_cv_have_decl_strtoull+set}" = set; then
24218 echo $ECHO_N "(cached) $ECHO_C" >&6
24220 cat >conftest.
$ac_ext <<_ACEOF
24221 #line $LINENO "configure"
24224 cat confdefs.h
>>conftest.
$ac_ext
24225 cat >>conftest.
$ac_ext <<_ACEOF
24226 /* end confdefs.h. */
24227 $ac_includes_default
24232 char *p = (char *) strtoull;
24239 rm -f conftest.
$ac_objext
24240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24241 (eval $ac_compile) 2>&5
24243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24244 (exit $ac_status); } &&
24245 { ac_try
='test -s conftest.$ac_objext'
24246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24247 (eval $ac_try) 2>&5
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); }; }; then
24251 ac_cv_have_decl_strtoull
=yes
24253 echo "$as_me: failed program was:" >&5
24254 sed 's/^/| /' conftest.
$ac_ext >&5
24256 ac_cv_have_decl_strtoull
=no
24258 rm -f conftest.
$ac_objext conftest.
$ac_ext
24260 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoull" >&5
24261 echo "${ECHO_T}$ac_cv_have_decl_strtoull" >&6
24262 if test $ac_cv_have_decl_strtoull = yes; then
24264 cat >>confdefs.h
<<_ACEOF
24265 #define HAVE_DECL_STRTOULL 1
24270 cat >>confdefs.h
<<_ACEOF
24271 #define HAVE_DECL_STRTOULL 0
24276 echo "$as_me:$LINENO: checking whether strtoimax is declared" >&5
24277 echo $ECHO_N "checking whether strtoimax is declared... $ECHO_C" >&6
24278 if test "${ac_cv_have_decl_strtoimax+set}" = set; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24281 cat >conftest.
$ac_ext <<_ACEOF
24282 #line $LINENO "configure"
24285 cat confdefs.h
>>conftest.
$ac_ext
24286 cat >>conftest.
$ac_ext <<_ACEOF
24287 /* end confdefs.h. */
24288 $ac_includes_default
24293 char *p = (char *) strtoimax;
24300 rm -f conftest.
$ac_objext
24301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24302 (eval $ac_compile) 2>&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); } &&
24306 { ac_try
='test -s conftest.$ac_objext'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; }; then
24312 ac_cv_have_decl_strtoimax
=yes
24314 echo "$as_me: failed program was:" >&5
24315 sed 's/^/| /' conftest.
$ac_ext >&5
24317 ac_cv_have_decl_strtoimax
=no
24319 rm -f conftest.
$ac_objext conftest.
$ac_ext
24321 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoimax" >&5
24322 echo "${ECHO_T}$ac_cv_have_decl_strtoimax" >&6
24323 if test $ac_cv_have_decl_strtoimax = yes; then
24325 cat >>confdefs.h
<<_ACEOF
24326 #define HAVE_DECL_STRTOIMAX 1
24331 cat >>confdefs.h
<<_ACEOF
24332 #define HAVE_DECL_STRTOIMAX 0
24337 echo "$as_me:$LINENO: checking whether strtoumax is declared" >&5
24338 echo $ECHO_N "checking whether strtoumax is declared... $ECHO_C" >&6
24339 if test "${ac_cv_have_decl_strtoumax+set}" = set; then
24340 echo $ECHO_N "(cached) $ECHO_C" >&6
24342 cat >conftest.
$ac_ext <<_ACEOF
24343 #line $LINENO "configure"
24346 cat confdefs.h
>>conftest.
$ac_ext
24347 cat >>conftest.
$ac_ext <<_ACEOF
24348 /* end confdefs.h. */
24349 $ac_includes_default
24354 char *p = (char *) strtoumax;
24361 rm -f conftest.
$ac_objext
24362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24363 (eval $ac_compile) 2>&5
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); } &&
24367 { ac_try
='test -s conftest.$ac_objext'
24368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369 (eval $ac_try) 2>&5
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); }; }; then
24373 ac_cv_have_decl_strtoumax
=yes
24375 echo "$as_me: failed program was:" >&5
24376 sed 's/^/| /' conftest.
$ac_ext >&5
24378 ac_cv_have_decl_strtoumax
=no
24380 rm -f conftest.
$ac_objext conftest.
$ac_ext
24382 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoumax" >&5
24383 echo "${ECHO_T}$ac_cv_have_decl_strtoumax" >&6
24384 if test $ac_cv_have_decl_strtoumax = yes; then
24386 cat >>confdefs.h
<<_ACEOF
24387 #define HAVE_DECL_STRTOUMAX 1
24392 cat >>confdefs.h
<<_ACEOF
24393 #define HAVE_DECL_STRTOUMAX 0
24403 for ac_header
in limits.h stdlib.h inttypes.h
24405 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24407 echo "$as_me:$LINENO: checking for $ac_header" >&5
24408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24410 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24415 # Is the header compilable?
24416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24418 cat >conftest.
$ac_ext <<_ACEOF
24419 #line $LINENO "configure"
24422 cat confdefs.h
>>conftest.
$ac_ext
24423 cat >>conftest.
$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24425 $ac_includes_default
24426 #include <$ac_header>
24428 rm -f conftest.
$ac_objext
24429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24430 (eval $ac_compile) 2>&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); } &&
24434 { ac_try
='test -s conftest.$ac_objext'
24435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24436 (eval $ac_try) 2>&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); }; }; then
24440 ac_header_compiler
=yes
24442 echo "$as_me: failed program was:" >&5
24443 sed 's/^/| /' conftest.
$ac_ext >&5
24445 ac_header_compiler
=no
24447 rm -f conftest.
$ac_objext conftest.
$ac_ext
24448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24449 echo "${ECHO_T}$ac_header_compiler" >&6
24451 # Is the header present?
24452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24454 cat >conftest.
$ac_ext <<_ACEOF
24455 #line $LINENO "configure"
24458 cat confdefs.h
>>conftest.
$ac_ext
24459 cat >>conftest.
$ac_ext <<_ACEOF
24460 /* end confdefs.h. */
24461 #include <$ac_header>
24463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24464 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24466 grep -v '^ *+' conftest.er1
>conftest.err
24468 cat conftest.err
>&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } >/dev
/null
; then
24471 if test -s conftest.err
; then
24472 ac_cpp_err
=$ac_c_preproc_warn_flag
24479 if test -z "$ac_cpp_err"; then
24480 ac_header_preproc
=yes
24482 echo "$as_me: failed program was:" >&5
24483 sed 's/^/| /' conftest.
$ac_ext >&5
24485 ac_header_preproc
=no
24487 rm -f conftest.err conftest.
$ac_ext
24488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24489 echo "${ECHO_T}$ac_header_preproc" >&6
24491 # So? What about this header?
24492 case $ac_header_compiler:$ac_header_preproc in
24494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24500 ## ------------------------------------ ##
24501 ## Report this to bug-autoconf@gnu.org. ##
24502 ## ------------------------------------ ##
24505 sed "s/^/$as_me: WARNING: /" >&2
24508 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24509 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24510 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24511 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24516 ## ------------------------------------ ##
24517 ## Report this to bug-autoconf@gnu.org. ##
24518 ## ------------------------------------ ##
24521 sed "s/^/$as_me: WARNING: /" >&2
24524 echo "$as_me:$LINENO: checking for $ac_header" >&5
24525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24527 echo $ECHO_N "(cached) $ECHO_C" >&6
24529 eval "$as_ac_Header=$ac_header_preproc"
24531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24536 cat >>confdefs.h
<<_ACEOF
24537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24545 echo "$as_me:$LINENO: checking whether <inttypes.h> defines strtoumax as a macro" >&5
24546 echo $ECHO_N "checking whether <inttypes.h> defines strtoumax as a macro... $ECHO_C" >&6
24547 if test "${jm_cv_func_strtoumax_macro+set}" = set; then
24548 echo $ECHO_N "(cached) $ECHO_C" >&6
24550 cat >conftest.
$ac_ext <<_ACEOF
24551 #line $LINENO "configure"
24554 cat confdefs.h
>>conftest.
$ac_ext
24555 cat >>conftest.
$ac_ext <<_ACEOF
24556 /* end confdefs.h. */
24557 #include <inttypes.h>
24559 inttypes_h_defines_strtoumax
24562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24563 $EGREP "inttypes_h_defines_strtoumax" >/dev
/null
2>&1; then
24564 jm_cv_func_strtoumax_macro
=yes
24566 jm_cv_func_strtoumax_macro
=no
24571 echo "$as_me:$LINENO: result: $jm_cv_func_strtoumax_macro" >&5
24572 echo "${ECHO_T}$jm_cv_func_strtoumax_macro" >&6
24574 if test "$jm_cv_func_strtoumax_macro" != yes; then
24576 for ac_func
in strtoumax
24578 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24579 echo "$as_me:$LINENO: checking for $ac_func" >&5
24580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24581 if eval "test \"\${$as_ac_var+set}\" = set"; then
24582 echo $ECHO_N "(cached) $ECHO_C" >&6
24584 cat >conftest.
$ac_ext <<_ACEOF
24585 #line $LINENO "configure"
24588 cat confdefs.h
>>conftest.
$ac_ext
24589 cat >>conftest.
$ac_ext <<_ACEOF
24590 /* end confdefs.h. */
24591 /* System header to define __stub macros and hopefully few prototypes,
24592 which can conflict with char $ac_func (); below.
24593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24594 <limits.h> exists even on freestanding compilers. */
24596 # include <limits.h>
24598 # include <assert.h>
24600 /* Override any gcc2 internal prototype to avoid an error. */
24605 /* We use char because int might match the return type of a gcc2
24606 builtin and then its argument prototype would still apply. */
24608 /* The GNU C library defines this for functions which it implements
24609 to always fail with ENOSYS. Some functions are actually named
24610 something starting with __ and the normal name is an alias. */
24611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24614 char (*f) () = $ac_func;
24623 return f != $ac_func;
24628 rm -f conftest.
$ac_objext conftest
$ac_exeext
24629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24630 (eval $ac_link) 2>&5
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); } &&
24634 { ac_try
='test -s conftest$ac_exeext'
24635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24636 (eval $ac_try) 2>&5
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); }; }; then
24640 eval "$as_ac_var=yes"
24642 echo "$as_me: failed program was:" >&5
24643 sed 's/^/| /' conftest.
$ac_ext >&5
24645 eval "$as_ac_var=no"
24647 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24651 if test `eval echo '${'$as_ac_var'}'` = yes; then
24652 cat >>confdefs.h
<<_ACEOF
24653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24657 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
24664 case "$jm_cv_func_strtoumax_macro,$ac_cv_func_strtoumax" in
24667 for ac_func
in strtoul
24669 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24670 echo "$as_me:$LINENO: checking for $ac_func" >&5
24671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24672 if eval "test \"\${$as_ac_var+set}\" = set"; then
24673 echo $ECHO_N "(cached) $ECHO_C" >&6
24675 cat >conftest.
$ac_ext <<_ACEOF
24676 #line $LINENO "configure"
24679 cat confdefs.h
>>conftest.
$ac_ext
24680 cat >>conftest.
$ac_ext <<_ACEOF
24681 /* end confdefs.h. */
24682 /* System header to define __stub macros and hopefully few prototypes,
24683 which can conflict with char $ac_func (); below.
24684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24685 <limits.h> exists even on freestanding compilers. */
24687 # include <limits.h>
24689 # include <assert.h>
24691 /* Override any gcc2 internal prototype to avoid an error. */
24696 /* We use char because int might match the return type of a gcc2
24697 builtin and then its argument prototype would still apply. */
24699 /* The GNU C library defines this for functions which it implements
24700 to always fail with ENOSYS. Some functions are actually named
24701 something starting with __ and the normal name is an alias. */
24702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24705 char (*f) () = $ac_func;
24714 return f != $ac_func;
24719 rm -f conftest.
$ac_objext conftest
$ac_exeext
24720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24721 (eval $ac_link) 2>&5
24723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 (exit $ac_status); } &&
24725 { ac_try
='test -s conftest$ac_exeext'
24726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24727 (eval $ac_try) 2>&5
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); }; }; then
24731 eval "$as_ac_var=yes"
24733 echo "$as_me: failed program was:" >&5
24734 sed 's/^/| /' conftest.
$ac_ext >&5
24736 eval "$as_ac_var=no"
24738 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24742 if test `eval echo '${'$as_ac_var'}'` = yes; then
24743 cat >>confdefs.h
<<_ACEOF
24744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24748 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
24754 if test "$ac_cv_type_unsigned_long_long" = yes; then
24756 for ac_func
in strtoull
24758 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24759 echo "$as_me:$LINENO: checking for $ac_func" >&5
24760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24761 if eval "test \"\${$as_ac_var+set}\" = set"; then
24762 echo $ECHO_N "(cached) $ECHO_C" >&6
24764 cat >conftest.
$ac_ext <<_ACEOF
24765 #line $LINENO "configure"
24768 cat confdefs.h
>>conftest.
$ac_ext
24769 cat >>conftest.
$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24771 /* System header to define __stub macros and hopefully few prototypes,
24772 which can conflict with char $ac_func (); below.
24773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24774 <limits.h> exists even on freestanding compilers. */
24776 # include <limits.h>
24778 # include <assert.h>
24780 /* Override any gcc2 internal prototype to avoid an error. */
24785 /* We use char because int might match the return type of a gcc2
24786 builtin and then its argument prototype would still apply. */
24788 /* The GNU C library defines this for functions which it implements
24789 to always fail with ENOSYS. Some functions are actually named
24790 something starting with __ and the normal name is an alias. */
24791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24794 char (*f) () = $ac_func;
24803 return f != $ac_func;
24808 rm -f conftest.
$ac_objext conftest
$ac_exeext
24809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24810 (eval $ac_link) 2>&5
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); } &&
24814 { ac_try
='test -s conftest$ac_exeext'
24815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24816 (eval $ac_try) 2>&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); }; }; then
24820 eval "$as_ac_var=yes"
24822 echo "$as_me: failed program was:" >&5
24823 sed 's/^/| /' conftest.
$ac_ext >&5
24825 eval "$as_ac_var=no"
24827 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24831 if test `eval echo '${'$as_ac_var'}'` = yes; then
24832 cat >>confdefs.h
<<_ACEOF
24833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24837 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
24851 echo "$as_me:$LINENO: checking whether strtol is declared" >&5
24852 echo $ECHO_N "checking whether strtol is declared... $ECHO_C" >&6
24853 if test "${ac_cv_have_decl_strtol+set}" = set; then
24854 echo $ECHO_N "(cached) $ECHO_C" >&6
24856 cat >conftest.
$ac_ext <<_ACEOF
24857 #line $LINENO "configure"
24860 cat confdefs.h
>>conftest.
$ac_ext
24861 cat >>conftest.
$ac_ext <<_ACEOF
24862 /* end confdefs.h. */
24863 $ac_includes_default
24868 char *p = (char *) strtol;
24875 rm -f conftest.
$ac_objext
24876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24877 (eval $ac_compile) 2>&5
24879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24880 (exit $ac_status); } &&
24881 { ac_try
='test -s conftest.$ac_objext'
24882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24883 (eval $ac_try) 2>&5
24885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886 (exit $ac_status); }; }; then
24887 ac_cv_have_decl_strtol
=yes
24889 echo "$as_me: failed program was:" >&5
24890 sed 's/^/| /' conftest.
$ac_ext >&5
24892 ac_cv_have_decl_strtol
=no
24894 rm -f conftest.
$ac_objext conftest.
$ac_ext
24896 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtol" >&5
24897 echo "${ECHO_T}$ac_cv_have_decl_strtol" >&6
24898 if test $ac_cv_have_decl_strtol = yes; then
24900 cat >>confdefs.h
<<_ACEOF
24901 #define HAVE_DECL_STRTOL 1
24906 cat >>confdefs.h
<<_ACEOF
24907 #define HAVE_DECL_STRTOL 0
24912 echo "$as_me:$LINENO: checking whether strtoul is declared" >&5
24913 echo $ECHO_N "checking whether strtoul is declared... $ECHO_C" >&6
24914 if test "${ac_cv_have_decl_strtoul+set}" = set; then
24915 echo $ECHO_N "(cached) $ECHO_C" >&6
24917 cat >conftest.
$ac_ext <<_ACEOF
24918 #line $LINENO "configure"
24921 cat confdefs.h
>>conftest.
$ac_ext
24922 cat >>conftest.
$ac_ext <<_ACEOF
24923 /* end confdefs.h. */
24924 $ac_includes_default
24929 char *p = (char *) strtoul;
24936 rm -f conftest.
$ac_objext
24937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24938 (eval $ac_compile) 2>&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } &&
24942 { ac_try
='test -s conftest.$ac_objext'
24943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24944 (eval $ac_try) 2>&5
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); }; }; then
24948 ac_cv_have_decl_strtoul
=yes
24950 echo "$as_me: failed program was:" >&5
24951 sed 's/^/| /' conftest.
$ac_ext >&5
24953 ac_cv_have_decl_strtoul
=no
24955 rm -f conftest.
$ac_objext conftest.
$ac_ext
24957 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoul" >&5
24958 echo "${ECHO_T}$ac_cv_have_decl_strtoul" >&6
24959 if test $ac_cv_have_decl_strtoul = yes; then
24961 cat >>confdefs.h
<<_ACEOF
24962 #define HAVE_DECL_STRTOUL 1
24967 cat >>confdefs.h
<<_ACEOF
24968 #define HAVE_DECL_STRTOUL 0
24973 echo "$as_me:$LINENO: checking whether strtoll is declared" >&5
24974 echo $ECHO_N "checking whether strtoll is declared... $ECHO_C" >&6
24975 if test "${ac_cv_have_decl_strtoll+set}" = set; then
24976 echo $ECHO_N "(cached) $ECHO_C" >&6
24978 cat >conftest.
$ac_ext <<_ACEOF
24979 #line $LINENO "configure"
24982 cat confdefs.h
>>conftest.
$ac_ext
24983 cat >>conftest.
$ac_ext <<_ACEOF
24984 /* end confdefs.h. */
24985 $ac_includes_default
24990 char *p = (char *) strtoll;
24997 rm -f conftest.
$ac_objext
24998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24999 (eval $ac_compile) 2>&5
25001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); } &&
25003 { ac_try
='test -s conftest.$ac_objext'
25004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25005 (eval $ac_try) 2>&5
25007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25008 (exit $ac_status); }; }; then
25009 ac_cv_have_decl_strtoll
=yes
25011 echo "$as_me: failed program was:" >&5
25012 sed 's/^/| /' conftest.
$ac_ext >&5
25014 ac_cv_have_decl_strtoll
=no
25016 rm -f conftest.
$ac_objext conftest.
$ac_ext
25018 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoll" >&5
25019 echo "${ECHO_T}$ac_cv_have_decl_strtoll" >&6
25020 if test $ac_cv_have_decl_strtoll = yes; then
25022 cat >>confdefs.h
<<_ACEOF
25023 #define HAVE_DECL_STRTOLL 1
25028 cat >>confdefs.h
<<_ACEOF
25029 #define HAVE_DECL_STRTOLL 0
25034 echo "$as_me:$LINENO: checking whether strtoimax is declared" >&5
25035 echo $ECHO_N "checking whether strtoimax is declared... $ECHO_C" >&6
25036 if test "${ac_cv_have_decl_strtoimax+set}" = set; then
25037 echo $ECHO_N "(cached) $ECHO_C" >&6
25039 cat >conftest.
$ac_ext <<_ACEOF
25040 #line $LINENO "configure"
25043 cat confdefs.h
>>conftest.
$ac_ext
25044 cat >>conftest.
$ac_ext <<_ACEOF
25045 /* end confdefs.h. */
25046 $ac_includes_default
25051 char *p = (char *) strtoimax;
25058 rm -f conftest.
$ac_objext
25059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25060 (eval $ac_compile) 2>&5
25062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063 (exit $ac_status); } &&
25064 { ac_try
='test -s conftest.$ac_objext'
25065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25066 (eval $ac_try) 2>&5
25068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25069 (exit $ac_status); }; }; then
25070 ac_cv_have_decl_strtoimax
=yes
25072 echo "$as_me: failed program was:" >&5
25073 sed 's/^/| /' conftest.
$ac_ext >&5
25075 ac_cv_have_decl_strtoimax
=no
25077 rm -f conftest.
$ac_objext conftest.
$ac_ext
25079 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoimax" >&5
25080 echo "${ECHO_T}$ac_cv_have_decl_strtoimax" >&6
25081 if test $ac_cv_have_decl_strtoimax = yes; then
25083 cat >>confdefs.h
<<_ACEOF
25084 #define HAVE_DECL_STRTOIMAX 1
25089 cat >>confdefs.h
<<_ACEOF
25090 #define HAVE_DECL_STRTOIMAX 0
25095 echo "$as_me:$LINENO: checking whether strtoumax is declared" >&5
25096 echo $ECHO_N "checking whether strtoumax is declared... $ECHO_C" >&6
25097 if test "${ac_cv_have_decl_strtoumax+set}" = set; then
25098 echo $ECHO_N "(cached) $ECHO_C" >&6
25100 cat >conftest.
$ac_ext <<_ACEOF
25101 #line $LINENO "configure"
25104 cat confdefs.h
>>conftest.
$ac_ext
25105 cat >>conftest.
$ac_ext <<_ACEOF
25106 /* end confdefs.h. */
25107 $ac_includes_default
25112 char *p = (char *) strtoumax;
25119 rm -f conftest.
$ac_objext
25120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25121 (eval $ac_compile) 2>&5
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } &&
25125 { ac_try
='test -s conftest.$ac_objext'
25126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25127 (eval $ac_try) 2>&5
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); }; }; then
25131 ac_cv_have_decl_strtoumax
=yes
25133 echo "$as_me: failed program was:" >&5
25134 sed 's/^/| /' conftest.
$ac_ext >&5
25136 ac_cv_have_decl_strtoumax
=no
25138 rm -f conftest.
$ac_objext conftest.
$ac_ext
25140 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoumax" >&5
25141 echo "${ECHO_T}$ac_cv_have_decl_strtoumax" >&6
25142 if test $ac_cv_have_decl_strtoumax = yes; then
25144 cat >>confdefs.h
<<_ACEOF
25145 #define HAVE_DECL_STRTOUMAX 1
25150 cat >>confdefs.h
<<_ACEOF
25151 #define HAVE_DECL_STRTOUMAX 0
25161 for ac_header
in limits.h stdlib.h inttypes.h
25163 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25165 echo "$as_me:$LINENO: checking for $ac_header" >&5
25166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25168 echo $ECHO_N "(cached) $ECHO_C" >&6
25170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25173 # Is the header compilable?
25174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25176 cat >conftest.
$ac_ext <<_ACEOF
25177 #line $LINENO "configure"
25180 cat confdefs.h
>>conftest.
$ac_ext
25181 cat >>conftest.
$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25183 $ac_includes_default
25184 #include <$ac_header>
25186 rm -f conftest.
$ac_objext
25187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25188 (eval $ac_compile) 2>&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } &&
25192 { ac_try
='test -s conftest.$ac_objext'
25193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25194 (eval $ac_try) 2>&5
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); }; }; then
25198 ac_header_compiler
=yes
25200 echo "$as_me: failed program was:" >&5
25201 sed 's/^/| /' conftest.
$ac_ext >&5
25203 ac_header_compiler
=no
25205 rm -f conftest.
$ac_objext conftest.
$ac_ext
25206 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25207 echo "${ECHO_T}$ac_header_compiler" >&6
25209 # Is the header present?
25210 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25212 cat >conftest.
$ac_ext <<_ACEOF
25213 #line $LINENO "configure"
25216 cat confdefs.h
>>conftest.
$ac_ext
25217 cat >>conftest.
$ac_ext <<_ACEOF
25218 /* end confdefs.h. */
25219 #include <$ac_header>
25221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25222 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25224 grep -v '^ *+' conftest.er1
>conftest.err
25226 cat conftest.err
>&5
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); } >/dev
/null
; then
25229 if test -s conftest.err
; then
25230 ac_cpp_err
=$ac_c_preproc_warn_flag
25237 if test -z "$ac_cpp_err"; then
25238 ac_header_preproc
=yes
25240 echo "$as_me: failed program was:" >&5
25241 sed 's/^/| /' conftest.
$ac_ext >&5
25243 ac_header_preproc
=no
25245 rm -f conftest.err conftest.
$ac_ext
25246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25247 echo "${ECHO_T}$ac_header_preproc" >&6
25249 # So? What about this header?
25250 case $ac_header_compiler:$ac_header_preproc in
25252 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25253 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25258 ## ------------------------------------ ##
25259 ## Report this to bug-autoconf@gnu.org. ##
25260 ## ------------------------------------ ##
25263 sed "s/^/$as_me: WARNING: /" >&2
25266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25274 ## ------------------------------------ ##
25275 ## Report this to bug-autoconf@gnu.org. ##
25276 ## ------------------------------------ ##
25279 sed "s/^/$as_me: WARNING: /" >&2
25282 echo "$as_me:$LINENO: checking for $ac_header" >&5
25283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25285 echo $ECHO_N "(cached) $ECHO_C" >&6
25287 eval "$as_ac_Header=$ac_header_preproc"
25289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25294 cat >>confdefs.h
<<_ACEOF
25295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25303 echo "$as_me:$LINENO: checking whether <inttypes.h> defines strtoimax as a macro" >&5
25304 echo $ECHO_N "checking whether <inttypes.h> defines strtoimax as a macro... $ECHO_C" >&6
25305 if test "${jm_cv_func_strtoimax_macro+set}" = set; then
25306 echo $ECHO_N "(cached) $ECHO_C" >&6
25308 cat >conftest.
$ac_ext <<_ACEOF
25309 #line $LINENO "configure"
25312 cat confdefs.h
>>conftest.
$ac_ext
25313 cat >>conftest.
$ac_ext <<_ACEOF
25314 /* end confdefs.h. */
25315 #include <inttypes.h>
25317 inttypes_h_defines_strtoimax
25320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25321 $EGREP "inttypes_h_defines_strtoimax" >/dev
/null
2>&1; then
25322 jm_cv_func_strtoimax_macro
=yes
25324 jm_cv_func_strtoimax_macro
=no
25329 echo "$as_me:$LINENO: result: $jm_cv_func_strtoimax_macro" >&5
25330 echo "${ECHO_T}$jm_cv_func_strtoimax_macro" >&6
25332 if test "$jm_cv_func_strtoimax_macro" != yes; then
25334 for ac_func
in strtoimax
25336 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25337 echo "$as_me:$LINENO: checking for $ac_func" >&5
25338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25339 if eval "test \"\${$as_ac_var+set}\" = set"; then
25340 echo $ECHO_N "(cached) $ECHO_C" >&6
25342 cat >conftest.
$ac_ext <<_ACEOF
25343 #line $LINENO "configure"
25346 cat confdefs.h
>>conftest.
$ac_ext
25347 cat >>conftest.
$ac_ext <<_ACEOF
25348 /* end confdefs.h. */
25349 /* System header to define __stub macros and hopefully few prototypes,
25350 which can conflict with char $ac_func (); below.
25351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25352 <limits.h> exists even on freestanding compilers. */
25354 # include <limits.h>
25356 # include <assert.h>
25358 /* Override any gcc2 internal prototype to avoid an error. */
25363 /* We use char because int might match the return type of a gcc2
25364 builtin and then its argument prototype would still apply. */
25366 /* The GNU C library defines this for functions which it implements
25367 to always fail with ENOSYS. Some functions are actually named
25368 something starting with __ and the normal name is an alias. */
25369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25372 char (*f) () = $ac_func;
25381 return f != $ac_func;
25386 rm -f conftest.
$ac_objext conftest
$ac_exeext
25387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25388 (eval $ac_link) 2>&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); } &&
25392 { ac_try
='test -s conftest$ac_exeext'
25393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25394 (eval $ac_try) 2>&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); }; }; then
25398 eval "$as_ac_var=yes"
25400 echo "$as_me: failed program was:" >&5
25401 sed 's/^/| /' conftest.
$ac_ext >&5
25403 eval "$as_ac_var=no"
25405 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25409 if test `eval echo '${'$as_ac_var'}'` = yes; then
25410 cat >>confdefs.h
<<_ACEOF
25411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25415 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
25422 case "$jm_cv_func_strtoimax_macro,$ac_cv_func_strtoimax" in
25425 for ac_func
in strtol
25427 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25428 echo "$as_me:$LINENO: checking for $ac_func" >&5
25429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25430 if eval "test \"\${$as_ac_var+set}\" = set"; then
25431 echo $ECHO_N "(cached) $ECHO_C" >&6
25433 cat >conftest.
$ac_ext <<_ACEOF
25434 #line $LINENO "configure"
25437 cat confdefs.h
>>conftest.
$ac_ext
25438 cat >>conftest.
$ac_ext <<_ACEOF
25439 /* end confdefs.h. */
25440 /* System header to define __stub macros and hopefully few prototypes,
25441 which can conflict with char $ac_func (); below.
25442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25443 <limits.h> exists even on freestanding compilers. */
25445 # include <limits.h>
25447 # include <assert.h>
25449 /* Override any gcc2 internal prototype to avoid an error. */
25454 /* We use char because int might match the return type of a gcc2
25455 builtin and then its argument prototype would still apply. */
25457 /* The GNU C library defines this for functions which it implements
25458 to always fail with ENOSYS. Some functions are actually named
25459 something starting with __ and the normal name is an alias. */
25460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25463 char (*f) () = $ac_func;
25472 return f != $ac_func;
25477 rm -f conftest.
$ac_objext conftest
$ac_exeext
25478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25479 (eval $ac_link) 2>&5
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); } &&
25483 { ac_try
='test -s conftest$ac_exeext'
25484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25485 (eval $ac_try) 2>&5
25487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488 (exit $ac_status); }; }; then
25489 eval "$as_ac_var=yes"
25491 echo "$as_me: failed program was:" >&5
25492 sed 's/^/| /' conftest.
$ac_ext >&5
25494 eval "$as_ac_var=no"
25496 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25500 if test `eval echo '${'$as_ac_var'}'` = yes; then
25501 cat >>confdefs.h
<<_ACEOF
25502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25506 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
25512 if test "$ac_cv_type_long_long" = yes; then
25514 for ac_func
in strtoll
25516 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25517 echo "$as_me:$LINENO: checking for $ac_func" >&5
25518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25519 if eval "test \"\${$as_ac_var+set}\" = set"; then
25520 echo $ECHO_N "(cached) $ECHO_C" >&6
25522 cat >conftest.
$ac_ext <<_ACEOF
25523 #line $LINENO "configure"
25526 cat confdefs.h
>>conftest.
$ac_ext
25527 cat >>conftest.
$ac_ext <<_ACEOF
25528 /* end confdefs.h. */
25529 /* System header to define __stub macros and hopefully few prototypes,
25530 which can conflict with char $ac_func (); below.
25531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25532 <limits.h> exists even on freestanding compilers. */
25534 # include <limits.h>
25536 # include <assert.h>
25538 /* Override any gcc2 internal prototype to avoid an error. */
25543 /* We use char because int might match the return type of a gcc2
25544 builtin and then its argument prototype would still apply. */
25546 /* The GNU C library defines this for functions which it implements
25547 to always fail with ENOSYS. Some functions are actually named
25548 something starting with __ and the normal name is an alias. */
25549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25552 char (*f) () = $ac_func;
25561 return f != $ac_func;
25566 rm -f conftest.
$ac_objext conftest
$ac_exeext
25567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25568 (eval $ac_link) 2>&5
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); } &&
25572 { ac_try
='test -s conftest$ac_exeext'
25573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25574 (eval $ac_try) 2>&5
25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577 (exit $ac_status); }; }; then
25578 eval "$as_ac_var=yes"
25580 echo "$as_me: failed program was:" >&5
25581 sed 's/^/| /' conftest.
$ac_ext >&5
25583 eval "$as_ac_var=no"
25585 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25589 if test `eval echo '${'$as_ac_var'}'` = yes; then
25590 cat >>confdefs.h
<<_ACEOF
25591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25595 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
25604 echo "$as_me:$LINENO: checking whether link(2) dereferences a symlink specified with a trailing slash" >&5
25605 echo $ECHO_N "checking whether link(2) dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
25606 if test "${jm_ac_cv_func_link_follows_symlink+set}" = set; then
25607 echo $ECHO_N "(cached) $ECHO_C" >&6
25610 test -z "$ac_cv_header_unistd_h" \
25612 for ac_header
in unistd.h
25614 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25616 echo "$as_me:$LINENO: checking for $ac_header" >&5
25617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25619 echo $ECHO_N "(cached) $ECHO_C" >&6
25621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25624 # Is the header compilable?
25625 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25627 cat >conftest.
$ac_ext <<_ACEOF
25628 #line $LINENO "configure"
25631 cat confdefs.h
>>conftest.
$ac_ext
25632 cat >>conftest.
$ac_ext <<_ACEOF
25633 /* end confdefs.h. */
25634 $ac_includes_default
25635 #include <$ac_header>
25637 rm -f conftest.
$ac_objext
25638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25639 (eval $ac_compile) 2>&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); } &&
25643 { ac_try
='test -s conftest.$ac_objext'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; }; then
25649 ac_header_compiler
=yes
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.
$ac_ext >&5
25654 ac_header_compiler
=no
25656 rm -f conftest.
$ac_objext conftest.
$ac_ext
25657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25658 echo "${ECHO_T}$ac_header_compiler" >&6
25660 # Is the header present?
25661 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25662 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25663 cat >conftest.
$ac_ext <<_ACEOF
25664 #line $LINENO "configure"
25667 cat confdefs.h
>>conftest.
$ac_ext
25668 cat >>conftest.
$ac_ext <<_ACEOF
25669 /* end confdefs.h. */
25670 #include <$ac_header>
25672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25673 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25675 grep -v '^ *+' conftest.er1
>conftest.err
25677 cat conftest.err
>&5
25678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679 (exit $ac_status); } >/dev
/null
; then
25680 if test -s conftest.err
; then
25681 ac_cpp_err
=$ac_c_preproc_warn_flag
25688 if test -z "$ac_cpp_err"; then
25689 ac_header_preproc
=yes
25691 echo "$as_me: failed program was:" >&5
25692 sed 's/^/| /' conftest.
$ac_ext >&5
25694 ac_header_preproc
=no
25696 rm -f conftest.err conftest.
$ac_ext
25697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25698 echo "${ECHO_T}$ac_header_preproc" >&6
25700 # So? What about this header?
25701 case $ac_header_compiler:$ac_header_preproc in
25703 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25704 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25709 ## ------------------------------------ ##
25710 ## Report this to bug-autoconf@gnu.org. ##
25711 ## ------------------------------------ ##
25714 sed "s/^/$as_me: WARNING: /" >&2
25717 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25719 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25720 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25725 ## ------------------------------------ ##
25726 ## Report this to bug-autoconf@gnu.org. ##
25727 ## ------------------------------------ ##
25730 sed "s/^/$as_me: WARNING: /" >&2
25733 echo "$as_me:$LINENO: checking for $ac_header" >&5
25734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25736 echo $ECHO_N "(cached) $ECHO_C" >&6
25738 eval "$as_ac_Header=$ac_header_preproc"
25740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25745 cat >>confdefs.h
<<_ACEOF
25746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25754 # Create a regular file.
25755 echo > conftest.
file
25756 if test "$cross_compiling" = yes; then
25757 jm_ac_cv_func_link_follows_symlink
=yes
25759 cat >conftest.
$ac_ext <<_ACEOF
25760 #line $LINENO "configure"
25763 cat confdefs.h
>>conftest.
$ac_ext
25764 cat >>conftest.
$ac_ext <<_ACEOF
25765 /* end confdefs.h. */
25767 # include <sys/types.h>
25768 # include <sys/stat.h>
25769 # ifdef HAVE_UNISTD_H
25770 # include <unistd.h>
25773 # define SAME_INODE(Stat_buf_1, Stat_buf_2) \
25774 ((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \
25775 && (Stat_buf_1).st_dev == (Stat_buf_2).st_dev)
25780 const char *file = "conftest.file";
25781 const char *sym = "conftest.sym";
25782 const char *hard = "conftest.hard";
25783 struct stat sb_file, sb_hard;
25785 /* Create a symlink to the regular file. */
25786 if (symlink (file, sym))
25789 /* Create a hard link to that symlink. */
25790 if (link (sym, hard))
25793 if (lstat (hard, &sb_hard))
25795 if (lstat (file, &sb_file))
25798 /* If the dev/inode of hard and file are the same, then
25799 the link call followed the symlink. */
25800 return SAME_INODE (sb_hard, sb_file) ? 0 : 1;
25804 rm -f conftest
$ac_exeext
25805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25806 (eval $ac_link) 2>&5
25808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25811 (eval $ac_try) 2>&5
25813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25814 (exit $ac_status); }; }; then
25815 jm_ac_cv_func_link_follows_symlink
=yes
25817 echo "$as_me: program exited with status $ac_status" >&5
25818 echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.
$ac_ext >&5
25821 ( exit $ac_status )
25822 jm_ac_cv_func_link_follows_symlink
=no
25824 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25828 echo "$as_me:$LINENO: result: $jm_ac_cv_func_link_follows_symlink" >&5
25829 echo "${ECHO_T}$jm_ac_cv_func_link_follows_symlink" >&6
25830 if test $jm_ac_cv_func_link_follows_symlink = yes; then
25832 cat >>confdefs.h
<<\_ACEOF
25833 #define LINK_FOLLOWS_SYMLINKS 1
25838 echo "$as_me:$LINENO: checking for error_at_line" >&5
25839 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
25840 if test "${ac_cv_lib_error_at_line+set}" = set; then
25841 echo $ECHO_N "(cached) $ECHO_C" >&6
25843 cat >conftest.
$ac_ext <<_ACEOF
25844 #line $LINENO "configure"
25847 cat confdefs.h
>>conftest.
$ac_ext
25848 cat >>conftest.
$ac_ext <<_ACEOF
25849 /* end confdefs.h. */
25854 error_at_line (0, 0, "", 0, "");
25859 rm -f conftest.
$ac_objext conftest
$ac_exeext
25860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25861 (eval $ac_link) 2>&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); } &&
25865 { ac_try
='test -s conftest$ac_exeext'
25866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25867 (eval $ac_try) 2>&5
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); }; }; then
25871 ac_cv_lib_error_at_line
=yes
25873 echo "$as_me: failed program was:" >&5
25874 sed 's/^/| /' conftest.
$ac_ext >&5
25876 ac_cv_lib_error_at_line
=no
25878 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25880 echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
25881 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6
25882 if test $ac_cv_lib_error_at_line = no
; then
25883 LIBOBJS
="$LIBOBJS error.$ac_objext"
25890 for ac_func
in localtime_r strftime
25892 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25893 echo "$as_me:$LINENO: checking for $ac_func" >&5
25894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25895 if eval "test \"\${$as_ac_var+set}\" = set"; then
25896 echo $ECHO_N "(cached) $ECHO_C" >&6
25898 cat >conftest.
$ac_ext <<_ACEOF
25899 #line $LINENO "configure"
25902 cat confdefs.h
>>conftest.
$ac_ext
25903 cat >>conftest.
$ac_ext <<_ACEOF
25904 /* end confdefs.h. */
25905 /* System header to define __stub macros and hopefully few prototypes,
25906 which can conflict with char $ac_func (); below.
25907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25908 <limits.h> exists even on freestanding compilers. */
25910 # include <limits.h>
25912 # include <assert.h>
25914 /* Override any gcc2 internal prototype to avoid an error. */
25919 /* We use char because int might match the return type of a gcc2
25920 builtin and then its argument prototype would still apply. */
25922 /* The GNU C library defines this for functions which it implements
25923 to always fail with ENOSYS. Some functions are actually named
25924 something starting with __ and the normal name is an alias. */
25925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25928 char (*f) () = $ac_func;
25937 return f != $ac_func;
25942 rm -f conftest.
$ac_objext conftest
$ac_exeext
25943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25944 (eval $ac_link) 2>&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } &&
25948 { ac_try
='test -s conftest$ac_exeext'
25949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25950 (eval $ac_try) 2>&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); }; }; then
25954 eval "$as_ac_var=yes"
25956 echo "$as_me: failed program was:" >&5
25957 sed 's/^/| /' conftest.
$ac_ext >&5
25959 eval "$as_ac_var=no"
25961 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25965 if test `eval echo '${'$as_ac_var'}'` = yes; then
25966 cat >>confdefs.h
<<_ACEOF
25967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25975 for ac_header
in limits.h
25977 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25979 echo "$as_me:$LINENO: checking for $ac_header" >&5
25980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25982 echo $ECHO_N "(cached) $ECHO_C" >&6
25984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25987 # Is the header compilable?
25988 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25990 cat >conftest.
$ac_ext <<_ACEOF
25991 #line $LINENO "configure"
25994 cat confdefs.h
>>conftest.
$ac_ext
25995 cat >>conftest.
$ac_ext <<_ACEOF
25996 /* end confdefs.h. */
25997 $ac_includes_default
25998 #include <$ac_header>
26000 rm -f conftest.
$ac_objext
26001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26002 (eval $ac_compile) 2>&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); } &&
26006 { ac_try
='test -s conftest.$ac_objext'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; }; then
26012 ac_header_compiler
=yes
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.
$ac_ext >&5
26017 ac_header_compiler
=no
26019 rm -f conftest.
$ac_objext conftest.
$ac_ext
26020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26021 echo "${ECHO_T}$ac_header_compiler" >&6
26023 # Is the header present?
26024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26026 cat >conftest.
$ac_ext <<_ACEOF
26027 #line $LINENO "configure"
26030 cat confdefs.h
>>conftest.
$ac_ext
26031 cat >>conftest.
$ac_ext <<_ACEOF
26032 /* end confdefs.h. */
26033 #include <$ac_header>
26035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26036 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26038 grep -v '^ *+' conftest.er1
>conftest.err
26040 cat conftest.err
>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } >/dev
/null
; then
26043 if test -s conftest.err
; then
26044 ac_cpp_err
=$ac_c_preproc_warn_flag
26051 if test -z "$ac_cpp_err"; then
26052 ac_header_preproc
=yes
26054 echo "$as_me: failed program was:" >&5
26055 sed 's/^/| /' conftest.
$ac_ext >&5
26057 ac_header_preproc
=no
26059 rm -f conftest.err conftest.
$ac_ext
26060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26061 echo "${ECHO_T}$ac_header_preproc" >&6
26063 # So? What about this header?
26064 case $ac_header_compiler:$ac_header_preproc in
26066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26072 ## ------------------------------------ ##
26073 ## Report this to bug-autoconf@gnu.org. ##
26074 ## ------------------------------------ ##
26077 sed "s/^/$as_me: WARNING: /" >&2
26080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26085 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26088 ## ------------------------------------ ##
26089 ## Report this to bug-autoconf@gnu.org. ##
26090 ## ------------------------------------ ##
26093 sed "s/^/$as_me: WARNING: /" >&2
26096 echo "$as_me:$LINENO: checking for $ac_header" >&5
26097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26099 echo $ECHO_N "(cached) $ECHO_C" >&6
26101 eval "$as_ac_Header=$ac_header_preproc"
26103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26108 cat >>confdefs.h
<<_ACEOF
26109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26121 for ac_func
in bcopy tzset mempcpy memcpy memset
26123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26124 echo "$as_me:$LINENO: checking for $ac_func" >&5
26125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26126 if eval "test \"\${$as_ac_var+set}\" = set"; then
26127 echo $ECHO_N "(cached) $ECHO_C" >&6
26129 cat >conftest.
$ac_ext <<_ACEOF
26130 #line $LINENO "configure"
26133 cat confdefs.h
>>conftest.
$ac_ext
26134 cat >>conftest.
$ac_ext <<_ACEOF
26135 /* end confdefs.h. */
26136 /* System header to define __stub macros and hopefully few prototypes,
26137 which can conflict with char $ac_func (); below.
26138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26139 <limits.h> exists even on freestanding compilers. */
26141 # include <limits.h>
26143 # include <assert.h>
26145 /* Override any gcc2 internal prototype to avoid an error. */
26150 /* We use char because int might match the return type of a gcc2
26151 builtin and then its argument prototype would still apply. */
26153 /* The GNU C library defines this for functions which it implements
26154 to always fail with ENOSYS. Some functions are actually named
26155 something starting with __ and the normal name is an alias. */
26156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26159 char (*f) () = $ac_func;
26168 return f != $ac_func;
26173 rm -f conftest.
$ac_objext conftest
$ac_exeext
26174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26175 (eval $ac_link) 2>&5
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); } &&
26179 { ac_try
='test -s conftest$ac_exeext'
26180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181 (eval $ac_try) 2>&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); }; }; then
26185 eval "$as_ac_var=yes"
26187 echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.
$ac_ext >&5
26190 eval "$as_ac_var=no"
26192 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26196 if test `eval echo '${'$as_ac_var'}'` = yes; then
26197 cat >>confdefs.h
<<_ACEOF
26198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26205 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
26206 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
26207 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
26208 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
26209 echo $ECHO_N "(cached) $ECHO_C" >&6
26211 cat >conftest.
$ac_ext <<_ACEOF
26212 #line $LINENO "configure"
26215 cat confdefs.h
>>conftest.
$ac_ext
26216 cat >>conftest.
$ac_ext <<_ACEOF
26217 /* end confdefs.h. */
26218 #include <sys/types.h>
26219 #include <$ac_cv_struct_tm>
26225 static struct tm ac_aggr;
26226 if (ac_aggr.tm_zone)
26232 rm -f conftest.
$ac_objext
26233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26234 (eval $ac_compile) 2>&5
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); } &&
26238 { ac_try
='test -s conftest.$ac_objext'
26239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26240 (eval $ac_try) 2>&5
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); }; }; then
26244 ac_cv_member_struct_tm_tm_zone
=yes
26246 echo "$as_me: failed program was:" >&5
26247 sed 's/^/| /' conftest.
$ac_ext >&5
26249 cat >conftest.
$ac_ext <<_ACEOF
26250 #line $LINENO "configure"
26253 cat confdefs.h
>>conftest.
$ac_ext
26254 cat >>conftest.
$ac_ext <<_ACEOF
26255 /* end confdefs.h. */
26256 #include <sys/types.h>
26257 #include <$ac_cv_struct_tm>
26263 static struct tm ac_aggr;
26264 if (sizeof ac_aggr.tm_zone)
26270 rm -f conftest.
$ac_objext
26271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26272 (eval $ac_compile) 2>&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); } &&
26276 { ac_try
='test -s conftest.$ac_objext'
26277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26278 (eval $ac_try) 2>&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); }; }; then
26282 ac_cv_member_struct_tm_tm_zone
=yes
26284 echo "$as_me: failed program was:" >&5
26285 sed 's/^/| /' conftest.
$ac_ext >&5
26287 ac_cv_member_struct_tm_tm_zone
=no
26289 rm -f conftest.
$ac_objext conftest.
$ac_ext
26291 rm -f conftest.
$ac_objext conftest.
$ac_ext
26293 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
26294 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
26295 if test $ac_cv_member_struct_tm_tm_zone = yes; then
26297 cat >>confdefs.h
<<_ACEOF
26298 #define HAVE_STRUCT_TM_TM_ZONE 1
26304 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
26306 cat >>confdefs.h
<<\_ACEOF
26307 #define HAVE_TM_ZONE 1
26311 echo "$as_me:$LINENO: checking for tzname" >&5
26312 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
26313 if test "${ac_cv_var_tzname+set}" = set; then
26314 echo $ECHO_N "(cached) $ECHO_C" >&6
26316 cat >conftest.
$ac_ext <<_ACEOF
26317 #line $LINENO "configure"
26320 cat confdefs.h
>>conftest.
$ac_ext
26321 cat >>conftest.
$ac_ext <<_ACEOF
26322 /* end confdefs.h. */
26324 #ifndef tzname /* For SGI. */
26325 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
26336 rm -f conftest.
$ac_objext conftest
$ac_exeext
26337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26338 (eval $ac_link) 2>&5
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); } &&
26342 { ac_try
='test -s conftest$ac_exeext'
26343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26344 (eval $ac_try) 2>&5
26346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26347 (exit $ac_status); }; }; then
26348 ac_cv_var_tzname
=yes
26350 echo "$as_me: failed program was:" >&5
26351 sed 's/^/| /' conftest.
$ac_ext >&5
26353 ac_cv_var_tzname
=no
26355 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26357 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
26358 echo "${ECHO_T}$ac_cv_var_tzname" >&6
26359 if test $ac_cv_var_tzname = yes; then
26361 cat >>confdefs.h
<<\_ACEOF
26362 #define HAVE_TZNAME 1
26371 for ac_func
in mblen mbrlen
26373 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26374 echo "$as_me:$LINENO: checking for $ac_func" >&5
26375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26376 if eval "test \"\${$as_ac_var+set}\" = set"; then
26377 echo $ECHO_N "(cached) $ECHO_C" >&6
26379 cat >conftest.
$ac_ext <<_ACEOF
26380 #line $LINENO "configure"
26383 cat confdefs.h
>>conftest.
$ac_ext
26384 cat >>conftest.
$ac_ext <<_ACEOF
26385 /* end confdefs.h. */
26386 /* System header to define __stub macros and hopefully few prototypes,
26387 which can conflict with char $ac_func (); below.
26388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26389 <limits.h> exists even on freestanding compilers. */
26391 # include <limits.h>
26393 # include <assert.h>
26395 /* Override any gcc2 internal prototype to avoid an error. */
26400 /* We use char because int might match the return type of a gcc2
26401 builtin and then its argument prototype would still apply. */
26403 /* The GNU C library defines this for functions which it implements
26404 to always fail with ENOSYS. Some functions are actually named
26405 something starting with __ and the normal name is an alias. */
26406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26409 char (*f) () = $ac_func;
26418 return f != $ac_func;
26423 rm -f conftest.
$ac_objext conftest
$ac_exeext
26424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26425 (eval $ac_link) 2>&5
26427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26428 (exit $ac_status); } &&
26429 { ac_try
='test -s conftest$ac_exeext'
26430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26431 (eval $ac_try) 2>&5
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); }; }; then
26435 eval "$as_ac_var=yes"
26437 echo "$as_me: failed program was:" >&5
26438 sed 's/^/| /' conftest.
$ac_ext >&5
26440 eval "$as_ac_var=no"
26442 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26446 if test `eval echo '${'$as_ac_var'}'` = yes; then
26447 cat >>confdefs.h
<<_ACEOF
26448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26455 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
26456 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
26457 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
26458 echo $ECHO_N "(cached) $ECHO_C" >&6
26460 cat >conftest.
$ac_ext <<_ACEOF
26461 #line $LINENO "configure"
26464 cat confdefs.h
>>conftest.
$ac_ext
26465 cat >>conftest.
$ac_ext <<_ACEOF
26466 /* end confdefs.h. */
26472 static struct tm ac_aggr;
26473 if (ac_aggr.tm_gmtoff)
26479 rm -f conftest.
$ac_objext
26480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26481 (eval $ac_compile) 2>&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } &&
26485 { ac_try
='test -s conftest.$ac_objext'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; }; then
26491 ac_cv_member_struct_tm_tm_gmtoff
=yes
26493 echo "$as_me: failed program was:" >&5
26494 sed 's/^/| /' conftest.
$ac_ext >&5
26496 cat >conftest.
$ac_ext <<_ACEOF
26497 #line $LINENO "configure"
26500 cat confdefs.h
>>conftest.
$ac_ext
26501 cat >>conftest.
$ac_ext <<_ACEOF
26502 /* end confdefs.h. */
26508 static struct tm ac_aggr;
26509 if (sizeof ac_aggr.tm_gmtoff)
26515 rm -f conftest.
$ac_objext
26516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26517 (eval $ac_compile) 2>&5
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); } &&
26521 { ac_try
='test -s conftest.$ac_objext'
26522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26523 (eval $ac_try) 2>&5
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); }; }; then
26527 ac_cv_member_struct_tm_tm_gmtoff
=yes
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.
$ac_ext >&5
26532 ac_cv_member_struct_tm_tm_gmtoff
=no
26534 rm -f conftest.
$ac_objext conftest.
$ac_ext
26536 rm -f conftest.
$ac_objext conftest.
$ac_ext
26538 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
26539 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
26540 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
26542 cat >>confdefs.h
<<\_ACEOF
26543 #define HAVE_TM_GMTOFF 1
26551 for ac_header
in sys
/time.h
26553 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26555 echo "$as_me:$LINENO: checking for $ac_header" >&5
26556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26558 echo $ECHO_N "(cached) $ECHO_C" >&6
26560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26563 # Is the header compilable?
26564 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26565 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26566 cat >conftest.
$ac_ext <<_ACEOF
26567 #line $LINENO "configure"
26570 cat confdefs.h
>>conftest.
$ac_ext
26571 cat >>conftest.
$ac_ext <<_ACEOF
26572 /* end confdefs.h. */
26573 $ac_includes_default
26574 #include <$ac_header>
26576 rm -f conftest.
$ac_objext
26577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26578 (eval $ac_compile) 2>&5
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); } &&
26582 { ac_try
='test -s conftest.$ac_objext'
26583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26584 (eval $ac_try) 2>&5
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); }; }; then
26588 ac_header_compiler
=yes
26590 echo "$as_me: failed program was:" >&5
26591 sed 's/^/| /' conftest.
$ac_ext >&5
26593 ac_header_compiler
=no
26595 rm -f conftest.
$ac_objext conftest.
$ac_ext
26596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26597 echo "${ECHO_T}$ac_header_compiler" >&6
26599 # Is the header present?
26600 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26601 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26602 cat >conftest.
$ac_ext <<_ACEOF
26603 #line $LINENO "configure"
26606 cat confdefs.h
>>conftest.
$ac_ext
26607 cat >>conftest.
$ac_ext <<_ACEOF
26608 /* end confdefs.h. */
26609 #include <$ac_header>
26611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26612 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26614 grep -v '^ *+' conftest.er1
>conftest.err
26616 cat conftest.err
>&5
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); } >/dev
/null
; then
26619 if test -s conftest.err
; then
26620 ac_cpp_err
=$ac_c_preproc_warn_flag
26627 if test -z "$ac_cpp_err"; then
26628 ac_header_preproc
=yes
26630 echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.
$ac_ext >&5
26633 ac_header_preproc
=no
26635 rm -f conftest.err conftest.
$ac_ext
26636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26637 echo "${ECHO_T}$ac_header_preproc" >&6
26639 # So? What about this header?
26640 case $ac_header_compiler:$ac_header_preproc in
26642 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26643 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26645 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26648 ## ------------------------------------ ##
26649 ## Report this to bug-autoconf@gnu.org. ##
26650 ## ------------------------------------ ##
26653 sed "s/^/$as_me: WARNING: /" >&2
26656 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26657 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26658 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26659 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26661 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26664 ## ------------------------------------ ##
26665 ## Report this to bug-autoconf@gnu.org. ##
26666 ## ------------------------------------ ##
26669 sed "s/^/$as_me: WARNING: /" >&2
26672 echo "$as_me:$LINENO: checking for $ac_header" >&5
26673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26675 echo $ECHO_N "(cached) $ECHO_C" >&6
26677 eval "$as_ac_Header=$ac_header_preproc"
26679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26684 cat >>confdefs.h
<<_ACEOF
26685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26693 cat >>confdefs.h
<<\_ACEOF
26694 #define my_strftime nstrftime
26700 for ac_header
in stdio_ext.h
26702 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26704 echo "$as_me:$LINENO: checking for $ac_header" >&5
26705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26707 echo $ECHO_N "(cached) $ECHO_C" >&6
26709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26710 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26712 # Is the header compilable?
26713 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26714 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26715 cat >conftest.
$ac_ext <<_ACEOF
26716 #line $LINENO "configure"
26719 cat confdefs.h
>>conftest.
$ac_ext
26720 cat >>conftest.
$ac_ext <<_ACEOF
26721 /* end confdefs.h. */
26722 $ac_includes_default
26723 #include <$ac_header>
26725 rm -f conftest.
$ac_objext
26726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26727 (eval $ac_compile) 2>&5
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); } &&
26731 { ac_try
='test -s conftest.$ac_objext'
26732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26733 (eval $ac_try) 2>&5
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); }; }; then
26737 ac_header_compiler
=yes
26739 echo "$as_me: failed program was:" >&5
26740 sed 's/^/| /' conftest.
$ac_ext >&5
26742 ac_header_compiler
=no
26744 rm -f conftest.
$ac_objext conftest.
$ac_ext
26745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26746 echo "${ECHO_T}$ac_header_compiler" >&6
26748 # Is the header present?
26749 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26750 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26751 cat >conftest.
$ac_ext <<_ACEOF
26752 #line $LINENO "configure"
26755 cat confdefs.h
>>conftest.
$ac_ext
26756 cat >>conftest.
$ac_ext <<_ACEOF
26757 /* end confdefs.h. */
26758 #include <$ac_header>
26760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26761 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26763 grep -v '^ *+' conftest.er1
>conftest.err
26765 cat conftest.err
>&5
26766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26767 (exit $ac_status); } >/dev
/null
; then
26768 if test -s conftest.err
; then
26769 ac_cpp_err
=$ac_c_preproc_warn_flag
26776 if test -z "$ac_cpp_err"; then
26777 ac_header_preproc
=yes
26779 echo "$as_me: failed program was:" >&5
26780 sed 's/^/| /' conftest.
$ac_ext >&5
26782 ac_header_preproc
=no
26784 rm -f conftest.err conftest.
$ac_ext
26785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26786 echo "${ECHO_T}$ac_header_preproc" >&6
26788 # So? What about this header?
26789 case $ac_header_compiler:$ac_header_preproc in
26791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26797 ## ------------------------------------ ##
26798 ## Report this to bug-autoconf@gnu.org. ##
26799 ## ------------------------------------ ##
26802 sed "s/^/$as_me: WARNING: /" >&2
26805 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26806 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26807 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26808 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26813 ## ------------------------------------ ##
26814 ## Report this to bug-autoconf@gnu.org. ##
26815 ## ------------------------------------ ##
26818 sed "s/^/$as_me: WARNING: /" >&2
26821 echo "$as_me:$LINENO: checking for $ac_header" >&5
26822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26824 echo $ECHO_N "(cached) $ECHO_C" >&6
26826 eval "$as_ac_Header=$ac_header_preproc"
26828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26833 cat >>confdefs.h
<<_ACEOF
26834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26842 for ac_func
in __fpending
26844 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26845 echo "$as_me:$LINENO: checking for $ac_func" >&5
26846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26847 if eval "test \"\${$as_ac_var+set}\" = set"; then
26848 echo $ECHO_N "(cached) $ECHO_C" >&6
26850 cat >conftest.
$ac_ext <<_ACEOF
26851 #line $LINENO "configure"
26854 cat confdefs.h
>>conftest.
$ac_ext
26855 cat >>conftest.
$ac_ext <<_ACEOF
26856 /* end confdefs.h. */
26857 /* System header to define __stub macros and hopefully few prototypes,
26858 which can conflict with char $ac_func (); below.
26859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26860 <limits.h> exists even on freestanding compilers. */
26862 # include <limits.h>
26864 # include <assert.h>
26866 /* Override any gcc2 internal prototype to avoid an error. */
26871 /* We use char because int might match the return type of a gcc2
26872 builtin and then its argument prototype would still apply. */
26874 /* The GNU C library defines this for functions which it implements
26875 to always fail with ENOSYS. Some functions are actually named
26876 something starting with __ and the normal name is an alias. */
26877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26880 char (*f) () = $ac_func;
26889 return f != $ac_func;
26894 rm -f conftest.
$ac_objext conftest
$ac_exeext
26895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26896 (eval $ac_link) 2>&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); } &&
26900 { ac_try
='test -s conftest$ac_exeext'
26901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26902 (eval $ac_try) 2>&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); }; }; then
26906 eval "$as_ac_var=yes"
26908 echo "$as_me: failed program was:" >&5
26909 sed 's/^/| /' conftest.
$ac_ext >&5
26911 eval "$as_ac_var=no"
26913 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26917 if test `eval echo '${'$as_ac_var'}'` = yes; then
26918 cat >>confdefs.h
<<_ACEOF
26919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26923 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
26929 # if HAVE_STDIO_EXT_H
26930 # include <stdio_ext.h>
26933 echo "$as_me:$LINENO: checking whether __fpending is declared" >&5
26934 echo $ECHO_N "checking whether __fpending is declared... $ECHO_C" >&6
26935 if test "${ac_cv_have_decl___fpending+set}" = set; then
26936 echo $ECHO_N "(cached) $ECHO_C" >&6
26938 cat >conftest.
$ac_ext <<_ACEOF
26939 #line $LINENO "configure"
26942 cat confdefs.h
>>conftest.
$ac_ext
26943 cat >>conftest.
$ac_ext <<_ACEOF
26944 /* end confdefs.h. */
26951 char *p = (char *) __fpending;
26958 rm -f conftest.
$ac_objext
26959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26960 (eval $ac_compile) 2>&5
26962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26963 (exit $ac_status); } &&
26964 { ac_try
='test -s conftest.$ac_objext'
26965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26966 (eval $ac_try) 2>&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); }; }; then
26970 ac_cv_have_decl___fpending
=yes
26972 echo "$as_me: failed program was:" >&5
26973 sed 's/^/| /' conftest.
$ac_ext >&5
26975 ac_cv_have_decl___fpending
=no
26977 rm -f conftest.
$ac_objext conftest.
$ac_ext
26979 echo "$as_me:$LINENO: result: $ac_cv_have_decl___fpending" >&5
26980 echo "${ECHO_T}$ac_cv_have_decl___fpending" >&6
26981 if test $ac_cv_have_decl___fpending = yes; then
26983 cat >>confdefs.h
<<_ACEOF
26984 #define HAVE_DECL___FPENDING 1
26989 cat >>confdefs.h
<<_ACEOF
26990 #define HAVE_DECL___FPENDING 0
26997 if test $ac_cv_func___fpending = no
; then
26998 echo "$as_me:$LINENO: checking how to determine the number of pending output bytes on a stream" >&5
26999 echo $ECHO_N "checking how to determine the number of pending output bytes on a stream... $ECHO_C" >&6
27000 if test "${ac_cv_sys_pending_output_n_bytes+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27007 'fp->_IO_write_ptr - fp->_IO_write_base' \
27009 '# traditional Unix' \
27010 'fp->_ptr - fp->_base' \
27013 'fp->_p - fp->_bf._base' \
27015 '# SCO, Unixware' \
27016 'fp->__ptr - fp->__base' \
27019 'fp->__bufp - fp->__buffer' \
27021 '# old glibc iostream?' \
27022 'fp->_pptr - fp->_pbase' \
27025 '(*fp)->_ptr - (*fp)->_base' \
27027 '# e.g., DGUX R4.11; the info is not available' \
27031 # Skip each embedded comment.
27032 case "$ac_expr" in '#'*) continue;; esac
27034 cat >conftest.
$ac_ext <<_ACEOF
27035 #line $LINENO "configure"
27038 cat confdefs.h
>>conftest.
$ac_ext
27039 cat >>conftest.
$ac_ext <<_ACEOF
27040 /* end confdefs.h. */
27046 FILE *fp = stdin; (void) ($ac_expr);
27051 rm -f conftest.
$ac_objext
27052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27053 (eval $ac_compile) 2>&5
27055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056 (exit $ac_status); } &&
27057 { ac_try
='test -s conftest.$ac_objext'
27058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27059 (eval $ac_try) 2>&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); }; }; then
27066 echo "$as_me: failed program was:" >&5
27067 sed 's/^/| /' conftest.
$ac_ext >&5
27070 rm -f conftest.
$ac_objext conftest.
$ac_ext
27071 test "$fp_done" = yes && break
27074 ac_cv_sys_pending_output_n_bytes
=$ac_expr
27078 echo "$as_me:$LINENO: result: $ac_cv_sys_pending_output_n_bytes" >&5
27079 echo "${ECHO_T}$ac_cv_sys_pending_output_n_bytes" >&6
27081 cat >>confdefs.h
<<_ACEOF
27082 #define PENDING_OUTPUT_N_BYTES $ac_cv_sys_pending_output_n_bytes
27089 for ac_header
in stdlib.h unistd.h
27091 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27093 echo "$as_me:$LINENO: checking for $ac_header" >&5
27094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27096 echo $ECHO_N "(cached) $ECHO_C" >&6
27098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27101 # Is the header compilable?
27102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27104 cat >conftest.
$ac_ext <<_ACEOF
27105 #line $LINENO "configure"
27108 cat confdefs.h
>>conftest.
$ac_ext
27109 cat >>conftest.
$ac_ext <<_ACEOF
27110 /* end confdefs.h. */
27111 $ac_includes_default
27112 #include <$ac_header>
27114 rm -f conftest.
$ac_objext
27115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27116 (eval $ac_compile) 2>&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); } &&
27120 { ac_try
='test -s conftest.$ac_objext'
27121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122 (eval $ac_try) 2>&5
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); }; }; then
27126 ac_header_compiler
=yes
27128 echo "$as_me: failed program was:" >&5
27129 sed 's/^/| /' conftest.
$ac_ext >&5
27131 ac_header_compiler
=no
27133 rm -f conftest.
$ac_objext conftest.
$ac_ext
27134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27135 echo "${ECHO_T}$ac_header_compiler" >&6
27137 # Is the header present?
27138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27140 cat >conftest.
$ac_ext <<_ACEOF
27141 #line $LINENO "configure"
27144 cat confdefs.h
>>conftest.
$ac_ext
27145 cat >>conftest.
$ac_ext <<_ACEOF
27146 /* end confdefs.h. */
27147 #include <$ac_header>
27149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27152 grep -v '^ *+' conftest.er1
>conftest.err
27154 cat conftest.err
>&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); } >/dev
/null
; then
27157 if test -s conftest.err
; then
27158 ac_cpp_err
=$ac_c_preproc_warn_flag
27165 if test -z "$ac_cpp_err"; then
27166 ac_header_preproc
=yes
27168 echo "$as_me: failed program was:" >&5
27169 sed 's/^/| /' conftest.
$ac_ext >&5
27171 ac_header_preproc
=no
27173 rm -f conftest.err conftest.
$ac_ext
27174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27175 echo "${ECHO_T}$ac_header_preproc" >&6
27177 # So? What about this header?
27178 case $ac_header_compiler:$ac_header_preproc in
27180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27186 ## ------------------------------------ ##
27187 ## Report this to bug-autoconf@gnu.org. ##
27188 ## ------------------------------------ ##
27191 sed "s/^/$as_me: WARNING: /" >&2
27194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27202 ## ------------------------------------ ##
27203 ## Report this to bug-autoconf@gnu.org. ##
27204 ## ------------------------------------ ##
27207 sed "s/^/$as_me: WARNING: /" >&2
27210 echo "$as_me:$LINENO: checking for $ac_header" >&5
27211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27213 echo $ECHO_N "(cached) $ECHO_C" >&6
27215 eval "$as_ac_Header=$ac_header_preproc"
27217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27222 cat >>confdefs.h
<<_ACEOF
27223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27231 for ac_func
in getpagesize
27233 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27234 echo "$as_me:$LINENO: checking for $ac_func" >&5
27235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27236 if eval "test \"\${$as_ac_var+set}\" = set"; then
27237 echo $ECHO_N "(cached) $ECHO_C" >&6
27239 cat >conftest.
$ac_ext <<_ACEOF
27240 #line $LINENO "configure"
27243 cat confdefs.h
>>conftest.
$ac_ext
27244 cat >>conftest.
$ac_ext <<_ACEOF
27245 /* end confdefs.h. */
27246 /* System header to define __stub macros and hopefully few prototypes,
27247 which can conflict with char $ac_func (); below.
27248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27249 <limits.h> exists even on freestanding compilers. */
27251 # include <limits.h>
27253 # include <assert.h>
27255 /* Override any gcc2 internal prototype to avoid an error. */
27260 /* We use char because int might match the return type of a gcc2
27261 builtin and then its argument prototype would still apply. */
27263 /* The GNU C library defines this for functions which it implements
27264 to always fail with ENOSYS. Some functions are actually named
27265 something starting with __ and the normal name is an alias. */
27266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27269 char (*f) () = $ac_func;
27278 return f != $ac_func;
27283 rm -f conftest.
$ac_objext conftest
$ac_exeext
27284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27285 (eval $ac_link) 2>&5
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); } &&
27289 { ac_try
='test -s conftest$ac_exeext'
27290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27291 (eval $ac_try) 2>&5
27293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27294 (exit $ac_status); }; }; then
27295 eval "$as_ac_var=yes"
27297 echo "$as_me: failed program was:" >&5
27298 sed 's/^/| /' conftest.
$ac_ext >&5
27300 eval "$as_ac_var=no"
27302 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27306 if test `eval echo '${'$as_ac_var'}'` = yes; then
27307 cat >>confdefs.h
<<_ACEOF
27308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27314 echo "$as_me:$LINENO: checking for working mmap" >&5
27315 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
27316 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
27317 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 if test "$cross_compiling" = yes; then
27320 ac_cv_func_mmap_fixed_mapped
=no
27322 cat >conftest.
$ac_ext <<_ACEOF
27323 #line $LINENO "configure"
27326 cat confdefs.h
>>conftest.
$ac_ext
27327 cat >>conftest.
$ac_ext <<_ACEOF
27328 /* end confdefs.h. */
27329 $ac_includes_default
27330 /* malloc might have been renamed as rpl_malloc. */
27333 /* Thanks to Mike Haertel and Jim Avera for this test.
27334 Here is a matrix of mmap possibilities:
27335 mmap private not fixed
27336 mmap private fixed at somewhere currently unmapped
27337 mmap private fixed at somewhere already mapped
27338 mmap shared not fixed
27339 mmap shared fixed at somewhere currently unmapped
27340 mmap shared fixed at somewhere already mapped
27341 For private mappings, we should verify that changes cannot be read()
27342 back from the file, nor mmap's back from the file at a different
27343 address. (There have been systems where private was not correctly
27344 implemented like the infamous i386 svr4.0, and systems where the
27345 VM page cache was not coherent with the file system buffer cache
27346 like early versions of FreeBSD and possibly contemporary NetBSD.)
27347 For shared mappings, we should conversely verify that changes get
27348 propagated back to all the places they're supposed to be.
27350 Grep wants private fixed already mapped.
27351 The main things grep needs to know about mmap are:
27352 * does it exist and is it safe to write into the mmap'd area
27353 * how to use it (BSD variants) */
27356 #include <sys/mman.h>
27358 #if !STDC_HEADERS && !HAVE_STDLIB_H
27362 /* This mess was copied from the GNU getpagesize.h. */
27363 #if !HAVE_GETPAGESIZE
27364 /* Assume that all systems that can run configure have sys/param.h. */
27365 # if !HAVE_SYS_PARAM_H
27366 # define HAVE_SYS_PARAM_H 1
27369 # ifdef _SC_PAGESIZE
27370 # define getpagesize() sysconf(_SC_PAGESIZE)
27371 # else /* no _SC_PAGESIZE */
27372 # if HAVE_SYS_PARAM_H
27373 # include <sys/param.h>
27374 # ifdef EXEC_PAGESIZE
27375 # define getpagesize() EXEC_PAGESIZE
27376 # else /* no EXEC_PAGESIZE */
27378 # define getpagesize() NBPG * CLSIZE
27381 # endif /* no CLSIZE */
27382 # else /* no NBPG */
27384 # define getpagesize() NBPC
27385 # else /* no NBPC */
27387 # define getpagesize() PAGESIZE
27388 # endif /* PAGESIZE */
27389 # endif /* no NBPC */
27390 # endif /* no NBPG */
27391 # endif /* no EXEC_PAGESIZE */
27392 # else /* no HAVE_SYS_PARAM_H */
27393 # define getpagesize() 8192 /* punt totally */
27394 # endif /* no HAVE_SYS_PARAM_H */
27395 # endif /* no _SC_PAGESIZE */
27397 #endif /* no HAVE_GETPAGESIZE */
27402 char *data, *data2, *data3;
27406 pagesize = getpagesize ();
27408 /* First, make a file with some known garbage in it. */
27409 data = (char *) malloc (pagesize);
27412 for (i = 0; i < pagesize; ++i)
27413 *(data + i) = rand ();
27415 fd = creat ("conftest.mmap", 0600);
27418 if (write (fd, data, pagesize) != pagesize)
27422 /* Next, try to mmap the file at a fixed address which already has
27423 something else allocated at it. If we can, also make sure that
27424 we see the same garbage. */
27425 fd = open ("conftest.mmap", O_RDWR);
27428 data2 = (char *) malloc (2 * pagesize);
27431 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
27432 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
27433 MAP_PRIVATE | MAP_FIXED, fd, 0L))
27435 for (i = 0; i < pagesize; ++i)
27436 if (*(data + i) != *(data2 + i))
27439 /* Finally, make sure that changes to the mapped area do not
27440 percolate back to the file as seen by read(). (This is a bug on
27441 some variants of i386 svr4.0.) */
27442 for (i = 0; i < pagesize; ++i)
27443 *(data2 + i) = *(data2 + i) + 1;
27444 data3 = (char *) malloc (pagesize);
27447 if (read (fd, data3, pagesize) != pagesize)
27449 for (i = 0; i < pagesize; ++i)
27450 if (*(data + i) != *(data3 + i))
27456 rm -f conftest
$ac_exeext
27457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27458 (eval $ac_link) 2>&5
27460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27461 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27463 (eval $ac_try) 2>&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); }; }; then
27467 ac_cv_func_mmap_fixed_mapped
=yes
27469 echo "$as_me: program exited with status $ac_status" >&5
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.
$ac_ext >&5
27473 ( exit $ac_status )
27474 ac_cv_func_mmap_fixed_mapped
=no
27476 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27479 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
27480 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
27481 if test $ac_cv_func_mmap_fixed_mapped = yes; then
27483 cat >>confdefs.h
<<\_ACEOF
27484 #define HAVE_MMAP 1
27488 rm -f conftest.mmap
27492 for ac_header
in sys
/mman.h
27494 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27496 echo "$as_me:$LINENO: checking for $ac_header" >&5
27497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27499 echo $ECHO_N "(cached) $ECHO_C" >&6
27501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27504 # Is the header compilable?
27505 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27507 cat >conftest.
$ac_ext <<_ACEOF
27508 #line $LINENO "configure"
27511 cat confdefs.h
>>conftest.
$ac_ext
27512 cat >>conftest.
$ac_ext <<_ACEOF
27513 /* end confdefs.h. */
27514 $ac_includes_default
27515 #include <$ac_header>
27517 rm -f conftest.
$ac_objext
27518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27519 (eval $ac_compile) 2>&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); } &&
27523 { ac_try
='test -s conftest.$ac_objext'
27524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27525 (eval $ac_try) 2>&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); }; }; then
27529 ac_header_compiler
=yes
27531 echo "$as_me: failed program was:" >&5
27532 sed 's/^/| /' conftest.
$ac_ext >&5
27534 ac_header_compiler
=no
27536 rm -f conftest.
$ac_objext conftest.
$ac_ext
27537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27538 echo "${ECHO_T}$ac_header_compiler" >&6
27540 # Is the header present?
27541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27543 cat >conftest.
$ac_ext <<_ACEOF
27544 #line $LINENO "configure"
27547 cat confdefs.h
>>conftest.
$ac_ext
27548 cat >>conftest.
$ac_ext <<_ACEOF
27549 /* end confdefs.h. */
27550 #include <$ac_header>
27552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27553 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27555 grep -v '^ *+' conftest.er1
>conftest.err
27557 cat conftest.err
>&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); } >/dev
/null
; then
27560 if test -s conftest.err
; then
27561 ac_cpp_err
=$ac_c_preproc_warn_flag
27568 if test -z "$ac_cpp_err"; then
27569 ac_header_preproc
=yes
27571 echo "$as_me: failed program was:" >&5
27572 sed 's/^/| /' conftest.
$ac_ext >&5
27574 ac_header_preproc
=no
27576 rm -f conftest.err conftest.
$ac_ext
27577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27578 echo "${ECHO_T}$ac_header_preproc" >&6
27580 # So? What about this header?
27581 case $ac_header_compiler:$ac_header_preproc in
27583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27589 ## ------------------------------------ ##
27590 ## Report this to bug-autoconf@gnu.org. ##
27591 ## ------------------------------------ ##
27594 sed "s/^/$as_me: WARNING: /" >&2
27597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27605 ## ------------------------------------ ##
27606 ## Report this to bug-autoconf@gnu.org. ##
27607 ## ------------------------------------ ##
27610 sed "s/^/$as_me: WARNING: /" >&2
27613 echo "$as_me:$LINENO: checking for $ac_header" >&5
27614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27616 echo $ECHO_N "(cached) $ECHO_C" >&6
27618 eval "$as_ac_Header=$ac_header_preproc"
27620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27625 cat >>confdefs.h
<<_ACEOF
27626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27636 for ac_header
in ucontext.h
27638 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27640 echo "$as_me:$LINENO: checking for $ac_header" >&5
27641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27643 echo $ECHO_N "(cached) $ECHO_C" >&6
27645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27648 # Is the header compilable?
27649 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27651 cat >conftest.
$ac_ext <<_ACEOF
27652 #line $LINENO "configure"
27655 cat confdefs.h
>>conftest.
$ac_ext
27656 cat >>conftest.
$ac_ext <<_ACEOF
27657 /* end confdefs.h. */
27658 $ac_includes_default
27659 #include <$ac_header>
27661 rm -f conftest.
$ac_objext
27662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27663 (eval $ac_compile) 2>&5
27665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666 (exit $ac_status); } &&
27667 { ac_try
='test -s conftest.$ac_objext'
27668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27669 (eval $ac_try) 2>&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); }; }; then
27673 ac_header_compiler
=yes
27675 echo "$as_me: failed program was:" >&5
27676 sed 's/^/| /' conftest.
$ac_ext >&5
27678 ac_header_compiler
=no
27680 rm -f conftest.
$ac_objext conftest.
$ac_ext
27681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27682 echo "${ECHO_T}$ac_header_compiler" >&6
27684 # Is the header present?
27685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27687 cat >conftest.
$ac_ext <<_ACEOF
27688 #line $LINENO "configure"
27691 cat confdefs.h
>>conftest.
$ac_ext
27692 cat >>conftest.
$ac_ext <<_ACEOF
27693 /* end confdefs.h. */
27694 #include <$ac_header>
27696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27697 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27699 grep -v '^ *+' conftest.er1
>conftest.err
27701 cat conftest.err
>&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); } >/dev
/null
; then
27704 if test -s conftest.err
; then
27705 ac_cpp_err
=$ac_c_preproc_warn_flag
27712 if test -z "$ac_cpp_err"; then
27713 ac_header_preproc
=yes
27715 echo "$as_me: failed program was:" >&5
27716 sed 's/^/| /' conftest.
$ac_ext >&5
27718 ac_header_preproc
=no
27720 rm -f conftest.err conftest.
$ac_ext
27721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27722 echo "${ECHO_T}$ac_header_preproc" >&6
27724 # So? What about this header?
27725 case $ac_header_compiler:$ac_header_preproc in
27727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27733 ## ------------------------------------ ##
27734 ## Report this to bug-autoconf@gnu.org. ##
27735 ## ------------------------------------ ##
27738 sed "s/^/$as_me: WARNING: /" >&2
27741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27744 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27749 ## ------------------------------------ ##
27750 ## Report this to bug-autoconf@gnu.org. ##
27751 ## ------------------------------------ ##
27754 sed "s/^/$as_me: WARNING: /" >&2
27757 echo "$as_me:$LINENO: checking for $ac_header" >&5
27758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27760 echo $ECHO_N "(cached) $ECHO_C" >&6
27762 eval "$as_ac_Header=$ac_header_preproc"
27764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27769 cat >>confdefs.h
<<_ACEOF
27770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27780 for ac_header
in stdarg.h
27782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27784 echo "$as_me:$LINENO: checking for $ac_header" >&5
27785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27787 echo $ECHO_N "(cached) $ECHO_C" >&6
27789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27792 # Is the header compilable?
27793 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27795 cat >conftest.
$ac_ext <<_ACEOF
27796 #line $LINENO "configure"
27799 cat confdefs.h
>>conftest.
$ac_ext
27800 cat >>conftest.
$ac_ext <<_ACEOF
27801 /* end confdefs.h. */
27802 $ac_includes_default
27803 #include <$ac_header>
27805 rm -f conftest.
$ac_objext
27806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27807 (eval $ac_compile) 2>&5
27809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27810 (exit $ac_status); } &&
27811 { ac_try
='test -s conftest.$ac_objext'
27812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27813 (eval $ac_try) 2>&5
27815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27816 (exit $ac_status); }; }; then
27817 ac_header_compiler
=yes
27819 echo "$as_me: failed program was:" >&5
27820 sed 's/^/| /' conftest.
$ac_ext >&5
27822 ac_header_compiler
=no
27824 rm -f conftest.
$ac_objext conftest.
$ac_ext
27825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27826 echo "${ECHO_T}$ac_header_compiler" >&6
27828 # Is the header present?
27829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27831 cat >conftest.
$ac_ext <<_ACEOF
27832 #line $LINENO "configure"
27835 cat confdefs.h
>>conftest.
$ac_ext
27836 cat >>conftest.
$ac_ext <<_ACEOF
27837 /* end confdefs.h. */
27838 #include <$ac_header>
27840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27841 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27843 grep -v '^ *+' conftest.er1
>conftest.err
27845 cat conftest.err
>&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); } >/dev
/null
; then
27848 if test -s conftest.err
; then
27849 ac_cpp_err
=$ac_c_preproc_warn_flag
27856 if test -z "$ac_cpp_err"; then
27857 ac_header_preproc
=yes
27859 echo "$as_me: failed program was:" >&5
27860 sed 's/^/| /' conftest.
$ac_ext >&5
27862 ac_header_preproc
=no
27864 rm -f conftest.err conftest.
$ac_ext
27865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27866 echo "${ECHO_T}$ac_header_preproc" >&6
27868 # So? What about this header?
27869 case $ac_header_compiler:$ac_header_preproc in
27871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27877 ## ------------------------------------ ##
27878 ## Report this to bug-autoconf@gnu.org. ##
27879 ## ------------------------------------ ##
27882 sed "s/^/$as_me: WARNING: /" >&2
27885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27893 ## ------------------------------------ ##
27894 ## Report this to bug-autoconf@gnu.org. ##
27895 ## ------------------------------------ ##
27898 sed "s/^/$as_me: WARNING: /" >&2
27901 echo "$as_me:$LINENO: checking for $ac_header" >&5
27902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27904 echo $ECHO_N "(cached) $ECHO_C" >&6
27906 eval "$as_ac_Header=$ac_header_preproc"
27908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27913 cat >>confdefs.h
<<_ACEOF
27914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27924 for ac_func
in getcontext
27926 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27927 echo "$as_me:$LINENO: checking for $ac_func" >&5
27928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27929 if eval "test \"\${$as_ac_var+set}\" = set"; then
27930 echo $ECHO_N "(cached) $ECHO_C" >&6
27932 cat >conftest.
$ac_ext <<_ACEOF
27933 #line $LINENO "configure"
27936 cat confdefs.h
>>conftest.
$ac_ext
27937 cat >>conftest.
$ac_ext <<_ACEOF
27938 /* end confdefs.h. */
27939 /* System header to define __stub macros and hopefully few prototypes,
27940 which can conflict with char $ac_func (); below.
27941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27942 <limits.h> exists even on freestanding compilers. */
27944 # include <limits.h>
27946 # include <assert.h>
27948 /* Override any gcc2 internal prototype to avoid an error. */
27953 /* We use char because int might match the return type of a gcc2
27954 builtin and then its argument prototype would still apply. */
27956 /* The GNU C library defines this for functions which it implements
27957 to always fail with ENOSYS. Some functions are actually named
27958 something starting with __ and the normal name is an alias. */
27959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27962 char (*f) () = $ac_func;
27971 return f != $ac_func;
27976 rm -f conftest.
$ac_objext conftest
$ac_exeext
27977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27978 (eval $ac_link) 2>&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } &&
27982 { ac_try
='test -s conftest$ac_exeext'
27983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27984 (eval $ac_try) 2>&5
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); }; }; then
27988 eval "$as_ac_var=yes"
27990 echo "$as_me: failed program was:" >&5
27991 sed 's/^/| /' conftest.
$ac_ext >&5
27993 eval "$as_ac_var=no"
27995 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27999 if test `eval echo '${'$as_ac_var'}'` = yes; then
28000 cat >>confdefs.h
<<_ACEOF
28001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28010 for ac_func
in makecontext
28012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28013 echo "$as_me:$LINENO: checking for $ac_func" >&5
28014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28015 if eval "test \"\${$as_ac_var+set}\" = set"; then
28016 echo $ECHO_N "(cached) $ECHO_C" >&6
28018 cat >conftest.
$ac_ext <<_ACEOF
28019 #line $LINENO "configure"
28022 cat confdefs.h
>>conftest.
$ac_ext
28023 cat >>conftest.
$ac_ext <<_ACEOF
28024 /* end confdefs.h. */
28025 /* System header to define __stub macros and hopefully few prototypes,
28026 which can conflict with char $ac_func (); below.
28027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28028 <limits.h> exists even on freestanding compilers. */
28030 # include <limits.h>
28032 # include <assert.h>
28034 /* Override any gcc2 internal prototype to avoid an error. */
28039 /* We use char because int might match the return type of a gcc2
28040 builtin and then its argument prototype would still apply. */
28042 /* The GNU C library defines this for functions which it implements
28043 to always fail with ENOSYS. Some functions are actually named
28044 something starting with __ and the normal name is an alias. */
28045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28048 char (*f) () = $ac_func;
28057 return f != $ac_func;
28062 rm -f conftest.
$ac_objext conftest
$ac_exeext
28063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28064 (eval $ac_link) 2>&5
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); } &&
28068 { ac_try
='test -s conftest$ac_exeext'
28069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28070 (eval $ac_try) 2>&5
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); }; }; then
28074 eval "$as_ac_var=yes"
28076 echo "$as_me: failed program was:" >&5
28077 sed 's/^/| /' conftest.
$ac_ext >&5
28079 eval "$as_ac_var=no"
28081 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28085 if test `eval echo '${'$as_ac_var'}'` = yes; then
28086 cat >>confdefs.h
<<_ACEOF
28087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28096 for ac_func
in setcontext
28098 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28099 echo "$as_me:$LINENO: checking for $ac_func" >&5
28100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28101 if eval "test \"\${$as_ac_var+set}\" = set"; then
28102 echo $ECHO_N "(cached) $ECHO_C" >&6
28104 cat >conftest.
$ac_ext <<_ACEOF
28105 #line $LINENO "configure"
28108 cat confdefs.h
>>conftest.
$ac_ext
28109 cat >>conftest.
$ac_ext <<_ACEOF
28110 /* end confdefs.h. */
28111 /* System header to define __stub macros and hopefully few prototypes,
28112 which can conflict with char $ac_func (); below.
28113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28114 <limits.h> exists even on freestanding compilers. */
28116 # include <limits.h>
28118 # include <assert.h>
28120 /* Override any gcc2 internal prototype to avoid an error. */
28125 /* We use char because int might match the return type of a gcc2
28126 builtin and then its argument prototype would still apply. */
28128 /* The GNU C library defines this for functions which it implements
28129 to always fail with ENOSYS. Some functions are actually named
28130 something starting with __ and the normal name is an alias. */
28131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28134 char (*f) () = $ac_func;
28143 return f != $ac_func;
28148 rm -f conftest.
$ac_objext conftest
$ac_exeext
28149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28150 (eval $ac_link) 2>&5
28152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28153 (exit $ac_status); } &&
28154 { ac_try
='test -s conftest$ac_exeext'
28155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28156 (eval $ac_try) 2>&5
28158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159 (exit $ac_status); }; }; then
28160 eval "$as_ac_var=yes"
28162 echo "$as_me: failed program was:" >&5
28163 sed 's/^/| /' conftest.
$ac_ext >&5
28165 eval "$as_ac_var=no"
28167 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28171 if test `eval echo '${'$as_ac_var'}'` = yes; then
28172 cat >>confdefs.h
<<_ACEOF
28173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28182 for ac_func
in tmpfile
28184 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28185 echo "$as_me:$LINENO: checking for $ac_func" >&5
28186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28187 if eval "test \"\${$as_ac_var+set}\" = set"; then
28188 echo $ECHO_N "(cached) $ECHO_C" >&6
28190 cat >conftest.
$ac_ext <<_ACEOF
28191 #line $LINENO "configure"
28194 cat confdefs.h
>>conftest.
$ac_ext
28195 cat >>conftest.
$ac_ext <<_ACEOF
28196 /* end confdefs.h. */
28197 /* System header to define __stub macros and hopefully few prototypes,
28198 which can conflict with char $ac_func (); below.
28199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28200 <limits.h> exists even on freestanding compilers. */
28202 # include <limits.h>
28204 # include <assert.h>
28206 /* Override any gcc2 internal prototype to avoid an error. */
28211 /* We use char because int might match the return type of a gcc2
28212 builtin and then its argument prototype would still apply. */
28214 /* The GNU C library defines this for functions which it implements
28215 to always fail with ENOSYS. Some functions are actually named
28216 something starting with __ and the normal name is an alias. */
28217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28220 char (*f) () = $ac_func;
28229 return f != $ac_func;
28234 rm -f conftest.
$ac_objext conftest
$ac_exeext
28235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28236 (eval $ac_link) 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); } &&
28240 { ac_try
='test -s conftest$ac_exeext'
28241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28242 (eval $ac_try) 2>&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); }; }; then
28246 eval "$as_ac_var=yes"
28248 echo "$as_me: failed program was:" >&5
28249 sed 's/^/| /' conftest.
$ac_ext >&5
28251 eval "$as_ac_var=no"
28253 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28257 if test `eval echo '${'$as_ac_var'}'` = yes; then
28258 cat >>confdefs.h
<<_ACEOF
28259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28296 # For now, require tmpfile. FIXME: if there's a system with working mmap
28297 # and *context functions yet that lacks tmpfile, we can provide a replacement.
28306 ac_i
=$ac_cv_func_tmpfile
28307 ac_i
=$ac_i:$ac_cv_func_getcontext
28308 ac_i
=$ac_i:$ac_cv_func_makecontext
28309 ac_i
=$ac_i:$ac_cv_func_setcontext
28310 ac_i
=$ac_i:$ac_cv_func_mmap_fixed_mapped
28312 if test $ac_i = yes:yes:yes:yes:yes; then
28313 LIBOBJS
="$LIBOBJS mmap-stack.$ac_objext"
28315 cat >>confdefs.h
<<\_ACEOF
28316 #define HAVE_MMAP_STACK 1
28322 # autoconf-2.52 has a proper check for inttypes.h.
28325 if test $ac_cv_header_inttypes_h = yes; then
28326 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
28327 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
28328 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
28329 echo $ECHO_N "(cached) $ECHO_C" >&6
28332 cat >conftest.
$ac_ext <<_ACEOF
28333 #line $LINENO "configure"
28336 cat confdefs.h
>>conftest.
$ac_ext
28337 cat >>conftest.
$ac_ext <<_ACEOF
28338 /* end confdefs.h. */
28339 #include <inttypes.h>
28352 rm -f conftest.
$ac_objext
28353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28354 (eval $ac_compile) 2>&5
28356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28357 (exit $ac_status); } &&
28358 { ac_try
='test -s conftest.$ac_objext'
28359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28360 (eval $ac_try) 2>&5
28362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363 (exit $ac_status); }; }; then
28364 gt_cv_inttypes_pri_broken
=no
28366 echo "$as_me: failed program was:" >&5
28367 sed 's/^/| /' conftest.
$ac_ext >&5
28369 gt_cv_inttypes_pri_broken
=yes
28371 rm -f conftest.
$ac_objext conftest.
$ac_ext
28374 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
28375 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
28377 if test "$gt_cv_inttypes_pri_broken" = yes; then
28379 cat >>confdefs.h
<<_ACEOF
28380 #define PRI_MACROS_BROKEN 1
28385 echo "$as_me:$LINENO: checking for getgroups" >&5
28386 echo $ECHO_N "checking for getgroups... $ECHO_C" >&6
28387 if test "${ac_cv_func_getgroups+set}" = set; then
28388 echo $ECHO_N "(cached) $ECHO_C" >&6
28390 cat >conftest.
$ac_ext <<_ACEOF
28391 #line $LINENO "configure"
28394 cat confdefs.h
>>conftest.
$ac_ext
28395 cat >>conftest.
$ac_ext <<_ACEOF
28396 /* end confdefs.h. */
28397 /* System header to define __stub macros and hopefully few prototypes,
28398 which can conflict with char getgroups (); below.
28399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28400 <limits.h> exists even on freestanding compilers. */
28402 # include <limits.h>
28404 # include <assert.h>
28406 /* Override any gcc2 internal prototype to avoid an error. */
28411 /* We use char because int might match the return type of a gcc2
28412 builtin and then its argument prototype would still apply. */
28414 /* The GNU C library defines this for functions which it implements
28415 to always fail with ENOSYS. Some functions are actually named
28416 something starting with __ and the normal name is an alias. */
28417 #if defined (__stub_getgroups) || defined (__stub___getgroups)
28420 char (*f) () = getgroups;
28429 return f != getgroups;
28434 rm -f conftest.
$ac_objext conftest
$ac_exeext
28435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28436 (eval $ac_link) 2>&5
28438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439 (exit $ac_status); } &&
28440 { ac_try
='test -s conftest$ac_exeext'
28441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28442 (eval $ac_try) 2>&5
28444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28445 (exit $ac_status); }; }; then
28446 ac_cv_func_getgroups
=yes
28448 echo "$as_me: failed program was:" >&5
28449 sed 's/^/| /' conftest.
$ac_ext >&5
28451 ac_cv_func_getgroups
=no
28453 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28455 echo "$as_me:$LINENO: result: $ac_cv_func_getgroups" >&5
28456 echo "${ECHO_T}$ac_cv_func_getgroups" >&6
28459 # If we don't yet have getgroups, see if it's in -lbsd.
28460 # This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
28462 if test $ac_cv_func_getgroups = no
; then
28463 echo "$as_me:$LINENO: checking for getgroups in -lbsd" >&5
28464 echo $ECHO_N "checking for getgroups in -lbsd... $ECHO_C" >&6
28465 if test "${ac_cv_lib_bsd_getgroups+set}" = set; then
28466 echo $ECHO_N "(cached) $ECHO_C" >&6
28468 ac_check_lib_save_LIBS
=$LIBS
28470 cat >conftest.
$ac_ext <<_ACEOF
28471 #line $LINENO "configure"
28474 cat confdefs.h
>>conftest.
$ac_ext
28475 cat >>conftest.
$ac_ext <<_ACEOF
28476 /* end confdefs.h. */
28478 /* Override any gcc2 internal prototype to avoid an error. */
28482 /* We use char because int might match the return type of a gcc2
28483 builtin and then its argument prototype would still apply. */
28493 rm -f conftest.
$ac_objext conftest
$ac_exeext
28494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28495 (eval $ac_link) 2>&5
28497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28498 (exit $ac_status); } &&
28499 { ac_try
='test -s conftest$ac_exeext'
28500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28501 (eval $ac_try) 2>&5
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); }; }; then
28505 ac_cv_lib_bsd_getgroups
=yes
28507 echo "$as_me: failed program was:" >&5
28508 sed 's/^/| /' conftest.
$ac_ext >&5
28510 ac_cv_lib_bsd_getgroups
=no
28512 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28513 LIBS
=$ac_check_lib_save_LIBS
28515 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_getgroups" >&5
28516 echo "${ECHO_T}$ac_cv_lib_bsd_getgroups" >&6
28517 if test $ac_cv_lib_bsd_getgroups = yes; then
28518 GETGROUPS_LIB
=-lbsd
28523 # Run the program to test the functionality of the system-supplied
28524 # getgroups function only if there is such a function.
28525 if test $ac_cv_func_getgroups = yes; then
28526 echo "$as_me:$LINENO: checking for working getgroups" >&5
28527 echo $ECHO_N "checking for working getgroups... $ECHO_C" >&6
28528 if test "${ac_cv_func_getgroups_works+set}" = set; then
28529 echo $ECHO_N "(cached) $ECHO_C" >&6
28531 if test "$cross_compiling" = yes; then
28532 ac_cv_func_getgroups_works
=no
28534 cat >conftest.
$ac_ext <<_ACEOF
28535 #line $LINENO "configure"
28538 cat confdefs.h
>>conftest.
$ac_ext
28539 cat >>conftest.
$ac_ext <<_ACEOF
28540 /* end confdefs.h. */
28545 /* On Ultrix 4.3, getgroups (0, 0) always fails. */
28546 exit (getgroups (0, 0) == -1 ? 1 : 0);
28551 rm -f conftest
$ac_exeext
28552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28553 (eval $ac_link) 2>&5
28555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28556 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28558 (eval $ac_try) 2>&5
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); }; }; then
28562 ac_cv_func_getgroups_works
=yes
28564 echo "$as_me: program exited with status $ac_status" >&5
28565 echo "$as_me: failed program was:" >&5
28566 sed 's/^/| /' conftest.
$ac_ext >&5
28568 ( exit $ac_status )
28569 ac_cv_func_getgroups_works
=no
28571 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28575 echo "$as_me:$LINENO: result: $ac_cv_func_getgroups_works" >&5
28576 echo "${ECHO_T}$ac_cv_func_getgroups_works" >&6
28577 if test $ac_cv_func_getgroups_works = yes; then
28579 cat >>confdefs.h
<<\_ACEOF
28580 #define HAVE_GETGROUPS 1
28587 if test $ac_cv_func_getgroups_works = no
; then
28588 LIBOBJS
="$LIBOBJS getgroups.$ac_objext"
28590 cat >>confdefs.h
<<\_ACEOF
28591 #define getgroups rpl_getgroups
28595 test -n "$GETGROUPS_LIB" && LIBS
="$GETGROUPS_LIB $LIBS"
28597 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
28598 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
28599 if test "${ac_cv_sys_largefile_source+set}" = set; then
28600 echo $ECHO_N "(cached) $ECHO_C" >&6
28603 ac_cv_sys_largefile_source
=no
28604 cat >conftest.
$ac_ext <<_ACEOF
28605 #line $LINENO "configure"
28608 cat confdefs.h
>>conftest.
$ac_ext
28609 cat >>conftest.
$ac_ext <<_ACEOF
28610 /* end confdefs.h. */
28620 rm -f conftest.
$ac_objext
28621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28622 (eval $ac_compile) 2>&5
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); } &&
28626 { ac_try
='test -s conftest.$ac_objext'
28627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28628 (eval $ac_try) 2>&5
28630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631 (exit $ac_status); }; }; then
28634 echo "$as_me: failed program was:" >&5
28635 sed 's/^/| /' conftest.
$ac_ext >&5
28638 rm -f conftest.
$ac_objext conftest.
$ac_ext
28639 cat >conftest.
$ac_ext <<_ACEOF
28640 #line $LINENO "configure"
28643 cat confdefs.h
>>conftest.
$ac_ext
28644 cat >>conftest.
$ac_ext <<_ACEOF
28645 /* end confdefs.h. */
28646 #define _LARGEFILE_SOURCE 1
28656 rm -f conftest.
$ac_objext
28657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28658 (eval $ac_compile) 2>&5
28660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28661 (exit $ac_status); } &&
28662 { ac_try
='test -s conftest.$ac_objext'
28663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28664 (eval $ac_try) 2>&5
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); }; }; then
28668 ac_cv_sys_largefile_source
=1; break
28670 echo "$as_me: failed program was:" >&5
28671 sed 's/^/| /' conftest.
$ac_ext >&5
28674 rm -f conftest.
$ac_objext conftest.
$ac_ext
28678 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
28679 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
28680 if test "$ac_cv_sys_largefile_source" != no
; then
28682 cat >>confdefs.h
<<_ACEOF
28683 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
28689 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
28690 # in glibc 2.1.3, but that breaks too many other things.
28691 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
28692 echo "$as_me:$LINENO: checking for fseeko" >&5
28693 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
28694 if test "${ac_cv_func_fseeko+set}" = set; then
28695 echo $ECHO_N "(cached) $ECHO_C" >&6
28697 cat >conftest.
$ac_ext <<_ACEOF
28698 #line $LINENO "configure"
28701 cat confdefs.h
>>conftest.
$ac_ext
28702 cat >>conftest.
$ac_ext <<_ACEOF
28703 /* end confdefs.h. */
28708 return fseeko && fseeko (stdin, 0, 0);
28713 rm -f conftest.
$ac_objext conftest
$ac_exeext
28714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28715 (eval $ac_link) 2>&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); } &&
28719 { ac_try
='test -s conftest$ac_exeext'
28720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28721 (eval $ac_try) 2>&5
28723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28724 (exit $ac_status); }; }; then
28725 ac_cv_func_fseeko
=yes
28727 echo "$as_me: failed program was:" >&5
28728 sed 's/^/| /' conftest.
$ac_ext >&5
28730 ac_cv_func_fseeko
=no
28732 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28734 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
28735 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
28736 if test $ac_cv_func_fseeko = yes; then
28738 cat >>confdefs.h
<<\_ACEOF
28739 #define HAVE_FSEEKO 1
28745 for ac_func
in vprintf
28747 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28748 echo "$as_me:$LINENO: checking for $ac_func" >&5
28749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28750 if eval "test \"\${$as_ac_var+set}\" = set"; then
28751 echo $ECHO_N "(cached) $ECHO_C" >&6
28753 cat >conftest.
$ac_ext <<_ACEOF
28754 #line $LINENO "configure"
28757 cat confdefs.h
>>conftest.
$ac_ext
28758 cat >>conftest.
$ac_ext <<_ACEOF
28759 /* end confdefs.h. */
28760 /* System header to define __stub macros and hopefully few prototypes,
28761 which can conflict with char $ac_func (); below.
28762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28763 <limits.h> exists even on freestanding compilers. */
28765 # include <limits.h>
28767 # include <assert.h>
28769 /* Override any gcc2 internal prototype to avoid an error. */
28774 /* We use char because int might match the return type of a gcc2
28775 builtin and then its argument prototype would still apply. */
28777 /* The GNU C library defines this for functions which it implements
28778 to always fail with ENOSYS. Some functions are actually named
28779 something starting with __ and the normal name is an alias. */
28780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28783 char (*f) () = $ac_func;
28792 return f != $ac_func;
28797 rm -f conftest.
$ac_objext conftest
$ac_exeext
28798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28799 (eval $ac_link) 2>&5
28801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28802 (exit $ac_status); } &&
28803 { ac_try
='test -s conftest$ac_exeext'
28804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28805 (eval $ac_try) 2>&5
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); }; }; then
28809 eval "$as_ac_var=yes"
28811 echo "$as_me: failed program was:" >&5
28812 sed 's/^/| /' conftest.
$ac_ext >&5
28814 eval "$as_ac_var=no"
28816 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28820 if test `eval echo '${'$as_ac_var'}'` = yes; then
28821 cat >>confdefs.h
<<_ACEOF
28822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28825 echo "$as_me:$LINENO: checking for _doprnt" >&5
28826 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
28827 if test "${ac_cv_func__doprnt+set}" = set; then
28828 echo $ECHO_N "(cached) $ECHO_C" >&6
28830 cat >conftest.
$ac_ext <<_ACEOF
28831 #line $LINENO "configure"
28834 cat confdefs.h
>>conftest.
$ac_ext
28835 cat >>conftest.
$ac_ext <<_ACEOF
28836 /* end confdefs.h. */
28837 /* System header to define __stub macros and hopefully few prototypes,
28838 which can conflict with char _doprnt (); below.
28839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28840 <limits.h> exists even on freestanding compilers. */
28842 # include <limits.h>
28844 # include <assert.h>
28846 /* Override any gcc2 internal prototype to avoid an error. */
28851 /* We use char because int might match the return type of a gcc2
28852 builtin and then its argument prototype would still apply. */
28854 /* The GNU C library defines this for functions which it implements
28855 to always fail with ENOSYS. Some functions are actually named
28856 something starting with __ and the normal name is an alias. */
28857 #if defined (__stub__doprnt) || defined (__stub____doprnt)
28860 char (*f) () = _doprnt;
28869 return f != _doprnt;
28874 rm -f conftest.
$ac_objext conftest
$ac_exeext
28875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28876 (eval $ac_link) 2>&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); } &&
28880 { ac_try
='test -s conftest$ac_exeext'
28881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28882 (eval $ac_try) 2>&5
28884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885 (exit $ac_status); }; }; then
28886 ac_cv_func__doprnt
=yes
28888 echo "$as_me: failed program was:" >&5
28889 sed 's/^/| /' conftest.
$ac_ext >&5
28891 ac_cv_func__doprnt
=no
28893 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28895 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
28896 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
28897 if test $ac_cv_func__doprnt = yes; then
28899 cat >>confdefs.h
<<\_ACEOF
28900 #define HAVE_DOPRNT 1
28910 echo "$as_me:$LINENO: checking for /proc/uptime" >&5
28911 echo $ECHO_N "checking for /proc/uptime... $ECHO_C" >&6
28912 if test "${jm_cv_have_proc_uptime+set}" = set; then
28913 echo $ECHO_N "(cached) $ECHO_C" >&6
28915 jm_cv_have_proc_uptime
=no
28916 test -f /proc
/uptime \
28917 && test "$cross_compiling" = no \
28918 && cat < /proc
/uptime
>/dev
/null
2>/dev
/null \
28919 && jm_cv_have_proc_uptime
=yes
28921 echo "$as_me:$LINENO: result: $jm_cv_have_proc_uptime" >&5
28922 echo "${ECHO_T}$jm_cv_have_proc_uptime" >&6
28923 if test $jm_cv_have_proc_uptime = yes; then
28925 cat >>confdefs.h
<<\_ACEOF
28926 #define HAVE_PROC_UPTIME 1
28933 for ac_func
in ftruncate
28935 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28936 echo "$as_me:$LINENO: checking for $ac_func" >&5
28937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28938 if eval "test \"\${$as_ac_var+set}\" = set"; then
28939 echo $ECHO_N "(cached) $ECHO_C" >&6
28941 cat >conftest.
$ac_ext <<_ACEOF
28942 #line $LINENO "configure"
28945 cat confdefs.h
>>conftest.
$ac_ext
28946 cat >>conftest.
$ac_ext <<_ACEOF
28947 /* end confdefs.h. */
28948 /* System header to define __stub macros and hopefully few prototypes,
28949 which can conflict with char $ac_func (); below.
28950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28951 <limits.h> exists even on freestanding compilers. */
28953 # include <limits.h>
28955 # include <assert.h>
28957 /* Override any gcc2 internal prototype to avoid an error. */
28962 /* We use char because int might match the return type of a gcc2
28963 builtin and then its argument prototype would still apply. */
28965 /* The GNU C library defines this for functions which it implements
28966 to always fail with ENOSYS. Some functions are actually named
28967 something starting with __ and the normal name is an alias. */
28968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28971 char (*f) () = $ac_func;
28980 return f != $ac_func;
28985 rm -f conftest.
$ac_objext conftest
$ac_exeext
28986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28987 (eval $ac_link) 2>&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); } &&
28991 { ac_try
='test -s conftest$ac_exeext'
28992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28993 (eval $ac_try) 2>&5
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); }; }; then
28997 eval "$as_ac_var=yes"
28999 echo "$as_me: failed program was:" >&5
29000 sed 's/^/| /' conftest.
$ac_ext >&5
29002 eval "$as_ac_var=no"
29004 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29008 if test `eval echo '${'$as_ac_var'}'` = yes; then
29009 cat >>confdefs.h
<<_ACEOF
29010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29014 ftruncate_missing
=yes
29019 if test "$ftruncate_missing" = yes; then
29021 for ac_header
in unistd.h
29023 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29025 echo "$as_me:$LINENO: checking for $ac_header" >&5
29026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29028 echo $ECHO_N "(cached) $ECHO_C" >&6
29030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29033 # Is the header compilable?
29034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29036 cat >conftest.
$ac_ext <<_ACEOF
29037 #line $LINENO "configure"
29040 cat confdefs.h
>>conftest.
$ac_ext
29041 cat >>conftest.
$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29043 $ac_includes_default
29044 #include <$ac_header>
29046 rm -f conftest.
$ac_objext
29047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29048 (eval $ac_compile) 2>&5
29050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051 (exit $ac_status); } &&
29052 { ac_try
='test -s conftest.$ac_objext'
29053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29054 (eval $ac_try) 2>&5
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); }; }; then
29058 ac_header_compiler
=yes
29060 echo "$as_me: failed program was:" >&5
29061 sed 's/^/| /' conftest.
$ac_ext >&5
29063 ac_header_compiler
=no
29065 rm -f conftest.
$ac_objext conftest.
$ac_ext
29066 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29067 echo "${ECHO_T}$ac_header_compiler" >&6
29069 # Is the header present?
29070 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29071 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29072 cat >conftest.
$ac_ext <<_ACEOF
29073 #line $LINENO "configure"
29076 cat confdefs.h
>>conftest.
$ac_ext
29077 cat >>conftest.
$ac_ext <<_ACEOF
29078 /* end confdefs.h. */
29079 #include <$ac_header>
29081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29082 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29084 grep -v '^ *+' conftest.er1
>conftest.err
29086 cat conftest.err
>&5
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); } >/dev
/null
; then
29089 if test -s conftest.err
; then
29090 ac_cpp_err
=$ac_c_preproc_warn_flag
29097 if test -z "$ac_cpp_err"; then
29098 ac_header_preproc
=yes
29100 echo "$as_me: failed program was:" >&5
29101 sed 's/^/| /' conftest.
$ac_ext >&5
29103 ac_header_preproc
=no
29105 rm -f conftest.err conftest.
$ac_ext
29106 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29107 echo "${ECHO_T}$ac_header_preproc" >&6
29109 # So? What about this header?
29110 case $ac_header_compiler:$ac_header_preproc in
29112 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29113 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29118 ## ------------------------------------ ##
29119 ## Report this to bug-autoconf@gnu.org. ##
29120 ## ------------------------------------ ##
29123 sed "s/^/$as_me: WARNING: /" >&2
29126 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29128 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29129 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29134 ## ------------------------------------ ##
29135 ## Report this to bug-autoconf@gnu.org. ##
29136 ## ------------------------------------ ##
29139 sed "s/^/$as_me: WARNING: /" >&2
29142 echo "$as_me:$LINENO: checking for $ac_header" >&5
29143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29145 echo $ECHO_N "(cached) $ECHO_C" >&6
29147 eval "$as_ac_Header=$ac_header_preproc"
29149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29154 cat >>confdefs.h
<<_ACEOF
29155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29163 for ac_func
in chsize
29165 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29166 echo "$as_me:$LINENO: checking for $ac_func" >&5
29167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29168 if eval "test \"\${$as_ac_var+set}\" = set"; then
29169 echo $ECHO_N "(cached) $ECHO_C" >&6
29171 cat >conftest.
$ac_ext <<_ACEOF
29172 #line $LINENO "configure"
29175 cat confdefs.h
>>conftest.
$ac_ext
29176 cat >>conftest.
$ac_ext <<_ACEOF
29177 /* end confdefs.h. */
29178 /* System header to define __stub macros and hopefully few prototypes,
29179 which can conflict with char $ac_func (); below.
29180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29181 <limits.h> exists even on freestanding compilers. */
29183 # include <limits.h>
29185 # include <assert.h>
29187 /* Override any gcc2 internal prototype to avoid an error. */
29192 /* We use char because int might match the return type of a gcc2
29193 builtin and then its argument prototype would still apply. */
29195 /* The GNU C library defines this for functions which it implements
29196 to always fail with ENOSYS. Some functions are actually named
29197 something starting with __ and the normal name is an alias. */
29198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29201 char (*f) () = $ac_func;
29210 return f != $ac_func;
29215 rm -f conftest.
$ac_objext conftest
$ac_exeext
29216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29217 (eval $ac_link) 2>&5
29219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29220 (exit $ac_status); } &&
29221 { ac_try
='test -s conftest$ac_exeext'
29222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29223 (eval $ac_try) 2>&5
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); }; }; then
29227 eval "$as_ac_var=yes"
29229 echo "$as_me: failed program was:" >&5
29230 sed 's/^/| /' conftest.
$ac_ext >&5
29232 eval "$as_ac_var=no"
29234 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29238 if test `eval echo '${'$as_ac_var'}'` = yes; then
29239 cat >>confdefs.h
<<_ACEOF
29240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29246 LIBOBJS
="$LIBOBJS ftruncate.$ac_objext"
29250 echo "$as_me:$LINENO: checking whether rename is broken" >&5
29251 echo $ECHO_N "checking whether rename is broken... $ECHO_C" >&6
29252 if test "${vb_cv_func_rename_trailing_slash_bug+set}" = set; then
29253 echo $ECHO_N "(cached) $ECHO_C" >&6
29256 rm -rf conftest.d1 conftest.d2
29257 mkdir conftest.d1 ||
29258 { { echo "$as_me:$LINENO: error: cannot create temporary directory" >&5
29259 echo "$as_me: error: cannot create temporary directory" >&2;}
29260 { (exit 1); exit 1; }; }
29261 if test "$cross_compiling" = yes; then
29262 vb_cv_func_rename_trailing_slash_bug
=yes
29264 cat >conftest.
$ac_ext <<_ACEOF
29265 #line $LINENO "configure"
29268 cat confdefs.h
>>conftest.
$ac_ext
29269 cat >>conftest.
$ac_ext <<_ACEOF
29270 /* end confdefs.h. */
29272 # include <stdio.h>
29276 exit (rename ("conftest.d1/", "conftest.d2") ? 1 : 0);
29280 rm -f conftest
$ac_exeext
29281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29282 (eval $ac_link) 2>&5
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29287 (eval $ac_try) 2>&5
29289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29290 (exit $ac_status); }; }; then
29291 vb_cv_func_rename_trailing_slash_bug
=no
29293 echo "$as_me: program exited with status $ac_status" >&5
29294 echo "$as_me: failed program was:" >&5
29295 sed 's/^/| /' conftest.
$ac_ext >&5
29297 ( exit $ac_status )
29298 vb_cv_func_rename_trailing_slash_bug
=yes
29300 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29303 rm -rf conftest.d1 conftest.d2
29306 echo "$as_me:$LINENO: result: $vb_cv_func_rename_trailing_slash_bug" >&5
29307 echo "${ECHO_T}$vb_cv_func_rename_trailing_slash_bug" >&6
29308 if test $vb_cv_func_rename_trailing_slash_bug = yes; then
29309 LIBOBJS
="$LIBOBJS rename.$ac_objext"
29311 cat >>confdefs.h
<<\_ACEOF
29312 #define RENAME_TRAILING_SLASH_BUG 1
29318 for ac_func
in mkstemp
29320 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29321 echo "$as_me:$LINENO: checking for $ac_func" >&5
29322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29323 if eval "test \"\${$as_ac_var+set}\" = set"; then
29324 echo $ECHO_N "(cached) $ECHO_C" >&6
29326 cat >conftest.
$ac_ext <<_ACEOF
29327 #line $LINENO "configure"
29330 cat confdefs.h
>>conftest.
$ac_ext
29331 cat >>conftest.
$ac_ext <<_ACEOF
29332 /* end confdefs.h. */
29333 /* System header to define __stub macros and hopefully few prototypes,
29334 which can conflict with char $ac_func (); below.
29335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29336 <limits.h> exists even on freestanding compilers. */
29338 # include <limits.h>
29340 # include <assert.h>
29342 /* Override any gcc2 internal prototype to avoid an error. */
29347 /* We use char because int might match the return type of a gcc2
29348 builtin and then its argument prototype would still apply. */
29350 /* The GNU C library defines this for functions which it implements
29351 to always fail with ENOSYS. Some functions are actually named
29352 something starting with __ and the normal name is an alias. */
29353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29356 char (*f) () = $ac_func;
29365 return f != $ac_func;
29370 rm -f conftest.
$ac_objext conftest
$ac_exeext
29371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29372 (eval $ac_link) 2>&5
29374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375 (exit $ac_status); } &&
29376 { ac_try
='test -s conftest$ac_exeext'
29377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29378 (eval $ac_try) 2>&5
29380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381 (exit $ac_status); }; }; then
29382 eval "$as_ac_var=yes"
29384 echo "$as_me: failed program was:" >&5
29385 sed 's/^/| /' conftest.
$ac_ext >&5
29387 eval "$as_ac_var=no"
29389 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29393 if test `eval echo '${'$as_ac_var'}'` = yes; then
29394 cat >>confdefs.h
<<_ACEOF
29395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29399 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
29404 if test $ac_cv_func_mkstemp = no
; then
29405 utils_cv_func_mkstemp_limitations
=yes
29407 echo "$as_me:$LINENO: checking for mkstemp limitations" >&5
29408 echo $ECHO_N "checking for mkstemp limitations... $ECHO_C" >&6
29409 if test "${utils_cv_func_mkstemp_limitations+set}" = set; then
29410 echo $ECHO_N "(cached) $ECHO_C" >&6
29413 if test "$cross_compiling" = yes; then
29414 utils_cv_func_mkstemp_limitations
=yes
29417 cat >conftest.
$ac_ext <<_ACEOF
29418 #line $LINENO "configure"
29421 cat confdefs.h
>>conftest.
$ac_ext
29422 cat >>conftest.
$ac_ext <<_ACEOF
29423 /* end confdefs.h. */
29425 # include <stdlib.h>
29429 for (i = 0; i < 30; i++)
29431 char template[] = "conftestXXXXXX";
29432 int fd = mkstemp (template);
29441 rm -f conftest
$ac_exeext
29442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29443 (eval $ac_link) 2>&5
29445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29446 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29448 (eval $ac_try) 2>&5
29450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451 (exit $ac_status); }; }; then
29452 utils_cv_func_mkstemp_limitations
=no
29454 echo "$as_me: program exited with status $ac_status" >&5
29455 echo "$as_me: failed program was:" >&5
29456 sed 's/^/| /' conftest.
$ac_ext >&5
29458 ( exit $ac_status )
29459 utils_cv_func_mkstemp_limitations
=yes
29461 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29466 echo "$as_me:$LINENO: result: $utils_cv_func_mkstemp_limitations" >&5
29467 echo "${ECHO_T}$utils_cv_func_mkstemp_limitations" >&6
29470 if test $utils_cv_func_mkstemp_limitations = yes; then
29471 LIBOBJS
="$LIBOBJS mkstemp.$ac_objext"
29472 LIBOBJS
="$LIBOBJS tempname.$ac_objext"
29474 cat >>confdefs.h
<<\_ACEOF
29475 #define mkstemp rpl_mkstemp
29480 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
29481 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
29482 if test "${ac_cv_func_closedir_void+set}" = set; then
29483 echo $ECHO_N "(cached) $ECHO_C" >&6
29485 if test "$cross_compiling" = yes; then
29486 ac_cv_func_closedir_void
=yes
29488 cat >conftest.
$ac_ext <<_ACEOF
29489 #line $LINENO "configure"
29492 cat confdefs.h
>>conftest.
$ac_ext
29493 cat >>conftest.
$ac_ext <<_ACEOF
29494 /* end confdefs.h. */
29495 $ac_includes_default
29496 #include <$ac_header_dirent>
29497 #ifndef __cplusplus
29504 exit (closedir (opendir (".")) != 0);
29509 rm -f conftest
$ac_exeext
29510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29511 (eval $ac_link) 2>&5
29513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29514 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29516 (eval $ac_try) 2>&5
29518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519 (exit $ac_status); }; }; then
29520 ac_cv_func_closedir_void
=no
29522 echo "$as_me: program exited with status $ac_status" >&5
29523 echo "$as_me: failed program was:" >&5
29524 sed 's/^/| /' conftest.
$ac_ext >&5
29526 ( exit $ac_status )
29527 ac_cv_func_closedir_void
=yes
29529 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29532 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
29533 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
29534 if test $ac_cv_func_closedir_void = yes; then
29536 cat >>confdefs.h
<<\_ACEOF
29537 #define CLOSEDIR_VOID 1
29542 echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
29543 echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6
29544 if test "${ac_cv_func_utime_null+set}" = set; then
29545 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 rm -f conftest.data
; >conftest.data
29548 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
29549 if test "$cross_compiling" = yes; then
29550 ac_cv_func_utime_null
=no
29552 cat >conftest.
$ac_ext <<_ACEOF
29553 #line $LINENO "configure"
29556 cat confdefs.h
>>conftest.
$ac_ext
29557 cat >>conftest.
$ac_ext <<_ACEOF
29558 /* end confdefs.h. */
29559 $ac_includes_default
29564 exit (!(stat ("conftest.data", &s) == 0
29565 && utime ("conftest.data", (long *)0) == 0
29566 && stat ("conftest.data", &t) == 0
29567 && t.st_mtime >= s.st_mtime
29568 && t.st_mtime - s.st_mtime < 120));
29573 rm -f conftest
$ac_exeext
29574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29575 (eval $ac_link) 2>&5
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29580 (eval $ac_try) 2>&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); }; }; then
29584 ac_cv_func_utime_null
=yes
29586 echo "$as_me: program exited with status $ac_status" >&5
29587 echo "$as_me: failed program was:" >&5
29588 sed 's/^/| /' conftest.
$ac_ext >&5
29590 ( exit $ac_status )
29591 ac_cv_func_utime_null
=no
29593 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29595 rm -f core core.
* *.core
29597 echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
29598 echo "${ECHO_T}$ac_cv_func_utime_null" >&6
29599 if test $ac_cv_func_utime_null = yes; then
29601 cat >>confdefs.h
<<\_ACEOF
29602 #define HAVE_UTIME_NULL 1
29606 rm -f conftest.data
29610 for ac_header
in utime.h
29612 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29614 echo "$as_me:$LINENO: checking for $ac_header" >&5
29615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29617 echo $ECHO_N "(cached) $ECHO_C" >&6
29619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29622 # Is the header compilable?
29623 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29625 cat >conftest.
$ac_ext <<_ACEOF
29626 #line $LINENO "configure"
29629 cat confdefs.h
>>conftest.
$ac_ext
29630 cat >>conftest.
$ac_ext <<_ACEOF
29631 /* end confdefs.h. */
29632 $ac_includes_default
29633 #include <$ac_header>
29635 rm -f conftest.
$ac_objext
29636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29637 (eval $ac_compile) 2>&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); } &&
29641 { ac_try
='test -s conftest.$ac_objext'
29642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643 (eval $ac_try) 2>&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); }; }; then
29647 ac_header_compiler
=yes
29649 echo "$as_me: failed program was:" >&5
29650 sed 's/^/| /' conftest.
$ac_ext >&5
29652 ac_header_compiler
=no
29654 rm -f conftest.
$ac_objext conftest.
$ac_ext
29655 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29656 echo "${ECHO_T}$ac_header_compiler" >&6
29658 # Is the header present?
29659 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29660 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29661 cat >conftest.
$ac_ext <<_ACEOF
29662 #line $LINENO "configure"
29665 cat confdefs.h
>>conftest.
$ac_ext
29666 cat >>conftest.
$ac_ext <<_ACEOF
29667 /* end confdefs.h. */
29668 #include <$ac_header>
29670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29671 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29673 grep -v '^ *+' conftest.er1
>conftest.err
29675 cat conftest.err
>&5
29676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29677 (exit $ac_status); } >/dev
/null
; then
29678 if test -s conftest.err
; then
29679 ac_cpp_err
=$ac_c_preproc_warn_flag
29686 if test -z "$ac_cpp_err"; then
29687 ac_header_preproc
=yes
29689 echo "$as_me: failed program was:" >&5
29690 sed 's/^/| /' conftest.
$ac_ext >&5
29692 ac_header_preproc
=no
29694 rm -f conftest.err conftest.
$ac_ext
29695 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29696 echo "${ECHO_T}$ac_header_preproc" >&6
29698 # So? What about this header?
29699 case $ac_header_compiler:$ac_header_preproc in
29701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29707 ## ------------------------------------ ##
29708 ## Report this to bug-autoconf@gnu.org. ##
29709 ## ------------------------------------ ##
29712 sed "s/^/$as_me: WARNING: /" >&2
29715 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29717 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29718 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29720 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29723 ## ------------------------------------ ##
29724 ## Report this to bug-autoconf@gnu.org. ##
29725 ## ------------------------------------ ##
29728 sed "s/^/$as_me: WARNING: /" >&2
29731 echo "$as_me:$LINENO: checking for $ac_header" >&5
29732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29734 echo $ECHO_N "(cached) $ECHO_C" >&6
29736 eval "$as_ac_Header=$ac_header_preproc"
29738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29743 cat >>confdefs.h
<<_ACEOF
29744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29754 if test $ac_cv_func_utime_null = no
; then
29755 echo "$as_me:$LINENO: checking whether utimes accepts a null argument" >&5
29756 echo $ECHO_N "checking whether utimes accepts a null argument... $ECHO_C" >&6
29757 if test "${ac_cv_func_utimes_null+set}" = set; then
29758 echo $ECHO_N "(cached) $ECHO_C" >&6
29760 rm -f conftest.data
; > conftest.data
29761 if test "$cross_compiling" = yes; then
29762 ac_cv_func_utimes_null
=no
29764 cat >conftest.
$ac_ext <<_ACEOF
29765 #line $LINENO "configure"
29768 cat confdefs.h
>>conftest.
$ac_ext
29769 cat >>conftest.
$ac_ext <<_ACEOF
29770 /* end confdefs.h. */
29772 /* In case stat has been defined to rpl_stat, undef it here. */
29774 #include <sys/types.h>
29775 #include <sys/stat.h>
29778 exit(!(stat ("conftest.data", &s) == 0
29779 && utimes("conftest.data", (long *)0) == 0
29780 && stat("conftest.data", &t) == 0
29781 && t.st_mtime >= s.st_mtime
29782 && t.st_mtime - s.st_mtime < 120));
29785 rm -f conftest
$ac_exeext
29786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29787 (eval $ac_link) 2>&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29792 (eval $ac_try) 2>&5
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); }; }; then
29796 ac_cv_func_utimes_null
=yes
29798 echo "$as_me: program exited with status $ac_status" >&5
29799 echo "$as_me: failed program was:" >&5
29800 sed 's/^/| /' conftest.
$ac_ext >&5
29802 ( exit $ac_status )
29803 ac_cv_func_utimes_null
=no
29805 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29807 rm -f core core.
* *.core
29809 echo "$as_me:$LINENO: result: $ac_cv_func_utimes_null" >&5
29810 echo "${ECHO_T}$ac_cv_func_utimes_null" >&6
29812 if test $ac_cv_func_utimes_null = yes; then
29814 cat >>confdefs.h
<<\_ACEOF
29815 #define HAVE_UTIMES_NULL 1
29822 for ac_func
in utime
29824 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29825 echo "$as_me:$LINENO: checking for $ac_func" >&5
29826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29827 if eval "test \"\${$as_ac_var+set}\" = set"; then
29828 echo $ECHO_N "(cached) $ECHO_C" >&6
29830 cat >conftest.
$ac_ext <<_ACEOF
29831 #line $LINENO "configure"
29834 cat confdefs.h
>>conftest.
$ac_ext
29835 cat >>conftest.
$ac_ext <<_ACEOF
29836 /* end confdefs.h. */
29837 /* System header to define __stub macros and hopefully few prototypes,
29838 which can conflict with char $ac_func (); below.
29839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29840 <limits.h> exists even on freestanding compilers. */
29842 # include <limits.h>
29844 # include <assert.h>
29846 /* Override any gcc2 internal prototype to avoid an error. */
29851 /* We use char because int might match the return type of a gcc2
29852 builtin and then its argument prototype would still apply. */
29854 /* The GNU C library defines this for functions which it implements
29855 to always fail with ENOSYS. Some functions are actually named
29856 something starting with __ and the normal name is an alias. */
29857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29860 char (*f) () = $ac_func;
29869 return f != $ac_func;
29874 rm -f conftest.
$ac_objext conftest
$ac_exeext
29875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29876 (eval $ac_link) 2>&5
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); } &&
29880 { ac_try
='test -s conftest$ac_exeext'
29881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29882 (eval $ac_try) 2>&5
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); }; }; then
29886 eval "$as_ac_var=yes"
29888 echo "$as_me: failed program was:" >&5
29889 sed 's/^/| /' conftest.
$ac_ext >&5
29891 eval "$as_ac_var=no"
29893 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29897 if test `eval echo '${'$as_ac_var'}'` = yes; then
29898 cat >>confdefs.h
<<_ACEOF
29899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29903 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
29911 echo "$as_me:$LINENO: checking determine how many files may be open simultaneously" >&5
29912 echo $ECHO_N "checking determine how many files may be open simultaneously... $ECHO_C" >&6
29913 if test "${utils_cv_sys_open_max+set}" = set; then
29914 echo $ECHO_N "(cached) $ECHO_C" >&6
29917 if test "$cross_compiling" = yes; then
29918 utils_cv_sys_open_max
='cross compiling run-test in open-max.m4'
29920 cat >conftest.
$ac_ext <<_ACEOF
29921 #line $LINENO "configure"
29924 cat confdefs.h
>>conftest.
$ac_ext
29925 cat >>conftest.
$ac_ext <<_ACEOF
29926 /* end confdefs.h. */
29929 #include <stdlib.h>
29930 #include <unistd.h>
29934 FILE *result = fopen ("conftest.omax", "w");
29936 /* Impose an arbitrary limit, in case some system has no
29937 effective limit on the number of simultaneously open files. */
29940 FILE *s = fopen ("conftest.op", "w");
29945 fprintf (result, "%d\n", i);
29946 exit (fclose (result) == EOF);
29950 rm -f conftest
$ac_exeext
29951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29952 (eval $ac_link) 2>&5
29954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29955 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29957 (eval $ac_try) 2>&5
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); }; }; then
29961 utils_cv_sys_open_max
=`cat conftest.omax`
29963 echo "$as_me: program exited with status $ac_status" >&5
29964 echo "$as_me: failed program was:" >&5
29965 sed 's/^/| /' conftest.
$ac_ext >&5
29967 ( exit $ac_status )
29968 utils_cv_sys_open_max
='internal error in open-max.m4'
29970 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29973 echo "$as_me:$LINENO: result: $utils_cv_sys_open_max" >&5
29974 echo "${ECHO_T}$utils_cv_sys_open_max" >&6
29977 cat >>confdefs.h
<<_ACEOF
29978 #define UTILS_OPEN_MAX $utils_cv_sys_open_max
29983 echo "$as_me:$LINENO: checking whether getcwd properly handles paths longer than PATH_MAX" >&5
29984 echo $ECHO_N "checking whether getcwd properly handles paths longer than PATH_MAX... $ECHO_C" >&6
29985 if test "${gl_cv_func_getcwd_vs_path_max+set}" = set; then
29986 echo $ECHO_N "(cached) $ECHO_C" >&6
29989 # Arrange for deletion of the temporary directory this test creates.
29990 ac_clean_files
="$ac_clean_files confdir3"
29991 if test "$cross_compiling" = yes; then
29992 gl_cv_func_getcwd_vs_path_max
=no
29994 cat >conftest.
$ac_ext <<_ACEOF
29995 #line $LINENO "configure"
29998 cat confdefs.h
>>conftest.
$ac_ext
29999 cat >>conftest.
$ac_ext <<_ACEOF
30000 /* end confdefs.h. */
30002 #include <stdlib.h>
30003 #include <unistd.h>
30004 #include <string.h>
30005 #include <limits.h>
30006 #include <sys/stat.h>
30007 #include <sys/types.h>
30009 /* Don't get link errors because mkdir is redefined to rpl_mkdir. */
30013 # define CHAR_BIT 8
30016 /* The extra casts work around common compiler bugs. */
30017 #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1))
30018 /* The outer cast is needed to work around a bug in Cray C 5.0.3.0.
30019 It is necessary at least when t == time_t. */
30020 #define TYPE_MINIMUM(t) ((t) (TYPE_SIGNED (t) \
30021 ? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0))
30022 #define TYPE_MAXIMUM(t) ((t) (~ (t) 0 - TYPE_MINIMUM (t)))
30025 # define INT_MAX TYPE_MAXIMUM (int)
30029 /* There might be a better way to handle this case, but note:
30030 - the value shouldn't be anywhere near INT_MAX, and
30031 - the value shouldn't be so big that the local declaration, below,
30032 blows the stack. */
30033 # define PATH_MAX 40000
30036 /* The length of this name must be 8. */
30037 #define DIR_NAME "confdir3"
30042 /* The '9' comes from strlen (DIR_NAME) + 1. */
30043 #if INT_MAX - 9 <= PATH_MAX
30044 /* FIXME: Assuming there's a system for which this is true -- Hurd?,
30045 this should be done in a compile test. */
30048 char buf[PATH_MAX + 20];
30049 char *cwd = getcwd (buf, PATH_MAX);
30052 size_t n_chdirs = 0;
30057 cwd_len = strlen (cwd);
30064 cwd_len += 1 + strlen (DIR_NAME);
30065 /* If mkdir or chdir fails, be pessimistic and consider that
30066 as a failure, too. */
30067 if (mkdir (DIR_NAME, 0700) < 0 || chdir (DIR_NAME) < 0)
30072 if ((c = getcwd (buf, PATH_MAX)) == NULL)
30074 /* This allows any failure to indicate there is no bug.
30075 FIXME: check errno? */
30078 if ((len = strlen (c)) != cwd_len)
30084 if (PATH_MAX < len)
30088 /* Leaving behind such a deep directory is not polite.
30089 So clean up here, right away, even though the driving
30090 shell script would also clean up. */
30094 /* Unlink first, in case the chdir failed. */
30096 for (i = 0; i <= n_chdirs; i++)
30098 if (chdir ("..") < 0)
30109 rm -f conftest
$ac_exeext
30110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30111 (eval $ac_link) 2>&5
30113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30114 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
30115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30116 (eval $ac_try) 2>&5
30118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30119 (exit $ac_status); }; }; then
30120 gl_cv_func_getcwd_vs_path_max
=yes
30122 echo "$as_me: program exited with status $ac_status" >&5
30123 echo "$as_me: failed program was:" >&5
30124 sed 's/^/| /' conftest.
$ac_ext >&5
30126 ( exit $ac_status )
30127 gl_cv_func_getcwd_vs_path_max
=no
30129 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30132 echo "$as_me:$LINENO: result: $gl_cv_func_getcwd_vs_path_max" >&5
30133 echo "${ECHO_T}$gl_cv_func_getcwd_vs_path_max" >&6
30135 if test $gl_cv_func_getcwd_vs_path_max = yes; then
30136 LIBOBJS
="$LIBOBJS getcwd.$ac_objext"
30138 cat >>confdefs.h
<<\_ACEOF
30139 #define getcwd rpl_getcwd
30145 if test "X$prefix" = "XNONE"; then
30146 acl_final_prefix
="$ac_default_prefix"
30148 acl_final_prefix
="$prefix"
30150 if test "X$exec_prefix" = "XNONE"; then
30151 acl_final_exec_prefix
='${prefix}'
30153 acl_final_exec_prefix
="$exec_prefix"
30155 acl_save_prefix
="$prefix"
30156 prefix
="$acl_final_prefix"
30157 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
30158 prefix
="$acl_save_prefix"
30161 # Check whether --with-gnu-ld or --without-gnu-ld was given.
30162 if test "${with_gnu_ld+set}" = set; then
30163 withval
="$with_gnu_ld"
30164 test "$withval" = no || with_gnu_ld
=yes
30169 if test "$GCC" = yes; then
30170 # Check if gcc -print-prog-name=ld gives a path.
30171 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
30172 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
30175 # gcc leaves a trailing carriage return which upsets mingw
30176 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
30178 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
30181 # Accept absolute paths.
30182 [\\/]* |
[A-Za-z
]:[\\/]*)
30183 re_direlt
='/[^/][^/]*/\.\./'
30184 # Canonicalize the path of ld
30185 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
30186 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
30187 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
30189 test -z "$LD" && LD
="$ac_prog"
30192 # If it fails, then pretend we aren't using GCC.
30196 # If it is relative, then search for the first ld in PATH.
30197 with_gnu_ld
=unknown
30200 elif test "$with_gnu_ld" = yes; then
30201 echo "$as_me:$LINENO: checking for GNU ld" >&5
30202 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
30204 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
30205 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
30207 if test "${acl_cv_path_LD+set}" = set; then
30208 echo $ECHO_N "(cached) $ECHO_C" >&6
30210 if test -z "$LD"; then
30211 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
30212 for ac_dir
in $PATH; do
30213 test -z "$ac_dir" && ac_dir
=.
30214 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
30215 acl_cv_path_LD
="$ac_dir/$ac_prog"
30216 # Check to see if the program is GNU ld. I'd rather use --version,
30217 # but apparently some GNU ld's only accept -v.
30218 # Break only if it was the GNU/non-GNU ld that we prefer.
30219 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
30220 test "$with_gnu_ld" != no
&& break
30222 test "$with_gnu_ld" != yes && break
30228 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
30232 LD
="$acl_cv_path_LD"
30233 if test -n "$LD"; then
30234 echo "$as_me:$LINENO: result: $LD" >&5
30235 echo "${ECHO_T}$LD" >&6
30237 echo "$as_me:$LINENO: result: no" >&5
30238 echo "${ECHO_T}no" >&6
30240 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
30241 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
30242 { (exit 1); exit 1; }; }
30243 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
30244 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
30245 if test "${acl_cv_prog_gnu_ld+set}" = set; then
30246 echo $ECHO_N "(cached) $ECHO_C" >&6
30248 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
30249 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
30250 acl_cv_prog_gnu_ld
=yes
30252 acl_cv_prog_gnu_ld
=no
30255 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
30256 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
30257 with_gnu_ld
=$acl_cv_prog_gnu_ld
30261 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
30262 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
30263 if test "${acl_cv_rpath+set}" = set; then
30264 echo $ECHO_N "(cached) $ECHO_C" >&6
30267 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
30268 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
30270 rm -f .
/conftest.sh
30274 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
30275 echo "${ECHO_T}$acl_cv_rpath" >&6
30277 libext
="$acl_cv_libext"
30278 shlibext
="$acl_cv_shlibext"
30279 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
30280 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
30281 hardcode_direct
="$acl_cv_hardcode_direct"
30282 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
30283 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
30284 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
30285 # Check whether --enable-rpath or --disable-rpath was given.
30286 if test "${enable_rpath+set}" = set; then
30287 enableval
="$enable_rpath"
30301 acl_save_prefix
="$prefix"
30302 prefix
="$acl_final_prefix"
30303 acl_save_exec_prefix
="$exec_prefix"
30304 exec_prefix
="$acl_final_exec_prefix"
30306 eval additional_includedir
=\"$includedir\"
30307 eval additional_libdir
=\"$libdir\"
30309 exec_prefix
="$acl_save_exec_prefix"
30310 prefix
="$acl_save_prefix"
30313 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30314 if test "${with_libiconv_prefix+set}" = set; then
30315 withval
="$with_libiconv_prefix"
30317 if test "X$withval" = "Xno"; then
30320 if test "X$withval" = "X"; then
30322 acl_save_prefix
="$prefix"
30323 prefix
="$acl_final_prefix"
30324 acl_save_exec_prefix
="$exec_prefix"
30325 exec_prefix
="$acl_final_exec_prefix"
30327 eval additional_includedir
=\"$includedir\"
30328 eval additional_libdir
=\"$libdir\"
30330 exec_prefix
="$acl_save_exec_prefix"
30331 prefix
="$acl_save_prefix"
30334 additional_includedir
="$withval/include"
30335 additional_libdir
="$withval/lib"
30345 names_already_handled
=
30346 names_next_round
='iconv '
30347 while test -n "$names_next_round"; do
30348 names_this_round
="$names_next_round"
30350 for name
in $names_this_round; do
30352 for n
in $names_already_handled; do
30353 if test "$n" = "$name"; then
30354 already_handled
=yes
30358 if test -z "$already_handled"; then
30359 names_already_handled
="$names_already_handled $name"
30360 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
30361 eval value
=\"\
$HAVE_LIB$uppername\"
30362 if test -n "$value"; then
30363 if test "$value" = yes; then
30364 eval value
=\"\
$LIB$uppername\"
30365 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
30366 eval value
=\"\
$LTLIB$uppername\"
30367 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
30376 if test $use_additional = yes; then
30377 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
30378 found_dir
="$additional_libdir"
30379 found_so
="$additional_libdir/lib$name.$shlibext"
30380 if test -f "$additional_libdir/lib$name.la"; then
30381 found_la
="$additional_libdir/lib$name.la"
30384 if test -f "$additional_libdir/lib$name.$libext"; then
30385 found_dir
="$additional_libdir"
30386 found_a
="$additional_libdir/lib$name.$libext"
30387 if test -f "$additional_libdir/lib$name.la"; then
30388 found_la
="$additional_libdir/lib$name.la"
30393 if test "X$found_dir" = "X"; then
30394 for x
in $LDFLAGS $LTLIBICONV; do
30396 acl_save_prefix
="$prefix"
30397 prefix
="$acl_final_prefix"
30398 acl_save_exec_prefix
="$exec_prefix"
30399 exec_prefix
="$acl_final_exec_prefix"
30401 exec_prefix
="$acl_save_exec_prefix"
30402 prefix
="$acl_save_prefix"
30406 dir
=`echo "X$x" | sed -e 's/^X-L//'`
30407 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
30409 found_so
="$dir/lib$name.$shlibext"
30410 if test -f "$dir/lib$name.la"; then
30411 found_la
="$dir/lib$name.la"
30414 if test -f "$dir/lib$name.$libext"; then
30416 found_a
="$dir/lib$name.$libext"
30417 if test -f "$dir/lib$name.la"; then
30418 found_la
="$dir/lib$name.la"
30424 if test "X$found_dir" != "X"; then
30429 if test "X$found_dir" != "X"; then
30430 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
30431 if test "X$found_so" != "X"; then
30432 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
30433 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
30436 for x
in $ltrpathdirs; do
30437 if test "X$x" = "X$found_dir"; then
30442 if test -z "$haveit"; then
30443 ltrpathdirs
="$ltrpathdirs $found_dir"
30445 if test "$hardcode_direct" = yes; then
30446 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
30448 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
30449 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
30451 for x
in $rpathdirs; do
30452 if test "X$x" = "X$found_dir"; then
30457 if test -z "$haveit"; then
30458 rpathdirs
="$rpathdirs $found_dir"
30462 for x
in $LDFLAGS $LIBICONV; do
30464 acl_save_prefix
="$prefix"
30465 prefix
="$acl_final_prefix"
30466 acl_save_exec_prefix
="$exec_prefix"
30467 exec_prefix
="$acl_final_exec_prefix"
30469 exec_prefix
="$acl_save_exec_prefix"
30470 prefix
="$acl_save_prefix"
30472 if test "X$x" = "X-L$found_dir"; then
30477 if test -z "$haveit"; then
30478 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
30480 if test "$hardcode_minus_L" != no
; then
30481 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
30483 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
30489 if test "X$found_a" != "X"; then
30490 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
30492 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
30495 additional_includedir
=
30496 case "$found_dir" in
30498 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
30499 additional_includedir
="$basedir/include"
30502 if test "X$additional_includedir" != "X"; then
30503 if test "X$additional_includedir" != "X/usr/include"; then
30505 if test "X$additional_includedir" = "X/usr/local/include"; then
30506 if test -n "$GCC"; then
30508 linux
*) haveit
=yes;;
30512 if test -z "$haveit"; then
30513 for x
in $CPPFLAGS $INCICONV; do
30515 acl_save_prefix
="$prefix"
30516 prefix
="$acl_final_prefix"
30517 acl_save_exec_prefix
="$exec_prefix"
30518 exec_prefix
="$acl_final_exec_prefix"
30520 exec_prefix
="$acl_save_exec_prefix"
30521 prefix
="$acl_save_prefix"
30523 if test "X$x" = "X-I$additional_includedir"; then
30528 if test -z "$haveit"; then
30529 if test -d "$additional_includedir"; then
30530 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
30536 if test -n "$found_la"; then
30537 save_libdir
="$libdir"
30538 case "$found_la" in
30539 */* |
*\\*) .
"$found_la" ;;
30540 *) .
"./$found_la" ;;
30542 libdir
="$save_libdir"
30543 for dep
in $dependency_libs; do
30546 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
30547 if test "X$additional_libdir" != "X/usr/lib"; then
30549 if test "X$additional_libdir" = "X/usr/local/lib"; then
30550 if test -n "$GCC"; then
30552 linux
*) haveit
=yes;;
30556 if test -z "$haveit"; then
30558 for x
in $LDFLAGS $LIBICONV; do
30560 acl_save_prefix
="$prefix"
30561 prefix
="$acl_final_prefix"
30562 acl_save_exec_prefix
="$exec_prefix"
30563 exec_prefix
="$acl_final_exec_prefix"
30565 exec_prefix
="$acl_save_exec_prefix"
30566 prefix
="$acl_save_prefix"
30568 if test "X$x" = "X-L$additional_libdir"; then
30573 if test -z "$haveit"; then
30574 if test -d "$additional_libdir"; then
30575 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
30579 for x
in $LDFLAGS $LTLIBICONV; do
30581 acl_save_prefix
="$prefix"
30582 prefix
="$acl_final_prefix"
30583 acl_save_exec_prefix
="$exec_prefix"
30584 exec_prefix
="$acl_final_exec_prefix"
30586 exec_prefix
="$acl_save_exec_prefix"
30587 prefix
="$acl_save_prefix"
30589 if test "X$x" = "X-L$additional_libdir"; then
30594 if test -z "$haveit"; then
30595 if test -d "$additional_libdir"; then
30596 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
30603 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
30604 if test "$enable_rpath" != no
; then
30606 for x
in $rpathdirs; do
30607 if test "X$x" = "X$dir"; then
30612 if test -z "$haveit"; then
30613 rpathdirs
="$rpathdirs $dir"
30616 for x
in $ltrpathdirs; do
30617 if test "X$x" = "X$dir"; then
30622 if test -z "$haveit"; then
30623 ltrpathdirs
="$ltrpathdirs $dir"
30628 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
30631 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
30634 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
30635 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
30641 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
30642 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
30648 if test "X$rpathdirs" != "X"; then
30649 if test -n "$hardcode_libdir_separator"; then
30651 for found_dir
in $rpathdirs; do
30652 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
30654 acl_save_libdir
="$libdir"
30656 eval flag
=\"$hardcode_libdir_flag_spec\"
30657 libdir
="$acl_save_libdir"
30658 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
30660 for found_dir
in $rpathdirs; do
30661 acl_save_libdir
="$libdir"
30662 libdir
="$found_dir"
30663 eval flag
=\"$hardcode_libdir_flag_spec\"
30664 libdir
="$acl_save_libdir"
30665 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
30669 if test "X$ltrpathdirs" != "X"; then
30670 for found_dir
in $ltrpathdirs; do
30671 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
30677 echo "$as_me:$LINENO: checking whether system is Windows or MSDOS" >&5
30678 echo $ECHO_N "checking whether system is Windows or MSDOS... $ECHO_C" >&6
30679 if test "${ac_cv_win_or_dos+set}" = set; then
30680 echo $ECHO_N "(cached) $ECHO_C" >&6
30683 cat >conftest.
$ac_ext <<_ACEOF
30684 #line $LINENO "configure"
30687 cat confdefs.h
>>conftest.
$ac_ext
30688 cat >>conftest.
$ac_ext <<_ACEOF
30689 /* end confdefs.h. */
30694 #if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__
30695 neither MSDOS nor Windows
30701 rm -f conftest.
$ac_objext
30702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30703 (eval $ac_compile) 2>&5
30705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30706 (exit $ac_status); } &&
30707 { ac_try
='test -s conftest.$ac_objext'
30708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30709 (eval $ac_try) 2>&5
30711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30712 (exit $ac_status); }; }; then
30713 ac_cv_win_or_dos
=yes
30715 echo "$as_me: failed program was:" >&5
30716 sed 's/^/| /' conftest.
$ac_ext >&5
30718 ac_cv_win_or_dos
=no
30720 rm -f conftest.
$ac_objext conftest.
$ac_ext
30723 echo "$as_me:$LINENO: result: $ac_cv_win_or_dos" >&5
30724 echo "${ECHO_T}$ac_cv_win_or_dos" >&6
30726 if test x
"$ac_cv_win_or_dos" = xyes
; then
30727 ac_fs_accepts_drive_letter_prefix
=1
30728 ac_fs_backslash_is_file_name_separator
=1
30730 ac_fs_accepts_drive_letter_prefix
=0
30731 ac_fs_backslash_is_file_name_separator
=0
30738 cat >>confdefs.h
<<_ACEOF
30739 #define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX $ac_fs_accepts_drive_letter_prefix
30747 cat >>confdefs.h
<<_ACEOF
30748 #define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR $ac_fs_backslash_is_file_name_separator
30757 for ac_header
in string.h sys
/param.h stddef.h
30759 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30761 echo "$as_me:$LINENO: checking for $ac_header" >&5
30762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30764 echo $ECHO_N "(cached) $ECHO_C" >&6
30766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30769 # Is the header compilable?
30770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30772 cat >conftest.
$ac_ext <<_ACEOF
30773 #line $LINENO "configure"
30776 cat confdefs.h
>>conftest.
$ac_ext
30777 cat >>conftest.
$ac_ext <<_ACEOF
30778 /* end confdefs.h. */
30779 $ac_includes_default
30780 #include <$ac_header>
30782 rm -f conftest.
$ac_objext
30783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30784 (eval $ac_compile) 2>&5
30786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 (exit $ac_status); } &&
30788 { ac_try
='test -s conftest.$ac_objext'
30789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30790 (eval $ac_try) 2>&5
30792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30793 (exit $ac_status); }; }; then
30794 ac_header_compiler
=yes
30796 echo "$as_me: failed program was:" >&5
30797 sed 's/^/| /' conftest.
$ac_ext >&5
30799 ac_header_compiler
=no
30801 rm -f conftest.
$ac_objext conftest.
$ac_ext
30802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30803 echo "${ECHO_T}$ac_header_compiler" >&6
30805 # Is the header present?
30806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30808 cat >conftest.
$ac_ext <<_ACEOF
30809 #line $LINENO "configure"
30812 cat confdefs.h
>>conftest.
$ac_ext
30813 cat >>conftest.
$ac_ext <<_ACEOF
30814 /* end confdefs.h. */
30815 #include <$ac_header>
30817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30818 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30820 grep -v '^ *+' conftest.er1
>conftest.err
30822 cat conftest.err
>&5
30823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824 (exit $ac_status); } >/dev
/null
; then
30825 if test -s conftest.err
; then
30826 ac_cpp_err
=$ac_c_preproc_warn_flag
30833 if test -z "$ac_cpp_err"; then
30834 ac_header_preproc
=yes
30836 echo "$as_me: failed program was:" >&5
30837 sed 's/^/| /' conftest.
$ac_ext >&5
30839 ac_header_preproc
=no
30841 rm -f conftest.err conftest.
$ac_ext
30842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30843 echo "${ECHO_T}$ac_header_preproc" >&6
30845 # So? What about this header?
30846 case $ac_header_compiler:$ac_header_preproc in
30848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30854 ## ------------------------------------ ##
30855 ## Report this to bug-autoconf@gnu.org. ##
30856 ## ------------------------------------ ##
30859 sed "s/^/$as_me: WARNING: /" >&2
30862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30864 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30870 ## ------------------------------------ ##
30871 ## Report this to bug-autoconf@gnu.org. ##
30872 ## ------------------------------------ ##
30875 sed "s/^/$as_me: WARNING: /" >&2
30878 echo "$as_me:$LINENO: checking for $ac_header" >&5
30879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30881 echo $ECHO_N "(cached) $ECHO_C" >&6
30883 eval "$as_ac_Header=$ac_header_preproc"
30885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30890 cat >>confdefs.h
<<_ACEOF
30891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30899 for ac_func
in resolvepath
30901 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30902 echo "$as_me:$LINENO: checking for $ac_func" >&5
30903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30904 if eval "test \"\${$as_ac_var+set}\" = set"; then
30905 echo $ECHO_N "(cached) $ECHO_C" >&6
30907 cat >conftest.
$ac_ext <<_ACEOF
30908 #line $LINENO "configure"
30911 cat confdefs.h
>>conftest.
$ac_ext
30912 cat >>conftest.
$ac_ext <<_ACEOF
30913 /* end confdefs.h. */
30914 /* System header to define __stub macros and hopefully few prototypes,
30915 which can conflict with char $ac_func (); below.
30916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30917 <limits.h> exists even on freestanding compilers. */
30919 # include <limits.h>
30921 # include <assert.h>
30923 /* Override any gcc2 internal prototype to avoid an error. */
30928 /* We use char because int might match the return type of a gcc2
30929 builtin and then its argument prototype would still apply. */
30931 /* The GNU C library defines this for functions which it implements
30932 to always fail with ENOSYS. Some functions are actually named
30933 something starting with __ and the normal name is an alias. */
30934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30937 char (*f) () = $ac_func;
30946 return f != $ac_func;
30951 rm -f conftest.
$ac_objext conftest
$ac_exeext
30952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30953 (eval $ac_link) 2>&5
30955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30956 (exit $ac_status); } &&
30957 { ac_try
='test -s conftest$ac_exeext'
30958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30959 (eval $ac_try) 2>&5
30961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30962 (exit $ac_status); }; }; then
30963 eval "$as_ac_var=yes"
30965 echo "$as_me: failed program was:" >&5
30966 sed 's/^/| /' conftest.
$ac_ext >&5
30968 eval "$as_ac_var=no"
30970 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30974 if test `eval echo '${'$as_ac_var'}'` = yes; then
30975 cat >>confdefs.h
<<_ACEOF
30976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30984 # This would simply be AC_REPLACE_FUNC([canonicalize_file_name])
30985 # if the function name weren't so long. Besides, I would rather
30986 # not have underscores in file names.
30987 echo "$as_me:$LINENO: checking for canonicalize_file_name" >&5
30988 echo $ECHO_N "checking for canonicalize_file_name... $ECHO_C" >&6
30989 if test "${ac_cv_func_canonicalize_file_name+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30992 cat >conftest.
$ac_ext <<_ACEOF
30993 #line $LINENO "configure"
30996 cat confdefs.h
>>conftest.
$ac_ext
30997 cat >>conftest.
$ac_ext <<_ACEOF
30998 /* end confdefs.h. */
30999 /* System header to define __stub macros and hopefully few prototypes,
31000 which can conflict with char canonicalize_file_name (); below.
31001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31002 <limits.h> exists even on freestanding compilers. */
31004 # include <limits.h>
31006 # include <assert.h>
31008 /* Override any gcc2 internal prototype to avoid an error. */
31013 /* We use char because int might match the return type of a gcc2
31014 builtin and then its argument prototype would still apply. */
31015 char canonicalize_file_name ();
31016 /* The GNU C library defines this for functions which it implements
31017 to always fail with ENOSYS. Some functions are actually named
31018 something starting with __ and the normal name is an alias. */
31019 #if defined (__stub_canonicalize_file_name) || defined (__stub___canonicalize_file_name)
31022 char (*f) () = canonicalize_file_name;
31031 return f != canonicalize_file_name;
31036 rm -f conftest.
$ac_objext conftest
$ac_exeext
31037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31038 (eval $ac_link) 2>&5
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); } &&
31042 { ac_try
='test -s conftest$ac_exeext'
31043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31044 (eval $ac_try) 2>&5
31046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31047 (exit $ac_status); }; }; then
31048 ac_cv_func_canonicalize_file_name
=yes
31050 echo "$as_me: failed program was:" >&5
31051 sed 's/^/| /' conftest.
$ac_ext >&5
31053 ac_cv_func_canonicalize_file_name
=no
31055 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31057 echo "$as_me:$LINENO: result: $ac_cv_func_canonicalize_file_name" >&5
31058 echo "${ECHO_T}$ac_cv_func_canonicalize_file_name" >&6
31059 if test $ac_cv_func_canonicalize_file_name = yes; then
31062 LIBOBJS
="$LIBOBJS canonicalize.$ac_objext"
31069 GNU_PACKAGE
="GNU $PACKAGE"
31071 cat >>confdefs.h
<<_ACEOF
31072 #define GNU_PACKAGE "$GNU_PACKAGE"
31078 HELP2MAN
=${HELP2MAN-"${am_missing_run}help2man"}
31100 echo "$as_me:$LINENO: checking for struct stat.st_author" >&5
31101 echo $ECHO_N "checking for struct stat.st_author... $ECHO_C" >&6
31102 if test "${ac_cv_member_struct_stat_st_author+set}" = set; then
31103 echo $ECHO_N "(cached) $ECHO_C" >&6
31105 cat >conftest.
$ac_ext <<_ACEOF
31106 #line $LINENO "configure"
31109 cat confdefs.h
>>conftest.
$ac_ext
31110 cat >>conftest.
$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31112 $ac_includes_default
31113 #include <sys/stat.h>
31119 static struct stat ac_aggr;
31120 if (ac_aggr.st_author)
31126 rm -f conftest.
$ac_objext
31127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31128 (eval $ac_compile) 2>&5
31130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31131 (exit $ac_status); } &&
31132 { ac_try
='test -s conftest.$ac_objext'
31133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31134 (eval $ac_try) 2>&5
31136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31137 (exit $ac_status); }; }; then
31138 ac_cv_member_struct_stat_st_author
=yes
31140 echo "$as_me: failed program was:" >&5
31141 sed 's/^/| /' conftest.
$ac_ext >&5
31143 cat >conftest.
$ac_ext <<_ACEOF
31144 #line $LINENO "configure"
31147 cat confdefs.h
>>conftest.
$ac_ext
31148 cat >>conftest.
$ac_ext <<_ACEOF
31149 /* end confdefs.h. */
31150 $ac_includes_default
31151 #include <sys/stat.h>
31157 static struct stat ac_aggr;
31158 if (sizeof ac_aggr.st_author)
31164 rm -f conftest.
$ac_objext
31165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31166 (eval $ac_compile) 2>&5
31168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169 (exit $ac_status); } &&
31170 { ac_try
='test -s conftest.$ac_objext'
31171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31172 (eval $ac_try) 2>&5
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); }; }; then
31176 ac_cv_member_struct_stat_st_author
=yes
31178 echo "$as_me: failed program was:" >&5
31179 sed 's/^/| /' conftest.
$ac_ext >&5
31181 ac_cv_member_struct_stat_st_author
=no
31183 rm -f conftest.
$ac_objext conftest.
$ac_ext
31185 rm -f conftest.
$ac_objext conftest.
$ac_ext
31187 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_author" >&5
31188 echo "${ECHO_T}$ac_cv_member_struct_stat_st_author" >&6
31189 if test $ac_cv_member_struct_stat_st_author = yes; then
31191 cat >>confdefs.h
<<_ACEOF
31192 #define HAVE_STRUCT_STAT_ST_AUTHOR 1
31197 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
31198 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
31199 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
31200 echo $ECHO_N "(cached) $ECHO_C" >&6
31202 cat >conftest.
$ac_ext <<_ACEOF
31203 #line $LINENO "configure"
31206 cat confdefs.h
>>conftest.
$ac_ext
31207 cat >>conftest.
$ac_ext <<_ACEOF
31208 /* end confdefs.h. */
31209 $ac_includes_default
31210 #include <sys/stat.h>
31216 static struct stat ac_aggr;
31217 if (ac_aggr.st_blksize)
31223 rm -f conftest.
$ac_objext
31224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31225 (eval $ac_compile) 2>&5
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); } &&
31229 { ac_try
='test -s conftest.$ac_objext'
31230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31231 (eval $ac_try) 2>&5
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); }; }; then
31235 ac_cv_member_struct_stat_st_blksize
=yes
31237 echo "$as_me: failed program was:" >&5
31238 sed 's/^/| /' conftest.
$ac_ext >&5
31240 cat >conftest.
$ac_ext <<_ACEOF
31241 #line $LINENO "configure"
31244 cat confdefs.h
>>conftest.
$ac_ext
31245 cat >>conftest.
$ac_ext <<_ACEOF
31246 /* end confdefs.h. */
31247 $ac_includes_default
31248 #include <sys/stat.h>
31254 static struct stat ac_aggr;
31255 if (sizeof ac_aggr.st_blksize)
31261 rm -f conftest.
$ac_objext
31262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31263 (eval $ac_compile) 2>&5
31265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31266 (exit $ac_status); } &&
31267 { ac_try
='test -s conftest.$ac_objext'
31268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31269 (eval $ac_try) 2>&5
31271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31272 (exit $ac_status); }; }; then
31273 ac_cv_member_struct_stat_st_blksize
=yes
31275 echo "$as_me: failed program was:" >&5
31276 sed 's/^/| /' conftest.
$ac_ext >&5
31278 ac_cv_member_struct_stat_st_blksize
=no
31280 rm -f conftest.
$ac_objext conftest.
$ac_ext
31282 rm -f conftest.
$ac_objext conftest.
$ac_ext
31284 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
31285 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
31286 if test $ac_cv_member_struct_stat_st_blksize = yes; then
31288 cat >>confdefs.h
<<_ACEOF
31289 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
31311 echo "$as_me:$LINENO: checking for ino_t" >&5
31312 echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
31313 if test "${ac_cv_type_ino_t+set}" = set; then
31314 echo $ECHO_N "(cached) $ECHO_C" >&6
31316 cat >conftest.
$ac_ext <<_ACEOF
31317 #line $LINENO "configure"
31320 cat confdefs.h
>>conftest.
$ac_ext
31321 cat >>conftest.
$ac_ext <<_ACEOF
31322 /* end confdefs.h. */
31323 $ac_includes_default
31329 if (sizeof (ino_t))
31335 rm -f conftest.
$ac_objext
31336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31337 (eval $ac_compile) 2>&5
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); } &&
31341 { ac_try
='test -s conftest.$ac_objext'
31342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31343 (eval $ac_try) 2>&5
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); }; }; then
31347 ac_cv_type_ino_t
=yes
31349 echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.
$ac_ext >&5
31352 ac_cv_type_ino_t
=no
31354 rm -f conftest.
$ac_objext conftest.
$ac_ext
31356 echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
31357 echo "${ECHO_T}$ac_cv_type_ino_t" >&6
31358 if test $ac_cv_type_ino_t = yes; then
31362 cat >>confdefs.h
<<_ACEOF
31363 #define ino_t unsigned long
31369 echo "$as_me:$LINENO: checking for ssize_t" >&5
31370 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
31371 if test "${ac_cv_type_ssize_t+set}" = set; then
31372 echo $ECHO_N "(cached) $ECHO_C" >&6
31374 cat >conftest.
$ac_ext <<_ACEOF
31375 #line $LINENO "configure"
31378 cat confdefs.h
>>conftest.
$ac_ext
31379 cat >>conftest.
$ac_ext <<_ACEOF
31380 /* end confdefs.h. */
31381 $ac_includes_default
31387 if (sizeof (ssize_t))
31393 rm -f conftest.
$ac_objext
31394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31395 (eval $ac_compile) 2>&5
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); } &&
31399 { ac_try
='test -s conftest.$ac_objext'
31400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31401 (eval $ac_try) 2>&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); }; }; then
31405 ac_cv_type_ssize_t
=yes
31407 echo "$as_me: failed program was:" >&5
31408 sed 's/^/| /' conftest.
$ac_ext >&5
31410 ac_cv_type_ssize_t
=no
31412 rm -f conftest.
$ac_objext conftest.
$ac_ext
31414 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
31415 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
31416 if test $ac_cv_type_ssize_t = yes; then
31420 cat >>confdefs.h
<<_ACEOF
31421 #define ssize_t int
31426 echo "$as_me:$LINENO: checking for major_t" >&5
31427 echo $ECHO_N "checking for major_t... $ECHO_C" >&6
31428 if test "${ac_cv_type_major_t+set}" = set; then
31429 echo $ECHO_N "(cached) $ECHO_C" >&6
31431 cat >conftest.
$ac_ext <<_ACEOF
31432 #line $LINENO "configure"
31435 cat confdefs.h
>>conftest.
$ac_ext
31436 cat >>conftest.
$ac_ext <<_ACEOF
31437 /* end confdefs.h. */
31438 $ac_includes_default
31444 if (sizeof (major_t))
31450 rm -f conftest.
$ac_objext
31451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31452 (eval $ac_compile) 2>&5
31454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31455 (exit $ac_status); } &&
31456 { ac_try
='test -s conftest.$ac_objext'
31457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31458 (eval $ac_try) 2>&5
31460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461 (exit $ac_status); }; }; then
31462 ac_cv_type_major_t
=yes
31464 echo "$as_me: failed program was:" >&5
31465 sed 's/^/| /' conftest.
$ac_ext >&5
31467 ac_cv_type_major_t
=no
31469 rm -f conftest.
$ac_objext conftest.
$ac_ext
31471 echo "$as_me:$LINENO: result: $ac_cv_type_major_t" >&5
31472 echo "${ECHO_T}$ac_cv_type_major_t" >&6
31473 if test $ac_cv_type_major_t = yes; then
31477 cat >>confdefs.h
<<_ACEOF
31478 #define major_t unsigned int
31483 echo "$as_me:$LINENO: checking for minor_t" >&5
31484 echo $ECHO_N "checking for minor_t... $ECHO_C" >&6
31485 if test "${ac_cv_type_minor_t+set}" = set; then
31486 echo $ECHO_N "(cached) $ECHO_C" >&6
31488 cat >conftest.
$ac_ext <<_ACEOF
31489 #line $LINENO "configure"
31492 cat confdefs.h
>>conftest.
$ac_ext
31493 cat >>conftest.
$ac_ext <<_ACEOF
31494 /* end confdefs.h. */
31495 $ac_includes_default
31501 if (sizeof (minor_t))
31507 rm -f conftest.
$ac_objext
31508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31509 (eval $ac_compile) 2>&5
31511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 (exit $ac_status); } &&
31513 { ac_try
='test -s conftest.$ac_objext'
31514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515 (eval $ac_try) 2>&5
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); }; }; then
31519 ac_cv_type_minor_t
=yes
31521 echo "$as_me: failed program was:" >&5
31522 sed 's/^/| /' conftest.
$ac_ext >&5
31524 ac_cv_type_minor_t
=no
31526 rm -f conftest.
$ac_objext conftest.
$ac_ext
31528 echo "$as_me:$LINENO: result: $ac_cv_type_minor_t" >&5
31529 echo "${ECHO_T}$ac_cv_type_minor_t" >&6
31530 if test $ac_cv_type_minor_t = yes; then
31534 cat >>confdefs.h
<<_ACEOF
31535 #define minor_t unsigned int
31550 # Assume we'll default to using the included regex.c.
31551 ac_use_included_regex
=yes
31553 # However, if the system regex support is good enough that it passes the
31554 # the following run test, then default to *not* using the included regex.c.
31555 # If cross compiling, assume the test would fail and use the included
31556 # regex.c. The first failing regular expression is from `Spencer ere
31557 # test #75' in grep-2.3.
31558 echo "$as_me:$LINENO: checking for working re_compile_pattern" >&5
31559 echo $ECHO_N "checking for working re_compile_pattern... $ECHO_C" >&6
31560 if test "${jm_cv_func_working_re_compile_pattern+set}" = set; then
31561 echo $ECHO_N "(cached) $ECHO_C" >&6
31563 if test "$cross_compiling" = yes; then
31564 jm_cv_func_working_re_compile_pattern
=no
31566 cat >conftest.
$ac_ext <<_ACEOF
31567 #line $LINENO "configure"
31570 cat confdefs.h
>>conftest.
$ac_ext
31571 cat >>conftest.
$ac_ext <<_ACEOF
31572 /* end confdefs.h. */
31574 #include <string.h>
31579 static struct re_pattern_buffer regex;
31581 struct re_registers regs;
31582 re_set_syntax (RE_SYNTAX_POSIX_EGREP);
31583 memset (®ex, 0, sizeof (regex));
31584 s = re_compile_pattern ("a[[:]:]]b\n", 9, ®ex);
31585 /* This should fail with _Invalid character class name_ error. */
31589 /* This should succeed, but doesn't for e.g. glibc-2.1.3. */
31590 memset (®ex, 0, sizeof (regex));
31591 s = re_compile_pattern ("{1", 2, ®ex);
31596 /* The following example is derived from a problem report
31597 against gawk from Jorge Stolfi <stolfi@ic.unicamp.br>. */
31598 memset (®ex, 0, sizeof (regex));
31599 s = re_compile_pattern ("[anù]*n", 7, ®ex);
31603 /* This should match, but doesn't for e.g. glibc-2.2.1. */
31604 if (re_match (®ex, "an", 2, 0, ®s) != 2)
31607 memset (®ex, 0, sizeof (regex));
31608 s = re_compile_pattern ("x", 1, ®ex);
31612 /* The version of regex.c in e.g. GNU libc-2.2.93 didn't
31613 work with a negative RANGE argument. */
31614 if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1)
31621 rm -f conftest
$ac_exeext
31622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31623 (eval $ac_link) 2>&5
31625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31626 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31628 (eval $ac_try) 2>&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); }; }; then
31632 jm_cv_func_working_re_compile_pattern
=yes
31634 echo "$as_me: program exited with status $ac_status" >&5
31635 echo "$as_me: failed program was:" >&5
31636 sed 's/^/| /' conftest.
$ac_ext >&5
31638 ( exit $ac_status )
31639 jm_cv_func_working_re_compile_pattern
=no
31641 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
31644 echo "$as_me:$LINENO: result: $jm_cv_func_working_re_compile_pattern" >&5
31645 echo "${ECHO_T}$jm_cv_func_working_re_compile_pattern" >&6
31646 if test $jm_cv_func_working_re_compile_pattern = yes; then
31647 ac_use_included_regex
=no
31650 test -n "lib/regex.c" ||
{ { echo "$as_me:$LINENO: error: missing argument" >&5
31651 echo "$as_me: error: missing argument" >&2;}
31652 { (exit 1); exit 1; }; }
31656 # Check whether --with-included-regex or --without-included-regex was given.
31657 if test "${with_included_regex+set}" = set; then
31658 withval
="$with_included_regex"
31659 jm_with_regex
=$withval
31661 jm_with_regex
=$ac_use_included_regex
31663 if test "$jm_with_regex" = yes; then
31664 LIBOBJS
="$LIBOBJS regex.$ac_objext"
31699 for ac_func
in btowc
31701 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31702 echo "$as_me:$LINENO: checking for $ac_func" >&5
31703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31704 if eval "test \"\${$as_ac_var+set}\" = set"; then
31705 echo $ECHO_N "(cached) $ECHO_C" >&6
31707 cat >conftest.
$ac_ext <<_ACEOF
31708 #line $LINENO "configure"
31711 cat confdefs.h
>>conftest.
$ac_ext
31712 cat >>conftest.
$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31714 /* System header to define __stub macros and hopefully few prototypes,
31715 which can conflict with char $ac_func (); below.
31716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31717 <limits.h> exists even on freestanding compilers. */
31719 # include <limits.h>
31721 # include <assert.h>
31723 /* Override any gcc2 internal prototype to avoid an error. */
31728 /* We use char because int might match the return type of a gcc2
31729 builtin and then its argument prototype would still apply. */
31731 /* The GNU C library defines this for functions which it implements
31732 to always fail with ENOSYS. Some functions are actually named
31733 something starting with __ and the normal name is an alias. */
31734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31737 char (*f) () = $ac_func;
31746 return f != $ac_func;
31751 rm -f conftest.
$ac_objext conftest
$ac_exeext
31752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31753 (eval $ac_link) 2>&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); } &&
31757 { ac_try
='test -s conftest$ac_exeext'
31758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31759 (eval $ac_try) 2>&5
31761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31762 (exit $ac_status); }; }; then
31763 eval "$as_ac_var=yes"
31765 echo "$as_me: failed program was:" >&5
31766 sed 's/^/| /' conftest.
$ac_ext >&5
31768 eval "$as_ac_var=no"
31770 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31774 if test `eval echo '${'$as_ac_var'}'` = yes; then
31775 cat >>confdefs.h
<<_ACEOF
31776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31828 # This is for od and stat, and any other program that
31829 # uses the PRI.MAX macros from inttypes.h.
31839 ac_have_func
=no
# yes means we've found a way to get the load average.
31841 # Make sure getloadavg.c is where it belongs, at configure-time.
31842 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
31843 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
31844 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
31845 { (exit 1); exit 1; }; }
31849 # Check for getloadavg, but be sure not to touch the cache variable.
31850 (echo "$as_me:$LINENO: checking for getloadavg" >&5
31851 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
31852 if test "${ac_cv_func_getloadavg+set}" = set; then
31853 echo $ECHO_N "(cached) $ECHO_C" >&6
31855 cat >conftest.
$ac_ext <<_ACEOF
31856 #line $LINENO "configure"
31859 cat confdefs.h
>>conftest.
$ac_ext
31860 cat >>conftest.
$ac_ext <<_ACEOF
31861 /* end confdefs.h. */
31862 /* System header to define __stub macros and hopefully few prototypes,
31863 which can conflict with char getloadavg (); below.
31864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31865 <limits.h> exists even on freestanding compilers. */
31867 # include <limits.h>
31869 # include <assert.h>
31871 /* Override any gcc2 internal prototype to avoid an error. */
31876 /* We use char because int might match the return type of a gcc2
31877 builtin and then its argument prototype would still apply. */
31878 char getloadavg ();
31879 /* The GNU C library defines this for functions which it implements
31880 to always fail with ENOSYS. Some functions are actually named
31881 something starting with __ and the normal name is an alias. */
31882 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
31885 char (*f) () = getloadavg;
31894 return f != getloadavg;
31899 rm -f conftest.
$ac_objext conftest
$ac_exeext
31900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31901 (eval $ac_link) 2>&5
31903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31904 (exit $ac_status); } &&
31905 { ac_try
='test -s conftest$ac_exeext'
31906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31907 (eval $ac_try) 2>&5
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); }; }; then
31911 ac_cv_func_getloadavg
=yes
31913 echo "$as_me: failed program was:" >&5
31914 sed 's/^/| /' conftest.
$ac_ext >&5
31916 ac_cv_func_getloadavg
=no
31918 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31920 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
31921 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
31922 if test $ac_cv_func_getloadavg = yes; then
31927 ) && ac_have_func
=yes
31929 # On HPUX9, an unprivileged user can get load averages through this function.
31931 for ac_func
in pstat_getdynamic
31933 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31934 echo "$as_me:$LINENO: checking for $ac_func" >&5
31935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31936 if eval "test \"\${$as_ac_var+set}\" = set"; then
31937 echo $ECHO_N "(cached) $ECHO_C" >&6
31939 cat >conftest.
$ac_ext <<_ACEOF
31940 #line $LINENO "configure"
31943 cat confdefs.h
>>conftest.
$ac_ext
31944 cat >>conftest.
$ac_ext <<_ACEOF
31945 /* end confdefs.h. */
31946 /* System header to define __stub macros and hopefully few prototypes,
31947 which can conflict with char $ac_func (); below.
31948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31949 <limits.h> exists even on freestanding compilers. */
31951 # include <limits.h>
31953 # include <assert.h>
31955 /* Override any gcc2 internal prototype to avoid an error. */
31960 /* We use char because int might match the return type of a gcc2
31961 builtin and then its argument prototype would still apply. */
31963 /* The GNU C library defines this for functions which it implements
31964 to always fail with ENOSYS. Some functions are actually named
31965 something starting with __ and the normal name is an alias. */
31966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31969 char (*f) () = $ac_func;
31978 return f != $ac_func;
31983 rm -f conftest.
$ac_objext conftest
$ac_exeext
31984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31985 (eval $ac_link) 2>&5
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); } &&
31989 { ac_try
='test -s conftest$ac_exeext'
31990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31991 (eval $ac_try) 2>&5
31993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31994 (exit $ac_status); }; }; then
31995 eval "$as_ac_var=yes"
31997 echo "$as_me: failed program was:" >&5
31998 sed 's/^/| /' conftest.
$ac_ext >&5
32000 eval "$as_ac_var=no"
32002 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32006 if test `eval echo '${'$as_ac_var'}'` = yes; then
32007 cat >>confdefs.h
<<_ACEOF
32008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32015 # Solaris has libkstat which does not require root.
32017 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
32018 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
32019 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
32020 echo $ECHO_N "(cached) $ECHO_C" >&6
32022 ac_check_lib_save_LIBS
=$LIBS
32023 LIBS
="-lkstat $LIBS"
32024 cat >conftest.
$ac_ext <<_ACEOF
32025 #line $LINENO "configure"
32028 cat confdefs.h
>>conftest.
$ac_ext
32029 cat >>conftest.
$ac_ext <<_ACEOF
32030 /* end confdefs.h. */
32032 /* Override any gcc2 internal prototype to avoid an error. */
32036 /* We use char because int might match the return type of a gcc2
32037 builtin and then its argument prototype would still apply. */
32038 char kstat_open ();
32047 rm -f conftest.
$ac_objext conftest
$ac_exeext
32048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32049 (eval $ac_link) 2>&5
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); } &&
32053 { ac_try
='test -s conftest$ac_exeext'
32054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32055 (eval $ac_try) 2>&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); }; }; then
32059 ac_cv_lib_kstat_kstat_open
=yes
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.
$ac_ext >&5
32064 ac_cv_lib_kstat_kstat_open
=no
32066 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32067 LIBS
=$ac_check_lib_save_LIBS
32069 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
32070 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
32071 if test $ac_cv_lib_kstat_kstat_open = yes; then
32072 cat >>confdefs.h
<<_ACEOF
32073 #define HAVE_LIBKSTAT 1
32076 LIBS
="-lkstat $LIBS"
32080 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func
=yes
32082 # Some systems with -lutil have (and need) -lkvm as well, some do not.
32083 # On Solaris, -lkvm requires nlist from -lelf, so check that first
32084 # to get the right answer into the cache.
32085 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
32086 if test $ac_have_func = no
; then
32087 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
32088 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
32089 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
32090 echo $ECHO_N "(cached) $ECHO_C" >&6
32092 ac_check_lib_save_LIBS
=$LIBS
32094 cat >conftest.
$ac_ext <<_ACEOF
32095 #line $LINENO "configure"
32098 cat confdefs.h
>>conftest.
$ac_ext
32099 cat >>conftest.
$ac_ext <<_ACEOF
32100 /* end confdefs.h. */
32102 /* Override any gcc2 internal prototype to avoid an error. */
32106 /* We use char because int might match the return type of a gcc2
32107 builtin and then its argument prototype would still apply. */
32117 rm -f conftest.
$ac_objext conftest
$ac_exeext
32118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32119 (eval $ac_link) 2>&5
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); } &&
32123 { ac_try
='test -s conftest$ac_exeext'
32124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32125 (eval $ac_try) 2>&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); }; }; then
32129 ac_cv_lib_elf_elf_begin
=yes
32131 echo "$as_me: failed program was:" >&5
32132 sed 's/^/| /' conftest.
$ac_ext >&5
32134 ac_cv_lib_elf_elf_begin
=no
32136 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32137 LIBS
=$ac_check_lib_save_LIBS
32139 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
32140 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
32141 if test $ac_cv_lib_elf_elf_begin = yes; then
32146 if test $ac_have_func = no
; then
32147 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
32148 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
32149 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
32150 echo $ECHO_N "(cached) $ECHO_C" >&6
32152 ac_check_lib_save_LIBS
=$LIBS
32154 cat >conftest.
$ac_ext <<_ACEOF
32155 #line $LINENO "configure"
32158 cat confdefs.h
>>conftest.
$ac_ext
32159 cat >>conftest.
$ac_ext <<_ACEOF
32160 /* end confdefs.h. */
32162 /* Override any gcc2 internal prototype to avoid an error. */
32166 /* We use char because int might match the return type of a gcc2
32167 builtin and then its argument prototype would still apply. */
32177 rm -f conftest.
$ac_objext conftest
$ac_exeext
32178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32179 (eval $ac_link) 2>&5
32181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182 (exit $ac_status); } &&
32183 { ac_try
='test -s conftest$ac_exeext'
32184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32185 (eval $ac_try) 2>&5
32187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32188 (exit $ac_status); }; }; then
32189 ac_cv_lib_kvm_kvm_open
=yes
32191 echo "$as_me: failed program was:" >&5
32192 sed 's/^/| /' conftest.
$ac_ext >&5
32194 ac_cv_lib_kvm_kvm_open
=no
32196 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32197 LIBS
=$ac_check_lib_save_LIBS
32199 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
32200 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
32201 if test $ac_cv_lib_kvm_kvm_open = yes; then
32205 # Check for the 4.4BSD definition of getloadavg.
32206 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
32207 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
32208 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
32209 echo $ECHO_N "(cached) $ECHO_C" >&6
32211 ac_check_lib_save_LIBS
=$LIBS
32212 LIBS
="-lutil $LIBS"
32213 cat >conftest.
$ac_ext <<_ACEOF
32214 #line $LINENO "configure"
32217 cat confdefs.h
>>conftest.
$ac_ext
32218 cat >>conftest.
$ac_ext <<_ACEOF
32219 /* end confdefs.h. */
32221 /* Override any gcc2 internal prototype to avoid an error. */
32225 /* We use char because int might match the return type of a gcc2
32226 builtin and then its argument prototype would still apply. */
32227 char getloadavg ();
32236 rm -f conftest.
$ac_objext conftest
$ac_exeext
32237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32238 (eval $ac_link) 2>&5
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); } &&
32242 { ac_try
='test -s conftest$ac_exeext'
32243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32244 (eval $ac_try) 2>&5
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); }; }; then
32248 ac_cv_lib_util_getloadavg
=yes
32250 echo "$as_me: failed program was:" >&5
32251 sed 's/^/| /' conftest.
$ac_ext >&5
32253 ac_cv_lib_util_getloadavg
=no
32255 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32256 LIBS
=$ac_check_lib_save_LIBS
32258 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
32259 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
32260 if test $ac_cv_lib_util_getloadavg = yes; then
32261 LIBS
="-lutil $LIBS" ac_have_func
=yes ac_cv_func_getloadavg_setgid
=yes
32266 if test $ac_have_func = no
; then
32267 # There is a commonly available library for RS/6000 AIX.
32268 # Since it is not a standard part of AIX, it might be installed locally.
32269 ac_getloadavg_LIBS
=$LIBS
32270 LIBS
="-L/usr/local/lib $LIBS"
32271 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
32272 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
32273 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
32274 echo $ECHO_N "(cached) $ECHO_C" >&6
32276 ac_check_lib_save_LIBS
=$LIBS
32277 LIBS
="-lgetloadavg $LIBS"
32278 cat >conftest.
$ac_ext <<_ACEOF
32279 #line $LINENO "configure"
32282 cat confdefs.h
>>conftest.
$ac_ext
32283 cat >>conftest.
$ac_ext <<_ACEOF
32284 /* end confdefs.h. */
32286 /* Override any gcc2 internal prototype to avoid an error. */
32290 /* We use char because int might match the return type of a gcc2
32291 builtin and then its argument prototype would still apply. */
32292 char getloadavg ();
32301 rm -f conftest.
$ac_objext conftest
$ac_exeext
32302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32303 (eval $ac_link) 2>&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); } &&
32307 { ac_try
='test -s conftest$ac_exeext'
32308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32309 (eval $ac_try) 2>&5
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); }; }; then
32313 ac_cv_lib_getloadavg_getloadavg
=yes
32315 echo "$as_me: failed program was:" >&5
32316 sed 's/^/| /' conftest.
$ac_ext >&5
32318 ac_cv_lib_getloadavg_getloadavg
=no
32320 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32321 LIBS
=$ac_check_lib_save_LIBS
32323 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
32324 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
32325 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
32326 LIBS
="-lgetloadavg $LIBS"
32328 LIBS
=$ac_getloadavg_LIBS
32333 # Make sure it is really in the library, if we think we found it,
32334 # otherwise set up the replacement function.
32336 for ac_func
in getloadavg
32338 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32339 echo "$as_me:$LINENO: checking for $ac_func" >&5
32340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32341 if eval "test \"\${$as_ac_var+set}\" = set"; then
32342 echo $ECHO_N "(cached) $ECHO_C" >&6
32344 cat >conftest.
$ac_ext <<_ACEOF
32345 #line $LINENO "configure"
32348 cat confdefs.h
>>conftest.
$ac_ext
32349 cat >>conftest.
$ac_ext <<_ACEOF
32350 /* end confdefs.h. */
32351 /* System header to define __stub macros and hopefully few prototypes,
32352 which can conflict with char $ac_func (); below.
32353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32354 <limits.h> exists even on freestanding compilers. */
32356 # include <limits.h>
32358 # include <assert.h>
32360 /* Override any gcc2 internal prototype to avoid an error. */
32365 /* We use char because int might match the return type of a gcc2
32366 builtin and then its argument prototype would still apply. */
32368 /* The GNU C library defines this for functions which it implements
32369 to always fail with ENOSYS. Some functions are actually named
32370 something starting with __ and the normal name is an alias. */
32371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32374 char (*f) () = $ac_func;
32383 return f != $ac_func;
32388 rm -f conftest.
$ac_objext conftest
$ac_exeext
32389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32390 (eval $ac_link) 2>&5
32392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32393 (exit $ac_status); } &&
32394 { ac_try
='test -s conftest$ac_exeext'
32395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32396 (eval $ac_try) 2>&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); }; }; then
32400 eval "$as_ac_var=yes"
32402 echo "$as_me: failed program was:" >&5
32403 sed 's/^/| /' conftest.
$ac_ext >&5
32405 eval "$as_ac_var=no"
32407 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32411 if test `eval echo '${'$as_ac_var'}'` = yes; then
32412 cat >>confdefs.h
<<_ACEOF
32413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32417 LIBOBJS
="$LIBOBJS getloadavg.$ac_objext"
32419 cat >>confdefs.h
<<\_ACEOF
32420 #define C_GETLOADAVG 1
32423 # Figure out what our getloadavg.c needs.
32425 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
32426 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
32427 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
32428 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
32429 echo $ECHO_N "(cached) $ECHO_C" >&6
32431 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
32432 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
32434 # Is the header compilable?
32435 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
32436 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
32437 cat >conftest.
$ac_ext <<_ACEOF
32438 #line $LINENO "configure"
32441 cat confdefs.h
>>conftest.
$ac_ext
32442 cat >>conftest.
$ac_ext <<_ACEOF
32443 /* end confdefs.h. */
32444 $ac_includes_default
32445 #include <sys/dg_sys_info.h>
32447 rm -f conftest.
$ac_objext
32448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32449 (eval $ac_compile) 2>&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); } &&
32453 { ac_try
='test -s conftest.$ac_objext'
32454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32455 (eval $ac_try) 2>&5
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); }; }; then
32459 ac_header_compiler
=yes
32461 echo "$as_me: failed program was:" >&5
32462 sed 's/^/| /' conftest.
$ac_ext >&5
32464 ac_header_compiler
=no
32466 rm -f conftest.
$ac_objext conftest.
$ac_ext
32467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32468 echo "${ECHO_T}$ac_header_compiler" >&6
32470 # Is the header present?
32471 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
32472 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
32473 cat >conftest.
$ac_ext <<_ACEOF
32474 #line $LINENO "configure"
32477 cat confdefs.h
>>conftest.
$ac_ext
32478 cat >>conftest.
$ac_ext <<_ACEOF
32479 /* end confdefs.h. */
32480 #include <sys/dg_sys_info.h>
32482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32483 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32485 grep -v '^ *+' conftest.er1
>conftest.err
32487 cat conftest.err
>&5
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); } >/dev
/null
; then
32490 if test -s conftest.err
; then
32491 ac_cpp_err
=$ac_c_preproc_warn_flag
32498 if test -z "$ac_cpp_err"; then
32499 ac_header_preproc
=yes
32501 echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.
$ac_ext >&5
32504 ac_header_preproc
=no
32506 rm -f conftest.err conftest.
$ac_ext
32507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32508 echo "${ECHO_T}$ac_header_preproc" >&6
32510 # So? What about this header?
32511 case $ac_header_compiler:$ac_header_preproc in
32513 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
32514 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32515 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
32516 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
32519 ## ------------------------------------ ##
32520 ## Report this to bug-autoconf@gnu.org. ##
32521 ## ------------------------------------ ##
32524 sed "s/^/$as_me: WARNING: /" >&2
32527 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
32528 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
32529 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
32530 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
32531 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
32532 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
32535 ## ------------------------------------ ##
32536 ## Report this to bug-autoconf@gnu.org. ##
32537 ## ------------------------------------ ##
32540 sed "s/^/$as_me: WARNING: /" >&2
32543 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
32544 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
32545 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
32546 echo $ECHO_N "(cached) $ECHO_C" >&6
32548 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
32550 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
32551 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
32554 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
32557 cat >>confdefs.h
<<\_ACEOF
32562 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
32563 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
32564 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
32565 echo $ECHO_N "(cached) $ECHO_C" >&6
32567 ac_check_lib_save_LIBS
=$LIBS
32569 cat >conftest.
$ac_ext <<_ACEOF
32570 #line $LINENO "configure"
32573 cat confdefs.h
>>conftest.
$ac_ext
32574 cat >>conftest.
$ac_ext <<_ACEOF
32575 /* end confdefs.h. */
32577 /* Override any gcc2 internal prototype to avoid an error. */
32581 /* We use char because int might match the return type of a gcc2
32582 builtin and then its argument prototype would still apply. */
32583 char dg_sys_info ();
32592 rm -f conftest.
$ac_objext conftest
$ac_exeext
32593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32594 (eval $ac_link) 2>&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); } &&
32598 { ac_try
='test -s conftest$ac_exeext'
32599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32600 (eval $ac_try) 2>&5
32602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 (exit $ac_status); }; }; then
32604 ac_cv_lib_dgc_dg_sys_info
=yes
32606 echo "$as_me: failed program was:" >&5
32607 sed 's/^/| /' conftest.
$ac_ext >&5
32609 ac_cv_lib_dgc_dg_sys_info
=no
32611 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32612 LIBS
=$ac_check_lib_save_LIBS
32614 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
32615 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
32616 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
32617 cat >>confdefs.h
<<_ACEOF
32618 #define HAVE_LIBDGC 1
32629 if test "${ac_cv_header_locale_h+set}" = set; then
32630 echo "$as_me:$LINENO: checking for locale.h" >&5
32631 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
32632 if test "${ac_cv_header_locale_h+set}" = set; then
32633 echo $ECHO_N "(cached) $ECHO_C" >&6
32635 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
32636 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
32638 # Is the header compilable?
32639 echo "$as_me:$LINENO: checking locale.h usability" >&5
32640 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
32641 cat >conftest.
$ac_ext <<_ACEOF
32642 #line $LINENO "configure"
32645 cat confdefs.h
>>conftest.
$ac_ext
32646 cat >>conftest.
$ac_ext <<_ACEOF
32647 /* end confdefs.h. */
32648 $ac_includes_default
32649 #include <locale.h>
32651 rm -f conftest.
$ac_objext
32652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32653 (eval $ac_compile) 2>&5
32655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32656 (exit $ac_status); } &&
32657 { ac_try
='test -s conftest.$ac_objext'
32658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32659 (eval $ac_try) 2>&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); }; }; then
32663 ac_header_compiler
=yes
32665 echo "$as_me: failed program was:" >&5
32666 sed 's/^/| /' conftest.
$ac_ext >&5
32668 ac_header_compiler
=no
32670 rm -f conftest.
$ac_objext conftest.
$ac_ext
32671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32672 echo "${ECHO_T}$ac_header_compiler" >&6
32674 # Is the header present?
32675 echo "$as_me:$LINENO: checking locale.h presence" >&5
32676 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
32677 cat >conftest.
$ac_ext <<_ACEOF
32678 #line $LINENO "configure"
32681 cat confdefs.h
>>conftest.
$ac_ext
32682 cat >>conftest.
$ac_ext <<_ACEOF
32683 /* end confdefs.h. */
32684 #include <locale.h>
32686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32687 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32689 grep -v '^ *+' conftest.er1
>conftest.err
32691 cat conftest.err
>&5
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); } >/dev
/null
; then
32694 if test -s conftest.err
; then
32695 ac_cpp_err
=$ac_c_preproc_warn_flag
32702 if test -z "$ac_cpp_err"; then
32703 ac_header_preproc
=yes
32705 echo "$as_me: failed program was:" >&5
32706 sed 's/^/| /' conftest.
$ac_ext >&5
32708 ac_header_preproc
=no
32710 rm -f conftest.err conftest.
$ac_ext
32711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32712 echo "${ECHO_T}$ac_header_preproc" >&6
32714 # So? What about this header?
32715 case $ac_header_compiler:$ac_header_preproc in
32717 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
32718 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32719 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
32720 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
32723 ## ------------------------------------ ##
32724 ## Report this to bug-autoconf@gnu.org. ##
32725 ## ------------------------------------ ##
32728 sed "s/^/$as_me: WARNING: /" >&2
32731 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
32732 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
32733 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
32734 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
32735 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
32736 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
32739 ## ------------------------------------ ##
32740 ## Report this to bug-autoconf@gnu.org. ##
32741 ## ------------------------------------ ##
32744 sed "s/^/$as_me: WARNING: /" >&2
32747 echo "$as_me:$LINENO: checking for locale.h" >&5
32748 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
32749 if test "${ac_cv_header_locale_h+set}" = set; then
32750 echo $ECHO_N "(cached) $ECHO_C" >&6
32752 ac_cv_header_locale_h
=$ac_header_preproc
32754 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
32755 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
32761 for ac_func
in setlocale
32763 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32764 echo "$as_me:$LINENO: checking for $ac_func" >&5
32765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32766 if eval "test \"\${$as_ac_var+set}\" = set"; then
32767 echo $ECHO_N "(cached) $ECHO_C" >&6
32769 cat >conftest.
$ac_ext <<_ACEOF
32770 #line $LINENO "configure"
32773 cat confdefs.h
>>conftest.
$ac_ext
32774 cat >>conftest.
$ac_ext <<_ACEOF
32775 /* end confdefs.h. */
32776 /* System header to define __stub macros and hopefully few prototypes,
32777 which can conflict with char $ac_func (); below.
32778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32779 <limits.h> exists even on freestanding compilers. */
32781 # include <limits.h>
32783 # include <assert.h>
32785 /* Override any gcc2 internal prototype to avoid an error. */
32790 /* We use char because int might match the return type of a gcc2
32791 builtin and then its argument prototype would still apply. */
32793 /* The GNU C library defines this for functions which it implements
32794 to always fail with ENOSYS. Some functions are actually named
32795 something starting with __ and the normal name is an alias. */
32796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32799 char (*f) () = $ac_func;
32808 return f != $ac_func;
32813 rm -f conftest.
$ac_objext conftest
$ac_exeext
32814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32815 (eval $ac_link) 2>&5
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); } &&
32819 { ac_try
='test -s conftest$ac_exeext'
32820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32821 (eval $ac_try) 2>&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); }; }; then
32825 eval "$as_ac_var=yes"
32827 echo "$as_me: failed program was:" >&5
32828 sed 's/^/| /' conftest.
$ac_ext >&5
32830 eval "$as_ac_var=no"
32832 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32836 if test `eval echo '${'$as_ac_var'}'` = yes; then
32837 cat >>confdefs.h
<<_ACEOF
32838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32845 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
32846 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
32847 # Irix 4.0.5F has the header but not the library.
32848 if test $ac_have_func = no
&& test "$ac_cv_lib_elf_elf_begin" = yes; then
32851 cat >>confdefs.h
<<\_ACEOF
32857 if test $ac_have_func = no
; then
32858 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
32859 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
32860 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
32861 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
32862 echo $ECHO_N "(cached) $ECHO_C" >&6
32864 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
32865 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
32867 # Is the header compilable?
32868 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
32869 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
32870 cat >conftest.
$ac_ext <<_ACEOF
32871 #line $LINENO "configure"
32874 cat confdefs.h
>>conftest.
$ac_ext
32875 cat >>conftest.
$ac_ext <<_ACEOF
32876 /* end confdefs.h. */
32877 $ac_includes_default
32878 #include <inq_stats/cpustats.h>
32880 rm -f conftest.
$ac_objext
32881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32882 (eval $ac_compile) 2>&5
32884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32885 (exit $ac_status); } &&
32886 { ac_try
='test -s conftest.$ac_objext'
32887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32888 (eval $ac_try) 2>&5
32890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32891 (exit $ac_status); }; }; then
32892 ac_header_compiler
=yes
32894 echo "$as_me: failed program was:" >&5
32895 sed 's/^/| /' conftest.
$ac_ext >&5
32897 ac_header_compiler
=no
32899 rm -f conftest.
$ac_objext conftest.
$ac_ext
32900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32901 echo "${ECHO_T}$ac_header_compiler" >&6
32903 # Is the header present?
32904 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
32905 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
32906 cat >conftest.
$ac_ext <<_ACEOF
32907 #line $LINENO "configure"
32910 cat confdefs.h
>>conftest.
$ac_ext
32911 cat >>conftest.
$ac_ext <<_ACEOF
32912 /* end confdefs.h. */
32913 #include <inq_stats/cpustats.h>
32915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32916 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32918 grep -v '^ *+' conftest.er1
>conftest.err
32920 cat conftest.err
>&5
32921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32922 (exit $ac_status); } >/dev
/null
; then
32923 if test -s conftest.err
; then
32924 ac_cpp_err
=$ac_c_preproc_warn_flag
32931 if test -z "$ac_cpp_err"; then
32932 ac_header_preproc
=yes
32934 echo "$as_me: failed program was:" >&5
32935 sed 's/^/| /' conftest.
$ac_ext >&5
32937 ac_header_preproc
=no
32939 rm -f conftest.err conftest.
$ac_ext
32940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32941 echo "${ECHO_T}$ac_header_preproc" >&6
32943 # So? What about this header?
32944 case $ac_header_compiler:$ac_header_preproc in
32946 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
32947 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32948 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
32949 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
32952 ## ------------------------------------ ##
32953 ## Report this to bug-autoconf@gnu.org. ##
32954 ## ------------------------------------ ##
32957 sed "s/^/$as_me: WARNING: /" >&2
32960 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
32961 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
32962 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
32963 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
32964 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
32965 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
32968 ## ------------------------------------ ##
32969 ## Report this to bug-autoconf@gnu.org. ##
32970 ## ------------------------------------ ##
32973 sed "s/^/$as_me: WARNING: /" >&2
32976 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
32977 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
32978 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
32979 echo $ECHO_N "(cached) $ECHO_C" >&6
32981 ac_cv_header_inq_stats_cpustats_h
=$ac_header_preproc
32983 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
32984 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
32987 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
32990 cat >>confdefs.h
<<\_ACEOF
32995 cat >>confdefs.h
<<\_ACEOF
33004 if test $ac_have_func = no
; then
33005 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
33006 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
33007 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
33008 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
33009 echo $ECHO_N "(cached) $ECHO_C" >&6
33011 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
33012 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
33014 # Is the header compilable?
33015 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
33016 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
33017 cat >conftest.
$ac_ext <<_ACEOF
33018 #line $LINENO "configure"
33021 cat confdefs.h
>>conftest.
$ac_ext
33022 cat >>conftest.
$ac_ext <<_ACEOF
33023 /* end confdefs.h. */
33024 $ac_includes_default
33025 #include <sys/cpustats.h>
33027 rm -f conftest.
$ac_objext
33028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33029 (eval $ac_compile) 2>&5
33031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33032 (exit $ac_status); } &&
33033 { ac_try
='test -s conftest.$ac_objext'
33034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33035 (eval $ac_try) 2>&5
33037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33038 (exit $ac_status); }; }; then
33039 ac_header_compiler
=yes
33041 echo "$as_me: failed program was:" >&5
33042 sed 's/^/| /' conftest.
$ac_ext >&5
33044 ac_header_compiler
=no
33046 rm -f conftest.
$ac_objext conftest.
$ac_ext
33047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33048 echo "${ECHO_T}$ac_header_compiler" >&6
33050 # Is the header present?
33051 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
33052 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
33053 cat >conftest.
$ac_ext <<_ACEOF
33054 #line $LINENO "configure"
33057 cat confdefs.h
>>conftest.
$ac_ext
33058 cat >>conftest.
$ac_ext <<_ACEOF
33059 /* end confdefs.h. */
33060 #include <sys/cpustats.h>
33062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33063 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33065 grep -v '^ *+' conftest.er1
>conftest.err
33067 cat conftest.err
>&5
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); } >/dev
/null
; then
33070 if test -s conftest.err
; then
33071 ac_cpp_err
=$ac_c_preproc_warn_flag
33078 if test -z "$ac_cpp_err"; then
33079 ac_header_preproc
=yes
33081 echo "$as_me: failed program was:" >&5
33082 sed 's/^/| /' conftest.
$ac_ext >&5
33084 ac_header_preproc
=no
33086 rm -f conftest.err conftest.
$ac_ext
33087 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33088 echo "${ECHO_T}$ac_header_preproc" >&6
33090 # So? What about this header?
33091 case $ac_header_compiler:$ac_header_preproc in
33093 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
33094 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33095 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
33096 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
33099 ## ------------------------------------ ##
33100 ## Report this to bug-autoconf@gnu.org. ##
33101 ## ------------------------------------ ##
33104 sed "s/^/$as_me: WARNING: /" >&2
33107 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
33108 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
33109 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
33110 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
33111 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
33112 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
33115 ## ------------------------------------ ##
33116 ## Report this to bug-autoconf@gnu.org. ##
33117 ## ------------------------------------ ##
33120 sed "s/^/$as_me: WARNING: /" >&2
33123 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
33124 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
33125 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
33126 echo $ECHO_N "(cached) $ECHO_C" >&6
33128 ac_cv_header_sys_cpustats_h
=$ac_header_preproc
33130 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
33131 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
33134 if test $ac_cv_header_sys_cpustats_h = yes; then
33135 ac_have_func
=yes; cat >>confdefs.h
<<\_ACEOF
33144 if test $ac_have_func = no
; then
33146 for ac_header
in mach
/mach.h
33148 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33150 echo "$as_me:$LINENO: checking for $ac_header" >&5
33151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33153 echo $ECHO_N "(cached) $ECHO_C" >&6
33155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33158 # Is the header compilable?
33159 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33160 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33161 cat >conftest.
$ac_ext <<_ACEOF
33162 #line $LINENO "configure"
33165 cat confdefs.h
>>conftest.
$ac_ext
33166 cat >>conftest.
$ac_ext <<_ACEOF
33167 /* end confdefs.h. */
33168 $ac_includes_default
33169 #include <$ac_header>
33171 rm -f conftest.
$ac_objext
33172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33173 (eval $ac_compile) 2>&5
33175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176 (exit $ac_status); } &&
33177 { ac_try
='test -s conftest.$ac_objext'
33178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33179 (eval $ac_try) 2>&5
33181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182 (exit $ac_status); }; }; then
33183 ac_header_compiler
=yes
33185 echo "$as_me: failed program was:" >&5
33186 sed 's/^/| /' conftest.
$ac_ext >&5
33188 ac_header_compiler
=no
33190 rm -f conftest.
$ac_objext conftest.
$ac_ext
33191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33192 echo "${ECHO_T}$ac_header_compiler" >&6
33194 # Is the header present?
33195 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33197 cat >conftest.
$ac_ext <<_ACEOF
33198 #line $LINENO "configure"
33201 cat confdefs.h
>>conftest.
$ac_ext
33202 cat >>conftest.
$ac_ext <<_ACEOF
33203 /* end confdefs.h. */
33204 #include <$ac_header>
33206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33207 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33209 grep -v '^ *+' conftest.er1
>conftest.err
33211 cat conftest.err
>&5
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); } >/dev
/null
; then
33214 if test -s conftest.err
; then
33215 ac_cpp_err
=$ac_c_preproc_warn_flag
33222 if test -z "$ac_cpp_err"; then
33223 ac_header_preproc
=yes
33225 echo "$as_me: failed program was:" >&5
33226 sed 's/^/| /' conftest.
$ac_ext >&5
33228 ac_header_preproc
=no
33230 rm -f conftest.err conftest.
$ac_ext
33231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33232 echo "${ECHO_T}$ac_header_preproc" >&6
33234 # So? What about this header?
33235 case $ac_header_compiler:$ac_header_preproc in
33237 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33238 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33243 ## ------------------------------------ ##
33244 ## Report this to bug-autoconf@gnu.org. ##
33245 ## ------------------------------------ ##
33248 sed "s/^/$as_me: WARNING: /" >&2
33251 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33252 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33253 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33254 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33259 ## ------------------------------------ ##
33260 ## Report this to bug-autoconf@gnu.org. ##
33261 ## ------------------------------------ ##
33264 sed "s/^/$as_me: WARNING: /" >&2
33267 echo "$as_me:$LINENO: checking for $ac_header" >&5
33268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33270 echo $ECHO_N "(cached) $ECHO_C" >&6
33272 eval "$as_ac_Header=$ac_header_preproc"
33274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33279 cat >>confdefs.h
<<_ACEOF
33280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33290 for ac_header
in nlist.h
33292 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33294 echo "$as_me:$LINENO: checking for $ac_header" >&5
33295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33297 echo $ECHO_N "(cached) $ECHO_C" >&6
33299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33302 # Is the header compilable?
33303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33305 cat >conftest.
$ac_ext <<_ACEOF
33306 #line $LINENO "configure"
33309 cat confdefs.h
>>conftest.
$ac_ext
33310 cat >>conftest.
$ac_ext <<_ACEOF
33311 /* end confdefs.h. */
33312 $ac_includes_default
33313 #include <$ac_header>
33315 rm -f conftest.
$ac_objext
33316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33317 (eval $ac_compile) 2>&5
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); } &&
33321 { ac_try
='test -s conftest.$ac_objext'
33322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33323 (eval $ac_try) 2>&5
33325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326 (exit $ac_status); }; }; then
33327 ac_header_compiler
=yes
33329 echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.
$ac_ext >&5
33332 ac_header_compiler
=no
33334 rm -f conftest.
$ac_objext conftest.
$ac_ext
33335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33336 echo "${ECHO_T}$ac_header_compiler" >&6
33338 # Is the header present?
33339 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33341 cat >conftest.
$ac_ext <<_ACEOF
33342 #line $LINENO "configure"
33345 cat confdefs.h
>>conftest.
$ac_ext
33346 cat >>conftest.
$ac_ext <<_ACEOF
33347 /* end confdefs.h. */
33348 #include <$ac_header>
33350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33351 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33353 grep -v '^ *+' conftest.er1
>conftest.err
33355 cat conftest.err
>&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); } >/dev
/null
; then
33358 if test -s conftest.err
; then
33359 ac_cpp_err
=$ac_c_preproc_warn_flag
33366 if test -z "$ac_cpp_err"; then
33367 ac_header_preproc
=yes
33369 echo "$as_me: failed program was:" >&5
33370 sed 's/^/| /' conftest.
$ac_ext >&5
33372 ac_header_preproc
=no
33374 rm -f conftest.err conftest.
$ac_ext
33375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33376 echo "${ECHO_T}$ac_header_preproc" >&6
33378 # So? What about this header?
33379 case $ac_header_compiler:$ac_header_preproc in
33381 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33382 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33384 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33387 ## ------------------------------------ ##
33388 ## Report this to bug-autoconf@gnu.org. ##
33389 ## ------------------------------------ ##
33392 sed "s/^/$as_me: WARNING: /" >&2
33395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33403 ## ------------------------------------ ##
33404 ## Report this to bug-autoconf@gnu.org. ##
33405 ## ------------------------------------ ##
33408 sed "s/^/$as_me: WARNING: /" >&2
33411 echo "$as_me:$LINENO: checking for $ac_header" >&5
33412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33414 echo $ECHO_N "(cached) $ECHO_C" >&6
33416 eval "$as_ac_Header=$ac_header_preproc"
33418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33423 cat >>confdefs.h
<<_ACEOF
33424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33426 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
33427 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
33428 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
33429 echo $ECHO_N "(cached) $ECHO_C" >&6
33431 cat >conftest.
$ac_ext <<_ACEOF
33432 #line $LINENO "configure"
33435 cat confdefs.h
>>conftest.
$ac_ext
33436 cat >>conftest.
$ac_ext <<_ACEOF
33437 /* end confdefs.h. */
33443 static struct nlist ac_aggr;
33444 if (ac_aggr.n_un.n_name)
33450 rm -f conftest.
$ac_objext
33451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33452 (eval $ac_compile) 2>&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); } &&
33456 { ac_try
='test -s conftest.$ac_objext'
33457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458 (eval $ac_try) 2>&5
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; }; then
33462 ac_cv_member_struct_nlist_n_un_n_name
=yes
33464 echo "$as_me: failed program was:" >&5
33465 sed 's/^/| /' conftest.
$ac_ext >&5
33467 cat >conftest.
$ac_ext <<_ACEOF
33468 #line $LINENO "configure"
33471 cat confdefs.h
>>conftest.
$ac_ext
33472 cat >>conftest.
$ac_ext <<_ACEOF
33473 /* end confdefs.h. */
33479 static struct nlist ac_aggr;
33480 if (sizeof ac_aggr.n_un.n_name)
33486 rm -f conftest.
$ac_objext
33487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33488 (eval $ac_compile) 2>&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); } &&
33492 { ac_try
='test -s conftest.$ac_objext'
33493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33494 (eval $ac_try) 2>&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); }; }; then
33498 ac_cv_member_struct_nlist_n_un_n_name
=yes
33500 echo "$as_me: failed program was:" >&5
33501 sed 's/^/| /' conftest.
$ac_ext >&5
33503 ac_cv_member_struct_nlist_n_un_n_name
=no
33505 rm -f conftest.
$ac_objext conftest.
$ac_ext
33507 rm -f conftest.
$ac_objext conftest.
$ac_ext
33509 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
33510 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
33511 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
33513 cat >>confdefs.h
<<_ACEOF
33514 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
33518 cat >>confdefs.h
<<\_ACEOF
33519 #define NLIST_NAME_UNION 1
33533 # Some definitions of getloadavg require that the program be installed setgid.
33534 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
33535 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
33536 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
33537 echo $ECHO_N "(cached) $ECHO_C" >&6
33539 cat >conftest.
$ac_ext <<_ACEOF
33540 #line $LINENO "configure"
33543 cat confdefs.h
>>conftest.
$ac_ext
33544 cat >>conftest.
$ac_ext <<_ACEOF
33545 /* end confdefs.h. */
33546 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
33547 #ifdef LDAV_PRIVILEGED
33548 Yowza Am I SETGID yet
33551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33552 $EGREP "Yowza Am I SETGID yet" >/dev
/null
2>&1; then
33553 ac_cv_func_getloadavg_setgid
=yes
33555 ac_cv_func_getloadavg_setgid
=no
33560 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
33561 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
33562 if test $ac_cv_func_getloadavg_setgid = yes; then
33565 cat >>confdefs.h
<<\_ACEOF
33566 #define GETLOADAVG_PRIVILEGED 1
33573 if test $ac_cv_func_getloadavg_setgid = yes; then
33574 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
33575 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
33576 if test "${ac_cv_group_kmem+set}" = set; then
33577 echo $ECHO_N "(cached) $ECHO_C" >&6
33579 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
33580 ac_ls_output
=`ls -lgL /dev/kmem 2>/dev/null`
33581 # If we got an error (system does not support symlinks), try without -L.
33582 test -z "$ac_ls_output" && ac_ls_output
=`ls -lg /dev/kmem`
33583 ac_cv_group_kmem
=`echo $ac_ls_output \
33584 | sed -ne 's/[ ][ ]*/ /g;
33585 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
33589 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
33590 echo "${ECHO_T}$ac_cv_group_kmem" >&6
33591 KMEM_GROUP
=$ac_cv_group_kmem
33593 if test "x$ac_save_LIBS" = x
; then
33594 GETLOADAVG_LIBS
=$LIBS
33596 GETLOADAVG_LIBS
=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
33608 for ac_func
in strcasecmp strncasecmp
33610 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33611 echo "$as_me:$LINENO: checking for $ac_func" >&5
33612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33613 if eval "test \"\${$as_ac_var+set}\" = set"; then
33614 echo $ECHO_N "(cached) $ECHO_C" >&6
33616 cat >conftest.
$ac_ext <<_ACEOF
33617 #line $LINENO "configure"
33620 cat confdefs.h
>>conftest.
$ac_ext
33621 cat >>conftest.
$ac_ext <<_ACEOF
33622 /* end confdefs.h. */
33623 /* System header to define __stub macros and hopefully few prototypes,
33624 which can conflict with char $ac_func (); below.
33625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33626 <limits.h> exists even on freestanding compilers. */
33628 # include <limits.h>
33630 # include <assert.h>
33632 /* Override any gcc2 internal prototype to avoid an error. */
33637 /* We use char because int might match the return type of a gcc2
33638 builtin and then its argument prototype would still apply. */
33640 /* The GNU C library defines this for functions which it implements
33641 to always fail with ENOSYS. Some functions are actually named
33642 something starting with __ and the normal name is an alias. */
33643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33646 char (*f) () = $ac_func;
33655 return f != $ac_func;
33660 rm -f conftest.
$ac_objext conftest
$ac_exeext
33661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33662 (eval $ac_link) 2>&5
33664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33665 (exit $ac_status); } &&
33666 { ac_try
='test -s conftest$ac_exeext'
33667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33668 (eval $ac_try) 2>&5
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); }; }; then
33672 eval "$as_ac_var=yes"
33674 echo "$as_me: failed program was:" >&5
33675 sed 's/^/| /' conftest.
$ac_ext >&5
33677 eval "$as_ac_var=no"
33679 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33683 if test `eval echo '${'$as_ac_var'}'` = yes; then
33684 cat >>confdefs.h
<<_ACEOF
33685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33689 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
33695 for ac_func
in dup2
33697 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33698 echo "$as_me:$LINENO: checking for $ac_func" >&5
33699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33700 if eval "test \"\${$as_ac_var+set}\" = set"; then
33701 echo $ECHO_N "(cached) $ECHO_C" >&6
33703 cat >conftest.
$ac_ext <<_ACEOF
33704 #line $LINENO "configure"
33707 cat confdefs.h
>>conftest.
$ac_ext
33708 cat >>conftest.
$ac_ext <<_ACEOF
33709 /* end confdefs.h. */
33710 /* System header to define __stub macros and hopefully few prototypes,
33711 which can conflict with char $ac_func (); below.
33712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33713 <limits.h> exists even on freestanding compilers. */
33715 # include <limits.h>
33717 # include <assert.h>
33719 /* Override any gcc2 internal prototype to avoid an error. */
33724 /* We use char because int might match the return type of a gcc2
33725 builtin and then its argument prototype would still apply. */
33727 /* The GNU C library defines this for functions which it implements
33728 to always fail with ENOSYS. Some functions are actually named
33729 something starting with __ and the normal name is an alias. */
33730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33733 char (*f) () = $ac_func;
33742 return f != $ac_func;
33747 rm -f conftest.
$ac_objext conftest
$ac_exeext
33748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33749 (eval $ac_link) 2>&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); } &&
33753 { ac_try
='test -s conftest$ac_exeext'
33754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33755 (eval $ac_try) 2>&5
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); }; }; then
33759 eval "$as_ac_var=yes"
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.
$ac_ext >&5
33764 eval "$as_ac_var=no"
33766 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33770 if test `eval echo '${'$as_ac_var'}'` = yes; then
33771 cat >>confdefs.h
<<_ACEOF
33772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33776 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
33783 for ac_func
in gethostname getusershell
33785 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33786 echo "$as_me:$LINENO: checking for $ac_func" >&5
33787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33788 if eval "test \"\${$as_ac_var+set}\" = set"; then
33789 echo $ECHO_N "(cached) $ECHO_C" >&6
33791 cat >conftest.
$ac_ext <<_ACEOF
33792 #line $LINENO "configure"
33795 cat confdefs.h
>>conftest.
$ac_ext
33796 cat >>conftest.
$ac_ext <<_ACEOF
33797 /* end confdefs.h. */
33798 /* System header to define __stub macros and hopefully few prototypes,
33799 which can conflict with char $ac_func (); below.
33800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33801 <limits.h> exists even on freestanding compilers. */
33803 # include <limits.h>
33805 # include <assert.h>
33807 /* Override any gcc2 internal prototype to avoid an error. */
33812 /* We use char because int might match the return type of a gcc2
33813 builtin and then its argument prototype would still apply. */
33815 /* The GNU C library defines this for functions which it implements
33816 to always fail with ENOSYS. Some functions are actually named
33817 something starting with __ and the normal name is an alias. */
33818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33821 char (*f) () = $ac_func;
33830 return f != $ac_func;
33835 rm -f conftest.
$ac_objext conftest
$ac_exeext
33836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33837 (eval $ac_link) 2>&5
33839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840 (exit $ac_status); } &&
33841 { ac_try
='test -s conftest$ac_exeext'
33842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33843 (eval $ac_try) 2>&5
33845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 (exit $ac_status); }; }; then
33847 eval "$as_ac_var=yes"
33849 echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.
$ac_ext >&5
33852 eval "$as_ac_var=no"
33854 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33858 if test `eval echo '${'$as_ac_var'}'` = yes; then
33859 cat >>confdefs.h
<<_ACEOF
33860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33864 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
33870 for ac_func
in sig2str
33872 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33873 echo "$as_me:$LINENO: checking for $ac_func" >&5
33874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33875 if eval "test \"\${$as_ac_var+set}\" = set"; then
33876 echo $ECHO_N "(cached) $ECHO_C" >&6
33878 cat >conftest.
$ac_ext <<_ACEOF
33879 #line $LINENO "configure"
33882 cat confdefs.h
>>conftest.
$ac_ext
33883 cat >>conftest.
$ac_ext <<_ACEOF
33884 /* end confdefs.h. */
33885 /* System header to define __stub macros and hopefully few prototypes,
33886 which can conflict with char $ac_func (); below.
33887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33888 <limits.h> exists even on freestanding compilers. */
33890 # include <limits.h>
33892 # include <assert.h>
33894 /* Override any gcc2 internal prototype to avoid an error. */
33899 /* We use char because int might match the return type of a gcc2
33900 builtin and then its argument prototype would still apply. */
33902 /* The GNU C library defines this for functions which it implements
33903 to always fail with ENOSYS. Some functions are actually named
33904 something starting with __ and the normal name is an alias. */
33905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33908 char (*f) () = $ac_func;
33917 return f != $ac_func;
33922 rm -f conftest.
$ac_objext conftest
$ac_exeext
33923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33924 (eval $ac_link) 2>&5
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); } &&
33928 { ac_try
='test -s conftest$ac_exeext'
33929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33930 (eval $ac_try) 2>&5
33932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33933 (exit $ac_status); }; }; then
33934 eval "$as_ac_var=yes"
33936 echo "$as_me: failed program was:" >&5
33937 sed 's/^/| /' conftest.
$ac_ext >&5
33939 eval "$as_ac_var=no"
33941 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33945 if test `eval echo '${'$as_ac_var'}'` = yes; then
33946 cat >>confdefs.h
<<_ACEOF
33947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33951 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
33961 for ac_func
in strcspn stpcpy strstr strtol strtoul
33963 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33964 echo "$as_me:$LINENO: checking for $ac_func" >&5
33965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33966 if eval "test \"\${$as_ac_var+set}\" = set"; then
33967 echo $ECHO_N "(cached) $ECHO_C" >&6
33969 cat >conftest.
$ac_ext <<_ACEOF
33970 #line $LINENO "configure"
33973 cat confdefs.h
>>conftest.
$ac_ext
33974 cat >>conftest.
$ac_ext <<_ACEOF
33975 /* end confdefs.h. */
33976 /* System header to define __stub macros and hopefully few prototypes,
33977 which can conflict with char $ac_func (); below.
33978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33979 <limits.h> exists even on freestanding compilers. */
33981 # include <limits.h>
33983 # include <assert.h>
33985 /* Override any gcc2 internal prototype to avoid an error. */
33990 /* We use char because int might match the return type of a gcc2
33991 builtin and then its argument prototype would still apply. */
33993 /* The GNU C library defines this for functions which it implements
33994 to always fail with ENOSYS. Some functions are actually named
33995 something starting with __ and the normal name is an alias. */
33996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33999 char (*f) () = $ac_func;
34008 return f != $ac_func;
34013 rm -f conftest.
$ac_objext conftest
$ac_exeext
34014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34015 (eval $ac_link) 2>&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); } &&
34019 { ac_try
='test -s conftest$ac_exeext'
34020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34021 (eval $ac_try) 2>&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); }; }; then
34025 eval "$as_ac_var=yes"
34027 echo "$as_me: failed program was:" >&5
34028 sed 's/^/| /' conftest.
$ac_ext >&5
34030 eval "$as_ac_var=no"
34032 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34036 if test `eval echo '${'$as_ac_var'}'` = yes; then
34037 cat >>confdefs.h
<<_ACEOF
34038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34042 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
34048 for ac_func
in strpbrk
34050 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34051 echo "$as_me:$LINENO: checking for $ac_func" >&5
34052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34053 if eval "test \"\${$as_ac_var+set}\" = set"; then
34054 echo $ECHO_N "(cached) $ECHO_C" >&6
34056 cat >conftest.
$ac_ext <<_ACEOF
34057 #line $LINENO "configure"
34060 cat confdefs.h
>>conftest.
$ac_ext
34061 cat >>conftest.
$ac_ext <<_ACEOF
34062 /* end confdefs.h. */
34063 /* System header to define __stub macros and hopefully few prototypes,
34064 which can conflict with char $ac_func (); below.
34065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34066 <limits.h> exists even on freestanding compilers. */
34068 # include <limits.h>
34070 # include <assert.h>
34072 /* Override any gcc2 internal prototype to avoid an error. */
34077 /* We use char because int might match the return type of a gcc2
34078 builtin and then its argument prototype would still apply. */
34080 /* The GNU C library defines this for functions which it implements
34081 to always fail with ENOSYS. Some functions are actually named
34082 something starting with __ and the normal name is an alias. */
34083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34086 char (*f) () = $ac_func;
34095 return f != $ac_func;
34100 rm -f conftest.
$ac_objext conftest
$ac_exeext
34101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34102 (eval $ac_link) 2>&5
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); } &&
34106 { ac_try
='test -s conftest$ac_exeext'
34107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34108 (eval $ac_try) 2>&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); }; }; then
34112 eval "$as_ac_var=yes"
34114 echo "$as_me: failed program was:" >&5
34115 sed 's/^/| /' conftest.
$ac_ext >&5
34117 eval "$as_ac_var=no"
34119 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34123 if test `eval echo '${'$as_ac_var'}'` = yes; then
34124 cat >>confdefs.h
<<_ACEOF
34125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34129 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
34140 for ac_func
in euidaccess memcmp
rmdir rpmatch strndup strverscmp
34142 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34143 echo "$as_me:$LINENO: checking for $ac_func" >&5
34144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34145 if eval "test \"\${$as_ac_var+set}\" = set"; then
34146 echo $ECHO_N "(cached) $ECHO_C" >&6
34148 cat >conftest.
$ac_ext <<_ACEOF
34149 #line $LINENO "configure"
34152 cat confdefs.h
>>conftest.
$ac_ext
34153 cat >>conftest.
$ac_ext <<_ACEOF
34154 /* end confdefs.h. */
34155 /* System header to define __stub macros and hopefully few prototypes,
34156 which can conflict with char $ac_func (); below.
34157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34158 <limits.h> exists even on freestanding compilers. */
34160 # include <limits.h>
34162 # include <assert.h>
34164 /* Override any gcc2 internal prototype to avoid an error. */
34169 /* We use char because int might match the return type of a gcc2
34170 builtin and then its argument prototype would still apply. */
34172 /* The GNU C library defines this for functions which it implements
34173 to always fail with ENOSYS. Some functions are actually named
34174 something starting with __ and the normal name is an alias. */
34175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34178 char (*f) () = $ac_func;
34187 return f != $ac_func;
34192 rm -f conftest.
$ac_objext conftest
$ac_exeext
34193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34194 (eval $ac_link) 2>&5
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); } &&
34198 { ac_try
='test -s conftest$ac_exeext'
34199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34200 (eval $ac_try) 2>&5
34202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34203 (exit $ac_status); }; }; then
34204 eval "$as_ac_var=yes"
34206 echo "$as_me: failed program was:" >&5
34207 sed 's/^/| /' conftest.
$ac_ext >&5
34209 eval "$as_ac_var=no"
34211 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34215 if test `eval echo '${'$as_ac_var'}'` = yes; then
34216 cat >>confdefs.h
<<_ACEOF
34217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34221 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
34227 for ac_func
in atexit
34229 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34230 echo "$as_me:$LINENO: checking for $ac_func" >&5
34231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34232 if eval "test \"\${$as_ac_var+set}\" = set"; then
34233 echo $ECHO_N "(cached) $ECHO_C" >&6
34235 cat >conftest.
$ac_ext <<_ACEOF
34236 #line $LINENO "configure"
34239 cat confdefs.h
>>conftest.
$ac_ext
34240 cat >>conftest.
$ac_ext <<_ACEOF
34241 /* end confdefs.h. */
34242 /* System header to define __stub macros and hopefully few prototypes,
34243 which can conflict with char $ac_func (); below.
34244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34245 <limits.h> exists even on freestanding compilers. */
34247 # include <limits.h>
34249 # include <assert.h>
34251 /* Override any gcc2 internal prototype to avoid an error. */
34256 /* We use char because int might match the return type of a gcc2
34257 builtin and then its argument prototype would still apply. */
34259 /* The GNU C library defines this for functions which it implements
34260 to always fail with ENOSYS. Some functions are actually named
34261 something starting with __ and the normal name is an alias. */
34262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34265 char (*f) () = $ac_func;
34274 return f != $ac_func;
34279 rm -f conftest.
$ac_objext conftest
$ac_exeext
34280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34281 (eval $ac_link) 2>&5
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); } &&
34285 { ac_try
='test -s conftest$ac_exeext'
34286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34287 (eval $ac_try) 2>&5
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); }; }; then
34291 eval "$as_ac_var=yes"
34293 echo "$as_me: failed program was:" >&5
34294 sed 's/^/| /' conftest.
$ac_ext >&5
34296 eval "$as_ac_var=no"
34298 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34302 if test `eval echo '${'$as_ac_var'}'` = yes; then
34303 cat >>confdefs.h
<<_ACEOF
34304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34308 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
34314 for ac_func
in getpass
34316 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34317 echo "$as_me:$LINENO: checking for $ac_func" >&5
34318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34319 if eval "test \"\${$as_ac_var+set}\" = set"; then
34320 echo $ECHO_N "(cached) $ECHO_C" >&6
34322 cat >conftest.
$ac_ext <<_ACEOF
34323 #line $LINENO "configure"
34326 cat confdefs.h
>>conftest.
$ac_ext
34327 cat >>conftest.
$ac_ext <<_ACEOF
34328 /* end confdefs.h. */
34329 /* System header to define __stub macros and hopefully few prototypes,
34330 which can conflict with char $ac_func (); below.
34331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34332 <limits.h> exists even on freestanding compilers. */
34334 # include <limits.h>
34336 # include <assert.h>
34338 /* Override any gcc2 internal prototype to avoid an error. */
34343 /* We use char because int might match the return type of a gcc2
34344 builtin and then its argument prototype would still apply. */
34346 /* The GNU C library defines this for functions which it implements
34347 to always fail with ENOSYS. Some functions are actually named
34348 something starting with __ and the normal name is an alias. */
34349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34352 char (*f) () = $ac_func;
34361 return f != $ac_func;
34366 rm -f conftest.
$ac_objext conftest
$ac_exeext
34367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34368 (eval $ac_link) 2>&5
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); } &&
34372 { ac_try
='test -s conftest$ac_exeext'
34373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34374 (eval $ac_try) 2>&5
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); }; }; then
34378 eval "$as_ac_var=yes"
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.
$ac_ext >&5
34383 eval "$as_ac_var=no"
34385 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34389 if test `eval echo '${'$as_ac_var'}'` = yes; then
34390 cat >>confdefs.h
<<_ACEOF
34391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34395 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
34401 # raise is used by at least sort and ls.
34403 for ac_func
in raise
34405 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34406 echo "$as_me:$LINENO: checking for $ac_func" >&5
34407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34408 if eval "test \"\${$as_ac_var+set}\" = set"; then
34409 echo $ECHO_N "(cached) $ECHO_C" >&6
34411 cat >conftest.
$ac_ext <<_ACEOF
34412 #line $LINENO "configure"
34415 cat confdefs.h
>>conftest.
$ac_ext
34416 cat >>conftest.
$ac_ext <<_ACEOF
34417 /* end confdefs.h. */
34418 /* System header to define __stub macros and hopefully few prototypes,
34419 which can conflict with char $ac_func (); below.
34420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34421 <limits.h> exists even on freestanding compilers. */
34423 # include <limits.h>
34425 # include <assert.h>
34427 /* Override any gcc2 internal prototype to avoid an error. */
34432 /* We use char because int might match the return type of a gcc2
34433 builtin and then its argument prototype would still apply. */
34435 /* The GNU C library defines this for functions which it implements
34436 to always fail with ENOSYS. Some functions are actually named
34437 something starting with __ and the normal name is an alias. */
34438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34441 char (*f) () = $ac_func;
34450 return f != $ac_func;
34455 rm -f conftest.
$ac_objext conftest
$ac_exeext
34456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34457 (eval $ac_link) 2>&5
34459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34460 (exit $ac_status); } &&
34461 { ac_try
='test -s conftest$ac_exeext'
34462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34463 (eval $ac_try) 2>&5
34465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34466 (exit $ac_status); }; }; then
34467 eval "$as_ac_var=yes"
34469 echo "$as_me: failed program was:" >&5
34470 sed 's/^/| /' conftest.
$ac_ext >&5
34472 eval "$as_ac_var=no"
34474 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34478 if test `eval echo '${'$as_ac_var'}'` = yes; then
34479 cat >>confdefs.h
<<_ACEOF
34480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34484 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
34491 for ac_func
in strdup
34493 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34494 echo "$as_me:$LINENO: checking for $ac_func" >&5
34495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34496 if eval "test \"\${$as_ac_var+set}\" = set"; then
34497 echo $ECHO_N "(cached) $ECHO_C" >&6
34499 cat >conftest.
$ac_ext <<_ACEOF
34500 #line $LINENO "configure"
34503 cat confdefs.h
>>conftest.
$ac_ext
34504 cat >>conftest.
$ac_ext <<_ACEOF
34505 /* end confdefs.h. */
34506 /* System header to define __stub macros and hopefully few prototypes,
34507 which can conflict with char $ac_func (); below.
34508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34509 <limits.h> exists even on freestanding compilers. */
34511 # include <limits.h>
34513 # include <assert.h>
34515 /* Override any gcc2 internal prototype to avoid an error. */
34520 /* We use char because int might match the return type of a gcc2
34521 builtin and then its argument prototype would still apply. */
34523 /* The GNU C library defines this for functions which it implements
34524 to always fail with ENOSYS. Some functions are actually named
34525 something starting with __ and the normal name is an alias. */
34526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34529 char (*f) () = $ac_func;
34538 return f != $ac_func;
34543 rm -f conftest.
$ac_objext conftest
$ac_exeext
34544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34545 (eval $ac_link) 2>&5
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); } &&
34549 { ac_try
='test -s conftest$ac_exeext'
34550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34551 (eval $ac_try) 2>&5
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); }; }; then
34555 eval "$as_ac_var=yes"
34557 echo "$as_me: failed program was:" >&5
34558 sed 's/^/| /' conftest.
$ac_ext >&5
34560 eval "$as_ac_var=no"
34562 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34566 if test `eval echo '${'$as_ac_var'}'` = yes; then
34567 cat >>confdefs.h
<<_ACEOF
34568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34572 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
34583 for ac_func
in memchr memcpy memmove memrchr memset
34585 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34586 echo "$as_me:$LINENO: checking for $ac_func" >&5
34587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34588 if eval "test \"\${$as_ac_var+set}\" = set"; then
34589 echo $ECHO_N "(cached) $ECHO_C" >&6
34591 cat >conftest.
$ac_ext <<_ACEOF
34592 #line $LINENO "configure"
34595 cat confdefs.h
>>conftest.
$ac_ext
34596 cat >>conftest.
$ac_ext <<_ACEOF
34597 /* end confdefs.h. */
34598 /* System header to define __stub macros and hopefully few prototypes,
34599 which can conflict with char $ac_func (); below.
34600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34601 <limits.h> exists even on freestanding compilers. */
34603 # include <limits.h>
34605 # include <assert.h>
34607 /* Override any gcc2 internal prototype to avoid an error. */
34612 /* We use char because int might match the return type of a gcc2
34613 builtin and then its argument prototype would still apply. */
34615 /* The GNU C library defines this for functions which it implements
34616 to always fail with ENOSYS. Some functions are actually named
34617 something starting with __ and the normal name is an alias. */
34618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34621 char (*f) () = $ac_func;
34630 return f != $ac_func;
34635 rm -f conftest.
$ac_objext conftest
$ac_exeext
34636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34637 (eval $ac_link) 2>&5
34639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640 (exit $ac_status); } &&
34641 { ac_try
='test -s conftest$ac_exeext'
34642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34643 (eval $ac_try) 2>&5
34645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646 (exit $ac_status); }; }; then
34647 eval "$as_ac_var=yes"
34649 echo "$as_me: failed program was:" >&5
34650 sed 's/^/| /' conftest.
$ac_ext >&5
34652 eval "$as_ac_var=no"
34654 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34658 if test `eval echo '${'$as_ac_var'}'` = yes; then
34659 cat >>confdefs.h
<<_ACEOF
34660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34664 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
34670 for ac_func
in getpagesize
34672 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34673 echo "$as_me:$LINENO: checking for $ac_func" >&5
34674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34675 if eval "test \"\${$as_ac_var+set}\" = set"; then
34676 echo $ECHO_N "(cached) $ECHO_C" >&6
34678 cat >conftest.
$ac_ext <<_ACEOF
34679 #line $LINENO "configure"
34682 cat confdefs.h
>>conftest.
$ac_ext
34683 cat >>conftest.
$ac_ext <<_ACEOF
34684 /* end confdefs.h. */
34685 /* System header to define __stub macros and hopefully few prototypes,
34686 which can conflict with char $ac_func (); below.
34687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34688 <limits.h> exists even on freestanding compilers. */
34690 # include <limits.h>
34692 # include <assert.h>
34694 /* Override any gcc2 internal prototype to avoid an error. */
34699 /* We use char because int might match the return type of a gcc2
34700 builtin and then its argument prototype would still apply. */
34702 /* The GNU C library defines this for functions which it implements
34703 to always fail with ENOSYS. Some functions are actually named
34704 something starting with __ and the normal name is an alias. */
34705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34708 char (*f) () = $ac_func;
34717 return f != $ac_func;
34722 rm -f conftest.
$ac_objext conftest
$ac_exeext
34723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34724 (eval $ac_link) 2>&5
34726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34727 (exit $ac_status); } &&
34728 { ac_try
='test -s conftest$ac_exeext'
34729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34730 (eval $ac_try) 2>&5
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); }; }; then
34734 eval "$as_ac_var=yes"
34736 echo "$as_me: failed program was:" >&5
34737 sed 's/^/| /' conftest.
$ac_ext >&5
34739 eval "$as_ac_var=no"
34741 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34745 if test `eval echo '${'$as_ac_var'}'` = yes; then
34746 cat >>confdefs.h
<<_ACEOF
34747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34756 # By default, argmatch should fail calling usage (1).
34758 cat >>confdefs.h
<<\_ACEOF
34759 #define ARGMATCH_DIE usage (1)
34763 cat >>confdefs.h
<<\_ACEOF
34764 #define ARGMATCH_DIE_DECL extern void usage ()
34768 echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
34769 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
34770 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
34771 echo $ECHO_N "(cached) $ECHO_C" >&6
34773 ac_cv_func_setvbuf_reversed
=no
34774 cat >conftest.
$ac_ext <<_ACEOF
34775 #line $LINENO "configure"
34778 cat confdefs.h
>>conftest.
$ac_ext
34779 cat >>conftest.
$ac_ext <<_ACEOF
34780 /* end confdefs.h. */
34783 int (setvbuf) (FILE *, int, char *, size_t);
34788 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
34793 rm -f conftest.
$ac_objext conftest
$ac_exeext
34794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34795 (eval $ac_link) 2>&5
34797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34798 (exit $ac_status); } &&
34799 { ac_try
='test -s conftest$ac_exeext'
34800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34801 (eval $ac_try) 2>&5
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); }; }; then
34805 cat >conftest.
$ac_ext <<_ACEOF
34806 #line $LINENO "configure"
34809 cat confdefs.h
>>conftest.
$ac_ext
34810 cat >>conftest.
$ac_ext <<_ACEOF
34811 /* end confdefs.h. */
34814 int (setvbuf) (FILE *, int, char *, size_t);
34819 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
34824 rm -f conftest.
$ac_objext conftest
$ac_exeext
34825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34826 (eval $ac_link) 2>&5
34828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34829 (exit $ac_status); } &&
34830 { ac_try
='test -s conftest$ac_exeext'
34831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34832 (eval $ac_try) 2>&5
34834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34835 (exit $ac_status); }; }; then
34836 # It compiles and links either way, so it must not be declared
34837 # with a prototype and most likely this is a K&R C compiler.
34839 if test "$cross_compiling" = yes; then
34840 : # Assume setvbuf is not reversed when cross-compiling.
34842 cat >conftest.
$ac_ext <<_ACEOF
34843 #line $LINENO "configure"
34846 cat confdefs.h
>>conftest.
$ac_ext
34847 cat >>conftest.
$ac_ext <<_ACEOF
34848 /* end confdefs.h. */
34853 /* This call has the arguments reversed.
34854 A reversed system may check and see that the address of buf
34855 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
34857 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
34860 exit (0); /* Non-reversed systems SEGV here. */
34865 rm -f conftest
$ac_exeext
34866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34867 (eval $ac_link) 2>&5
34869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34870 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; }; then
34876 ac_cv_func_setvbuf_reversed
=yes
34878 echo "$as_me: program exited with status $ac_status" >&5
34879 echo "$as_me: failed program was:" >&5
34880 sed 's/^/| /' conftest.
$ac_ext >&5
34882 ( exit $ac_status )
34883 rm -f core core.
* *.core
34885 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34887 ac_cv_func_setvbuf_reversed
=yes
34889 echo "$as_me: failed program was:" >&5
34890 sed 's/^/| /' conftest.
$ac_ext >&5
34893 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34895 echo "$as_me: failed program was:" >&5
34896 sed 's/^/| /' conftest.
$ac_ext >&5
34899 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34901 echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
34902 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
34903 if test $ac_cv_func_setvbuf_reversed = yes; then
34905 cat >>confdefs.h
<<\_ACEOF
34906 #define SETVBUF_REVERSED 1
34912 # used by sleep and shred
34913 # Solaris 2.5.1 needs -lposix4 to get the clock_gettime function.
34914 # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
34916 # Save and restore LIBS so e.g., -lrt, isn't added to it. Otherwise, *all*
34917 # programs in the package would end up linked with that potentially-shared
34918 # library, inducing unnecessary run-time overhead.
34919 fetish_saved_libs
=$LIBS
34921 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
34922 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
34923 if test "${ac_cv_search_clock_gettime+set}" = set; then
34924 echo $ECHO_N "(cached) $ECHO_C" >&6
34927 ac_func_search_save_LIBS
=$LIBS
34928 ac_cv_search_clock_gettime
=no
34929 cat >conftest.
$ac_ext <<_ACEOF
34930 #line $LINENO "configure"
34933 cat confdefs.h
>>conftest.
$ac_ext
34934 cat >>conftest.
$ac_ext <<_ACEOF
34935 /* end confdefs.h. */
34937 /* Override any gcc2 internal prototype to avoid an error. */
34941 /* We use char because int might match the return type of a gcc2
34942 builtin and then its argument prototype would still apply. */
34943 char clock_gettime ();
34952 rm -f conftest.
$ac_objext conftest
$ac_exeext
34953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34954 (eval $ac_link) 2>&5
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); } &&
34958 { ac_try
='test -s conftest$ac_exeext'
34959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34960 (eval $ac_try) 2>&5
34962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34963 (exit $ac_status); }; }; then
34964 ac_cv_search_clock_gettime
='none required'
34966 echo "$as_me: failed program was:" >&5
34967 sed 's/^/| /' conftest.
$ac_ext >&5
34970 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34971 if test "$ac_cv_search_clock_gettime" = no
; then
34972 for ac_lib
in rt posix4
; do
34973 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
34974 cat >conftest.
$ac_ext <<_ACEOF
34975 #line $LINENO "configure"
34978 cat confdefs.h
>>conftest.
$ac_ext
34979 cat >>conftest.
$ac_ext <<_ACEOF
34980 /* end confdefs.h. */
34982 /* Override any gcc2 internal prototype to avoid an error. */
34986 /* We use char because int might match the return type of a gcc2
34987 builtin and then its argument prototype would still apply. */
34988 char clock_gettime ();
34997 rm -f conftest.
$ac_objext conftest
$ac_exeext
34998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34999 (eval $ac_link) 2>&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); } &&
35003 { ac_try
='test -s conftest$ac_exeext'
35004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35005 (eval $ac_try) 2>&5
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); }; }; then
35009 ac_cv_search_clock_gettime
="-l$ac_lib"; break
35011 echo "$as_me: failed program was:" >&5
35012 sed 's/^/| /' conftest.
$ac_ext >&5
35015 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35018 LIBS
=$ac_func_search_save_LIBS
35021 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
35022 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
35024 if test "$ac_cv_search_clock_gettime" = no
; then :
35027 if test "$ac_cv_search_clock_gettime" = 'none required'; then :
35030 LIBS
="$ac_cv_search_clock_gettime $LIBS"
35031 LIB_CLOCK_GETTIME
=$ac_cv_search_clock_gettime
35038 for ac_func
in clock_gettime clock_settime
35040 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35041 echo "$as_me:$LINENO: checking for $ac_func" >&5
35042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35043 if eval "test \"\${$as_ac_var+set}\" = set"; then
35044 echo $ECHO_N "(cached) $ECHO_C" >&6
35046 cat >conftest.
$ac_ext <<_ACEOF
35047 #line $LINENO "configure"
35050 cat confdefs.h
>>conftest.
$ac_ext
35051 cat >>conftest.
$ac_ext <<_ACEOF
35052 /* end confdefs.h. */
35053 /* System header to define __stub macros and hopefully few prototypes,
35054 which can conflict with char $ac_func (); below.
35055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35056 <limits.h> exists even on freestanding compilers. */
35058 # include <limits.h>
35060 # include <assert.h>
35062 /* Override any gcc2 internal prototype to avoid an error. */
35067 /* We use char because int might match the return type of a gcc2
35068 builtin and then its argument prototype would still apply. */
35070 /* The GNU C library defines this for functions which it implements
35071 to always fail with ENOSYS. Some functions are actually named
35072 something starting with __ and the normal name is an alias. */
35073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35076 char (*f) () = $ac_func;
35085 return f != $ac_func;
35090 rm -f conftest.
$ac_objext conftest
$ac_exeext
35091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35092 (eval $ac_link) 2>&5
35094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35095 (exit $ac_status); } &&
35096 { ac_try
='test -s conftest$ac_exeext'
35097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35098 (eval $ac_try) 2>&5
35100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35101 (exit $ac_status); }; }; then
35102 eval "$as_ac_var=yes"
35104 echo "$as_me: failed program was:" >&5
35105 sed 's/^/| /' conftest.
$ac_ext >&5
35107 eval "$as_ac_var=no"
35109 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35113 if test `eval echo '${'$as_ac_var'}'` = yes; then
35114 cat >>confdefs.h
<<_ACEOF
35115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35121 LIBS
=$fetish_saved_libs
35123 for ac_func
in gettimeofday
35125 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35126 echo "$as_me:$LINENO: checking for $ac_func" >&5
35127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35128 if eval "test \"\${$as_ac_var+set}\" = set"; then
35129 echo $ECHO_N "(cached) $ECHO_C" >&6
35131 cat >conftest.
$ac_ext <<_ACEOF
35132 #line $LINENO "configure"
35135 cat confdefs.h
>>conftest.
$ac_ext
35136 cat >>conftest.
$ac_ext <<_ACEOF
35137 /* end confdefs.h. */
35138 /* System header to define __stub macros and hopefully few prototypes,
35139 which can conflict with char $ac_func (); below.
35140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35141 <limits.h> exists even on freestanding compilers. */
35143 # include <limits.h>
35145 # include <assert.h>
35147 /* Override any gcc2 internal prototype to avoid an error. */
35152 /* We use char because int might match the return type of a gcc2
35153 builtin and then its argument prototype would still apply. */
35155 /* The GNU C library defines this for functions which it implements
35156 to always fail with ENOSYS. Some functions are actually named
35157 something starting with __ and the normal name is an alias. */
35158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35161 char (*f) () = $ac_func;
35170 return f != $ac_func;
35175 rm -f conftest.
$ac_objext conftest
$ac_exeext
35176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35177 (eval $ac_link) 2>&5
35179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35180 (exit $ac_status); } &&
35181 { ac_try
='test -s conftest$ac_exeext'
35182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35183 (eval $ac_try) 2>&5
35185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35186 (exit $ac_status); }; }; then
35187 eval "$as_ac_var=yes"
35189 echo "$as_me: failed program was:" >&5
35190 sed 's/^/| /' conftest.
$ac_ext >&5
35192 eval "$as_ac_var=no"
35194 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35198 if test `eval echo '${'$as_ac_var'}'` = yes; then
35199 cat >>confdefs.h
<<_ACEOF
35200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35210 for ac_header
in string.h stdlib.h
35212 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35214 echo "$as_me:$LINENO: checking for $ac_header" >&5
35215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35222 # Is the header compilable?
35223 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35224 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35225 cat >conftest.
$ac_ext <<_ACEOF
35226 #line $LINENO "configure"
35229 cat confdefs.h
>>conftest.
$ac_ext
35230 cat >>conftest.
$ac_ext <<_ACEOF
35231 /* end confdefs.h. */
35232 $ac_includes_default
35233 #include <$ac_header>
35235 rm -f conftest.
$ac_objext
35236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35237 (eval $ac_compile) 2>&5
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); } &&
35241 { ac_try
='test -s conftest.$ac_objext'
35242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35243 (eval $ac_try) 2>&5
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); }; }; then
35247 ac_header_compiler
=yes
35249 echo "$as_me: failed program was:" >&5
35250 sed 's/^/| /' conftest.
$ac_ext >&5
35252 ac_header_compiler
=no
35254 rm -f conftest.
$ac_objext conftest.
$ac_ext
35255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35256 echo "${ECHO_T}$ac_header_compiler" >&6
35258 # Is the header present?
35259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35261 cat >conftest.
$ac_ext <<_ACEOF
35262 #line $LINENO "configure"
35265 cat confdefs.h
>>conftest.
$ac_ext
35266 cat >>conftest.
$ac_ext <<_ACEOF
35267 /* end confdefs.h. */
35268 #include <$ac_header>
35270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35273 grep -v '^ *+' conftest.er1
>conftest.err
35275 cat conftest.err
>&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); } >/dev
/null
; then
35278 if test -s conftest.err
; then
35279 ac_cpp_err
=$ac_c_preproc_warn_flag
35286 if test -z "$ac_cpp_err"; then
35287 ac_header_preproc
=yes
35289 echo "$as_me: failed program was:" >&5
35290 sed 's/^/| /' conftest.
$ac_ext >&5
35292 ac_header_preproc
=no
35294 rm -f conftest.err conftest.
$ac_ext
35295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35296 echo "${ECHO_T}$ac_header_preproc" >&6
35298 # So? What about this header?
35299 case $ac_header_compiler:$ac_header_preproc in
35301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35307 ## ------------------------------------ ##
35308 ## Report this to bug-autoconf@gnu.org. ##
35309 ## ------------------------------------ ##
35312 sed "s/^/$as_me: WARNING: /" >&2
35315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35320 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35323 ## ------------------------------------ ##
35324 ## Report this to bug-autoconf@gnu.org. ##
35325 ## ------------------------------------ ##
35328 sed "s/^/$as_me: WARNING: /" >&2
35331 echo "$as_me:$LINENO: checking for $ac_header" >&5
35332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35334 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 eval "$as_ac_Header=$ac_header_preproc"
35338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35343 cat >>confdefs.h
<<_ACEOF
35344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35351 echo "$as_me:$LINENO: checking whether gettimeofday clobbers localtime buffer" >&5
35352 echo $ECHO_N "checking whether gettimeofday clobbers localtime buffer... $ECHO_C" >&6
35353 if test "${jm_cv_func_gettimeofday_clobber+set}" = set; then
35354 echo $ECHO_N "(cached) $ECHO_C" >&6
35356 if test "$cross_compiling" = yes; then
35357 jm_cv_func_gettimeofday_clobber
=yes
35359 cat >conftest.
$ac_ext <<_ACEOF
35360 #line $LINENO "configure"
35363 cat confdefs.h
>>conftest.
$ac_ext
35364 cat >>conftest.
$ac_ext <<_ACEOF
35365 /* end confdefs.h. */
35369 # include <string.h>
35372 #if TIME_WITH_SYS_TIME
35373 # include <sys/time.h>
35376 # if HAVE_SYS_TIME_H
35377 # include <sys/time.h>
35384 # include <stdlib.h>
35392 struct tm saved_lt;
35394 lt = localtime (&t);
35396 gettimeofday (&tv, NULL);
35397 if (memcmp (lt, &saved_lt, sizeof (struct tm)) != 0)
35404 rm -f conftest
$ac_exeext
35405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35406 (eval $ac_link) 2>&5
35408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35409 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35411 (eval $ac_try) 2>&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); }; }; then
35415 jm_cv_func_gettimeofday_clobber
=no
35417 echo "$as_me: program exited with status $ac_status" >&5
35418 echo "$as_me: failed program was:" >&5
35419 sed 's/^/| /' conftest.
$ac_ext >&5
35421 ( exit $ac_status )
35422 jm_cv_func_gettimeofday_clobber
=yes
35424 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35428 echo "$as_me:$LINENO: result: $jm_cv_func_gettimeofday_clobber" >&5
35429 echo "${ECHO_T}$jm_cv_func_gettimeofday_clobber" >&6
35430 if test $jm_cv_func_gettimeofday_clobber = yes; then
35431 LIBOBJS
="$LIBOBJS gettimeofday.$ac_objext"
35433 cat >>confdefs.h
<<\_ACEOF
35434 #define localtime rpl_localtime
35438 cat >>confdefs.h
<<\_ACEOF
35439 #define gettimeofday rpl_gettimeofday
35443 cat >>confdefs.h
<<\_ACEOF
35444 #define GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER 1
35512 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35513 echo "$as_me:$LINENO: checking for $ac_func" >&5
35514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35515 if eval "test \"\${$as_ac_var+set}\" = set"; then
35516 echo $ECHO_N "(cached) $ECHO_C" >&6
35518 cat >conftest.
$ac_ext <<_ACEOF
35519 #line $LINENO "configure"
35522 cat confdefs.h
>>conftest.
$ac_ext
35523 cat >>conftest.
$ac_ext <<_ACEOF
35524 /* end confdefs.h. */
35525 /* System header to define __stub macros and hopefully few prototypes,
35526 which can conflict with char $ac_func (); below.
35527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35528 <limits.h> exists even on freestanding compilers. */
35530 # include <limits.h>
35532 # include <assert.h>
35534 /* Override any gcc2 internal prototype to avoid an error. */
35539 /* We use char because int might match the return type of a gcc2
35540 builtin and then its argument prototype would still apply. */
35542 /* The GNU C library defines this for functions which it implements
35543 to always fail with ENOSYS. Some functions are actually named
35544 something starting with __ and the normal name is an alias. */
35545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35548 char (*f) () = $ac_func;
35557 return f != $ac_func;
35562 rm -f conftest.
$ac_objext conftest
$ac_exeext
35563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35564 (eval $ac_link) 2>&5
35566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567 (exit $ac_status); } &&
35568 { ac_try
='test -s conftest$ac_exeext'
35569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35570 (eval $ac_try) 2>&5
35572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35573 (exit $ac_status); }; }; then
35574 eval "$as_ac_var=yes"
35576 echo "$as_me: failed program was:" >&5
35577 sed 's/^/| /' conftest.
$ac_ext >&5
35579 eval "$as_ac_var=no"
35581 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35585 if test `eval echo '${'$as_ac_var'}'` = yes; then
35586 cat >>confdefs.h
<<_ACEOF
35587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35597 for ac_func
in setreuid setregid
35599 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35600 echo "$as_me:$LINENO: checking for $ac_func" >&5
35601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35602 if eval "test \"\${$as_ac_var+set}\" = set"; then
35603 echo $ECHO_N "(cached) $ECHO_C" >&6
35605 cat >conftest.
$ac_ext <<_ACEOF
35606 #line $LINENO "configure"
35609 cat confdefs.h
>>conftest.
$ac_ext
35610 cat >>conftest.
$ac_ext <<_ACEOF
35611 /* end confdefs.h. */
35612 /* System header to define __stub macros and hopefully few prototypes,
35613 which can conflict with char $ac_func (); below.
35614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35615 <limits.h> exists even on freestanding compilers. */
35617 # include <limits.h>
35619 # include <assert.h>
35621 /* Override any gcc2 internal prototype to avoid an error. */
35626 /* We use char because int might match the return type of a gcc2
35627 builtin and then its argument prototype would still apply. */
35629 /* The GNU C library defines this for functions which it implements
35630 to always fail with ENOSYS. Some functions are actually named
35631 something starting with __ and the normal name is an alias. */
35632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35635 char (*f) () = $ac_func;
35644 return f != $ac_func;
35649 rm -f conftest.
$ac_objext conftest
$ac_exeext
35650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35651 (eval $ac_link) 2>&5
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); } &&
35655 { ac_try
='test -s conftest$ac_exeext'
35656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35657 (eval $ac_try) 2>&5
35659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35660 (exit $ac_status); }; }; then
35661 eval "$as_ac_var=yes"
35663 echo "$as_me: failed program was:" >&5
35664 sed 's/^/| /' conftest.
$ac_ext >&5
35666 eval "$as_ac_var=no"
35668 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35672 if test `eval echo '${'$as_ac_var'}'` = yes; then
35673 cat >>confdefs.h
<<_ACEOF
35674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35681 am_getline_needs_run_time_check
=no
35682 echo "$as_me:$LINENO: checking for getline" >&5
35683 echo $ECHO_N "checking for getline... $ECHO_C" >&6
35684 if test "${ac_cv_func_getline+set}" = set; then
35685 echo $ECHO_N "(cached) $ECHO_C" >&6
35687 cat >conftest.
$ac_ext <<_ACEOF
35688 #line $LINENO "configure"
35691 cat confdefs.h
>>conftest.
$ac_ext
35692 cat >>conftest.
$ac_ext <<_ACEOF
35693 /* end confdefs.h. */
35694 /* System header to define __stub macros and hopefully few prototypes,
35695 which can conflict with char getline (); below.
35696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35697 <limits.h> exists even on freestanding compilers. */
35699 # include <limits.h>
35701 # include <assert.h>
35703 /* Override any gcc2 internal prototype to avoid an error. */
35708 /* We use char because int might match the return type of a gcc2
35709 builtin and then its argument prototype would still apply. */
35711 /* The GNU C library defines this for functions which it implements
35712 to always fail with ENOSYS. Some functions are actually named
35713 something starting with __ and the normal name is an alias. */
35714 #if defined (__stub_getline) || defined (__stub___getline)
35717 char (*f) () = getline;
35726 return f != getline;
35731 rm -f conftest.
$ac_objext conftest
$ac_exeext
35732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35733 (eval $ac_link) 2>&5
35735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35736 (exit $ac_status); } &&
35737 { ac_try
='test -s conftest$ac_exeext'
35738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35739 (eval $ac_try) 2>&5
35741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35742 (exit $ac_status); }; }; then
35743 ac_cv_func_getline
=yes
35745 echo "$as_me: failed program was:" >&5
35746 sed 's/^/| /' conftest.
$ac_ext >&5
35748 ac_cv_func_getline
=no
35750 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35752 echo "$as_me:$LINENO: result: $ac_cv_func_getline" >&5
35753 echo "${ECHO_T}$ac_cv_func_getline" >&6
35754 if test $ac_cv_func_getline = yes; then
35755 am_getline_needs_run_time_check
=yes
35757 am_cv_func_working_getline
=no
35760 if test $am_getline_needs_run_time_check = yes; then
35761 echo "$as_me:$LINENO: checking for working getline function" >&5
35762 echo $ECHO_N "checking for working getline function... $ECHO_C" >&6
35763 if test "${am_cv_func_working_getline+set}" = set; then
35764 echo $ECHO_N "(cached) $ECHO_C" >&6
35766 echo fooN |
tr -d '\012'|
tr N
'\012' > conftest.data
35767 if test "$cross_compiling" = yes; then
35768 am_cv_func_working_getline
=no
35770 cat >conftest.
$ac_ext <<_ACEOF
35771 #line $LINENO "configure"
35774 cat confdefs.h
>>conftest.
$ac_ext
35775 cat >>conftest.
$ac_ext <<_ACEOF
35776 /* end confdefs.h. */
35778 # include <stdio.h>
35779 # include <sys/types.h>
35780 # include <string.h>
35782 { /* Based on a test program from Karl Heuer. */
35786 FILE *in = fopen ("./conftest.data", "r");
35789 len = getline (&line, &siz, in);
35790 exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1);
35794 rm -f conftest
$ac_exeext
35795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35796 (eval $ac_link) 2>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35801 (eval $ac_try) 2>&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); }; }; then
35805 am_cv_func_working_getline
=yes
35807 echo "$as_me: program exited with status $ac_status" >&5
35808 echo "$as_me: failed program was:" >&5
35809 sed 's/^/| /' conftest.
$ac_ext >&5
35811 ( exit $ac_status )
35812 am_cv_func_working_getline
=no
35814 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35817 echo "$as_me:$LINENO: result: $am_cv_func_working_getline" >&5
35818 echo "${ECHO_T}$am_cv_func_working_getline" >&6
35821 if test $am_cv_func_working_getline = no
; then
35822 LIBOBJS
="$LIBOBJS getline.$ac_objext"
35825 if test $am_cv_func_working_getline != yes; then
35827 for ac_func
in getdelim
35829 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35830 echo "$as_me:$LINENO: checking for $ac_func" >&5
35831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35832 if eval "test \"\${$as_ac_var+set}\" = set"; then
35833 echo $ECHO_N "(cached) $ECHO_C" >&6
35835 cat >conftest.
$ac_ext <<_ACEOF
35836 #line $LINENO "configure"
35839 cat confdefs.h
>>conftest.
$ac_ext
35840 cat >>conftest.
$ac_ext <<_ACEOF
35841 /* end confdefs.h. */
35842 /* System header to define __stub macros and hopefully few prototypes,
35843 which can conflict with char $ac_func (); below.
35844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35845 <limits.h> exists even on freestanding compilers. */
35847 # include <limits.h>
35849 # include <assert.h>
35851 /* Override any gcc2 internal prototype to avoid an error. */
35856 /* We use char because int might match the return type of a gcc2
35857 builtin and then its argument prototype would still apply. */
35859 /* The GNU C library defines this for functions which it implements
35860 to always fail with ENOSYS. Some functions are actually named
35861 something starting with __ and the normal name is an alias. */
35862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35865 char (*f) () = $ac_func;
35874 return f != $ac_func;
35879 rm -f conftest.
$ac_objext conftest
$ac_exeext
35880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35881 (eval $ac_link) 2>&5
35883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35884 (exit $ac_status); } &&
35885 { ac_try
='test -s conftest$ac_exeext'
35886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35887 (eval $ac_try) 2>&5
35889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35890 (exit $ac_status); }; }; then
35891 eval "$as_ac_var=yes"
35893 echo "$as_me: failed program was:" >&5
35894 sed 's/^/| /' conftest.
$ac_ext >&5
35896 eval "$as_ac_var=no"
35898 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35902 if test `eval echo '${'$as_ac_var'}'` = yes; then
35903 cat >>confdefs.h
<<_ACEOF
35904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35911 echo "$as_me:$LINENO: checking for obstacks" >&5
35912 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
35913 if test "${ac_cv_func_obstack+set}" = set; then
35914 echo $ECHO_N "(cached) $ECHO_C" >&6
35916 cat >conftest.
$ac_ext <<_ACEOF
35917 #line $LINENO "configure"
35920 cat confdefs.h
>>conftest.
$ac_ext
35921 cat >>conftest.
$ac_ext <<_ACEOF
35922 /* end confdefs.h. */
35923 #include "obstack.h"
35927 struct obstack *mem; obstack_free(mem,(char *) 0)
35932 rm -f conftest.
$ac_objext conftest
$ac_exeext
35933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35934 (eval $ac_link) 2>&5
35936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937 (exit $ac_status); } &&
35938 { ac_try
='test -s conftest$ac_exeext'
35939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35940 (eval $ac_try) 2>&5
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); }; }; then
35944 ac_cv_func_obstack
=yes
35946 echo "$as_me: failed program was:" >&5
35947 sed 's/^/| /' conftest.
$ac_ext >&5
35949 ac_cv_func_obstack
=no
35951 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35953 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
35954 echo "${ECHO_T}$ac_cv_func_obstack" >&6
35955 if test $ac_cv_func_obstack = yes; then
35957 cat >>confdefs.h
<<\_ACEOF
35958 #define HAVE_OBSTACK 1
35962 LIBOBJS
="$LIBOBJS obstack.$ac_objext"
35966 echo "$as_me:$LINENO: checking for working strtod" >&5
35967 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
35968 if test "${ac_cv_func_strtod+set}" = set; then
35969 echo $ECHO_N "(cached) $ECHO_C" >&6
35971 if test "$cross_compiling" = yes; then
35972 ac_cv_func_strtod
=no
35974 cat >conftest.
$ac_ext <<_ACEOF
35975 #line $LINENO "configure"
35978 cat confdefs.h
>>conftest.
$ac_ext
35979 cat >>conftest.
$ac_ext <<_ACEOF
35980 /* end confdefs.h. */
35987 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
35988 char *string = " +69";
35991 value = strtod (string, &term);
35992 if (value != 69 || term != (string + 4))
35997 /* Under Solaris 2.4, strtod returns the wrong value for the
35998 terminating character under some conditions. */
35999 char *string = "NaN";
36001 strtod (string, &term);
36002 if (term != string && *(term - 1) == 0)
36009 rm -f conftest
$ac_exeext
36010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36011 (eval $ac_link) 2>&5
36013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36014 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36016 (eval $ac_try) 2>&5
36018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36019 (exit $ac_status); }; }; then
36020 ac_cv_func_strtod
=yes
36022 echo "$as_me: program exited with status $ac_status" >&5
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.
$ac_ext >&5
36026 ( exit $ac_status )
36027 ac_cv_func_strtod
=no
36029 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36032 echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
36033 echo "${ECHO_T}$ac_cv_func_strtod" >&6
36034 if test $ac_cv_func_strtod = no
; then
36035 LIBOBJS
="$LIBOBJS strtod.$ac_objext"
36036 echo "$as_me:$LINENO: checking for pow" >&5
36037 echo $ECHO_N "checking for pow... $ECHO_C" >&6
36038 if test "${ac_cv_func_pow+set}" = set; then
36039 echo $ECHO_N "(cached) $ECHO_C" >&6
36041 cat >conftest.
$ac_ext <<_ACEOF
36042 #line $LINENO "configure"
36045 cat confdefs.h
>>conftest.
$ac_ext
36046 cat >>conftest.
$ac_ext <<_ACEOF
36047 /* end confdefs.h. */
36048 /* System header to define __stub macros and hopefully few prototypes,
36049 which can conflict with char pow (); below.
36050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36051 <limits.h> exists even on freestanding compilers. */
36053 # include <limits.h>
36055 # include <assert.h>
36057 /* Override any gcc2 internal prototype to avoid an error. */
36062 /* We use char because int might match the return type of a gcc2
36063 builtin and then its argument prototype would still apply. */
36065 /* The GNU C library defines this for functions which it implements
36066 to always fail with ENOSYS. Some functions are actually named
36067 something starting with __ and the normal name is an alias. */
36068 #if defined (__stub_pow) || defined (__stub___pow)
36071 char (*f) () = pow;
36085 rm -f conftest.
$ac_objext conftest
$ac_exeext
36086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36087 (eval $ac_link) 2>&5
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); } &&
36091 { ac_try
='test -s conftest$ac_exeext'
36092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36093 (eval $ac_try) 2>&5
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); }; }; then
36099 echo "$as_me: failed program was:" >&5
36100 sed 's/^/| /' conftest.
$ac_ext >&5
36104 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36106 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
36107 echo "${ECHO_T}$ac_cv_func_pow" >&6
36109 if test $ac_cv_func_pow = no
; then
36110 echo "$as_me:$LINENO: checking for pow in -lm" >&5
36111 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
36112 if test "${ac_cv_lib_m_pow+set}" = set; then
36113 echo $ECHO_N "(cached) $ECHO_C" >&6
36115 ac_check_lib_save_LIBS
=$LIBS
36117 cat >conftest.
$ac_ext <<_ACEOF
36118 #line $LINENO "configure"
36121 cat confdefs.h
>>conftest.
$ac_ext
36122 cat >>conftest.
$ac_ext <<_ACEOF
36123 /* end confdefs.h. */
36125 /* Override any gcc2 internal prototype to avoid an error. */
36129 /* We use char because int might match the return type of a gcc2
36130 builtin and then its argument prototype would still apply. */
36140 rm -f conftest.
$ac_objext conftest
$ac_exeext
36141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36142 (eval $ac_link) 2>&5
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); } &&
36146 { ac_try
='test -s conftest$ac_exeext'
36147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36148 (eval $ac_try) 2>&5
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); }; }; then
36152 ac_cv_lib_m_pow
=yes
36154 echo "$as_me: failed program was:" >&5
36155 sed 's/^/| /' conftest.
$ac_ext >&5
36159 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36160 LIBS
=$ac_check_lib_save_LIBS
36162 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
36163 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
36164 if test $ac_cv_lib_m_pow = yes; then
36167 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
36168 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
36178 # See if linking `seq' requires -lm.
36179 # It does on nearly every system. The single exception (so far) is
36180 # BeOS which has all the math functions in the normal runtime library
36181 # and doesn't have a separate math library.
36185 static double x, y;
36189 cat >conftest.
$ac_ext <<_ACEOF
36190 #line $LINENO "configure"
36193 cat confdefs.h
>>conftest.
$ac_ext
36194 cat >>conftest.
$ac_ext <<_ACEOF
36195 /* end confdefs.h. */
36205 rm -f conftest.
$ac_objext conftest
$ac_exeext
36206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36207 (eval $ac_link) 2>&5
36209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36210 (exit $ac_status); } &&
36211 { ac_try
='test -s conftest$ac_exeext'
36212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36213 (eval $ac_try) 2>&5
36215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36216 (exit $ac_status); }; }; then
36219 echo "$as_me: failed program was:" >&5
36220 sed 's/^/| /' conftest.
$ac_ext >&5
36222 ac_seq_save_LIBS
="$LIBS"
36224 cat >conftest.
$ac_ext <<_ACEOF
36225 #line $LINENO "configure"
36228 cat confdefs.h
>>conftest.
$ac_ext
36229 cat >>conftest.
$ac_ext <<_ACEOF
36230 /* end confdefs.h. */
36240 rm -f conftest.
$ac_objext conftest
$ac_exeext
36241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36242 (eval $ac_link) 2>&5
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); } &&
36246 { ac_try
='test -s conftest$ac_exeext'
36247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36248 (eval $ac_try) 2>&5
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); }; }; then
36254 echo "$as_me: failed program was:" >&5
36255 sed 's/^/| /' conftest.
$ac_ext >&5
36258 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36259 LIBS
="$ac_seq_save_LIBS"
36262 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36265 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
36266 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
36267 if test "${am_cv_langinfo_codeset+set}" = set; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36270 cat >conftest.
$ac_ext <<_ACEOF
36271 #line $LINENO "configure"
36274 cat confdefs.h
>>conftest.
$ac_ext
36275 cat >>conftest.
$ac_ext <<_ACEOF
36276 /* end confdefs.h. */
36277 #include <langinfo.h>
36281 char* cs = nl_langinfo(CODESET);
36286 rm -f conftest.
$ac_objext conftest
$ac_exeext
36287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36288 (eval $ac_link) 2>&5
36290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291 (exit $ac_status); } &&
36292 { ac_try
='test -s conftest$ac_exeext'
36293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36294 (eval $ac_try) 2>&5
36296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36297 (exit $ac_status); }; }; then
36298 am_cv_langinfo_codeset
=yes
36300 echo "$as_me: failed program was:" >&5
36301 sed 's/^/| /' conftest.
$ac_ext >&5
36303 am_cv_langinfo_codeset
=no
36305 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36308 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
36309 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
36310 if test $am_cv_langinfo_codeset = yes; then
36312 cat >>confdefs.h
<<\_ACEOF
36313 #define HAVE_LANGINFO_CODESET 1
36319 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
36320 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
36321 if test "${ac_cv_gnu_library_2_1+set}" = set; then
36322 echo $ECHO_N "(cached) $ECHO_C" >&6
36324 cat >conftest.
$ac_ext <<_ACEOF
36325 #line $LINENO "configure"
36328 cat confdefs.h
>>conftest.
$ac_ext
36329 cat >>conftest.
$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36332 #include <features.h>
36333 #ifdef __GNU_LIBRARY__
36334 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
36340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36341 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
36342 ac_cv_gnu_library_2_1
=yes
36344 ac_cv_gnu_library_2_1
=no
36351 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
36352 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
36354 GLIBC21
="$ac_cv_gnu_library_2_1"
36362 am_save_CPPFLAGS
="$CPPFLAGS"
36364 for element
in $INCICONV; do
36366 for x
in $CPPFLAGS; do
36368 acl_save_prefix
="$prefix"
36369 prefix
="$acl_final_prefix"
36370 acl_save_exec_prefix
="$exec_prefix"
36371 exec_prefix
="$acl_final_exec_prefix"
36373 exec_prefix
="$acl_save_exec_prefix"
36374 prefix
="$acl_save_prefix"
36376 if test "X$x" = "X$element"; then
36381 if test -z "$haveit"; then
36382 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
36387 echo "$as_me:$LINENO: checking for iconv" >&5
36388 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36389 if test "${am_cv_func_iconv+set}" = set; then
36390 echo $ECHO_N "(cached) $ECHO_C" >&6
36393 am_cv_func_iconv
="no, consider installing GNU libiconv"
36395 cat >conftest.
$ac_ext <<_ACEOF
36396 #line $LINENO "configure"
36399 cat confdefs.h
>>conftest.
$ac_ext
36400 cat >>conftest.
$ac_ext <<_ACEOF
36401 /* end confdefs.h. */
36402 #include <stdlib.h>
36407 iconv_t cd = iconv_open("","");
36408 iconv(cd,NULL,NULL,NULL,NULL);
36414 rm -f conftest.
$ac_objext conftest
$ac_exeext
36415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36416 (eval $ac_link) 2>&5
36418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419 (exit $ac_status); } &&
36420 { ac_try
='test -s conftest$ac_exeext'
36421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36422 (eval $ac_try) 2>&5
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); }; }; then
36426 am_cv_func_iconv
=yes
36428 echo "$as_me: failed program was:" >&5
36429 sed 's/^/| /' conftest.
$ac_ext >&5
36432 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36433 if test "$am_cv_func_iconv" != yes; then
36434 am_save_LIBS
="$LIBS"
36435 LIBS
="$LIBS $LIBICONV"
36436 cat >conftest.
$ac_ext <<_ACEOF
36437 #line $LINENO "configure"
36440 cat confdefs.h
>>conftest.
$ac_ext
36441 cat >>conftest.
$ac_ext <<_ACEOF
36442 /* end confdefs.h. */
36443 #include <stdlib.h>
36448 iconv_t cd = iconv_open("","");
36449 iconv(cd,NULL,NULL,NULL,NULL);
36455 rm -f conftest.
$ac_objext conftest
$ac_exeext
36456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36457 (eval $ac_link) 2>&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); } &&
36461 { ac_try
='test -s conftest$ac_exeext'
36462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36463 (eval $ac_try) 2>&5
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); }; }; then
36467 am_cv_lib_iconv
=yes
36468 am_cv_func_iconv
=yes
36470 echo "$as_me: failed program was:" >&5
36471 sed 's/^/| /' conftest.
$ac_ext >&5
36474 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36475 LIBS
="$am_save_LIBS"
36479 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36480 echo "${ECHO_T}$am_cv_func_iconv" >&6
36481 if test "$am_cv_func_iconv" = yes; then
36483 cat >>confdefs.h
<<\_ACEOF
36484 #define HAVE_ICONV 1
36488 if test "$am_cv_lib_iconv" = yes; then
36489 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
36490 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
36491 echo "$as_me:$LINENO: result: $LIBICONV" >&5
36492 echo "${ECHO_T}$LIBICONV" >&6
36494 CPPFLAGS
="$am_save_CPPFLAGS"
36501 if test "$am_cv_func_iconv" = yes; then
36502 echo "$as_me:$LINENO: checking for iconv declaration" >&5
36503 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
36504 if test "${am_cv_proto_iconv+set}" = set; then
36505 echo $ECHO_N "(cached) $ECHO_C" >&6
36508 cat >conftest.
$ac_ext <<_ACEOF
36509 #line $LINENO "configure"
36512 cat confdefs.h
>>conftest.
$ac_ext
36513 cat >>conftest.
$ac_ext <<_ACEOF
36514 /* end confdefs.h. */
36516 #include <stdlib.h>
36522 #if defined(__STDC__) || defined(__cplusplus)
36523 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36536 rm -f conftest.
$ac_objext
36537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36538 (eval $ac_compile) 2>&5
36540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36541 (exit $ac_status); } &&
36542 { ac_try
='test -s conftest.$ac_objext'
36543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36544 (eval $ac_try) 2>&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); }; }; then
36548 am_cv_proto_iconv_arg1
=""
36550 echo "$as_me: failed program was:" >&5
36551 sed 's/^/| /' conftest.
$ac_ext >&5
36553 am_cv_proto_iconv_arg1
="const"
36555 rm -f conftest.
$ac_objext conftest.
$ac_ext
36556 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
36559 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
36560 echo "$as_me:$LINENO: result: ${ac_t:-
36561 }$am_cv_proto_iconv" >&5
36562 echo "${ECHO_T}${ac_t:-
36563 }$am_cv_proto_iconv" >&6
36565 cat >>confdefs.h
<<_ACEOF
36566 #define ICONV_CONST $am_cv_proto_iconv_arg1
36571 echo "$as_me:$LINENO: checking whether a running program can be unlinked" >&5
36572 echo $ECHO_N "checking whether a running program can be unlinked... $ECHO_C" >&6
36573 if test "${jm_cv_func_unlink_busy_text+set}" = set; then
36574 echo $ECHO_N "(cached) $ECHO_C" >&6
36577 if test "$cross_compiling" = yes; then
36578 jm_cv_func_unlink_busy_text
=no
36581 cat >conftest.
$ac_ext <<_ACEOF
36582 #line $LINENO "configure"
36585 cat confdefs.h
>>conftest.
$ac_ext
36586 cat >>conftest.
$ac_ext <<_ACEOF
36587 /* end confdefs.h. */
36595 exit (unlink (argv[0]));
36599 rm -f conftest
$ac_exeext
36600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36601 (eval $ac_link) 2>&5
36603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36606 (eval $ac_try) 2>&5
36608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36609 (exit $ac_status); }; }; then
36610 jm_cv_func_unlink_busy_text
=yes
36612 echo "$as_me: program exited with status $ac_status" >&5
36613 echo "$as_me: failed program was:" >&5
36614 sed 's/^/| /' conftest.
$ac_ext >&5
36616 ( exit $ac_status )
36617 jm_cv_func_unlink_busy_text
=no
36619 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36624 echo "$as_me:$LINENO: result: $jm_cv_func_unlink_busy_text" >&5
36625 echo "${ECHO_T}$jm_cv_func_unlink_busy_text" >&6
36627 if test $jm_cv_func_unlink_busy_text = no
; then
36628 INSTALL
=$ac_install_sh
36632 # These tests are for df.
36636 for ac_func
in listmntent getmntinfo
36638 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36639 echo "$as_me:$LINENO: checking for $ac_func" >&5
36640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36641 if eval "test \"\${$as_ac_var+set}\" = set"; then
36642 echo $ECHO_N "(cached) $ECHO_C" >&6
36644 cat >conftest.
$ac_ext <<_ACEOF
36645 #line $LINENO "configure"
36648 cat confdefs.h
>>conftest.
$ac_ext
36649 cat >>conftest.
$ac_ext <<_ACEOF
36650 /* end confdefs.h. */
36651 /* System header to define __stub macros and hopefully few prototypes,
36652 which can conflict with char $ac_func (); below.
36653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36654 <limits.h> exists even on freestanding compilers. */
36656 # include <limits.h>
36658 # include <assert.h>
36660 /* Override any gcc2 internal prototype to avoid an error. */
36665 /* We use char because int might match the return type of a gcc2
36666 builtin and then its argument prototype would still apply. */
36668 /* The GNU C library defines this for functions which it implements
36669 to always fail with ENOSYS. Some functions are actually named
36670 something starting with __ and the normal name is an alias. */
36671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36674 char (*f) () = $ac_func;
36683 return f != $ac_func;
36688 rm -f conftest.
$ac_objext conftest
$ac_exeext
36689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36690 (eval $ac_link) 2>&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); } &&
36694 { ac_try
='test -s conftest$ac_exeext'
36695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36696 (eval $ac_try) 2>&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); }; }; then
36700 eval "$as_ac_var=yes"
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.
$ac_ext >&5
36705 eval "$as_ac_var=no"
36707 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36711 if test `eval echo '${'$as_ac_var'}'` = yes; then
36712 cat >>confdefs.h
<<_ACEOF
36713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36724 for ac_header
in mntent.h sys
/param.h sys
/ucred.h sys
/mount.h sys
/fs_types.h
36726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36728 echo "$as_me:$LINENO: checking for $ac_header" >&5
36729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36731 echo $ECHO_N "(cached) $ECHO_C" >&6
36733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36736 # Is the header compilable?
36737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36739 cat >conftest.
$ac_ext <<_ACEOF
36740 #line $LINENO "configure"
36743 cat confdefs.h
>>conftest.
$ac_ext
36744 cat >>conftest.
$ac_ext <<_ACEOF
36745 /* end confdefs.h. */
36746 $ac_includes_default
36747 #include <$ac_header>
36749 rm -f conftest.
$ac_objext
36750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36751 (eval $ac_compile) 2>&5
36753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36754 (exit $ac_status); } &&
36755 { ac_try
='test -s conftest.$ac_objext'
36756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36757 (eval $ac_try) 2>&5
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); }; }; then
36761 ac_header_compiler
=yes
36763 echo "$as_me: failed program was:" >&5
36764 sed 's/^/| /' conftest.
$ac_ext >&5
36766 ac_header_compiler
=no
36768 rm -f conftest.
$ac_objext conftest.
$ac_ext
36769 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36770 echo "${ECHO_T}$ac_header_compiler" >&6
36772 # Is the header present?
36773 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36775 cat >conftest.
$ac_ext <<_ACEOF
36776 #line $LINENO "configure"
36779 cat confdefs.h
>>conftest.
$ac_ext
36780 cat >>conftest.
$ac_ext <<_ACEOF
36781 /* end confdefs.h. */
36782 #include <$ac_header>
36784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36785 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36787 grep -v '^ *+' conftest.er1
>conftest.err
36789 cat conftest.err
>&5
36790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36791 (exit $ac_status); } >/dev
/null
; then
36792 if test -s conftest.err
; then
36793 ac_cpp_err
=$ac_c_preproc_warn_flag
36800 if test -z "$ac_cpp_err"; then
36801 ac_header_preproc
=yes
36803 echo "$as_me: failed program was:" >&5
36804 sed 's/^/| /' conftest.
$ac_ext >&5
36806 ac_header_preproc
=no
36808 rm -f conftest.err conftest.
$ac_ext
36809 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36810 echo "${ECHO_T}$ac_header_preproc" >&6
36812 # So? What about this header?
36813 case $ac_header_compiler:$ac_header_preproc in
36815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36821 ## ------------------------------------ ##
36822 ## Report this to bug-autoconf@gnu.org. ##
36823 ## ------------------------------------ ##
36826 sed "s/^/$as_me: WARNING: /" >&2
36829 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36830 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36831 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36832 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36834 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36837 ## ------------------------------------ ##
36838 ## Report this to bug-autoconf@gnu.org. ##
36839 ## ------------------------------------ ##
36842 sed "s/^/$as_me: WARNING: /" >&2
36845 echo "$as_me:$LINENO: checking for $ac_header" >&5
36846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36848 echo $ECHO_N "(cached) $ECHO_C" >&6
36850 eval "$as_ac_Header=$ac_header_preproc"
36852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36857 cat >>confdefs.h
<<_ACEOF
36858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36865 getfsstat_includes
="\
36866 $ac_includes_default
36867 #if HAVE_SYS_PARAM_H
36868 # include <sys/param.h> /* needed by powerpc-apple-darwin1.3.7 */
36870 #if HAVE_SYS_UCRED_H
36871 # include <sys/ucred.h> /* needed by powerpc-apple-darwin1.3.7 */
36873 #if HAVE_SYS_MOUNT_H
36874 # include <sys/mount.h>
36876 #if HAVE_SYS_FS_TYPES_H
36877 # include <sys/fs_types.h> /* needed by powerpc-apple-darwin1.3.7 */
36880 echo "$as_me:$LINENO: checking for struct fsstat.f_fstypename" >&5
36881 echo $ECHO_N "checking for struct fsstat.f_fstypename... $ECHO_C" >&6
36882 if test "${ac_cv_member_struct_fsstat_f_fstypename+set}" = set; then
36883 echo $ECHO_N "(cached) $ECHO_C" >&6
36885 cat >conftest.
$ac_ext <<_ACEOF
36886 #line $LINENO "configure"
36889 cat confdefs.h
>>conftest.
$ac_ext
36890 cat >>conftest.
$ac_ext <<_ACEOF
36891 /* end confdefs.h. */
36892 $getfsstat_includes
36897 static struct fsstat ac_aggr;
36898 if (ac_aggr.f_fstypename)
36904 rm -f conftest.
$ac_objext
36905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36906 (eval $ac_compile) 2>&5
36908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36909 (exit $ac_status); } &&
36910 { ac_try
='test -s conftest.$ac_objext'
36911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36912 (eval $ac_try) 2>&5
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); }; }; then
36916 ac_cv_member_struct_fsstat_f_fstypename
=yes
36918 echo "$as_me: failed program was:" >&5
36919 sed 's/^/| /' conftest.
$ac_ext >&5
36921 cat >conftest.
$ac_ext <<_ACEOF
36922 #line $LINENO "configure"
36925 cat confdefs.h
>>conftest.
$ac_ext
36926 cat >>conftest.
$ac_ext <<_ACEOF
36927 /* end confdefs.h. */
36928 $getfsstat_includes
36933 static struct fsstat ac_aggr;
36934 if (sizeof ac_aggr.f_fstypename)
36940 rm -f conftest.
$ac_objext
36941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36942 (eval $ac_compile) 2>&5
36944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36945 (exit $ac_status); } &&
36946 { ac_try
='test -s conftest.$ac_objext'
36947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36948 (eval $ac_try) 2>&5
36950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36951 (exit $ac_status); }; }; then
36952 ac_cv_member_struct_fsstat_f_fstypename
=yes
36954 echo "$as_me: failed program was:" >&5
36955 sed 's/^/| /' conftest.
$ac_ext >&5
36957 ac_cv_member_struct_fsstat_f_fstypename
=no
36959 rm -f conftest.
$ac_objext conftest.
$ac_ext
36961 rm -f conftest.
$ac_objext conftest.
$ac_ext
36963 echo "$as_me:$LINENO: result: $ac_cv_member_struct_fsstat_f_fstypename" >&5
36964 echo "${ECHO_T}$ac_cv_member_struct_fsstat_f_fstypename" >&6
36965 if test $ac_cv_member_struct_fsstat_f_fstypename = yes; then
36967 cat >>confdefs.h
<<_ACEOF
36968 #define HAVE_STRUCT_FSSTAT_F_FSTYPENAME 1
36975 # Determine how to get the list of mounted filesystems.
36976 ac_list_mounted_fs
=
36978 # If the getmntent function is available but not in the standard library,
36979 # make sure LIBS contains -lsun (on Irix4) or -lseq (on PTX).
36980 # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
36981 echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5
36982 echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
36983 if test "${ac_cv_lib_sun_getmntent+set}" = set; then
36984 echo $ECHO_N "(cached) $ECHO_C" >&6
36986 ac_check_lib_save_LIBS
=$LIBS
36988 cat >conftest.
$ac_ext <<_ACEOF
36989 #line $LINENO "configure"
36992 cat confdefs.h
>>conftest.
$ac_ext
36993 cat >>conftest.
$ac_ext <<_ACEOF
36994 /* end confdefs.h. */
36996 /* Override any gcc2 internal prototype to avoid an error. */
37000 /* We use char because int might match the return type of a gcc2
37001 builtin and then its argument prototype would still apply. */
37011 rm -f conftest.
$ac_objext conftest
$ac_exeext
37012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37013 (eval $ac_link) 2>&5
37015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37016 (exit $ac_status); } &&
37017 { ac_try
='test -s conftest$ac_exeext'
37018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37019 (eval $ac_try) 2>&5
37021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37022 (exit $ac_status); }; }; then
37023 ac_cv_lib_sun_getmntent
=yes
37025 echo "$as_me: failed program was:" >&5
37026 sed 's/^/| /' conftest.
$ac_ext >&5
37028 ac_cv_lib_sun_getmntent
=no
37030 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
37031 LIBS
=$ac_check_lib_save_LIBS
37033 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5
37034 echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
37035 if test $ac_cv_lib_sun_getmntent = yes; then
37038 echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5
37039 echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
37040 if test "${ac_cv_lib_seq_getmntent+set}" = set; then
37041 echo $ECHO_N "(cached) $ECHO_C" >&6
37043 ac_check_lib_save_LIBS
=$LIBS
37045 cat >conftest.
$ac_ext <<_ACEOF
37046 #line $LINENO "configure"
37049 cat confdefs.h
>>conftest.
$ac_ext
37050 cat >>conftest.
$ac_ext <<_ACEOF
37051 /* end confdefs.h. */
37053 /* Override any gcc2 internal prototype to avoid an error. */
37057 /* We use char because int might match the return type of a gcc2
37058 builtin and then its argument prototype would still apply. */
37068 rm -f conftest.
$ac_objext conftest
$ac_exeext
37069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37070 (eval $ac_link) 2>&5
37072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37073 (exit $ac_status); } &&
37074 { ac_try
='test -s conftest$ac_exeext'
37075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37076 (eval $ac_try) 2>&5
37078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37079 (exit $ac_status); }; }; then
37080 ac_cv_lib_seq_getmntent
=yes
37082 echo "$as_me: failed program was:" >&5
37083 sed 's/^/| /' conftest.
$ac_ext >&5
37085 ac_cv_lib_seq_getmntent
=no
37087 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
37088 LIBS
=$ac_check_lib_save_LIBS
37090 echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5
37091 echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
37092 if test $ac_cv_lib_seq_getmntent = yes; then
37095 echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5
37096 echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
37097 if test "${ac_cv_lib_gen_getmntent+set}" = set; then
37098 echo $ECHO_N "(cached) $ECHO_C" >&6
37100 ac_check_lib_save_LIBS
=$LIBS
37102 cat >conftest.
$ac_ext <<_ACEOF
37103 #line $LINENO "configure"
37106 cat confdefs.h
>>conftest.
$ac_ext
37107 cat >>conftest.
$ac_ext <<_ACEOF
37108 /* end confdefs.h. */
37110 /* Override any gcc2 internal prototype to avoid an error. */
37114 /* We use char because int might match the return type of a gcc2
37115 builtin and then its argument prototype would still apply. */
37125 rm -f conftest.
$ac_objext conftest
$ac_exeext
37126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37127 (eval $ac_link) 2>&5
37129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37130 (exit $ac_status); } &&
37131 { ac_try
='test -s conftest$ac_exeext'
37132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37133 (eval $ac_try) 2>&5
37135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37136 (exit $ac_status); }; }; then
37137 ac_cv_lib_gen_getmntent
=yes
37139 echo "$as_me: failed program was:" >&5
37140 sed 's/^/| /' conftest.
$ac_ext >&5
37142 ac_cv_lib_gen_getmntent
=no
37144 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
37145 LIBS
=$ac_check_lib_save_LIBS
37147 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5
37148 echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
37149 if test $ac_cv_lib_gen_getmntent = yes; then
37158 for ac_func
in getmntent
37160 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37161 echo "$as_me:$LINENO: checking for $ac_func" >&5
37162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37163 if eval "test \"\${$as_ac_var+set}\" = set"; then
37164 echo $ECHO_N "(cached) $ECHO_C" >&6
37166 cat >conftest.
$ac_ext <<_ACEOF
37167 #line $LINENO "configure"
37170 cat confdefs.h
>>conftest.
$ac_ext
37171 cat >>conftest.
$ac_ext <<_ACEOF
37172 /* end confdefs.h. */
37173 /* System header to define __stub macros and hopefully few prototypes,
37174 which can conflict with char $ac_func (); below.
37175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37176 <limits.h> exists even on freestanding compilers. */
37178 # include <limits.h>
37180 # include <assert.h>
37182 /* Override any gcc2 internal prototype to avoid an error. */
37187 /* We use char because int might match the return type of a gcc2
37188 builtin and then its argument prototype would still apply. */
37190 /* The GNU C library defines this for functions which it implements
37191 to always fail with ENOSYS. Some functions are actually named
37192 something starting with __ and the normal name is an alias. */
37193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37196 char (*f) () = $ac_func;
37205 return f != $ac_func;
37210 rm -f conftest.
$ac_objext conftest
$ac_exeext
37211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37212 (eval $ac_link) 2>&5
37214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37215 (exit $ac_status); } &&
37216 { ac_try
='test -s conftest$ac_exeext'
37217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37218 (eval $ac_try) 2>&5
37220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37221 (exit $ac_status); }; }; then
37222 eval "$as_ac_var=yes"
37224 echo "$as_me: failed program was:" >&5
37225 sed 's/^/| /' conftest.
$ac_ext >&5
37227 eval "$as_ac_var=no"
37229 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
37231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37233 if test `eval echo '${'$as_ac_var'}'` = yes; then
37234 cat >>confdefs.h
<<_ACEOF
37235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37243 # This test must precede the ones for getmntent because Unicos-9 is
37244 # reported to have the getmntent function, but its support is incompatible
37245 # with other getmntent implementations.
37247 # NOTE: Normally, I wouldn't use a check for system type as I've done for
37248 # `CRAY' below since that goes against the whole autoconf philosophy. But
37249 # I think there is too great a chance that some non-Cray system has a
37250 # function named listmntent to risk the false positive.
37252 if test -z "$ac_list_mounted_fs"; then
37254 echo "$as_me:$LINENO: checking for listmntent of Cray/Unicos-9" >&5
37255 echo $ECHO_N "checking for listmntent of Cray/Unicos-9... $ECHO_C" >&6
37256 if test "${fu_cv_sys_mounted_cray_listmntent+set}" = set; then
37257 echo $ECHO_N "(cached) $ECHO_C" >&6
37259 fu_cv_sys_mounted_cray_listmntent
=no
37260 cat >conftest.
$ac_ext <<_ACEOF
37261 #line $LINENO "configure"
37264 cat confdefs.h
>>conftest.
$ac_ext
37265 cat >>conftest.
$ac_ext <<_ACEOF
37266 /* end confdefs.h. */
37272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37273 $EGREP "yes" >/dev
/null
2>&1; then
37274 test $ac_cv_func_listmntent = yes \
37275 && fu_cv_sys_mounted_cray_listmntent
=yes
37284 echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_cray_listmntent" >&5
37285 echo "${ECHO_T}$fu_cv_sys_mounted_cray_listmntent" >&6
37286 if test $fu_cv_sys_mounted_cray_listmntent = yes; then
37287 ac_list_mounted_fs
=found
37289 cat >>confdefs.h
<<\_ACEOF
37290 #define MOUNTED_LISTMNTENT 1
37296 if test $ac_cv_func_getmntent = yes; then
37298 # This system has the getmntent function.
37299 # Determine whether it's the one-argument variant or the two-argument one.
37301 if test -z "$ac_list_mounted_fs"; then
37302 # 4.3BSD, SunOS, HP-UX, Dynix, Irix
37303 echo "$as_me:$LINENO: checking for one-argument getmntent function" >&5
37304 echo $ECHO_N "checking for one-argument getmntent function... $ECHO_C" >&6
37305 if test "${fu_cv_sys_mounted_getmntent1+set}" = set; then
37306 echo $ECHO_N "(cached) $ECHO_C" >&6
37308 cat >conftest.
$ac_ext <<_ACEOF
37309 #line $LINENO "configure"
37312 cat confdefs.h
>>conftest.
$ac_ext
37313 cat >>conftest.
$ac_ext <<_ACEOF
37314 /* end confdefs.h. */
37316 /* SunOS 4.1.x /usr/include/mntent.h needs this for FILE */
37319 #include <mntent.h>
37320 #if !defined MOUNTED
37321 # if defined _PATH_MOUNTED /* GNU libc */
37322 # define MOUNTED _PATH_MOUNTED
37324 # if defined MNT_MNTTAB /* HP-UX. */
37325 # define MOUNTED MNT_MNTTAB
37327 # if defined MNTTABNAME /* Dynix. */
37328 # define MOUNTED MNTTABNAME
37335 struct mntent *mnt = 0; char *table = MOUNTED;
37340 rm -f conftest.
$ac_objext
37341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37342 (eval $ac_compile) 2>&5
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); } &&
37346 { ac_try
='test -s conftest.$ac_objext'
37347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37348 (eval $ac_try) 2>&5
37350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37351 (exit $ac_status); }; }; then
37352 fu_cv_sys_mounted_getmntent1
=yes
37354 echo "$as_me: failed program was:" >&5
37355 sed 's/^/| /' conftest.
$ac_ext >&5
37357 fu_cv_sys_mounted_getmntent1
=no
37359 rm -f conftest.
$ac_objext conftest.
$ac_ext
37362 echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntent1" >&5
37363 echo "${ECHO_T}$fu_cv_sys_mounted_getmntent1" >&6
37364 if test $fu_cv_sys_mounted_getmntent1 = yes; then
37365 ac_list_mounted_fs
=found
37367 cat >>confdefs.h
<<\_ACEOF
37368 #define MOUNTED_GETMNTENT1 1
37374 if test -z "$ac_list_mounted_fs"; then
37376 echo "$as_me:$LINENO: checking for two-argument getmntent function" >&5
37377 echo $ECHO_N "checking for two-argument getmntent function... $ECHO_C" >&6
37378 if test "${fu_cv_sys_mounted_getmntent2+set}" = set; then
37379 echo $ECHO_N "(cached) $ECHO_C" >&6
37381 cat >conftest.
$ac_ext <<_ACEOF
37382 #line $LINENO "configure"
37385 cat confdefs.h
>>conftest.
$ac_ext
37386 cat >>conftest.
$ac_ext <<_ACEOF
37387 /* end confdefs.h. */
37388 #include <sys/mnttab.h>
37391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37392 $EGREP "getmntent" >/dev
/null
2>&1; then
37393 fu_cv_sys_mounted_getmntent2
=yes
37395 fu_cv_sys_mounted_getmntent2
=no
37401 echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntent2" >&5
37402 echo "${ECHO_T}$fu_cv_sys_mounted_getmntent2" >&6
37403 if test $fu_cv_sys_mounted_getmntent2 = yes; then
37404 ac_list_mounted_fs
=found
37406 cat >>confdefs.h
<<\_ACEOF
37407 #define MOUNTED_GETMNTENT2 1
37415 if test -z "$ac_list_mounted_fs"; then
37416 # DEC Alpha running OSF/1, and Apple Darwin 1.3.
37417 # powerpc-apple-darwin1.3.7 needs sys/param.h sys/ucred.h sys/fs_types.h
37419 echo "$as_me:$LINENO: checking for getfsstat function" >&5
37420 echo $ECHO_N "checking for getfsstat function... $ECHO_C" >&6
37421 if test "${fu_cv_sys_mounted_getfsstat+set}" = set; then
37422 echo $ECHO_N "(cached) $ECHO_C" >&6
37424 cat >conftest.
$ac_ext <<_ACEOF
37425 #line $LINENO "configure"
37428 cat confdefs.h
>>conftest.
$ac_ext
37429 cat >>conftest.
$ac_ext <<_ACEOF
37430 /* end confdefs.h. */
37432 #include <sys/types.h>
37433 #if HAVE_STRUCT_FSSTAT_F_FSTYPENAME
37434 # define FS_TYPE(Ent) ((Ent).f_fstypename)
37436 # define FS_TYPE(Ent) mnt_names[(Ent).f_type]
37438 $getfsstat_includes
37443 struct statfs *stats;
37444 int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT);
37445 char *t = FS_TYPE (*stats);
37450 rm -f conftest.
$ac_objext conftest
$ac_exeext
37451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37452 (eval $ac_link) 2>&5
37454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37455 (exit $ac_status); } &&
37456 { ac_try
='test -s conftest$ac_exeext'
37457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37458 (eval $ac_try) 2>&5
37460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37461 (exit $ac_status); }; }; then
37462 fu_cv_sys_mounted_getfsstat
=yes
37464 echo "$as_me: failed program was:" >&5
37465 sed 's/^/| /' conftest.
$ac_ext >&5
37467 fu_cv_sys_mounted_getfsstat
=no
37469 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
37472 echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getfsstat" >&5
37473 echo "${ECHO_T}$fu_cv_sys_mounted_getfsstat" >&6
37474 if test $fu_cv_sys_mounted_getfsstat = yes; then
37475 ac_list_mounted_fs
=found
37477 cat >>confdefs.h
<<\_ACEOF
37478 #define MOUNTED_GETFSSTAT 1
37484 if test -z "$ac_list_mounted_fs"; then
37486 echo "$as_me:$LINENO: checking for mntctl function and struct vmount" >&5
37487 echo $ECHO_N "checking for mntctl function and struct vmount... $ECHO_C" >&6
37488 if test "${fu_cv_sys_mounted_vmount+set}" = set; then
37489 echo $ECHO_N "(cached) $ECHO_C" >&6
37491 cat >conftest.
$ac_ext <<_ACEOF
37492 #line $LINENO "configure"
37495 cat confdefs.h
>>conftest.
$ac_ext
37496 cat >>conftest.
$ac_ext <<_ACEOF
37497 /* end confdefs.h. */
37498 #include <fshelp.h>
37500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37503 grep -v '^ *+' conftest.er1
>conftest.err
37505 cat conftest.err
>&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); } >/dev
/null
; then
37508 if test -s conftest.err
; then
37509 ac_cpp_err
=$ac_c_preproc_warn_flag
37516 if test -z "$ac_cpp_err"; then
37517 fu_cv_sys_mounted_vmount
=yes
37519 echo "$as_me: failed program was:" >&5
37520 sed 's/^/| /' conftest.
$ac_ext >&5
37522 fu_cv_sys_mounted_vmount
=no
37524 rm -f conftest.err conftest.
$ac_ext
37527 echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_vmount" >&5
37528 echo "${ECHO_T}$fu_cv_sys_mounted_vmount" >&6
37529 if test $fu_cv_sys_mounted_vmount = yes; then
37530 ac_list_mounted_fs
=found
37532 cat >>confdefs.h
<<\_ACEOF
37533 #define MOUNTED_VMOUNT 1
37539 if test -z "$ac_list_mounted_fs"; then
37541 echo "$as_me:$LINENO: checking for FIXME existence of three headers" >&5
37542 echo $ECHO_N "checking for FIXME existence of three headers... $ECHO_C" >&6
37543 if test "${fu_cv_sys_mounted_fread_fstyp+set}" = set; then
37544 echo $ECHO_N "(cached) $ECHO_C" >&6
37546 cat >conftest.
$ac_ext <<_ACEOF
37547 #line $LINENO "configure"
37550 cat confdefs.h
>>conftest.
$ac_ext
37551 cat >>conftest.
$ac_ext <<_ACEOF
37552 /* end confdefs.h. */
37554 #include <sys/statfs.h>
37555 #include <sys/fstyp.h>
37556 #include <mnttab.h>
37558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37559 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37561 grep -v '^ *+' conftest.er1
>conftest.err
37563 cat conftest.err
>&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); } >/dev
/null
; then
37566 if test -s conftest.err
; then
37567 ac_cpp_err
=$ac_c_preproc_warn_flag
37574 if test -z "$ac_cpp_err"; then
37575 fu_cv_sys_mounted_fread_fstyp
=yes
37577 echo "$as_me: failed program was:" >&5
37578 sed 's/^/| /' conftest.
$ac_ext >&5
37580 fu_cv_sys_mounted_fread_fstyp
=no
37582 rm -f conftest.err conftest.
$ac_ext
37585 echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_fread_fstyp" >&5
37586 echo "${ECHO_T}$fu_cv_sys_mounted_fread_fstyp" >&6
37587 if test $fu_cv_sys_mounted_fread_fstyp = yes; then
37588 ac_list_mounted_fs
=found
37590 cat >>confdefs.h
<<\_ACEOF
37591 #define MOUNTED_FREAD_FSTYP 1
37597 if test -z "$ac_list_mounted_fs"; then
37598 # 4.4BSD and DEC OSF/1.
37599 echo "$as_me:$LINENO: checking for getmntinfo function" >&5
37600 echo $ECHO_N "checking for getmntinfo function... $ECHO_C" >&6
37601 if test "${fu_cv_sys_mounted_getmntinfo+set}" = set; then
37602 echo $ECHO_N "(cached) $ECHO_C" >&6
37605 test "$ac_cv_func_getmntinfo" = yes \
37606 && fu_cv_sys_mounted_getmntinfo
=yes \
37607 || fu_cv_sys_mounted_getmntinfo
=no
37611 echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntinfo" >&5
37612 echo "${ECHO_T}$fu_cv_sys_mounted_getmntinfo" >&6
37613 if test $fu_cv_sys_mounted_getmntinfo = yes; then
37614 ac_list_mounted_fs
=found
37616 cat >>confdefs.h
<<\_ACEOF
37617 #define MOUNTED_GETMNTINFO 1
37623 if test -z "$ac_list_mounted_fs"; then
37625 echo "$as_me:$LINENO: checking for getmnt function" >&5
37626 echo $ECHO_N "checking for getmnt function... $ECHO_C" >&6
37627 if test "${fu_cv_sys_mounted_getmnt+set}" = set; then
37628 echo $ECHO_N "(cached) $ECHO_C" >&6
37630 cat >conftest.
$ac_ext <<_ACEOF
37631 #line $LINENO "configure"
37634 cat confdefs.h
>>conftest.
$ac_ext
37635 cat >>conftest.
$ac_ext <<_ACEOF
37636 /* end confdefs.h. */
37638 #include <sys/fs_types.h>
37639 #include <sys/mount.h>
37641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37642 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37644 grep -v '^ *+' conftest.er1
>conftest.err
37646 cat conftest.err
>&5
37647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648 (exit $ac_status); } >/dev
/null
; then
37649 if test -s conftest.err
; then
37650 ac_cpp_err
=$ac_c_preproc_warn_flag
37657 if test -z "$ac_cpp_err"; then
37658 fu_cv_sys_mounted_getmnt
=yes
37660 echo "$as_me: failed program was:" >&5
37661 sed 's/^/| /' conftest.
$ac_ext >&5
37663 fu_cv_sys_mounted_getmnt
=no
37665 rm -f conftest.err conftest.
$ac_ext
37668 echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmnt" >&5
37669 echo "${ECHO_T}$fu_cv_sys_mounted_getmnt" >&6
37670 if test $fu_cv_sys_mounted_getmnt = yes; then
37671 ac_list_mounted_fs
=found
37673 cat >>confdefs.h
<<\_ACEOF
37674 #define MOUNTED_GETMNT 1
37680 if test -z "$ac_list_mounted_fs"; then
37684 for ac_func
in next_dev fs_stat_dev
37686 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37687 echo "$as_me:$LINENO: checking for $ac_func" >&5
37688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37689 if eval "test \"\${$as_ac_var+set}\" = set"; then
37690 echo $ECHO_N "(cached) $ECHO_C" >&6
37692 cat >conftest.
$ac_ext <<_ACEOF
37693 #line $LINENO "configure"
37696 cat confdefs.h
>>conftest.
$ac_ext
37697 cat >>conftest.
$ac_ext <<_ACEOF
37698 /* end confdefs.h. */
37699 /* System header to define __stub macros and hopefully few prototypes,
37700 which can conflict with char $ac_func (); below.
37701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37702 <limits.h> exists even on freestanding compilers. */
37704 # include <limits.h>
37706 # include <assert.h>
37708 /* Override any gcc2 internal prototype to avoid an error. */
37713 /* We use char because int might match the return type of a gcc2
37714 builtin and then its argument prototype would still apply. */
37716 /* The GNU C library defines this for functions which it implements
37717 to always fail with ENOSYS. Some functions are actually named
37718 something starting with __ and the normal name is an alias. */
37719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37722 char (*f) () = $ac_func;
37731 return f != $ac_func;
37736 rm -f conftest.
$ac_objext conftest
$ac_exeext
37737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37738 (eval $ac_link) 2>&5
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); } &&
37742 { ac_try
='test -s conftest$ac_exeext'
37743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37744 (eval $ac_try) 2>&5
37746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37747 (exit $ac_status); }; }; then
37748 eval "$as_ac_var=yes"
37750 echo "$as_me: failed program was:" >&5
37751 sed 's/^/| /' conftest.
$ac_ext >&5
37753 eval "$as_ac_var=no"
37755 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
37757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37759 if test `eval echo '${'$as_ac_var'}'` = yes; then
37760 cat >>confdefs.h
<<_ACEOF
37761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37768 for ac_header
in fs_info.h
37770 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37772 echo "$as_me:$LINENO: checking for $ac_header" >&5
37773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37775 echo $ECHO_N "(cached) $ECHO_C" >&6
37777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37780 # Is the header compilable?
37781 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37782 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37783 cat >conftest.
$ac_ext <<_ACEOF
37784 #line $LINENO "configure"
37787 cat confdefs.h
>>conftest.
$ac_ext
37788 cat >>conftest.
$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37790 $ac_includes_default
37791 #include <$ac_header>
37793 rm -f conftest.
$ac_objext
37794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37795 (eval $ac_compile) 2>&5
37797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798 (exit $ac_status); } &&
37799 { ac_try
='test -s conftest.$ac_objext'
37800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37801 (eval $ac_try) 2>&5
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); }; }; then
37805 ac_header_compiler
=yes
37807 echo "$as_me: failed program was:" >&5
37808 sed 's/^/| /' conftest.
$ac_ext >&5
37810 ac_header_compiler
=no
37812 rm -f conftest.
$ac_objext conftest.
$ac_ext
37813 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37814 echo "${ECHO_T}$ac_header_compiler" >&6
37816 # Is the header present?
37817 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37818 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37819 cat >conftest.
$ac_ext <<_ACEOF
37820 #line $LINENO "configure"
37823 cat confdefs.h
>>conftest.
$ac_ext
37824 cat >>conftest.
$ac_ext <<_ACEOF
37825 /* end confdefs.h. */
37826 #include <$ac_header>
37828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37829 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37831 grep -v '^ *+' conftest.er1
>conftest.err
37833 cat conftest.err
>&5
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); } >/dev
/null
; then
37836 if test -s conftest.err
; then
37837 ac_cpp_err
=$ac_c_preproc_warn_flag
37844 if test -z "$ac_cpp_err"; then
37845 ac_header_preproc
=yes
37847 echo "$as_me: failed program was:" >&5
37848 sed 's/^/| /' conftest.
$ac_ext >&5
37850 ac_header_preproc
=no
37852 rm -f conftest.err conftest.
$ac_ext
37853 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37854 echo "${ECHO_T}$ac_header_preproc" >&6
37856 # So? What about this header?
37857 case $ac_header_compiler:$ac_header_preproc in
37859 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37860 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37862 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37865 ## ------------------------------------ ##
37866 ## Report this to bug-autoconf@gnu.org. ##
37867 ## ------------------------------------ ##
37870 sed "s/^/$as_me: WARNING: /" >&2
37873 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37874 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37875 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37876 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37881 ## ------------------------------------ ##
37882 ## Report this to bug-autoconf@gnu.org. ##
37883 ## ------------------------------------ ##
37886 sed "s/^/$as_me: WARNING: /" >&2
37889 echo "$as_me:$LINENO: checking for $ac_header" >&5
37890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37892 echo $ECHO_N "(cached) $ECHO_C" >&6
37894 eval "$as_ac_Header=$ac_header_preproc"
37896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37900 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37901 cat >>confdefs.h
<<_ACEOF
37902 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37909 echo "$as_me:$LINENO: checking for BEOS mounted file system support functions" >&5
37910 echo $ECHO_N "checking for BEOS mounted file system support functions... $ECHO_C" >&6
37911 if test $ac_cv_header_fs_info_h = yes \
37912 && test $ac_cv_func_next_dev = yes \
37913 && test $ac_cv_func_fs_stat_dev = yes; then
37918 echo "$as_me:$LINENO: result: $fu_result" >&5
37919 echo "${ECHO_T}$fu_result" >&6
37920 if test $fu_result = yes; then
37921 ac_list_mounted_fs
=found
37923 cat >>confdefs.h
<<\_ACEOF
37924 #define MOUNTED_FS_STAT_DEV 1
37930 if test -z "$ac_list_mounted_fs"; then
37932 echo "$as_me:$LINENO: checking whether it is possible to resort to fread on /etc/mnttab" >&5
37933 echo $ECHO_N "checking whether it is possible to resort to fread on /etc/mnttab... $ECHO_C" >&6
37934 if test "${fu_cv_sys_mounted_fread+set}" = set; then
37935 echo $ECHO_N "(cached) $ECHO_C" >&6
37937 cat >conftest.
$ac_ext <<_ACEOF
37938 #line $LINENO "configure"
37941 cat confdefs.h
>>conftest.
$ac_ext
37942 cat >>conftest.
$ac_ext <<_ACEOF
37943 /* end confdefs.h. */
37944 #include <mnttab.h>
37946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37947 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37949 grep -v '^ *+' conftest.er1
>conftest.err
37951 cat conftest.err
>&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } >/dev
/null
; then
37954 if test -s conftest.err
; then
37955 ac_cpp_err
=$ac_c_preproc_warn_flag
37962 if test -z "$ac_cpp_err"; then
37963 fu_cv_sys_mounted_fread
=yes
37965 echo "$as_me: failed program was:" >&5
37966 sed 's/^/| /' conftest.
$ac_ext >&5
37968 fu_cv_sys_mounted_fread
=no
37970 rm -f conftest.err conftest.
$ac_ext
37973 echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_fread" >&5
37974 echo "${ECHO_T}$fu_cv_sys_mounted_fread" >&6
37975 if test $fu_cv_sys_mounted_fread = yes; then
37976 ac_list_mounted_fs
=found
37978 cat >>confdefs.h
<<\_ACEOF
37979 #define MOUNTED_FREAD 1
37985 if test -z "$ac_list_mounted_fs"; then
37986 { { echo "$as_me:$LINENO: error: could not determine how to read list of mounted filesystems" >&5
37987 echo "$as_me: error: could not determine how to read list of mounted filesystems" >&2;}
37988 { (exit 1); exit 1; }; }
37989 # FIXME -- no need to abort building the whole package
37990 # Can't build mountlist.c or anything that needs its functions
37993 if test $ac_list_mounted_fs = found
; then
37994 list_mounted_fs
=yes
38002 echo "$as_me:$LINENO: checking for f_fstypename in struct statfs" >&5
38003 echo $ECHO_N "checking for f_fstypename in struct statfs... $ECHO_C" >&6
38004 if test "${fu_cv_sys_f_fstypename_in_statfs+set}" = set; then
38005 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 cat >conftest.
$ac_ext <<_ACEOF
38009 #line $LINENO "configure"
38012 cat confdefs.h
>>conftest.
$ac_ext
38013 cat >>conftest.
$ac_ext <<_ACEOF
38014 /* end confdefs.h. */
38016 #include <sys/param.h>
38017 #include <sys/types.h>
38018 #include <sys/mount.h>
38023 struct statfs s; int i = sizeof s.f_fstypename;
38028 rm -f conftest.
$ac_objext
38029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38030 (eval $ac_compile) 2>&5
38032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38033 (exit $ac_status); } &&
38034 { ac_try
='test -s conftest.$ac_objext'
38035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38036 (eval $ac_try) 2>&5
38038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38039 (exit $ac_status); }; }; then
38040 fu_cv_sys_f_fstypename_in_statfs
=yes
38042 echo "$as_me: failed program was:" >&5
38043 sed 's/^/| /' conftest.
$ac_ext >&5
38045 fu_cv_sys_f_fstypename_in_statfs
=no
38048 rm -f conftest.
$ac_objext conftest.
$ac_ext
38052 echo "$as_me:$LINENO: result: $fu_cv_sys_f_fstypename_in_statfs" >&5
38053 echo "${ECHO_T}$fu_cv_sys_f_fstypename_in_statfs" >&6
38055 if test $fu_cv_sys_f_fstypename_in_statfs = yes; then
38057 cat >>confdefs.h
<<\_ACEOF
38058 #define HAVE_F_FSTYPENAME_IN_STATFS 1
38066 echo "checking how to get filesystem space usage..."
38067 ac_fsusage_space
=no
38069 # Perform only the link test since it seems there are no variants of the
38070 # statvfs function. This check is more than just AC_CHECK_FUNCS(statvfs)
38071 # because that got a false positive on SCO OSR5. Adding the declaration
38072 # of a `struct statvfs' causes this test to fail (as it should) on such
38073 # systems. That system is reported to work fine with STAT_STATFS4 which
38074 # is what it gets when this test fails.
38075 if test $ac_fsusage_space = no
; then
38077 echo "$as_me:$LINENO: checking for statvfs function (SVR4)" >&5
38078 echo $ECHO_N "checking for statvfs function (SVR4)... $ECHO_C" >&6
38079 if test "${fu_cv_sys_stat_statvfs+set}" = set; then
38080 echo $ECHO_N "(cached) $ECHO_C" >&6
38082 cat >conftest.
$ac_ext <<_ACEOF
38083 #line $LINENO "configure"
38086 cat confdefs.h
>>conftest.
$ac_ext
38087 cat >>conftest.
$ac_ext <<_ACEOF
38088 /* end confdefs.h. */
38089 #include <sys/types.h>
38091 Do not use statvfs on systems with GNU libc, because that function stats
38092 all preceding entries in /proc/mounts, and that makes df hang if even
38093 one of the corresponding file systems is hard-mounted, but not available.
38095 #include <sys/statvfs.h>
38099 struct statvfs fsd; statvfs (0, &fsd);
38104 rm -f conftest.
$ac_objext conftest
$ac_exeext
38105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38106 (eval $ac_link) 2>&5
38108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38109 (exit $ac_status); } &&
38110 { ac_try
='test -s conftest$ac_exeext'
38111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38112 (eval $ac_try) 2>&5
38114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38115 (exit $ac_status); }; }; then
38116 fu_cv_sys_stat_statvfs
=yes
38118 echo "$as_me: failed program was:" >&5
38119 sed 's/^/| /' conftest.
$ac_ext >&5
38121 fu_cv_sys_stat_statvfs
=no
38123 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
38125 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statvfs" >&5
38126 echo "${ECHO_T}$fu_cv_sys_stat_statvfs" >&6
38127 if test $fu_cv_sys_stat_statvfs = yes; then
38128 ac_fsusage_space
=yes
38130 cat >>confdefs.h
<<\_ACEOF
38131 #define STAT_STATVFS 1
38137 if test $ac_fsusage_space = no
; then
38138 # DEC Alpha running OSF/1
38139 echo "$as_me:$LINENO: checking for 3-argument statfs function (DEC OSF/1)" >&5
38140 echo $ECHO_N "checking for 3-argument statfs function (DEC OSF/1)... $ECHO_C" >&6
38141 if test "${fu_cv_sys_stat_statfs3_osf1+set}" = set; then
38142 echo $ECHO_N "(cached) $ECHO_C" >&6
38144 if test "$cross_compiling" = yes; then
38145 fu_cv_sys_stat_statfs3_osf1
=no
38147 cat >conftest.
$ac_ext <<_ACEOF
38148 #line $LINENO "configure"
38151 cat confdefs.h
>>conftest.
$ac_ext
38152 cat >>conftest.
$ac_ext <<_ACEOF
38153 /* end confdefs.h. */
38155 #include <sys/param.h>
38156 #include <sys/types.h>
38157 #include <sys/mount.h>
38162 exit (statfs (".", &fsd, sizeof (struct statfs)));
38165 rm -f conftest
$ac_exeext
38166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38167 (eval $ac_link) 2>&5
38169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38170 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38172 (eval $ac_try) 2>&5
38174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38175 (exit $ac_status); }; }; then
38176 fu_cv_sys_stat_statfs3_osf1
=yes
38178 echo "$as_me: program exited with status $ac_status" >&5
38179 echo "$as_me: failed program was:" >&5
38180 sed 's/^/| /' conftest.
$ac_ext >&5
38182 ( exit $ac_status )
38183 fu_cv_sys_stat_statfs3_osf1
=no
38185 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
38189 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs3_osf1" >&5
38190 echo "${ECHO_T}$fu_cv_sys_stat_statfs3_osf1" >&6
38191 if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
38192 ac_fsusage_space
=yes
38194 cat >>confdefs.h
<<\_ACEOF
38195 #define STAT_STATFS3_OSF1 1
38201 if test $ac_fsusage_space = no
; then
38203 echo "$as_me:$LINENO: checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)" >&5
38204 echo $ECHO_N "checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... $ECHO_C" >&6
38205 if test "${fu_cv_sys_stat_statfs2_bsize+set}" = set; then
38206 echo $ECHO_N "(cached) $ECHO_C" >&6
38208 if test "$cross_compiling" = yes; then
38209 fu_cv_sys_stat_statfs2_bsize
=no
38211 cat >conftest.
$ac_ext <<_ACEOF
38212 #line $LINENO "configure"
38215 cat confdefs.h
>>conftest.
$ac_ext
38216 cat >>conftest.
$ac_ext <<_ACEOF
38217 /* end confdefs.h. */
38219 #ifdef HAVE_SYS_PARAM_H
38220 #include <sys/param.h>
38222 #ifdef HAVE_SYS_MOUNT_H
38223 #include <sys/mount.h>
38225 #ifdef HAVE_SYS_VFS_H
38226 #include <sys/vfs.h>
38232 exit (statfs (".", &fsd));
38235 rm -f conftest
$ac_exeext
38236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38237 (eval $ac_link) 2>&5
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38242 (eval $ac_try) 2>&5
38244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245 (exit $ac_status); }; }; then
38246 fu_cv_sys_stat_statfs2_bsize
=yes
38248 echo "$as_me: program exited with status $ac_status" >&5
38249 echo "$as_me: failed program was:" >&5
38250 sed 's/^/| /' conftest.
$ac_ext >&5
38252 ( exit $ac_status )
38253 fu_cv_sys_stat_statfs2_bsize
=no
38255 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
38259 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_bsize" >&5
38260 echo "${ECHO_T}$fu_cv_sys_stat_statfs2_bsize" >&6
38261 if test $fu_cv_sys_stat_statfs2_bsize = yes; then
38262 ac_fsusage_space
=yes
38264 cat >>confdefs.h
<<\_ACEOF
38265 #define STAT_STATFS2_BSIZE 1
38271 if test $ac_fsusage_space = no
; then
38273 echo "$as_me:$LINENO: checking for four-argument statfs (AIX-3.2.5, SVR3)" >&5
38274 echo $ECHO_N "checking for four-argument statfs (AIX-3.2.5, SVR3)... $ECHO_C" >&6
38275 if test "${fu_cv_sys_stat_statfs4+set}" = set; then
38276 echo $ECHO_N "(cached) $ECHO_C" >&6
38278 if test "$cross_compiling" = yes; then
38279 fu_cv_sys_stat_statfs4
=no
38281 cat >conftest.
$ac_ext <<_ACEOF
38282 #line $LINENO "configure"
38285 cat confdefs.h
>>conftest.
$ac_ext
38286 cat >>conftest.
$ac_ext <<_ACEOF
38287 /* end confdefs.h. */
38288 #include <sys/types.h>
38289 #include <sys/statfs.h>
38293 exit (statfs (".", &fsd, sizeof fsd, 0));
38296 rm -f conftest
$ac_exeext
38297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38298 (eval $ac_link) 2>&5
38300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38301 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38303 (eval $ac_try) 2>&5
38305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38306 (exit $ac_status); }; }; then
38307 fu_cv_sys_stat_statfs4
=yes
38309 echo "$as_me: program exited with status $ac_status" >&5
38310 echo "$as_me: failed program was:" >&5
38311 sed 's/^/| /' conftest.
$ac_ext >&5
38313 ( exit $ac_status )
38314 fu_cv_sys_stat_statfs4
=no
38316 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
38320 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs4" >&5
38321 echo "${ECHO_T}$fu_cv_sys_stat_statfs4" >&6
38322 if test $fu_cv_sys_stat_statfs4 = yes; then
38323 ac_fsusage_space
=yes
38325 cat >>confdefs.h
<<\_ACEOF
38326 #define STAT_STATFS4 1
38332 if test $ac_fsusage_space = no
; then
38333 # 4.4BSD and NetBSD
38334 echo "$as_me:$LINENO: checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)" >&5
38335 echo $ECHO_N "checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... $ECHO_C" >&6
38336 if test "${fu_cv_sys_stat_statfs2_fsize+set}" = set; then
38337 echo $ECHO_N "(cached) $ECHO_C" >&6
38339 if test "$cross_compiling" = yes; then
38340 fu_cv_sys_stat_statfs2_fsize
=no
38342 cat >conftest.
$ac_ext <<_ACEOF
38343 #line $LINENO "configure"
38346 cat confdefs.h
>>conftest.
$ac_ext
38347 cat >>conftest.
$ac_ext <<_ACEOF
38348 /* end confdefs.h. */
38349 #include <sys/types.h>
38350 #ifdef HAVE_SYS_PARAM_H
38351 #include <sys/param.h>
38353 #ifdef HAVE_SYS_MOUNT_H
38354 #include <sys/mount.h>
38360 exit (statfs (".", &fsd));
38363 rm -f conftest
$ac_exeext
38364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38365 (eval $ac_link) 2>&5
38367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38368 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38370 (eval $ac_try) 2>&5
38372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38373 (exit $ac_status); }; }; then
38374 fu_cv_sys_stat_statfs2_fsize
=yes
38376 echo "$as_me: program exited with status $ac_status" >&5
38377 echo "$as_me: failed program was:" >&5
38378 sed 's/^/| /' conftest.
$ac_ext >&5
38380 ( exit $ac_status )
38381 fu_cv_sys_stat_statfs2_fsize
=no
38383 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
38387 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_fsize" >&5
38388 echo "${ECHO_T}$fu_cv_sys_stat_statfs2_fsize" >&6
38389 if test $fu_cv_sys_stat_statfs2_fsize = yes; then
38390 ac_fsusage_space
=yes
38392 cat >>confdefs.h
<<\_ACEOF
38393 #define STAT_STATFS2_FSIZE 1
38399 if test $ac_fsusage_space = no
; then
38401 echo "$as_me:$LINENO: checking for two-argument statfs with struct fs_data (Ultrix)" >&5
38402 echo $ECHO_N "checking for two-argument statfs with struct fs_data (Ultrix)... $ECHO_C" >&6
38403 if test "${fu_cv_sys_stat_fs_data+set}" = set; then
38404 echo $ECHO_N "(cached) $ECHO_C" >&6
38406 if test "$cross_compiling" = yes; then
38407 fu_cv_sys_stat_fs_data
=no
38409 cat >conftest.
$ac_ext <<_ACEOF
38410 #line $LINENO "configure"
38413 cat confdefs.h
>>conftest.
$ac_ext
38414 cat >>conftest.
$ac_ext <<_ACEOF
38415 /* end confdefs.h. */
38416 #include <sys/types.h>
38417 #ifdef HAVE_SYS_PARAM_H
38418 #include <sys/param.h>
38420 #ifdef HAVE_SYS_MOUNT_H
38421 #include <sys/mount.h>
38423 #ifdef HAVE_SYS_FS_TYPES_H
38424 #include <sys/fs_types.h>
38428 struct fs_data fsd;
38429 /* Ultrix's statfs returns 1 for success,
38430 0 for not mounted, -1 for failure. */
38431 exit (statfs (".", &fsd) != 1);
38434 rm -f conftest
$ac_exeext
38435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38436 (eval $ac_link) 2>&5
38438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38439 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38441 (eval $ac_try) 2>&5
38443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444 (exit $ac_status); }; }; then
38445 fu_cv_sys_stat_fs_data
=yes
38447 echo "$as_me: program exited with status $ac_status" >&5
38448 echo "$as_me: failed program was:" >&5
38449 sed 's/^/| /' conftest.
$ac_ext >&5
38451 ( exit $ac_status )
38452 fu_cv_sys_stat_fs_data
=no
38454 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
38458 echo "$as_me:$LINENO: result: $fu_cv_sys_stat_fs_data" >&5
38459 echo "${ECHO_T}$fu_cv_sys_stat_fs_data" >&6
38460 if test $fu_cv_sys_stat_fs_data = yes; then
38461 ac_fsusage_space
=yes
38463 cat >>confdefs.h
<<\_ACEOF
38464 #define STAT_STATFS2_FS_DATA 1
38470 if test $ac_fsusage_space = no
; then
38472 cat >conftest.
$ac_ext <<_ACEOF
38473 #line $LINENO "configure"
38476 cat confdefs.h
>>conftest.
$ac_ext
38477 cat >>conftest.
$ac_ext <<_ACEOF
38478 /* end confdefs.h. */
38479 #include <sys/filsys.h>
38482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38483 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38485 grep -v '^ *+' conftest.er1
>conftest.err
38487 cat conftest.err
>&5
38488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38489 (exit $ac_status); } >/dev
/null
; then
38490 if test -s conftest.err
; then
38491 ac_cpp_err
=$ac_c_preproc_warn_flag
38498 if test -z "$ac_cpp_err"; then
38500 cat >>confdefs.h
<<\_ACEOF
38501 #define STAT_READ_FILSYS 1
38504 ac_fsusage_space
=yes
38506 echo "$as_me: failed program was:" >&5
38507 sed 's/^/| /' conftest.
$ac_ext >&5
38511 rm -f conftest.err conftest.
$ac_ext
38514 if test $ac_fsusage_space = yes; then
38522 if test $list_mounted_fs = yes && test $space = yes; then
38524 LIBOBJS
="$LIBOBJS fsusage.$ac_objext"
38525 LIBOBJS
="$LIBOBJS mountlist.$ac_objext"
38532 echo "$as_me:$LINENO: checking whether termios.h defines TIOCGWINSZ" >&5
38533 echo $ECHO_N "checking whether termios.h defines TIOCGWINSZ... $ECHO_C" >&6
38534 if test "${ac_cv_sys_tiocgwinsz_in_termios_h+set}" = set; then
38535 echo $ECHO_N "(cached) $ECHO_C" >&6
38537 cat >conftest.
$ac_ext <<_ACEOF
38538 #line $LINENO "configure"
38541 cat confdefs.h
>>conftest.
$ac_ext
38542 cat >>conftest.
$ac_ext <<_ACEOF
38543 /* end confdefs.h. */
38544 #include <sys/types.h>
38545 #include <termios.h>
38551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
38552 $EGREP "yes" >/dev
/null
2>&1; then
38553 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
38555 ac_cv_sys_tiocgwinsz_in_termios_h
=no
38560 echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
38561 echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_termios_h" >&6
38563 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
38564 echo "$as_me:$LINENO: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
38565 echo $ECHO_N "checking whether sys/ioctl.h defines TIOCGWINSZ... $ECHO_C" >&6
38566 if test "${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+set}" = set; then
38567 echo $ECHO_N "(cached) $ECHO_C" >&6
38569 cat >conftest.
$ac_ext <<_ACEOF
38570 #line $LINENO "configure"
38573 cat confdefs.h
>>conftest.
$ac_ext
38574 cat >>conftest.
$ac_ext <<_ACEOF
38575 /* end confdefs.h. */
38576 #include <sys/types.h>
38577 #include <sys/ioctl.h>
38583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
38584 $EGREP "yes" >/dev
/null
2>&1; then
38585 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
38587 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
38592 echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
38593 echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6
38595 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
38597 cat >>confdefs.h
<<\_ACEOF
38598 #define GWINSZ_IN_SYS_IOCTL 1
38604 echo "$as_me:$LINENO: checking POSIX termios" >&5
38605 echo $ECHO_N "checking POSIX termios... $ECHO_C" >&6
38606 if test "${ac_cv_sys_posix_termios+set}" = set; then
38607 echo $ECHO_N "(cached) $ECHO_C" >&6
38609 cat >conftest.
$ac_ext <<_ACEOF
38610 #line $LINENO "configure"
38613 cat confdefs.h
>>conftest.
$ac_ext
38614 cat >>conftest.
$ac_ext <<_ACEOF
38615 /* end confdefs.h. */
38616 #include <sys/types.h>
38617 #include <unistd.h>
38618 #include <termios.h>
38623 /* SunOS 4.0.3 has termios.h but not the library calls. */
38629 rm -f conftest.
$ac_objext conftest
$ac_exeext
38630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38631 (eval $ac_link) 2>&5
38633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38634 (exit $ac_status); } &&
38635 { ac_try
='test -s conftest$ac_exeext'
38636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38637 (eval $ac_try) 2>&5
38639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38640 (exit $ac_status); }; }; then
38641 ac_cv_sys_posix_termios
=yes
38643 echo "$as_me: failed program was:" >&5
38644 sed 's/^/| /' conftest.
$ac_ext >&5
38646 ac_cv_sys_posix_termios
=no
38648 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
38650 echo "$as_me:$LINENO: result: $ac_cv_sys_posix_termios" >&5
38651 echo "${ECHO_T}$ac_cv_sys_posix_termios" >&6
38654 echo "$as_me:$LINENO: checking whether use of struct winsize requires sys/ptem.h" >&5
38655 echo $ECHO_N "checking whether use of struct winsize requires sys/ptem.h... $ECHO_C" >&6
38656 if test "${jm_cv_sys_struct_winsize_needs_sys_ptem_h+set}" = set; then
38657 echo $ECHO_N "(cached) $ECHO_C" >&6
38659 jm_cv_sys_struct_winsize_needs_sys_ptem_h
=yes
38660 if test $ac_cv_sys_posix_termios = yes; then
38661 cat >conftest.
$ac_ext <<_ACEOF
38662 #line $LINENO "configure"
38665 cat confdefs.h
>>conftest.
$ac_ext
38666 cat >>conftest.
$ac_ext <<_ACEOF
38667 /* end confdefs.h. */
38668 #include <termios.h>
38673 jm_cv_sys_struct_winsize_needs_sys_ptem_h=no
38678 rm -f conftest.
$ac_objext
38679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38680 (eval $ac_compile) 2>&5
38682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38683 (exit $ac_status); } &&
38684 { ac_try
='test -s conftest.$ac_objext'
38685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38686 (eval $ac_try) 2>&5
38688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689 (exit $ac_status); }; }; then
38692 echo "$as_me: failed program was:" >&5
38693 sed 's/^/| /' conftest.
$ac_ext >&5
38696 rm -f conftest.
$ac_objext conftest.
$ac_ext
38698 if test $jm_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
38699 cat >conftest.
$ac_ext <<_ACEOF
38700 #line $LINENO "configure"
38703 cat confdefs.h
>>conftest.
$ac_ext
38704 cat >>conftest.
$ac_ext <<_ACEOF
38705 /* end confdefs.h. */
38706 #include <sys/ptem.h>
38715 rm -f conftest.
$ac_objext
38716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38717 (eval $ac_compile) 2>&5
38719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38720 (exit $ac_status); } &&
38721 { ac_try
='test -s conftest.$ac_objext'
38722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38723 (eval $ac_try) 2>&5
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); }; }; then
38729 echo "$as_me: failed program was:" >&5
38730 sed 's/^/| /' conftest.
$ac_ext >&5
38732 jm_cv_sys_struct_winsize_needs_sys_ptem_h
=no
38734 rm -f conftest.
$ac_objext conftest.
$ac_ext
38737 echo "$as_me:$LINENO: result: $jm_cv_sys_struct_winsize_needs_sys_ptem_h" >&5
38738 echo "${ECHO_T}$jm_cv_sys_struct_winsize_needs_sys_ptem_h" >&6
38739 if test $jm_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
38741 cat >>confdefs.h
<<\_ACEOF
38742 #define WINSIZE_IN_PTEM 1
38747 # Check for SunOS statfs brokenness wrt partitions 2GB and larger.
38748 # If <sys/vfs.h> exists and struct statfs has a member named f_spare,
38749 # enable the work-around code in fsusage.c.
38750 echo "$as_me:$LINENO: checking for statfs that truncates block counts" >&5
38751 echo $ECHO_N "checking for statfs that truncates block counts... $ECHO_C" >&6
38752 if test "${fu_cv_sys_truncating_statfs+set}" = set; then
38753 echo $ECHO_N "(cached) $ECHO_C" >&6
38755 cat >conftest.
$ac_ext <<_ACEOF
38756 #line $LINENO "configure"
38759 cat confdefs.h
>>conftest.
$ac_ext
38760 cat >>conftest.
$ac_ext <<_ACEOF
38761 /* end confdefs.h. */
38763 #if !defined(sun) && !defined(__sun)
38764 choke -- this is a workaround for a Sun-specific problem
38766 #include <sys/types.h>
38767 #include <sys/vfs.h>
38771 struct statfs t; long c = *(t.f_spare);
38776 rm -f conftest.
$ac_objext
38777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38778 (eval $ac_compile) 2>&5
38780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38781 (exit $ac_status); } &&
38782 { ac_try
='test -s conftest.$ac_objext'
38783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38784 (eval $ac_try) 2>&5
38786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38787 (exit $ac_status); }; }; then
38788 fu_cv_sys_truncating_statfs
=yes
38790 echo "$as_me: failed program was:" >&5
38791 sed 's/^/| /' conftest.
$ac_ext >&5
38793 fu_cv_sys_truncating_statfs
=no
38795 rm -f conftest.
$ac_objext conftest.
$ac_ext
38798 if test $fu_cv_sys_truncating_statfs = yes; then
38800 cat >>confdefs.h
<<\_ACEOF
38801 #define STATFS_TRUNCATES_BLOCK_COUNTS 1
38805 echo "$as_me:$LINENO: result: $fu_cv_sys_truncating_statfs" >&5
38806 echo "${ECHO_T}$fu_cv_sys_truncating_statfs" >&6
38808 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
38809 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
38810 if test "${utils_cv_localtime_cache+set}" = set; then
38811 echo $ECHO_N "(cached) $ECHO_C" >&6
38813 if test x
$ac_cv_func_tzset = xyes
; then
38814 if test "$cross_compiling" = yes; then
38815 # If we have tzset, assume the worst when cross-compiling.
38816 utils_cv_localtime_cache
=yes
38818 cat >conftest.
$ac_ext <<_ACEOF
38819 #line $LINENO "configure"
38822 cat confdefs.h
>>conftest.
$ac_ext
38823 cat >>conftest.
$ac_ext <<_ACEOF
38824 /* end confdefs.h. */
38827 # include <stdlib.h>
38829 extern char **environ;
38833 for (to = from = environ; (*to = *from); from++)
38834 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
38839 time_t now = time ((time_t *) 0);
38840 int hour_GMT0, hour_unset;
38841 if (putenv ("TZ=GMT0") != 0)
38843 hour_GMT0 = localtime (&now)->tm_hour;
38845 hour_unset = localtime (&now)->tm_hour;
38846 if (putenv ("TZ=PST8") != 0)
38848 if (localtime (&now)->tm_hour == hour_GMT0)
38851 if (localtime (&now)->tm_hour != hour_unset)
38856 rm -f conftest
$ac_exeext
38857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38858 (eval $ac_link) 2>&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38863 (eval $ac_try) 2>&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); }; }; then
38867 utils_cv_localtime_cache
=no
38869 echo "$as_me: program exited with status $ac_status" >&5
38870 echo "$as_me: failed program was:" >&5
38871 sed 's/^/| /' conftest.
$ac_ext >&5
38873 ( exit $ac_status )
38874 utils_cv_localtime_cache
=yes
38876 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
38879 # If we lack tzset, report that localtime does not cache TZ,
38880 # since we can't invalidate the cache if we don't have tzset.
38881 utils_cv_localtime_cache
=no
38884 echo "$as_me:$LINENO: result: $utils_cv_localtime_cache" >&5
38885 echo "${ECHO_T}$utils_cv_localtime_cache" >&6
38886 if test $utils_cv_localtime_cache = yes; then
38888 cat >>confdefs.h
<<\_ACEOF
38889 #define LOCALTIME_CACHE 1
38894 # SCO-ODT-3.0 is reported to need -los to link programs using initgroups
38896 for ac_func
in initgroups
38898 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38899 echo "$as_me:$LINENO: checking for $ac_func" >&5
38900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38901 if eval "test \"\${$as_ac_var+set}\" = set"; then
38902 echo $ECHO_N "(cached) $ECHO_C" >&6
38904 cat >conftest.
$ac_ext <<_ACEOF
38905 #line $LINENO "configure"
38908 cat confdefs.h
>>conftest.
$ac_ext
38909 cat >>conftest.
$ac_ext <<_ACEOF
38910 /* end confdefs.h. */
38911 /* System header to define __stub macros and hopefully few prototypes,
38912 which can conflict with char $ac_func (); below.
38913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38914 <limits.h> exists even on freestanding compilers. */
38916 # include <limits.h>
38918 # include <assert.h>
38920 /* Override any gcc2 internal prototype to avoid an error. */
38925 /* We use char because int might match the return type of a gcc2
38926 builtin and then its argument prototype would still apply. */
38928 /* The GNU C library defines this for functions which it implements
38929 to always fail with ENOSYS. Some functions are actually named
38930 something starting with __ and the normal name is an alias. */
38931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38934 char (*f) () = $ac_func;
38943 return f != $ac_func;
38948 rm -f conftest.
$ac_objext conftest
$ac_exeext
38949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38950 (eval $ac_link) 2>&5
38952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38953 (exit $ac_status); } &&
38954 { ac_try
='test -s conftest$ac_exeext'
38955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38956 (eval $ac_try) 2>&5
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); }; }; then
38960 eval "$as_ac_var=yes"
38962 echo "$as_me: failed program was:" >&5
38963 sed 's/^/| /' conftest.
$ac_ext >&5
38965 eval "$as_ac_var=no"
38967 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
38969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38971 if test `eval echo '${'$as_ac_var'}'` = yes; then
38972 cat >>confdefs.h
<<_ACEOF
38973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38979 if test $ac_cv_func_initgroups = no
; then
38981 echo "$as_me:$LINENO: checking for initgroups in -los" >&5
38982 echo $ECHO_N "checking for initgroups in -los... $ECHO_C" >&6
38983 if test "${ac_cv_lib_os_initgroups+set}" = set; then
38984 echo $ECHO_N "(cached) $ECHO_C" >&6
38986 ac_check_lib_save_LIBS
=$LIBS
38988 cat >conftest.
$ac_ext <<_ACEOF
38989 #line $LINENO "configure"
38992 cat confdefs.h
>>conftest.
$ac_ext
38993 cat >>conftest.
$ac_ext <<_ACEOF
38994 /* end confdefs.h. */
38996 /* Override any gcc2 internal prototype to avoid an error. */
39000 /* We use char because int might match the return type of a gcc2
39001 builtin and then its argument prototype would still apply. */
39002 char initgroups ();
39011 rm -f conftest.
$ac_objext conftest
$ac_exeext
39012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39013 (eval $ac_link) 2>&5
39015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39016 (exit $ac_status); } &&
39017 { ac_try
='test -s conftest$ac_exeext'
39018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39019 (eval $ac_try) 2>&5
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); }; }; then
39023 ac_cv_lib_os_initgroups
=yes
39025 echo "$as_me: failed program was:" >&5
39026 sed 's/^/| /' conftest.
$ac_ext >&5
39028 ac_cv_lib_os_initgroups
=no
39030 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
39031 LIBS
=$ac_check_lib_save_LIBS
39033 echo "$as_me:$LINENO: result: $ac_cv_lib_os_initgroups" >&5
39034 echo "${ECHO_T}$ac_cv_lib_os_initgroups" >&6
39035 if test $ac_cv_lib_os_initgroups = yes; then
39036 cat >>confdefs.h
<<_ACEOF
39037 #define HAVE_LIBOS 1
39047 for ac_func
in syslog
39049 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39050 echo "$as_me:$LINENO: checking for $ac_func" >&5
39051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39052 if eval "test \"\${$as_ac_var+set}\" = set"; then
39053 echo $ECHO_N "(cached) $ECHO_C" >&6
39055 cat >conftest.
$ac_ext <<_ACEOF
39056 #line $LINENO "configure"
39059 cat confdefs.h
>>conftest.
$ac_ext
39060 cat >>conftest.
$ac_ext <<_ACEOF
39061 /* end confdefs.h. */
39062 /* System header to define __stub macros and hopefully few prototypes,
39063 which can conflict with char $ac_func (); below.
39064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39065 <limits.h> exists even on freestanding compilers. */
39067 # include <limits.h>
39069 # include <assert.h>
39071 /* Override any gcc2 internal prototype to avoid an error. */
39076 /* We use char because int might match the return type of a gcc2
39077 builtin and then its argument prototype would still apply. */
39079 /* The GNU C library defines this for functions which it implements
39080 to always fail with ENOSYS. Some functions are actually named
39081 something starting with __ and the normal name is an alias. */
39082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39085 char (*f) () = $ac_func;
39094 return f != $ac_func;
39099 rm -f conftest.
$ac_objext conftest
$ac_exeext
39100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39101 (eval $ac_link) 2>&5
39103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39104 (exit $ac_status); } &&
39105 { ac_try
='test -s conftest$ac_exeext'
39106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39107 (eval $ac_try) 2>&5
39109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39110 (exit $ac_status); }; }; then
39111 eval "$as_ac_var=yes"
39113 echo "$as_me: failed program was:" >&5
39114 sed 's/^/| /' conftest.
$ac_ext >&5
39116 eval "$as_ac_var=no"
39118 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
39120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39122 if test `eval echo '${'$as_ac_var'}'` = yes; then
39123 cat >>confdefs.h
<<_ACEOF
39124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39130 if test $ac_cv_func_syslog = no
; then
39131 # syslog is not in the default libraries. See if it's in some other.
39132 for lib
in bsd socket inet
; do
39133 as_ac_Lib
=`echo "ac_cv_lib_$lib''_syslog" | $as_tr_sh`
39134 echo "$as_me:$LINENO: checking for syslog in -l$lib" >&5
39135 echo $ECHO_N "checking for syslog in -l$lib... $ECHO_C" >&6
39136 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
39137 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 ac_check_lib_save_LIBS
=$LIBS
39140 LIBS
="-l$lib $LIBS"
39141 cat >conftest.
$ac_ext <<_ACEOF
39142 #line $LINENO "configure"
39145 cat confdefs.h
>>conftest.
$ac_ext
39146 cat >>conftest.
$ac_ext <<_ACEOF
39147 /* end confdefs.h. */
39149 /* Override any gcc2 internal prototype to avoid an error. */
39153 /* We use char because int might match the return type of a gcc2
39154 builtin and then its argument prototype would still apply. */
39164 rm -f conftest.
$ac_objext conftest
$ac_exeext
39165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39166 (eval $ac_link) 2>&5
39168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39169 (exit $ac_status); } &&
39170 { ac_try
='test -s conftest$ac_exeext'
39171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39172 (eval $ac_try) 2>&5
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); }; }; then
39176 eval "$as_ac_Lib=yes"
39178 echo "$as_me: failed program was:" >&5
39179 sed 's/^/| /' conftest.
$ac_ext >&5
39181 eval "$as_ac_Lib=no"
39183 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
39184 LIBS
=$ac_check_lib_save_LIBS
39186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
39187 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
39188 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39190 cat >>confdefs.h
<<\_ACEOF
39191 #define HAVE_SYSLOG 1
39194 LIBS
="$LIBS -l$lib"; break
39200 echo "$as_me:$LINENO: checking for 3-argument setpriority function" >&5
39201 echo $ECHO_N "checking for 3-argument setpriority function... $ECHO_C" >&6
39202 if test "${utils_cv_func_setpriority+set}" = set; then
39203 echo $ECHO_N "(cached) $ECHO_C" >&6
39205 cat >conftest.
$ac_ext <<_ACEOF
39206 #line $LINENO "configure"
39209 cat confdefs.h
>>conftest.
$ac_ext
39210 cat >>conftest.
$ac_ext <<_ACEOF
39211 /* end confdefs.h. */
39212 #include <sys/time.h>
39213 #include <sys/resource.h>
39217 setpriority(0, 0, 0);
39222 rm -f conftest.
$ac_objext conftest
$ac_exeext
39223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39224 (eval $ac_link) 2>&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); } &&
39228 { ac_try
='test -s conftest$ac_exeext'
39229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39230 (eval $ac_try) 2>&5
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); }; }; then
39234 utils_cv_func_setpriority
=yes
39236 echo "$as_me: failed program was:" >&5
39237 sed 's/^/| /' conftest.
$ac_ext >&5
39239 utils_cv_func_setpriority
=no
39241 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
39244 echo "$as_me:$LINENO: result: $utils_cv_func_setpriority" >&5
39245 echo "${ECHO_T}$utils_cv_func_setpriority" >&6
39246 if test $utils_cv_func_setpriority = yes; then
39247 OPTIONAL_BIN_PROGS
="$OPTIONAL_BIN_PROGS nice"
39248 OPTIONAL_BIN_ZCRIPTS
="$OPTIONAL_BIN_ZCRIPTS nohup"
39249 MAN
="$MAN nice.1 nohup.1"
39251 echo "$as_me:$LINENO: checking for nice function" >&5
39252 echo $ECHO_N "checking for nice function... $ECHO_C" >&6
39253 if test "${utils_cv_func_nice+set}" = set; then
39254 echo $ECHO_N "(cached) $ECHO_C" >&6
39256 cat >conftest.
$ac_ext <<_ACEOF
39257 #line $LINENO "configure"
39260 cat confdefs.h
>>conftest.
$ac_ext
39261 cat >>conftest.
$ac_ext <<_ACEOF
39262 /* end confdefs.h. */
39272 rm -f conftest.
$ac_objext conftest
$ac_exeext
39273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39274 (eval $ac_link) 2>&5
39276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39277 (exit $ac_status); } &&
39278 { ac_try
='test -s conftest$ac_exeext'
39279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39280 (eval $ac_try) 2>&5
39282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39283 (exit $ac_status); }; }; then
39284 utils_cv_func_nice
=yes
39286 echo "$as_me: failed program was:" >&5
39287 sed 's/^/| /' conftest.
$ac_ext >&5
39289 utils_cv_func_nice
=no
39291 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
39294 echo "$as_me:$LINENO: result: $utils_cv_func_nice" >&5
39295 echo "${ECHO_T}$utils_cv_func_nice" >&6
39296 if test $utils_cv_func_nice = yes; then
39298 cat >>confdefs.h
<<\_ACEOF
39299 #define NICE_PRIORITY 1
39302 OPTIONAL_BIN_PROGS
="$OPTIONAL_BIN_PROGS nice"
39303 OPTIONAL_BIN_ZCRIPTS
="$OPTIONAL_BIN_ZCRIPTS nohup"
39304 MAN
="$MAN nice.1 nohup.1"
39311 if test $ac_cv_header_utmp_h = yes ||
test $ac_cv_header_utmpx_h = yes; then
39312 OPTIONAL_BIN_PROGS
="$OPTIONAL_BIN_PROGS pinky users who"
39313 MAN
="$MAN pinky.1 users.1 who.1"
39317 echo "$as_me:$LINENO: checking ut_host in struct utmp" >&5
39318 echo $ECHO_N "checking ut_host in struct utmp... $ECHO_C" >&6
39319 if test "${su_cv_func_ut_host_in_utmp+set}" = set; then
39320 echo $ECHO_N "(cached) $ECHO_C" >&6
39322 cat >conftest.
$ac_ext <<_ACEOF
39323 #line $LINENO "configure"
39326 cat confdefs.h
>>conftest.
$ac_ext
39327 cat >>conftest.
$ac_ext <<_ACEOF
39328 /* end confdefs.h. */
39329 #include <sys/types.h>
39334 struct utmp ut; ut.ut_host;
39339 rm -f conftest.
$ac_objext conftest
$ac_exeext
39340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39341 (eval $ac_link) 2>&5
39343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39344 (exit $ac_status); } &&
39345 { ac_try
='test -s conftest$ac_exeext'
39346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39347 (eval $ac_try) 2>&5
39349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350 (exit $ac_status); }; }; then
39351 su_cv_func_ut_host_in_utmp
=yes
39353 echo "$as_me: failed program was:" >&5
39354 sed 's/^/| /' conftest.
$ac_ext >&5
39356 su_cv_func_ut_host_in_utmp
=no
39358 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
39361 echo "$as_me:$LINENO: result: $su_cv_func_ut_host_in_utmp" >&5
39362 echo "${ECHO_T}$su_cv_func_ut_host_in_utmp" >&6
39363 if test $su_cv_func_ut_host_in_utmp = yes; then
39366 cat >>confdefs.h
<<\_ACEOF
39367 #define HAVE_UT_HOST 1
39372 if test -z "$have_ut_host"; then
39373 echo "$as_me:$LINENO: checking ut_host in struct utmpx" >&5
39374 echo $ECHO_N "checking ut_host in struct utmpx... $ECHO_C" >&6
39375 if test "${su_cv_func_ut_host_in_utmpx+set}" = set; then
39376 echo $ECHO_N "(cached) $ECHO_C" >&6
39378 cat >conftest.
$ac_ext <<_ACEOF
39379 #line $LINENO "configure"
39382 cat confdefs.h
>>conftest.
$ac_ext
39383 cat >>conftest.
$ac_ext <<_ACEOF
39384 /* end confdefs.h. */
39385 #include <sys/types.h>
39390 struct utmpx ut; ut.ut_host;
39395 rm -f conftest.
$ac_objext conftest
$ac_exeext
39396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39397 (eval $ac_link) 2>&5
39399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39400 (exit $ac_status); } &&
39401 { ac_try
='test -s conftest$ac_exeext'
39402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39403 (eval $ac_try) 2>&5
39405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39406 (exit $ac_status); }; }; then
39407 su_cv_func_ut_host_in_utmpx
=yes
39409 echo "$as_me: failed program was:" >&5
39410 sed 's/^/| /' conftest.
$ac_ext >&5
39412 su_cv_func_ut_host_in_utmpx
=no
39414 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
39417 echo "$as_me:$LINENO: result: $su_cv_func_ut_host_in_utmpx" >&5
39418 echo "${ECHO_T}$su_cv_func_ut_host_in_utmpx" >&6
39419 if test $su_cv_func_ut_host_in_utmpx = yes; then
39421 cat >>confdefs.h
<<\_ACEOF
39422 #define HAVE_UTMPX_H 1
39426 cat >>confdefs.h
<<\_ACEOF
39427 #define HAVE_UT_HOST 1
39435 for ac_func
in sysctl
39437 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39438 echo "$as_me:$LINENO: checking for $ac_func" >&5
39439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39440 if eval "test \"\${$as_ac_var+set}\" = set"; then
39441 echo $ECHO_N "(cached) $ECHO_C" >&6
39443 cat >conftest.
$ac_ext <<_ACEOF
39444 #line $LINENO "configure"
39447 cat confdefs.h
>>conftest.
$ac_ext
39448 cat >>conftest.
$ac_ext <<_ACEOF
39449 /* end confdefs.h. */
39450 /* System header to define __stub macros and hopefully few prototypes,
39451 which can conflict with char $ac_func (); below.
39452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39453 <limits.h> exists even on freestanding compilers. */
39455 # include <limits.h>
39457 # include <assert.h>
39459 /* Override any gcc2 internal prototype to avoid an error. */
39464 /* We use char because int might match the return type of a gcc2
39465 builtin and then its argument prototype would still apply. */
39467 /* The GNU C library defines this for functions which it implements
39468 to always fail with ENOSYS. Some functions are actually named
39469 something starting with __ and the normal name is an alias. */
39470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39473 char (*f) () = $ac_func;
39482 return f != $ac_func;
39487 rm -f conftest.
$ac_objext conftest
$ac_exeext
39488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39489 (eval $ac_link) 2>&5
39491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39492 (exit $ac_status); } &&
39493 { ac_try
='test -s conftest$ac_exeext'
39494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39495 (eval $ac_try) 2>&5
39497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39498 (exit $ac_status); }; }; then
39499 eval "$as_ac_var=yes"
39501 echo "$as_me: failed program was:" >&5
39502 sed 's/^/| /' conftest.
$ac_ext >&5
39504 eval "$as_ac_var=no"
39506 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
39508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39510 if test `eval echo '${'$as_ac_var'}'` = yes; then
39511 cat >>confdefs.h
<<_ACEOF
39512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39519 for ac_header
in sys
/sysctl.h
39521 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39523 echo "$as_me:$LINENO: checking for $ac_header" >&5
39524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39526 echo $ECHO_N "(cached) $ECHO_C" >&6
39528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39531 # Is the header compilable?
39532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39534 cat >conftest.
$ac_ext <<_ACEOF
39535 #line $LINENO "configure"
39538 cat confdefs.h
>>conftest.
$ac_ext
39539 cat >>conftest.
$ac_ext <<_ACEOF
39540 /* end confdefs.h. */
39541 $ac_includes_default
39542 #include <$ac_header>
39544 rm -f conftest.
$ac_objext
39545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39546 (eval $ac_compile) 2>&5
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); } &&
39550 { ac_try
='test -s conftest.$ac_objext'
39551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39552 (eval $ac_try) 2>&5
39554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39555 (exit $ac_status); }; }; then
39556 ac_header_compiler
=yes
39558 echo "$as_me: failed program was:" >&5
39559 sed 's/^/| /' conftest.
$ac_ext >&5
39561 ac_header_compiler
=no
39563 rm -f conftest.
$ac_objext conftest.
$ac_ext
39564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39565 echo "${ECHO_T}$ac_header_compiler" >&6
39567 # Is the header present?
39568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39570 cat >conftest.
$ac_ext <<_ACEOF
39571 #line $LINENO "configure"
39574 cat confdefs.h
>>conftest.
$ac_ext
39575 cat >>conftest.
$ac_ext <<_ACEOF
39576 /* end confdefs.h. */
39577 #include <$ac_header>
39579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39580 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39582 grep -v '^ *+' conftest.er1
>conftest.err
39584 cat conftest.err
>&5
39585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39586 (exit $ac_status); } >/dev
/null
; then
39587 if test -s conftest.err
; then
39588 ac_cpp_err
=$ac_c_preproc_warn_flag
39595 if test -z "$ac_cpp_err"; then
39596 ac_header_preproc
=yes
39598 echo "$as_me: failed program was:" >&5
39599 sed 's/^/| /' conftest.
$ac_ext >&5
39601 ac_header_preproc
=no
39603 rm -f conftest.err conftest.
$ac_ext
39604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39605 echo "${ECHO_T}$ac_header_preproc" >&6
39607 # So? What about this header?
39608 case $ac_header_compiler:$ac_header_preproc in
39610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39616 ## ------------------------------------ ##
39617 ## Report this to bug-autoconf@gnu.org. ##
39618 ## ------------------------------------ ##
39621 sed "s/^/$as_me: WARNING: /" >&2
39624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39632 ## ------------------------------------ ##
39633 ## Report this to bug-autoconf@gnu.org. ##
39634 ## ------------------------------------ ##
39637 sed "s/^/$as_me: WARNING: /" >&2
39640 echo "$as_me:$LINENO: checking for $ac_header" >&5
39641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39643 echo $ECHO_N "(cached) $ECHO_C" >&6
39645 eval "$as_ac_Header=$ac_header_preproc"
39647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39652 cat >>confdefs.h
<<_ACEOF
39653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39660 echo "$as_me:$LINENO: checking whether we can get the system boot time" >&5
39661 echo $ECHO_N "checking whether we can get the system boot time... $ECHO_C" >&6
39662 if test "${gnulib_cv_have_boot_time+set}" = set; then
39663 echo $ECHO_N "(cached) $ECHO_C" >&6
39666 cat >conftest.
$ac_ext <<_ACEOF
39667 #line $LINENO "configure"
39670 cat confdefs.h
>>conftest.
$ac_ext
39671 cat >>conftest.
$ac_ext <<_ACEOF
39672 /* end confdefs.h. */
39673 $ac_includes_default
39674 #if HAVE_SYSCTL && HAVE_SYS_SYSCTL_H
39675 # include <sys/param.h> /* needed for OpenBSD 3.0 */
39676 # include <sys/sysctl.h>
39678 #ifdef HAVE_UTMPX_H
39679 # include <utmpx.h>
39688 #if defined BOOT_TIME || (defined CTL_KERN && defined KERN_BOOTTIME)
39689 /* your system *does* have the infrastructure to determine boot time */
39691 please_tell_us_how_to_determine_boot_time_on_your_system
39698 rm -f conftest.
$ac_objext
39699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39700 (eval $ac_compile) 2>&5
39702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39703 (exit $ac_status); } &&
39704 { ac_try
='test -s conftest.$ac_objext'
39705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39706 (eval $ac_try) 2>&5
39708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39709 (exit $ac_status); }; }; then
39710 gnulib_cv_have_boot_time
=yes
39712 echo "$as_me: failed program was:" >&5
39713 sed 's/^/| /' conftest.
$ac_ext >&5
39715 gnulib_cv_have_boot_time
=no
39717 rm -f conftest.
$ac_objext conftest.
$ac_ext
39720 echo "$as_me:$LINENO: result: $gnulib_cv_have_boot_time" >&5
39721 echo "${ECHO_T}$gnulib_cv_have_boot_time" >&6
39722 if test $gnulib_cv_have_boot_time = yes; then
39723 OPTIONAL_BIN_PROGS
="$OPTIONAL_BIN_PROGS uptime" MAN
="$MAN uptime.1"
39728 echo "$as_me:$LINENO: checking POSIX termios" >&5
39729 echo $ECHO_N "checking POSIX termios... $ECHO_C" >&6
39730 if test "${ac_cv_sys_posix_termios+set}" = set; then
39731 echo $ECHO_N "(cached) $ECHO_C" >&6
39733 cat >conftest.
$ac_ext <<_ACEOF
39734 #line $LINENO "configure"
39737 cat confdefs.h
>>conftest.
$ac_ext
39738 cat >>conftest.
$ac_ext <<_ACEOF
39739 /* end confdefs.h. */
39740 #include <sys/types.h>
39741 #include <unistd.h>
39742 #include <termios.h>
39747 /* SunOS 4.0.3 has termios.h but not the library calls. */
39753 rm -f conftest.
$ac_objext conftest
$ac_exeext
39754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39755 (eval $ac_link) 2>&5
39757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758 (exit $ac_status); } &&
39759 { ac_try
='test -s conftest$ac_exeext'
39760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39761 (eval $ac_try) 2>&5
39763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39764 (exit $ac_status); }; }; then
39765 ac_cv_sys_posix_termios
=yes
39767 echo "$as_me: failed program was:" >&5
39768 sed 's/^/| /' conftest.
$ac_ext >&5
39770 ac_cv_sys_posix_termios
=no
39772 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
39774 echo "$as_me:$LINENO: result: $ac_cv_sys_posix_termios" >&5
39775 echo "${ECHO_T}$ac_cv_sys_posix_termios" >&6
39778 echo "$as_me:$LINENO: checking whether use of TIOCGWINSZ requires termios.h" >&5
39779 echo $ECHO_N "checking whether use of TIOCGWINSZ requires termios.h... $ECHO_C" >&6
39780 if test "${jm_cv_sys_tiocgwinsz_needs_termios_h+set}" = set; then
39781 echo $ECHO_N "(cached) $ECHO_C" >&6
39783 jm_cv_sys_tiocgwinsz_needs_termios_h
=no
39785 if test $ac_cv_sys_posix_termios = yes; then
39786 cat >conftest.
$ac_ext <<_ACEOF
39787 #line $LINENO "configure"
39790 cat confdefs.h
>>conftest.
$ac_ext
39791 cat >>conftest.
$ac_ext <<_ACEOF
39792 /* end confdefs.h. */
39793 #include <sys/types.h>
39794 # include <termios.h>
39800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
39801 $EGREP "yes" >/dev
/null
2>&1; then
39802 jm_cv_sys_tiocgwinsz_needs_termios_h
=yes
39809 echo "$as_me:$LINENO: result: $jm_cv_sys_tiocgwinsz_needs_termios_h" >&5
39810 echo "${ECHO_T}$jm_cv_sys_tiocgwinsz_needs_termios_h" >&6
39813 echo "$as_me:$LINENO: checking whether use of TIOCGWINSZ requires sys/ioctl.h" >&5
39814 echo $ECHO_N "checking whether use of TIOCGWINSZ requires sys/ioctl.h... $ECHO_C" >&6
39815 if test "${jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h+set}" = set; then
39816 echo $ECHO_N "(cached) $ECHO_C" >&6
39818 jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h
=no
39820 if test $jm_cv_sys_tiocgwinsz_needs_termios_h = no
; then
39821 cat >conftest.
$ac_ext <<_ACEOF
39822 #line $LINENO "configure"
39825 cat confdefs.h
>>conftest.
$ac_ext
39826 cat >>conftest.
$ac_ext <<_ACEOF
39827 /* end confdefs.h. */
39828 #include <sys/types.h>
39829 # include <sys/ioctl.h>
39835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
39836 $EGREP "yes" >/dev
/null
2>&1; then
39837 jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h
=yes
39844 echo "$as_me:$LINENO: result: $jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h" >&5
39845 echo "${ECHO_T}$jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h" >&6
39846 if test $jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h = yes; then
39848 cat >>confdefs.h
<<\_ACEOF
39849 #define GWINSZ_IN_SYS_IOCTL 1
39855 if test $ac_cv_sys_posix_termios = yes; then
39856 OPTIONAL_BIN_PROGS
="$OPTIONAL_BIN_PROGS stty" MAN
="$MAN stty.1"
39858 echo "$as_me:$LINENO: checking whether termios.h needs _XOPEN_SOURCE" >&5
39859 echo $ECHO_N "checking whether termios.h needs _XOPEN_SOURCE... $ECHO_C" >&6
39860 if test "${su_cv_sys_termios_needs_xopen_source+set}" = set; then
39861 echo $ECHO_N "(cached) $ECHO_C" >&6
39863 cat >conftest.
$ac_ext <<_ACEOF
39864 #line $LINENO "configure"
39867 cat confdefs.h
>>conftest.
$ac_ext
39868 cat >>conftest.
$ac_ext <<_ACEOF
39869 /* end confdefs.h. */
39870 #include <termios.h>
39875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
39876 $EGREP "yes" >/dev
/null
2>&1; then
39877 su_cv_sys_termios_needs_xopen_source
=no
39879 cat >conftest.
$ac_ext <<_ACEOF
39880 #line $LINENO "configure"
39883 cat confdefs.h
>>conftest.
$ac_ext
39884 cat >>conftest.
$ac_ext <<_ACEOF
39885 /* end confdefs.h. */
39886 #define _XOPEN_SOURCE
39887 #include <termios.h>
39892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
39893 $EGREP "yes" >/dev
/null
2>&1; then
39894 su_cv_sys_termios_needs_xopen_source
=yes
39896 su_cv_sys_termios_needs_xopen_source
=no
39905 echo "$as_me:$LINENO: result: $su_cv_sys_termios_needs_xopen_source" >&5
39906 echo "${ECHO_T}$su_cv_sys_termios_needs_xopen_source" >&6
39907 test $su_cv_sys_termios_needs_xopen_source = yes &&
39909 cat >>confdefs.h
<<\_ACEOF
39910 #define TERMIOS_NEEDS_XOPEN_SOURCE 1
39914 echo "$as_me:$LINENO: checking c_line in struct termios" >&5
39915 echo $ECHO_N "checking c_line in struct termios... $ECHO_C" >&6
39916 if test "${su_cv_sys_c_line_in_termios+set}" = set; then
39917 echo $ECHO_N "(cached) $ECHO_C" >&6
39919 cat >conftest.
$ac_ext <<_ACEOF
39920 #line $LINENO "configure"
39923 cat confdefs.h
>>conftest.
$ac_ext
39924 cat >>conftest.
$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39926 #if TERMIOS_NEEDS_XOPEN_SOURCE
39927 #define _XOPEN_SOURCE
39929 #include <sys/types.h>
39930 #include <termios.h>
39934 struct termios t; t.c_line;
39939 rm -f conftest.
$ac_objext conftest
$ac_exeext
39940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39941 (eval $ac_link) 2>&5
39943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39944 (exit $ac_status); } &&
39945 { ac_try
='test -s conftest$ac_exeext'
39946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39947 (eval $ac_try) 2>&5
39949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39950 (exit $ac_status); }; }; then
39951 su_cv_sys_c_line_in_termios
=yes
39953 echo "$as_me: failed program was:" >&5
39954 sed 's/^/| /' conftest.
$ac_ext >&5
39956 su_cv_sys_c_line_in_termios
=no
39958 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
39961 echo "$as_me:$LINENO: result: $su_cv_sys_c_line_in_termios" >&5
39962 echo "${ECHO_T}$su_cv_sys_c_line_in_termios" >&6
39963 test $su_cv_sys_c_line_in_termios = yes \
39965 cat >>confdefs.h
<<\_ACEOF
39966 #define HAVE_C_LINE 1
39971 # FIXME: note that this macro appears above, too.
39972 # I'm leaving it here for now. This whole thing needs to be modernized...
39974 echo "$as_me:$LINENO: checking whether use of struct winsize requires sys/ptem.h" >&5
39975 echo $ECHO_N "checking whether use of struct winsize requires sys/ptem.h... $ECHO_C" >&6
39976 if test "${jm_cv_sys_struct_winsize_needs_sys_ptem_h+set}" = set; then
39977 echo $ECHO_N "(cached) $ECHO_C" >&6
39979 jm_cv_sys_struct_winsize_needs_sys_ptem_h
=yes
39980 if test $ac_cv_sys_posix_termios = yes; then
39981 cat >conftest.
$ac_ext <<_ACEOF
39982 #line $LINENO "configure"
39985 cat confdefs.h
>>conftest.
$ac_ext
39986 cat >>conftest.
$ac_ext <<_ACEOF
39987 /* end confdefs.h. */
39988 #include <termios.h>
39993 jm_cv_sys_struct_winsize_needs_sys_ptem_h=no
39998 rm -f conftest.
$ac_objext
39999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40000 (eval $ac_compile) 2>&5
40002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40003 (exit $ac_status); } &&
40004 { ac_try
='test -s conftest.$ac_objext'
40005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40006 (eval $ac_try) 2>&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); }; }; then
40012 echo "$as_me: failed program was:" >&5
40013 sed 's/^/| /' conftest.
$ac_ext >&5
40016 rm -f conftest.
$ac_objext conftest.
$ac_ext
40018 if test $jm_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
40019 cat >conftest.
$ac_ext <<_ACEOF
40020 #line $LINENO "configure"
40023 cat confdefs.h
>>conftest.
$ac_ext
40024 cat >>conftest.
$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40026 #include <sys/ptem.h>
40035 rm -f conftest.
$ac_objext
40036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40037 (eval $ac_compile) 2>&5
40039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40040 (exit $ac_status); } &&
40041 { ac_try
='test -s conftest.$ac_objext'
40042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40043 (eval $ac_try) 2>&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); }; }; then
40049 echo "$as_me: failed program was:" >&5
40050 sed 's/^/| /' conftest.
$ac_ext >&5
40052 jm_cv_sys_struct_winsize_needs_sys_ptem_h
=no
40054 rm -f conftest.
$ac_objext conftest.
$ac_ext
40057 echo "$as_me:$LINENO: result: $jm_cv_sys_struct_winsize_needs_sys_ptem_h" >&5
40058 echo "${ECHO_T}$jm_cv_sys_struct_winsize_needs_sys_ptem_h" >&6
40059 if test $jm_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
40061 cat >>confdefs.h
<<\_ACEOF
40062 #define WINSIZE_IN_PTEM 1
40068 echo "$as_me:$LINENO: checking whether use of TIOCGWINSZ requires termios.h" >&5
40069 echo $ECHO_N "checking whether use of TIOCGWINSZ requires termios.h... $ECHO_C" >&6
40070 if test "${jm_cv_sys_tiocgwinsz_needs_termios_h+set}" = set; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40073 jm_cv_sys_tiocgwinsz_needs_termios_h
=no
40075 if test $ac_cv_sys_posix_termios = yes; then
40076 cat >conftest.
$ac_ext <<_ACEOF
40077 #line $LINENO "configure"
40080 cat confdefs.h
>>conftest.
$ac_ext
40081 cat >>conftest.
$ac_ext <<_ACEOF
40082 /* end confdefs.h. */
40083 #include <sys/types.h>
40084 # include <termios.h>
40090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40091 $EGREP "yes" >/dev
/null
2>&1; then
40092 jm_cv_sys_tiocgwinsz_needs_termios_h
=yes
40099 echo "$as_me:$LINENO: result: $jm_cv_sys_tiocgwinsz_needs_termios_h" >&5
40100 echo "${ECHO_T}$jm_cv_sys_tiocgwinsz_needs_termios_h" >&6
40103 if test $jm_cv_sys_tiocgwinsz_needs_termios_h = no
&& \
40104 test $jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h = no
; then
40105 echo "$as_me:$LINENO: checking TIOCGWINSZ in sys/pty.h" >&5
40106 echo $ECHO_N "checking TIOCGWINSZ in sys/pty.h... $ECHO_C" >&6
40107 if test "${su_cv_sys_tiocgwinsz_in_sys_pty_h+set}" = set; then
40108 echo $ECHO_N "(cached) $ECHO_C" >&6
40110 cat >conftest.
$ac_ext <<_ACEOF
40111 #line $LINENO "configure"
40114 cat confdefs.h
>>conftest.
$ac_ext
40115 cat >>conftest.
$ac_ext <<_ACEOF
40116 /* end confdefs.h. */
40117 #include <sys/types.h>
40118 #ifdef WINSIZE_IN_PTEM
40119 # include <sys/stream.h>
40120 # include <sys/ptem.h>
40122 #include <sys/ioctl.h>
40123 #include <sys/tty.h>
40124 #include <sys/pty.h>
40128 int x = TIOCGWINSZ;
40133 rm -f conftest.
$ac_objext conftest
$ac_exeext
40134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40135 (eval $ac_link) 2>&5
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); } &&
40139 { ac_try
='test -s conftest$ac_exeext'
40140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40141 (eval $ac_try) 2>&5
40143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40144 (exit $ac_status); }; }; then
40145 su_cv_sys_tiocgwinsz_in_sys_pty_h
=yes
40147 echo "$as_me: failed program was:" >&5
40148 sed 's/^/| /' conftest.
$ac_ext >&5
40150 su_cv_sys_tiocgwinsz_in_sys_pty_h
=no
40152 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
40155 echo "$as_me:$LINENO: result: $su_cv_sys_tiocgwinsz_in_sys_pty_h" >&5
40156 echo "${ECHO_T}$su_cv_sys_tiocgwinsz_in_sys_pty_h" >&6
40158 test $su_cv_sys_tiocgwinsz_in_sys_pty_h = yes \
40160 cat >>confdefs.h
<<\_ACEOF
40161 #define GWINSZ_IN_SYS_PTY 1
40167 echo "$as_me:$LINENO: checking whether strsignal is declared" >&5
40168 echo $ECHO_N "checking whether strsignal is declared... $ECHO_C" >&6
40169 if test "${ac_cv_have_decl_strsignal+set}" = set; then
40170 echo $ECHO_N "(cached) $ECHO_C" >&6
40172 cat >conftest.
$ac_ext <<_ACEOF
40173 #line $LINENO "configure"
40176 cat confdefs.h
>>conftest.
$ac_ext
40177 cat >>conftest.
$ac_ext <<_ACEOF
40178 /* end confdefs.h. */
40179 $ac_includes_default
40184 char *p = (char *) strsignal;
40191 rm -f conftest.
$ac_objext
40192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40193 (eval $ac_compile) 2>&5
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); } &&
40197 { ac_try
='test -s conftest.$ac_objext'
40198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40199 (eval $ac_try) 2>&5
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); }; }; then
40203 ac_cv_have_decl_strsignal
=yes
40205 echo "$as_me: failed program was:" >&5
40206 sed 's/^/| /' conftest.
$ac_ext >&5
40208 ac_cv_have_decl_strsignal
=no
40210 rm -f conftest.
$ac_objext conftest.
$ac_ext
40212 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsignal" >&5
40213 echo "${ECHO_T}$ac_cv_have_decl_strsignal" >&6
40214 if test $ac_cv_have_decl_strsignal = yes; then
40216 cat >>confdefs.h
<<_ACEOF
40217 #define HAVE_DECL_STRSIGNAL 1
40222 cat >>confdefs.h
<<_ACEOF
40223 #define HAVE_DECL_STRSIGNAL 0
40228 echo "$as_me:$LINENO: checking whether strtoimax is declared" >&5
40229 echo $ECHO_N "checking whether strtoimax is declared... $ECHO_C" >&6
40230 if test "${ac_cv_have_decl_strtoimax+set}" = set; then
40231 echo $ECHO_N "(cached) $ECHO_C" >&6
40233 cat >conftest.
$ac_ext <<_ACEOF
40234 #line $LINENO "configure"
40237 cat confdefs.h
>>conftest.
$ac_ext
40238 cat >>conftest.
$ac_ext <<_ACEOF
40239 /* end confdefs.h. */
40240 $ac_includes_default
40245 char *p = (char *) strtoimax;
40252 rm -f conftest.
$ac_objext
40253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40254 (eval $ac_compile) 2>&5
40256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40257 (exit $ac_status); } &&
40258 { ac_try
='test -s conftest.$ac_objext'
40259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40260 (eval $ac_try) 2>&5
40262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263 (exit $ac_status); }; }; then
40264 ac_cv_have_decl_strtoimax
=yes
40266 echo "$as_me: failed program was:" >&5
40267 sed 's/^/| /' conftest.
$ac_ext >&5
40269 ac_cv_have_decl_strtoimax
=no
40271 rm -f conftest.
$ac_objext conftest.
$ac_ext
40273 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtoimax" >&5
40274 echo "${ECHO_T}$ac_cv_have_decl_strtoimax" >&6
40275 if test $ac_cv_have_decl_strtoimax = yes; then
40277 cat >>confdefs.h
<<_ACEOF
40278 #define HAVE_DECL_STRTOIMAX 1
40283 cat >>confdefs.h
<<_ACEOF
40284 #define HAVE_DECL_STRTOIMAX 0
40289 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
40290 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
40291 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
40292 echo $ECHO_N "(cached) $ECHO_C" >&6
40294 cat >conftest.
$ac_ext <<_ACEOF
40295 #line $LINENO "configure"
40298 cat confdefs.h
>>conftest.
$ac_ext
40299 cat >>conftest.
$ac_ext <<_ACEOF
40300 /* end confdefs.h. */
40301 $ac_includes_default
40305 #ifndef sys_siglist
40306 char *p = (char *) sys_siglist;
40313 rm -f conftest.
$ac_objext
40314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40315 (eval $ac_compile) 2>&5
40317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40318 (exit $ac_status); } &&
40319 { ac_try
='test -s conftest.$ac_objext'
40320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40321 (eval $ac_try) 2>&5
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); }; }; then
40325 ac_cv_have_decl_sys_siglist
=yes
40327 echo "$as_me: failed program was:" >&5
40328 sed 's/^/| /' conftest.
$ac_ext >&5
40330 ac_cv_have_decl_sys_siglist
=no
40332 rm -f conftest.
$ac_objext conftest.
$ac_ext
40334 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
40335 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
40336 if test $ac_cv_have_decl_sys_siglist = yes; then
40338 cat >>confdefs.h
<<_ACEOF
40339 #define HAVE_DECL_SYS_SIGLIST 1
40344 cat >>confdefs.h
<<_ACEOF
40345 #define HAVE_DECL_SYS_SIGLIST 0
40350 echo "$as_me:$LINENO: checking whether _sys_siglist is declared" >&5
40351 echo $ECHO_N "checking whether _sys_siglist is declared... $ECHO_C" >&6
40352 if test "${ac_cv_have_decl__sys_siglist+set}" = set; then
40353 echo $ECHO_N "(cached) $ECHO_C" >&6
40355 cat >conftest.
$ac_ext <<_ACEOF
40356 #line $LINENO "configure"
40359 cat confdefs.h
>>conftest.
$ac_ext
40360 cat >>conftest.
$ac_ext <<_ACEOF
40361 /* end confdefs.h. */
40362 $ac_includes_default
40366 #ifndef _sys_siglist
40367 char *p = (char *) _sys_siglist;
40374 rm -f conftest.
$ac_objext
40375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40376 (eval $ac_compile) 2>&5
40378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40379 (exit $ac_status); } &&
40380 { ac_try
='test -s conftest.$ac_objext'
40381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40382 (eval $ac_try) 2>&5
40384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40385 (exit $ac_status); }; }; then
40386 ac_cv_have_decl__sys_siglist
=yes
40388 echo "$as_me: failed program was:" >&5
40389 sed 's/^/| /' conftest.
$ac_ext >&5
40391 ac_cv_have_decl__sys_siglist
=no
40393 rm -f conftest.
$ac_objext conftest.
$ac_ext
40395 echo "$as_me:$LINENO: result: $ac_cv_have_decl__sys_siglist" >&5
40396 echo "${ECHO_T}$ac_cv_have_decl__sys_siglist" >&6
40397 if test $ac_cv_have_decl__sys_siglist = yes; then
40399 cat >>confdefs.h
<<_ACEOF
40400 #define HAVE_DECL__SYS_SIGLIST 1
40405 cat >>confdefs.h
<<_ACEOF
40406 #define HAVE_DECL__SYS_SIGLIST 0
40416 # Check for libypsec.a on Dolphin M88K machines.
40418 echo "$as_me:$LINENO: checking for main in -lypsec" >&5
40419 echo $ECHO_N "checking for main in -lypsec... $ECHO_C" >&6
40420 if test "${ac_cv_lib_ypsec_main+set}" = set; then
40421 echo $ECHO_N "(cached) $ECHO_C" >&6
40423 ac_check_lib_save_LIBS
=$LIBS
40424 LIBS
="-lypsec $LIBS"
40425 cat >conftest.
$ac_ext <<_ACEOF
40426 #line $LINENO "configure"
40429 cat confdefs.h
>>conftest.
$ac_ext
40430 cat >>conftest.
$ac_ext <<_ACEOF
40431 /* end confdefs.h. */
40442 rm -f conftest.
$ac_objext conftest
$ac_exeext
40443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40444 (eval $ac_link) 2>&5
40446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40447 (exit $ac_status); } &&
40448 { ac_try
='test -s conftest$ac_exeext'
40449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40450 (eval $ac_try) 2>&5
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); }; }; then
40454 ac_cv_lib_ypsec_main
=yes
40456 echo "$as_me: failed program was:" >&5
40457 sed 's/^/| /' conftest.
$ac_ext >&5
40459 ac_cv_lib_ypsec_main
=no
40461 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
40462 LIBS
=$ac_check_lib_save_LIBS
40464 echo "$as_me:$LINENO: result: $ac_cv_lib_ypsec_main" >&5
40465 echo "${ECHO_T}$ac_cv_lib_ypsec_main" >&6
40466 if test $ac_cv_lib_ypsec_main = yes; then
40467 cat >>confdefs.h
<<_ACEOF
40468 #define HAVE_LIBYPSEC 1
40471 LIBS
="-lypsec $LIBS"
40476 # m88k running dgux 5.4 needs this
40478 echo "$as_me:$LINENO: checking for main in -lldgc" >&5
40479 echo $ECHO_N "checking for main in -lldgc... $ECHO_C" >&6
40480 if test "${ac_cv_lib_ldgc_main+set}" = set; then
40481 echo $ECHO_N "(cached) $ECHO_C" >&6
40483 ac_check_lib_save_LIBS
=$LIBS
40484 LIBS
="-lldgc $LIBS"
40485 cat >conftest.
$ac_ext <<_ACEOF
40486 #line $LINENO "configure"
40489 cat confdefs.h
>>conftest.
$ac_ext
40490 cat >>conftest.
$ac_ext <<_ACEOF
40491 /* end confdefs.h. */
40502 rm -f conftest.
$ac_objext conftest
$ac_exeext
40503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40504 (eval $ac_link) 2>&5
40506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40507 (exit $ac_status); } &&
40508 { ac_try
='test -s conftest$ac_exeext'
40509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40510 (eval $ac_try) 2>&5
40512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40513 (exit $ac_status); }; }; then
40514 ac_cv_lib_ldgc_main
=yes
40516 echo "$as_me: failed program was:" >&5
40517 sed 's/^/| /' conftest.
$ac_ext >&5
40519 ac_cv_lib_ldgc_main
=no
40521 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
40522 LIBS
=$ac_check_lib_save_LIBS
40524 echo "$as_me:$LINENO: result: $ac_cv_lib_ldgc_main" >&5
40525 echo "${ECHO_T}$ac_cv_lib_ldgc_main" >&6
40526 if test $ac_cv_lib_ldgc_main = yes; then
40527 cat >>confdefs.h
<<_ACEOF
40528 #define HAVE_LIBLDGC 1
40531 LIBS
="-lldgc $LIBS"
40536 # Some programs need to link with -lm. printf does if it uses
40537 # lib/strtod.c which uses pow. And seq uses the math functions,
40538 # floor, modf, rint. And factor uses sqrt. And sleep uses fesetround.
40540 # Save a copy of $LIBS and add $FLOOR_LIBM before these tests
40541 # Check for these math functions used by seq.
40542 ac_su_saved_lib
="$LIBS"
40547 for ac_func
in floor modf rint
40549 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40550 echo "$as_me:$LINENO: checking for $ac_func" >&5
40551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40552 if eval "test \"\${$as_ac_var+set}\" = set"; then
40553 echo $ECHO_N "(cached) $ECHO_C" >&6
40555 cat >conftest.
$ac_ext <<_ACEOF
40556 #line $LINENO "configure"
40559 cat confdefs.h
>>conftest.
$ac_ext
40560 cat >>conftest.
$ac_ext <<_ACEOF
40561 /* end confdefs.h. */
40562 /* System header to define __stub macros and hopefully few prototypes,
40563 which can conflict with char $ac_func (); below.
40564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40565 <limits.h> exists even on freestanding compilers. */
40567 # include <limits.h>
40569 # include <assert.h>
40571 /* Override any gcc2 internal prototype to avoid an error. */
40576 /* We use char because int might match the return type of a gcc2
40577 builtin and then its argument prototype would still apply. */
40579 /* The GNU C library defines this for functions which it implements
40580 to always fail with ENOSYS. Some functions are actually named
40581 something starting with __ and the normal name is an alias. */
40582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40585 char (*f) () = $ac_func;
40594 return f != $ac_func;
40599 rm -f conftest.
$ac_objext conftest
$ac_exeext
40600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40601 (eval $ac_link) 2>&5
40603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604 (exit $ac_status); } &&
40605 { ac_try
='test -s conftest$ac_exeext'
40606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40607 (eval $ac_try) 2>&5
40609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40610 (exit $ac_status); }; }; then
40611 eval "$as_ac_var=yes"
40613 echo "$as_me: failed program was:" >&5
40614 sed 's/^/| /' conftest.
$ac_ext >&5
40616 eval "$as_ac_var=no"
40618 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
40620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40622 if test `eval echo '${'$as_ac_var'}'` = yes; then
40623 cat >>confdefs.h
<<_ACEOF
40624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40630 LIBS
="$ac_su_saved_lib"
40634 for ac_func
in sqrt
40636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40637 echo "$as_me:$LINENO: checking for $ac_func" >&5
40638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40639 if eval "test \"\${$as_ac_var+set}\" = set"; then
40640 echo $ECHO_N "(cached) $ECHO_C" >&6
40642 cat >conftest.
$ac_ext <<_ACEOF
40643 #line $LINENO "configure"
40646 cat confdefs.h
>>conftest.
$ac_ext
40647 cat >>conftest.
$ac_ext <<_ACEOF
40648 /* end confdefs.h. */
40649 /* System header to define __stub macros and hopefully few prototypes,
40650 which can conflict with char $ac_func (); below.
40651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40652 <limits.h> exists even on freestanding compilers. */
40654 # include <limits.h>
40656 # include <assert.h>
40658 /* Override any gcc2 internal prototype to avoid an error. */
40663 /* We use char because int might match the return type of a gcc2
40664 builtin and then its argument prototype would still apply. */
40666 /* The GNU C library defines this for functions which it implements
40667 to always fail with ENOSYS. Some functions are actually named
40668 something starting with __ and the normal name is an alias. */
40669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40672 char (*f) () = $ac_func;
40681 return f != $ac_func;
40686 rm -f conftest.
$ac_objext conftest
$ac_exeext
40687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40688 (eval $ac_link) 2>&5
40690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40691 (exit $ac_status); } &&
40692 { ac_try
='test -s conftest$ac_exeext'
40693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40694 (eval $ac_try) 2>&5
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); }; }; then
40698 eval "$as_ac_var=yes"
40700 echo "$as_me: failed program was:" >&5
40701 sed 's/^/| /' conftest.
$ac_ext >&5
40703 eval "$as_ac_var=no"
40705 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
40707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40709 if test `eval echo '${'$as_ac_var'}'` = yes; then
40710 cat >>confdefs.h
<<_ACEOF
40711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40717 if test $ac_cv_func_sqrt = no
; then
40718 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
40719 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
40720 if test "${ac_cv_lib_m_sqrt+set}" = set; then
40721 echo $ECHO_N "(cached) $ECHO_C" >&6
40723 ac_check_lib_save_LIBS
=$LIBS
40725 cat >conftest.
$ac_ext <<_ACEOF
40726 #line $LINENO "configure"
40729 cat confdefs.h
>>conftest.
$ac_ext
40730 cat >>conftest.
$ac_ext <<_ACEOF
40731 /* end confdefs.h. */
40733 /* Override any gcc2 internal prototype to avoid an error. */
40737 /* We use char because int might match the return type of a gcc2
40738 builtin and then its argument prototype would still apply. */
40748 rm -f conftest.
$ac_objext conftest
$ac_exeext
40749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40750 (eval $ac_link) 2>&5
40752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40753 (exit $ac_status); } &&
40754 { ac_try
='test -s conftest$ac_exeext'
40755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40756 (eval $ac_try) 2>&5
40758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759 (exit $ac_status); }; }; then
40760 ac_cv_lib_m_sqrt
=yes
40762 echo "$as_me: failed program was:" >&5
40763 sed 's/^/| /' conftest.
$ac_ext >&5
40765 ac_cv_lib_m_sqrt
=no
40767 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
40768 LIBS
=$ac_check_lib_save_LIBS
40770 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
40771 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
40772 if test $ac_cv_lib_m_sqrt = yes; then
40780 for ac_func
in fesetround
40782 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40783 echo "$as_me:$LINENO: checking for $ac_func" >&5
40784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40785 if eval "test \"\${$as_ac_var+set}\" = set"; then
40786 echo $ECHO_N "(cached) $ECHO_C" >&6
40788 cat >conftest.
$ac_ext <<_ACEOF
40789 #line $LINENO "configure"
40792 cat confdefs.h
>>conftest.
$ac_ext
40793 cat >>conftest.
$ac_ext <<_ACEOF
40794 /* end confdefs.h. */
40795 /* System header to define __stub macros and hopefully few prototypes,
40796 which can conflict with char $ac_func (); below.
40797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40798 <limits.h> exists even on freestanding compilers. */
40800 # include <limits.h>
40802 # include <assert.h>
40804 /* Override any gcc2 internal prototype to avoid an error. */
40809 /* We use char because int might match the return type of a gcc2
40810 builtin and then its argument prototype would still apply. */
40812 /* The GNU C library defines this for functions which it implements
40813 to always fail with ENOSYS. Some functions are actually named
40814 something starting with __ and the normal name is an alias. */
40815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40818 char (*f) () = $ac_func;
40827 return f != $ac_func;
40832 rm -f conftest.
$ac_objext conftest
$ac_exeext
40833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40834 (eval $ac_link) 2>&5
40836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40837 (exit $ac_status); } &&
40838 { ac_try
='test -s conftest$ac_exeext'
40839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40840 (eval $ac_try) 2>&5
40842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40843 (exit $ac_status); }; }; then
40844 eval "$as_ac_var=yes"
40846 echo "$as_me: failed program was:" >&5
40847 sed 's/^/| /' conftest.
$ac_ext >&5
40849 eval "$as_ac_var=no"
40851 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
40853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40855 if test `eval echo '${'$as_ac_var'}'` = yes; then
40856 cat >>confdefs.h
<<_ACEOF
40857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40863 if test $ac_cv_func_fesetround = no
; then
40864 echo "$as_me:$LINENO: checking for fesetround in -lm" >&5
40865 echo $ECHO_N "checking for fesetround in -lm... $ECHO_C" >&6
40866 if test "${ac_cv_lib_m_fesetround+set}" = set; then
40867 echo $ECHO_N "(cached) $ECHO_C" >&6
40869 ac_check_lib_save_LIBS
=$LIBS
40871 cat >conftest.
$ac_ext <<_ACEOF
40872 #line $LINENO "configure"
40875 cat confdefs.h
>>conftest.
$ac_ext
40876 cat >>conftest.
$ac_ext <<_ACEOF
40877 /* end confdefs.h. */
40879 /* Override any gcc2 internal prototype to avoid an error. */
40883 /* We use char because int might match the return type of a gcc2
40884 builtin and then its argument prototype would still apply. */
40885 char fesetround ();
40894 rm -f conftest.
$ac_objext conftest
$ac_exeext
40895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40896 (eval $ac_link) 2>&5
40898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40899 (exit $ac_status); } &&
40900 { ac_try
='test -s conftest$ac_exeext'
40901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40902 (eval $ac_try) 2>&5
40904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40905 (exit $ac_status); }; }; then
40906 ac_cv_lib_m_fesetround
=yes
40908 echo "$as_me: failed program was:" >&5
40909 sed 's/^/| /' conftest.
$ac_ext >&5
40911 ac_cv_lib_m_fesetround
=no
40913 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
40914 LIBS
=$ac_check_lib_save_LIBS
40916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fesetround" >&5
40917 echo "${ECHO_T}$ac_cv_lib_m_fesetround" >&6
40918 if test $ac_cv_lib_m_fesetround = yes; then
40919 FESETROUND_LIBM
=-lm
40924 # The -lsun library is required for YP support on Irix-4.0.5 systems.
40925 # m88k/svr3 DolphinOS systems using YP need -lypsec for id.
40927 echo "$as_me:$LINENO: checking for library containing yp_match" >&5
40928 echo $ECHO_N "checking for library containing yp_match... $ECHO_C" >&6
40929 if test "${ac_cv_search_yp_match+set}" = set; then
40930 echo $ECHO_N "(cached) $ECHO_C" >&6
40933 ac_func_search_save_LIBS
=$LIBS
40934 ac_cv_search_yp_match
=no
40935 cat >conftest.
$ac_ext <<_ACEOF
40936 #line $LINENO "configure"
40939 cat confdefs.h
>>conftest.
$ac_ext
40940 cat >>conftest.
$ac_ext <<_ACEOF
40941 /* end confdefs.h. */
40943 /* Override any gcc2 internal prototype to avoid an error. */
40947 /* We use char because int might match the return type of a gcc2
40948 builtin and then its argument prototype would still apply. */
40958 rm -f conftest.
$ac_objext conftest
$ac_exeext
40959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40960 (eval $ac_link) 2>&5
40962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40963 (exit $ac_status); } &&
40964 { ac_try
='test -s conftest$ac_exeext'
40965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40966 (eval $ac_try) 2>&5
40968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40969 (exit $ac_status); }; }; then
40970 ac_cv_search_yp_match
='none required'
40972 echo "$as_me: failed program was:" >&5
40973 sed 's/^/| /' conftest.
$ac_ext >&5
40976 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
40977 if test "$ac_cv_search_yp_match" = no
; then
40978 for ac_lib
in sun ypsec
; do
40979 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
40980 cat >conftest.
$ac_ext <<_ACEOF
40981 #line $LINENO "configure"
40984 cat confdefs.h
>>conftest.
$ac_ext
40985 cat >>conftest.
$ac_ext <<_ACEOF
40986 /* end confdefs.h. */
40988 /* Override any gcc2 internal prototype to avoid an error. */
40992 /* We use char because int might match the return type of a gcc2
40993 builtin and then its argument prototype would still apply. */
41003 rm -f conftest.
$ac_objext conftest
$ac_exeext
41004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41005 (eval $ac_link) 2>&5
41007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41008 (exit $ac_status); } &&
41009 { ac_try
='test -s conftest$ac_exeext'
41010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41011 (eval $ac_try) 2>&5
41013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41014 (exit $ac_status); }; }; then
41015 ac_cv_search_yp_match
="-l$ac_lib"; break
41017 echo "$as_me: failed program was:" >&5
41018 sed 's/^/| /' conftest.
$ac_ext >&5
41021 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
41024 LIBS
=$ac_func_search_save_LIBS
41027 echo "$as_me:$LINENO: result: $ac_cv_search_yp_match" >&5
41028 echo "${ECHO_T}$ac_cv_search_yp_match" >&6
41030 if test "$ac_cv_search_yp_match" = no
; then :
41033 if test "$ac_cv_search_yp_match" = 'none required'; then :
41036 LIBS
="$ac_cv_search_yp_match $LIBS"
41042 # SysV needs -lsec, older versions of Linux need -lshadow for
41043 # shadow passwords. UnixWare 7 needs -lgen.
41045 echo "$as_me:$LINENO: checking for library containing getspnam" >&5
41046 echo $ECHO_N "checking for library containing getspnam... $ECHO_C" >&6
41047 if test "${ac_cv_search_getspnam+set}" = set; then
41048 echo $ECHO_N "(cached) $ECHO_C" >&6
41051 ac_func_search_save_LIBS
=$LIBS
41052 ac_cv_search_getspnam
=no
41053 cat >conftest.
$ac_ext <<_ACEOF
41054 #line $LINENO "configure"
41057 cat confdefs.h
>>conftest.
$ac_ext
41058 cat >>conftest.
$ac_ext <<_ACEOF
41059 /* end confdefs.h. */
41061 /* Override any gcc2 internal prototype to avoid an error. */
41065 /* We use char because int might match the return type of a gcc2
41066 builtin and then its argument prototype would still apply. */
41076 rm -f conftest.
$ac_objext conftest
$ac_exeext
41077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41078 (eval $ac_link) 2>&5
41080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41081 (exit $ac_status); } &&
41082 { ac_try
='test -s conftest$ac_exeext'
41083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41084 (eval $ac_try) 2>&5
41086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41087 (exit $ac_status); }; }; then
41088 ac_cv_search_getspnam
='none required'
41090 echo "$as_me: failed program was:" >&5
41091 sed 's/^/| /' conftest.
$ac_ext >&5
41094 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
41095 if test "$ac_cv_search_getspnam" = no
; then
41096 for ac_lib
in shadow sec gen
; do
41097 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
41098 cat >conftest.
$ac_ext <<_ACEOF
41099 #line $LINENO "configure"
41102 cat confdefs.h
>>conftest.
$ac_ext
41103 cat >>conftest.
$ac_ext <<_ACEOF
41104 /* end confdefs.h. */
41106 /* Override any gcc2 internal prototype to avoid an error. */
41110 /* We use char because int might match the return type of a gcc2
41111 builtin and then its argument prototype would still apply. */
41121 rm -f conftest.
$ac_objext conftest
$ac_exeext
41122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41123 (eval $ac_link) 2>&5
41125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41126 (exit $ac_status); } &&
41127 { ac_try
='test -s conftest$ac_exeext'
41128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41129 (eval $ac_try) 2>&5
41131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41132 (exit $ac_status); }; }; then
41133 ac_cv_search_getspnam
="-l$ac_lib"; break
41135 echo "$as_me: failed program was:" >&5
41136 sed 's/^/| /' conftest.
$ac_ext >&5
41139 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
41142 LIBS
=$ac_func_search_save_LIBS
41145 echo "$as_me:$LINENO: result: $ac_cv_search_getspnam" >&5
41146 echo "${ECHO_T}$ac_cv_search_getspnam" >&6
41148 if test "$ac_cv_search_getspnam" = no
; then :
41151 if test "$ac_cv_search_getspnam" = 'none required'; then :
41154 LIBS
="$ac_cv_search_getspnam $LIBS"
41161 for ac_header
in shadow.h
41163 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41165 echo "$as_me:$LINENO: checking for $ac_header" >&5
41166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41168 echo $ECHO_N "(cached) $ECHO_C" >&6
41170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41173 # Is the header compilable?
41174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41176 cat >conftest.
$ac_ext <<_ACEOF
41177 #line $LINENO "configure"
41180 cat confdefs.h
>>conftest.
$ac_ext
41181 cat >>conftest.
$ac_ext <<_ACEOF
41182 /* end confdefs.h. */
41183 $ac_includes_default
41184 #include <$ac_header>
41186 rm -f conftest.
$ac_objext
41187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41188 (eval $ac_compile) 2>&5
41190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41191 (exit $ac_status); } &&
41192 { ac_try
='test -s conftest.$ac_objext'
41193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41194 (eval $ac_try) 2>&5
41196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41197 (exit $ac_status); }; }; then
41198 ac_header_compiler
=yes
41200 echo "$as_me: failed program was:" >&5
41201 sed 's/^/| /' conftest.
$ac_ext >&5
41203 ac_header_compiler
=no
41205 rm -f conftest.
$ac_objext conftest.
$ac_ext
41206 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41207 echo "${ECHO_T}$ac_header_compiler" >&6
41209 # Is the header present?
41210 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41212 cat >conftest.
$ac_ext <<_ACEOF
41213 #line $LINENO "configure"
41216 cat confdefs.h
>>conftest.
$ac_ext
41217 cat >>conftest.
$ac_ext <<_ACEOF
41218 /* end confdefs.h. */
41219 #include <$ac_header>
41221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41222 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41224 grep -v '^ *+' conftest.er1
>conftest.err
41226 cat conftest.err
>&5
41227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41228 (exit $ac_status); } >/dev
/null
; then
41229 if test -s conftest.err
; then
41230 ac_cpp_err
=$ac_c_preproc_warn_flag
41237 if test -z "$ac_cpp_err"; then
41238 ac_header_preproc
=yes
41240 echo "$as_me: failed program was:" >&5
41241 sed 's/^/| /' conftest.
$ac_ext >&5
41243 ac_header_preproc
=no
41245 rm -f conftest.err conftest.
$ac_ext
41246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41247 echo "${ECHO_T}$ac_header_preproc" >&6
41249 # So? What about this header?
41250 case $ac_header_compiler:$ac_header_preproc in
41252 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41253 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41258 ## ------------------------------------ ##
41259 ## Report this to bug-autoconf@gnu.org. ##
41260 ## ------------------------------------ ##
41263 sed "s/^/$as_me: WARNING: /" >&2
41266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41274 ## ------------------------------------ ##
41275 ## Report this to bug-autoconf@gnu.org. ##
41276 ## ------------------------------------ ##
41279 sed "s/^/$as_me: WARNING: /" >&2
41282 echo "$as_me:$LINENO: checking for $ac_header" >&5
41283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41285 echo $ECHO_N "(cached) $ECHO_C" >&6
41287 eval "$as_ac_Header=$ac_header_preproc"
41289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41294 cat >>confdefs.h
<<_ACEOF
41295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41303 # Requirements for su.c.
41305 $ac_includes_default
41307 # include <shadow.h>
41310 echo "$as_me:$LINENO: checking for struct spwd.sp_pwdp" >&5
41311 echo $ECHO_N "checking for struct spwd.sp_pwdp... $ECHO_C" >&6
41312 if test "${ac_cv_member_struct_spwd_sp_pwdp+set}" = set; then
41313 echo $ECHO_N "(cached) $ECHO_C" >&6
41315 cat >conftest.
$ac_ext <<_ACEOF
41316 #line $LINENO "configure"
41319 cat confdefs.h
>>conftest.
$ac_ext
41320 cat >>conftest.
$ac_ext <<_ACEOF
41321 /* end confdefs.h. */
41327 static struct spwd ac_aggr;
41328 if (ac_aggr.sp_pwdp)
41334 rm -f conftest.
$ac_objext
41335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41336 (eval $ac_compile) 2>&5
41338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41339 (exit $ac_status); } &&
41340 { ac_try
='test -s conftest.$ac_objext'
41341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41342 (eval $ac_try) 2>&5
41344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41345 (exit $ac_status); }; }; then
41346 ac_cv_member_struct_spwd_sp_pwdp
=yes
41348 echo "$as_me: failed program was:" >&5
41349 sed 's/^/| /' conftest.
$ac_ext >&5
41351 cat >conftest.
$ac_ext <<_ACEOF
41352 #line $LINENO "configure"
41355 cat confdefs.h
>>conftest.
$ac_ext
41356 cat >>conftest.
$ac_ext <<_ACEOF
41357 /* end confdefs.h. */
41363 static struct spwd ac_aggr;
41364 if (sizeof ac_aggr.sp_pwdp)
41370 rm -f conftest.
$ac_objext
41371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41372 (eval $ac_compile) 2>&5
41374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41375 (exit $ac_status); } &&
41376 { ac_try
='test -s conftest.$ac_objext'
41377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41378 (eval $ac_try) 2>&5
41380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41381 (exit $ac_status); }; }; then
41382 ac_cv_member_struct_spwd_sp_pwdp
=yes
41384 echo "$as_me: failed program was:" >&5
41385 sed 's/^/| /' conftest.
$ac_ext >&5
41387 ac_cv_member_struct_spwd_sp_pwdp
=no
41389 rm -f conftest.
$ac_objext conftest.
$ac_ext
41391 rm -f conftest.
$ac_objext conftest.
$ac_ext
41393 echo "$as_me:$LINENO: result: $ac_cv_member_struct_spwd_sp_pwdp" >&5
41394 echo "${ECHO_T}$ac_cv_member_struct_spwd_sp_pwdp" >&6
41395 if test $ac_cv_member_struct_spwd_sp_pwdp = yes; then
41397 cat >>confdefs.h
<<_ACEOF
41398 #define HAVE_STRUCT_SPWD_SP_PWDP 1
41405 for ac_func
in getspnam
41407 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41408 echo "$as_me:$LINENO: checking for $ac_func" >&5
41409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41410 if eval "test \"\${$as_ac_var+set}\" = set"; then
41411 echo $ECHO_N "(cached) $ECHO_C" >&6
41413 cat >conftest.
$ac_ext <<_ACEOF
41414 #line $LINENO "configure"
41417 cat confdefs.h
>>conftest.
$ac_ext
41418 cat >>conftest.
$ac_ext <<_ACEOF
41419 /* end confdefs.h. */
41420 /* System header to define __stub macros and hopefully few prototypes,
41421 which can conflict with char $ac_func (); below.
41422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41423 <limits.h> exists even on freestanding compilers. */
41425 # include <limits.h>
41427 # include <assert.h>
41429 /* Override any gcc2 internal prototype to avoid an error. */
41434 /* We use char because int might match the return type of a gcc2
41435 builtin and then its argument prototype would still apply. */
41437 /* The GNU C library defines this for functions which it implements
41438 to always fail with ENOSYS. Some functions are actually named
41439 something starting with __ and the normal name is an alias. */
41440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41443 char (*f) () = $ac_func;
41452 return f != $ac_func;
41457 rm -f conftest.
$ac_objext conftest
$ac_exeext
41458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41459 (eval $ac_link) 2>&5
41461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41462 (exit $ac_status); } &&
41463 { ac_try
='test -s conftest$ac_exeext'
41464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41465 (eval $ac_try) 2>&5
41467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41468 (exit $ac_status); }; }; then
41469 eval "$as_ac_var=yes"
41471 echo "$as_me: failed program was:" >&5
41472 sed 's/^/| /' conftest.
$ac_ext >&5
41474 eval "$as_ac_var=no"
41476 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
41478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41480 if test `eval echo '${'$as_ac_var'}'` = yes; then
41481 cat >>confdefs.h
<<_ACEOF
41482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41489 # SCO-ODT-3.0 is reported to need -lufc for crypt.
41490 # NetBSD needs -lcrypt for crypt.
41491 ac_su_saved_lib
="$LIBS"
41493 echo "$as_me:$LINENO: checking for library containing crypt" >&5
41494 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6
41495 if test "${ac_cv_search_crypt+set}" = set; then
41496 echo $ECHO_N "(cached) $ECHO_C" >&6
41499 ac_func_search_save_LIBS
=$LIBS
41500 ac_cv_search_crypt
=no
41501 cat >conftest.
$ac_ext <<_ACEOF
41502 #line $LINENO "configure"
41505 cat confdefs.h
>>conftest.
$ac_ext
41506 cat >>conftest.
$ac_ext <<_ACEOF
41507 /* end confdefs.h. */
41509 /* Override any gcc2 internal prototype to avoid an error. */
41513 /* We use char because int might match the return type of a gcc2
41514 builtin and then its argument prototype would still apply. */
41524 rm -f conftest.
$ac_objext conftest
$ac_exeext
41525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41526 (eval $ac_link) 2>&5
41528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529 (exit $ac_status); } &&
41530 { ac_try
='test -s conftest$ac_exeext'
41531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41532 (eval $ac_try) 2>&5
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); }; }; then
41536 ac_cv_search_crypt
='none required'
41538 echo "$as_me: failed program was:" >&5
41539 sed 's/^/| /' conftest.
$ac_ext >&5
41542 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
41543 if test "$ac_cv_search_crypt" = no
; then
41544 for ac_lib
in ufc
crypt; do
41545 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
41546 cat >conftest.
$ac_ext <<_ACEOF
41547 #line $LINENO "configure"
41550 cat confdefs.h
>>conftest.
$ac_ext
41551 cat >>conftest.
$ac_ext <<_ACEOF
41552 /* end confdefs.h. */
41554 /* Override any gcc2 internal prototype to avoid an error. */
41558 /* We use char because int might match the return type of a gcc2
41559 builtin and then its argument prototype would still apply. */
41569 rm -f conftest.
$ac_objext conftest
$ac_exeext
41570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41571 (eval $ac_link) 2>&5
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); } &&
41575 { ac_try
='test -s conftest$ac_exeext'
41576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41577 (eval $ac_try) 2>&5
41579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41580 (exit $ac_status); }; }; then
41581 ac_cv_search_crypt
="-l$ac_lib"; break
41583 echo "$as_me: failed program was:" >&5
41584 sed 's/^/| /' conftest.
$ac_ext >&5
41587 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
41590 LIBS
=$ac_func_search_save_LIBS
41593 echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
41594 echo "${ECHO_T}$ac_cv_search_crypt" >&6
41596 if test "$ac_cv_search_crypt" = no
; then :
41599 if test "$ac_cv_search_crypt" = 'none required'; then :
41602 LIBS
="$ac_cv_search_crypt $LIBS"
41603 LIB_CRYPT
="$ac_cv_search_crypt"
41607 LIBS
="$ac_su_saved_lib"
41613 if test -n "$ac_aux_dir"; then
41614 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
41616 if test -z "$MKINSTALLDIRS"; then
41617 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
41624 # Extract the first word of "msgfmt", so it can be a program name with args.
41625 set dummy msgfmt
; ac_word
=$2
41626 echo "$as_me:$LINENO: checking for $ac_word" >&5
41627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41628 if test "${ac_cv_path_MSGFMT+set}" = set; then
41629 echo $ECHO_N "(cached) $ECHO_C" >&6
41633 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
41636 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
41637 for ac_dir
in $PATH; do
41638 test -z "$ac_dir" && ac_dir
=.
41639 if test -f $ac_dir/$ac_word; then
41640 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
41641 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
41642 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
41648 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
41652 MSGFMT
="$ac_cv_path_MSGFMT"
41653 if test "$MSGFMT" != ":"; then
41654 echo "$as_me:$LINENO: result: $MSGFMT" >&5
41655 echo "${ECHO_T}$MSGFMT" >&6
41657 echo "$as_me:$LINENO: result: no" >&5
41658 echo "${ECHO_T}no" >&6
41661 # Extract the first word of "gmsgfmt", so it can be a program name with args.
41662 set dummy gmsgfmt
; ac_word
=$2
41663 echo "$as_me:$LINENO: checking for $ac_word" >&5
41664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41665 if test "${ac_cv_path_GMSGFMT+set}" = set; then
41666 echo $ECHO_N "(cached) $ECHO_C" >&6
41670 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
41673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41674 for as_dir
in $PATH
41677 test -z "$as_dir" && as_dir
=.
41678 for ac_exec_ext
in '' $ac_executable_extensions; do
41679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41680 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
41681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41687 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
41691 GMSGFMT
=$ac_cv_path_GMSGFMT
41693 if test -n "$GMSGFMT"; then
41694 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
41695 echo "${ECHO_T}$GMSGFMT" >&6
41697 echo "$as_me:$LINENO: result: no" >&5
41698 echo "${ECHO_T}no" >&6
41702 # Extract the first word of "xgettext", so it can be a program name with args.
41703 set dummy xgettext
; ac_word
=$2
41704 echo "$as_me:$LINENO: checking for $ac_word" >&5
41705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41706 if test "${ac_cv_path_XGETTEXT+set}" = set; then
41707 echo $ECHO_N "(cached) $ECHO_C" >&6
41709 case "$XGETTEXT" in
41711 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
41714 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
41715 for ac_dir
in $PATH; do
41716 test -z "$ac_dir" && ac_dir
=.
41717 if test -f $ac_dir/$ac_word; then
41718 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
41719 (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
41720 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
41726 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
41730 XGETTEXT
="$ac_cv_path_XGETTEXT"
41731 if test "$XGETTEXT" != ":"; then
41732 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
41733 echo "${ECHO_T}$XGETTEXT" >&6
41735 echo "$as_me:$LINENO: result: no" >&5
41736 echo "${ECHO_T}no" >&6
41741 # Extract the first word of "msgmerge", so it can be a program name with args.
41742 set dummy msgmerge
; ac_word
=$2
41743 echo "$as_me:$LINENO: checking for $ac_word" >&5
41744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41745 if test "${ac_cv_path_MSGMERGE+set}" = set; then
41746 echo $ECHO_N "(cached) $ECHO_C" >&6
41748 case "$MSGMERGE" in
41750 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
41753 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
41754 for ac_dir
in $PATH; do
41755 test -z "$ac_dir" && ac_dir
=.
41756 if test -f $ac_dir/$ac_word; then
41757 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
41758 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
41764 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
41768 MSGMERGE
="$ac_cv_path_MSGMERGE"
41769 if test "$MSGMERGE" != ":"; then
41770 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
41771 echo "${ECHO_T}$MSGMERGE" >&6
41773 echo "$as_me:$LINENO: result: no" >&5
41774 echo "${ECHO_T}no" >&6
41778 if test "$GMSGFMT" != ":"; then
41779 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
41780 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
41783 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
41784 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
41785 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
41790 if test "$XGETTEXT" != ":"; then
41791 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
41792 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
41795 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
41796 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
41802 ac_config_commands
="$ac_config_commands default-1"
41820 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
41821 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
41822 # Check whether --enable-nls or --disable-nls was given.
41823 if test "${enable_nls+set}" = set; then
41824 enableval
="$enable_nls"
41829 echo "$as_me:$LINENO: result: $USE_NLS" >&5
41830 echo "${ECHO_T}$USE_NLS" >&6
41838 if test "$USE_NLS" = "yes"; then
41839 gt_use_preinstalled_gnugettext
=no
41846 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
41847 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
41848 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
41849 echo $ECHO_N "(cached) $ECHO_C" >&6
41851 cat >conftest.
$ac_ext <<_ACEOF
41852 #line $LINENO "configure"
41855 cat confdefs.h
>>conftest.
$ac_ext
41856 cat >>conftest.
$ac_ext <<_ACEOF
41857 /* end confdefs.h. */
41858 #include <libintl.h>
41859 extern int _nl_msg_cat_cntr;
41860 extern int *_nl_domain_bindings;
41864 bindtextdomain ("", "");
41865 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
41870 rm -f conftest.
$ac_objext conftest
$ac_exeext
41871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41872 (eval $ac_link) 2>&5
41874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41875 (exit $ac_status); } &&
41876 { ac_try
='test -s conftest$ac_exeext'
41877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41878 (eval $ac_try) 2>&5
41880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41881 (exit $ac_status); }; }; then
41882 gt_cv_func_gnugettext2_libc
=yes
41884 echo "$as_me: failed program was:" >&5
41885 sed 's/^/| /' conftest.
$ac_ext >&5
41887 gt_cv_func_gnugettext2_libc
=no
41889 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
41891 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
41892 echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
41894 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
41900 am_save_CPPFLAGS
="$CPPFLAGS"
41902 for element
in $INCICONV; do
41904 for x
in $CPPFLAGS; do
41906 acl_save_prefix
="$prefix"
41907 prefix
="$acl_final_prefix"
41908 acl_save_exec_prefix
="$exec_prefix"
41909 exec_prefix
="$acl_final_exec_prefix"
41911 exec_prefix
="$acl_save_exec_prefix"
41912 prefix
="$acl_save_prefix"
41914 if test "X$x" = "X$element"; then
41919 if test -z "$haveit"; then
41920 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
41925 echo "$as_me:$LINENO: checking for iconv" >&5
41926 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41927 if test "${am_cv_func_iconv+set}" = set; then
41928 echo $ECHO_N "(cached) $ECHO_C" >&6
41931 am_cv_func_iconv
="no, consider installing GNU libiconv"
41933 cat >conftest.
$ac_ext <<_ACEOF
41934 #line $LINENO "configure"
41937 cat confdefs.h
>>conftest.
$ac_ext
41938 cat >>conftest.
$ac_ext <<_ACEOF
41939 /* end confdefs.h. */
41940 #include <stdlib.h>
41945 iconv_t cd = iconv_open("","");
41946 iconv(cd,NULL,NULL,NULL,NULL);
41952 rm -f conftest.
$ac_objext conftest
$ac_exeext
41953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41954 (eval $ac_link) 2>&5
41956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41957 (exit $ac_status); } &&
41958 { ac_try
='test -s conftest$ac_exeext'
41959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41960 (eval $ac_try) 2>&5
41962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41963 (exit $ac_status); }; }; then
41964 am_cv_func_iconv
=yes
41966 echo "$as_me: failed program was:" >&5
41967 sed 's/^/| /' conftest.
$ac_ext >&5
41970 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
41971 if test "$am_cv_func_iconv" != yes; then
41972 am_save_LIBS
="$LIBS"
41973 LIBS
="$LIBS $LIBICONV"
41974 cat >conftest.
$ac_ext <<_ACEOF
41975 #line $LINENO "configure"
41978 cat confdefs.h
>>conftest.
$ac_ext
41979 cat >>conftest.
$ac_ext <<_ACEOF
41980 /* end confdefs.h. */
41981 #include <stdlib.h>
41986 iconv_t cd = iconv_open("","");
41987 iconv(cd,NULL,NULL,NULL,NULL);
41993 rm -f conftest.
$ac_objext conftest
$ac_exeext
41994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41995 (eval $ac_link) 2>&5
41997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41998 (exit $ac_status); } &&
41999 { ac_try
='test -s conftest$ac_exeext'
42000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42001 (eval $ac_try) 2>&5
42003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42004 (exit $ac_status); }; }; then
42005 am_cv_lib_iconv
=yes
42006 am_cv_func_iconv
=yes
42008 echo "$as_me: failed program was:" >&5
42009 sed 's/^/| /' conftest.
$ac_ext >&5
42012 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
42013 LIBS
="$am_save_LIBS"
42017 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42018 echo "${ECHO_T}$am_cv_func_iconv" >&6
42019 if test "$am_cv_func_iconv" = yes; then
42021 cat >>confdefs.h
<<\_ACEOF
42022 #define HAVE_ICONV 1
42026 if test "$am_cv_lib_iconv" = yes; then
42027 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42028 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42029 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42030 echo "${ECHO_T}$LIBICONV" >&6
42032 CPPFLAGS
="$am_save_CPPFLAGS"
42044 acl_save_prefix
="$prefix"
42045 prefix
="$acl_final_prefix"
42046 acl_save_exec_prefix
="$exec_prefix"
42047 exec_prefix
="$acl_final_exec_prefix"
42049 eval additional_includedir
=\"$includedir\"
42050 eval additional_libdir
=\"$libdir\"
42052 exec_prefix
="$acl_save_exec_prefix"
42053 prefix
="$acl_save_prefix"
42056 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
42057 if test "${with_libintl_prefix+set}" = set; then
42058 withval
="$with_libintl_prefix"
42060 if test "X$withval" = "Xno"; then
42063 if test "X$withval" = "X"; then
42065 acl_save_prefix
="$prefix"
42066 prefix
="$acl_final_prefix"
42067 acl_save_exec_prefix
="$exec_prefix"
42068 exec_prefix
="$acl_final_exec_prefix"
42070 eval additional_includedir
=\"$includedir\"
42071 eval additional_libdir
=\"$libdir\"
42073 exec_prefix
="$acl_save_exec_prefix"
42074 prefix
="$acl_save_prefix"
42077 additional_includedir
="$withval/include"
42078 additional_libdir
="$withval/lib"
42088 names_already_handled
=
42089 names_next_round
='intl '
42090 while test -n "$names_next_round"; do
42091 names_this_round
="$names_next_round"
42093 for name
in $names_this_round; do
42095 for n
in $names_already_handled; do
42096 if test "$n" = "$name"; then
42097 already_handled
=yes
42101 if test -z "$already_handled"; then
42102 names_already_handled
="$names_already_handled $name"
42103 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42104 eval value
=\"\
$HAVE_LIB$uppername\"
42105 if test -n "$value"; then
42106 if test "$value" = yes; then
42107 eval value
=\"\
$LIB$uppername\"
42108 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
42109 eval value
=\"\
$LTLIB$uppername\"
42110 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
42119 if test $use_additional = yes; then
42120 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42121 found_dir
="$additional_libdir"
42122 found_so
="$additional_libdir/lib$name.$shlibext"
42123 if test -f "$additional_libdir/lib$name.la"; then
42124 found_la
="$additional_libdir/lib$name.la"
42127 if test -f "$additional_libdir/lib$name.$libext"; then
42128 found_dir
="$additional_libdir"
42129 found_a
="$additional_libdir/lib$name.$libext"
42130 if test -f "$additional_libdir/lib$name.la"; then
42131 found_la
="$additional_libdir/lib$name.la"
42136 if test "X$found_dir" = "X"; then
42137 for x
in $LDFLAGS $LTLIBINTL; do
42139 acl_save_prefix
="$prefix"
42140 prefix
="$acl_final_prefix"
42141 acl_save_exec_prefix
="$exec_prefix"
42142 exec_prefix
="$acl_final_exec_prefix"
42144 exec_prefix
="$acl_save_exec_prefix"
42145 prefix
="$acl_save_prefix"
42149 dir
=`echo "X$x" | sed -e 's/^X-L//'`
42150 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42152 found_so
="$dir/lib$name.$shlibext"
42153 if test -f "$dir/lib$name.la"; then
42154 found_la
="$dir/lib$name.la"
42157 if test -f "$dir/lib$name.$libext"; then
42159 found_a
="$dir/lib$name.$libext"
42160 if test -f "$dir/lib$name.la"; then
42161 found_la
="$dir/lib$name.la"
42167 if test "X$found_dir" != "X"; then
42172 if test "X$found_dir" != "X"; then
42173 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
42174 if test "X$found_so" != "X"; then
42175 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
42176 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
42179 for x
in $ltrpathdirs; do
42180 if test "X$x" = "X$found_dir"; then
42185 if test -z "$haveit"; then
42186 ltrpathdirs
="$ltrpathdirs $found_dir"
42188 if test "$hardcode_direct" = yes; then
42189 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
42191 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
42192 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
42194 for x
in $rpathdirs; do
42195 if test "X$x" = "X$found_dir"; then
42200 if test -z "$haveit"; then
42201 rpathdirs
="$rpathdirs $found_dir"
42205 for x
in $LDFLAGS $LIBINTL; do
42207 acl_save_prefix
="$prefix"
42208 prefix
="$acl_final_prefix"
42209 acl_save_exec_prefix
="$exec_prefix"
42210 exec_prefix
="$acl_final_exec_prefix"
42212 exec_prefix
="$acl_save_exec_prefix"
42213 prefix
="$acl_save_prefix"
42215 if test "X$x" = "X-L$found_dir"; then
42220 if test -z "$haveit"; then
42221 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
42223 if test "$hardcode_minus_L" != no
; then
42224 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
42226 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
42232 if test "X$found_a" != "X"; then
42233 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
42235 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
42238 additional_includedir
=
42239 case "$found_dir" in
42241 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42242 additional_includedir
="$basedir/include"
42245 if test "X$additional_includedir" != "X"; then
42246 if test "X$additional_includedir" != "X/usr/include"; then
42248 if test "X$additional_includedir" = "X/usr/local/include"; then
42249 if test -n "$GCC"; then
42251 linux
*) haveit
=yes;;
42255 if test -z "$haveit"; then
42256 for x
in $CPPFLAGS $INCINTL; do
42258 acl_save_prefix
="$prefix"
42259 prefix
="$acl_final_prefix"
42260 acl_save_exec_prefix
="$exec_prefix"
42261 exec_prefix
="$acl_final_exec_prefix"
42263 exec_prefix
="$acl_save_exec_prefix"
42264 prefix
="$acl_save_prefix"
42266 if test "X$x" = "X-I$additional_includedir"; then
42271 if test -z "$haveit"; then
42272 if test -d "$additional_includedir"; then
42273 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
42279 if test -n "$found_la"; then
42280 save_libdir
="$libdir"
42281 case "$found_la" in
42282 */* |
*\\*) .
"$found_la" ;;
42283 *) .
"./$found_la" ;;
42285 libdir
="$save_libdir"
42286 for dep
in $dependency_libs; do
42289 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
42290 if test "X$additional_libdir" != "X/usr/lib"; then
42292 if test "X$additional_libdir" = "X/usr/local/lib"; then
42293 if test -n "$GCC"; then
42295 linux
*) haveit
=yes;;
42299 if test -z "$haveit"; then
42301 for x
in $LDFLAGS $LIBINTL; do
42303 acl_save_prefix
="$prefix"
42304 prefix
="$acl_final_prefix"
42305 acl_save_exec_prefix
="$exec_prefix"
42306 exec_prefix
="$acl_final_exec_prefix"
42308 exec_prefix
="$acl_save_exec_prefix"
42309 prefix
="$acl_save_prefix"
42311 if test "X$x" = "X-L$additional_libdir"; then
42316 if test -z "$haveit"; then
42317 if test -d "$additional_libdir"; then
42318 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
42322 for x
in $LDFLAGS $LTLIBINTL; do
42324 acl_save_prefix
="$prefix"
42325 prefix
="$acl_final_prefix"
42326 acl_save_exec_prefix
="$exec_prefix"
42327 exec_prefix
="$acl_final_exec_prefix"
42329 exec_prefix
="$acl_save_exec_prefix"
42330 prefix
="$acl_save_prefix"
42332 if test "X$x" = "X-L$additional_libdir"; then
42337 if test -z "$haveit"; then
42338 if test -d "$additional_libdir"; then
42339 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
42346 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
42347 if test "$enable_rpath" != no
; then
42349 for x
in $rpathdirs; do
42350 if test "X$x" = "X$dir"; then
42355 if test -z "$haveit"; then
42356 rpathdirs
="$rpathdirs $dir"
42359 for x
in $ltrpathdirs; do
42360 if test "X$x" = "X$dir"; then
42365 if test -z "$haveit"; then
42366 ltrpathdirs
="$ltrpathdirs $dir"
42371 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42374 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42377 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
42378 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
42384 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
42385 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
42391 if test "X$rpathdirs" != "X"; then
42392 if test -n "$hardcode_libdir_separator"; then
42394 for found_dir
in $rpathdirs; do
42395 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42397 acl_save_libdir
="$libdir"
42399 eval flag
=\"$hardcode_libdir_flag_spec\"
42400 libdir
="$acl_save_libdir"
42401 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
42403 for found_dir
in $rpathdirs; do
42404 acl_save_libdir
="$libdir"
42405 libdir
="$found_dir"
42406 eval flag
=\"$hardcode_libdir_flag_spec\"
42407 libdir
="$acl_save_libdir"
42408 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
42412 if test "X$ltrpathdirs" != "X"; then
42413 for found_dir
in $ltrpathdirs; do
42414 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
42418 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
42419 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
42420 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
42421 echo $ECHO_N "(cached) $ECHO_C" >&6
42423 gt_save_CPPFLAGS
="$CPPFLAGS"
42424 CPPFLAGS
="$CPPFLAGS $INCINTL"
42425 gt_save_LIBS
="$LIBS"
42426 LIBS
="$LIBS $LIBINTL"
42427 cat >conftest.
$ac_ext <<_ACEOF
42428 #line $LINENO "configure"
42431 cat confdefs.h
>>conftest.
$ac_ext
42432 cat >>conftest.
$ac_ext <<_ACEOF
42433 /* end confdefs.h. */
42434 #include <libintl.h>
42435 extern int _nl_msg_cat_cntr;
42440 const char *_nl_expand_alias ();
42444 bindtextdomain ("", "");
42445 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
42450 rm -f conftest.
$ac_objext conftest
$ac_exeext
42451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42452 (eval $ac_link) 2>&5
42454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42455 (exit $ac_status); } &&
42456 { ac_try
='test -s conftest$ac_exeext'
42457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42458 (eval $ac_try) 2>&5
42460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42461 (exit $ac_status); }; }; then
42462 gt_cv_func_gnugettext2_libintl
=yes
42464 echo "$as_me: failed program was:" >&5
42465 sed 's/^/| /' conftest.
$ac_ext >&5
42467 gt_cv_func_gnugettext2_libintl
=no
42469 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
42470 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
42471 LIBS
="$LIBS $LIBICONV"
42472 cat >conftest.
$ac_ext <<_ACEOF
42473 #line $LINENO "configure"
42476 cat confdefs.h
>>conftest.
$ac_ext
42477 cat >>conftest.
$ac_ext <<_ACEOF
42478 /* end confdefs.h. */
42479 #include <libintl.h>
42480 extern int _nl_msg_cat_cntr;
42485 const char *_nl_expand_alias ();
42489 bindtextdomain ("", "");
42490 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
42495 rm -f conftest.
$ac_objext conftest
$ac_exeext
42496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42497 (eval $ac_link) 2>&5
42499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42500 (exit $ac_status); } &&
42501 { ac_try
='test -s conftest$ac_exeext'
42502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42503 (eval $ac_try) 2>&5
42505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42506 (exit $ac_status); }; }; then
42507 LIBINTL
="$LIBINTL $LIBICONV"
42508 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
42509 gt_cv_func_gnugettext2_libintl
=yes
42512 echo "$as_me: failed program was:" >&5
42513 sed 's/^/| /' conftest.
$ac_ext >&5
42516 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
42518 CPPFLAGS
="$gt_save_CPPFLAGS"
42519 LIBS
="$gt_save_LIBS"
42521 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
42522 echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
42525 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
42526 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
42527 && test "$PACKAGE" != gettext; }; then
42528 gt_use_preinstalled_gnugettext
=yes
42537 if test "$gt_use_preinstalled_gnugettext" = "yes" \
42538 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
42540 cat >>confdefs.h
<<\_ACEOF
42541 #define ENABLE_NLS 1
42549 if test "$USE_NLS" = "yes"; then
42551 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
42552 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
42553 echo "$as_me:$LINENO: checking how to link with libintl" >&5
42554 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
42555 echo "$as_me:$LINENO: result: $LIBINTL" >&5
42556 echo "${ECHO_T}$LIBINTL" >&6
42558 for element
in $INCINTL; do
42560 for x
in $CPPFLAGS; do
42562 acl_save_prefix
="$prefix"
42563 prefix
="$acl_final_prefix"
42564 acl_save_exec_prefix
="$exec_prefix"
42565 exec_prefix
="$acl_final_exec_prefix"
42567 exec_prefix
="$acl_save_exec_prefix"
42568 prefix
="$acl_save_prefix"
42570 if test "X$x" = "X$element"; then
42575 if test -z "$haveit"; then
42576 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
42583 cat >>confdefs.h
<<\_ACEOF
42584 #define HAVE_GETTEXT 1
42588 cat >>confdefs.h
<<\_ACEOF
42589 #define HAVE_DCGETTEXT 1
42599 INTLLIBS
="$LIBINTL"
42608 ac_config_files
="$ac_config_files Makefile doc/Makefile lib/Makefile man/Makefile m4/Makefile po/Makefile.in src/Makefile tests/Makefile tests/basename/Makefile tests/chgrp/Makefile tests/chmod/Makefile tests/chown/Makefile tests/cp/Makefile tests/cut/Makefile tests/date/Makefile tests/dd/Makefile tests/dircolors/Makefile tests/du/Makefile tests/expr/Makefile tests/factor/Makefile tests/fmt/Makefile tests/head/Makefile tests/install/Makefile tests/join/Makefile tests/ln/Makefile tests/ls-2/Makefile tests/ls/Makefile tests/md5sum/Makefile tests/misc/Makefile tests/mkdir/Makefile tests/mv/Makefile tests/od/Makefile tests/pr/Makefile tests/rm/Makefile tests/rmdir/Makefile tests/seq/Makefile tests/sha1sum/Makefile tests/shred/Makefile tests/sort/Makefile tests/stty/Makefile tests/sum/Makefile tests/tac/Makefile tests/tail-2/Makefile tests/tail/Makefile tests/test/Makefile tests/touch/Makefile tests/tr/Makefile tests/tsort/Makefile tests/unexpand/Makefile tests/uniq/Makefile tests/wc/Makefile"
42610 cat >confcache
<<\_ACEOF
42611 # This file is a shell script that caches the results of configure
42612 # tests run on this system so they can be shared between configure
42613 # scripts and configure runs, see configure's option --config-cache.
42614 # It is not useful on other systems. If it contains results you don't
42615 # want to keep, you may remove or edit it.
42617 # config.status only pays attention to the cache file if you give it
42618 # the --recheck option to rerun configure.
42620 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42621 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42622 # following values.
42626 # The following way of writing the cache mishandles newlines in values,
42627 # but we know of no workaround that is simple, portable, and efficient.
42628 # So, don't put newlines in cache variables' values.
42629 # Ultrix sh set writes to stderr and can't be redirected directly,
42630 # and sets the high bit in the cache file unless we assign to the vars.
42633 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42635 # `set' does not quote correctly, so add quotes (double-quote
42636 # substitution turns \\\\ into \\, and sed turns \\ into \).
42639 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42642 # `set' quotes correctly as required by POSIX, so do not add quotes.
42644 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42651 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42653 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42655 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
42656 if test -w $cache_file; then
42657 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42658 cat confcache
>$cache_file
42660 echo "not updating unwritable cache $cache_file"
42665 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
42666 # Let make expand exec_prefix.
42667 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
42669 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42670 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42671 # trailing colons and then remove the whole line if VPATH becomes empty
42672 # (actually we leave an empty line to preserve line numbers).
42673 if test "x$srcdir" = x.
; then
42674 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
42675 s/:*\$(srcdir):*/:/;
42676 s/:*\${srcdir}:*/:/;
42678 s/^\([^=]*=[ ]*\):*/\1/;
42684 DEFS
=-DHAVE_CONFIG_H
42688 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
42689 # 1. Remove the extension, and $U if already installed.
42690 ac_i
=`echo "$ac_i" |
42691 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42693 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
42694 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
42696 LIBOBJS
=$ac_libobjs
42698 LTLIBOBJS
=$ac_ltlibobjs
42701 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
42702 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
42703 Usually this means the macro was only invoked conditionally." >&5
42704 echo "$as_me: error: conditional \"AMDEP\" was never defined.
42705 Usually this means the macro was only invoked conditionally." >&2;}
42706 { (exit 1); exit 1; }; }
42708 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
42709 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
42710 Usually this means the macro was only invoked conditionally." >&5
42711 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
42712 Usually this means the macro was only invoked conditionally." >&2;}
42713 { (exit 1); exit 1; }; }
42716 : ${CONFIG_STATUS=./config.status}
42717 ac_clean_files_save
=$ac_clean_files
42718 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
42719 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42720 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42721 cat >$CONFIG_STATUS <<_ACEOF
42723 # Generated by $as_me.
42724 # Run this file to recreate the current configuration.
42725 # Compiler output produced by configure, useful for debugging
42726 # configure, is in config.log if it exists.
42729 ac_cs_recheck=false
42731 SHELL=\${CONFIG_SHELL-$SHELL}
42734 cat >>$CONFIG_STATUS <<\_ACEOF
42735 ## --------------------- ##
42736 ## M4sh Initialization. ##
42737 ## --------------------- ##
42739 # Be Bourne compatible
42740 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
42743 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42744 # is contrary to our usage. Disable this feature.
42745 alias -g '${1+"$@"}'='"$@"'
42746 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
42750 # Support unset when possible.
42751 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
42758 # Work around bugs in pre-3.0 UWIN ksh.
42759 $as_unset ENV MAIL MAILPATH
42766 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42767 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42768 LC_TELEPHONE LC_TIME
42770 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
42771 eval $as_var=C
; export $as_var
42777 # Required to use basename.
42778 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42784 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
42785 as_basename
=basename
42791 # Name of the executable.
42792 as_me
=`$as_basename "$0" ||
42793 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42794 X"$0" : 'X\(//\)$' \| \
42795 X"$0" : 'X\(/\)$' \| \
42796 . : '\(.\)' 2>/dev/null ||
42798 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42799 /^X\/\(\/\/\)$/{ s//\1/; q; }
42800 /^X\/\(\/\).*/{ s//\1/; q; }
42804 # PATH needs CR, and LINENO needs CR and PATH.
42805 # Avoid depending upon Character Ranges.
42806 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42807 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42808 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42809 as_cr_digits
='0123456789'
42810 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42812 # The user is always right.
42813 if test "${PATH_SEPARATOR+set}" != set; then
42814 echo "#! /bin/sh" >conf$$.sh
42815 echo "exit 0" >>conf$$.sh
42817 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42826 as_lineno_1
=$LINENO
42827 as_lineno_2
=$LINENO
42828 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42829 test "x$as_lineno_1" != "x$as_lineno_2" &&
42830 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
42831 # Find who we are. Look in the path if we contain no path at all
42834 *[\\/]* ) as_myself
=$0 ;;
42835 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42836 for as_dir
in $PATH
42839 test -z "$as_dir" && as_dir
=.
42840 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42845 # We did not find ourselves, most probably we were run as `sh COMMAND'
42846 # in which case we are not to be found in the path.
42847 if test "x$as_myself" = x
; then
42850 if test ! -f "$as_myself"; then
42851 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42852 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42853 { (exit 1); exit 1; }; }
42855 case $CONFIG_SHELL in
42857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42858 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42861 test -z "$as_dir" && as_dir
=.
42862 for as_base
in sh bash ksh sh5
; do
42865 if ("$as_dir/$as_base" -c '
42866 as_lineno_1=$LINENO
42867 as_lineno_2=$LINENO
42868 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42869 test "x$as_lineno_1" != "x$as_lineno_2" &&
42870 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42871 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
42872 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
42873 CONFIG_SHELL
=$as_dir/$as_base
42874 export CONFIG_SHELL
42875 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42883 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42884 # uniformly replaced by the line number. The first 'sed' inserts a
42885 # line-number line before each line; the second 'sed' does the real
42886 # work. The second script uses 'N' to pair each line-number line
42887 # with the numbered line, and appends trailing '-' during
42888 # substitution so that $LINENO is not a special case at line end.
42889 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42890 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42891 sed '=' <$as_myself |
42896 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42899 s,^['$as_cr_digits']*\n,,
42900 ' >$as_me.lineno
&&
42901 chmod +x
$as_me.lineno ||
42902 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42903 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42904 { (exit 1); exit 1; }; }
42906 # Don't try to exec as it changes $[0], causing all sort of problems
42907 # (the dirname of $[0] is not the place where we might find the
42908 # original and so on. Autoconf is especially sensible to this).
42910 # Exit status is that of the last command.
42915 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42916 *c
*,-n*) ECHO_N
= ECHO_C
='
42918 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42919 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42922 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42928 rm -f conf$$ conf$$.exe conf$$.
file
42930 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42931 # We could just check for DJGPP; but this test a) works b) is more generic
42932 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42933 if test -f conf$$.exe
; then
42934 # Don't use ln at all; we don't have any links
42939 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42944 rm -f conf$$ conf$$.exe conf$$.
file
42946 if mkdir
-p .
2>/dev
/null
; then
42952 as_executable_p
="test -f"
42954 # Sed expression to map a string onto a valid CPP name.
42955 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
42957 # Sed expression to map a string onto a valid variable name.
42958 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
42962 # We need space, tab and new line, in precisely that order.
42972 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42973 # report actual input values of CONFIG_FILES etc. instead of their
42974 # values after options handling. Logging --version etc. is OK.
42978 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42979 ## Running $as_me. ##
42984 This file was extended by GNU coreutils $as_me 4.5.9, which was
42985 generated by GNU Autoconf 2.57. Invocation command line was
42987 CONFIG_FILES = $CONFIG_FILES
42988 CONFIG_HEADERS = $CONFIG_HEADERS
42989 CONFIG_LINKS = $CONFIG_LINKS
42990 CONFIG_COMMANDS = $CONFIG_COMMANDS
42994 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42998 # Files that config.status was made for.
42999 if test -n "$ac_config_files"; then
43000 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43003 if test -n "$ac_config_headers"; then
43004 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43007 if test -n "$ac_config_links"; then
43008 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43011 if test -n "$ac_config_commands"; then
43012 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43015 cat >>$CONFIG_STATUS <<\_ACEOF
43018 \`$as_me' instantiates files from templates according to the
43019 current configuration.
43021 Usage: $0 [OPTIONS] [FILE]...
43023 -h, --help print this help, then exit
43024 -V, --version print version number, then exit
43025 -q, --quiet do not print progress messages
43026 -d, --debug don't remove temporary files
43027 --recheck update $as_me by reconfiguring in the same conditions
43028 --file=FILE[:TEMPLATE]
43029 instantiate the configuration file FILE
43030 --header=FILE[:TEMPLATE]
43031 instantiate the configuration header FILE
43033 Configuration files:
43036 Configuration headers:
43039 Configuration links:
43042 Configuration commands:
43045 Report bugs to <bug-autoconf@gnu.org>."
43048 cat >>$CONFIG_STATUS <<_ACEOF
43050 GNU coreutils config.status 4.5.9
43051 configured by $0, generated by GNU Autoconf 2.57,
43052 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43054 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
43055 Free Software Foundation, Inc.
43056 This config.status script is free software; the Free Software Foundation
43057 gives unlimited permission to copy, distribute and modify it."
43062 cat >>$CONFIG_STATUS <<\_ACEOF
43063 # If no file are specified by the user, then we need to provide default
43064 # value. By we need to know if files were specified by the user.
43070 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
43071 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
43079 *) # This is not an option, so the user has probably given explicit
43082 ac_need_defaults
=false
;;
43086 # Handling of the options.
43088 cat >>$CONFIG_STATUS <<\_ACEOF
43089 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
43091 --version |
--vers* |
-V )
43092 echo "$ac_cs_version"; exit 0 ;;
43094 # Conflict between --help and --header
43095 { { echo "$as_me:$LINENO: error: ambiguous option: $1
43096 Try \`$0 --help' for more information." >&5
43097 echo "$as_me: error: ambiguous option: $1
43098 Try \`$0 --help' for more information." >&2;}
43099 { (exit 1); exit 1; }; };;
43100 --help |
--hel |
-h )
43101 echo "$ac_cs_usage"; exit 0 ;;
43102 --debug |
--d* |
-d )
43104 --file |
--fil |
--fi |
--f )
43106 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
43107 ac_need_defaults
=false
;;
43108 --header |
--heade |
--head |
--hea )
43110 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
43111 ac_need_defaults
=false
;;
43112 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
43113 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
43116 # This is an error.
43117 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
43118 Try \`$0 --help' for more information." >&5
43119 echo "$as_me: error: unrecognized option: $1
43120 Try \`$0 --help' for more information." >&2;}
43121 { (exit 1); exit 1; }; } ;;
43123 *) ac_config_targets
="$ac_config_targets $1" ;;
43129 ac_configure_extra_args
=
43131 if $ac_cs_silent; then
43133 ac_configure_extra_args
="$ac_configure_extra_args --silent"
43137 cat >>$CONFIG_STATUS <<_ACEOF
43138 if \$ac_cs_recheck; then
43139 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
43140 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
43145 cat >>$CONFIG_STATUS <<_ACEOF
43147 # INIT-COMMANDS section.
43150 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
43151 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
43152 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
43154 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
43155 # Capture the value of LINGUAS because we need it to compute CATALOGS.
43156 LINGUAS="${LINGUAS-%UNSET%}"
43163 cat >>$CONFIG_STATUS <<\_ACEOF
43164 for ac_config_target
in $ac_config_targets
43166 case "$ac_config_target" in
43167 # Handling of arguments.
43168 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
43169 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
43170 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
43171 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
43172 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
43173 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
43174 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
43175 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
43176 "tests/basename/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/basename/Makefile" ;;
43177 "tests/chgrp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/chgrp/Makefile" ;;
43178 "tests/chmod/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/chmod/Makefile" ;;
43179 "tests/chown/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/chown/Makefile" ;;
43180 "tests/cp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/cp/Makefile" ;;
43181 "tests/cut/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/cut/Makefile" ;;
43182 "tests/date/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/date/Makefile" ;;
43183 "tests/dd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/dd/Makefile" ;;
43184 "tests/dircolors/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/dircolors/Makefile" ;;
43185 "tests/du/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/du/Makefile" ;;
43186 "tests/expr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/expr/Makefile" ;;
43187 "tests/factor/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/factor/Makefile" ;;
43188 "tests/fmt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/fmt/Makefile" ;;
43189 "tests/head/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/head/Makefile" ;;
43190 "tests/install/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/install/Makefile" ;;
43191 "tests/join/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/join/Makefile" ;;
43192 "tests/ln/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/ln/Makefile" ;;
43193 "tests/ls-2/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/ls-2/Makefile" ;;
43194 "tests/ls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/ls/Makefile" ;;
43195 "tests/md5sum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/md5sum/Makefile" ;;
43196 "tests/misc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/misc/Makefile" ;;
43197 "tests/mkdir/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/mkdir/Makefile" ;;
43198 "tests/mv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/mv/Makefile" ;;
43199 "tests/od/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/od/Makefile" ;;
43200 "tests/pr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/pr/Makefile" ;;
43201 "tests/rm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/rm/Makefile" ;;
43202 "tests/rmdir/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/rmdir/Makefile" ;;
43203 "tests/seq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/seq/Makefile" ;;
43204 "tests/sha1sum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/sha1sum/Makefile" ;;
43205 "tests/shred/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/shred/Makefile" ;;
43206 "tests/sort/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/sort/Makefile" ;;
43207 "tests/stty/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/stty/Makefile" ;;
43208 "tests/sum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/sum/Makefile" ;;
43209 "tests/tac/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/tac/Makefile" ;;
43210 "tests/tail-2/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/tail-2/Makefile" ;;
43211 "tests/tail/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/tail/Makefile" ;;
43212 "tests/test/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test/Makefile" ;;
43213 "tests/touch/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/touch/Makefile" ;;
43214 "tests/tr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/tr/Makefile" ;;
43215 "tests/tsort/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/tsort/Makefile" ;;
43216 "tests/unexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/unexpand/Makefile" ;;
43217 "tests/uniq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/uniq/Makefile" ;;
43218 "tests/wc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/wc/Makefile" ;;
43219 "$ac_config_libobj_dir/fnmatch.h" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_libobj_dir/fnmatch.h:$ac_config_libobj_dir/fnmatch_.h" ;;
43220 "$ac_config_libobj_dir/ftw.h" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_libobj_dir/ftw.h:$ac_config_libobj_dir/ftw_.h" ;;
43221 "$ac_config_libobj_dir/search.h" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_libobj_dir/search.h:$ac_config_libobj_dir/search_.h" ;;
43222 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
43223 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
43224 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.hin" ;;
43225 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
43226 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
43227 { (exit 1); exit 1; }; };;
43231 # If the user did not use the arguments to specify the items to instantiate,
43232 # then the envvar interface is used. Set only those that are not.
43233 # We use the long form for the default assignment because of an extremely
43234 # bizarre bug on SunOS 4.1.3.
43235 if $ac_need_defaults; then
43236 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
43237 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
43238 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
43239 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
43242 # Have a temporary directory for convenience. Make it in the build tree
43243 # simply because there is no reason to put it here, and in addition,
43244 # creating and moving files from /tmp can sometimes cause problems.
43245 # Create a temporary directory, and hook for its removal unless debugging.
43248 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
43249 trap '{ (exit 1); exit 1; }' 1 2 13 15
43252 # Create a (secure) tmp directory for tmp files.
43255 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
43256 test -n "$tmp" && test -d "$tmp"
43259 tmp
=.
/confstat$$
-$RANDOM
43260 (umask 077 && mkdir
$tmp)
43263 echo "$me: cannot create a temporary directory in ." >&2
43264 { (exit 1); exit 1; }
43269 cat >>$CONFIG_STATUS <<_ACEOF
43272 # CONFIG_FILES section.
43275 # No need to generate the scripts if there are no CONFIG_FILES.
43276 # This happens for instance when ./config.status config.h
43277 if test -n "\$CONFIG_FILES"; then
43278 # Protect against being on the right side of a sed subst in config.status.
43279 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
43280 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
43281 s,@SHELL@,$SHELL,;t t
43282 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
43283 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
43284 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
43285 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
43286 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
43287 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
43288 s,@exec_prefix@,$exec_prefix,;t t
43289 s,@prefix@,$prefix,;t t
43290 s,@program_transform_name@,$program_transform_name,;t t
43291 s,@bindir@,$bindir,;t t
43292 s,@sbindir@,$sbindir,;t t
43293 s,@libexecdir@,$libexecdir,;t t
43294 s,@datadir@,$datadir,;t t
43295 s,@sysconfdir@,$sysconfdir,;t t
43296 s,@sharedstatedir@,$sharedstatedir,;t t
43297 s,@localstatedir@,$localstatedir,;t t
43298 s,@libdir@,$libdir,;t t
43299 s,@includedir@,$includedir,;t t
43300 s,@oldincludedir@,$oldincludedir,;t t
43301 s,@infodir@,$infodir,;t t
43302 s,@mandir@,$mandir,;t t
43303 s,@build_alias@,$build_alias,;t t
43304 s,@host_alias@,$host_alias,;t t
43305 s,@target_alias@,$target_alias,;t t
43306 s,@DEFS@,$DEFS,;t t
43307 s,@ECHO_C@,$ECHO_C,;t t
43308 s,@ECHO_N@,$ECHO_N,;t t
43309 s,@ECHO_T@,$ECHO_T,;t t
43310 s,@LIBS@,$LIBS,;t t
43311 s,@build@,$build,;t t
43312 s,@build_cpu@,$build_cpu,;t t
43313 s,@build_vendor@,$build_vendor,;t t
43314 s,@build_os@,$build_os,;t t
43315 s,@host@,$host,;t t
43316 s,@host_cpu@,$host_cpu,;t t
43317 s,@host_vendor@,$host_vendor,;t t
43318 s,@host_os@,$host_os,;t t
43319 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
43320 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
43321 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
43322 s,@CYGPATH_W@,$CYGPATH_W,;t t
43323 s,@PACKAGE@,$PACKAGE,;t t
43324 s,@VERSION@,$VERSION,;t t
43325 s,@ACLOCAL@,$ACLOCAL,;t t
43326 s,@AUTOCONF@,$AUTOCONF,;t t
43327 s,@AUTOMAKE@,$AUTOMAKE,;t t
43328 s,@AUTOHEADER@,$AUTOHEADER,;t t
43329 s,@MAKEINFO@,$MAKEINFO,;t t
43330 s,@AMTAR@,$AMTAR,;t t
43331 s,@install_sh@,$install_sh,;t t
43332 s,@STRIP@,$STRIP,;t t
43333 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
43334 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
43336 s,@SET_MAKE@,$SET_MAKE,;t t
43337 s,@am__leading_dot@,$am__leading_dot,;t t
43338 s,@PERL@,$PERL,;t t
43340 s,@CFLAGS@,$CFLAGS,;t t
43341 s,@LDFLAGS@,$LDFLAGS,;t t
43342 s,@CPPFLAGS@,$CPPFLAGS,;t t
43343 s,@ac_ct_CC@,$ac_ct_CC,;t t
43344 s,@EXEEXT@,$EXEEXT,;t t
43345 s,@OBJEXT@,$OBJEXT,;t t
43346 s,@DEPDIR@,$DEPDIR,;t t
43347 s,@am__include@,$am__include,;t t
43348 s,@am__quote@,$am__quote,;t t
43349 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
43350 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
43351 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
43352 s,@CCDEPMODE@,$CCDEPMODE,;t t
43353 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
43354 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
43356 s,@EGREP@,$EGREP,;t t
43357 s,@RANLIB@,$RANLIB,;t t
43358 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
43359 s,@GNU_PACKAGE@,$GNU_PACKAGE,;t t
43360 s,@HELP2MAN@,$HELP2MAN,;t t
43361 s,@OPTIONAL_BIN_PROGS@,$OPTIONAL_BIN_PROGS,;t t
43362 s,@OPTIONAL_BIN_ZCRIPTS@,$OPTIONAL_BIN_ZCRIPTS,;t t
43364 s,@DF_PROG@,$DF_PROG,;t t
43366 s,@ANSI2KNR@,$ANSI2KNR,;t t
43367 s,@LIBOBJS@,$LIBOBJS,;t t
43368 s,@ALLOCA@,$ALLOCA,;t t
43369 s,@YACC@,$YACC,;t t
43370 s,@LIB_NANOSLEEP@,$LIB_NANOSLEEP,;t t
43371 s,@NEED_SETGID@,$NEED_SETGID,;t t
43372 s,@KMEM_GROUP@,$KMEM_GROUP,;t t
43373 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
43374 s,@LIB_CLOCK_GETTIME@,$LIB_CLOCK_GETTIME,;t t
43375 s,@POW_LIB@,$POW_LIB,;t t
43376 s,@SEQ_LIBM@,$SEQ_LIBM,;t t
43377 s,@GLIBC21@,$GLIBC21,;t t
43378 s,@LIBICONV@,$LIBICONV,;t t
43379 s,@LTLIBICONV@,$LTLIBICONV,;t t
43380 s,@SQRT_LIBM@,$SQRT_LIBM,;t t
43381 s,@FESETROUND_LIBM@,$FESETROUND_LIBM,;t t
43382 s,@LIB_CRYPT@,$LIB_CRYPT,;t t
43383 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
43384 s,@MSGFMT@,$MSGFMT,;t t
43385 s,@GMSGFMT@,$GMSGFMT,;t t
43386 s,@XGETTEXT@,$XGETTEXT,;t t
43387 s,@MSGMERGE@,$MSGMERGE,;t t
43388 s,@USE_NLS@,$USE_NLS,;t t
43389 s,@INTLLIBS@,$INTLLIBS,;t t
43390 s,@LIBINTL@,$LIBINTL,;t t
43391 s,@LTLIBINTL@,$LTLIBINTL,;t t
43392 s,@POSUB@,$POSUB,;t t
43393 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43398 cat >>$CONFIG_STATUS <<\_ACEOF
43399 # Split the substitutions into bite-sized pieces for seds with
43400 # small command number limits, like on Digital OSF/1 and HP-UX.
43401 ac_max_sed_lines
=48
43402 ac_sed_frag
=1 # Number of current file.
43403 ac_beg
=1 # First line for current file.
43404 ac_end
=$ac_max_sed_lines # Line after last line for current file.
43407 while $ac_more_lines; do
43408 if test $ac_beg -gt 1; then
43409 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43411 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43413 if test ! -s $tmp/subs.frag
; then
43414 ac_more_lines
=false
43416 # The purpose of the label and of the branching condition is to
43417 # speed up the sed processing (if there are no `@' at all, there
43418 # is no need to browse any of the substitutions).
43419 # These are the two extra sed commands mentioned above.
43421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
43422 if test -z "$ac_sed_cmds"; then
43423 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
43425 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43427 ac_sed_frag
=`expr $ac_sed_frag + 1`
43429 ac_end
=`expr $ac_end + $ac_max_sed_lines`
43432 if test -z "$ac_sed_cmds"; then
43435 fi # test -n "$CONFIG_FILES"
43438 cat >>$CONFIG_STATUS <<\_ACEOF
43439 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
43440 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43442 - |
*:- |
*:-:* ) # input from stdin
43444 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43445 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43446 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43447 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43448 * ) ac_file_in
=$ac_file.
in ;;
43451 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43452 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43453 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43454 X"$ac_file" : 'X\(//\)[^/]' \| \
43455 X"$ac_file" : 'X\(//\)$' \| \
43456 X"$ac_file" : 'X\(/\)' \| \
43457 . : '\(.\)' 2>/dev/null ||
43459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43460 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43461 /^X\(\/\/\)$/{ s//\1/; q; }
43462 /^X\(\/\).*/{ s//\1/; q; }
43464 { if $as_mkdir_p; then
43469 while test ! -d "$as_dir"; do
43470 as_dirs
="$as_dir $as_dirs"
43471 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43472 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43473 X"$as_dir" : 'X\(//\)[^/]' \| \
43474 X"$as_dir" : 'X\(//\)$' \| \
43475 X"$as_dir" : 'X\(/\)' \| \
43476 . : '\(.\)' 2>/dev/null ||
43478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43479 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43480 /^X\(\/\/\)$/{ s//\1/; q; }
43481 /^X\(\/\).*/{ s//\1/; q; }
43484 test ! -n "$as_dirs" || mkdir
$as_dirs
43485 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43486 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43487 { (exit 1); exit 1; }; }; }
43491 if test "$ac_dir" != .
; then
43492 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43493 # A "../" for each directory in $ac_dir_suffix.
43494 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43496 ac_dir_suffix
= ac_top_builddir
=
43500 .
) # No --srcdir option. We are building in place.
43502 if test -z "$ac_top_builddir"; then
43505 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43507 [\\/]* | ?
:[\\/]* ) # Absolute path.
43508 ac_srcdir
=$srcdir$ac_dir_suffix;
43509 ac_top_srcdir
=$srcdir ;;
43510 *) # Relative path.
43511 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43512 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43514 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
43516 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
43517 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
43518 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
43519 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
43523 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
43524 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
43527 if test x
"$ac_file" != x-
; then
43528 { echo "$as_me:$LINENO: creating $ac_file" >&5
43529 echo "$as_me: creating $ac_file" >&6;}
43532 # Let's still pretend it is `configure' which instantiates (i.e., don't
43533 # use $as_me), people would be surprised to read:
43534 # /* config.h. Generated by config.status. */
43535 if test x
"$ac_file" = x-
; then
43538 configure_input
="$ac_file. "
43540 configure_input
=$configure_input"Generated from `echo $ac_file_in |
43541 sed 's,.*/,,'` by configure."
43543 # First look for the input files in the build tree, otherwise in the
43545 ac_file_inputs
=`IFS=:
43546 for f in $ac_file_in; do
43548 -) echo $tmp/stdin ;;
43550 # Absolute (can't be DOS-style, as IFS=:)
43551 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43552 echo "$as_me: error: cannot find input file: $f" >&2;}
43553 { (exit 1); exit 1; }; }
43556 if test -f "$f"; then
43559 elif test -f "$srcdir/$f"; then
43564 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43565 echo "$as_me: error: cannot find input file: $f" >&2;}
43566 { (exit 1); exit 1; }; }
43569 done` ||
{ (exit 1); exit 1; }
43571 cat >>$CONFIG_STATUS <<_ACEOF
43575 cat >>$CONFIG_STATUS <<\_ACEOF
43577 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
43578 s
,@configure_input@
,$configure_input,;t t
43579 s
,@srcdir@
,$ac_srcdir,;t t
43580 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
43581 s
,@top_srcdir@
,$ac_top_srcdir,;t t
43582 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
43583 s
,@builddir@
,$ac_builddir,;t t
43584 s
,@abs_builddir@
,$ac_abs_builddir,;t t
43585 s
,@top_builddir@
,$ac_top_builddir,;t t
43586 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
43587 s
,@INSTALL@
,$ac_INSTALL,;t t
43588 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43590 if test x"$ac_file" != x-; then
43591 mv $tmp/out $ac_file
43599 cat >>$CONFIG_STATUS <<\_ACEOF
43602 # CONFIG_HEADER section.
43605 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43606 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43608 # ac_d sets the value in "#define NAME VALUE" lines.
43609 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43610 ac_dB
='[ ].*$,\1#\2'
43613 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43614 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43615 ac_uB
='$,\1#\2define\3'
43619 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43620 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43622 - |
*:- |
*:-:* ) # input from stdin
43624 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43625 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43626 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43627 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43628 * ) ac_file_in
=$ac_file.
in ;;
43631 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
43632 echo "$as_me: creating $ac_file" >&6;}
43634 # First look for the input files in the build tree, otherwise in the
43636 ac_file_inputs
=`IFS=:
43637 for f in $ac_file_in; do
43639 -) echo $tmp/stdin ;;
43641 # Absolute (can't be DOS-style, as IFS=:)
43642 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43643 echo "$as_me: error: cannot find input file: $f" >&2;}
43644 { (exit 1); exit 1; }; }
43647 if test -f "$f"; then
43650 elif test -f "$srcdir/$f"; then
43655 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43656 echo "$as_me: error: cannot find input file: $f" >&2;}
43657 { (exit 1); exit 1; }; }
43660 done` ||
{ (exit 1); exit 1; }
43661 # Remove the trailing spaces.
43662 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43666 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43667 # `conftest.undefs', that substitutes the proper values into
43668 # config.h.in to produce config.h. The first handles `#define'
43669 # templates, and the second `#undef' templates.
43670 # And first: Protect against being on the right side of a sed subst in
43671 # config.status. Protect against being in an unquoted here document
43672 # in config.status.
43673 rm -f conftest.defines conftest.undefs
43674 # Using a here document instead of a string reduces the quoting nightmare.
43675 # Putting comments in sed scripts is not portable.
43677 # `end' is used to avoid that the second main sed command (meant for
43678 # 0-ary CPP macros) applies to n-ary macro definitions.
43679 # See the Autoconf documentation for `clear'.
43680 cat >confdef2sed.
sed <<\_ACEOF
43685 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43687 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43690 # If some macros were called several times there might be several times
43691 # the same #defines, which is useless. Nevertheless, we may not want to
43692 # sort them, since we want the *last* AC-DEFINE to be honored.
43693 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43694 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43695 rm -f confdef2sed.sed
43697 # This sed command replaces #undef with comments. This is necessary, for
43698 # example, in the case of _POSIX_SOURCE, which is predefined and required
43699 # on some systems where configure will not decide to define it.
43700 cat >>conftest.undefs <<\_ACEOF
43701 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43704 # Break up conftest.defines because some shells have a limit on the size
43705 # of here documents, and old seds have small limits too (100 cmds).
43706 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43707 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43708 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43709 echo ' :' >>$CONFIG_STATUS
43710 rm -f conftest.tail
43711 while grep . conftest.defines >/dev/null
43713 # Write a limited-size here document to $tmp/defines.sed.
43714 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43715 # Speed up: don't consider the non `#define' lines.
43716 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43717 # Work around the forget-to-reset-the-flag bug.
43718 echo 't clr' >>$CONFIG_STATUS
43719 echo ': clr' >>$CONFIG_STATUS
43720 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43722 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43724 mv $tmp/out $tmp/in
43726 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43727 rm -f conftest.defines
43728 mv conftest.
tail conftest.defines
43730 rm -f conftest.defines
43731 echo ' fi # grep' >>$CONFIG_STATUS
43732 echo >>$CONFIG_STATUS
43734 # Break up conftest.undefs because some shells have a limit on the size
43735 # of here documents, and old seds have small limits too (100 cmds).
43736 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43737 rm -f conftest.
tail
43738 while grep . conftest.undefs
>/dev
/null
43740 # Write a limited-size here document to $tmp/undefs.sed.
43741 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43742 # Speed up: don't consider the non
`#undef'
43743 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43744 # Work around the forget-to-reset-the-flag bug.
43745 echo 't clr' >>$CONFIG_STATUS
43746 echo ': clr' >>$CONFIG_STATUS
43747 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43749 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43751 mv $tmp/out $tmp/in
43753 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43754 rm -f conftest.undefs
43755 mv conftest.tail conftest.undefs
43757 rm -f conftest.undefs
43759 cat >>$CONFIG_STATUS <<\_ACEOF
43760 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43761 # use $as_me), people would be surprised to read:
43762 # /* config.h. Generated by config.status. */
43763 if test x
"$ac_file" = x-
; then
43764 echo "/* Generated by configure. */" >$tmp/config.h
43766 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43768 cat $tmp/in >>$tmp/config.h
43770 if test x
"$ac_file" != x-
; then
43771 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43772 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43773 echo "$as_me: $ac_file is unchanged" >&6;}
43775 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43776 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43777 X"$ac_file" : 'X\(//\)[^/]' \| \
43778 X"$ac_file" : 'X\(//\)$' \| \
43779 X"$ac_file" : 'X\(/\)' \| \
43780 . : '\(.\)' 2>/dev/null ||
43782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43784 /^X\(\/\/\)$/{ s//\1/; q; }
43785 /^X\(\/\).*/{ s//\1/; q; }
43787 { if $as_mkdir_p; then
43792 while test ! -d "$as_dir"; do
43793 as_dirs
="$as_dir $as_dirs"
43794 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43796 X"$as_dir" : 'X\(//\)[^/]' \| \
43797 X"$as_dir" : 'X\(//\)$' \| \
43798 X"$as_dir" : 'X\(/\)' \| \
43799 . : '\(.\)' 2>/dev/null ||
43801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43803 /^X\(\/\/\)$/{ s//\1/; q; }
43804 /^X\(\/\).*/{ s//\1/; q; }
43807 test ! -n "$as_dirs" || mkdir
$as_dirs
43808 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43809 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43810 { (exit 1); exit 1; }; }; }
43813 mv $tmp/config.h
$ac_file
43817 rm -f $tmp/config.h
43819 # Compute $ac_file's index in $config_headers.
43821 for _am_header
in $config_headers :; do
43822 case $_am_header in
43823 $ac_file |
$ac_file:* )
43826 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
43829 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
43830 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43831 X$ac_file : 'X\(//\)[^/]' \| \
43832 X$ac_file : 'X\(//\)$' \| \
43833 X$ac_file : 'X\(/\)' \| \
43834 . : '\(.\)' 2>/dev/null ||
43836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43837 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43838 /^X\(\/\/\)$/{ s//\1/; q; }
43839 /^X\(\/\).*/{ s//\1/; q; }
43840 s/.*/./; q'`/stamp-h
$_am_stamp_count
43843 cat >>$CONFIG_STATUS <<\_ACEOF
43846 # CONFIG_LINKS section.
43849 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
43850 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43851 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43853 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
43854 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
43856 if test ! -r $srcdir/$ac_source; then
43857 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
43858 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
43859 { (exit 1); exit 1; }; }
43863 # Make relative symlinks.
43864 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43865 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43866 X"$ac_dest" : 'X\(//\)[^/]' \| \
43867 X"$ac_dest" : 'X\(//\)$' \| \
43868 X"$ac_dest" : 'X\(/\)' \| \
43869 . : '\(.\)' 2>/dev/null ||
43871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43873 /^X\(\/\/\)$/{ s//\1/; q; }
43874 /^X\(\/\).*/{ s//\1/; q; }
43876 { if $as_mkdir_p; then
43877 mkdir
-p "$ac_dest_dir"
43879 as_dir
="$ac_dest_dir"
43881 while test ! -d "$as_dir"; do
43882 as_dirs
="$as_dir $as_dirs"
43883 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43884 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43885 X"$as_dir" : 'X\(//\)[^/]' \| \
43886 X"$as_dir" : 'X\(//\)$' \| \
43887 X"$as_dir" : 'X\(/\)' \| \
43888 . : '\(.\)' 2>/dev/null ||
43890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43891 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43892 /^X\(\/\/\)$/{ s//\1/; q; }
43893 /^X\(\/\).*/{ s//\1/; q; }
43896 test ! -n "$as_dirs" || mkdir
$as_dirs
43897 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
43898 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
43899 { (exit 1); exit 1; }; }; }
43903 if test "$ac_dest_dir" != .
; then
43904 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
43905 # A "../" for each directory in $ac_dir_suffix.
43906 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43908 ac_dir_suffix
= ac_top_builddir
=
43912 .
) # No --srcdir option. We are building in place.
43914 if test -z "$ac_top_builddir"; then
43917 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43919 [\\/]* | ?
:[\\/]* ) # Absolute path.
43920 ac_srcdir
=$srcdir$ac_dir_suffix;
43921 ac_top_srcdir
=$srcdir ;;
43922 *) # Relative path.
43923 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43924 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43926 # Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be
43928 ac_abs_builddir
=`cd "$ac_dest_dir" && cd $ac_builddir && pwd`
43929 ac_abs_top_builddir
=`cd "$ac_dest_dir" && cd ${ac_top_builddir}. && pwd`
43930 ac_abs_srcdir
=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd`
43931 ac_abs_top_srcdir
=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd`
43935 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
43936 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
43939 # Try a symlink, then a hard link, then a copy.
43940 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
43941 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
43942 cp -p $srcdir/$ac_source $ac_dest ||
43943 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
43944 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
43945 { (exit 1); exit 1; }; }
43948 cat >>$CONFIG_STATUS <<\_ACEOF
43951 # CONFIG_COMMANDS section.
43953 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43954 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43955 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43956 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43957 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43958 X"$ac_dest" : 'X\(//\)[^/]' \| \
43959 X"$ac_dest" : 'X\(//\)$' \| \
43960 X"$ac_dest" : 'X\(/\)' \| \
43961 . : '\(.\)' 2>/dev/null ||
43963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43964 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43965 /^X\(\/\/\)$/{ s//\1/; q; }
43966 /^X\(\/\).*/{ s//\1/; q; }
43970 if test "$ac_dir" != .
; then
43971 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43972 # A "../" for each directory in $ac_dir_suffix.
43973 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43975 ac_dir_suffix
= ac_top_builddir
=
43979 .
) # No --srcdir option. We are building in place.
43981 if test -z "$ac_top_builddir"; then
43984 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43986 [\\/]* | ?
:[\\/]* ) # Absolute path.
43987 ac_srcdir
=$srcdir$ac_dir_suffix;
43988 ac_top_srcdir
=$srcdir ;;
43989 *) # Relative path.
43990 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43991 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43993 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
43995 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
43996 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
43997 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
43998 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
44001 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
44002 echo "$as_me: executing $ac_dest commands" >&6;}
44004 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
44005 # Strip MF so we end up with the name of the file.
44006 mf
=`echo "$mf" | sed -e 's/:.*$//'`
44007 # Check whether this is an Automake generated Makefile or not.
44008 # We used to match only the files named `Makefile.in', but
44009 # some people rename them; so instead we look at the file content.
44010 # Grep'ing the first line is not enough: some people post-process
44011 # each Makefile.in and add a new line on top of each file to say so.
44012 # So let's grep whole file.
44013 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
44014 dirpart
=`(dirname "$mf") 2>/dev/null ||
44015 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44016 X"$mf" : 'X\(//\)[^/]' \| \
44017 X"$mf" : 'X\(//\)$' \| \
44018 X"$mf" : 'X\(/\)' \| \
44019 . : '\(.\)' 2>/dev/null ||
44021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44023 /^X\(\/\/\)$/{ s//\1/; q; }
44024 /^X\(\/\).*/{ s//\1/; q; }
44029 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
44030 # Extract the definition of DEP_FILES from the Makefile without
44032 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
44033 test -z "$DEPDIR" && continue
44034 # When using ansi2knr, U may be empty or an underscore; expand it
44035 U
=`sed -n -e '/^U = / s///p' < "$mf"`
44036 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
44037 # We invoke sed twice because it is the simplest approach to
44038 # changing $(DEPDIR) to its actual value in the expansion.
44039 for file in `sed -n -e '
44040 /^DEP_FILES = .*\\\\$/ {
44049 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
44050 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
44051 # Make sure the directory exists.
44052 test -f "$dirpart/$file" && continue
44053 fdir
=`(dirname "$file") 2>/dev/null ||
44054 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44055 X"$file" : 'X\(//\)[^/]' \| \
44056 X"$file" : 'X\(//\)$' \| \
44057 X"$file" : 'X\(/\)' \| \
44058 . : '\(.\)' 2>/dev/null ||
44060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44061 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44062 /^X\(\/\/\)$/{ s//\1/; q; }
44063 /^X\(\/\).*/{ s//\1/; q; }
44065 { if $as_mkdir_p; then
44066 mkdir
-p $dirpart/$fdir
44068 as_dir
=$dirpart/$fdir
44070 while test ! -d "$as_dir"; do
44071 as_dirs
="$as_dir $as_dirs"
44072 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44074 X"$as_dir" : 'X\(//\)[^/]' \| \
44075 X"$as_dir" : 'X\(//\)$' \| \
44076 X"$as_dir" : 'X\(/\)' \| \
44077 . : '\(.\)' 2>/dev/null ||
44079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44080 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44081 /^X\(\/\/\)$/{ s//\1/; q; }
44082 /^X\(\/\).*/{ s//\1/; q; }
44085 test ! -n "$as_dirs" || mkdir
$as_dirs
44086 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
44087 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
44088 { (exit 1); exit 1; }; }; }
44090 # echo "creating $dirpart/$file"
44091 echo '# dummy' > "$dirpart/$file"
44096 for ac_file
in $CONFIG_FILES; do
44097 # Support "outfile[:infile[:infile...]]"
44099 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
44101 # PO directories have a Makefile.in generated from Makefile.in.in.
44102 case "$ac_file" in */Makefile.
in)
44103 # Adjust a relative srcdir.
44104 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
44105 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
44106 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
44107 # In autoconf-2.13 it is called $ac_given_srcdir.
44108 # In autoconf-2.50 it is called $srcdir.
44109 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
44110 case "$ac_given_srcdir" in
44111 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
44112 /*) top_srcdir
="$ac_given_srcdir" ;;
44113 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
44115 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
44116 rm -f "$ac_dir/POTFILES"
44117 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
44118 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
44119 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
44120 # on $ac_dir but don't depend on user-specified configuration
44122 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
44123 # The LINGUAS file contains the set of available languages.
44124 if test -n "$ALL_LINGUAS"; then
44125 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
44127 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
44128 # Hide the ALL_LINGUAS assigment from automake.
44129 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
44131 case "$ac_given_srcdir" in
44133 *) srcdirpre
='$(srcdir)/' ;;
44139 for lang
in $ALL_LINGUAS; do
44140 POFILES
="$POFILES $srcdirpre$lang.po"
44141 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
44142 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
44143 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
44145 # CATALOGS depends on both $ac_dir and the user's LINGUAS
44146 # environment variable.
44148 if test -n "$ALL_LINGUAS"; then
44149 for presentlang
in $ALL_LINGUAS; do
44151 if test "%UNSET%" != "$LINGUAS"; then
44152 desiredlanguages
="$LINGUAS"
44154 desiredlanguages
="$ALL_LINGUAS"
44156 for desiredlang
in $desiredlanguages; do
44157 # Use the presentlang catalog if desiredlang is
44158 # a. equal to presentlang, or
44159 # b. a variant of presentlang (because in this case,
44160 # presentlang can be used as a fallback for messages
44161 # which are not translated in the desiredlang catalog).
44162 case "$desiredlang" in
44163 "$presentlang"*) useit
=yes;;
44166 if test $useit = yes; then
44167 INST_LINGUAS
="$INST_LINGUAS $presentlang"
44172 if test -n "$INST_LINGUAS"; then
44173 for lang
in $INST_LINGUAS; do
44174 CATALOGS
="$CATALOGS $lang.gmo"
44177 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
44178 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
44179 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
44180 if test -f "$f"; then
44182 *.orig |
*.bak |
*~
) ;;
44183 *) cat "$f" >> "$ac_dir/Makefile" ;;
44195 cat >>$CONFIG_STATUS <<\_ACEOF
44197 { (exit 0); exit 0; }
44199 chmod +x
$CONFIG_STATUS
44200 ac_clean_files
=$ac_clean_files_save
44203 # configure is writing to config.log, and then calls config.status.
44204 # config.status does its own redirection, appending to config.log.
44205 # Unfortunately, on DOS this fails, as config.log is still kept open
44206 # by configure, so config.status won't be able to write to it; its
44207 # output is simply discarded. So we exec the FD to /dev/null,
44208 # effectively closing config.log, so it can be properly (re)opened and
44209 # appended to by config.status. When coming back to configure, we
44210 # need to make the FD available again.
44211 if test "$no_create" != yes; then
44213 ac_config_status_args
=
44214 test "$silent" = yes &&
44215 ac_config_status_args
="$ac_config_status_args --quiet"
44217 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
44219 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
44220 # would make configure fail if this is the last instruction.
44221 $ac_cs_success ||
{ (exit 1); exit 1; }