2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Texinfo 4.8.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='GNU Texinfo'
269 PACKAGE_TARNAME
='texinfo'
270 PACKAGE_VERSION
='4.8'
271 PACKAGE_STRING
='GNU Texinfo 4.8'
274 ac_unique_file
="makeinfo/makeinfo.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
313 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP RANLIB ac_ct_RANLIB HELP2MAN ALLOCA LIBOBJS build build_cpu build_vendor build_os native_tools TOOLS_ONLY_TRUE TOOLS_ONLY_FALSE TERMLIBS host host_cpu host_vendor host_os INSTALL_WARNINGS_TRUE INSTALL_WARNINGS_FALSE MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE GLIBC21 HAVE_POSIX_PRINTF HAVE_ASPRINTF HAVE_SNPRINTF HAVE_WPRINTF LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures GNU Texinfo 4.8 to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 --build=BUILD configure
for building on BUILD
[guessed
]
842 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
846 if test -n "$ac_init_help"; then
847 case $ac_init_help in
848 short | recursive
) echo "Configuration of GNU Texinfo 4.8:";;
853 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
854 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing
) to the casual installer
857 --disable-dependency-tracking speeds up one-time build
858 --enable-dependency-tracking do not reject slow dependency extractors
859 --enable-multiplatform put executables
in bin
/PLATFORM
860 --disable-install-warnings omit
make install warnings about TeX files
861 --disable-nls do not use Native Language Support
862 --disable-rpath do not hardcode runtime library paths
865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
867 --with-gnu-ld assume the C compiler uses GNU ld default
=no
868 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
869 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
870 --with-included-gettext use the GNU gettext library included here
871 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
872 --without-libintl-prefix don't search
for libintl
in includedir and libdir
874 Some influential environment variables
:
875 CC C compiler
command
876 CFLAGS C compiler flags
877 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
878 nonstandard directory
<lib dir
>
879 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
880 headers
in a nonstandard directory
<include dir
>
883 Use these variables to override the choices made by
`configure' or to help
884 it to find libraries and programs with nonstandard names/locations.
889 if test "$ac_init_help" = "recursive"; then
890 # If there are subdirs, report their specific --help.
892 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
893 test -d $ac_dir || continue
896 if test "$ac_dir" != .; then
897 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
898 # A "../" for each directory in $ac_dir_suffix.
899 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
901 ac_dir_suffix= ac_top_builddir=
905 .) # No --srcdir option. We are building in place.
907 if test -z "$ac_top_builddir"; then
910 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
912 [\\/]* | ?:[\\/]* ) # Absolute path.
913 ac_srcdir=$srcdir$ac_dir_suffix;
914 ac_top_srcdir=$srcdir ;;
916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
917 ac_top_srcdir=$ac_top_builddir$srcdir ;;
920 # Do not use `cd foo
&& pwd` to compute absolute paths, because
921 # the directories may not exist.
923 .) ac_abs_builddir="$ac_dir";;
926 .) ac_abs_builddir=`pwd`;;
927 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
928 *) ac_abs_builddir=`pwd`/"$ac_dir";;
931 case $ac_abs_builddir in
932 .) ac_abs_top_builddir=${ac_top_builddir}.;;
934 case ${ac_top_builddir}. in
935 .) ac_abs_top_builddir=$ac_abs_builddir;;
936 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
937 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
940 case $ac_abs_builddir in
941 .) ac_abs_srcdir=$ac_srcdir;;
944 .) ac_abs_srcdir=$ac_abs_builddir;;
945 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
946 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
949 case $ac_abs_builddir in
950 .) ac_abs_top_srcdir=$ac_top_srcdir;;
952 case $ac_top_srcdir in
953 .) ac_abs_top_srcdir=$ac_abs_builddir;;
954 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
955 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
960 # Check for guested configure; otherwise get Cygnus style configure.
961 if test -f $ac_srcdir/configure.gnu; then
963 $SHELL $ac_srcdir/configure.gnu --help=recursive
964 elif test -f $ac_srcdir/configure; then
966 $SHELL $ac_srcdir/configure --help=recursive
967 elif test -f $ac_srcdir/configure.ac ||
968 test -f $ac_srcdir/configure.in; then
972 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
978 test -n "$ac_init_help" && exit 0
979 if $ac_init_version; then
981 GNU Texinfo configure 4.8
982 generated by GNU Autoconf 2.59
984 Copyright (C) 2003 Free Software Foundation, Inc.
985 This configure script is free software; the Free Software Foundation
986 gives unlimited permission to copy, distribute and modify it.
992 This file contains any messages produced by compilers while
993 running configure, to aid debugging if configure makes a mistake.
995 It was created by GNU Texinfo $as_me 4.8, which was
996 generated by GNU Autoconf 2.59. Invocation command line was
1007 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1008 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1009 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1010 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1011 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1014 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1016 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1018 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1019 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1020 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1021 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1022 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1030 test -z "$as_dir" && as_dir=.
1031 echo "PATH: $as_dir"
1046 # Keep a trace of the command line.
1047 # Strip out --no-create and --no-recursion so they do not pile up.
1048 # Strip out --silent because we don't want to record it for future runs.
1049 # Also quote any args containing shell meta-characters.
1050 # Make two passes to allow for proper duplicate-argument suppression.
1055 ac_must_keep_next=false
1061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063 | -silent | --silent | --silen | --sile | --sil)
1065 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1066 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1069 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1071 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1072 if test $ac_must_keep_next = true; then
1073 ac_must_keep_next=false # Got value, back to normal.
1076 *=* | --config-cache | -C | -disable-* | --disable-* \
1077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1079 | -with-* | --with-* | -without-* | --without-* | --x)
1080 case "$ac_configure_args0 " in
1081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1084 -* ) ac_must_keep_next=true ;;
1087 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1088 # Get rid of the leading space.
1094 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1095 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1097 # When interrupted or exit'd, cleanup temporary files, and complete
1098 # config.log. We remove comments because anyway the quotes in there
1099 # would cause problems or look ugly.
1100 # WARNING: Be sure not to use single quotes in there, as some shells,
1101 # such as our DU 5.0 friend, will then `close
' the trap.
1102 trap 'exit_status
=$?
1103 # Save into config.log some information that might help in debugging.
1108 ## ---------------- ##
1109 ## Cache variables. ##
1110 ## ---------------- ##
1113 # The following way of writing the cache mishandles newlines in values,
1116 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1119 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1131 ## ----------------- ##
1132 ## Output variables. ##
1133 ## ----------------- ##
1136 for ac_var
in $ac_subst_vars
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -n "$ac_subst_files"; then
1150 for ac_var
in $ac_subst_files
1152 eval ac_val
=$
`echo $ac_var`
1153 echo "$ac_var='"'"'$ac_val'"'"'"
1158 if test -s confdefs.h
; then
1165 sed "/^$/d" confdefs.h |
sort
1168 test "$ac_signal" != 0 &&
1169 echo "$as_me: caught signal $ac_signal"
1170 echo "$as_me: exit $exit_status"
1172 rm -f core
*.core
&&
1173 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1176 for ac_signal in 1 2 13 15; do
1177 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1181 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1182 rm -rf conftest* confdefs.h
1183 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1186 # Predefined preprocessor variables.
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_NAME "$PACKAGE_NAME"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_STRING "$PACKAGE_STRING"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1213 # Let the site file select an alternate cache file if it wants to.
1214 # Prefer explicitly selected file to automatically selected ones.
1215 if test -z "$CONFIG_SITE"; then
1216 if test "x$prefix" != xNONE; then
1217 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1222 for ac_site_file in $CONFIG_SITE; do
1223 if test -r "$ac_site_file"; then
1224 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1225 echo "$as_me: loading site script $ac_site_file" >&6;}
1226 sed 's
/^
/|
/' "$ac_site_file" >&5
1231 if test -r "$cache_file"; then
1232 # Some versions of bash will fail to source /dev/null (special
1233 # files actually), so we avoid doing that.
1234 if test -f "$cache_file"; then
1235 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1236 echo "$as_me: loading cache $cache_file" >&6;}
1238 [\\/]* | ?:[\\/]* ) . $cache_file;;
1239 *) . ./$cache_file;;
1243 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1244 echo "$as_me: creating cache $cache_file" >&6;}
1248 # Check that the precious variables saved in the cache have kept the same
1250 ac_cache_corrupted=false
1251 for ac_var in `(set) 2>&1 |
1252 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1253 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1254 eval ac_new_set=\$ac_env_${ac_var}_set
1255 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1256 eval ac_new_val="\$ac_env_${ac_var}_value"
1257 case $ac_old_set,$ac_new_set in
1259 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1261 ac_cache_corrupted=: ;;
1263 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1265 ac_cache_corrupted=: ;;
1268 if test "x$ac_old_val" != "x$ac_new_val"; then
1269 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1270 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1271 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1272 echo "$as_me: former value: $ac_old_val" >&2;}
1273 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1274 echo "$as_me: current value: $ac_new_val" >&2;}
1275 ac_cache_corrupted=:
1278 # Pass precious variables to config.status.
1279 if test "$ac_new_set" = set; then
1281 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1282 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1283 *) ac_arg=$ac_var=$ac_new_val ;;
1285 case " $ac_configure_args " in
1286 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1287 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1291 if $ac_cache_corrupted; then
1292 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1293 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1294 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1295 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1296 { (exit 1); exit 1; }; }
1300 ac_cpp='$CPP $CPPFLAGS'
1301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1302 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1306 gl_header_list="$gl_header_list fcntl.h"
1307 gl_header_list="$gl_header_list sys/time.h"
1308 gl_header_list="$gl_header_list unistd.h"
1334 ac_config_headers="$ac_config_headers config.h:config.in"
1335 # Keep filename to 8.3 for MS-DOS.
1337 am__api_version="1.9"
1339 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1340 if test -f $ac_dir/install-sh; then
1342 ac_install_sh="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh; then
1346 ac_install_sh="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool; then
1350 ac_install_sh="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1363 # Find a good install program. We prefer a C program (faster),
1364 # so one script is as good as another. But avoid the broken or
1365 # incompatible versions:
1366 # SysV /etc/install, /usr/sbin/install
1367 # SunOS /usr/etc/install
1368 # IRIX /sbin/install
1370 # AmigaOS /C/install, which installs bootblocks on floppy discs
1371 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1372 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1373 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1374 # OS/2's system install, which has a completely different semantic
1375 # ./install, which can be erroneously created by make from ./install.sh.
1376 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1377 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1378 if test -z "$INSTALL"; then
1379 if test "${ac_cv_path_install+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1386 test -z "$as_dir" && as_dir
=.
1387 # Account for people who put trailing slashes in PATH elements.
1389 .
/ | .
// |
/cC
/* | \
1390 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1391 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1394 # OSF1 and SCO ODT 3.0 have their own names for install.
1395 # Don't use installbsd from OSF since it installs stuff as root
1397 for ac_prog
in ginstall scoinst
install; do
1398 for ac_exec_ext
in '' $ac_executable_extensions; do
1399 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1400 if test $ac_prog = install &&
1401 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1402 # AIX install. It has an incompatible calling convention.
1404 elif test $ac_prog = install &&
1405 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1406 # program-specific install script used by HP pwplus--don't use.
1409 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1421 if test "${ac_cv_path_install+set}" = set; then
1422 INSTALL
=$ac_cv_path_install
1424 # As a last resort, use the slow shell script. We don't cache a
1425 # path for INSTALL within a source directory, because that will
1426 # break other packages using the cache if that directory is
1427 # removed, or if the path is relative.
1428 INSTALL
=$ac_install_sh
1431 echo "$as_me:$LINENO: result: $INSTALL" >&5
1432 echo "${ECHO_T}$INSTALL" >&6
1434 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1435 # It thinks the first close brace ends the variable substitution.
1436 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1438 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1440 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1442 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1443 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1446 echo timestamp
> conftest.
file
1447 # Do `set' in a subshell so we don't clobber the current shell's
1448 # arguments. Must try -L first in case configure is actually a
1449 # symlink; some systems play weird games with the mod time of symlinks
1450 # (eg FreeBSD returns the mod time of the symlink's containing
1453 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1454 if test "$*" = "X"; then
1456 set X
`ls -t $srcdir/configure conftest.file`
1459 if test "$*" != "X $srcdir/configure conftest.file" \
1460 && test "$*" != "X conftest.file $srcdir/configure"; then
1462 # If neither matched, then we have a broken ls. This can happen
1463 # if, for instance, CONFIG_SHELL is bash and it inherits a
1464 # broken ls alias from the environment. This has actually
1465 # happened. Such a system could not be considered "sane".
1466 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1467 alias in your environment" >&5
1468 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1469 alias in your environment" >&2;}
1470 { (exit 1); exit 1; }; }
1473 test "$2" = conftest.
file
1479 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1480 Check your system clock" >&5
1481 echo "$as_me: error: newly created file is older than distributed files!
1482 Check your system clock" >&2;}
1483 { (exit 1); exit 1; }; }
1485 echo "$as_me:$LINENO: result: yes" >&5
1486 echo "${ECHO_T}yes" >&6
1487 test "$program_prefix" != NONE
&&
1488 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1489 # Use a double $ so make ignores it.
1490 test "$program_suffix" != NONE
&&
1491 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1492 # Double any \ or $. echo might interpret backslashes.
1493 # By default was `s,x,x', remove it if useless.
1494 cat <<\_ACEOF
>conftest.
sed
1495 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1497 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1500 # expand $ac_aux_dir to an absolute path
1501 am_aux_dir
=`cd $ac_aux_dir && pwd`
1503 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1504 # Use eval to expand $SHELL
1505 if eval "$MISSING --run true"; then
1506 am_missing_run
="$MISSING --run "
1509 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1510 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1513 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1514 # We used to keeping the `.' as first argument, in order to
1515 # allow $(mkdir_p) to be used without argument. As in
1516 # $(mkdir_p) $(somedir)
1517 # where $(somedir) is conditionally defined. However this is wrong
1519 # 1. if the package is installed by a user who cannot write `.'
1520 # make install will fail,
1521 # 2. the above comment should most certainly read
1522 # $(mkdir_p) $(DESTDIR)$(somedir)
1523 # so it does not work when $(somedir) is undefined and
1524 # $(DESTDIR) is not.
1525 # To support the latter case, we have to write
1526 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1527 # so the `.' trick is pointless.
1528 mkdir_p
='mkdir -p --'
1530 # On NextStep and OpenStep, the `mkdir' command does not
1531 # recognize any option. It will interpret all options as
1532 # directories to create, and then abort because `.' already
1534 for d
in .
/-p .
/--version;
1536 test -d $d && rmdir $d
1538 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1539 if test -f "$ac_aux_dir/mkinstalldirs"; then
1540 mkdir_p
='$(mkinstalldirs)'
1542 mkdir_p
='$(install_sh) -d'
1546 for ac_prog
in gawk mawk nawk
awk
1548 # Extract the first word of "$ac_prog", so it can be a program name with args.
1549 set dummy
$ac_prog; ac_word
=$2
1550 echo "$as_me:$LINENO: checking for $ac_word" >&5
1551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1552 if test "${ac_cv_prog_AWK+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 if test -n "$AWK"; then
1556 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1562 test -z "$as_dir" && as_dir
=.
1563 for ac_exec_ext
in '' $ac_executable_extensions; do
1564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1565 ac_cv_prog_AWK
="$ac_prog"
1566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1575 if test -n "$AWK"; then
1576 echo "$as_me:$LINENO: result: $AWK" >&5
1577 echo "${ECHO_T}$AWK" >&6
1579 echo "$as_me:$LINENO: result: no" >&5
1580 echo "${ECHO_T}no" >&6
1583 test -n "$AWK" && break
1586 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1587 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1588 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1589 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1590 echo $ECHO_N "(cached) $ECHO_C" >&6
1592 cat >conftest.
make <<\_ACEOF
1594 @
echo 'ac_maketemp="$(MAKE)"'
1596 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1597 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1598 if test -n "$ac_maketemp"; then
1599 eval ac_cv_prog_make_
${ac_make}_set
=yes
1601 eval ac_cv_prog_make_
${ac_make}_set
=no
1605 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1606 echo "$as_me:$LINENO: result: yes" >&5
1607 echo "${ECHO_T}yes" >&6
1610 echo "$as_me:$LINENO: result: no" >&5
1611 echo "${ECHO_T}no" >&6
1612 SET_MAKE
="MAKE=${MAKE-make}"
1615 rm -rf .tst
2>/dev
/null
1616 mkdir .tst
2>/dev
/null
1617 if test -d .tst
; then
1622 rmdir .tst
2>/dev
/null
1624 # test to see if srcdir already configured
1625 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1626 test -f $srcdir/config.status
; then
1627 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1628 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1629 { (exit 1); exit 1; }; }
1632 # test whether we have cygpath
1633 if test -z "$CYGPATH_W"; then
1634 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1635 CYGPATH_W
='cygpath -w'
1642 # Define the identity of the package.
1647 cat >>confdefs.h
<<_ACEOF
1648 #define PACKAGE "$PACKAGE"
1652 cat >>confdefs.h
<<_ACEOF
1653 #define VERSION "$VERSION"
1656 # Some tools Automake needs.
1658 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1661 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1664 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1667 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1670 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1672 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1674 # Installed binaries are usually stripped using `strip' when the user
1675 # run `make install-strip'. However `strip' might not be the right
1676 # tool to use in cross-compilation environments, therefore Automake
1677 # will honor the `STRIP' environment variable to overrule this program.
1678 if test "$cross_compiling" != no
; then
1679 if test -n "$ac_tool_prefix"; then
1680 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1681 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1682 echo "$as_me:$LINENO: checking for $ac_word" >&5
1683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1684 if test "${ac_cv_prog_STRIP+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6
1687 if test -n "$STRIP"; then
1688 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1694 test -z "$as_dir" && as_dir
=.
1695 for ac_exec_ext
in '' $ac_executable_extensions; do
1696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1697 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1706 STRIP
=$ac_cv_prog_STRIP
1707 if test -n "$STRIP"; then
1708 echo "$as_me:$LINENO: result: $STRIP" >&5
1709 echo "${ECHO_T}$STRIP" >&6
1711 echo "$as_me:$LINENO: result: no" >&5
1712 echo "${ECHO_T}no" >&6
1716 if test -z "$ac_cv_prog_STRIP"; then
1718 # Extract the first word of "strip", so it can be a program name with args.
1719 set dummy strip
; ac_word
=$2
1720 echo "$as_me:$LINENO: checking for $ac_word" >&5
1721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1722 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1723 echo $ECHO_N "(cached) $ECHO_C" >&6
1725 if test -n "$ac_ct_STRIP"; then
1726 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1732 test -z "$as_dir" && as_dir
=.
1733 for ac_exec_ext
in '' $ac_executable_extensions; do
1734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1735 ac_cv_prog_ac_ct_STRIP
="strip"
1736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1742 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1745 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1746 if test -n "$ac_ct_STRIP"; then
1747 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1748 echo "${ECHO_T}$ac_ct_STRIP" >&6
1750 echo "$as_me:$LINENO: result: no" >&5
1751 echo "${ECHO_T}no" >&6
1756 STRIP
="$ac_cv_prog_STRIP"
1760 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1762 # We need awk for the "check" target. The system "awk" is bad on
1764 # Always define AMTAR for backward compatibility.
1766 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1768 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1774 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1775 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1776 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1777 if test "${enable_maintainer_mode+set}" = set; then
1778 enableval
="$enable_maintainer_mode"
1779 USE_MAINTAINER_MODE
=$enableval
1781 USE_MAINTAINER_MODE
=no
1783 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1784 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1787 if test $USE_MAINTAINER_MODE = yes; then
1788 MAINTAINER_MODE_TRUE
=
1789 MAINTAINER_MODE_FALSE
='#'
1791 MAINTAINER_MODE_TRUE
='#'
1792 MAINTAINER_MODE_FALSE
=
1795 MAINT
=$MAINTAINER_MODE_TRUE
1799 # When the Texinfo source is imported into other repositories
1800 # (NetBSD and TeX Live), timestamps are generally not preserved. This
1801 # causes lots of annoyance, so --enable-maintainer-mode. Sorry.
1802 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1803 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1804 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1805 if test "${enable_maintainer_mode+set}" = set; then
1806 enableval
="$enable_maintainer_mode"
1807 USE_MAINTAINER_MODE
=$enableval
1809 USE_MAINTAINER_MODE
=no
1811 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1812 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1815 if test $USE_MAINTAINER_MODE = yes; then
1816 MAINTAINER_MODE_TRUE
=
1817 MAINTAINER_MODE_FALSE
='#'
1819 MAINTAINER_MODE_TRUE
='#'
1820 MAINTAINER_MODE_FALSE
=
1823 MAINT
=$MAINTAINER_MODE_TRUE
1827 # Checks for programs.
1829 ac_cpp
='$CPP $CPPFLAGS'
1830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1833 if test -n "$ac_tool_prefix"; then
1834 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1835 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1836 echo "$as_me:$LINENO: checking for $ac_word" >&5
1837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1838 if test "${ac_cv_prog_CC+set}" = set; then
1839 echo $ECHO_N "(cached) $ECHO_C" >&6
1841 if test -n "$CC"; then
1842 ac_cv_prog_CC
="$CC" # Let the user override the test.
1844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1848 test -z "$as_dir" && as_dir
=.
1849 for ac_exec_ext
in '' $ac_executable_extensions; do
1850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1851 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1861 if test -n "$CC"; then
1862 echo "$as_me:$LINENO: result: $CC" >&5
1863 echo "${ECHO_T}$CC" >&6
1865 echo "$as_me:$LINENO: result: no" >&5
1866 echo "${ECHO_T}no" >&6
1870 if test -z "$ac_cv_prog_CC"; then
1872 # Extract the first word of "gcc", so it can be a program name with args.
1873 set dummy gcc
; ac_word
=$2
1874 echo "$as_me:$LINENO: checking for $ac_word" >&5
1875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1877 echo $ECHO_N "(cached) $ECHO_C" >&6
1879 if test -n "$ac_ct_CC"; then
1880 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1886 test -z "$as_dir" && as_dir
=.
1887 for ac_exec_ext
in '' $ac_executable_extensions; do
1888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1889 ac_cv_prog_ac_ct_CC
="gcc"
1890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1899 if test -n "$ac_ct_CC"; then
1900 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1901 echo "${ECHO_T}$ac_ct_CC" >&6
1903 echo "$as_me:$LINENO: result: no" >&5
1904 echo "${ECHO_T}no" >&6
1912 if test -z "$CC"; then
1913 if test -n "$ac_tool_prefix"; then
1914 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1915 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1916 echo "$as_me:$LINENO: checking for $ac_word" >&5
1917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1918 if test "${ac_cv_prog_CC+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 if test -n "$CC"; then
1922 ac_cv_prog_CC
="$CC" # Let the user override the test.
1924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1928 test -z "$as_dir" && as_dir
=.
1929 for ac_exec_ext
in '' $ac_executable_extensions; do
1930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1931 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 if test -n "$CC"; then
1942 echo "$as_me:$LINENO: result: $CC" >&5
1943 echo "${ECHO_T}$CC" >&6
1945 echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6
1950 if test -z "$ac_cv_prog_CC"; then
1952 # Extract the first word of "cc", so it can be a program name with args.
1953 set dummy cc
; ac_word
=$2
1954 echo "$as_me:$LINENO: checking for $ac_word" >&5
1955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1956 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 if test -n "$ac_ct_CC"; then
1960 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1966 test -z "$as_dir" && as_dir
=.
1967 for ac_exec_ext
in '' $ac_executable_extensions; do
1968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1969 ac_cv_prog_ac_ct_CC
="cc"
1970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1979 if test -n "$ac_ct_CC"; then
1980 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1981 echo "${ECHO_T}$ac_ct_CC" >&6
1983 echo "$as_me:$LINENO: result: no" >&5
1984 echo "${ECHO_T}no" >&6
1993 if test -z "$CC"; then
1994 # Extract the first word of "cc", so it can be a program name with args.
1995 set dummy cc
; ac_word
=$2
1996 echo "$as_me:$LINENO: checking for $ac_word" >&5
1997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1998 if test "${ac_cv_prog_CC+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 if test -n "$CC"; then
2002 ac_cv_prog_CC
="$CC" # Let the user override the test.
2005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2009 test -z "$as_dir" && as_dir
=.
2010 for ac_exec_ext
in '' $ac_executable_extensions; do
2011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2012 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2013 ac_prog_rejected
=yes
2017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2023 if test $ac_prog_rejected = yes; then
2024 # We found a bogon in the path, so make sure we never use it.
2025 set dummy
$ac_cv_prog_CC
2027 if test $# != 0; then
2028 # We chose a different compiler from the bogus one.
2029 # However, it has the same basename, so the bogon will be chosen
2030 # first if we set CC to just the basename; use the full file name.
2032 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2038 if test -n "$CC"; then
2039 echo "$as_me:$LINENO: result: $CC" >&5
2040 echo "${ECHO_T}$CC" >&6
2042 echo "$as_me:$LINENO: result: no" >&5
2043 echo "${ECHO_T}no" >&6
2047 if test -z "$CC"; then
2048 if test -n "$ac_tool_prefix"; then
2051 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2052 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2053 echo "$as_me:$LINENO: checking for $ac_word" >&5
2054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2055 if test "${ac_cv_prog_CC+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 if test -n "$CC"; then
2059 ac_cv_prog_CC
="$CC" # Let the user override the test.
2061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2065 test -z "$as_dir" && as_dir
=.
2066 for ac_exec_ext
in '' $ac_executable_extensions; do
2067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2068 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 if test -n "$CC"; then
2079 echo "$as_me:$LINENO: result: $CC" >&5
2080 echo "${ECHO_T}$CC" >&6
2082 echo "$as_me:$LINENO: result: no" >&5
2083 echo "${ECHO_T}no" >&6
2086 test -n "$CC" && break
2089 if test -z "$CC"; then
2093 # Extract the first word of "$ac_prog", so it can be a program name with args.
2094 set dummy
$ac_prog; ac_word
=$2
2095 echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2097 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 if test -n "$ac_ct_CC"; then
2101 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2107 test -z "$as_dir" && as_dir
=.
2108 for ac_exec_ext
in '' $ac_executable_extensions; do
2109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2110 ac_cv_prog_ac_ct_CC
="$ac_prog"
2111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2119 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2120 if test -n "$ac_ct_CC"; then
2121 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2122 echo "${ECHO_T}$ac_ct_CC" >&6
2124 echo "$as_me:$LINENO: result: no" >&5
2125 echo "${ECHO_T}no" >&6
2128 test -n "$ac_ct_CC" && break
2137 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2138 See \`config.log' for more details." >&5
2139 echo "$as_me: error: no acceptable C compiler found in \$PATH
2140 See \`config.log' for more details." >&2;}
2141 { (exit 1); exit 1; }; }
2143 # Provide some information about the compiler.
2144 echo "$as_me:$LINENO:" \
2145 "checking for C compiler version" >&5
2146 ac_compiler
=`set X $ac_compile; echo $2`
2147 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2148 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151 (exit $ac_status); }
2152 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2153 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }
2157 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2158 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }
2163 cat >conftest.
$ac_ext <<_ACEOF
2166 cat confdefs.h
>>conftest.
$ac_ext
2167 cat >>conftest.
$ac_ext <<_ACEOF
2168 /* end confdefs.h. */
2178 ac_clean_files_save
=$ac_clean_files
2179 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2180 # Try to create an executable without -o first, disregard a.out.
2181 # It will help us diagnose broken compilers, and finding out an intuition
2183 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2184 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2185 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2186 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2187 (eval $ac_link_default) 2>&5
2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190 (exit $ac_status); }; then
2191 # Find the output, starting from the most likely. This scheme is
2192 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2195 # Be careful to initialize this variable, since it used to be cached.
2196 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2198 # b.out is created by i960 compilers.
2199 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2201 test -f "$ac_file" ||
continue
2203 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2206 # This is the source file.
2209 # We found the default executable, but exeext='' is most
2213 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2214 # FIXME: I believe we export ac_cv_exeext for Libtool,
2215 # but it would be cool to find out if it's true. Does anybody
2216 # maintain Libtool? --akim.
2224 echo "$as_me: failed program was:" >&5
2225 sed 's/^/| /' conftest.
$ac_ext >&5
2227 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2228 See \`config.log' for more details." >&5
2229 echo "$as_me: error: C compiler cannot create executables
2230 See \`config.log' for more details." >&2;}
2231 { (exit 77); exit 77; }; }
2234 ac_exeext
=$ac_cv_exeext
2235 echo "$as_me:$LINENO: result: $ac_file" >&5
2236 echo "${ECHO_T}$ac_file" >&6
2238 # Check the compiler produces executables we can run. If not, either
2239 # the compiler is broken, or we cross compile.
2240 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2241 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2242 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2243 # If not cross compiling, check that we can run a simple program.
2244 if test "$cross_compiling" != yes; then
2245 if { ac_try
='./$ac_file'
2246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); }; }; then
2253 if test "$cross_compiling" = maybe
; then
2256 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2257 If you meant to cross compile, use \`--host'.
2258 See \`config.log' for more details." >&5
2259 echo "$as_me: error: cannot run C compiled programs.
2260 If you meant to cross compile, use \`--host'.
2261 See \`config.log' for more details." >&2;}
2262 { (exit 1); exit 1; }; }
2266 echo "$as_me:$LINENO: result: yes" >&5
2267 echo "${ECHO_T}yes" >&6
2269 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2270 ac_clean_files
=$ac_clean_files_save
2271 # Check the compiler produces executables we can run. If not, either
2272 # the compiler is broken, or we cross compile.
2273 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2274 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2275 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2276 echo "${ECHO_T}$cross_compiling" >&6
2278 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2279 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2281 (eval $ac_link) 2>&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; then
2285 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2286 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2287 # work properly (i.e., refer to `conftest.exe'), while it won't with
2289 for ac_file
in conftest.exe conftest conftest.
*; do
2290 test -f "$ac_file" ||
continue
2292 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2293 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2300 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2301 See \`config.log' for more details." >&5
2302 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2303 See \`config.log' for more details." >&2;}
2304 { (exit 1); exit 1; }; }
2307 rm -f conftest
$ac_cv_exeext
2308 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2309 echo "${ECHO_T}$ac_cv_exeext" >&6
2311 rm -f conftest.
$ac_ext
2312 EXEEXT
=$ac_cv_exeext
2314 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2315 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2316 if test "${ac_cv_objext+set}" = set; then
2317 echo $ECHO_N "(cached) $ECHO_C" >&6
2319 cat >conftest.
$ac_ext <<_ACEOF
2322 cat confdefs.h
>>conftest.
$ac_ext
2323 cat >>conftest.
$ac_ext <<_ACEOF
2324 /* end confdefs.h. */
2334 rm -f conftest.o conftest.obj
2335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2336 (eval $ac_compile) 2>&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); }; then
2340 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2342 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2343 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2348 echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.
$ac_ext >&5
2351 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2352 See \`config.log' for more details." >&5
2353 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2354 See \`config.log' for more details." >&2;}
2355 { (exit 1); exit 1; }; }
2358 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2360 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2361 echo "${ECHO_T}$ac_cv_objext" >&6
2362 OBJEXT
=$ac_cv_objext
2364 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2365 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2366 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 cat >conftest.
$ac_ext <<_ACEOF
2372 cat confdefs.h
>>conftest.
$ac_ext
2373 cat >>conftest.
$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2387 rm -f conftest.
$ac_objext
2388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2389 (eval $ac_compile) 2>conftest.er1
2391 grep -v '^ *+' conftest.er1
>conftest.err
2393 cat conftest.err
>&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); } &&
2396 { ac_try
='test -z "$ac_c_werror_flag"
2397 || test ! -s conftest.err'
2398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }; } &&
2403 { ac_try
='test -s conftest.$ac_objext'
2404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; }; then
2411 echo "$as_me: failed program was:" >&5
2412 sed 's/^/| /' conftest.
$ac_ext >&5
2416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2417 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2420 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2421 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2422 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2423 ac_test_CFLAGS
=${CFLAGS+set}
2424 ac_save_CFLAGS
=$CFLAGS
2426 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2427 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2428 if test "${ac_cv_prog_cc_g+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 cat >conftest.
$ac_ext <<_ACEOF
2434 cat confdefs.h
>>conftest.
$ac_ext
2435 cat >>conftest.
$ac_ext <<_ACEOF
2436 /* end confdefs.h. */
2446 rm -f conftest.
$ac_objext
2447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2448 (eval $ac_compile) 2>conftest.er1
2450 grep -v '^ *+' conftest.er1
>conftest.err
2452 cat conftest.err
>&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); } &&
2455 { ac_try
='test -z "$ac_c_werror_flag"
2456 || test ! -s conftest.err'
2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; } &&
2462 { ac_try
='test -s conftest.$ac_objext'
2463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); }; }; then
2470 echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.
$ac_ext >&5
2475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2477 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2478 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2479 if test "$ac_test_CFLAGS" = set; then
2480 CFLAGS
=$ac_save_CFLAGS
2481 elif test $ac_cv_prog_cc_g = yes; then
2482 if test "$GCC" = yes; then
2488 if test "$GCC" = yes; then
2494 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2495 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2496 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2497 echo $ECHO_N "(cached) $ECHO_C" >&6
2499 ac_cv_prog_cc_stdc
=no
2501 cat >conftest.
$ac_ext <<_ACEOF
2504 cat confdefs.h
>>conftest.
$ac_ext
2505 cat >>conftest.
$ac_ext <<_ACEOF
2506 /* end confdefs.h. */
2509 #include <sys/types.h>
2510 #include <sys/stat.h>
2511 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2512 struct buf { int x; };
2513 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2514 static char *e (p, i)
2520 static char *f (char * (*g) (char **, int), char **p, ...)
2525 s = g (p, va_arg (v,int));
2530 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2531 function prototypes and stuff, but not '\xHH' hex character constants.
2532 These don't provoke an error unfortunately, instead are silently treated
2533 as 'x'. The following induces an error, until -std1 is added to get
2534 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2535 array size at least. It's necessary to write '\x00'==0 to get something
2536 that's true only with -std1. */
2537 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2539 int test (int i, double x);
2540 struct s1 {int (*f) (int a);};
2541 struct s2 {int (*f) (double a);};
2542 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2548 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2553 # Don't try gcc -ansi; that turns off useful extensions and
2554 # breaks some systems' header files.
2555 # AIX -qlanglvl=ansi
2556 # Ultrix and OSF/1 -std1
2557 # HP-UX 10.20 and later -Ae
2558 # HP-UX older versions -Aa -D_HPUX_SOURCE
2559 # SVR4 -Xc -D__EXTENSIONS__
2560 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2562 CC
="$ac_save_CC $ac_arg"
2563 rm -f conftest.
$ac_objext
2564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2565 (eval $ac_compile) 2>conftest.er1
2567 grep -v '^ *+' conftest.er1
>conftest.err
2569 cat conftest.err
>&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); } &&
2572 { ac_try
='test -z "$ac_c_werror_flag"
2573 || test ! -s conftest.err'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; } &&
2579 { ac_try
='test -s conftest.$ac_objext'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; }; then
2585 ac_cv_prog_cc_stdc
=$ac_arg
2588 echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.
$ac_ext >&5
2592 rm -f conftest.err conftest.
$ac_objext
2594 rm -f conftest.
$ac_ext conftest.
$ac_objext
2599 case "x$ac_cv_prog_cc_stdc" in
2601 echo "$as_me:$LINENO: result: none needed" >&5
2602 echo "${ECHO_T}none needed" >&6 ;;
2604 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2605 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2606 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2609 # Some people use a C++ compiler to compile C. Since we use `exit',
2610 # in C++ we need to declare it. In case someone uses the same compiler
2611 # for both compiling C and C++ we need to have the C++ compiler decide
2612 # the declaration of exit, since it's the most demanding environment.
2613 cat >conftest.
$ac_ext <<_ACEOF
2618 rm -f conftest.
$ac_objext
2619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2620 (eval $ac_compile) 2>conftest.er1
2622 grep -v '^ *+' conftest.er1
>conftest.err
2624 cat conftest.err
>&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); } &&
2627 { ac_try
='test -z "$ac_c_werror_flag"
2628 || test ! -s conftest.err'
2629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); }; } &&
2634 { ac_try
='test -s conftest.$ac_objext'
2635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; }; then
2640 for ac_declaration
in \
2642 'extern "C" void std::exit (int) throw (); using std::exit;' \
2643 'extern "C" void std::exit (int); using std::exit;' \
2644 'extern "C" void exit (int) throw ();' \
2645 'extern "C" void exit (int);' \
2648 cat >conftest.
$ac_ext <<_ACEOF
2651 cat confdefs.h
>>conftest.
$ac_ext
2652 cat >>conftest.
$ac_ext <<_ACEOF
2653 /* end confdefs.h. */
2664 rm -f conftest.
$ac_objext
2665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2666 (eval $ac_compile) 2>conftest.er1
2668 grep -v '^ *+' conftest.er1
>conftest.err
2670 cat conftest.err
>&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); } &&
2673 { ac_try
='test -z "$ac_c_werror_flag"
2674 || test ! -s conftest.err'
2675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); }; } &&
2680 { ac_try
='test -s conftest.$ac_objext'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; }; then
2688 echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.
$ac_ext >&5
2693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2694 cat >conftest.
$ac_ext <<_ACEOF
2697 cat confdefs.h
>>conftest.
$ac_ext
2698 cat >>conftest.
$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2709 rm -f conftest.
$ac_objext
2710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2711 (eval $ac_compile) 2>conftest.er1
2713 grep -v '^ *+' conftest.er1
>conftest.err
2715 cat conftest.err
>&5
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); } &&
2718 { ac_try
='test -z "$ac_c_werror_flag"
2719 || test ! -s conftest.err'
2720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; } &&
2725 { ac_try
='test -s conftest.$ac_objext'
2726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; }; then
2733 echo "$as_me: failed program was:" >&5
2734 sed 's/^/| /' conftest.
$ac_ext >&5
2737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2740 if test -n "$ac_declaration"; then
2741 echo '#ifdef __cplusplus' >>confdefs.h
2742 echo $ac_declaration >>confdefs.h
2743 echo '#endif' >>confdefs.h
2747 echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.
$ac_ext >&5
2751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2753 ac_cpp
='$CPP $CPPFLAGS'
2754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2757 DEPDIR
="${am__leading_dot}deps"
2759 ac_config_commands
="$ac_config_commands depfiles"
2762 am_make
=${MAKE-make}
2763 cat > confinc
<< 'END'
2768 # If we don't find an include directive, just comment out the code.
2769 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2770 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2774 # First try GNU make style include.
2775 echo "include confinc" > confmf
2776 # We grep out `Entering directory' and `Leaving directory'
2777 # messages which can occur if `w' ends up in MAKEFLAGS.
2778 # In particular we don't look at `^make:' because GNU make might
2779 # be invoked under some other name (usually "gmake"), in which
2780 # case it prints its new name instead of `make'.
2781 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2786 # Now try BSD make style include.
2787 if test "$am__include" = "#"; then
2788 echo '.include "confinc"' > confmf
2789 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2790 am__include
=.include
2797 echo "$as_me:$LINENO: result: $_am_result" >&5
2798 echo "${ECHO_T}$_am_result" >&6
2799 rm -f confinc confmf
2801 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2802 if test "${enable_dependency_tracking+set}" = set; then
2803 enableval
="$enable_dependency_tracking"
2806 if test "x$enable_dependency_tracking" != xno
; then
2807 am_depcomp
="$ac_aux_dir/depcomp"
2812 if test "x$enable_dependency_tracking" != xno; then
2823 depcc
="$CC" am_compiler_list
=
2825 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2826 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2827 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2828 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2831 # We make a subdir and do the tests there. Otherwise we can end up
2832 # making bogus files that we don't know about and never remove. For
2833 # instance it was reported that on HP-UX the gcc test will end up
2834 # making a dummy file named `D' -- because `-MD' means `put the output
2837 # Copy depcomp to subdir because otherwise we won't find it if we're
2838 # using a relative directory.
2839 cp "$am_depcomp" conftest.dir
2841 # We will build objects and dependencies in a subdirectory because
2842 # it helps to detect inapplicable dependency modes. For instance
2843 # both Tru64's cc and ICC support -MD to output dependencies as a
2844 # side effect of compilation, but ICC will put the dependencies in
2845 # the current directory while Tru64 will put them in the object
2849 am_cv_CC_dependencies_compiler_type
=none
2850 if test "$am_compiler_list" = ""; then
2851 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2853 for depmode
in $am_compiler_list; do
2854 # Setup a source with many dependencies, because some compilers
2855 # like to wrap large dependency lists on column 80 (with \), and
2856 # we should not choose a depcomp mode which is confused by this.
2858 # We need to recreate these files for each test, as the compiler may
2859 # overwrite some of them when testing with obscure command lines.
2860 # This happens at least with the AIX C compiler.
2862 for i
in 1 2 3 4 5 6; do
2863 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2864 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2865 # Solaris 8's {/usr,}/bin/sh.
2866 touch sub
/conftst
$i.h
2868 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2872 # after this tag, mechanisms are not by side-effect, so they'll
2873 # only be used when explicitly requested
2874 if test "x$enable_dependency_tracking" = xyes
; then
2882 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2883 # mode. It turns out that the SunPro C++ compiler does not properly
2884 # handle `-M -o', and we need to detect this.
2885 if depmode
=$depmode \
2886 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2887 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2888 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2889 >/dev
/null
2>conftest.err
&&
2890 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2891 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2892 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2893 # icc doesn't choke on unknown options, it will just issue warnings
2894 # or remarks (even with -Werror). So we grep stderr for any message
2895 # that says an option was ignored or not supported.
2896 # When given -MP, icc 7.0 and 7.1 complain thusly:
2897 # icc: Command line warning: ignoring option '-M'; no argument required
2898 # The diagnosis changed in icc 8.0:
2899 # icc: Command line remark: option '-MP' not supported
2900 if (grep 'ignoring option' conftest.err ||
2901 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2902 am_cv_CC_dependencies_compiler_type
=$depmode
2911 am_cv_CC_dependencies_compiler_type
=none
2915 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2916 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2917 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2922 test "x$enable_dependency_tracking" != xno \
2923 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2925 am__fastdepCC_FALSE
='#'
2927 am__fastdepCC_TRUE
='#'
2928 am__fastdepCC_FALSE
=
2934 ac_cpp
='$CPP $CPPFLAGS'
2935 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2936 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2937 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2938 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2939 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2940 # On Suns, sometimes $CPP names a directory.
2941 if test -n "$CPP" && test -d "$CPP"; then
2944 if test -z "$CPP"; then
2945 if test "${ac_cv_prog_CPP+set}" = set; then
2946 echo $ECHO_N "(cached) $ECHO_C" >&6
2948 # Double quotes because CPP needs to be expanded
2949 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2952 for ac_c_preproc_warn_flag
in '' yes
2954 # Use a header file that comes with gcc, so configuring glibc
2955 # with a fresh cross-compiler works.
2956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2957 # <limits.h> exists even on freestanding compilers.
2958 # On the NeXT, cc -E runs the code through the compiler's parser,
2959 # not just through cpp. "Syntax error" is here to catch this case.
2960 cat >conftest.
$ac_ext <<_ACEOF
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
2983 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2990 if test -z "$ac_cpp_err"; then
2993 echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.
$ac_ext >&5
2996 # Broken: fails on valid input.
2999 rm -f conftest.err conftest.
$ac_ext
3001 # OK, works on sane cases. Now check whether non-existent headers
3002 # can be detected and how.
3003 cat >conftest.
$ac_ext <<_ACEOF
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
3021 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3028 if test -z "$ac_cpp_err"; then
3029 # Broken: success on invalid input.
3032 echo "$as_me: failed program was:" >&5
3033 sed 's/^/| /' conftest.
$ac_ext >&5
3035 # Passes both tests.
3039 rm -f conftest.err conftest.
$ac_ext
3042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3043 rm -f conftest.err conftest.
$ac_ext
3044 if $ac_preproc_ok; then
3056 echo "$as_me:$LINENO: result: $CPP" >&5
3057 echo "${ECHO_T}$CPP" >&6
3059 for ac_c_preproc_warn_flag
in '' yes
3061 # Use a header file that comes with gcc, so configuring glibc
3062 # with a fresh cross-compiler works.
3063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3064 # <limits.h> exists even on freestanding compilers.
3065 # On the NeXT, cc -E runs the code through the compiler's parser,
3066 # not just through cpp. "Syntax error" is here to catch this case.
3067 cat >conftest.
$ac_ext <<_ACEOF
3070 cat confdefs.h
>>conftest.
$ac_ext
3071 cat >>conftest.
$ac_ext <<_ACEOF
3072 /* end confdefs.h. */
3074 # include <limits.h>
3076 # include <assert.h>
3080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3081 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3083 grep -v '^ *+' conftest.er1
>conftest.err
3085 cat conftest.err
>&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); } >/dev
/null
; then
3088 if test -s conftest.err
; then
3089 ac_cpp_err
=$ac_c_preproc_warn_flag
3090 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3097 if test -z "$ac_cpp_err"; then
3100 echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.
$ac_ext >&5
3103 # Broken: fails on valid input.
3106 rm -f conftest.err conftest.
$ac_ext
3108 # OK, works on sane cases. Now check whether non-existent headers
3109 # can be detected and how.
3110 cat >conftest.
$ac_ext <<_ACEOF
3113 cat confdefs.h
>>conftest.
$ac_ext
3114 cat >>conftest.
$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3116 #include <ac_nonexistent.h>
3118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3121 grep -v '^ *+' conftest.er1
>conftest.err
3123 cat conftest.err
>&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); } >/dev
/null
; then
3126 if test -s conftest.err
; then
3127 ac_cpp_err
=$ac_c_preproc_warn_flag
3128 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3135 if test -z "$ac_cpp_err"; then
3136 # Broken: success on invalid input.
3139 echo "$as_me: failed program was:" >&5
3140 sed 's/^/| /' conftest.
$ac_ext >&5
3142 # Passes both tests.
3146 rm -f conftest.err conftest.
$ac_ext
3149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3150 rm -f conftest.err conftest.
$ac_ext
3151 if $ac_preproc_ok; then
3154 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3155 See \`config.log' for more details." >&5
3156 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3157 See \`config.log' for more details." >&2;}
3158 { (exit 1); exit 1; }; }
3162 ac_cpp
='$CPP $CPPFLAGS'
3163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3168 echo "$as_me:$LINENO: checking for egrep" >&5
3169 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3170 if test "${ac_cv_prog_egrep+set}" = set; then
3171 echo $ECHO_N "(cached) $ECHO_C" >&6
3173 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3174 then ac_cv_prog_egrep
='grep -E'
3175 else ac_cv_prog_egrep
='egrep'
3178 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3179 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3180 EGREP
=$ac_cv_prog_egrep
3183 if test $ac_cv_c_compiler_gnu = yes; then
3184 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3185 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3186 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 ac_pattern
="Autoconf.*'x'"
3190 cat >conftest.
$ac_ext <<_ACEOF
3193 cat confdefs.h
>>conftest.
$ac_ext
3194 cat >>conftest.
$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3200 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3201 ac_cv_prog_gcc_traditional
=yes
3203 ac_cv_prog_gcc_traditional
=no
3208 if test $ac_cv_prog_gcc_traditional = no
; then
3209 cat >conftest.
$ac_ext <<_ACEOF
3212 cat confdefs.h
>>conftest.
$ac_ext
3213 cat >>conftest.
$ac_ext <<_ACEOF
3214 /* end confdefs.h. */
3218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3219 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3220 ac_cv_prog_gcc_traditional
=yes
3226 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3227 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3228 if test $ac_cv_prog_gcc_traditional = yes; then
3229 CC
="$CC -traditional"
3233 # Find a good install program. We prefer a C program (faster),
3234 # so one script is as good as another. But avoid the broken or
3235 # incompatible versions:
3236 # SysV /etc/install, /usr/sbin/install
3237 # SunOS /usr/etc/install
3238 # IRIX /sbin/install
3240 # AmigaOS /C/install, which installs bootblocks on floppy discs
3241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3244 # OS/2's system install, which has a completely different semantic
3245 # ./install, which can be erroneously created by make from ./install.sh.
3246 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3247 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3248 if test -z "$INSTALL"; then
3249 if test "${ac_cv_path_install+set}" = set; then
3250 echo $ECHO_N "(cached) $ECHO_C" >&6
3252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3256 test -z "$as_dir" && as_dir
=.
3257 # Account for people who put trailing slashes in PATH elements.
3259 .
/ | .
// |
/cC
/* | \
3260 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3261 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3264 # OSF1 and SCO ODT 3.0 have their own names for install.
3265 # Don't use installbsd from OSF since it installs stuff as root
3267 for ac_prog
in ginstall scoinst
install; do
3268 for ac_exec_ext
in '' $ac_executable_extensions; do
3269 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3270 if test $ac_prog = install &&
3271 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3272 # AIX install. It has an incompatible calling convention.
3274 elif test $ac_prog = install &&
3275 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3276 # program-specific install script used by HP pwplus--don't use.
3279 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3291 if test "${ac_cv_path_install+set}" = set; then
3292 INSTALL
=$ac_cv_path_install
3294 # As a last resort, use the slow shell script. We don't cache a
3295 # path for INSTALL within a source directory, because that will
3296 # break other packages using the cache if that directory is
3297 # removed, or if the path is relative.
3298 INSTALL
=$ac_install_sh
3301 echo "$as_me:$LINENO: result: $INSTALL" >&5
3302 echo "${ECHO_T}$INSTALL" >&6
3304 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3305 # It thinks the first close brace ends the variable substitution.
3306 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3308 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3310 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3312 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3313 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3314 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3315 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3316 echo $ECHO_N "(cached) $ECHO_C" >&6
3318 cat >conftest.
make <<\_ACEOF
3320 @
echo 'ac_maketemp="$(MAKE)"'
3322 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3323 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3324 if test -n "$ac_maketemp"; then
3325 eval ac_cv_prog_make_
${ac_make}_set
=yes
3327 eval ac_cv_prog_make_
${ac_make}_set
=no
3331 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3332 echo "$as_me:$LINENO: result: yes" >&5
3333 echo "${ECHO_T}yes" >&6
3336 echo "$as_me:$LINENO: result: no" >&5
3337 echo "${ECHO_T}no" >&6
3338 SET_MAKE
="MAKE=${MAKE-make}"
3341 if test -n "$ac_tool_prefix"; then
3342 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3343 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3344 echo "$as_me:$LINENO: checking for $ac_word" >&5
3345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3346 if test "${ac_cv_prog_RANLIB+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 if test -n "$RANLIB"; then
3350 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3356 test -z "$as_dir" && as_dir
=.
3357 for ac_exec_ext
in '' $ac_executable_extensions; do
3358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3359 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 RANLIB
=$ac_cv_prog_RANLIB
3369 if test -n "$RANLIB"; then
3370 echo "$as_me:$LINENO: result: $RANLIB" >&5
3371 echo "${ECHO_T}$RANLIB" >&6
3373 echo "$as_me:$LINENO: result: no" >&5
3374 echo "${ECHO_T}no" >&6
3378 if test -z "$ac_cv_prog_RANLIB"; then
3379 ac_ct_RANLIB
=$RANLIB
3380 # Extract the first word of "ranlib", so it can be a program name with args.
3381 set dummy ranlib
; ac_word
=$2
3382 echo "$as_me:$LINENO: checking for $ac_word" >&5
3383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3384 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 if test -n "$ac_ct_RANLIB"; then
3388 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir
=.
3395 for ac_exec_ext
in '' $ac_executable_extensions; do
3396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3397 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3407 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3408 if test -n "$ac_ct_RANLIB"; then
3409 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3410 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3412 echo "$as_me:$LINENO: result: no" >&5
3413 echo "${ECHO_T}no" >&6
3416 RANLIB
=$ac_ct_RANLIB
3418 RANLIB
="$ac_cv_prog_RANLIB"
3422 HELP2MAN
=${HELP2MAN-"${am_missing_run}help2man"}
3425 echo "$as_me:$LINENO: checking for library containing strerror" >&5
3426 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3427 if test "${ac_cv_search_strerror+set}" = set; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3430 ac_func_search_save_LIBS
=$LIBS
3431 ac_cv_search_strerror
=no
3432 cat >conftest.
$ac_ext <<_ACEOF
3435 cat confdefs.h
>>conftest.
$ac_ext
3436 cat >>conftest.
$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3439 /* Override any gcc2 internal prototype to avoid an error. */
3443 /* We use char because int might match the return type of a gcc2
3444 builtin and then its argument prototype would still apply. */
3454 rm -f conftest.
$ac_objext conftest
$ac_exeext
3455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3456 (eval $ac_link) 2>conftest.er1
3458 grep -v '^ *+' conftest.er1
>conftest.err
3460 cat conftest.err
>&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); } &&
3463 { ac_try
='test -z "$ac_c_werror_flag"
3464 || test ! -s conftest.err'
3465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }; } &&
3470 { ac_try
='test -s conftest$ac_exeext'
3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; }; then
3476 ac_cv_search_strerror
="none required"
3478 echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.
$ac_ext >&5
3482 rm -f conftest.err conftest.
$ac_objext \
3483 conftest
$ac_exeext conftest.
$ac_ext
3484 if test "$ac_cv_search_strerror" = no
; then
3485 for ac_lib
in cposix
; do
3486 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3487 cat >conftest.
$ac_ext <<_ACEOF
3490 cat confdefs.h
>>conftest.
$ac_ext
3491 cat >>conftest.
$ac_ext <<_ACEOF
3492 /* end confdefs.h. */
3494 /* Override any gcc2 internal prototype to avoid an error. */
3498 /* We use char because int might match the return type of a gcc2
3499 builtin and then its argument prototype would still apply. */
3509 rm -f conftest.
$ac_objext conftest
$ac_exeext
3510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3511 (eval $ac_link) 2>conftest.er1
3513 grep -v '^ *+' conftest.er1
>conftest.err
3515 cat conftest.err
>&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } &&
3518 { ac_try
='test -z "$ac_c_werror_flag"
3519 || test ! -s conftest.err'
3520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); }; } &&
3525 { ac_try
='test -s conftest$ac_exeext'
3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); }; }; then
3531 ac_cv_search_strerror
="-l$ac_lib"
3534 echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.
$ac_ext >&5
3538 rm -f conftest.err conftest.
$ac_objext \
3539 conftest
$ac_exeext conftest.
$ac_ext
3542 LIBS
=$ac_func_search_save_LIBS
3544 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3545 echo "${ECHO_T}$ac_cv_search_strerror" >&6
3546 if test "$ac_cv_search_strerror" != no
; then
3547 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
3551 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3552 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3553 if test "${ac_cv_header_stdc+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 cat >conftest.
$ac_ext <<_ACEOF
3559 cat confdefs.h
>>conftest.
$ac_ext
3560 cat >>conftest.
$ac_ext <<_ACEOF
3561 /* end confdefs.h. */
3575 rm -f conftest.
$ac_objext
3576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3577 (eval $ac_compile) 2>conftest.er1
3579 grep -v '^ *+' conftest.er1
>conftest.err
3581 cat conftest.err
>&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); } &&
3584 { ac_try
='test -z "$ac_c_werror_flag"
3585 || test ! -s conftest.err'
3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }; } &&
3591 { ac_try
='test -s conftest.$ac_objext'
3592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }; }; then
3597 ac_cv_header_stdc
=yes
3599 echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.
$ac_ext >&5
3602 ac_cv_header_stdc
=no
3604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3606 if test $ac_cv_header_stdc = yes; then
3607 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3608 cat >conftest.
$ac_ext <<_ACEOF
3611 cat confdefs.h
>>conftest.
$ac_ext
3612 cat >>conftest.
$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3618 $EGREP "memchr" >/dev
/null
2>&1; then
3621 ac_cv_header_stdc
=no
3627 if test $ac_cv_header_stdc = yes; then
3628 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3629 cat >conftest.
$ac_ext <<_ACEOF
3632 cat confdefs.h
>>conftest.
$ac_ext
3633 cat >>conftest.
$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3639 $EGREP "free" >/dev
/null
2>&1; then
3642 ac_cv_header_stdc
=no
3648 if test $ac_cv_header_stdc = yes; then
3649 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3650 if test "$cross_compiling" = yes; then
3653 cat >conftest.
$ac_ext <<_ACEOF
3656 cat confdefs.h
>>conftest.
$ac_ext
3657 cat >>conftest.
$ac_ext <<_ACEOF
3658 /* end confdefs.h. */
3660 #if ((' ' & 0x0FF) == 0x020)
3661 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3662 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3664 # define ISLOWER(c) \
3665 (('a' <= (c) && (c) <= 'i') \
3666 || ('j' <= (c) && (c) <= 'r') \
3667 || ('s' <= (c) && (c) <= 'z'))
3668 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3671 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3676 for (i = 0; i < 256; i++)
3677 if (XOR (islower (i), ISLOWER (i))
3678 || toupper (i) != TOUPPER (i))
3683 rm -f conftest
$ac_exeext
3684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3685 (eval $ac_link) 2>&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; }; then
3696 echo "$as_me: program exited with status $ac_status" >&5
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.
$ac_ext >&5
3701 ac_cv_header_stdc
=no
3703 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3707 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3708 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3709 if test $ac_cv_header_stdc = yes; then
3711 cat >>confdefs.h
<<\_ACEOF
3712 #define STDC_HEADERS 1
3717 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3727 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3728 inttypes.h stdint.h unistd.h
3730 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3731 echo "$as_me:$LINENO: checking for $ac_header" >&5
3732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3734 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 cat >conftest.
$ac_ext <<_ACEOF
3739 cat confdefs.h
>>conftest.
$ac_ext
3740 cat >>conftest.
$ac_ext <<_ACEOF
3741 /* end confdefs.h. */
3742 $ac_includes_default
3744 #include <$ac_header>
3746 rm -f conftest.
$ac_objext
3747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3748 (eval $ac_compile) 2>conftest.er1
3750 grep -v '^ *+' conftest.er1
>conftest.err
3752 cat conftest.err
>&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); } &&
3755 { ac_try
='test -z "$ac_c_werror_flag"
3756 || test ! -s conftest.err'
3757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); }; } &&
3762 { ac_try
='test -s conftest.$ac_objext'
3763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); }; }; then
3768 eval "$as_ac_Header=yes"
3770 echo "$as_me: failed program was:" >&5
3771 sed 's/^/| /' conftest.
$ac_ext >&5
3773 eval "$as_ac_Header=no"
3775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3780 cat >>confdefs.h
<<_ACEOF
3781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3789 if test "${ac_cv_header_minix_config_h+set}" = set; then
3790 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3791 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3792 if test "${ac_cv_header_minix_config_h+set}" = set; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3796 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3798 # Is the header compilable?
3799 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3800 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3801 cat >conftest.
$ac_ext <<_ACEOF
3804 cat confdefs.h
>>conftest.
$ac_ext
3805 cat >>conftest.
$ac_ext <<_ACEOF
3806 /* end confdefs.h. */
3807 $ac_includes_default
3808 #include <minix/config.h>
3810 rm -f conftest.
$ac_objext
3811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3812 (eval $ac_compile) 2>conftest.er1
3814 grep -v '^ *+' conftest.er1
>conftest.err
3816 cat conftest.err
>&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } &&
3819 { ac_try
='test -z "$ac_c_werror_flag"
3820 || test ! -s conftest.err'
3821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); }; } &&
3826 { ac_try
='test -s conftest.$ac_objext'
3827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); }; }; then
3832 ac_header_compiler
=yes
3834 echo "$as_me: failed program was:" >&5
3835 sed 's/^/| /' conftest.
$ac_ext >&5
3837 ac_header_compiler
=no
3839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3840 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3841 echo "${ECHO_T}$ac_header_compiler" >&6
3843 # Is the header present?
3844 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3845 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3846 cat >conftest.
$ac_ext <<_ACEOF
3849 cat confdefs.h
>>conftest.
$ac_ext
3850 cat >>conftest.
$ac_ext <<_ACEOF
3851 /* end confdefs.h. */
3852 #include <minix/config.h>
3854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3855 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3857 grep -v '^ *+' conftest.er1
>conftest.err
3859 cat conftest.err
>&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); } >/dev
/null
; then
3862 if test -s conftest.err
; then
3863 ac_cpp_err
=$ac_c_preproc_warn_flag
3864 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3871 if test -z "$ac_cpp_err"; then
3872 ac_header_preproc
=yes
3874 echo "$as_me: failed program was:" >&5
3875 sed 's/^/| /' conftest.
$ac_ext >&5
3877 ac_header_preproc
=no
3879 rm -f conftest.err conftest.
$ac_ext
3880 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3881 echo "${ECHO_T}$ac_header_preproc" >&6
3883 # So? What about this header?
3884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3886 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3887 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3888 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3889 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3890 ac_header_preproc
=yes
3893 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3894 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3895 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3896 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3897 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3898 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3899 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3900 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3901 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3902 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3903 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3904 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3907 ## -------------------------------------- ##
3908 ## Report this to the GNU Texinfo lists. ##
3909 ## -------------------------------------- ##
3912 sed "s/^/$as_me: WARNING: /" >&2
3915 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3916 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3917 if test "${ac_cv_header_minix_config_h+set}" = set; then
3918 echo $ECHO_N "(cached) $ECHO_C" >&6
3920 ac_cv_header_minix_config_h
=$ac_header_preproc
3922 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3923 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3926 if test $ac_cv_header_minix_config_h = yes; then
3933 if test "$MINIX" = yes; then
3935 cat >>confdefs.h
<<\_ACEOF
3936 #define _POSIX_SOURCE 1
3940 cat >>confdefs.h
<<\_ACEOF
3941 #define _POSIX_1_SOURCE 2
3945 cat >>confdefs.h
<<\_ACEOF
3952 # Needed on sysV68 for sigblock, sigsetmask. But check for it in libc first.
3953 echo "$as_me:$LINENO: checking for sigblock" >&5
3954 echo $ECHO_N "checking for sigblock... $ECHO_C" >&6
3955 if test "${ac_cv_func_sigblock+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 cat >conftest.
$ac_ext <<_ACEOF
3961 cat confdefs.h
>>conftest.
$ac_ext
3962 cat >>conftest.
$ac_ext <<_ACEOF
3963 /* end confdefs.h. */
3964 /* Define sigblock to an innocuous variant, in case <limits.h> declares sigblock.
3965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3966 #define sigblock innocuous_sigblock
3968 /* System header to define __stub macros and hopefully few prototypes,
3969 which can conflict with char sigblock (); below.
3970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3971 <limits.h> exists even on freestanding compilers. */
3974 # include <limits.h>
3976 # include <assert.h>
3981 /* Override any gcc2 internal prototype to avoid an error. */
3986 /* We use char because int might match the return type of a gcc2
3987 builtin and then its argument prototype would still apply. */
3989 /* The GNU C library defines this for functions which it implements
3990 to always fail with ENOSYS. Some functions are actually named
3991 something starting with __ and the normal name is an alias. */
3992 #if defined (__stub_sigblock) || defined (__stub___sigblock)
3995 char (*f) () = sigblock;
4004 return f != sigblock;
4009 rm -f conftest.
$ac_objext conftest
$ac_exeext
4010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4011 (eval $ac_link) 2>conftest.er1
4013 grep -v '^ *+' conftest.er1
>conftest.err
4015 cat conftest.err
>&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); } &&
4018 { ac_try
='test -z "$ac_c_werror_flag"
4019 || test ! -s conftest.err'
4020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); }; } &&
4025 { ac_try
='test -s conftest$ac_exeext'
4026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); }; }; then
4031 ac_cv_func_sigblock
=yes
4033 echo "$as_me: failed program was:" >&5
4034 sed 's/^/| /' conftest.
$ac_ext >&5
4036 ac_cv_func_sigblock
=no
4038 rm -f conftest.err conftest.
$ac_objext \
4039 conftest
$ac_exeext conftest.
$ac_ext
4041 echo "$as_me:$LINENO: result: $ac_cv_func_sigblock" >&5
4042 echo "${ECHO_T}$ac_cv_func_sigblock" >&6
4043 if test $ac_cv_func_sigblock = yes; then
4047 echo "$as_me:$LINENO: checking for sigblock in -lbsd" >&5
4048 echo $ECHO_N "checking for sigblock in -lbsd... $ECHO_C" >&6
4049 if test "${ac_cv_lib_bsd_sigblock+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 ac_check_lib_save_LIBS
=$LIBS
4054 cat >conftest.
$ac_ext <<_ACEOF
4057 cat confdefs.h
>>conftest.
$ac_ext
4058 cat >>conftest.
$ac_ext <<_ACEOF
4059 /* end confdefs.h. */
4061 /* Override any gcc2 internal prototype to avoid an error. */
4065 /* We use char because int might match the return type of a gcc2
4066 builtin and then its argument prototype would still apply. */
4076 rm -f conftest.
$ac_objext conftest
$ac_exeext
4077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4078 (eval $ac_link) 2>conftest.er1
4080 grep -v '^ *+' conftest.er1
>conftest.err
4082 cat conftest.err
>&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); } &&
4085 { ac_try
='test -z "$ac_c_werror_flag"
4086 || test ! -s conftest.err'
4087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); }; } &&
4092 { ac_try
='test -s conftest$ac_exeext'
4093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); }; }; then
4098 ac_cv_lib_bsd_sigblock
=yes
4100 echo "$as_me: failed program was:" >&5
4101 sed 's/^/| /' conftest.
$ac_ext >&5
4103 ac_cv_lib_bsd_sigblock
=no
4105 rm -f conftest.err conftest.
$ac_objext \
4106 conftest
$ac_exeext conftest.
$ac_ext
4107 LIBS
=$ac_check_lib_save_LIBS
4109 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_sigblock" >&5
4110 echo "${ECHO_T}$ac_cv_lib_bsd_sigblock" >&6
4111 if test $ac_cv_lib_bsd_sigblock = yes; then
4112 cat >>confdefs.h
<<_ACEOF
4113 #define HAVE_LIBBSD 1
4123 # Checks for header files.
4124 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
4125 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
4126 if test "${ac_cv_header_stat_broken+set}" = set; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4129 cat >conftest.
$ac_ext <<_ACEOF
4132 cat confdefs.h
>>conftest.
$ac_ext
4133 cat >>conftest.
$ac_ext <<_ACEOF
4134 /* end confdefs.h. */
4135 #include <sys/types.h>
4136 #include <sys/stat.h>
4138 #if defined(S_ISBLK) && defined(S_IFDIR)
4139 # if S_ISBLK (S_IFDIR)
4144 #if defined(S_ISBLK) && defined(S_IFCHR)
4145 # if S_ISBLK (S_IFCHR)
4150 #if defined(S_ISLNK) && defined(S_IFREG)
4151 # if S_ISLNK (S_IFREG)
4156 #if defined(S_ISSOCK) && defined(S_IFREG)
4157 # if S_ISSOCK (S_IFREG)
4163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4164 $EGREP "You lose" >/dev
/null
2>&1; then
4165 ac_cv_header_stat_broken
=yes
4167 ac_cv_header_stat_broken
=no
4172 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
4173 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
4174 if test $ac_cv_header_stat_broken = yes; then
4176 cat >>confdefs.h
<<\_ACEOF
4177 #define STAT_MACROS_BROKEN 1
4182 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4183 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4184 if test "${ac_cv_header_stdc+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 cat >conftest.
$ac_ext <<_ACEOF
4190 cat confdefs.h
>>conftest.
$ac_ext
4191 cat >>conftest.
$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4206 rm -f conftest.
$ac_objext
4207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4208 (eval $ac_compile) 2>conftest.er1
4210 grep -v '^ *+' conftest.er1
>conftest.err
4212 cat conftest.err
>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try
='test -z "$ac_c_werror_flag"
4216 || test ! -s conftest.err'
4217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); }; } &&
4222 { ac_try
='test -s conftest.$ac_objext'
4223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; }; then
4228 ac_cv_header_stdc
=yes
4230 echo "$as_me: failed program was:" >&5
4231 sed 's/^/| /' conftest.
$ac_ext >&5
4233 ac_cv_header_stdc
=no
4235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4237 if test $ac_cv_header_stdc = yes; then
4238 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4239 cat >conftest.
$ac_ext <<_ACEOF
4242 cat confdefs.h
>>conftest.
$ac_ext
4243 cat >>conftest.
$ac_ext <<_ACEOF
4244 /* end confdefs.h. */
4248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4249 $EGREP "memchr" >/dev
/null
2>&1; then
4252 ac_cv_header_stdc
=no
4258 if test $ac_cv_header_stdc = yes; then
4259 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4260 cat >conftest.
$ac_ext <<_ACEOF
4263 cat confdefs.h
>>conftest.
$ac_ext
4264 cat >>conftest.
$ac_ext <<_ACEOF
4265 /* end confdefs.h. */
4269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4270 $EGREP "free" >/dev
/null
2>&1; then
4273 ac_cv_header_stdc
=no
4279 if test $ac_cv_header_stdc = yes; then
4280 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4281 if test "$cross_compiling" = yes; then
4284 cat >conftest.
$ac_ext <<_ACEOF
4287 cat confdefs.h
>>conftest.
$ac_ext
4288 cat >>conftest.
$ac_ext <<_ACEOF
4289 /* end confdefs.h. */
4291 #if ((' ' & 0x0FF) == 0x020)
4292 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4293 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4295 # define ISLOWER(c) \
4296 (('a' <= (c) && (c) <= 'i') \
4297 || ('j' <= (c) && (c) <= 'r') \
4298 || ('s' <= (c) && (c) <= 'z'))
4299 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4302 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4307 for (i = 0; i < 256; i++)
4308 if (XOR (islower (i), ISLOWER (i))
4309 || toupper (i) != TOUPPER (i))
4314 rm -f conftest
$ac_exeext
4315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4316 (eval $ac_link) 2>&5
4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; }; then
4327 echo "$as_me: program exited with status $ac_status" >&5
4328 echo "$as_me: failed program was:" >&5
4329 sed 's/^/| /' conftest.
$ac_ext >&5
4332 ac_cv_header_stdc
=no
4334 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4338 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4339 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4340 if test $ac_cv_header_stdc = yes; then
4342 cat >>confdefs.h
<<\_ACEOF
4343 #define STDC_HEADERS 1
4364 for ac_header
in fcntl.h io.h limits.h
pwd.h string.h
strings.h \
4365 termcap.h termio.h termios.h unistd.h \
4366 sys
/fcntl.h sys
/file.h sys
/stream.h sys
/time.h sys
/ttold.h sys
/wait.h
4368 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4370 echo "$as_me:$LINENO: checking for $ac_header" >&5
4371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4373 echo $ECHO_N "(cached) $ECHO_C" >&6
4375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4378 # Is the header compilable?
4379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4381 cat >conftest.
$ac_ext <<_ACEOF
4384 cat confdefs.h
>>conftest.
$ac_ext
4385 cat >>conftest.
$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4387 $ac_includes_default
4388 #include <$ac_header>
4390 rm -f conftest.
$ac_objext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4392 (eval $ac_compile) 2>conftest.er1
4394 grep -v '^ *+' conftest.er1
>conftest.err
4396 cat conftest.err
>&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); } &&
4399 { ac_try
='test -z "$ac_c_werror_flag"
4400 || test ! -s conftest.err'
4401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; } &&
4406 { ac_try
='test -s conftest.$ac_objext'
4407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); }; }; then
4412 ac_header_compiler
=yes
4414 echo "$as_me: failed program was:" >&5
4415 sed 's/^/| /' conftest.
$ac_ext >&5
4417 ac_header_compiler
=no
4419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4421 echo "${ECHO_T}$ac_header_compiler" >&6
4423 # Is the header present?
4424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4426 cat >conftest.
$ac_ext <<_ACEOF
4429 cat confdefs.h
>>conftest.
$ac_ext
4430 cat >>conftest.
$ac_ext <<_ACEOF
4431 /* end confdefs.h. */
4432 #include <$ac_header>
4434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4435 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4437 grep -v '^ *+' conftest.er1
>conftest.err
4439 cat conftest.err
>&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); } >/dev
/null
; then
4442 if test -s conftest.err
; then
4443 ac_cpp_err
=$ac_c_preproc_warn_flag
4444 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4451 if test -z "$ac_cpp_err"; then
4452 ac_header_preproc
=yes
4454 echo "$as_me: failed program was:" >&5
4455 sed 's/^/| /' conftest.
$ac_ext >&5
4457 ac_header_preproc
=no
4459 rm -f conftest.err conftest.
$ac_ext
4460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4461 echo "${ECHO_T}$ac_header_preproc" >&6
4463 # So? What about this header?
4464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4470 ac_header_preproc
=yes
4473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4487 ## -------------------------------------- ##
4488 ## Report this to the GNU Texinfo lists. ##
4489 ## -------------------------------------- ##
4492 sed "s/^/$as_me: WARNING: /" >&2
4495 echo "$as_me:$LINENO: checking for $ac_header" >&5
4496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4498 echo $ECHO_N "(cached) $ECHO_C" >&6
4500 eval "$as_ac_Header=\$ac_header_preproc"
4502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4507 cat >>confdefs.h
<<_ACEOF
4508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4516 # sys/ptem.h requires sys/stream.h for mblk_t on Solaris.
4518 for ac_header
in sys
/ptem.h
4520 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4521 echo "$as_me:$LINENO: checking for $ac_header" >&5
4522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 cat >conftest.
$ac_ext <<_ACEOF
4529 cat confdefs.h
>>conftest.
$ac_ext
4530 cat >>conftest.
$ac_ext <<_ACEOF
4531 /* end confdefs.h. */
4532 #if HAVE_SYS_STREAM_H
4533 #include <sys/stream.h>
4537 #include <$ac_header>
4539 rm -f conftest.
$ac_objext
4540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4541 (eval $ac_compile) 2>conftest.er1
4543 grep -v '^ *+' conftest.er1
>conftest.err
4545 cat conftest.err
>&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } &&
4548 { ac_try
='test -z "$ac_c_werror_flag"
4549 || test ! -s conftest.err'
4550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }; } &&
4555 { ac_try
='test -s conftest.$ac_objext'
4556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); }; }; then
4561 eval "$as_ac_Header=yes"
4563 echo "$as_me: failed program was:" >&5
4564 sed 's/^/| /' conftest.
$ac_ext >&5
4566 eval "$as_ac_Header=no"
4568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4573 cat >>confdefs.h
<<_ACEOF
4574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4582 echo "$as_me:$LINENO: checking POSIX termios" >&5
4583 echo $ECHO_N "checking POSIX termios... $ECHO_C" >&6
4584 if test "${ac_cv_sys_posix_termios+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 cat >conftest.
$ac_ext <<_ACEOF
4590 cat confdefs.h
>>conftest.
$ac_ext
4591 cat >>conftest.
$ac_ext <<_ACEOF
4592 /* end confdefs.h. */
4593 #include <sys/types.h>
4595 #include <termios.h>
4600 /* SunOS 4.0.3 has termios.h but not the library calls. */
4606 rm -f conftest.
$ac_objext conftest
$ac_exeext
4607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4608 (eval $ac_link) 2>conftest.er1
4610 grep -v '^ *+' conftest.er1
>conftest.err
4612 cat conftest.err
>&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); } &&
4615 { ac_try
='test -z "$ac_c_werror_flag"
4616 || test ! -s conftest.err'
4617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 (exit $ac_status); }; } &&
4622 { ac_try
='test -s conftest$ac_exeext'
4623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); }; }; then
4628 ac_cv_sys_posix_termios
=yes
4630 echo "$as_me: failed program was:" >&5
4631 sed 's/^/| /' conftest.
$ac_ext >&5
4633 ac_cv_sys_posix_termios
=no
4635 rm -f conftest.err conftest.
$ac_objext \
4636 conftest
$ac_exeext conftest.
$ac_ext
4638 echo "$as_me:$LINENO: result: $ac_cv_sys_posix_termios" >&5
4639 echo "${ECHO_T}$ac_cv_sys_posix_termios" >&6
4641 echo "$as_me:$LINENO: checking whether termios.h defines TIOCGWINSZ" >&5
4642 echo $ECHO_N "checking whether termios.h defines TIOCGWINSZ... $ECHO_C" >&6
4643 if test "${ac_cv_sys_tiocgwinsz_in_termios_h+set}" = set; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 cat >conftest.
$ac_ext <<_ACEOF
4649 cat confdefs.h
>>conftest.
$ac_ext
4650 cat >>conftest.
$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4652 #include <sys/types.h>
4653 #include <termios.h>
4659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4660 $EGREP "yes" >/dev
/null
2>&1; then
4661 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
4663 ac_cv_sys_tiocgwinsz_in_termios_h
=no
4668 echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
4669 echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_termios_h" >&6
4671 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
4672 echo "$as_me:$LINENO: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
4673 echo $ECHO_N "checking whether sys/ioctl.h defines TIOCGWINSZ... $ECHO_C" >&6
4674 if test "${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4677 cat >conftest.
$ac_ext <<_ACEOF
4680 cat confdefs.h
>>conftest.
$ac_ext
4681 cat >>conftest.
$ac_ext <<_ACEOF
4682 /* end confdefs.h. */
4683 #include <sys/types.h>
4684 #include <sys/ioctl.h>
4690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4691 $EGREP "yes" >/dev
/null
2>&1; then
4692 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
4694 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
4699 echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
4700 echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6
4702 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
4704 cat >>confdefs.h
<<\_ACEOF
4705 #define GWINSZ_IN_SYS_IOCTL 1
4712 # Checks for typedefs, structures, and compiler characteristics.
4713 echo "$as_me:$LINENO: checking for off_t" >&5
4714 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4715 if test "${ac_cv_type_off_t+set}" = set; then
4716 echo $ECHO_N "(cached) $ECHO_C" >&6
4718 cat >conftest.
$ac_ext <<_ACEOF
4721 cat confdefs.h
>>conftest.
$ac_ext
4722 cat >>conftest.
$ac_ext <<_ACEOF
4723 /* end confdefs.h. */
4724 $ac_includes_default
4736 rm -f conftest.
$ac_objext
4737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4738 (eval $ac_compile) 2>conftest.er1
4740 grep -v '^ *+' conftest.er1
>conftest.err
4742 cat conftest.err
>&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } &&
4745 { ac_try
='test -z "$ac_c_werror_flag"
4746 || test ! -s conftest.err'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; } &&
4752 { ac_try
='test -s conftest.$ac_objext'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; }; then
4758 ac_cv_type_off_t
=yes
4760 echo "$as_me: failed program was:" >&5
4761 sed 's/^/| /' conftest.
$ac_ext >&5
4765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4767 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4768 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4769 if test $ac_cv_type_off_t = yes; then
4773 cat >>confdefs.h
<<_ACEOF
4779 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4780 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4781 if test "${ac_cv_type_signal+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 cat >conftest.
$ac_ext <<_ACEOF
4787 cat confdefs.h
>>conftest.
$ac_ext
4788 cat >>conftest.
$ac_ext <<_ACEOF
4789 /* end confdefs.h. */
4790 #include <sys/types.h>
4796 extern "C" void (*signal (int, void (*)(int)))(int);
4798 void (*signal ()) ();
4809 rm -f conftest.
$ac_objext
4810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4811 (eval $ac_compile) 2>conftest.er1
4813 grep -v '^ *+' conftest.er1
>conftest.err
4815 cat conftest.err
>&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); } &&
4818 { ac_try
='test -z "$ac_c_werror_flag"
4819 || test ! -s conftest.err'
4820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); }; } &&
4825 { ac_try
='test -s conftest.$ac_objext'
4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; }; then
4831 ac_cv_type_signal
=void
4833 echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.
$ac_ext >&5
4836 ac_cv_type_signal
=int
4838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4840 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4841 echo "${ECHO_T}$ac_cv_type_signal" >&6
4843 cat >>confdefs.h
<<_ACEOF
4844 #define RETSIGTYPE $ac_cv_type_signal
4848 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4849 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4850 if test "${ac_cv_c_const+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 cat >conftest.
$ac_ext <<_ACEOF
4856 cat confdefs.h
>>conftest.
$ac_ext
4857 cat >>conftest.
$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4863 /* FIXME: Include the comments suggested by Paul. */
4865 /* Ultrix mips cc rejects this. */
4866 typedef int charset[2];
4868 /* SunOS 4.1.1 cc rejects this. */
4869 char const *const *ccp;
4871 /* NEC SVR4.0.2 mips cc rejects this. */
4872 struct point {int x, y;};
4873 static struct point const zero = {0,0};
4874 /* AIX XL C 1.02.0.0 rejects this.
4875 It does not let you subtract one const X* pointer from another in
4876 an arm of an if-expression whose if-part is not a constant
4878 const char *g = "string";
4879 ccp = &g + (g ? g-g : 0);
4880 /* HPUX 7.0 cc rejects these. */
4883 ccp = (char const *const *) p;
4884 { /* SCO 3.2v4 cc rejects this. */
4886 char const *s = 0 ? (char *) 0 : (char const *) 0;
4890 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4892 const int *foo = &x[0];
4895 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4896 typedef const int *iptr;
4900 { /* AIX XL C 1.02.0.0 rejects this saying
4901 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4902 struct s { int j; const int *ap[3]; };
4903 struct s *b; b->j = 5;
4905 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4914 rm -f conftest.
$ac_objext
4915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4916 (eval $ac_compile) 2>conftest.er1
4918 grep -v '^ *+' conftest.er1
>conftest.err
4920 cat conftest.err
>&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } &&
4923 { ac_try
='test -z "$ac_c_werror_flag"
4924 || test ! -s conftest.err'
4925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); }; } &&
4930 { ac_try
='test -s conftest.$ac_objext'
4931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); }; }; then
4938 echo "$as_me: failed program was:" >&5
4939 sed 's/^/| /' conftest.
$ac_ext >&5
4943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4945 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4946 echo "${ECHO_T}$ac_cv_c_const" >&6
4947 if test $ac_cv_c_const = no
; then
4949 cat >>confdefs.h
<<\_ACEOF
4955 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4956 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4957 if test "${ac_cv_struct_tm+set}" = set; then
4958 echo $ECHO_N "(cached) $ECHO_C" >&6
4960 cat >conftest.
$ac_ext <<_ACEOF
4963 cat confdefs.h
>>conftest.
$ac_ext
4964 cat >>conftest.
$ac_ext <<_ACEOF
4965 /* end confdefs.h. */
4966 #include <sys/types.h>
4972 struct tm *tp; tp->tm_sec;
4977 rm -f conftest.
$ac_objext
4978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4979 (eval $ac_compile) 2>conftest.er1
4981 grep -v '^ *+' conftest.er1
>conftest.err
4983 cat conftest.err
>&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } &&
4986 { ac_try
='test -z "$ac_c_werror_flag"
4987 || test ! -s conftest.err'
4988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); }; } &&
4993 { ac_try
='test -s conftest.$ac_objext'
4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); }; }; then
4999 ac_cv_struct_tm
=time.h
5001 echo "$as_me: failed program was:" >&5
5002 sed 's/^/| /' conftest.
$ac_ext >&5
5004 ac_cv_struct_tm
=sys
/time.h
5006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5008 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5009 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5010 if test $ac_cv_struct_tm = sys
/time.h
; then
5012 cat >>confdefs.h
<<\_ACEOF
5013 #define TM_IN_SYS_TIME 1
5019 # Checks for function declarations.
5020 echo "$as_me:$LINENO: checking whether memchr is declared" >&5
5021 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
5022 if test "${ac_cv_have_decl_memchr+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 cat >conftest.
$ac_ext <<_ACEOF
5028 cat confdefs.h
>>conftest.
$ac_ext
5029 cat >>conftest.
$ac_ext <<_ACEOF
5030 /* end confdefs.h. */
5031 $ac_includes_default
5036 char *p = (char *) memchr;
5043 rm -f conftest.
$ac_objext
5044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5045 (eval $ac_compile) 2>conftest.er1
5047 grep -v '^ *+' conftest.er1
>conftest.err
5049 cat conftest.err
>&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); } &&
5052 { ac_try
='test -z "$ac_c_werror_flag"
5053 || test ! -s conftest.err'
5054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); }; } &&
5059 { ac_try
='test -s conftest.$ac_objext'
5060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); }; }; then
5065 ac_cv_have_decl_memchr
=yes
5067 echo "$as_me: failed program was:" >&5
5068 sed 's/^/| /' conftest.
$ac_ext >&5
5070 ac_cv_have_decl_memchr
=no
5072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5074 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memchr" >&5
5075 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
5076 if test $ac_cv_have_decl_memchr = yes; then
5078 cat >>confdefs.h
<<_ACEOF
5079 #define HAVE_DECL_MEMCHR 1
5084 cat >>confdefs.h
<<_ACEOF
5085 #define HAVE_DECL_MEMCHR 0
5090 echo "$as_me:$LINENO: checking whether strcoll is declared" >&5
5091 echo $ECHO_N "checking whether strcoll is declared... $ECHO_C" >&6
5092 if test "${ac_cv_have_decl_strcoll+set}" = set; then
5093 echo $ECHO_N "(cached) $ECHO_C" >&6
5095 cat >conftest.
$ac_ext <<_ACEOF
5098 cat confdefs.h
>>conftest.
$ac_ext
5099 cat >>conftest.
$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5101 $ac_includes_default
5106 char *p = (char *) strcoll;
5113 rm -f conftest.
$ac_objext
5114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5115 (eval $ac_compile) 2>conftest.er1
5117 grep -v '^ *+' conftest.er1
>conftest.err
5119 cat conftest.err
>&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); } &&
5122 { ac_try
='test -z "$ac_c_werror_flag"
5123 || test ! -s conftest.err'
5124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); }; } &&
5129 { ac_try
='test -s conftest.$ac_objext'
5130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); }; }; then
5135 ac_cv_have_decl_strcoll
=yes
5137 echo "$as_me: failed program was:" >&5
5138 sed 's/^/| /' conftest.
$ac_ext >&5
5140 ac_cv_have_decl_strcoll
=no
5142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5144 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strcoll" >&5
5145 echo "${ECHO_T}$ac_cv_have_decl_strcoll" >&6
5146 if test $ac_cv_have_decl_strcoll = yes; then
5148 cat >>confdefs.h
<<_ACEOF
5149 #define HAVE_DECL_STRCOLL 1
5154 cat >>confdefs.h
<<_ACEOF
5155 #define HAVE_DECL_STRCOLL 0
5160 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
5161 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
5162 if test "${ac_cv_have_decl_strerror+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 cat >conftest.
$ac_ext <<_ACEOF
5168 cat confdefs.h
>>conftest.
$ac_ext
5169 cat >>conftest.
$ac_ext <<_ACEOF
5170 /* end confdefs.h. */
5171 $ac_includes_default
5176 char *p = (char *) strerror;
5183 rm -f conftest.
$ac_objext
5184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5185 (eval $ac_compile) 2>conftest.er1
5187 grep -v '^ *+' conftest.er1
>conftest.err
5189 cat conftest.err
>&5
5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); } &&
5192 { ac_try
='test -z "$ac_c_werror_flag"
5193 || test ! -s conftest.err'
5194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); }; } &&
5199 { ac_try
='test -s conftest.$ac_objext'
5200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); }; }; then
5205 ac_cv_have_decl_strerror
=yes
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.
$ac_ext >&5
5210 ac_cv_have_decl_strerror
=no
5212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5214 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
5215 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
5216 if test $ac_cv_have_decl_strerror = yes; then
5218 cat >>confdefs.h
<<_ACEOF
5219 #define HAVE_DECL_STRERROR 1
5224 cat >>confdefs.h
<<_ACEOF
5225 #define HAVE_DECL_STRERROR 0
5233 # Checks for library functions.
5234 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5235 # for constant arguments. Useless!
5236 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5237 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5238 if test "${ac_cv_working_alloca_h+set}" = set; then
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5241 cat >conftest.
$ac_ext <<_ACEOF
5244 cat confdefs.h
>>conftest.
$ac_ext
5245 cat >>conftest.
$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5251 char *p = (char *) alloca (2 * sizeof (int));
5256 rm -f conftest.
$ac_objext conftest
$ac_exeext
5257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5258 (eval $ac_link) 2>conftest.er1
5260 grep -v '^ *+' conftest.er1
>conftest.err
5262 cat conftest.err
>&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } &&
5265 { ac_try
='test -z "$ac_c_werror_flag"
5266 || test ! -s conftest.err'
5267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }; } &&
5272 { ac_try
='test -s conftest$ac_exeext'
5273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); }; }; then
5278 ac_cv_working_alloca_h
=yes
5280 echo "$as_me: failed program was:" >&5
5281 sed 's/^/| /' conftest.
$ac_ext >&5
5283 ac_cv_working_alloca_h
=no
5285 rm -f conftest.err conftest.
$ac_objext \
5286 conftest
$ac_exeext conftest.
$ac_ext
5288 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5289 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5290 if test $ac_cv_working_alloca_h = yes; then
5292 cat >>confdefs.h
<<\_ACEOF
5293 #define HAVE_ALLOCA_H 1
5298 echo "$as_me:$LINENO: checking for alloca" >&5
5299 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5300 if test "${ac_cv_func_alloca_works+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 cat >conftest.
$ac_ext <<_ACEOF
5306 cat confdefs.h
>>conftest.
$ac_ext
5307 cat >>conftest.
$ac_ext <<_ACEOF
5308 /* end confdefs.h. */
5310 # define alloca __builtin_alloca
5313 # include <malloc.h>
5314 # define alloca _alloca
5317 # include <alloca.h>
5322 # ifndef alloca /* predefined by HP cc +Olibcalls */
5333 char *p = (char *) alloca (1);
5338 rm -f conftest.
$ac_objext conftest
$ac_exeext
5339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5340 (eval $ac_link) 2>conftest.er1
5342 grep -v '^ *+' conftest.er1
>conftest.err
5344 cat conftest.err
>&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); } &&
5347 { ac_try
='test -z "$ac_c_werror_flag"
5348 || test ! -s conftest.err'
5349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); }; } &&
5354 { ac_try
='test -s conftest$ac_exeext'
5355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); }; }; then
5360 ac_cv_func_alloca_works
=yes
5362 echo "$as_me: failed program was:" >&5
5363 sed 's/^/| /' conftest.
$ac_ext >&5
5365 ac_cv_func_alloca_works
=no
5367 rm -f conftest.err conftest.
$ac_objext \
5368 conftest
$ac_exeext conftest.
$ac_ext
5370 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5371 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5373 if test $ac_cv_func_alloca_works = yes; then
5375 cat >>confdefs.h
<<\_ACEOF
5376 #define HAVE_ALLOCA 1
5380 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5381 # that cause trouble. Some versions do not even contain alloca or
5382 # contain a buggy version. If you still want to use their alloca,
5383 # use ar to extract alloca.o from them instead of compiling alloca.c.
5385 ALLOCA
=alloca.
$ac_objext
5387 cat >>confdefs.h
<<\_ACEOF
5392 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5393 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5394 if test "${ac_cv_os_cray+set}" = set; then
5395 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 cat >conftest.
$ac_ext <<_ACEOF
5400 cat confdefs.h
>>conftest.
$ac_ext
5401 cat >>conftest.
$ac_ext <<_ACEOF
5402 /* end confdefs.h. */
5403 #if defined(CRAY) && ! defined(CRAY2)
5410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5411 $EGREP "webecray" >/dev
/null
2>&1; then
5419 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5420 echo "${ECHO_T}$ac_cv_os_cray" >&6
5421 if test $ac_cv_os_cray = yes; then
5422 for ac_func
in _getb67 GETB67 getb67
; do
5423 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5424 echo "$as_me:$LINENO: checking for $ac_func" >&5
5425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5426 if eval "test \"\${$as_ac_var+set}\" = set"; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 cat >conftest.
$ac_ext <<_ACEOF
5432 cat confdefs.h
>>conftest.
$ac_ext
5433 cat >>conftest.
$ac_ext <<_ACEOF
5434 /* end confdefs.h. */
5435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5437 #define $ac_func innocuous_$ac_func
5439 /* System header to define __stub macros and hopefully few prototypes,
5440 which can conflict with char $ac_func (); below.
5441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5442 <limits.h> exists even on freestanding compilers. */
5445 # include <limits.h>
5447 # include <assert.h>
5452 /* Override any gcc2 internal prototype to avoid an error. */
5457 /* We use char because int might match the return type of a gcc2
5458 builtin and then its argument prototype would still apply. */
5460 /* The GNU C library defines this for functions which it implements
5461 to always fail with ENOSYS. Some functions are actually named
5462 something starting with __ and the normal name is an alias. */
5463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5466 char (*f) () = $ac_func;
5475 return f != $ac_func;
5480 rm -f conftest.
$ac_objext conftest
$ac_exeext
5481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5482 (eval $ac_link) 2>conftest.er1
5484 grep -v '^ *+' conftest.er1
>conftest.err
5486 cat conftest.err
>&5
5487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488 (exit $ac_status); } &&
5489 { ac_try
='test -z "$ac_c_werror_flag"
5490 || test ! -s conftest.err'
5491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); }; } &&
5496 { ac_try
='test -s conftest$ac_exeext'
5497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); }; }; then
5502 eval "$as_ac_var=yes"
5504 echo "$as_me: failed program was:" >&5
5505 sed 's/^/| /' conftest.
$ac_ext >&5
5507 eval "$as_ac_var=no"
5509 rm -f conftest.err conftest.
$ac_objext \
5510 conftest
$ac_exeext conftest.
$ac_ext
5512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5514 if test `eval echo '${'$as_ac_var'}'` = yes; then
5516 cat >>confdefs.h
<<_ACEOF
5517 #define CRAY_STACKSEG_END $ac_func
5526 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5527 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5528 if test "${ac_cv_c_stack_direction+set}" = set; then
5529 echo $ECHO_N "(cached) $ECHO_C" >&6
5531 if test "$cross_compiling" = yes; then
5532 ac_cv_c_stack_direction
=0
5534 cat >conftest.
$ac_ext <<_ACEOF
5537 cat confdefs.h
>>conftest.
$ac_ext
5538 cat >>conftest.
$ac_ext <<_ACEOF
5539 /* end confdefs.h. */
5541 find_stack_direction ()
5543 static char *addr = 0;
5548 return find_stack_direction ();
5551 return (&dummy > addr) ? 1 : -1;
5557 exit (find_stack_direction () < 0);
5560 rm -f conftest
$ac_exeext
5561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5562 (eval $ac_link) 2>&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; }; then
5571 ac_cv_c_stack_direction
=1
5573 echo "$as_me: program exited with status $ac_status" >&5
5574 echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.
$ac_ext >&5
5578 ac_cv_c_stack_direction
=-1
5580 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5583 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5584 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5586 cat >>confdefs.h
<<_ACEOF
5587 #define STACK_DIRECTION $ac_cv_c_stack_direction
5593 echo "$as_me:$LINENO: checking for working strcoll" >&5
5594 echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6
5595 if test "${ac_cv_func_strcoll_works+set}" = set; then
5596 echo $ECHO_N "(cached) $ECHO_C" >&6
5598 if test "$cross_compiling" = yes; then
5599 ac_cv_func_strcoll_works
=no
5601 cat >conftest.
$ac_ext <<_ACEOF
5604 cat confdefs.h
>>conftest.
$ac_ext
5605 cat >>conftest.
$ac_ext <<_ACEOF
5606 /* end confdefs.h. */
5607 $ac_includes_default
5611 exit (strcoll ("abc", "def") >= 0 ||
5612 strcoll ("ABC", "DEF") >= 0 ||
5613 strcoll ("123", "456") >= 0)
5618 rm -f conftest
$ac_exeext
5619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5620 (eval $ac_link) 2>&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); }; }; then
5629 ac_cv_func_strcoll_works
=yes
5631 echo "$as_me: program exited with status $ac_status" >&5
5632 echo "$as_me: failed program was:" >&5
5633 sed 's/^/| /' conftest.
$ac_ext >&5
5636 ac_cv_func_strcoll_works
=no
5638 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5641 echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
5642 echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6
5643 if test $ac_cv_func_strcoll_works = yes; then
5645 cat >>confdefs.h
<<\_ACEOF
5646 #define HAVE_STRCOLL 1
5652 for ac_func
in vprintf
5654 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5655 echo "$as_me:$LINENO: checking for $ac_func" >&5
5656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5657 if eval "test \"\${$as_ac_var+set}\" = set"; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 cat >conftest.
$ac_ext <<_ACEOF
5663 cat confdefs.h
>>conftest.
$ac_ext
5664 cat >>conftest.
$ac_ext <<_ACEOF
5665 /* end confdefs.h. */
5666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5668 #define $ac_func innocuous_$ac_func
5670 /* System header to define __stub macros and hopefully few prototypes,
5671 which can conflict with char $ac_func (); below.
5672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5673 <limits.h> exists even on freestanding compilers. */
5676 # include <limits.h>
5678 # include <assert.h>
5683 /* Override any gcc2 internal prototype to avoid an error. */
5688 /* We use char because int might match the return type of a gcc2
5689 builtin and then its argument prototype would still apply. */
5691 /* The GNU C library defines this for functions which it implements
5692 to always fail with ENOSYS. Some functions are actually named
5693 something starting with __ and the normal name is an alias. */
5694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5697 char (*f) () = $ac_func;
5706 return f != $ac_func;
5711 rm -f conftest.
$ac_objext conftest
$ac_exeext
5712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5713 (eval $ac_link) 2>conftest.er1
5715 grep -v '^ *+' conftest.er1
>conftest.err
5717 cat conftest.err
>&5
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); } &&
5720 { ac_try
='test -z "$ac_c_werror_flag"
5721 || test ! -s conftest.err'
5722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; } &&
5727 { ac_try
='test -s conftest$ac_exeext'
5728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); }; }; then
5733 eval "$as_ac_var=yes"
5735 echo "$as_me: failed program was:" >&5
5736 sed 's/^/| /' conftest.
$ac_ext >&5
5738 eval "$as_ac_var=no"
5740 rm -f conftest.err conftest.
$ac_objext \
5741 conftest
$ac_exeext conftest.
$ac_ext
5743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5745 if test `eval echo '${'$as_ac_var'}'` = yes; then
5746 cat >>confdefs.h
<<_ACEOF
5747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5750 echo "$as_me:$LINENO: checking for _doprnt" >&5
5751 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
5752 if test "${ac_cv_func__doprnt+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 cat >conftest.
$ac_ext <<_ACEOF
5758 cat confdefs.h
>>conftest.
$ac_ext
5759 cat >>conftest.
$ac_ext <<_ACEOF
5760 /* end confdefs.h. */
5761 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5763 #define _doprnt innocuous__doprnt
5765 /* System header to define __stub macros and hopefully few prototypes,
5766 which can conflict with char _doprnt (); below.
5767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5768 <limits.h> exists even on freestanding compilers. */
5771 # include <limits.h>
5773 # include <assert.h>
5778 /* Override any gcc2 internal prototype to avoid an error. */
5783 /* We use char because int might match the return type of a gcc2
5784 builtin and then its argument prototype would still apply. */
5786 /* The GNU C library defines this for functions which it implements
5787 to always fail with ENOSYS. Some functions are actually named
5788 something starting with __ and the normal name is an alias. */
5789 #if defined (__stub__doprnt) || defined (__stub____doprnt)
5792 char (*f) () = _doprnt;
5801 return f != _doprnt;
5806 rm -f conftest.
$ac_objext conftest
$ac_exeext
5807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5808 (eval $ac_link) 2>conftest.er1
5810 grep -v '^ *+' conftest.er1
>conftest.err
5812 cat conftest.err
>&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); } &&
5815 { ac_try
='test -z "$ac_c_werror_flag"
5816 || test ! -s conftest.err'
5817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 (exit $ac_status); }; } &&
5822 { ac_try
='test -s conftest$ac_exeext'
5823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); }; }; then
5828 ac_cv_func__doprnt
=yes
5830 echo "$as_me: failed program was:" >&5
5831 sed 's/^/| /' conftest.
$ac_ext >&5
5833 ac_cv_func__doprnt
=no
5835 rm -f conftest.err conftest.
$ac_objext \
5836 conftest
$ac_exeext conftest.
$ac_ext
5838 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5839 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
5840 if test $ac_cv_func__doprnt = yes; then
5842 cat >>confdefs.h
<<\_ACEOF
5843 #define HAVE_DOPRNT 1
5852 # in theory only pre-sysvr3 systems needed this and it's not likely
5853 # that anyone compiling new texinfo still has such a thing? we'll see.
5854 # AC_FUNC_SETVBUF_REVERSED
5863 for ac_func
in bzero getcwd memset setvbuf sigaction sigprocmask \
5866 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5867 echo "$as_me:$LINENO: checking for $ac_func" >&5
5868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5869 if eval "test \"\${$as_ac_var+set}\" = set"; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6
5872 cat >conftest.
$ac_ext <<_ACEOF
5875 cat confdefs.h
>>conftest.
$ac_ext
5876 cat >>conftest.
$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5880 #define $ac_func innocuous_$ac_func
5882 /* System header to define __stub macros and hopefully few prototypes,
5883 which can conflict with char $ac_func (); below.
5884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5885 <limits.h> exists even on freestanding compilers. */
5888 # include <limits.h>
5890 # include <assert.h>
5895 /* Override any gcc2 internal prototype to avoid an error. */
5900 /* We use char because int might match the return type of a gcc2
5901 builtin and then its argument prototype would still apply. */
5903 /* The GNU C library defines this for functions which it implements
5904 to always fail with ENOSYS. Some functions are actually named
5905 something starting with __ and the normal name is an alias. */
5906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5909 char (*f) () = $ac_func;
5918 return f != $ac_func;
5923 rm -f conftest.
$ac_objext conftest
$ac_exeext
5924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5925 (eval $ac_link) 2>conftest.er1
5927 grep -v '^ *+' conftest.er1
>conftest.err
5929 cat conftest.err
>&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); } &&
5932 { ac_try
='test -z "$ac_c_werror_flag"
5933 || test ! -s conftest.err'
5934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); }; } &&
5939 { ac_try
='test -s conftest$ac_exeext'
5940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); }; }; then
5945 eval "$as_ac_var=yes"
5947 echo "$as_me: failed program was:" >&5
5948 sed 's/^/| /' conftest.
$ac_ext >&5
5950 eval "$as_ac_var=no"
5952 rm -f conftest.err conftest.
$ac_objext \
5953 conftest
$ac_exeext conftest.
$ac_ext
5955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5957 if test `eval echo '${'$as_ac_var'}'` = yes; then
5958 cat >>confdefs.h
<<_ACEOF
5959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5969 for ac_func
in memcpy memmove strdup strerror
5971 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5972 echo "$as_me:$LINENO: checking for $ac_func" >&5
5973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5974 if eval "test \"\${$as_ac_var+set}\" = set"; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 cat >conftest.
$ac_ext <<_ACEOF
5980 cat confdefs.h
>>conftest.
$ac_ext
5981 cat >>conftest.
$ac_ext <<_ACEOF
5982 /* end confdefs.h. */
5983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5985 #define $ac_func innocuous_$ac_func
5987 /* System header to define __stub macros and hopefully few prototypes,
5988 which can conflict with char $ac_func (); below.
5989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5990 <limits.h> exists even on freestanding compilers. */
5993 # include <limits.h>
5995 # include <assert.h>
6000 /* Override any gcc2 internal prototype to avoid an error. */
6005 /* We use char because int might match the return type of a gcc2
6006 builtin and then its argument prototype would still apply. */
6008 /* The GNU C library defines this for functions which it implements
6009 to always fail with ENOSYS. Some functions are actually named
6010 something starting with __ and the normal name is an alias. */
6011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6014 char (*f) () = $ac_func;
6023 return f != $ac_func;
6028 rm -f conftest.
$ac_objext conftest
$ac_exeext
6029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6030 (eval $ac_link) 2>conftest.er1
6032 grep -v '^ *+' conftest.er1
>conftest.err
6034 cat conftest.err
>&5
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); } &&
6037 { ac_try
='test -z "$ac_c_werror_flag"
6038 || test ! -s conftest.err'
6039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); }; } &&
6044 { ac_try
='test -s conftest$ac_exeext'
6045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049 (exit $ac_status); }; }; then
6050 eval "$as_ac_var=yes"
6052 echo "$as_me: failed program was:" >&5
6053 sed 's/^/| /' conftest.
$ac_ext >&5
6055 eval "$as_ac_var=no"
6057 rm -f conftest.err conftest.
$ac_objext \
6058 conftest
$ac_exeext conftest.
$ac_ext
6060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6062 if test `eval echo '${'$as_ac_var'}'` = yes; then
6063 cat >>confdefs.h
<<_ACEOF
6064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6069 "$ac_func.$ac_objext" | \
6070 *" $ac_func.$ac_objext" | \
6071 "$ac_func.$ac_objext "* | \
6072 *" $ac_func.$ac_objext "* ) ;;
6073 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
6081 # strcasecmp and strncasecmp, gnulib-style.
6085 for ac_func
in strcasecmp
6087 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6088 echo "$as_me:$LINENO: checking for $ac_func" >&5
6089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6090 if eval "test \"\${$as_ac_var+set}\" = set"; then
6091 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 cat >conftest.
$ac_ext <<_ACEOF
6096 cat confdefs.h
>>conftest.
$ac_ext
6097 cat >>conftest.
$ac_ext <<_ACEOF
6098 /* end confdefs.h. */
6099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6101 #define $ac_func innocuous_$ac_func
6103 /* System header to define __stub macros and hopefully few prototypes,
6104 which can conflict with char $ac_func (); below.
6105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6106 <limits.h> exists even on freestanding compilers. */
6109 # include <limits.h>
6111 # include <assert.h>
6116 /* Override any gcc2 internal prototype to avoid an error. */
6121 /* We use char because int might match the return type of a gcc2
6122 builtin and then its argument prototype would still apply. */
6124 /* The GNU C library defines this for functions which it implements
6125 to always fail with ENOSYS. Some functions are actually named
6126 something starting with __ and the normal name is an alias. */
6127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6130 char (*f) () = $ac_func;
6139 return f != $ac_func;
6144 rm -f conftest.
$ac_objext conftest
$ac_exeext
6145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6146 (eval $ac_link) 2>conftest.er1
6148 grep -v '^ *+' conftest.er1
>conftest.err
6150 cat conftest.err
>&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } &&
6153 { ac_try
='test -z "$ac_c_werror_flag"
6154 || test ! -s conftest.err'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; } &&
6160 { ac_try
='test -s conftest$ac_exeext'
6161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); }; }; then
6166 eval "$as_ac_var=yes"
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.
$ac_ext >&5
6171 eval "$as_ac_var=no"
6173 rm -f conftest.err conftest.
$ac_objext \
6174 conftest
$ac_exeext conftest.
$ac_ext
6176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6178 if test `eval echo '${'$as_ac_var'}'` = yes; then
6179 cat >>confdefs.h
<<_ACEOF
6180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6185 "$ac_func.$ac_objext" | \
6186 *" $ac_func.$ac_objext" | \
6187 "$ac_func.$ac_objext "* | \
6188 *" $ac_func.$ac_objext "* ) ;;
6189 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
6196 if test $ac_cv_func_strcasecmp = no
; then
6204 for ac_func
in strncasecmp
6206 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6207 echo "$as_me:$LINENO: checking for $ac_func" >&5
6208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6209 if eval "test \"\${$as_ac_var+set}\" = set"; then
6210 echo $ECHO_N "(cached) $ECHO_C" >&6
6212 cat >conftest.
$ac_ext <<_ACEOF
6215 cat confdefs.h
>>conftest.
$ac_ext
6216 cat >>conftest.
$ac_ext <<_ACEOF
6217 /* end confdefs.h. */
6218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6220 #define $ac_func innocuous_$ac_func
6222 /* System header to define __stub macros and hopefully few prototypes,
6223 which can conflict with char $ac_func (); below.
6224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6225 <limits.h> exists even on freestanding compilers. */
6228 # include <limits.h>
6230 # include <assert.h>
6235 /* Override any gcc2 internal prototype to avoid an error. */
6240 /* We use char because int might match the return type of a gcc2
6241 builtin and then its argument prototype would still apply. */
6243 /* The GNU C library defines this for functions which it implements
6244 to always fail with ENOSYS. Some functions are actually named
6245 something starting with __ and the normal name is an alias. */
6246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6249 char (*f) () = $ac_func;
6258 return f != $ac_func;
6263 rm -f conftest.
$ac_objext conftest
$ac_exeext
6264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6265 (eval $ac_link) 2>conftest.er1
6267 grep -v '^ *+' conftest.er1
>conftest.err
6269 cat conftest.err
>&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); } &&
6272 { ac_try
='test -z "$ac_c_werror_flag"
6273 || test ! -s conftest.err'
6274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); }; } &&
6279 { ac_try
='test -s conftest$ac_exeext'
6280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); }; }; then
6285 eval "$as_ac_var=yes"
6287 echo "$as_me: failed program was:" >&5
6288 sed 's/^/| /' conftest.
$ac_ext >&5
6290 eval "$as_ac_var=no"
6292 rm -f conftest.err conftest.
$ac_objext \
6293 conftest
$ac_exeext conftest.
$ac_ext
6295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6297 if test `eval echo '${'$as_ac_var'}'` = yes; then
6298 cat >>confdefs.h
<<_ACEOF
6299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6304 "$ac_func.$ac_objext" | \
6305 *" $ac_func.$ac_objext" | \
6306 "$ac_func.$ac_objext "* | \
6307 *" $ac_func.$ac_objext "* ) ;;
6308 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
6315 if test $ac_cv_func_strncasecmp = no
; then
6323 # We want to recognize djgpp to avoid the useless warning about no
6325 # Make sure we can run config.sub.
6326 $ac_config_sub sun4
>/dev
/null
2>&1 ||
6327 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
6328 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6329 { (exit 1); exit 1; }; }
6331 echo "$as_me:$LINENO: checking build system type" >&5
6332 echo $ECHO_N "checking build system type... $ECHO_C" >&6
6333 if test "${ac_cv_build+set}" = set; then
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 ac_cv_build_alias
=$build_alias
6337 test -z "$ac_cv_build_alias" &&
6338 ac_cv_build_alias
=`$ac_config_guess`
6339 test -z "$ac_cv_build_alias" &&
6340 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6341 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6342 { (exit 1); exit 1; }; }
6343 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
6344 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
6345 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
6346 { (exit 1); exit 1; }; }
6349 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6350 echo "${ECHO_T}$ac_cv_build" >&6
6352 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6353 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6354 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6358 # We need to run some of our own binaries, most notably makedoc, but as
6359 # long as we have this process, we also use our own makeinfo and
6362 # This means that if we are cross compiling, we have to configure the
6363 # package twice: once with the native compiler (this is done in a
6364 # subdirectory $native_tools), and once with the cross compiler.
6365 # The former is invoked automatically here, with --host=$build.
6366 # $native_tools is also added to SUBDIRS in the main Makefile.am,
6367 # so that make compiles the native tools first.
6369 if test "$cross_compiling" = no
; then
6373 test -d "$native_tools" || mkdir
"$native_tools"
6374 confdir
=`(cd "$srcdir";pwd)`
6375 # Make sure the secondary configure won't fail with
6376 # "error: source directory already configured".
6378 { echo "$as_me:$LINENO: Doing configure of native tools (${build})." >&5
6379 echo "$as_me: Doing configure of native tools (${build})." >&6;}
6380 cd "$native_tools" ||
exit 1
6381 # Run secondary configure in alternate environment or
6382 # it gets the wrong CC etc. env -i gives this build host configure
6383 # a clean environment.
6384 env
-i CC
="${BUILD_CC}" AR="${BUILD_AR}" RANLIB="${BUILD_RANLIB}" \
6387 ${confdir}/configure --build=${build} --host=${build} \
6388 --disable-rpath --disable-nls
6390 { echo "$as_me:$LINENO: Continuing with main configure (${host})." >&5
6391 echo "$as_me: Continuing with main configure (${host})." >&6;}
6396 if test "x$tools_only" = x1
; then
6398 TOOLS_ONLY_FALSE
='#'
6405 # Some GNU/Linux systems (e.g., SuSE 4.3, 1996) don't have curses, but
6406 # rather ncurses. So we check for it.
6408 # Check for termlib before termcap because Solaris termcap needs libucb.
6409 TERMLIB_VARIANTS
="ncurses curses termlib termcap terminfo"
6410 for termlib
in ${TERMLIB_VARIANTS}; do
6411 as_ac_Lib
=`echo "ac_cv_lib_${termlib}''_tgetent" | $as_tr_sh`
6412 echo "$as_me:$LINENO: checking for tgetent in -l${termlib}" >&5
6413 echo $ECHO_N "checking for tgetent in -l${termlib}... $ECHO_C" >&6
6414 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
6415 echo $ECHO_N "(cached) $ECHO_C" >&6
6417 ac_check_lib_save_LIBS
=$LIBS
6418 LIBS
="-l${termlib} $LIBS"
6419 cat >conftest.
$ac_ext <<_ACEOF
6422 cat confdefs.h
>>conftest.
$ac_ext
6423 cat >>conftest.
$ac_ext <<_ACEOF
6424 /* end confdefs.h. */
6426 /* Override any gcc2 internal prototype to avoid an error. */
6430 /* We use char because int might match the return type of a gcc2
6431 builtin and then its argument prototype would still apply. */
6441 rm -f conftest.
$ac_objext conftest
$ac_exeext
6442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6443 (eval $ac_link) 2>conftest.er1
6445 grep -v '^ *+' conftest.er1
>conftest.err
6447 cat conftest.err
>&5
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); } &&
6450 { ac_try
='test -z "$ac_c_werror_flag"
6451 || test ! -s conftest.err'
6452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; } &&
6457 { ac_try
='test -s conftest$ac_exeext'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; }; then
6463 eval "$as_ac_Lib=yes"
6465 echo "$as_me: failed program was:" >&5
6466 sed 's/^/| /' conftest.
$ac_ext >&5
6468 eval "$as_ac_Lib=no"
6470 rm -f conftest.err conftest.
$ac_objext \
6471 conftest
$ac_exeext conftest.
$ac_ext
6472 LIBS
=$ac_check_lib_save_LIBS
6474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
6475 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
6476 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
6477 TERMLIBS
="${TERMLIBS} -l${termlib}"; break
6481 # don't bother warning on djgpp, it doesn't have a term library, it
6482 # ports each termcap-needing program separately according to its needs.
6483 if test -z "$TERMLIBS" && echo "$build" |
grep -v djgpp
>/dev
/null
; then
6484 { echo "$as_me:$LINENO: WARNING: probably need a terminal library, one of: ${TERMLIB_VARIANTS}" >&5
6485 echo "$as_me: WARNING: probably need a terminal library, one of: ${TERMLIB_VARIANTS}" >&2;}
6488 # Checks for variables.
6489 # HP-UX 9 (at least) needs -lncurses which defines termcap variables PC etc.
6490 echo "$as_me:$LINENO: checking for library with termcap variables" >&5
6491 echo $ECHO_N "checking for library with termcap variables... $ECHO_C" >&6
6492 if test "${ac_cv_var_ospeed+set}" = set; then
6493 echo $ECHO_N "(cached) $ECHO_C" >&6
6496 for trylib
in $termlib ${TERMLIB_VARIANTS}; do
6497 if test "x$trylib" != "x$termlib"; then
6498 LIBS
="$oldLIBS -l$termlib -l$trylib"
6500 LIBS
="$oldLIBS -l$termlib"
6502 cat >conftest.
$ac_ext <<_ACEOF
6505 cat confdefs.h
>>conftest.
$ac_ext
6506 cat >>conftest.
$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6512 #ifdef HAVE_NCURSES_TERMCAP_H
6513 #include <ncurses/termcap.h>
6515 #ifdef HAVE_TERMCAP_H
6516 #include <termcap.h>
6525 /* Make sure all variables actually exist. AIX 4.3 has ospeed but no BC.
6526 --Andreas Ley <andy@rz.uni-karlsruhe.de> 24 Aug 2000. */
6536 rm -f conftest.
$ac_objext conftest
$ac_exeext
6537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6538 (eval $ac_link) 2>conftest.er1
6540 grep -v '^ *+' conftest.er1
>conftest.err
6542 cat conftest.err
>&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); } &&
6545 { ac_try
='test -z "$ac_c_werror_flag"
6546 || test ! -s conftest.err'
6547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); }; } &&
6552 { ac_try
='test -s conftest$ac_exeext'
6553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); }; }; then
6558 ac_cv_var_ospeed
=$trylib; break
6560 echo "$as_me: failed program was:" >&5
6561 sed 's/^/| /' conftest.
$ac_ext >&5
6564 rm -f conftest.err conftest.
$ac_objext \
6565 conftest
$ac_exeext conftest.
$ac_ext
6571 echo "$as_me:$LINENO: result: $ac_cv_var_ospeed" >&5
6572 echo "${ECHO_T}$ac_cv_var_ospeed" >&6
6573 if test -n "$ac_cv_var_ospeed" \
6574 && test "x$termlib" != "x$ac_cv_var_ospeed"; then
6575 TERMLIBS
="${TERMLIBS} -l${ac_cv_var_ospeed}"
6579 # Do not use <ncurses/termcap.h> unless we're linking with ncurses.
6580 # Must come after the termlib tests.
6581 if test "x$termlib" = xncurses
; then
6582 # Use AC_CHECK_HEADERS so the HAVE_*_H symbol gets defined.
6584 for ac_header
in ncurses
/termcap.h
6586 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6588 echo "$as_me:$LINENO: checking for $ac_header" >&5
6589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6596 # Is the header compilable?
6597 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6598 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6599 cat >conftest.
$ac_ext <<_ACEOF
6602 cat confdefs.h
>>conftest.
$ac_ext
6603 cat >>conftest.
$ac_ext <<_ACEOF
6604 /* end confdefs.h. */
6605 $ac_includes_default
6606 #include <$ac_header>
6608 rm -f conftest.
$ac_objext
6609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6610 (eval $ac_compile) 2>conftest.er1
6612 grep -v '^ *+' conftest.er1
>conftest.err
6614 cat conftest.err
>&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); } &&
6617 { ac_try
='test -z "$ac_c_werror_flag"
6618 || test ! -s conftest.err'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; } &&
6624 { ac_try
='test -s conftest.$ac_objext'
6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); }; }; then
6630 ac_header_compiler
=yes
6632 echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.
$ac_ext >&5
6635 ac_header_compiler
=no
6637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6639 echo "${ECHO_T}$ac_header_compiler" >&6
6641 # Is the header present?
6642 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6643 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6644 cat >conftest.
$ac_ext <<_ACEOF
6647 cat confdefs.h
>>conftest.
$ac_ext
6648 cat >>conftest.
$ac_ext <<_ACEOF
6649 /* end confdefs.h. */
6650 #include <$ac_header>
6652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6653 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6655 grep -v '^ *+' conftest.er1
>conftest.err
6657 cat conftest.err
>&5
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); } >/dev
/null
; then
6660 if test -s conftest.err
; then
6661 ac_cpp_err
=$ac_c_preproc_warn_flag
6662 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6669 if test -z "$ac_cpp_err"; then
6670 ac_header_preproc
=yes
6672 echo "$as_me: failed program was:" >&5
6673 sed 's/^/| /' conftest.
$ac_ext >&5
6675 ac_header_preproc
=no
6677 rm -f conftest.err conftest.
$ac_ext
6678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6679 echo "${ECHO_T}$ac_header_preproc" >&6
6681 # So? What about this header?
6682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6684 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6685 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6687 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6688 ac_header_preproc
=yes
6691 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6692 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6693 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6694 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6695 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6696 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6697 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6698 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6701 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6702 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6705 ## -------------------------------------- ##
6706 ## Report this to the GNU Texinfo lists. ##
6707 ## -------------------------------------- ##
6710 sed "s/^/$as_me: WARNING: /" >&2
6713 echo "$as_me:$LINENO: checking for $ac_header" >&5
6714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6718 eval "$as_ac_Header=\$ac_header_preproc"
6720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6725 cat >>confdefs.h
<<_ACEOF
6726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6741 for ac_header
in $gl_header_list
6743 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6745 echo "$as_me:$LINENO: checking for $ac_header" >&5
6746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6748 echo $ECHO_N "(cached) $ECHO_C" >&6
6750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6753 # Is the header compilable?
6754 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6755 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6756 cat >conftest.
$ac_ext <<_ACEOF
6759 cat confdefs.h
>>conftest.
$ac_ext
6760 cat >>conftest.
$ac_ext <<_ACEOF
6761 /* end confdefs.h. */
6762 $ac_includes_default
6763 #include <$ac_header>
6765 rm -f conftest.
$ac_objext
6766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6767 (eval $ac_compile) 2>conftest.er1
6769 grep -v '^ *+' conftest.er1
>conftest.err
6771 cat conftest.err
>&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); } &&
6774 { ac_try
='test -z "$ac_c_werror_flag"
6775 || test ! -s conftest.err'
6776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); }; } &&
6781 { ac_try
='test -s conftest.$ac_objext'
6782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); }; }; then
6787 ac_header_compiler
=yes
6789 echo "$as_me: failed program was:" >&5
6790 sed 's/^/| /' conftest.
$ac_ext >&5
6792 ac_header_compiler
=no
6794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6796 echo "${ECHO_T}$ac_header_compiler" >&6
6798 # Is the header present?
6799 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6800 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6801 cat >conftest.
$ac_ext <<_ACEOF
6804 cat confdefs.h
>>conftest.
$ac_ext
6805 cat >>conftest.
$ac_ext <<_ACEOF
6806 /* end confdefs.h. */
6807 #include <$ac_header>
6809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6810 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6812 grep -v '^ *+' conftest.er1
>conftest.err
6814 cat conftest.err
>&5
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); } >/dev
/null
; then
6817 if test -s conftest.err
; then
6818 ac_cpp_err
=$ac_c_preproc_warn_flag
6819 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6826 if test -z "$ac_cpp_err"; then
6827 ac_header_preproc
=yes
6829 echo "$as_me: failed program was:" >&5
6830 sed 's/^/| /' conftest.
$ac_ext >&5
6832 ac_header_preproc
=no
6834 rm -f conftest.err conftest.
$ac_ext
6835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6836 echo "${ECHO_T}$ac_header_preproc" >&6
6838 # So? What about this header?
6839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6841 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6842 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6844 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6845 ac_header_preproc
=yes
6848 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6849 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6850 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6851 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6852 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6853 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6854 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6855 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6857 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6858 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6859 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6862 ## -------------------------------------- ##
6863 ## Report this to the GNU Texinfo lists. ##
6864 ## -------------------------------------- ##
6867 sed "s/^/$as_me: WARNING: /" >&2
6870 echo "$as_me:$LINENO: checking for $ac_header" >&5
6871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6873 echo $ECHO_N "(cached) $ECHO_C" >&6
6875 eval "$as_ac_Header=\$ac_header_preproc"
6877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6882 cat >>confdefs.h
<<_ACEOF
6883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6908 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
6909 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
6910 if test "${ac_cv_have_decl_getenv+set}" = set; then
6911 echo $ECHO_N "(cached) $ECHO_C" >&6
6913 cat >conftest.
$ac_ext <<_ACEOF
6916 cat confdefs.h
>>conftest.
$ac_ext
6917 cat >>conftest.
$ac_ext <<_ACEOF
6918 /* end confdefs.h. */
6919 $ac_includes_default
6924 char *p = (char *) getenv;
6931 rm -f conftest.
$ac_objext
6932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6933 (eval $ac_compile) 2>conftest.er1
6935 grep -v '^ *+' conftest.er1
>conftest.err
6937 cat conftest.err
>&5
6938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939 (exit $ac_status); } &&
6940 { ac_try
='test -z "$ac_c_werror_flag"
6941 || test ! -s conftest.err'
6942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); }; } &&
6947 { ac_try
='test -s conftest.$ac_objext'
6948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); }; }; then
6953 ac_cv_have_decl_getenv
=yes
6955 echo "$as_me: failed program was:" >&5
6956 sed 's/^/| /' conftest.
$ac_ext >&5
6958 ac_cv_have_decl_getenv
=no
6960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6962 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
6963 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
6964 if test $ac_cv_have_decl_getenv = yes; then
6966 cat >>confdefs.h
<<_ACEOF
6967 #define HAVE_DECL_GETENV 1
6972 cat >>confdefs.h
<<_ACEOF
6973 #define HAVE_DECL_GETENV 0
6982 echo "$as_me:$LINENO: checking for inttypes.h" >&5
6983 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
6984 if test "${gl_cv_header_inttypes_h+set}" = set; then
6985 echo $ECHO_N "(cached) $ECHO_C" >&6
6987 cat >conftest.
$ac_ext <<_ACEOF
6990 cat confdefs.h
>>conftest.
$ac_ext
6991 cat >>conftest.
$ac_ext <<_ACEOF
6992 /* end confdefs.h. */
6993 #include <sys/types.h>
6994 #include <inttypes.h>
6998 uintmax_t i = (uintmax_t) -1;
7003 rm -f conftest.
$ac_objext
7004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7005 (eval $ac_compile) 2>conftest.er1
7007 grep -v '^ *+' conftest.er1
>conftest.err
7009 cat conftest.err
>&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } &&
7012 { ac_try
='test -z "$ac_c_werror_flag"
7013 || test ! -s conftest.err'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; } &&
7019 { ac_try
='test -s conftest.$ac_objext'
7020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); }; }; then
7025 gl_cv_header_inttypes_h
=yes
7027 echo "$as_me: failed program was:" >&5
7028 sed 's/^/| /' conftest.
$ac_ext >&5
7030 gl_cv_header_inttypes_h
=no
7032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7034 echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5
7035 echo "${ECHO_T}$gl_cv_header_inttypes_h" >&6
7036 if test $gl_cv_header_inttypes_h = yes; then
7038 cat >>confdefs.h
<<_ACEOF
7039 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
7045 echo "$as_me:$LINENO: checking for stdint.h" >&5
7046 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
7047 if test "${gl_cv_header_stdint_h+set}" = set; then
7048 echo $ECHO_N "(cached) $ECHO_C" >&6
7050 cat >conftest.
$ac_ext <<_ACEOF
7053 cat confdefs.h
>>conftest.
$ac_ext
7054 cat >>conftest.
$ac_ext <<_ACEOF
7055 /* end confdefs.h. */
7056 #include <sys/types.h>
7061 uintmax_t i = (uintmax_t) -1;
7066 rm -f conftest.
$ac_objext
7067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7068 (eval $ac_compile) 2>conftest.er1
7070 grep -v '^ *+' conftest.er1
>conftest.err
7072 cat conftest.err
>&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); } &&
7075 { ac_try
='test -z "$ac_c_werror_flag"
7076 || test ! -s conftest.err'
7077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }; } &&
7082 { ac_try
='test -s conftest.$ac_objext'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); }; }; then
7088 gl_cv_header_stdint_h
=yes
7090 echo "$as_me: failed program was:" >&5
7091 sed 's/^/| /' conftest.
$ac_ext >&5
7093 gl_cv_header_stdint_h
=no
7095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7097 echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5
7098 echo "${ECHO_T}$gl_cv_header_stdint_h" >&6
7099 if test $gl_cv_header_stdint_h = yes; then
7101 cat >>confdefs.h
<<_ACEOF
7102 #define HAVE_STDINT_H_WITH_UINTMAX 1
7108 echo "$as_me:$LINENO: checking for unsigned long long" >&5
7109 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
7110 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 cat >conftest.
$ac_ext <<_ACEOF
7116 cat confdefs.h
>>conftest.
$ac_ext
7117 cat >>conftest.
$ac_ext <<_ACEOF
7118 /* end confdefs.h. */
7119 unsigned long long ull = 1ULL; int i = 63;
7123 unsigned long long ullmax = (unsigned long long) -1;
7124 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
7129 rm -f conftest.
$ac_objext conftest
$ac_exeext
7130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7131 (eval $ac_link) 2>conftest.er1
7133 grep -v '^ *+' conftest.er1
>conftest.err
7135 cat conftest.err
>&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } &&
7138 { ac_try
='test -z "$ac_c_werror_flag"
7139 || test ! -s conftest.err'
7140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); }; } &&
7145 { ac_try
='test -s conftest$ac_exeext'
7146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); }; }; then
7151 ac_cv_type_unsigned_long_long
=yes
7153 echo "$as_me: failed program was:" >&5
7154 sed 's/^/| /' conftest.
$ac_ext >&5
7156 ac_cv_type_unsigned_long_long
=no
7158 rm -f conftest.err conftest.
$ac_objext \
7159 conftest
$ac_exeext conftest.
$ac_ext
7161 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
7162 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
7163 if test $ac_cv_type_unsigned_long_long = yes; then
7165 cat >>confdefs.h
<<\_ACEOF
7166 #define HAVE_UNSIGNED_LONG_LONG 1
7174 if test $gl_cv_header_inttypes_h = no
&& test $gl_cv_header_stdint_h = no
; then
7176 test $ac_cv_type_unsigned_long_long = yes \
7177 && ac_type
='unsigned long long' \
7178 || ac_type
='unsigned long'
7180 cat >>confdefs.h
<<_ACEOF
7181 #define uintmax_t $ac_type
7186 cat >>confdefs.h
<<\_ACEOF
7187 #define HAVE_UINTMAX_T 1
7193 for ac_func
in mkstemp
7195 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7196 echo "$as_me:$LINENO: checking for $ac_func" >&5
7197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7198 if eval "test \"\${$as_ac_var+set}\" = set"; then
7199 echo $ECHO_N "(cached) $ECHO_C" >&6
7201 cat >conftest.
$ac_ext <<_ACEOF
7204 cat confdefs.h
>>conftest.
$ac_ext
7205 cat >>conftest.
$ac_ext <<_ACEOF
7206 /* end confdefs.h. */
7207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7209 #define $ac_func innocuous_$ac_func
7211 /* System header to define __stub macros and hopefully few prototypes,
7212 which can conflict with char $ac_func (); below.
7213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7214 <limits.h> exists even on freestanding compilers. */
7217 # include <limits.h>
7219 # include <assert.h>
7224 /* Override any gcc2 internal prototype to avoid an error. */
7229 /* We use char because int might match the return type of a gcc2
7230 builtin and then its argument prototype would still apply. */
7232 /* The GNU C library defines this for functions which it implements
7233 to always fail with ENOSYS. Some functions are actually named
7234 something starting with __ and the normal name is an alias. */
7235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7238 char (*f) () = $ac_func;
7247 return f != $ac_func;
7252 rm -f conftest.
$ac_objext conftest
$ac_exeext
7253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7254 (eval $ac_link) 2>conftest.er1
7256 grep -v '^ *+' conftest.er1
>conftest.err
7258 cat conftest.err
>&5
7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260 (exit $ac_status); } &&
7261 { ac_try
='test -z "$ac_c_werror_flag"
7262 || test ! -s conftest.err'
7263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); }; } &&
7268 { ac_try
='test -s conftest$ac_exeext'
7269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273 (exit $ac_status); }; }; then
7274 eval "$as_ac_var=yes"
7276 echo "$as_me: failed program was:" >&5
7277 sed 's/^/| /' conftest.
$ac_ext >&5
7279 eval "$as_ac_var=no"
7281 rm -f conftest.err conftest.
$ac_objext \
7282 conftest
$ac_exeext conftest.
$ac_ext
7284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7286 if test `eval echo '${'$as_ac_var'}'` = yes; then
7287 cat >>confdefs.h
<<_ACEOF
7288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7293 "$ac_func.$ac_objext" | \
7294 *" $ac_func.$ac_objext" | \
7295 "$ac_func.$ac_objext "* | \
7296 *" $ac_func.$ac_objext "* ) ;;
7297 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
7304 if test $ac_cv_func_mkstemp = no
; then
7305 gl_cv_func_mkstemp_limitations
=yes
7307 echo "$as_me:$LINENO: checking for mkstemp limitations" >&5
7308 echo $ECHO_N "checking for mkstemp limitations... $ECHO_C" >&6
7309 if test "${gl_cv_func_mkstemp_limitations+set}" = set; then
7310 echo $ECHO_N "(cached) $ECHO_C" >&6
7313 if test "$cross_compiling" = yes; then
7314 gl_cv_func_mkstemp_limitations
=yes
7317 cat >conftest.
$ac_ext <<_ACEOF
7320 cat confdefs.h
>>conftest.
$ac_ext
7321 cat >>conftest.
$ac_ext <<_ACEOF
7322 /* end confdefs.h. */
7324 # include <stdlib.h>
7328 for (i = 0; i < 70; i++)
7330 char template[] = "conftestXXXXXX";
7331 int fd = mkstemp (template);
7340 rm -f conftest
$ac_exeext
7341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7342 (eval $ac_link) 2>&5
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350 (exit $ac_status); }; }; then
7351 gl_cv_func_mkstemp_limitations
=no
7353 echo "$as_me: program exited with status $ac_status" >&5
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.
$ac_ext >&5
7358 gl_cv_func_mkstemp_limitations
=yes
7360 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7365 echo "$as_me:$LINENO: result: $gl_cv_func_mkstemp_limitations" >&5
7366 echo "${ECHO_T}$gl_cv_func_mkstemp_limitations" >&6
7369 if test $gl_cv_func_mkstemp_limitations = yes; then
7371 "mkstemp.$ac_objext" | \
7372 *" mkstemp.$ac_objext" | \
7373 "mkstemp.$ac_objext "* | \
7374 *" mkstemp.$ac_objext "* ) ;;
7375 *) LIBOBJS
="$LIBOBJS mkstemp.$ac_objext" ;;
7379 "tempname.$ac_objext" | \
7380 *" tempname.$ac_objext" | \
7381 "tempname.$ac_objext "* | \
7382 *" tempname.$ac_objext "* ) ;;
7383 *) LIBOBJS
="$LIBOBJS tempname.$ac_objext" ;;
7387 cat >>confdefs.h
<<\_ACEOF
7388 #define mkstemp rpl_mkstemp
7409 for ac_header
in stdint.h
7411 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7413 echo "$as_me:$LINENO: checking for $ac_header" >&5
7414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6
7418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7421 # Is the header compilable?
7422 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7423 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7424 cat >conftest.
$ac_ext <<_ACEOF
7427 cat confdefs.h
>>conftest.
$ac_ext
7428 cat >>conftest.
$ac_ext <<_ACEOF
7429 /* end confdefs.h. */
7430 $ac_includes_default
7431 #include <$ac_header>
7433 rm -f conftest.
$ac_objext
7434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7435 (eval $ac_compile) 2>conftest.er1
7437 grep -v '^ *+' conftest.er1
>conftest.err
7439 cat conftest.err
>&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); } &&
7442 { ac_try
='test -z "$ac_c_werror_flag"
7443 || test ! -s conftest.err'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; } &&
7449 { ac_try
='test -s conftest.$ac_objext'
7450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; }; then
7455 ac_header_compiler
=yes
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.
$ac_ext >&5
7460 ac_header_compiler
=no
7462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7463 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7464 echo "${ECHO_T}$ac_header_compiler" >&6
7466 # Is the header present?
7467 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7468 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7469 cat >conftest.
$ac_ext <<_ACEOF
7472 cat confdefs.h
>>conftest.
$ac_ext
7473 cat >>conftest.
$ac_ext <<_ACEOF
7474 /* end confdefs.h. */
7475 #include <$ac_header>
7477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7478 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7480 grep -v '^ *+' conftest.er1
>conftest.err
7482 cat conftest.err
>&5
7483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484 (exit $ac_status); } >/dev
/null
; then
7485 if test -s conftest.err
; then
7486 ac_cpp_err
=$ac_c_preproc_warn_flag
7487 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7494 if test -z "$ac_cpp_err"; then
7495 ac_header_preproc
=yes
7497 echo "$as_me: failed program was:" >&5
7498 sed 's/^/| /' conftest.
$ac_ext >&5
7500 ac_header_preproc
=no
7502 rm -f conftest.err conftest.
$ac_ext
7503 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7504 echo "${ECHO_T}$ac_header_preproc" >&6
7506 # So? What about this header?
7507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7509 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7510 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7512 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7513 ac_header_preproc
=yes
7516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7517 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7519 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7520 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7521 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7522 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7523 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7525 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7526 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7527 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7530 ## -------------------------------------- ##
7531 ## Report this to the GNU Texinfo lists. ##
7532 ## -------------------------------------- ##
7535 sed "s/^/$as_me: WARNING: /" >&2
7538 echo "$as_me:$LINENO: checking for $ac_header" >&5
7539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7543 eval "$as_ac_Header=\$ac_header_preproc"
7545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7550 cat >>confdefs.h
<<_ACEOF
7551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7560 for ac_func
in __secure_getenv gettimeofday
7562 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7563 echo "$as_me:$LINENO: checking for $ac_func" >&5
7564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7565 if eval "test \"\${$as_ac_var+set}\" = set"; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 cat >conftest.
$ac_ext <<_ACEOF
7571 cat confdefs.h
>>conftest.
$ac_ext
7572 cat >>conftest.
$ac_ext <<_ACEOF
7573 /* end confdefs.h. */
7574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7576 #define $ac_func innocuous_$ac_func
7578 /* System header to define __stub macros and hopefully few prototypes,
7579 which can conflict with char $ac_func (); below.
7580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7581 <limits.h> exists even on freestanding compilers. */
7584 # include <limits.h>
7586 # include <assert.h>
7591 /* Override any gcc2 internal prototype to avoid an error. */
7596 /* We use char because int might match the return type of a gcc2
7597 builtin and then its argument prototype would still apply. */
7599 /* The GNU C library defines this for functions which it implements
7600 to always fail with ENOSYS. Some functions are actually named
7601 something starting with __ and the normal name is an alias. */
7602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7605 char (*f) () = $ac_func;
7614 return f != $ac_func;
7619 rm -f conftest.
$ac_objext conftest
$ac_exeext
7620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7621 (eval $ac_link) 2>conftest.er1
7623 grep -v '^ *+' conftest.er1
>conftest.err
7625 cat conftest.err
>&5
7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627 (exit $ac_status); } &&
7628 { ac_try
='test -z "$ac_c_werror_flag"
7629 || test ! -s conftest.err'
7630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); }; } &&
7635 { ac_try
='test -s conftest$ac_exeext'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; }; then
7641 eval "$as_ac_var=yes"
7643 echo "$as_me: failed program was:" >&5
7644 sed 's/^/| /' conftest.
$ac_ext >&5
7646 eval "$as_ac_var=no"
7648 rm -f conftest.err conftest.
$ac_objext \
7649 conftest
$ac_exeext conftest.
$ac_ext
7651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7653 if test `eval echo '${'$as_ac_var'}'` = yes; then
7654 cat >>confdefs.h
<<_ACEOF
7655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7673 # For teTeX and TeX Live.
7674 echo "$as_me:$LINENO: checking host system type" >&5
7675 echo $ECHO_N "checking host system type... $ECHO_C" >&6
7676 if test "${ac_cv_host+set}" = set; then
7677 echo $ECHO_N "(cached) $ECHO_C" >&6
7679 ac_cv_host_alias
=$host_alias
7680 test -z "$ac_cv_host_alias" &&
7681 ac_cv_host_alias
=$ac_cv_build_alias
7682 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
7683 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7684 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7685 { (exit 1); exit 1; }; }
7688 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7689 echo "${ECHO_T}$ac_cv_host" >&6
7691 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7692 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7693 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7696 # Check whether --enable-multiplatform or --disable-multiplatform was given.
7697 if test "${enable_multiplatform+set}" = set; then
7698 enableval
="$enable_multiplatform"
7701 # if enable_multiplatform is set in the environment, use that.
7702 test "x$enable_multiplatform" = xyes \
7703 && test "x$bindir" = 'x${exec_prefix}/bin' \
7704 && bindir
="$bindir/$host"
7706 # Taken from the example in
7707 # http://www.gnu.org/software/automake/manual/html_node/Conditionals.html.
7708 # Check whether --enable-install-warnings or --disable-install-warnings was given.
7709 if test "${enable_install_warnings+set}" = set; then
7710 enableval
="$enable_install_warnings"
7711 case "${enableval}" in
7712 yes) install_warnings
=true
;;
7713 no
) install_warnings
=false
;;
7714 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-install-warnings" >&5
7715 echo "$as_me: error: bad value ${enableval} for --enable-install-warnings" >&2;}
7716 { (exit 1); exit 1; }; } ;;
7719 install_warnings
=true
7723 if test x
"$install_warnings" = xtrue ||
test x
"$install_warnings" = xyes
; then
7724 INSTALL_WARNINGS_TRUE
=
7725 INSTALL_WARNINGS_FALSE
='#'
7727 INSTALL_WARNINGS_TRUE
='#'
7728 INSTALL_WARNINGS_FALSE
=
7732 # i18n support. To update to a new version of gettext, run:
7733 # gettextize -f -c --intl
7737 if test -n "$ac_aux_dir"; then
7738 case "$ac_aux_dir" in
7739 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
7740 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
7743 if test -z "$MKINSTALLDIRS"; then
7744 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
7749 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7750 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7751 # Check whether --enable-nls or --disable-nls was given.
7752 if test "${enable_nls+set}" = set; then
7753 enableval
="$enable_nls"
7758 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7759 echo "${ECHO_T}$USE_NLS" >&6
7766 # Prepare PATH_SEPARATOR.
7767 # The user is always right.
7768 if test "${PATH_SEPARATOR+set}" != set; then
7769 echo "#! /bin/sh" >conf$$.sh
7770 echo "exit 0" >>conf$$.sh
7772 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7780 # Find out how to test for executable files. Don't use a zero-byte file,
7781 # as systems may use methods other than mode bits to determine executability.
7782 cat >conf$$.
file <<_ASEOF
7786 chmod +x conf$$.
file
7787 if test -x conf$$.
file >/dev
/null
2>&1; then
7788 ac_executable_p
="test -x"
7790 ac_executable_p
="test -f"
7794 # Extract the first word of "msgfmt", so it can be a program name with args.
7795 set dummy msgfmt
; ac_word
=$2
7796 echo "$as_me:$LINENO: checking for $ac_word" >&5
7797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7798 if test "${ac_cv_path_MSGFMT+set}" = set; then
7799 echo $ECHO_N "(cached) $ECHO_C" >&6
7803 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7806 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7807 for ac_dir
in $PATH; do
7809 test -z "$ac_dir" && ac_dir
=.
7810 for ac_exec_ext
in '' $ac_executable_extensions; do
7811 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7812 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
7813 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7814 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
7821 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7825 MSGFMT
="$ac_cv_path_MSGFMT"
7826 if test "$MSGFMT" != ":"; then
7827 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7828 echo "${ECHO_T}$MSGFMT" >&6
7830 echo "$as_me:$LINENO: result: no" >&5
7831 echo "${ECHO_T}no" >&6
7834 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7835 set dummy gmsgfmt
; ac_word
=$2
7836 echo "$as_me:$LINENO: checking for $ac_word" >&5
7837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7838 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7839 echo $ECHO_N "(cached) $ECHO_C" >&6
7843 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7850 test -z "$as_dir" && as_dir
=.
7851 for ac_exec_ext
in '' $ac_executable_extensions; do
7852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7853 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7860 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7864 GMSGFMT
=$ac_cv_path_GMSGFMT
7866 if test -n "$GMSGFMT"; then
7867 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7868 echo "${ECHO_T}$GMSGFMT" >&6
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7876 # Prepare PATH_SEPARATOR.
7877 # The user is always right.
7878 if test "${PATH_SEPARATOR+set}" != set; then
7879 echo "#! /bin/sh" >conf$$.sh
7880 echo "exit 0" >>conf$$.sh
7882 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7890 # Find out how to test for executable files. Don't use a zero-byte file,
7891 # as systems may use methods other than mode bits to determine executability.
7892 cat >conf$$.
file <<_ASEOF
7896 chmod +x conf$$.
file
7897 if test -x conf$$.
file >/dev
/null
2>&1; then
7898 ac_executable_p
="test -x"
7900 ac_executable_p
="test -f"
7904 # Extract the first word of "xgettext", so it can be a program name with args.
7905 set dummy xgettext
; ac_word
=$2
7906 echo "$as_me:$LINENO: checking for $ac_word" >&5
7907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7908 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7913 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7916 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7917 for ac_dir
in $PATH; do
7919 test -z "$ac_dir" && ac_dir
=.
7920 for ac_exec_ext
in '' $ac_executable_extensions; do
7921 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7922 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
7923 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7924 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
7931 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7935 XGETTEXT
="$ac_cv_path_XGETTEXT"
7936 if test "$XGETTEXT" != ":"; then
7937 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7938 echo "${ECHO_T}$XGETTEXT" >&6
7940 echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6
7947 # Prepare PATH_SEPARATOR.
7948 # The user is always right.
7949 if test "${PATH_SEPARATOR+set}" != set; then
7950 echo "#! /bin/sh" >conf$$.sh
7951 echo "exit 0" >>conf$$.sh
7953 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7961 # Find out how to test for executable files. Don't use a zero-byte file,
7962 # as systems may use methods other than mode bits to determine executability.
7963 cat >conf$$.
file <<_ASEOF
7967 chmod +x conf$$.
file
7968 if test -x conf$$.
file >/dev
/null
2>&1; then
7969 ac_executable_p
="test -x"
7971 ac_executable_p
="test -f"
7975 # Extract the first word of "msgmerge", so it can be a program name with args.
7976 set dummy msgmerge
; ac_word
=$2
7977 echo "$as_me:$LINENO: checking for $ac_word" >&5
7978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7979 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7980 echo $ECHO_N "(cached) $ECHO_C" >&6
7984 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
7987 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7988 for ac_dir
in $PATH; do
7990 test -z "$ac_dir" && ac_dir
=.
7991 for ac_exec_ext
in '' $ac_executable_extensions; do
7992 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7993 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
7994 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
8001 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
8005 MSGMERGE
="$ac_cv_path_MSGMERGE"
8006 if test "$MSGMERGE" != ":"; then
8007 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
8008 echo "${ECHO_T}$MSGMERGE" >&6
8010 echo "$as_me:$LINENO: result: no" >&5
8011 echo "${ECHO_T}no" >&6
8015 if test "$GMSGFMT" != ":"; then
8016 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
8017 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
8020 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
8021 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
8022 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
8027 if test "$XGETTEXT" != ":"; then
8028 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
8029 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
8032 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
8033 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
8039 ac_config_commands
="$ac_config_commands default-1"
8043 echo "$as_me:$LINENO: checking for signed" >&5
8044 echo $ECHO_N "checking for signed... $ECHO_C" >&6
8045 if test "${bh_cv_c_signed+set}" = set; then
8046 echo $ECHO_N "(cached) $ECHO_C" >&6
8048 cat >conftest.
$ac_ext <<_ACEOF
8051 cat confdefs.h
>>conftest.
$ac_ext
8052 cat >>conftest.
$ac_ext <<_ACEOF
8053 /* end confdefs.h. */
8063 rm -f conftest.
$ac_objext
8064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8065 (eval $ac_compile) 2>conftest.er1
8067 grep -v '^ *+' conftest.er1
>conftest.err
8069 cat conftest.err
>&5
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); } &&
8072 { ac_try
='test -z "$ac_c_werror_flag"
8073 || test ! -s conftest.err'
8074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078 (exit $ac_status); }; } &&
8079 { ac_try
='test -s conftest.$ac_objext'
8080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); }; }; then
8087 echo "$as_me: failed program was:" >&5
8088 sed 's/^/| /' conftest.
$ac_ext >&5
8092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8094 echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
8095 echo "${ECHO_T}$bh_cv_c_signed" >&6
8096 if test $bh_cv_c_signed = no
; then
8098 cat >>confdefs.h
<<\_ACEOF
8104 echo "$as_me:$LINENO: checking for inline" >&5
8105 echo $ECHO_N "checking for inline... $ECHO_C" >&6
8106 if test "${ac_cv_c_inline+set}" = set; then
8107 echo $ECHO_N "(cached) $ECHO_C" >&6
8110 for ac_kw
in inline __inline__ __inline
; do
8111 cat >conftest.
$ac_ext <<_ACEOF
8114 cat confdefs.h
>>conftest.
$ac_ext
8115 cat >>conftest.
$ac_ext <<_ACEOF
8116 /* end confdefs.h. */
8119 static $ac_kw foo_t static_foo () {return 0; }
8120 $ac_kw foo_t foo () {return 0; }
8124 rm -f conftest.
$ac_objext
8125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8126 (eval $ac_compile) 2>conftest.er1
8128 grep -v '^ *+' conftest.er1
>conftest.err
8130 cat conftest.err
>&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); } &&
8133 { ac_try
='test -z "$ac_c_werror_flag"
8134 || test ! -s conftest.err'
8135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); }; } &&
8140 { ac_try
='test -s conftest.$ac_objext'
8141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); }; }; then
8146 ac_cv_c_inline
=$ac_kw; break
8148 echo "$as_me: failed program was:" >&5
8149 sed 's/^/| /' conftest.
$ac_ext >&5
8152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8156 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8157 echo "${ECHO_T}$ac_cv_c_inline" >&6
8160 case $ac_cv_c_inline in
8163 case $ac_cv_c_inline in
8165 *) ac_val
=$ac_cv_c_inline;;
8167 cat >>confdefs.h
<<_ACEOF
8169 #define inline $ac_val
8175 echo "$as_me:$LINENO: checking for size_t" >&5
8176 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8177 if test "${ac_cv_type_size_t+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 cat >conftest.
$ac_ext <<_ACEOF
8183 cat confdefs.h
>>conftest.
$ac_ext
8184 cat >>conftest.
$ac_ext <<_ACEOF
8185 /* end confdefs.h. */
8186 $ac_includes_default
8192 if (sizeof (size_t))
8198 rm -f conftest.
$ac_objext
8199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8200 (eval $ac_compile) 2>conftest.er1
8202 grep -v '^ *+' conftest.er1
>conftest.err
8204 cat conftest.err
>&5
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); } &&
8207 { ac_try
='test -z "$ac_c_werror_flag"
8208 || test ! -s conftest.err'
8209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); }; } &&
8214 { ac_try
='test -s conftest.$ac_objext'
8215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 (exit $ac_status); }; }; then
8220 ac_cv_type_size_t
=yes
8222 echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.
$ac_ext >&5
8225 ac_cv_type_size_t
=no
8227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8229 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8230 echo "${ECHO_T}$ac_cv_type_size_t" >&6
8231 if test $ac_cv_type_size_t = yes; then
8235 cat >>confdefs.h
<<_ACEOF
8236 #define size_t unsigned
8242 echo "$as_me:$LINENO: checking for long long" >&5
8243 echo $ECHO_N "checking for long long... $ECHO_C" >&6
8244 if test "${ac_cv_type_long_long+set}" = set; then
8245 echo $ECHO_N "(cached) $ECHO_C" >&6
8247 cat >conftest.
$ac_ext <<_ACEOF
8250 cat confdefs.h
>>conftest.
$ac_ext
8251 cat >>conftest.
$ac_ext <<_ACEOF
8252 /* end confdefs.h. */
8253 long long ll = 1LL; int i = 63;
8257 long long llmax = (long long) -1;
8258 return ll << i | ll >> i | llmax / ll | llmax % ll;
8263 rm -f conftest.
$ac_objext conftest
$ac_exeext
8264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8265 (eval $ac_link) 2>conftest.er1
8267 grep -v '^ *+' conftest.er1
>conftest.err
8269 cat conftest.err
>&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); } &&
8272 { ac_try
='test -z "$ac_c_werror_flag"
8273 || test ! -s conftest.err'
8274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8278 (exit $ac_status); }; } &&
8279 { ac_try
='test -s conftest$ac_exeext'
8280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); }; }; then
8285 ac_cv_type_long_long
=yes
8287 echo "$as_me: failed program was:" >&5
8288 sed 's/^/| /' conftest.
$ac_ext >&5
8290 ac_cv_type_long_long
=no
8292 rm -f conftest.err conftest.
$ac_objext \
8293 conftest
$ac_exeext conftest.
$ac_ext
8295 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
8296 echo "${ECHO_T}$ac_cv_type_long_long" >&6
8297 if test $ac_cv_type_long_long = yes; then
8299 cat >>confdefs.h
<<\_ACEOF
8300 #define HAVE_LONG_LONG 1
8306 echo "$as_me:$LINENO: checking for long double" >&5
8307 echo $ECHO_N "checking for long double... $ECHO_C" >&6
8308 if test "${gt_cv_c_long_double+set}" = set; then
8309 echo $ECHO_N "(cached) $ECHO_C" >&6
8311 if test "$GCC" = yes; then
8312 gt_cv_c_long_double
=yes
8314 cat >conftest.
$ac_ext <<_ACEOF
8317 cat confdefs.h
>>conftest.
$ac_ext
8318 cat >>conftest.
$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8321 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
8322 long double foo = 0.0;
8323 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
8324 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
8334 rm -f conftest.
$ac_objext
8335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8336 (eval $ac_compile) 2>conftest.er1
8338 grep -v '^ *+' conftest.er1
>conftest.err
8340 cat conftest.err
>&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); } &&
8343 { ac_try
='test -z "$ac_c_werror_flag"
8344 || test ! -s conftest.err'
8345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); }; } &&
8350 { ac_try
='test -s conftest.$ac_objext'
8351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }; }; then
8356 gt_cv_c_long_double
=yes
8358 echo "$as_me: failed program was:" >&5
8359 sed 's/^/| /' conftest.
$ac_ext >&5
8361 gt_cv_c_long_double
=no
8363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8366 echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
8367 echo "${ECHO_T}$gt_cv_c_long_double" >&6
8368 if test $gt_cv_c_long_double = yes; then
8370 cat >>confdefs.h
<<\_ACEOF
8371 #define HAVE_LONG_DOUBLE 1
8377 echo "$as_me:$LINENO: checking for wchar_t" >&5
8378 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
8379 if test "${gt_cv_c_wchar_t+set}" = set; then
8380 echo $ECHO_N "(cached) $ECHO_C" >&6
8382 cat >conftest.
$ac_ext <<_ACEOF
8385 cat confdefs.h
>>conftest.
$ac_ext
8386 cat >>conftest.
$ac_ext <<_ACEOF
8387 /* end confdefs.h. */
8389 wchar_t foo = (wchar_t)'\0';
8398 rm -f conftest.
$ac_objext
8399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8400 (eval $ac_compile) 2>conftest.er1
8402 grep -v '^ *+' conftest.er1
>conftest.err
8404 cat conftest.err
>&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } &&
8407 { ac_try
='test -z "$ac_c_werror_flag"
8408 || test ! -s conftest.err'
8409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); }; } &&
8414 { ac_try
='test -s conftest.$ac_objext'
8415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); }; }; then
8422 echo "$as_me: failed program was:" >&5
8423 sed 's/^/| /' conftest.
$ac_ext >&5
8427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8429 echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
8430 echo "${ECHO_T}$gt_cv_c_wchar_t" >&6
8431 if test $gt_cv_c_wchar_t = yes; then
8433 cat >>confdefs.h
<<\_ACEOF
8434 #define HAVE_WCHAR_T 1
8440 echo "$as_me:$LINENO: checking for wint_t" >&5
8441 echo $ECHO_N "checking for wint_t... $ECHO_C" >&6
8442 if test "${gt_cv_c_wint_t+set}" = set; then
8443 echo $ECHO_N "(cached) $ECHO_C" >&6
8445 cat >conftest.
$ac_ext <<_ACEOF
8448 cat confdefs.h
>>conftest.
$ac_ext
8449 cat >>conftest.
$ac_ext <<_ACEOF
8450 /* end confdefs.h. */
8452 wint_t foo = (wchar_t)'\0';
8461 rm -f conftest.
$ac_objext
8462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8463 (eval $ac_compile) 2>conftest.er1
8465 grep -v '^ *+' conftest.er1
>conftest.err
8467 cat conftest.err
>&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); } &&
8470 { ac_try
='test -z "$ac_c_werror_flag"
8471 || test ! -s conftest.err'
8472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); }; } &&
8477 { ac_try
='test -s conftest.$ac_objext'
8478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); }; }; then
8485 echo "$as_me: failed program was:" >&5
8486 sed 's/^/| /' conftest.
$ac_ext >&5
8490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8492 echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
8493 echo "${ECHO_T}$gt_cv_c_wint_t" >&6
8494 if test $gt_cv_c_wint_t = yes; then
8496 cat >>confdefs.h
<<\_ACEOF
8497 #define HAVE_WINT_T 1
8505 echo "$as_me:$LINENO: checking for intmax_t" >&5
8506 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
8507 if test "${gt_cv_c_intmax_t+set}" = set; then
8508 echo $ECHO_N "(cached) $ECHO_C" >&6
8510 cat >conftest.
$ac_ext <<_ACEOF
8513 cat confdefs.h
>>conftest.
$ac_ext
8514 cat >>conftest.
$ac_ext <<_ACEOF
8515 /* end confdefs.h. */
8519 #if HAVE_STDINT_H_WITH_UINTMAX
8522 #if HAVE_INTTYPES_H_WITH_UINTMAX
8523 #include <inttypes.h>
8534 rm -f conftest.
$ac_objext
8535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8536 (eval $ac_compile) 2>conftest.er1
8538 grep -v '^ *+' conftest.er1
>conftest.err
8540 cat conftest.err
>&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); } &&
8543 { ac_try
='test -z "$ac_c_werror_flag"
8544 || test ! -s conftest.err'
8545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); }; } &&
8550 { ac_try
='test -s conftest.$ac_objext'
8551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); }; }; then
8556 gt_cv_c_intmax_t
=yes
8558 echo "$as_me: failed program was:" >&5
8559 sed 's/^/| /' conftest.
$ac_ext >&5
8563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8565 echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
8566 echo "${ECHO_T}$gt_cv_c_intmax_t" >&6
8567 if test $gt_cv_c_intmax_t = yes; then
8569 cat >>confdefs.h
<<\_ACEOF
8570 #define HAVE_INTMAX_T 1
8577 echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
8578 echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6
8579 if test "${gt_cv_func_printf_posix+set}" = set; then
8580 echo $ECHO_N "(cached) $ECHO_C" >&6
8583 if test "$cross_compiling" = yes; then
8585 cat >conftest.
$ac_ext <<_ACEOF
8588 cat confdefs.h
>>conftest.
$ac_ext
8589 cat >>conftest.
$ac_ext <<_ACEOF
8590 /* end confdefs.h. */
8592 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
8597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8598 $EGREP "notposix" >/dev
/null
2>&1; then
8599 gt_cv_func_printf_posix
="guessing no"
8601 gt_cv_func_printf_posix
="guessing yes"
8607 cat >conftest.
$ac_ext <<_ACEOF
8610 cat confdefs.h
>>conftest.
$ac_ext
8611 cat >>conftest.
$ac_ext <<_ACEOF
8612 /* end confdefs.h. */
8616 /* The string "%2$d %1$d", with dollar characters protected from the shell's
8617 dollar expansion (possibly an autoconf bug). */
8618 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
8619 static char buf[100];
8622 sprintf (buf, format, 33, 55);
8623 return (strcmp (buf, "55 33") != 0);
8626 rm -f conftest
$ac_exeext
8627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8628 (eval $ac_link) 2>&5
8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636 (exit $ac_status); }; }; then
8637 gt_cv_func_printf_posix
=yes
8639 echo "$as_me: program exited with status $ac_status" >&5
8640 echo "$as_me: failed program was:" >&5
8641 sed 's/^/| /' conftest.
$ac_ext >&5
8644 gt_cv_func_printf_posix
=no
8646 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8650 echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
8651 echo "${ECHO_T}$gt_cv_func_printf_posix" >&6
8652 case $gt_cv_func_printf_posix in
8655 cat >>confdefs.h
<<\_ACEOF
8656 #define HAVE_POSIX_PRINTF 1
8664 for ac_header
in stdlib.h unistd.h
8666 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8668 echo "$as_me:$LINENO: checking for $ac_header" >&5
8669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8671 echo $ECHO_N "(cached) $ECHO_C" >&6
8673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8676 # Is the header compilable?
8677 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8678 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8679 cat >conftest.
$ac_ext <<_ACEOF
8682 cat confdefs.h
>>conftest.
$ac_ext
8683 cat >>conftest.
$ac_ext <<_ACEOF
8684 /* end confdefs.h. */
8685 $ac_includes_default
8686 #include <$ac_header>
8688 rm -f conftest.
$ac_objext
8689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8690 (eval $ac_compile) 2>conftest.er1
8692 grep -v '^ *+' conftest.er1
>conftest.err
8694 cat conftest.err
>&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); } &&
8697 { ac_try
='test -z "$ac_c_werror_flag"
8698 || test ! -s conftest.err'
8699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); }; } &&
8704 { ac_try
='test -s conftest.$ac_objext'
8705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); }; }; then
8710 ac_header_compiler
=yes
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.
$ac_ext >&5
8715 ac_header_compiler
=no
8717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8719 echo "${ECHO_T}$ac_header_compiler" >&6
8721 # Is the header present?
8722 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8723 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8724 cat >conftest.
$ac_ext <<_ACEOF
8727 cat confdefs.h
>>conftest.
$ac_ext
8728 cat >>conftest.
$ac_ext <<_ACEOF
8729 /* end confdefs.h. */
8730 #include <$ac_header>
8732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8733 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8735 grep -v '^ *+' conftest.er1
>conftest.err
8737 cat conftest.err
>&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); } >/dev
/null
; then
8740 if test -s conftest.err
; then
8741 ac_cpp_err
=$ac_c_preproc_warn_flag
8742 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8749 if test -z "$ac_cpp_err"; then
8750 ac_header_preproc
=yes
8752 echo "$as_me: failed program was:" >&5
8753 sed 's/^/| /' conftest.
$ac_ext >&5
8755 ac_header_preproc
=no
8757 rm -f conftest.err conftest.
$ac_ext
8758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8759 echo "${ECHO_T}$ac_header_preproc" >&6
8761 # So? What about this header?
8762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8764 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8765 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8767 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8768 ac_header_preproc
=yes
8771 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8772 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8773 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8774 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8775 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8776 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8777 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8778 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8781 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8782 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8785 ## -------------------------------------- ##
8786 ## Report this to the GNU Texinfo lists. ##
8787 ## -------------------------------------- ##
8790 sed "s/^/$as_me: WARNING: /" >&2
8793 echo "$as_me:$LINENO: checking for $ac_header" >&5
8794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8796 echo $ECHO_N "(cached) $ECHO_C" >&6
8798 eval "$as_ac_Header=\$ac_header_preproc"
8800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8805 cat >>confdefs.h
<<_ACEOF
8806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8814 for ac_func
in getpagesize
8816 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8817 echo "$as_me:$LINENO: checking for $ac_func" >&5
8818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8819 if eval "test \"\${$as_ac_var+set}\" = set"; then
8820 echo $ECHO_N "(cached) $ECHO_C" >&6
8822 cat >conftest.
$ac_ext <<_ACEOF
8825 cat confdefs.h
>>conftest.
$ac_ext
8826 cat >>conftest.
$ac_ext <<_ACEOF
8827 /* end confdefs.h. */
8828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8830 #define $ac_func innocuous_$ac_func
8832 /* System header to define __stub macros and hopefully few prototypes,
8833 which can conflict with char $ac_func (); below.
8834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8835 <limits.h> exists even on freestanding compilers. */
8838 # include <limits.h>
8840 # include <assert.h>
8845 /* Override any gcc2 internal prototype to avoid an error. */
8850 /* We use char because int might match the return type of a gcc2
8851 builtin and then its argument prototype would still apply. */
8853 /* The GNU C library defines this for functions which it implements
8854 to always fail with ENOSYS. Some functions are actually named
8855 something starting with __ and the normal name is an alias. */
8856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8859 char (*f) () = $ac_func;
8868 return f != $ac_func;
8873 rm -f conftest.
$ac_objext conftest
$ac_exeext
8874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8875 (eval $ac_link) 2>conftest.er1
8877 grep -v '^ *+' conftest.er1
>conftest.err
8879 cat conftest.err
>&5
8880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881 (exit $ac_status); } &&
8882 { ac_try
='test -z "$ac_c_werror_flag"
8883 || test ! -s conftest.err'
8884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); }; } &&
8889 { ac_try
='test -s conftest$ac_exeext'
8890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); }; }; then
8895 eval "$as_ac_var=yes"
8897 echo "$as_me: failed program was:" >&5
8898 sed 's/^/| /' conftest.
$ac_ext >&5
8900 eval "$as_ac_var=no"
8902 rm -f conftest.err conftest.
$ac_objext \
8903 conftest
$ac_exeext conftest.
$ac_ext
8905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8907 if test `eval echo '${'$as_ac_var'}'` = yes; then
8908 cat >>confdefs.h
<<_ACEOF
8909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8915 echo "$as_me:$LINENO: checking for working mmap" >&5
8916 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8917 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8918 echo $ECHO_N "(cached) $ECHO_C" >&6
8920 if test "$cross_compiling" = yes; then
8921 ac_cv_func_mmap_fixed_mapped
=no
8923 cat >conftest.
$ac_ext <<_ACEOF
8926 cat confdefs.h
>>conftest.
$ac_ext
8927 cat >>conftest.
$ac_ext <<_ACEOF
8928 /* end confdefs.h. */
8929 $ac_includes_default
8930 /* malloc might have been renamed as rpl_malloc. */
8933 /* Thanks to Mike Haertel and Jim Avera for this test.
8934 Here is a matrix of mmap possibilities:
8935 mmap private not fixed
8936 mmap private fixed at somewhere currently unmapped
8937 mmap private fixed at somewhere already mapped
8938 mmap shared not fixed
8939 mmap shared fixed at somewhere currently unmapped
8940 mmap shared fixed at somewhere already mapped
8941 For private mappings, we should verify that changes cannot be read()
8942 back from the file, nor mmap's back from the file at a different
8943 address. (There have been systems where private was not correctly
8944 implemented like the infamous i386 svr4.0, and systems where the
8945 VM page cache was not coherent with the file system buffer cache
8946 like early versions of FreeBSD and possibly contemporary NetBSD.)
8947 For shared mappings, we should conversely verify that changes get
8948 propagated back to all the places they're supposed to be.
8950 Grep wants private fixed already mapped.
8951 The main things grep needs to know about mmap are:
8952 * does it exist and is it safe to write into the mmap'd area
8953 * how to use it (BSD variants) */
8956 #include <sys/mman.h>
8958 #if !STDC_HEADERS && !HAVE_STDLIB_H
8962 /* This mess was copied from the GNU getpagesize.h. */
8963 #if !HAVE_GETPAGESIZE
8964 /* Assume that all systems that can run configure have sys/param.h. */
8965 # if !HAVE_SYS_PARAM_H
8966 # define HAVE_SYS_PARAM_H 1
8969 # ifdef _SC_PAGESIZE
8970 # define getpagesize() sysconf(_SC_PAGESIZE)
8971 # else /* no _SC_PAGESIZE */
8972 # if HAVE_SYS_PARAM_H
8973 # include <sys/param.h>
8974 # ifdef EXEC_PAGESIZE
8975 # define getpagesize() EXEC_PAGESIZE
8976 # else /* no EXEC_PAGESIZE */
8978 # define getpagesize() NBPG * CLSIZE
8981 # endif /* no CLSIZE */
8982 # else /* no NBPG */
8984 # define getpagesize() NBPC
8985 # else /* no NBPC */
8987 # define getpagesize() PAGESIZE
8988 # endif /* PAGESIZE */
8989 # endif /* no NBPC */
8990 # endif /* no NBPG */
8991 # endif /* no EXEC_PAGESIZE */
8992 # else /* no HAVE_SYS_PARAM_H */
8993 # define getpagesize() 8192 /* punt totally */
8994 # endif /* no HAVE_SYS_PARAM_H */
8995 # endif /* no _SC_PAGESIZE */
8997 #endif /* no HAVE_GETPAGESIZE */
9002 char *data, *data2, *data3;
9006 pagesize = getpagesize ();
9008 /* First, make a file with some known garbage in it. */
9009 data = (char *) malloc (pagesize);
9012 for (i = 0; i < pagesize; ++i)
9013 *(data + i) = rand ();
9015 fd = creat ("conftest.mmap", 0600);
9018 if (write (fd, data, pagesize) != pagesize)
9022 /* Next, try to mmap the file at a fixed address which already has
9023 something else allocated at it. If we can, also make sure that
9024 we see the same garbage. */
9025 fd = open ("conftest.mmap", O_RDWR);
9028 data2 = (char *) malloc (2 * pagesize);
9031 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
9032 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9033 MAP_PRIVATE | MAP_FIXED, fd, 0L))
9035 for (i = 0; i < pagesize; ++i)
9036 if (*(data + i) != *(data2 + i))
9039 /* Finally, make sure that changes to the mapped area do not
9040 percolate back to the file as seen by read(). (This is a bug on
9041 some variants of i386 svr4.0.) */
9042 for (i = 0; i < pagesize; ++i)
9043 *(data2 + i) = *(data2 + i) + 1;
9044 data3 = (char *) malloc (pagesize);
9047 if (read (fd, data3, pagesize) != pagesize)
9049 for (i = 0; i < pagesize; ++i)
9050 if (*(data + i) != *(data3 + i))
9056 rm -f conftest
$ac_exeext
9057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9058 (eval $ac_link) 2>&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); }; }; then
9067 ac_cv_func_mmap_fixed_mapped
=yes
9069 echo "$as_me: program exited with status $ac_status" >&5
9070 echo "$as_me: failed program was:" >&5
9071 sed 's/^/| /' conftest.
$ac_ext >&5
9074 ac_cv_func_mmap_fixed_mapped
=no
9076 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9079 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9080 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9081 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9083 cat >>confdefs.h
<<\_ACEOF
9091 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
9092 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
9093 if test "${ac_cv_gnu_library_2_1+set}" = set; then
9094 echo $ECHO_N "(cached) $ECHO_C" >&6
9096 cat >conftest.
$ac_ext <<_ACEOF
9099 cat confdefs.h
>>conftest.
$ac_ext
9100 cat >>conftest.
$ac_ext <<_ACEOF
9101 /* end confdefs.h. */
9103 #include <features.h>
9104 #ifdef __GNU_LIBRARY__
9105 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
9111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9112 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
9113 ac_cv_gnu_library_2_1
=yes
9115 ac_cv_gnu_library_2_1
=no
9122 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
9123 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
9125 GLIBC21
="$ac_cv_gnu_library_2_1"
9130 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
9131 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
9132 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
9133 echo $ECHO_N "(cached) $ECHO_C" >&6
9136 if test "$cross_compiling" = yes; then
9138 # Guess based on the CPU.
9140 alpha
* | i3456786 | m68k | s390
*)
9141 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
9143 gt_cv_int_divbyzero_sigfpe
="guessing no";;
9147 cat >conftest.
$ac_ext <<_ACEOF
9150 cat confdefs.h
>>conftest.
$ac_ext
9151 cat >>conftest.
$ac_ext <<_ACEOF
9152 /* end confdefs.h. */
9159 sigfpe_handler (int sig)
9161 sigfpe_handler (sig) int sig;
9164 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
9165 exit (sig != SIGFPE);
9175 signal (SIGFPE, sigfpe_handler);
9176 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
9177 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
9178 signal (SIGTRAP, sigfpe_handler);
9180 /* Linux/SPARC yields signal SIGILL. */
9181 #if defined (__sparc__) && defined (__linux__)
9182 signal (SIGILL, sigfpe_handler);
9191 rm -f conftest
$ac_exeext
9192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9193 (eval $ac_link) 2>&5
9195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); }; }; then
9202 gt_cv_int_divbyzero_sigfpe
=yes
9204 echo "$as_me: program exited with status $ac_status" >&5
9205 echo "$as_me: failed program was:" >&5
9206 sed 's/^/| /' conftest.
$ac_ext >&5
9209 gt_cv_int_divbyzero_sigfpe
=no
9211 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9215 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
9216 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
9217 case "$gt_cv_int_divbyzero_sigfpe" in
9222 cat >>confdefs.h
<<_ACEOF
9223 #define INTDIV0_RAISES_SIGFPE $value
9228 echo "$as_me:$LINENO: checking for inttypes.h" >&5
9229 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
9230 if test "${gt_cv_header_inttypes_h+set}" = set; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9234 cat >conftest.
$ac_ext <<_ACEOF
9237 cat confdefs.h
>>conftest.
$ac_ext
9238 cat >>conftest.
$ac_ext <<_ACEOF
9239 /* end confdefs.h. */
9240 #include <sys/types.h>
9241 #include <inttypes.h>
9250 rm -f conftest.
$ac_objext
9251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9252 (eval $ac_compile) 2>conftest.er1
9254 grep -v '^ *+' conftest.er1
>conftest.err
9256 cat conftest.err
>&5
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); } &&
9259 { ac_try
='test -z "$ac_c_werror_flag"
9260 || test ! -s conftest.err'
9261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); }; } &&
9266 { ac_try
='test -s conftest.$ac_objext'
9267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271 (exit $ac_status); }; }; then
9272 gt_cv_header_inttypes_h
=yes
9274 echo "$as_me: failed program was:" >&5
9275 sed 's/^/| /' conftest.
$ac_ext >&5
9277 gt_cv_header_inttypes_h
=no
9279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9282 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
9283 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
9284 if test $gt_cv_header_inttypes_h = yes; then
9286 cat >>confdefs.h
<<_ACEOF
9287 #define HAVE_INTTYPES_H 1
9294 if test $gt_cv_header_inttypes_h = yes; then
9295 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
9296 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
9297 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
9298 echo $ECHO_N "(cached) $ECHO_C" >&6
9301 cat >conftest.
$ac_ext <<_ACEOF
9304 cat confdefs.h
>>conftest.
$ac_ext
9305 cat >>conftest.
$ac_ext <<_ACEOF
9306 /* end confdefs.h. */
9307 #include <inttypes.h>
9320 rm -f conftest.
$ac_objext
9321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9322 (eval $ac_compile) 2>conftest.er1
9324 grep -v '^ *+' conftest.er1
>conftest.err
9326 cat conftest.err
>&5
9327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9328 (exit $ac_status); } &&
9329 { ac_try
='test -z "$ac_c_werror_flag"
9330 || test ! -s conftest.err'
9331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); }; } &&
9336 { ac_try
='test -s conftest.$ac_objext'
9337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); }; }; then
9342 gt_cv_inttypes_pri_broken
=no
9344 echo "$as_me: failed program was:" >&5
9345 sed 's/^/| /' conftest.
$ac_ext >&5
9347 gt_cv_inttypes_pri_broken
=yes
9349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9352 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
9353 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
9355 if test "$gt_cv_inttypes_pri_broken" = yes; then
9357 cat >>confdefs.h
<<_ACEOF
9358 #define PRI_MACROS_BROKEN 1
9365 for ac_header
in stdint.h
9367 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9369 echo "$as_me:$LINENO: checking for $ac_header" >&5
9370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9372 echo $ECHO_N "(cached) $ECHO_C" >&6
9374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9377 # Is the header compilable?
9378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9380 cat >conftest.
$ac_ext <<_ACEOF
9383 cat confdefs.h
>>conftest.
$ac_ext
9384 cat >>conftest.
$ac_ext <<_ACEOF
9385 /* end confdefs.h. */
9386 $ac_includes_default
9387 #include <$ac_header>
9389 rm -f conftest.
$ac_objext
9390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9391 (eval $ac_compile) 2>conftest.er1
9393 grep -v '^ *+' conftest.er1
>conftest.err
9395 cat conftest.err
>&5
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); } &&
9398 { ac_try
='test -z "$ac_c_werror_flag"
9399 || test ! -s conftest.err'
9400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404 (exit $ac_status); }; } &&
9405 { ac_try
='test -s conftest.$ac_objext'
9406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410 (exit $ac_status); }; }; then
9411 ac_header_compiler
=yes
9413 echo "$as_me: failed program was:" >&5
9414 sed 's/^/| /' conftest.
$ac_ext >&5
9416 ac_header_compiler
=no
9418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9420 echo "${ECHO_T}$ac_header_compiler" >&6
9422 # Is the header present?
9423 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9424 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9425 cat >conftest.
$ac_ext <<_ACEOF
9428 cat confdefs.h
>>conftest.
$ac_ext
9429 cat >>conftest.
$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9431 #include <$ac_header>
9433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9436 grep -v '^ *+' conftest.er1
>conftest.err
9438 cat conftest.err
>&5
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); } >/dev
/null
; then
9441 if test -s conftest.err
; then
9442 ac_cpp_err
=$ac_c_preproc_warn_flag
9443 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9450 if test -z "$ac_cpp_err"; then
9451 ac_header_preproc
=yes
9453 echo "$as_me: failed program was:" >&5
9454 sed 's/^/| /' conftest.
$ac_ext >&5
9456 ac_header_preproc
=no
9458 rm -f conftest.err conftest.
$ac_ext
9459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9460 echo "${ECHO_T}$ac_header_preproc" >&6
9462 # So? What about this header?
9463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9468 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9469 ac_header_preproc
=yes
9472 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9474 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9476 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9477 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9478 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9479 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9482 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9483 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9486 ## -------------------------------------- ##
9487 ## Report this to the GNU Texinfo lists. ##
9488 ## -------------------------------------- ##
9491 sed "s/^/$as_me: WARNING: /" >&2
9494 echo "$as_me:$LINENO: checking for $ac_header" >&5
9495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9497 echo $ECHO_N "(cached) $ECHO_C" >&6
9499 eval "$as_ac_Header=\$ac_header_preproc"
9501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9506 cat >>confdefs.h
<<_ACEOF
9507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9514 echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
9515 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6
9517 cat >conftest.
$ac_ext <<_ACEOF
9520 cat confdefs.h
>>conftest.
$ac_ext
9521 cat >>conftest.
$ac_ext <<_ACEOF
9522 /* end confdefs.h. */
9533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9534 $EGREP "Found it" >/dev
/null
2>&1; then
9539 if test -z "$result"; then
9540 if test "$cross_compiling" = yes; then
9541 # Depending upon the size, compute the lo and hi bounds.
9542 cat >conftest.
$ac_ext <<_ACEOF
9545 cat confdefs.h
>>conftest.
$ac_ext
9546 cat >>conftest.
$ac_ext <<_ACEOF
9547 /* end confdefs.h. */
9552 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
9559 rm -f conftest.
$ac_objext
9560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9561 (eval $ac_compile) 2>conftest.er1
9563 grep -v '^ *+' conftest.er1
>conftest.err
9565 cat conftest.err
>&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); } &&
9568 { ac_try
='test -z "$ac_c_werror_flag"
9569 || test ! -s conftest.err'
9570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 (exit $ac_status); }; } &&
9575 { ac_try
='test -s conftest.$ac_objext'
9576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); }; }; then
9583 cat >conftest.
$ac_ext <<_ACEOF
9586 cat confdefs.h
>>conftest.
$ac_ext
9587 cat >>conftest.
$ac_ext <<_ACEOF
9588 /* end confdefs.h. */
9593 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
9600 rm -f conftest.
$ac_objext
9601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9602 (eval $ac_compile) 2>conftest.er1
9604 grep -v '^ *+' conftest.er1
>conftest.err
9606 cat conftest.err
>&5
9607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); } &&
9609 { ac_try
='test -z "$ac_c_werror_flag"
9610 || test ! -s conftest.err'
9611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 (exit $ac_status); }; } &&
9616 { ac_try
='test -s conftest.$ac_objext'
9617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); }; }; then
9622 ac_hi
=$ac_mid; break
9624 echo "$as_me: failed program was:" >&5
9625 sed 's/^/| /' conftest.
$ac_ext >&5
9627 ac_lo
=`expr $ac_mid + 1`
9628 if test $ac_lo -le $ac_mid; then
9632 ac_mid
=`expr 2 '*' $ac_mid + 1`
9634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9637 echo "$as_me: failed program was:" >&5
9638 sed 's/^/| /' conftest.
$ac_ext >&5
9640 cat >conftest.
$ac_ext <<_ACEOF
9643 cat confdefs.h
>>conftest.
$ac_ext
9644 cat >>conftest.
$ac_ext <<_ACEOF
9645 /* end confdefs.h. */
9650 static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
9657 rm -f conftest.
$ac_objext
9658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9659 (eval $ac_compile) 2>conftest.er1
9661 grep -v '^ *+' conftest.er1
>conftest.err
9663 cat conftest.err
>&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); } &&
9666 { ac_try
='test -z "$ac_c_werror_flag"
9667 || test ! -s conftest.err'
9668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672 (exit $ac_status); }; } &&
9673 { ac_try
='test -s conftest.$ac_objext'
9674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); }; }; then
9681 cat >conftest.
$ac_ext <<_ACEOF
9684 cat confdefs.h
>>conftest.
$ac_ext
9685 cat >>conftest.
$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9691 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
9698 rm -f conftest.
$ac_objext
9699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9700 (eval $ac_compile) 2>conftest.er1
9702 grep -v '^ *+' conftest.er1
>conftest.err
9704 cat conftest.err
>&5
9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); } &&
9707 { ac_try
='test -z "$ac_c_werror_flag"
9708 || test ! -s conftest.err'
9709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); }; } &&
9714 { ac_try
='test -s conftest.$ac_objext'
9715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719 (exit $ac_status); }; }; then
9720 ac_lo
=$ac_mid; break
9722 echo "$as_me: failed program was:" >&5
9723 sed 's/^/| /' conftest.
$ac_ext >&5
9725 ac_hi
=`expr '(' $ac_mid ')' - 1`
9726 if test $ac_mid -le $ac_hi; then
9730 ac_mid
=`expr 2 '*' $ac_mid`
9732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9735 echo "$as_me: failed program was:" >&5
9736 sed 's/^/| /' conftest.
$ac_ext >&5
9740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9743 # Binary search between lo and hi bounds.
9744 while test "x$ac_lo" != "x$ac_hi"; do
9745 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9746 cat >conftest.
$ac_ext <<_ACEOF
9749 cat confdefs.h
>>conftest.
$ac_ext
9750 cat >>conftest.
$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9756 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
9763 rm -f conftest.
$ac_objext
9764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9765 (eval $ac_compile) 2>conftest.er1
9767 grep -v '^ *+' conftest.er1
>conftest.err
9769 cat conftest.err
>&5
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); } &&
9772 { ac_try
='test -z "$ac_c_werror_flag"
9773 || test ! -s conftest.err'
9774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); }; } &&
9779 { ac_try
='test -s conftest.$ac_objext'
9780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); }; }; then
9787 echo "$as_me: failed program was:" >&5
9788 sed 's/^/| /' conftest.
$ac_ext >&5
9790 ac_lo
=`expr '(' $ac_mid ')' + 1`
9792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9799 if test "$cross_compiling" = yes; then
9800 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9801 See \`config.log' for more details." >&5
9802 echo "$as_me: error: cannot run test program while cross compiling
9803 See \`config.log' for more details." >&2;}
9804 { (exit 1); exit 1; }; }
9806 cat >conftest.
$ac_ext <<_ACEOF
9809 cat confdefs.h
>>conftest.
$ac_ext
9810 cat >>conftest.
$ac_ext <<_ACEOF
9811 /* end confdefs.h. */
9813 long longval () { return ~(size_t)0 / 10; }
9814 unsigned long ulongval () { return ~(size_t)0 / 10; }
9821 FILE *f = fopen ("conftest.val", "w");
9824 if ((~(size_t)0 / 10) < 0)
9826 long i = longval ();
9827 if (i != (~(size_t)0 / 10))
9829 fprintf (f, "%ld\n", i);
9833 unsigned long i = ulongval ();
9834 if (i != (~(size_t)0 / 10))
9836 fprintf (f, "%lu\n", i);
9838 exit (ferror (f) || fclose (f) != 0);
9844 rm -f conftest
$ac_exeext
9845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9846 (eval $ac_link) 2>&5
9848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); }; }; then
9855 res_hi
=`cat conftest.val`
9857 echo "$as_me: program exited with status $ac_status" >&5
9858 echo "$as_me: failed program was:" >&5
9859 sed 's/^/| /' conftest.
$ac_ext >&5
9864 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9868 if test "$cross_compiling" = yes; then
9869 # Depending upon the size, compute the lo and hi bounds.
9870 cat >conftest.
$ac_ext <<_ACEOF
9873 cat confdefs.h
>>conftest.
$ac_ext
9874 cat >>conftest.
$ac_ext <<_ACEOF
9875 /* end confdefs.h. */
9880 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
9887 rm -f conftest.
$ac_objext
9888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9889 (eval $ac_compile) 2>conftest.er1
9891 grep -v '^ *+' conftest.er1
>conftest.err
9893 cat conftest.err
>&5
9894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); } &&
9896 { ac_try
='test -z "$ac_c_werror_flag"
9897 || test ! -s conftest.err'
9898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); }; } &&
9903 { ac_try
='test -s conftest.$ac_objext'
9904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); }; }; then
9911 cat >conftest.
$ac_ext <<_ACEOF
9914 cat confdefs.h
>>conftest.
$ac_ext
9915 cat >>conftest.
$ac_ext <<_ACEOF
9916 /* end confdefs.h. */
9921 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
9928 rm -f conftest.
$ac_objext
9929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9930 (eval $ac_compile) 2>conftest.er1
9932 grep -v '^ *+' conftest.er1
>conftest.err
9934 cat conftest.err
>&5
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); } &&
9937 { ac_try
='test -z "$ac_c_werror_flag"
9938 || test ! -s conftest.err'
9939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); }; } &&
9944 { ac_try
='test -s conftest.$ac_objext'
9945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); }; }; then
9950 ac_hi
=$ac_mid; break
9952 echo "$as_me: failed program was:" >&5
9953 sed 's/^/| /' conftest.
$ac_ext >&5
9955 ac_lo
=`expr $ac_mid + 1`
9956 if test $ac_lo -le $ac_mid; then
9960 ac_mid
=`expr 2 '*' $ac_mid + 1`
9962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9965 echo "$as_me: failed program was:" >&5
9966 sed 's/^/| /' conftest.
$ac_ext >&5
9968 cat >conftest.
$ac_ext <<_ACEOF
9971 cat confdefs.h
>>conftest.
$ac_ext
9972 cat >>conftest.
$ac_ext <<_ACEOF
9973 /* end confdefs.h. */
9978 static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
9985 rm -f conftest.
$ac_objext
9986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9987 (eval $ac_compile) 2>conftest.er1
9989 grep -v '^ *+' conftest.er1
>conftest.err
9991 cat conftest.err
>&5
9992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993 (exit $ac_status); } &&
9994 { ac_try
='test -z "$ac_c_werror_flag"
9995 || test ! -s conftest.err'
9996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); }; } &&
10001 { ac_try
='test -s conftest.$ac_objext'
10002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10003 (eval $ac_try) 2>&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); }; }; then
10009 cat >conftest.
$ac_ext <<_ACEOF
10012 cat confdefs.h
>>conftest.
$ac_ext
10013 cat >>conftest.
$ac_ext <<_ACEOF
10014 /* end confdefs.h. */
10015 #include <stddef.h>
10019 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
10026 rm -f conftest.
$ac_objext
10027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10028 (eval $ac_compile) 2>conftest.er1
10030 grep -v '^ *+' conftest.er1
>conftest.err
10032 cat conftest.err
>&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); } &&
10035 { ac_try
='test -z "$ac_c_werror_flag"
10036 || test ! -s conftest.err'
10037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10038 (eval $ac_try) 2>&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); }; } &&
10042 { ac_try
='test -s conftest.$ac_objext'
10043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10044 (eval $ac_try) 2>&5
10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 (exit $ac_status); }; }; then
10048 ac_lo
=$ac_mid; break
10050 echo "$as_me: failed program was:" >&5
10051 sed 's/^/| /' conftest.
$ac_ext >&5
10053 ac_hi
=`expr '(' $ac_mid ')' - 1`
10054 if test $ac_mid -le $ac_hi; then
10058 ac_mid
=`expr 2 '*' $ac_mid`
10060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10063 echo "$as_me: failed program was:" >&5
10064 sed 's/^/| /' conftest.
$ac_ext >&5
10068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10071 # Binary search between lo and hi bounds.
10072 while test "x$ac_lo" != "x$ac_hi"; do
10073 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10074 cat >conftest.
$ac_ext <<_ACEOF
10077 cat confdefs.h
>>conftest.
$ac_ext
10078 cat >>conftest.
$ac_ext <<_ACEOF
10079 /* end confdefs.h. */
10080 #include <stddef.h>
10084 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
10091 rm -f conftest.
$ac_objext
10092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10093 (eval $ac_compile) 2>conftest.er1
10095 grep -v '^ *+' conftest.er1
>conftest.err
10097 cat conftest.err
>&5
10098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10099 (exit $ac_status); } &&
10100 { ac_try
='test -z "$ac_c_werror_flag"
10101 || test ! -s conftest.err'
10102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10103 (eval $ac_try) 2>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); }; } &&
10107 { ac_try
='test -s conftest.$ac_objext'
10108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109 (eval $ac_try) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; }; then
10115 echo "$as_me: failed program was:" >&5
10116 sed 's/^/| /' conftest.
$ac_ext >&5
10118 ac_lo
=`expr '(' $ac_mid ')' + 1`
10120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10123 ?
*) res_lo
=$ac_lo;;
10127 if test "$cross_compiling" = yes; then
10128 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10129 See \`config.log' for more details." >&5
10130 echo "$as_me: error: cannot run test program while cross compiling
10131 See \`config.log' for more details." >&2;}
10132 { (exit 1); exit 1; }; }
10134 cat >conftest.
$ac_ext <<_ACEOF
10137 cat confdefs.h
>>conftest.
$ac_ext
10138 cat >>conftest.
$ac_ext <<_ACEOF
10139 /* end confdefs.h. */
10140 #include <stddef.h>
10141 long longval () { return ~(size_t)0 % 10; }
10142 unsigned long ulongval () { return ~(size_t)0 % 10; }
10144 #include <stdlib.h>
10149 FILE *f = fopen ("conftest.val", "w");
10152 if ((~(size_t)0 % 10) < 0)
10154 long i = longval ();
10155 if (i != (~(size_t)0 % 10))
10157 fprintf (f, "%ld\n", i);
10161 unsigned long i = ulongval ();
10162 if (i != (~(size_t)0 % 10))
10164 fprintf (f, "%lu\n", i);
10166 exit (ferror (f) || fclose (f) != 0);
10172 rm -f conftest
$ac_exeext
10173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10174 (eval $ac_link) 2>&5
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10179 (eval $ac_try) 2>&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); }; }; then
10183 res_lo
=`cat conftest.val`
10185 echo "$as_me: program exited with status $ac_status" >&5
10186 echo "$as_me: failed program was:" >&5
10187 sed 's/^/| /' conftest.
$ac_ext >&5
10189 ( exit $ac_status )
10192 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10196 if test "$cross_compiling" = yes; then
10197 # Depending upon the size, compute the lo and hi bounds.
10198 cat >conftest.
$ac_ext <<_ACEOF
10201 cat confdefs.h
>>conftest.
$ac_ext
10202 cat >>conftest.
$ac_ext <<_ACEOF
10203 /* end confdefs.h. */
10204 #include <stddef.h>
10208 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
10215 rm -f conftest.
$ac_objext
10216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10217 (eval $ac_compile) 2>conftest.er1
10219 grep -v '^ *+' conftest.er1
>conftest.err
10221 cat conftest.err
>&5
10222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223 (exit $ac_status); } &&
10224 { ac_try
='test -z "$ac_c_werror_flag"
10225 || test ! -s conftest.err'
10226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227 (eval $ac_try) 2>&5
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }; } &&
10231 { ac_try
='test -s conftest.$ac_objext'
10232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10233 (eval $ac_try) 2>&5
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); }; }; then
10239 cat >conftest.
$ac_ext <<_ACEOF
10242 cat confdefs.h
>>conftest.
$ac_ext
10243 cat >>conftest.
$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10245 #include <stddef.h>
10249 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
10256 rm -f conftest.
$ac_objext
10257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10258 (eval $ac_compile) 2>conftest.er1
10260 grep -v '^ *+' conftest.er1
>conftest.err
10262 cat conftest.err
>&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); } &&
10265 { ac_try
='test -z "$ac_c_werror_flag"
10266 || test ! -s conftest.err'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; } &&
10272 { ac_try
='test -s conftest.$ac_objext'
10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10274 (eval $ac_try) 2>&5
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; }; then
10278 ac_hi
=$ac_mid; break
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.
$ac_ext >&5
10283 ac_lo
=`expr $ac_mid + 1`
10284 if test $ac_lo -le $ac_mid; then
10288 ac_mid
=`expr 2 '*' $ac_mid + 1`
10290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10293 echo "$as_me: failed program was:" >&5
10294 sed 's/^/| /' conftest.
$ac_ext >&5
10296 cat >conftest.
$ac_ext <<_ACEOF
10299 cat confdefs.h
>>conftest.
$ac_ext
10300 cat >>conftest.
$ac_ext <<_ACEOF
10301 /* end confdefs.h. */
10302 #include <stddef.h>
10306 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
10313 rm -f conftest.
$ac_objext
10314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10315 (eval $ac_compile) 2>conftest.er1
10317 grep -v '^ *+' conftest.er1
>conftest.err
10319 cat conftest.err
>&5
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); } &&
10322 { ac_try
='test -z "$ac_c_werror_flag"
10323 || test ! -s conftest.err'
10324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10325 (eval $ac_try) 2>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); }; } &&
10329 { ac_try
='test -s conftest.$ac_objext'
10330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331 (eval $ac_try) 2>&5
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); }; }; then
10337 cat >conftest.
$ac_ext <<_ACEOF
10340 cat confdefs.h
>>conftest.
$ac_ext
10341 cat >>conftest.
$ac_ext <<_ACEOF
10342 /* end confdefs.h. */
10343 #include <stddef.h>
10347 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
10354 rm -f conftest.
$ac_objext
10355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10356 (eval $ac_compile) 2>conftest.er1
10358 grep -v '^ *+' conftest.er1
>conftest.err
10360 cat conftest.err
>&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); } &&
10363 { ac_try
='test -z "$ac_c_werror_flag"
10364 || test ! -s conftest.err'
10365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10366 (eval $ac_try) 2>&5
10368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 (exit $ac_status); }; } &&
10370 { ac_try
='test -s conftest.$ac_objext'
10371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372 (eval $ac_try) 2>&5
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); }; }; then
10376 ac_lo
=$ac_mid; break
10378 echo "$as_me: failed program was:" >&5
10379 sed 's/^/| /' conftest.
$ac_ext >&5
10381 ac_hi
=`expr '(' $ac_mid ')' - 1`
10382 if test $ac_mid -le $ac_hi; then
10386 ac_mid
=`expr 2 '*' $ac_mid`
10388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10391 echo "$as_me: failed program was:" >&5
10392 sed 's/^/| /' conftest.
$ac_ext >&5
10396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10399 # Binary search between lo and hi bounds.
10400 while test "x$ac_lo" != "x$ac_hi"; do
10401 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10402 cat >conftest.
$ac_ext <<_ACEOF
10405 cat confdefs.h
>>conftest.
$ac_ext
10406 cat >>conftest.
$ac_ext <<_ACEOF
10407 /* end confdefs.h. */
10408 #include <stddef.h>
10412 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
10419 rm -f conftest.
$ac_objext
10420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10421 (eval $ac_compile) 2>conftest.er1
10423 grep -v '^ *+' conftest.er1
>conftest.err
10425 cat conftest.err
>&5
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); } &&
10428 { ac_try
='test -z "$ac_c_werror_flag"
10429 || test ! -s conftest.err'
10430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431 (eval $ac_try) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; } &&
10435 { ac_try
='test -s conftest.$ac_objext'
10436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10437 (eval $ac_try) 2>&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); }; }; then
10443 echo "$as_me: failed program was:" >&5
10444 sed 's/^/| /' conftest.
$ac_ext >&5
10446 ac_lo
=`expr '(' $ac_mid ')' + 1`
10448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10451 ?
*) fits_in_uint
=$ac_lo;;
10455 if test "$cross_compiling" = yes; then
10456 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10457 See \`config.log' for more details." >&5
10458 echo "$as_me: error: cannot run test program while cross compiling
10459 See \`config.log' for more details." >&2;}
10460 { (exit 1); exit 1; }; }
10462 cat >conftest.
$ac_ext <<_ACEOF
10465 cat confdefs.h
>>conftest.
$ac_ext
10466 cat >>conftest.
$ac_ext <<_ACEOF
10467 /* end confdefs.h. */
10468 #include <stddef.h>
10469 long longval () { return sizeof (size_t) <= sizeof (unsigned int); }
10470 unsigned long ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
10472 #include <stdlib.h>
10477 FILE *f = fopen ("conftest.val", "w");
10480 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
10482 long i = longval ();
10483 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
10485 fprintf (f, "%ld\n", i);
10489 unsigned long i = ulongval ();
10490 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
10492 fprintf (f, "%lu\n", i);
10494 exit (ferror (f) || fclose (f) != 0);
10500 rm -f conftest
$ac_exeext
10501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10502 (eval $ac_link) 2>&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507 (eval $ac_try) 2>&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }; }; then
10511 fits_in_uint
=`cat conftest.val`
10513 echo "$as_me: program exited with status $ac_status" >&5
10514 echo "$as_me: failed program was:" >&5
10515 sed 's/^/| /' conftest.
$ac_ext >&5
10517 ( exit $ac_status )
10520 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10524 if test "$fits_in_uint" = 1; then
10525 cat >conftest.
$ac_ext <<_ACEOF
10528 cat confdefs.h
>>conftest.
$ac_ext
10529 cat >>conftest.
$ac_ext <<_ACEOF
10530 /* end confdefs.h. */
10531 #include <stddef.h>
10533 extern unsigned long foo;
10543 rm -f conftest.
$ac_objext
10544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10545 (eval $ac_compile) 2>conftest.er1
10547 grep -v '^ *+' conftest.er1
>conftest.err
10549 cat conftest.err
>&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } &&
10552 { ac_try
='test -z "$ac_c_werror_flag"
10553 || test ! -s conftest.err'
10554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10555 (eval $ac_try) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; } &&
10559 { ac_try
='test -s conftest.$ac_objext'
10560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10561 (eval $ac_try) 2>&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); }; }; then
10567 echo "$as_me: failed program was:" >&5
10568 sed 's/^/| /' conftest.
$ac_ext >&5
10571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10573 if test -z "$result"; then
10574 if test "$fits_in_uint" = 1; then
10575 result
="$res_hi$res_lo"U
10577 result
="$res_hi$res_lo"UL
10580 result
='~(size_t)0'
10583 echo "$as_me:$LINENO: result: $result" >&5
10584 echo "${ECHO_T}$result" >&6
10585 if test "$result" != yes; then
10587 cat >>confdefs.h
<<_ACEOF
10588 #define SIZE_MAX $result
10596 for ac_header
in stdint.h
10598 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10608 # Is the header compilable?
10609 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10611 cat >conftest.
$ac_ext <<_ACEOF
10614 cat confdefs.h
>>conftest.
$ac_ext
10615 cat >>conftest.
$ac_ext <<_ACEOF
10616 /* end confdefs.h. */
10617 $ac_includes_default
10618 #include <$ac_header>
10620 rm -f conftest.
$ac_objext
10621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10622 (eval $ac_compile) 2>conftest.er1
10624 grep -v '^ *+' conftest.er1
>conftest.err
10626 cat conftest.err
>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); } &&
10629 { ac_try
='test -z "$ac_c_werror_flag"
10630 || test ! -s conftest.err'
10631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10632 (eval $ac_try) 2>&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); }; } &&
10636 { ac_try
='test -s conftest.$ac_objext'
10637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10638 (eval $ac_try) 2>&5
10640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641 (exit $ac_status); }; }; then
10642 ac_header_compiler
=yes
10644 echo "$as_me: failed program was:" >&5
10645 sed 's/^/| /' conftest.
$ac_ext >&5
10647 ac_header_compiler
=no
10649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10650 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10651 echo "${ECHO_T}$ac_header_compiler" >&6
10653 # Is the header present?
10654 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10655 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10656 cat >conftest.
$ac_ext <<_ACEOF
10659 cat confdefs.h
>>conftest.
$ac_ext
10660 cat >>conftest.
$ac_ext <<_ACEOF
10661 /* end confdefs.h. */
10662 #include <$ac_header>
10664 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10665 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10667 grep -v '^ *+' conftest.er1
>conftest.err
10669 cat conftest.err
>&5
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); } >/dev
/null
; then
10672 if test -s conftest.err
; then
10673 ac_cpp_err
=$ac_c_preproc_warn_flag
10674 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10681 if test -z "$ac_cpp_err"; then
10682 ac_header_preproc
=yes
10684 echo "$as_me: failed program was:" >&5
10685 sed 's/^/| /' conftest.
$ac_ext >&5
10687 ac_header_preproc
=no
10689 rm -f conftest.err conftest.
$ac_ext
10690 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10691 echo "${ECHO_T}$ac_header_preproc" >&6
10693 # So? What about this header?
10694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10696 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10697 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10699 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10700 ac_header_preproc
=yes
10703 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10704 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10705 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10706 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10707 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10708 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10709 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10710 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10712 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10713 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10714 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10717 ## -------------------------------------- ##
10718 ## Report this to the GNU Texinfo lists. ##
10719 ## -------------------------------------- ##
10722 sed "s/^/$as_me: WARNING: /" >&2
10725 echo "$as_me:$LINENO: checking for $ac_header" >&5
10726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 eval "$as_ac_Header=\$ac_header_preproc"
10732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10737 cat >>confdefs.h
<<_ACEOF
10738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10747 if test "X$prefix" = "XNONE"; then
10748 acl_final_prefix
="$ac_default_prefix"
10750 acl_final_prefix
="$prefix"
10752 if test "X$exec_prefix" = "XNONE"; then
10753 acl_final_exec_prefix
='${prefix}'
10755 acl_final_exec_prefix
="$exec_prefix"
10757 acl_save_prefix
="$prefix"
10758 prefix
="$acl_final_prefix"
10759 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10760 prefix
="$acl_save_prefix"
10763 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10764 if test "${with_gnu_ld+set}" = set; then
10765 withval
="$with_gnu_ld"
10766 test "$withval" = no || with_gnu_ld
=yes
10770 # Prepare PATH_SEPARATOR.
10771 # The user is always right.
10772 if test "${PATH_SEPARATOR+set}" != set; then
10773 echo "#! /bin/sh" >conf$$.sh
10774 echo "exit 0" >>conf$$.sh
10776 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10784 if test "$GCC" = yes; then
10785 # Check if gcc -print-prog-name=ld gives a path.
10786 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10787 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10790 # gcc leaves a trailing carriage return which upsets mingw
10791 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10793 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10796 # Accept absolute paths.
10797 [\\/]* |
[A-Za-z
]:[\\/]*)
10798 re_direlt
='/[^/][^/]*/\.\./'
10799 # Canonicalize the path of ld
10800 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10801 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10802 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10804 test -z "$LD" && LD
="$ac_prog"
10807 # If it fails, then pretend we aren't using GCC.
10811 # If it is relative, then search for the first ld in PATH.
10812 with_gnu_ld
=unknown
10815 elif test "$with_gnu_ld" = yes; then
10816 echo "$as_me:$LINENO: checking for GNU ld" >&5
10817 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10819 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10820 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10822 if test "${acl_cv_path_LD+set}" = set; then
10823 echo $ECHO_N "(cached) $ECHO_C" >&6
10825 if test -z "$LD"; then
10826 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10827 for ac_dir
in $PATH; do
10828 test -z "$ac_dir" && ac_dir
=.
10829 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10830 acl_cv_path_LD
="$ac_dir/$ac_prog"
10831 # Check to see if the program is GNU ld. I'd rather use --version,
10832 # but apparently some GNU ld's only accept -v.
10833 # Break only if it was the GNU/non-GNU ld that we prefer.
10834 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
10835 *GNU
* |
*'with BFD'*)
10836 test "$with_gnu_ld" != no
&& break ;;
10838 test "$with_gnu_ld" != yes && break ;;
10844 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10848 LD
="$acl_cv_path_LD"
10849 if test -n "$LD"; then
10850 echo "$as_me:$LINENO: result: $LD" >&5
10851 echo "${ECHO_T}$LD" >&6
10853 echo "$as_me:$LINENO: result: no" >&5
10854 echo "${ECHO_T}no" >&6
10856 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10857 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10858 { (exit 1); exit 1; }; }
10859 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10860 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10861 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10862 echo $ECHO_N "(cached) $ECHO_C" >&6
10864 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10865 case `$LD -v 2>&1 </dev/null` in
10866 *GNU
* |
*'with BFD'*)
10867 acl_cv_prog_gnu_ld
=yes ;;
10869 acl_cv_prog_gnu_ld
=no
;;
10872 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10873 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10874 with_gnu_ld
=$acl_cv_prog_gnu_ld
10878 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10879 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10880 if test "${acl_cv_rpath+set}" = set; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10884 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10885 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10887 rm -f .
/conftest.sh
10891 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10892 echo "${ECHO_T}$acl_cv_rpath" >&6
10894 libext
="$acl_cv_libext"
10895 shlibext
="$acl_cv_shlibext"
10896 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10897 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10898 hardcode_direct
="$acl_cv_hardcode_direct"
10899 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10900 # Check whether --enable-rpath or --disable-rpath was given.
10901 if test "${enable_rpath+set}" = set; then
10902 enableval
="$enable_rpath"
10916 acl_save_prefix
="$prefix"
10917 prefix
="$acl_final_prefix"
10918 acl_save_exec_prefix
="$exec_prefix"
10919 exec_prefix
="$acl_final_exec_prefix"
10921 eval additional_includedir
=\"$includedir\"
10922 eval additional_libdir
=\"$libdir\"
10924 exec_prefix
="$acl_save_exec_prefix"
10925 prefix
="$acl_save_prefix"
10928 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
10929 if test "${with_libiconv_prefix+set}" = set; then
10930 withval
="$with_libiconv_prefix"
10932 if test "X$withval" = "Xno"; then
10935 if test "X$withval" = "X"; then
10937 acl_save_prefix
="$prefix"
10938 prefix
="$acl_final_prefix"
10939 acl_save_exec_prefix
="$exec_prefix"
10940 exec_prefix
="$acl_final_exec_prefix"
10942 eval additional_includedir
=\"$includedir\"
10943 eval additional_libdir
=\"$libdir\"
10945 exec_prefix
="$acl_save_exec_prefix"
10946 prefix
="$acl_save_prefix"
10949 additional_includedir
="$withval/include"
10950 additional_libdir
="$withval/lib"
10960 names_already_handled
=
10961 names_next_round
='iconv '
10962 while test -n "$names_next_round"; do
10963 names_this_round
="$names_next_round"
10965 for name
in $names_this_round; do
10967 for n
in $names_already_handled; do
10968 if test "$n" = "$name"; then
10969 already_handled
=yes
10973 if test -z "$already_handled"; then
10974 names_already_handled
="$names_already_handled $name"
10975 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10976 eval value
=\"\
$HAVE_LIB$uppername\"
10977 if test -n "$value"; then
10978 if test "$value" = yes; then
10979 eval value
=\"\
$LIB$uppername\"
10980 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
10981 eval value
=\"\
$LTLIB$uppername\"
10982 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
10991 if test $use_additional = yes; then
10992 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10993 found_dir
="$additional_libdir"
10994 found_so
="$additional_libdir/lib$name.$shlibext"
10995 if test -f "$additional_libdir/lib$name.la"; then
10996 found_la
="$additional_libdir/lib$name.la"
10999 if test -f "$additional_libdir/lib$name.$libext"; then
11000 found_dir
="$additional_libdir"
11001 found_a
="$additional_libdir/lib$name.$libext"
11002 if test -f "$additional_libdir/lib$name.la"; then
11003 found_la
="$additional_libdir/lib$name.la"
11008 if test "X$found_dir" = "X"; then
11009 for x
in $LDFLAGS $LTLIBICONV; do
11011 acl_save_prefix
="$prefix"
11012 prefix
="$acl_final_prefix"
11013 acl_save_exec_prefix
="$exec_prefix"
11014 exec_prefix
="$acl_final_exec_prefix"
11016 exec_prefix
="$acl_save_exec_prefix"
11017 prefix
="$acl_save_prefix"
11021 dir
=`echo "X$x" | sed -e 's/^X-L//'`
11022 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
11024 found_so
="$dir/lib$name.$shlibext"
11025 if test -f "$dir/lib$name.la"; then
11026 found_la
="$dir/lib$name.la"
11029 if test -f "$dir/lib$name.$libext"; then
11031 found_a
="$dir/lib$name.$libext"
11032 if test -f "$dir/lib$name.la"; then
11033 found_la
="$dir/lib$name.la"
11039 if test "X$found_dir" != "X"; then
11044 if test "X$found_dir" != "X"; then
11045 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
11046 if test "X$found_so" != "X"; then
11047 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
11048 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
11051 for x
in $ltrpathdirs; do
11052 if test "X$x" = "X$found_dir"; then
11057 if test -z "$haveit"; then
11058 ltrpathdirs
="$ltrpathdirs $found_dir"
11060 if test "$hardcode_direct" = yes; then
11061 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
11063 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
11064 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
11066 for x
in $rpathdirs; do
11067 if test "X$x" = "X$found_dir"; then
11072 if test -z "$haveit"; then
11073 rpathdirs
="$rpathdirs $found_dir"
11077 for x
in $LDFLAGS $LIBICONV; do
11079 acl_save_prefix
="$prefix"
11080 prefix
="$acl_final_prefix"
11081 acl_save_exec_prefix
="$exec_prefix"
11082 exec_prefix
="$acl_final_exec_prefix"
11084 exec_prefix
="$acl_save_exec_prefix"
11085 prefix
="$acl_save_prefix"
11087 if test "X$x" = "X-L$found_dir"; then
11092 if test -z "$haveit"; then
11093 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
11095 if test "$hardcode_minus_L" != no
; then
11096 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
11098 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
11104 if test "X$found_a" != "X"; then
11105 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
11107 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
11110 additional_includedir
=
11111 case "$found_dir" in
11113 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
11114 additional_includedir
="$basedir/include"
11117 if test "X$additional_includedir" != "X"; then
11118 if test "X$additional_includedir" != "X/usr/include"; then
11120 if test "X$additional_includedir" = "X/usr/local/include"; then
11121 if test -n "$GCC"; then
11123 linux
*) haveit
=yes;;
11127 if test -z "$haveit"; then
11128 for x
in $CPPFLAGS $INCICONV; do
11130 acl_save_prefix
="$prefix"
11131 prefix
="$acl_final_prefix"
11132 acl_save_exec_prefix
="$exec_prefix"
11133 exec_prefix
="$acl_final_exec_prefix"
11135 exec_prefix
="$acl_save_exec_prefix"
11136 prefix
="$acl_save_prefix"
11138 if test "X$x" = "X-I$additional_includedir"; then
11143 if test -z "$haveit"; then
11144 if test -d "$additional_includedir"; then
11145 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
11151 if test -n "$found_la"; then
11152 save_libdir
="$libdir"
11153 case "$found_la" in
11154 */* |
*\\*) .
"$found_la" ;;
11155 *) .
"./$found_la" ;;
11157 libdir
="$save_libdir"
11158 for dep
in $dependency_libs; do
11161 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
11162 if test "X$additional_libdir" != "X/usr/lib"; then
11164 if test "X$additional_libdir" = "X/usr/local/lib"; then
11165 if test -n "$GCC"; then
11167 linux
*) haveit
=yes;;
11171 if test -z "$haveit"; then
11173 for x
in $LDFLAGS $LIBICONV; do
11175 acl_save_prefix
="$prefix"
11176 prefix
="$acl_final_prefix"
11177 acl_save_exec_prefix
="$exec_prefix"
11178 exec_prefix
="$acl_final_exec_prefix"
11180 exec_prefix
="$acl_save_exec_prefix"
11181 prefix
="$acl_save_prefix"
11183 if test "X$x" = "X-L$additional_libdir"; then
11188 if test -z "$haveit"; then
11189 if test -d "$additional_libdir"; then
11190 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
11194 for x
in $LDFLAGS $LTLIBICONV; do
11196 acl_save_prefix
="$prefix"
11197 prefix
="$acl_final_prefix"
11198 acl_save_exec_prefix
="$exec_prefix"
11199 exec_prefix
="$acl_final_exec_prefix"
11201 exec_prefix
="$acl_save_exec_prefix"
11202 prefix
="$acl_save_prefix"
11204 if test "X$x" = "X-L$additional_libdir"; then
11209 if test -z "$haveit"; then
11210 if test -d "$additional_libdir"; then
11211 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
11218 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
11219 if test "$enable_rpath" != no
; then
11221 for x
in $rpathdirs; do
11222 if test "X$x" = "X$dir"; then
11227 if test -z "$haveit"; then
11228 rpathdirs
="$rpathdirs $dir"
11231 for x
in $ltrpathdirs; do
11232 if test "X$x" = "X$dir"; then
11237 if test -z "$haveit"; then
11238 ltrpathdirs
="$ltrpathdirs $dir"
11243 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11246 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11249 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
11250 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
11256 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
11257 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
11263 if test "X$rpathdirs" != "X"; then
11264 if test -n "$hardcode_libdir_separator"; then
11266 for found_dir
in $rpathdirs; do
11267 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
11269 acl_save_libdir
="$libdir"
11271 eval flag
=\"$hardcode_libdir_flag_spec\"
11272 libdir
="$acl_save_libdir"
11273 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
11275 for found_dir
in $rpathdirs; do
11276 acl_save_libdir
="$libdir"
11277 libdir
="$found_dir"
11278 eval flag
=\"$hardcode_libdir_flag_spec\"
11279 libdir
="$acl_save_libdir"
11280 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
11284 if test "X$ltrpathdirs" != "X"; then
11285 for found_dir
in $ltrpathdirs; do
11286 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
11297 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
11298 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
11299 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 cat >conftest.
$ac_ext <<_ACEOF
11305 cat confdefs.h
>>conftest.
$ac_ext
11306 cat >>conftest.
$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11308 $ac_includes_default
11312 if ((ptrdiff_t *) 0)
11314 if (sizeof (ptrdiff_t))
11320 rm -f conftest.
$ac_objext
11321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11322 (eval $ac_compile) 2>conftest.er1
11324 grep -v '^ *+' conftest.er1
>conftest.err
11326 cat conftest.err
>&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); } &&
11329 { ac_try
='test -z "$ac_c_werror_flag"
11330 || test ! -s conftest.err'
11331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332 (eval $ac_try) 2>&5
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }; } &&
11336 { ac_try
='test -s conftest.$ac_objext'
11337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11338 (eval $ac_try) 2>&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); }; }; then
11342 ac_cv_type_ptrdiff_t
=yes
11344 echo "$as_me: failed program was:" >&5
11345 sed 's/^/| /' conftest.
$ac_ext >&5
11347 ac_cv_type_ptrdiff_t
=no
11349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11351 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
11352 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
11353 if test $ac_cv_type_ptrdiff_t = yes; then
11357 cat >>confdefs.h
<<\_ACEOF
11358 #define ptrdiff_t long
11374 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
11375 stdlib.h string.h unistd.h sys
/param.h
11377 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11379 echo "$as_me:$LINENO: checking for $ac_header" >&5
11380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11382 echo $ECHO_N "(cached) $ECHO_C" >&6
11384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11387 # Is the header compilable?
11388 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11390 cat >conftest.
$ac_ext <<_ACEOF
11393 cat confdefs.h
>>conftest.
$ac_ext
11394 cat >>conftest.
$ac_ext <<_ACEOF
11395 /* end confdefs.h. */
11396 $ac_includes_default
11397 #include <$ac_header>
11399 rm -f conftest.
$ac_objext
11400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11401 (eval $ac_compile) 2>conftest.er1
11403 grep -v '^ *+' conftest.er1
>conftest.err
11405 cat conftest.err
>&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); } &&
11408 { ac_try
='test -z "$ac_c_werror_flag"
11409 || test ! -s conftest.err'
11410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11411 (eval $ac_try) 2>&5
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); }; } &&
11415 { ac_try
='test -s conftest.$ac_objext'
11416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11417 (eval $ac_try) 2>&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); }; }; then
11421 ac_header_compiler
=yes
11423 echo "$as_me: failed program was:" >&5
11424 sed 's/^/| /' conftest.
$ac_ext >&5
11426 ac_header_compiler
=no
11428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11429 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11430 echo "${ECHO_T}$ac_header_compiler" >&6
11432 # Is the header present?
11433 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11434 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11435 cat >conftest.
$ac_ext <<_ACEOF
11438 cat confdefs.h
>>conftest.
$ac_ext
11439 cat >>conftest.
$ac_ext <<_ACEOF
11440 /* end confdefs.h. */
11441 #include <$ac_header>
11443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11444 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11446 grep -v '^ *+' conftest.er1
>conftest.err
11448 cat conftest.err
>&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); } >/dev
/null
; then
11451 if test -s conftest.err
; then
11452 ac_cpp_err
=$ac_c_preproc_warn_flag
11453 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11460 if test -z "$ac_cpp_err"; then
11461 ac_header_preproc
=yes
11463 echo "$as_me: failed program was:" >&5
11464 sed 's/^/| /' conftest.
$ac_ext >&5
11466 ac_header_preproc
=no
11468 rm -f conftest.err conftest.
$ac_ext
11469 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11470 echo "${ECHO_T}$ac_header_preproc" >&6
11472 # So? What about this header?
11473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11476 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11478 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11479 ac_header_preproc
=yes
11482 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11483 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11484 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11485 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11486 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11487 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11488 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11489 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11492 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11493 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11496 ## -------------------------------------- ##
11497 ## Report this to the GNU Texinfo lists. ##
11498 ## -------------------------------------- ##
11501 sed "s/^/$as_me: WARNING: /" >&2
11504 echo "$as_me:$LINENO: checking for $ac_header" >&5
11505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11507 echo $ECHO_N "(cached) $ECHO_C" >&6
11509 eval "$as_ac_Header=\$ac_header_preproc"
11511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11516 cat >>confdefs.h
<<_ACEOF
11517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11547 for ac_func
in asprintf fwprintf getcwd getegid geteuid getgid getuid \
11548 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
11549 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
11552 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11553 echo "$as_me:$LINENO: checking for $ac_func" >&5
11554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11555 if eval "test \"\${$as_ac_var+set}\" = set"; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 cat >conftest.
$ac_ext <<_ACEOF
11561 cat confdefs.h
>>conftest.
$ac_ext
11562 cat >>conftest.
$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11566 #define $ac_func innocuous_$ac_func
11568 /* System header to define __stub macros and hopefully few prototypes,
11569 which can conflict with char $ac_func (); below.
11570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11571 <limits.h> exists even on freestanding compilers. */
11574 # include <limits.h>
11576 # include <assert.h>
11581 /* Override any gcc2 internal prototype to avoid an error. */
11586 /* We use char because int might match the return type of a gcc2
11587 builtin and then its argument prototype would still apply. */
11589 /* The GNU C library defines this for functions which it implements
11590 to always fail with ENOSYS. Some functions are actually named
11591 something starting with __ and the normal name is an alias. */
11592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11595 char (*f) () = $ac_func;
11604 return f != $ac_func;
11609 rm -f conftest.
$ac_objext conftest
$ac_exeext
11610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11611 (eval $ac_link) 2>conftest.er1
11613 grep -v '^ *+' conftest.er1
>conftest.err
11615 cat conftest.err
>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); } &&
11618 { ac_try
='test -z "$ac_c_werror_flag"
11619 || test ! -s conftest.err'
11620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11621 (eval $ac_try) 2>&5
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); }; } &&
11625 { ac_try
='test -s conftest$ac_exeext'
11626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11627 (eval $ac_try) 2>&5
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); }; }; then
11631 eval "$as_ac_var=yes"
11633 echo "$as_me: failed program was:" >&5
11634 sed 's/^/| /' conftest.
$ac_ext >&5
11636 eval "$as_ac_var=no"
11638 rm -f conftest.err conftest.
$ac_objext \
11639 conftest
$ac_exeext conftest.
$ac_ext
11641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11643 if test `eval echo '${'$as_ac_var'}'` = yes; then
11644 cat >>confdefs.h
<<_ACEOF
11645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11653 echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
11654 echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6
11655 if test "${ac_cv_have_decl__snprintf+set}" = set; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6
11658 cat >conftest.
$ac_ext <<_ACEOF
11661 cat confdefs.h
>>conftest.
$ac_ext
11662 cat >>conftest.
$ac_ext <<_ACEOF
11663 /* end confdefs.h. */
11670 char *p = (char *) _snprintf;
11677 rm -f conftest.
$ac_objext
11678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11679 (eval $ac_compile) 2>conftest.er1
11681 grep -v '^ *+' conftest.er1
>conftest.err
11683 cat conftest.err
>&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); } &&
11686 { ac_try
='test -z "$ac_c_werror_flag"
11687 || test ! -s conftest.err'
11688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11689 (eval $ac_try) 2>&5
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; } &&
11693 { ac_try
='test -s conftest.$ac_objext'
11694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11695 (eval $ac_try) 2>&5
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); }; }; then
11699 ac_cv_have_decl__snprintf
=yes
11701 echo "$as_me: failed program was:" >&5
11702 sed 's/^/| /' conftest.
$ac_ext >&5
11704 ac_cv_have_decl__snprintf
=no
11706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11708 echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
11709 echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6
11710 if test $ac_cv_have_decl__snprintf = yes; then
11716 cat >>confdefs.h
<<_ACEOF
11717 #define HAVE_DECL__SNPRINTF $gt_value
11722 echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
11723 echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6
11724 if test "${ac_cv_have_decl__snwprintf+set}" = set; then
11725 echo $ECHO_N "(cached) $ECHO_C" >&6
11727 cat >conftest.
$ac_ext <<_ACEOF
11730 cat confdefs.h
>>conftest.
$ac_ext
11731 cat >>conftest.
$ac_ext <<_ACEOF
11732 /* end confdefs.h. */
11739 char *p = (char *) _snwprintf;
11746 rm -f conftest.
$ac_objext
11747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11748 (eval $ac_compile) 2>conftest.er1
11750 grep -v '^ *+' conftest.er1
>conftest.err
11752 cat conftest.err
>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } &&
11755 { ac_try
='test -z "$ac_c_werror_flag"
11756 || test ! -s conftest.err'
11757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11758 (eval $ac_try) 2>&5
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); }; } &&
11762 { ac_try
='test -s conftest.$ac_objext'
11763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11764 (eval $ac_try) 2>&5
11766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11767 (exit $ac_status); }; }; then
11768 ac_cv_have_decl__snwprintf
=yes
11770 echo "$as_me: failed program was:" >&5
11771 sed 's/^/| /' conftest.
$ac_ext >&5
11773 ac_cv_have_decl__snwprintf
=no
11775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11777 echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
11778 echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6
11779 if test $ac_cv_have_decl__snwprintf = yes; then
11785 cat >>confdefs.h
<<_ACEOF
11786 #define HAVE_DECL__SNWPRINTF $gt_value
11792 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
11793 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
11794 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
11795 echo $ECHO_N "(cached) $ECHO_C" >&6
11797 cat >conftest.
$ac_ext <<_ACEOF
11800 cat confdefs.h
>>conftest.
$ac_ext
11801 cat >>conftest.
$ac_ext <<_ACEOF
11802 /* end confdefs.h. */
11808 #ifndef feof_unlocked
11809 char *p = (char *) feof_unlocked;
11816 rm -f conftest.
$ac_objext
11817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11818 (eval $ac_compile) 2>conftest.er1
11820 grep -v '^ *+' conftest.er1
>conftest.err
11822 cat conftest.err
>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); } &&
11825 { ac_try
='test -z "$ac_c_werror_flag"
11826 || test ! -s conftest.err'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; } &&
11832 { ac_try
='test -s conftest.$ac_objext'
11833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11834 (eval $ac_try) 2>&5
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }; }; then
11838 ac_cv_have_decl_feof_unlocked
=yes
11840 echo "$as_me: failed program was:" >&5
11841 sed 's/^/| /' conftest.
$ac_ext >&5
11843 ac_cv_have_decl_feof_unlocked
=no
11845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11847 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
11848 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
11849 if test $ac_cv_have_decl_feof_unlocked = yes; then
11855 cat >>confdefs.h
<<_ACEOF
11856 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
11861 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
11862 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
11863 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
11864 echo $ECHO_N "(cached) $ECHO_C" >&6
11866 cat >conftest.
$ac_ext <<_ACEOF
11869 cat confdefs.h
>>conftest.
$ac_ext
11870 cat >>conftest.
$ac_ext <<_ACEOF
11871 /* end confdefs.h. */
11877 #ifndef fgets_unlocked
11878 char *p = (char *) fgets_unlocked;
11885 rm -f conftest.
$ac_objext
11886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11887 (eval $ac_compile) 2>conftest.er1
11889 grep -v '^ *+' conftest.er1
>conftest.err
11891 cat conftest.err
>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); } &&
11894 { ac_try
='test -z "$ac_c_werror_flag"
11895 || test ! -s conftest.err'
11896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11897 (eval $ac_try) 2>&5
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); }; } &&
11901 { ac_try
='test -s conftest.$ac_objext'
11902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11903 (eval $ac_try) 2>&5
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); }; }; then
11907 ac_cv_have_decl_fgets_unlocked
=yes
11909 echo "$as_me: failed program was:" >&5
11910 sed 's/^/| /' conftest.
$ac_ext >&5
11912 ac_cv_have_decl_fgets_unlocked
=no
11914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11916 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
11917 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
11918 if test $ac_cv_have_decl_fgets_unlocked = yes; then
11924 cat >>confdefs.h
<<_ACEOF
11925 #define HAVE_DECL_FGETS_UNLOCKED $gt_value
11930 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
11931 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
11932 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 cat >conftest.
$ac_ext <<_ACEOF
11938 cat confdefs.h
>>conftest.
$ac_ext
11939 cat >>conftest.
$ac_ext <<_ACEOF
11940 /* end confdefs.h. */
11946 #ifndef getc_unlocked
11947 char *p = (char *) getc_unlocked;
11954 rm -f conftest.
$ac_objext
11955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11956 (eval $ac_compile) 2>conftest.er1
11958 grep -v '^ *+' conftest.er1
>conftest.err
11960 cat conftest.err
>&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); } &&
11963 { ac_try
='test -z "$ac_c_werror_flag"
11964 || test ! -s conftest.err'
11965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11966 (eval $ac_try) 2>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); }; } &&
11970 { ac_try
='test -s conftest.$ac_objext'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; }; then
11976 ac_cv_have_decl_getc_unlocked
=yes
11978 echo "$as_me: failed program was:" >&5
11979 sed 's/^/| /' conftest.
$ac_ext >&5
11981 ac_cv_have_decl_getc_unlocked
=no
11983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11985 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
11986 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
11987 if test $ac_cv_have_decl_getc_unlocked = yes; then
11993 cat >>confdefs.h
<<_ACEOF
11994 #define HAVE_DECL_GETC_UNLOCKED $gt_value
11999 case $gt_cv_func_printf_posix in
12000 *yes) HAVE_POSIX_PRINTF
=1 ;;
12001 *) HAVE_POSIX_PRINTF
=0 ;;
12004 if test "$ac_cv_func_asprintf" = yes; then
12010 if test "$ac_cv_func_snprintf" = yes; then
12016 if test "$ac_cv_func_wprintf" = yes; then
12028 am_save_CPPFLAGS
="$CPPFLAGS"
12030 for element
in $INCICONV; do
12032 for x
in $CPPFLAGS; do
12034 acl_save_prefix
="$prefix"
12035 prefix
="$acl_final_prefix"
12036 acl_save_exec_prefix
="$exec_prefix"
12037 exec_prefix
="$acl_final_exec_prefix"
12039 exec_prefix
="$acl_save_exec_prefix"
12040 prefix
="$acl_save_prefix"
12042 if test "X$x" = "X$element"; then
12047 if test -z "$haveit"; then
12048 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12053 echo "$as_me:$LINENO: checking for iconv" >&5
12054 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
12055 if test "${am_cv_func_iconv+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 am_cv_func_iconv
="no, consider installing GNU libiconv"
12061 cat >conftest.
$ac_ext <<_ACEOF
12064 cat confdefs.h
>>conftest.
$ac_ext
12065 cat >>conftest.
$ac_ext <<_ACEOF
12066 /* end confdefs.h. */
12067 #include <stdlib.h>
12072 iconv_t cd = iconv_open("","");
12073 iconv(cd,NULL,NULL,NULL,NULL);
12079 rm -f conftest.
$ac_objext conftest
$ac_exeext
12080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12081 (eval $ac_link) 2>conftest.er1
12083 grep -v '^ *+' conftest.er1
>conftest.err
12085 cat conftest.err
>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); } &&
12088 { ac_try
='test -z "$ac_c_werror_flag"
12089 || test ! -s conftest.err'
12090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12091 (eval $ac_try) 2>&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); }; } &&
12095 { ac_try
='test -s conftest$ac_exeext'
12096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12097 (eval $ac_try) 2>&5
12099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); }; }; then
12101 am_cv_func_iconv
=yes
12103 echo "$as_me: failed program was:" >&5
12104 sed 's/^/| /' conftest.
$ac_ext >&5
12107 rm -f conftest.err conftest.
$ac_objext \
12108 conftest
$ac_exeext conftest.
$ac_ext
12109 if test "$am_cv_func_iconv" != yes; then
12110 am_save_LIBS
="$LIBS"
12111 LIBS
="$LIBS $LIBICONV"
12112 cat >conftest.
$ac_ext <<_ACEOF
12115 cat confdefs.h
>>conftest.
$ac_ext
12116 cat >>conftest.
$ac_ext <<_ACEOF
12117 /* end confdefs.h. */
12118 #include <stdlib.h>
12123 iconv_t cd = iconv_open("","");
12124 iconv(cd,NULL,NULL,NULL,NULL);
12130 rm -f conftest.
$ac_objext conftest
$ac_exeext
12131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12132 (eval $ac_link) 2>conftest.er1
12134 grep -v '^ *+' conftest.er1
>conftest.err
12136 cat conftest.err
>&5
12137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138 (exit $ac_status); } &&
12139 { ac_try
='test -z "$ac_c_werror_flag"
12140 || test ! -s conftest.err'
12141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 (eval $ac_try) 2>&5
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }; } &&
12146 { ac_try
='test -s conftest$ac_exeext'
12147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12148 (eval $ac_try) 2>&5
12150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151 (exit $ac_status); }; }; then
12152 am_cv_lib_iconv
=yes
12153 am_cv_func_iconv
=yes
12155 echo "$as_me: failed program was:" >&5
12156 sed 's/^/| /' conftest.
$ac_ext >&5
12159 rm -f conftest.err conftest.
$ac_objext \
12160 conftest
$ac_exeext conftest.
$ac_ext
12161 LIBS
="$am_save_LIBS"
12165 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
12166 echo "${ECHO_T}$am_cv_func_iconv" >&6
12167 if test "$am_cv_func_iconv" = yes; then
12169 cat >>confdefs.h
<<\_ACEOF
12170 #define HAVE_ICONV 1
12174 if test "$am_cv_lib_iconv" = yes; then
12175 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
12176 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
12177 echo "$as_me:$LINENO: result: $LIBICONV" >&5
12178 echo "${ECHO_T}$LIBICONV" >&6
12180 CPPFLAGS
="$am_save_CPPFLAGS"
12187 if test "$am_cv_func_iconv" = yes; then
12188 echo "$as_me:$LINENO: checking for iconv declaration" >&5
12189 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
12190 if test "${am_cv_proto_iconv+set}" = set; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12194 cat >conftest.
$ac_ext <<_ACEOF
12197 cat confdefs.h
>>conftest.
$ac_ext
12198 cat >>conftest.
$ac_ext <<_ACEOF
12199 /* end confdefs.h. */
12201 #include <stdlib.h>
12207 #if defined(__STDC__) || defined(__cplusplus)
12208 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
12221 rm -f conftest.
$ac_objext
12222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12223 (eval $ac_compile) 2>conftest.er1
12225 grep -v '^ *+' conftest.er1
>conftest.err
12227 cat conftest.err
>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } &&
12230 { ac_try
='test -z "$ac_c_werror_flag"
12231 || test ! -s conftest.err'
12232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12233 (eval $ac_try) 2>&5
12235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); }; } &&
12237 { ac_try
='test -s conftest.$ac_objext'
12238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12239 (eval $ac_try) 2>&5
12241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242 (exit $ac_status); }; }; then
12243 am_cv_proto_iconv_arg1
=""
12245 echo "$as_me: failed program was:" >&5
12246 sed 's/^/| /' conftest.
$ac_ext >&5
12248 am_cv_proto_iconv_arg1
="const"
12250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12251 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);"
12254 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
12255 echo "$as_me:$LINENO: result: ${ac_t:-
12256 }$am_cv_proto_iconv" >&5
12257 echo "${ECHO_T}${ac_t:-
12258 }$am_cv_proto_iconv" >&6
12260 cat >>confdefs.h
<<_ACEOF
12261 #define ICONV_CONST $am_cv_proto_iconv_arg1
12267 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
12268 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
12269 if test "${am_cv_langinfo_codeset+set}" = set; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6
12272 cat >conftest.
$ac_ext <<_ACEOF
12275 cat confdefs.h
>>conftest.
$ac_ext
12276 cat >>conftest.
$ac_ext <<_ACEOF
12277 /* end confdefs.h. */
12278 #include <langinfo.h>
12282 char* cs = nl_langinfo(CODESET);
12287 rm -f conftest.
$ac_objext conftest
$ac_exeext
12288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12289 (eval $ac_link) 2>conftest.er1
12291 grep -v '^ *+' conftest.er1
>conftest.err
12293 cat conftest.err
>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); } &&
12296 { ac_try
='test -z "$ac_c_werror_flag"
12297 || test ! -s conftest.err'
12298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12299 (eval $ac_try) 2>&5
12301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); }; } &&
12303 { ac_try
='test -s conftest$ac_exeext'
12304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12305 (eval $ac_try) 2>&5
12307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 (exit $ac_status); }; }; then
12309 am_cv_langinfo_codeset
=yes
12311 echo "$as_me: failed program was:" >&5
12312 sed 's/^/| /' conftest.
$ac_ext >&5
12314 am_cv_langinfo_codeset
=no
12316 rm -f conftest.err conftest.
$ac_objext \
12317 conftest
$ac_exeext conftest.
$ac_ext
12320 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
12321 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
12322 if test $am_cv_langinfo_codeset = yes; then
12324 cat >>confdefs.h
<<\_ACEOF
12325 #define HAVE_LANGINFO_CODESET 1
12330 if test $ac_cv_header_locale_h = yes; then
12332 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
12333 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
12334 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
12335 echo $ECHO_N "(cached) $ECHO_C" >&6
12337 cat >conftest.
$ac_ext <<_ACEOF
12340 cat confdefs.h
>>conftest.
$ac_ext
12341 cat >>conftest.
$ac_ext <<_ACEOF
12342 /* end confdefs.h. */
12343 #include <locale.h>
12352 rm -f conftest.
$ac_objext conftest
$ac_exeext
12353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12354 (eval $ac_link) 2>conftest.er1
12356 grep -v '^ *+' conftest.er1
>conftest.err
12358 cat conftest.err
>&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); } &&
12361 { ac_try
='test -z "$ac_c_werror_flag"
12362 || test ! -s conftest.err'
12363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12364 (eval $ac_try) 2>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); }; } &&
12368 { ac_try
='test -s conftest$ac_exeext'
12369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12370 (eval $ac_try) 2>&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); }; }; then
12374 am_cv_val_LC_MESSAGES
=yes
12376 echo "$as_me: failed program was:" >&5
12377 sed 's/^/| /' conftest.
$ac_ext >&5
12379 am_cv_val_LC_MESSAGES
=no
12381 rm -f conftest.err conftest.
$ac_objext \
12382 conftest
$ac_exeext conftest.
$ac_ext
12384 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
12385 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
12386 if test $am_cv_val_LC_MESSAGES = yes; then
12388 cat >>confdefs.h
<<\_ACEOF
12389 #define HAVE_LC_MESSAGES 1
12396 for ac_prog
in bison
12398 # Extract the first word of "$ac_prog", so it can be a program name with args.
12399 set dummy
$ac_prog; ac_word
=$2
12400 echo "$as_me:$LINENO: checking for $ac_word" >&5
12401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12402 if test "${ac_cv_prog_INTLBISON+set}" = set; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6
12405 if test -n "$INTLBISON"; then
12406 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
12408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12409 for as_dir
in $PATH
12412 test -z "$as_dir" && as_dir
=.
12413 for ac_exec_ext
in '' $ac_executable_extensions; do
12414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12415 ac_cv_prog_INTLBISON
="$ac_prog"
12416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12424 INTLBISON
=$ac_cv_prog_INTLBISON
12425 if test -n "$INTLBISON"; then
12426 echo "$as_me:$LINENO: result: $INTLBISON" >&5
12427 echo "${ECHO_T}$INTLBISON" >&6
12429 echo "$as_me:$LINENO: result: no" >&5
12430 echo "${ECHO_T}no" >&6
12433 test -n "$INTLBISON" && break
12436 if test -z "$INTLBISON"; then
12439 echo "$as_me:$LINENO: checking version of bison" >&5
12440 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
12441 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
12442 case $ac_prog_version in
12443 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
12444 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
12445 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
12446 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
12448 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
12449 echo "${ECHO_T}$ac_prog_version" >&6
12451 if test $ac_verc_fail = yes; then
12470 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12471 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
12472 # Check whether --enable-nls or --disable-nls was given.
12473 if test "${enable_nls+set}" = set; then
12474 enableval
="$enable_nls"
12479 echo "$as_me:$LINENO: result: $USE_NLS" >&5
12480 echo "${ECHO_T}$USE_NLS" >&6
12485 BUILD_INCLUDED_LIBINTL
=no
12486 USE_INCLUDED_LIBINTL
=no
12492 if test "$USE_NLS" = "yes"; then
12493 gt_use_preinstalled_gnugettext
=no
12495 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
12496 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
12498 # Check whether --with-included-gettext or --without-included-gettext was given.
12499 if test "${with_included_gettext+set}" = set; then
12500 withval
="$with_included_gettext"
12501 nls_cv_force_use_gnu_gettext
=$withval
12503 nls_cv_force_use_gnu_gettext
=no
12505 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
12506 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
12508 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
12509 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
12516 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
12517 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
12518 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12521 cat >conftest.
$ac_ext <<_ACEOF
12524 cat confdefs.h
>>conftest.
$ac_ext
12525 cat >>conftest.
$ac_ext <<_ACEOF
12526 /* end confdefs.h. */
12527 #include <libintl.h>
12528 extern int _nl_msg_cat_cntr;
12529 extern int *_nl_domain_bindings;
12533 bindtextdomain ("", "");
12534 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
12539 rm -f conftest.
$ac_objext conftest
$ac_exeext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12541 (eval $ac_link) 2>conftest.er1
12543 grep -v '^ *+' conftest.er1
>conftest.err
12545 cat conftest.err
>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try
='test -z "$ac_c_werror_flag"
12549 || test ! -s conftest.err'
12550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); }; } &&
12555 { ac_try
='test -s conftest$ac_exeext'
12556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12557 (eval $ac_try) 2>&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); }; }; then
12561 gt_cv_func_gnugettext1_libc
=yes
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.
$ac_ext >&5
12566 gt_cv_func_gnugettext1_libc
=no
12568 rm -f conftest.err conftest.
$ac_objext \
12569 conftest
$ac_exeext conftest.
$ac_ext
12571 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
12572 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
12574 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
12580 acl_save_prefix
="$prefix"
12581 prefix
="$acl_final_prefix"
12582 acl_save_exec_prefix
="$exec_prefix"
12583 exec_prefix
="$acl_final_exec_prefix"
12585 eval additional_includedir
=\"$includedir\"
12586 eval additional_libdir
=\"$libdir\"
12588 exec_prefix
="$acl_save_exec_prefix"
12589 prefix
="$acl_save_prefix"
12592 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
12593 if test "${with_libintl_prefix+set}" = set; then
12594 withval
="$with_libintl_prefix"
12596 if test "X$withval" = "Xno"; then
12599 if test "X$withval" = "X"; then
12601 acl_save_prefix
="$prefix"
12602 prefix
="$acl_final_prefix"
12603 acl_save_exec_prefix
="$exec_prefix"
12604 exec_prefix
="$acl_final_exec_prefix"
12606 eval additional_includedir
=\"$includedir\"
12607 eval additional_libdir
=\"$libdir\"
12609 exec_prefix
="$acl_save_exec_prefix"
12610 prefix
="$acl_save_prefix"
12613 additional_includedir
="$withval/include"
12614 additional_libdir
="$withval/lib"
12624 names_already_handled
=
12625 names_next_round
='intl '
12626 while test -n "$names_next_round"; do
12627 names_this_round
="$names_next_round"
12629 for name
in $names_this_round; do
12631 for n
in $names_already_handled; do
12632 if test "$n" = "$name"; then
12633 already_handled
=yes
12637 if test -z "$already_handled"; then
12638 names_already_handled
="$names_already_handled $name"
12639 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12640 eval value
=\"\
$HAVE_LIB$uppername\"
12641 if test -n "$value"; then
12642 if test "$value" = yes; then
12643 eval value
=\"\
$LIB$uppername\"
12644 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
12645 eval value
=\"\
$LTLIB$uppername\"
12646 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
12655 if test $use_additional = yes; then
12656 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
12657 found_dir
="$additional_libdir"
12658 found_so
="$additional_libdir/lib$name.$shlibext"
12659 if test -f "$additional_libdir/lib$name.la"; then
12660 found_la
="$additional_libdir/lib$name.la"
12663 if test -f "$additional_libdir/lib$name.$libext"; then
12664 found_dir
="$additional_libdir"
12665 found_a
="$additional_libdir/lib$name.$libext"
12666 if test -f "$additional_libdir/lib$name.la"; then
12667 found_la
="$additional_libdir/lib$name.la"
12672 if test "X$found_dir" = "X"; then
12673 for x
in $LDFLAGS $LTLIBINTL; do
12675 acl_save_prefix
="$prefix"
12676 prefix
="$acl_final_prefix"
12677 acl_save_exec_prefix
="$exec_prefix"
12678 exec_prefix
="$acl_final_exec_prefix"
12680 exec_prefix
="$acl_save_exec_prefix"
12681 prefix
="$acl_save_prefix"
12685 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12686 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
12688 found_so
="$dir/lib$name.$shlibext"
12689 if test -f "$dir/lib$name.la"; then
12690 found_la
="$dir/lib$name.la"
12693 if test -f "$dir/lib$name.$libext"; then
12695 found_a
="$dir/lib$name.$libext"
12696 if test -f "$dir/lib$name.la"; then
12697 found_la
="$dir/lib$name.la"
12703 if test "X$found_dir" != "X"; then
12708 if test "X$found_dir" != "X"; then
12709 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
12710 if test "X$found_so" != "X"; then
12711 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
12712 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
12715 for x
in $ltrpathdirs; do
12716 if test "X$x" = "X$found_dir"; then
12721 if test -z "$haveit"; then
12722 ltrpathdirs
="$ltrpathdirs $found_dir"
12724 if test "$hardcode_direct" = yes; then
12725 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
12727 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12728 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
12730 for x
in $rpathdirs; do
12731 if test "X$x" = "X$found_dir"; then
12736 if test -z "$haveit"; then
12737 rpathdirs
="$rpathdirs $found_dir"
12741 for x
in $LDFLAGS $LIBINTL; do
12743 acl_save_prefix
="$prefix"
12744 prefix
="$acl_final_prefix"
12745 acl_save_exec_prefix
="$exec_prefix"
12746 exec_prefix
="$acl_final_exec_prefix"
12748 exec_prefix
="$acl_save_exec_prefix"
12749 prefix
="$acl_save_prefix"
12751 if test "X$x" = "X-L$found_dir"; then
12756 if test -z "$haveit"; then
12757 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
12759 if test "$hardcode_minus_L" != no
; then
12760 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
12762 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
12768 if test "X$found_a" != "X"; then
12769 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
12771 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
12774 additional_includedir
=
12775 case "$found_dir" in
12777 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
12778 additional_includedir
="$basedir/include"
12781 if test "X$additional_includedir" != "X"; then
12782 if test "X$additional_includedir" != "X/usr/include"; then
12784 if test "X$additional_includedir" = "X/usr/local/include"; then
12785 if test -n "$GCC"; then
12787 linux
*) haveit
=yes;;
12791 if test -z "$haveit"; then
12792 for x
in $CPPFLAGS $INCINTL; do
12794 acl_save_prefix
="$prefix"
12795 prefix
="$acl_final_prefix"
12796 acl_save_exec_prefix
="$exec_prefix"
12797 exec_prefix
="$acl_final_exec_prefix"
12799 exec_prefix
="$acl_save_exec_prefix"
12800 prefix
="$acl_save_prefix"
12802 if test "X$x" = "X-I$additional_includedir"; then
12807 if test -z "$haveit"; then
12808 if test -d "$additional_includedir"; then
12809 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
12815 if test -n "$found_la"; then
12816 save_libdir
="$libdir"
12817 case "$found_la" in
12818 */* |
*\\*) .
"$found_la" ;;
12819 *) .
"./$found_la" ;;
12821 libdir
="$save_libdir"
12822 for dep
in $dependency_libs; do
12825 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12826 if test "X$additional_libdir" != "X/usr/lib"; then
12828 if test "X$additional_libdir" = "X/usr/local/lib"; then
12829 if test -n "$GCC"; then
12831 linux
*) haveit
=yes;;
12835 if test -z "$haveit"; then
12837 for x
in $LDFLAGS $LIBINTL; do
12839 acl_save_prefix
="$prefix"
12840 prefix
="$acl_final_prefix"
12841 acl_save_exec_prefix
="$exec_prefix"
12842 exec_prefix
="$acl_final_exec_prefix"
12844 exec_prefix
="$acl_save_exec_prefix"
12845 prefix
="$acl_save_prefix"
12847 if test "X$x" = "X-L$additional_libdir"; then
12852 if test -z "$haveit"; then
12853 if test -d "$additional_libdir"; then
12854 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
12858 for x
in $LDFLAGS $LTLIBINTL; do
12860 acl_save_prefix
="$prefix"
12861 prefix
="$acl_final_prefix"
12862 acl_save_exec_prefix
="$exec_prefix"
12863 exec_prefix
="$acl_final_exec_prefix"
12865 exec_prefix
="$acl_save_exec_prefix"
12866 prefix
="$acl_save_prefix"
12868 if test "X$x" = "X-L$additional_libdir"; then
12873 if test -z "$haveit"; then
12874 if test -d "$additional_libdir"; then
12875 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
12882 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12883 if test "$enable_rpath" != no
; then
12885 for x
in $rpathdirs; do
12886 if test "X$x" = "X$dir"; then
12891 if test -z "$haveit"; then
12892 rpathdirs
="$rpathdirs $dir"
12895 for x
in $ltrpathdirs; do
12896 if test "X$x" = "X$dir"; then
12901 if test -z "$haveit"; then
12902 ltrpathdirs
="$ltrpathdirs $dir"
12907 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12910 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12913 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
12914 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
12920 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
12921 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
12927 if test "X$rpathdirs" != "X"; then
12928 if test -n "$hardcode_libdir_separator"; then
12930 for found_dir
in $rpathdirs; do
12931 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12933 acl_save_libdir
="$libdir"
12935 eval flag
=\"$hardcode_libdir_flag_spec\"
12936 libdir
="$acl_save_libdir"
12937 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
12939 for found_dir
in $rpathdirs; do
12940 acl_save_libdir
="$libdir"
12941 libdir
="$found_dir"
12942 eval flag
=\"$hardcode_libdir_flag_spec\"
12943 libdir
="$acl_save_libdir"
12944 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
12948 if test "X$ltrpathdirs" != "X"; then
12949 for found_dir
in $ltrpathdirs; do
12950 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
12954 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
12955 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
12956 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
12957 echo $ECHO_N "(cached) $ECHO_C" >&6
12959 gt_save_CPPFLAGS
="$CPPFLAGS"
12960 CPPFLAGS
="$CPPFLAGS $INCINTL"
12961 gt_save_LIBS
="$LIBS"
12962 LIBS
="$LIBS $LIBINTL"
12963 cat >conftest.
$ac_ext <<_ACEOF
12966 cat confdefs.h
>>conftest.
$ac_ext
12967 cat >>conftest.
$ac_ext <<_ACEOF
12968 /* end confdefs.h. */
12969 #include <libintl.h>
12970 extern int _nl_msg_cat_cntr;
12975 const char *_nl_expand_alias ();
12979 bindtextdomain ("", "");
12980 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
12985 rm -f conftest.
$ac_objext conftest
$ac_exeext
12986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12987 (eval $ac_link) 2>conftest.er1
12989 grep -v '^ *+' conftest.er1
>conftest.err
12991 cat conftest.err
>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); } &&
12994 { ac_try
='test -z "$ac_c_werror_flag"
12995 || test ! -s conftest.err'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; } &&
13001 { ac_try
='test -s conftest$ac_exeext'
13002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13003 (eval $ac_try) 2>&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; }; then
13007 gt_cv_func_gnugettext1_libintl
=yes
13009 echo "$as_me: failed program was:" >&5
13010 sed 's/^/| /' conftest.
$ac_ext >&5
13012 gt_cv_func_gnugettext1_libintl
=no
13014 rm -f conftest.err conftest.
$ac_objext \
13015 conftest
$ac_exeext conftest.
$ac_ext
13016 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
13017 LIBS
="$LIBS $LIBICONV"
13018 cat >conftest.
$ac_ext <<_ACEOF
13021 cat confdefs.h
>>conftest.
$ac_ext
13022 cat >>conftest.
$ac_ext <<_ACEOF
13023 /* end confdefs.h. */
13024 #include <libintl.h>
13025 extern int _nl_msg_cat_cntr;
13030 const char *_nl_expand_alias ();
13034 bindtextdomain ("", "");
13035 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13040 rm -f conftest.
$ac_objext conftest
$ac_exeext
13041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13042 (eval $ac_link) 2>conftest.er1
13044 grep -v '^ *+' conftest.er1
>conftest.err
13046 cat conftest.err
>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); } &&
13049 { ac_try
='test -z "$ac_c_werror_flag"
13050 || test ! -s conftest.err'
13051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13052 (eval $ac_try) 2>&5
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); }; } &&
13056 { ac_try
='test -s conftest$ac_exeext'
13057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13058 (eval $ac_try) 2>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); }; }; then
13062 LIBINTL
="$LIBINTL $LIBICONV"
13063 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
13064 gt_cv_func_gnugettext1_libintl
=yes
13067 echo "$as_me: failed program was:" >&5
13068 sed 's/^/| /' conftest.
$ac_ext >&5
13071 rm -f conftest.err conftest.
$ac_objext \
13072 conftest
$ac_exeext conftest.
$ac_ext
13074 CPPFLAGS
="$gt_save_CPPFLAGS"
13075 LIBS
="$gt_save_LIBS"
13077 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
13078 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
13081 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
13082 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
13083 && test "$PACKAGE" != gettext-runtime \
13084 && test "$PACKAGE" != gettext-tools
; }; then
13085 gt_use_preinstalled_gnugettext
=yes
13093 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
13094 nls_cv_use_gnu_gettext
=yes
13098 if test "$nls_cv_use_gnu_gettext" = "yes"; then
13099 BUILD_INCLUDED_LIBINTL
=yes
13100 USE_INCLUDED_LIBINTL
=yes
13101 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
13102 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
13103 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
13106 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13107 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13112 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13113 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13115 cat >>confdefs.h
<<\_ACEOF
13116 #define ENABLE_NLS 1
13124 echo "$as_me:$LINENO: checking whether to use NLS" >&5
13125 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
13126 echo "$as_me:$LINENO: result: $USE_NLS" >&5
13127 echo "${ECHO_T}$USE_NLS" >&6
13128 if test "$USE_NLS" = "yes"; then
13129 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
13130 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
13131 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13132 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
13133 gt_source
="external libintl"
13138 gt_source
="included intl directory"
13140 echo "$as_me:$LINENO: result: $gt_source" >&5
13141 echo "${ECHO_T}$gt_source" >&6
13144 if test "$USE_NLS" = "yes"; then
13146 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13147 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
13148 echo "$as_me:$LINENO: checking how to link with libintl" >&5
13149 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
13150 echo "$as_me:$LINENO: result: $LIBINTL" >&5
13151 echo "${ECHO_T}$LIBINTL" >&6
13153 for element
in $INCINTL; do
13155 for x
in $CPPFLAGS; do
13157 acl_save_prefix
="$prefix"
13158 prefix
="$acl_final_prefix"
13159 acl_save_exec_prefix
="$exec_prefix"
13160 exec_prefix
="$acl_final_exec_prefix"
13162 exec_prefix
="$acl_save_exec_prefix"
13163 prefix
="$acl_save_prefix"
13165 if test "X$x" = "X$element"; then
13170 if test -z "$haveit"; then
13171 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13178 cat >>confdefs.h
<<\_ACEOF
13179 #define HAVE_GETTEXT 1
13183 cat >>confdefs.h
<<\_ACEOF
13184 #define HAVE_DCGETTEXT 1
13193 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
13194 BUILD_INCLUDED_LIBINTL
=yes
13201 nls_cv_header_intl
=
13202 nls_cv_header_libgt
=
13213 if test "$USE_INCLUDED_LIBINTL" = yes; then
13214 INTLOBJS
="\$(GETTOBJS)"
13218 INTL_LIBTOOL_SUFFIX_PREFIX
=
13222 INTLLIBS
="$LIBINTL"
13230 ac_config_files
="$ac_config_files Makefile doc/Makefile info/Makefile intl/Makefile lib/Makefile m4/Makefile makeinfo/Makefile makeinfo/tests/Makefile po/Makefile.in util/Makefile"
13232 cat >confcache
<<\_ACEOF
13233 # This file is a shell script that caches the results of configure
13234 # tests run on this system so they can be shared between configure
13235 # scripts and configure runs, see configure's option --config-cache.
13236 # It is not useful on other systems. If it contains results you don't
13237 # want to keep, you may remove or edit it.
13239 # config.status only pays attention to the cache file if you give it
13240 # the --recheck option to rerun configure.
13242 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13243 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13244 # following values.
13248 # The following way of writing the cache mishandles newlines in values,
13249 # but we know of no workaround that is simple, portable, and efficient.
13250 # So, don't put newlines in cache variables' values.
13251 # Ultrix sh set writes to stderr and can't be redirected directly,
13252 # and sets the high bit in the cache file unless we assign to the vars.
13255 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13257 # `set' does not quote correctly, so add quotes (double-quote
13258 # substitution turns \\\\ into \\, and sed turns \\ into \).
13261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13264 # `set' quotes correctly as required by POSIX, so do not add quotes.
13266 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13273 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13275 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13277 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
13278 if test -w $cache_file; then
13279 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13280 cat confcache
>$cache_file
13282 echo "not updating unwritable cache $cache_file"
13287 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13288 # Let make expand exec_prefix.
13289 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13291 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13292 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13293 # trailing colons and then remove the whole line if VPATH becomes empty
13294 # (actually we leave an empty line to preserve line numbers).
13295 if test "x$srcdir" = x.
; then
13296 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13297 s/:*\$(srcdir):*/:/;
13298 s/:*\${srcdir}:*/:/;
13300 s/^\([^=]*=[ ]*\):*/\1/;
13306 DEFS
=-DHAVE_CONFIG_H
13310 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13311 # 1. Remove the extension, and $U if already installed.
13312 ac_i
=`echo "$ac_i" |
13313 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13315 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
13316 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
13318 LIBOBJS
=$ac_libobjs
13320 LTLIBOBJS
=$ac_ltlibobjs
13323 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13324 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13325 Usually this means the macro was only invoked conditionally." >&5
13326 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13327 Usually this means the macro was only invoked conditionally." >&2;}
13328 { (exit 1); exit 1; }; }
13330 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13331 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13332 Usually this means the macro was only invoked conditionally." >&5
13333 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13334 Usually this means the macro was only invoked conditionally." >&2;}
13335 { (exit 1); exit 1; }; }
13337 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13338 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13339 Usually this means the macro was only invoked conditionally." >&5
13340 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13341 Usually this means the macro was only invoked conditionally." >&2;}
13342 { (exit 1); exit 1; }; }
13344 if test -z "${TOOLS_ONLY_TRUE}" && test -z "${TOOLS_ONLY_FALSE}"; then
13345 { { echo "$as_me:$LINENO: error: conditional \"TOOLS_ONLY\" was never defined.
13346 Usually this means the macro was only invoked conditionally." >&5
13347 echo "$as_me: error: conditional \"TOOLS_ONLY\" was never defined.
13348 Usually this means the macro was only invoked conditionally." >&2;}
13349 { (exit 1); exit 1; }; }
13351 if test -z "${INSTALL_WARNINGS_TRUE}" && test -z "${INSTALL_WARNINGS_FALSE}"; then
13352 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_WARNINGS\" was never defined.
13353 Usually this means the macro was only invoked conditionally." >&5
13354 echo "$as_me: error: conditional \"INSTALL_WARNINGS\" was never defined.
13355 Usually this means the macro was only invoked conditionally." >&2;}
13356 { (exit 1); exit 1; }; }
13359 : ${CONFIG_STATUS=./config.status}
13360 ac_clean_files_save
=$ac_clean_files
13361 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13362 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13363 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13364 cat >$CONFIG_STATUS <<_ACEOF
13366 # Generated by $as_me.
13367 # Run this file to recreate the current configuration.
13368 # Compiler output produced by configure, useful for debugging
13369 # configure, is in config.log if it exists.
13372 ac_cs_recheck=false
13374 SHELL=\${CONFIG_SHELL-$SHELL}
13377 cat >>$CONFIG_STATUS <<\_ACEOF
13378 ## --------------------- ##
13379 ## M4sh Initialization. ##
13380 ## --------------------- ##
13382 # Be Bourne compatible
13383 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13386 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13387 # is contrary to our usage. Disable this feature.
13388 alias -g '${1+"$@"}'='"$@"'
13389 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
13392 DUALCASE
=1; export DUALCASE
# for MKS sh
13394 # Support unset when possible.
13395 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13402 # Work around bugs in pre-3.0 UWIN ksh.
13403 $as_unset ENV MAIL MAILPATH
13410 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13411 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13412 LC_TELEPHONE LC_TIME
13414 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13415 eval $as_var=C
; export $as_var
13421 # Required to use basename.
13422 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13428 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
13429 as_basename
=basename
13435 # Name of the executable.
13436 as_me
=`$as_basename "$0" ||
13437 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13438 X"$0" : 'X\(//\)$' \| \
13439 X"$0" : 'X\(/\)$' \| \
13440 . : '\(.\)' 2>/dev/null ||
13442 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13443 /^X\/\(\/\/\)$/{ s//\1/; q; }
13444 /^X\/\(\/\).*/{ s//\1/; q; }
13448 # PATH needs CR, and LINENO needs CR and PATH.
13449 # Avoid depending upon Character Ranges.
13450 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13451 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13452 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13453 as_cr_digits
='0123456789'
13454 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13456 # The user is always right.
13457 if test "${PATH_SEPARATOR+set}" != set; then
13458 echo "#! /bin/sh" >conf$$.sh
13459 echo "exit 0" >>conf$$.sh
13461 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13470 as_lineno_1
=$LINENO
13471 as_lineno_2
=$LINENO
13472 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
13473 test "x$as_lineno_1" != "x$as_lineno_2" &&
13474 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
13475 # Find who we are. Look in the path if we contain no path at all
13478 *[\\/]* ) as_myself
=$0 ;;
13479 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13480 for as_dir
in $PATH
13483 test -z "$as_dir" && as_dir
=.
13484 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13489 # We did not find ourselves, most probably we were run as `sh COMMAND'
13490 # in which case we are not to be found in the path.
13491 if test "x$as_myself" = x
; then
13494 if test ! -f "$as_myself"; then
13495 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13496 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13497 { (exit 1); exit 1; }; }
13499 case $CONFIG_SHELL in
13501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13502 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
13505 test -z "$as_dir" && as_dir
=.
13506 for as_base
in sh bash ksh sh5
; do
13509 if ("$as_dir/$as_base" -c '
13510 as_lineno_1=$LINENO
13511 as_lineno_2=$LINENO
13512 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13513 test "x$as_lineno_1" != "x$as_lineno_2" &&
13514 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
13515 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
13516 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
13517 CONFIG_SHELL
=$as_dir/$as_base
13518 export CONFIG_SHELL
13519 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13527 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13528 # uniformly replaced by the line number. The first 'sed' inserts a
13529 # line-number line before each line; the second 'sed' does the real
13530 # work. The second script uses 'N' to pair each line-number line
13531 # with the numbered line, and appends trailing '-' during
13532 # substitution so that $LINENO is not a special case at line end.
13533 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13534 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13535 sed '=' <$as_myself |
13540 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13543 s,^['$as_cr_digits']*\n,,
13544 ' >$as_me.lineno
&&
13545 chmod +x
$as_me.lineno ||
13546 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13547 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13548 { (exit 1); exit 1; }; }
13550 # Don't try to exec as it changes $[0], causing all sort of problems
13551 # (the dirname of $[0] is not the place where we might find the
13552 # original and so on. Autoconf is especially sensible to this).
13554 # Exit status is that of the last command.
13559 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13560 *c
*,-n*) ECHO_N
= ECHO_C
='
13562 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
13563 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
13566 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13572 rm -f conf$$ conf$$.exe conf$$.
file
13574 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13575 # We could just check for DJGPP; but this test a) works b) is more generic
13576 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13577 if test -f conf$$.exe
; then
13578 # Don't use ln at all; we don't have any links
13583 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13588 rm -f conf$$ conf$$.exe conf$$.
file
13590 if mkdir
-p .
2>/dev
/null
; then
13593 test -d .
/-p && rmdir .
/-p
13597 as_executable_p
="test -f"
13599 # Sed expression to map a string onto a valid CPP name.
13600 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13602 # Sed expression to map a string onto a valid variable name.
13603 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13607 # We need space, tab and new line, in precisely that order.
13617 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13618 # report actual input values of CONFIG_FILES etc. instead of their
13619 # values after options handling. Logging --version etc. is OK.
13623 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13624 ## Running $as_me. ##
13629 This file was extended by GNU Texinfo $as_me 4.8, which was
13630 generated by GNU Autoconf 2.59. Invocation command line was
13632 CONFIG_FILES = $CONFIG_FILES
13633 CONFIG_HEADERS = $CONFIG_HEADERS
13634 CONFIG_LINKS = $CONFIG_LINKS
13635 CONFIG_COMMANDS = $CONFIG_COMMANDS
13639 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13643 # Files that config.status was made for.
13644 if test -n "$ac_config_files"; then
13645 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13648 if test -n "$ac_config_headers"; then
13649 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13652 if test -n "$ac_config_links"; then
13653 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13656 if test -n "$ac_config_commands"; then
13657 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13660 cat >>$CONFIG_STATUS <<\_ACEOF
13663 \`$as_me' instantiates files from templates according to the
13664 current configuration.
13666 Usage: $0 [OPTIONS] [FILE]...
13668 -h, --help print this help, then exit
13669 -V, --version print version number, then exit
13670 -q, --quiet do not print progress messages
13671 -d, --debug don't remove temporary files
13672 --recheck update $as_me by reconfiguring in the same conditions
13673 --file=FILE[:TEMPLATE]
13674 instantiate the configuration file FILE
13675 --header=FILE[:TEMPLATE]
13676 instantiate the configuration header FILE
13678 Configuration files:
13681 Configuration headers:
13684 Configuration commands:
13687 Report bugs to <bug-autoconf@gnu.org>."
13690 cat >>$CONFIG_STATUS <<_ACEOF
13692 GNU Texinfo config.status 4.8
13693 configured by $0, generated by GNU Autoconf 2.59,
13694 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13696 Copyright (C) 2003 Free Software Foundation, Inc.
13697 This config.status script is free software; the Free Software Foundation
13698 gives unlimited permission to copy, distribute and modify it."
13703 cat >>$CONFIG_STATUS <<\_ACEOF
13704 # If no file are specified by the user, then we need to provide default
13705 # value. By we need to know if files were specified by the user.
13711 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13712 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13720 *) # This is not an option, so the user has probably given explicit
13723 ac_need_defaults
=false
;;
13727 # Handling of the options.
13729 cat >>$CONFIG_STATUS <<\_ACEOF
13730 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13732 --version |
--vers* |
-V )
13733 echo "$ac_cs_version"; exit 0 ;;
13735 # Conflict between --help and --header
13736 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13737 Try \`$0 --help' for more information." >&5
13738 echo "$as_me: error: ambiguous option: $1
13739 Try \`$0 --help' for more information." >&2;}
13740 { (exit 1); exit 1; }; };;
13741 --help |
--hel |
-h )
13742 echo "$ac_cs_usage"; exit 0 ;;
13743 --debug |
--d* |
-d )
13745 --file |
--fil |
--fi |
--f )
13747 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13748 ac_need_defaults
=false
;;
13749 --header |
--heade |
--head |
--hea )
13751 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13752 ac_need_defaults
=false
;;
13753 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13754 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13757 # This is an error.
13758 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13759 Try \`$0 --help' for more information." >&5
13760 echo "$as_me: error: unrecognized option: $1
13761 Try \`$0 --help' for more information." >&2;}
13762 { (exit 1); exit 1; }; } ;;
13764 *) ac_config_targets
="$ac_config_targets $1" ;;
13770 ac_configure_extra_args
=
13772 if $ac_cs_silent; then
13774 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13778 cat >>$CONFIG_STATUS <<_ACEOF
13779 if \$ac_cs_recheck; then
13780 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13781 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13786 cat >>$CONFIG_STATUS <<_ACEOF
13788 # INIT-COMMANDS section.
13791 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13792 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13793 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
13795 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13796 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13797 LINGUAS="${LINGUAS-%UNSET%}"
13804 cat >>$CONFIG_STATUS <<\_ACEOF
13805 for ac_config_target
in $ac_config_targets
13807 case "$ac_config_target" in
13808 # Handling of arguments.
13809 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13810 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13811 "info/Makefile" ) CONFIG_FILES
="$CONFIG_FILES info/Makefile" ;;
13812 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
13813 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
13814 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
13815 "makeinfo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES makeinfo/Makefile" ;;
13816 "makeinfo/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES makeinfo/tests/Makefile" ;;
13817 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
13818 "util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES util/Makefile" ;;
13819 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13820 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13821 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
13822 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13823 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13824 { (exit 1); exit 1; }; };;
13828 # If the user did not use the arguments to specify the items to instantiate,
13829 # then the envvar interface is used. Set only those that are not.
13830 # We use the long form for the default assignment because of an extremely
13831 # bizarre bug on SunOS 4.1.3.
13832 if $ac_need_defaults; then
13833 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13834 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13835 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13838 # Have a temporary directory for convenience. Make it in the build tree
13839 # simply because there is no reason to put it here, and in addition,
13840 # creating and moving files from /tmp can sometimes cause problems.
13841 # Create a temporary directory, and hook for its removal unless debugging.
13844 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13845 trap '{ (exit 1); exit 1; }' 1 2 13 15
13848 # Create a (secure) tmp directory for tmp files.
13851 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13852 test -n "$tmp" && test -d "$tmp"
13855 tmp
=.
/confstat$$
-$RANDOM
13856 (umask 077 && mkdir
$tmp)
13859 echo "$me: cannot create a temporary directory in ." >&2
13860 { (exit 1); exit 1; }
13865 cat >>$CONFIG_STATUS <<_ACEOF
13868 # CONFIG_FILES section.
13871 # No need to generate the scripts if there are no CONFIG_FILES.
13872 # This happens for instance when ./config.status config.h
13873 if test -n "\$CONFIG_FILES"; then
13874 # Protect against being on the right side of a sed subst in config.status.
13875 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13876 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13877 s,@SHELL@,$SHELL,;t t
13878 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13879 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13880 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13881 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13882 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13883 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13884 s,@exec_prefix@,$exec_prefix,;t t
13885 s,@prefix@,$prefix,;t t
13886 s,@program_transform_name@,$program_transform_name,;t t
13887 s,@bindir@,$bindir,;t t
13888 s,@sbindir@,$sbindir,;t t
13889 s,@libexecdir@,$libexecdir,;t t
13890 s,@datadir@,$datadir,;t t
13891 s,@sysconfdir@,$sysconfdir,;t t
13892 s,@sharedstatedir@,$sharedstatedir,;t t
13893 s,@localstatedir@,$localstatedir,;t t
13894 s,@libdir@,$libdir,;t t
13895 s,@includedir@,$includedir,;t t
13896 s,@oldincludedir@,$oldincludedir,;t t
13897 s,@infodir@,$infodir,;t t
13898 s,@mandir@,$mandir,;t t
13899 s,@build_alias@,$build_alias,;t t
13900 s,@host_alias@,$host_alias,;t t
13901 s,@target_alias@,$target_alias,;t t
13902 s,@DEFS@,$DEFS,;t t
13903 s,@ECHO_C@,$ECHO_C,;t t
13904 s,@ECHO_N@,$ECHO_N,;t t
13905 s,@ECHO_T@,$ECHO_T,;t t
13906 s,@LIBS@,$LIBS,;t t
13907 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13908 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13909 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13910 s,@CYGPATH_W@,$CYGPATH_W,;t t
13911 s,@PACKAGE@,$PACKAGE,;t t
13912 s,@VERSION@,$VERSION,;t t
13913 s,@ACLOCAL@,$ACLOCAL,;t t
13914 s,@AUTOCONF@,$AUTOCONF,;t t
13915 s,@AUTOMAKE@,$AUTOMAKE,;t t
13916 s,@AUTOHEADER@,$AUTOHEADER,;t t
13917 s,@MAKEINFO@,$MAKEINFO,;t t
13918 s,@install_sh@,$install_sh,;t t
13919 s,@STRIP@,$STRIP,;t t
13920 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13921 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13922 s,@mkdir_p@,$mkdir_p,;t t
13924 s,@SET_MAKE@,$SET_MAKE,;t t
13925 s,@am__leading_dot@,$am__leading_dot,;t t
13926 s,@AMTAR@,$AMTAR,;t t
13927 s,@am__tar@,$am__tar,;t t
13928 s,@am__untar@,$am__untar,;t t
13929 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13930 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13931 s,@MAINT@,$MAINT,;t t
13933 s,@CFLAGS@,$CFLAGS,;t t
13934 s,@LDFLAGS@,$LDFLAGS,;t t
13935 s,@CPPFLAGS@,$CPPFLAGS,;t t
13936 s,@ac_ct_CC@,$ac_ct_CC,;t t
13937 s,@EXEEXT@,$EXEEXT,;t t
13938 s,@OBJEXT@,$OBJEXT,;t t
13939 s,@DEPDIR@,$DEPDIR,;t t
13940 s,@am__include@,$am__include,;t t
13941 s,@am__quote@,$am__quote,;t t
13942 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13943 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13944 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13945 s,@CCDEPMODE@,$CCDEPMODE,;t t
13946 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13947 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13949 s,@EGREP@,$EGREP,;t t
13950 s,@RANLIB@,$RANLIB,;t t
13951 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13952 s,@HELP2MAN@,$HELP2MAN,;t t
13953 s,@ALLOCA@,$ALLOCA,;t t
13954 s,@LIBOBJS@,$LIBOBJS,;t t
13955 s,@build@,$build,;t t
13956 s,@build_cpu@,$build_cpu,;t t
13957 s,@build_vendor@,$build_vendor,;t t
13958 s,@build_os@,$build_os,;t t
13959 s,@native_tools@,$native_tools,;t t
13960 s,@TOOLS_ONLY_TRUE@,$TOOLS_ONLY_TRUE,;t t
13961 s,@TOOLS_ONLY_FALSE@,$TOOLS_ONLY_FALSE,;t t
13962 s,@TERMLIBS@,$TERMLIBS,;t t
13963 s,@host@,$host,;t t
13964 s,@host_cpu@,$host_cpu,;t t
13965 s,@host_vendor@,$host_vendor,;t t
13966 s,@host_os@,$host_os,;t t
13967 s,@INSTALL_WARNINGS_TRUE@,$INSTALL_WARNINGS_TRUE,;t t
13968 s,@INSTALL_WARNINGS_FALSE@,$INSTALL_WARNINGS_FALSE,;t t
13969 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
13970 s,@USE_NLS@,$USE_NLS,;t t
13971 s,@MSGFMT@,$MSGFMT,;t t
13972 s,@GMSGFMT@,$GMSGFMT,;t t
13973 s,@XGETTEXT@,$XGETTEXT,;t t
13974 s,@MSGMERGE@,$MSGMERGE,;t t
13975 s,@GLIBC21@,$GLIBC21,;t t
13976 s,@HAVE_POSIX_PRINTF@,$HAVE_POSIX_PRINTF,;t t
13977 s,@HAVE_ASPRINTF@,$HAVE_ASPRINTF,;t t
13978 s,@HAVE_SNPRINTF@,$HAVE_SNPRINTF,;t t
13979 s,@HAVE_WPRINTF@,$HAVE_WPRINTF,;t t
13980 s,@LIBICONV@,$LIBICONV,;t t
13981 s,@LTLIBICONV@,$LTLIBICONV,;t t
13982 s,@INTLBISON@,$INTLBISON,;t t
13983 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
13984 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
13985 s,@CATOBJEXT@,$CATOBJEXT,;t t
13986 s,@DATADIRNAME@,$DATADIRNAME,;t t
13987 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
13988 s,@GENCAT@,$GENCAT,;t t
13989 s,@INTLOBJS@,$INTLOBJS,;t t
13990 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
13991 s,@INTLLIBS@,$INTLLIBS,;t t
13992 s,@LIBINTL@,$LIBINTL,;t t
13993 s,@LTLIBINTL@,$LTLIBINTL,;t t
13994 s,@POSUB@,$POSUB,;t t
13995 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14000 cat >>$CONFIG_STATUS <<\_ACEOF
14001 # Split the substitutions into bite-sized pieces for seds with
14002 # small command number limits, like on Digital OSF/1 and HP-UX.
14003 ac_max_sed_lines
=48
14004 ac_sed_frag
=1 # Number of current file.
14005 ac_beg
=1 # First line for current file.
14006 ac_end
=$ac_max_sed_lines # Line after last line for current file.
14009 while $ac_more_lines; do
14010 if test $ac_beg -gt 1; then
14011 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14013 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14015 if test ! -s $tmp/subs.frag
; then
14016 ac_more_lines
=false
14018 # The purpose of the label and of the branching condition is to
14019 # speed up the sed processing (if there are no `@' at all, there
14020 # is no need to browse any of the substitutions).
14021 # These are the two extra sed commands mentioned above.
14023 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
14024 if test -z "$ac_sed_cmds"; then
14025 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
14027 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14029 ac_sed_frag
=`expr $ac_sed_frag + 1`
14031 ac_end
=`expr $ac_end + $ac_max_sed_lines`
14034 if test -z "$ac_sed_cmds"; then
14037 fi # test -n "$CONFIG_FILES"
14040 cat >>$CONFIG_STATUS <<\_ACEOF
14041 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
14042 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14044 - |
*:- |
*:-:* ) # input from stdin
14046 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14047 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14048 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14049 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14050 * ) ac_file_in
=$ac_file.
in ;;
14053 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14054 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14055 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14056 X"$ac_file" : 'X\(//\)[^/]' \| \
14057 X"$ac_file" : 'X\(//\)$' \| \
14058 X"$ac_file" : 'X\(/\)' \| \
14059 . : '\(.\)' 2>/dev/null ||
14061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14062 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14063 /^X\(\/\/\)$/{ s//\1/; q; }
14064 /^X\(\/\).*/{ s//\1/; q; }
14066 { if $as_mkdir_p; then
14071 while test ! -d "$as_dir"; do
14072 as_dirs
="$as_dir $as_dirs"
14073 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14075 X"$as_dir" : 'X\(//\)[^/]' \| \
14076 X"$as_dir" : 'X\(//\)$' \| \
14077 X"$as_dir" : 'X\(/\)' \| \
14078 . : '\(.\)' 2>/dev/null ||
14080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14081 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14082 /^X\(\/\/\)$/{ s//\1/; q; }
14083 /^X\(\/\).*/{ s//\1/; q; }
14086 test ! -n "$as_dirs" || mkdir
$as_dirs
14087 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14088 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14089 { (exit 1); exit 1; }; }; }
14093 if test "$ac_dir" != .
; then
14094 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14095 # A "../" for each directory in $ac_dir_suffix.
14096 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14098 ac_dir_suffix
= ac_top_builddir
=
14102 .
) # No --srcdir option. We are building in place.
14104 if test -z "$ac_top_builddir"; then
14107 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14109 [\\/]* | ?
:[\\/]* ) # Absolute path.
14110 ac_srcdir
=$srcdir$ac_dir_suffix;
14111 ac_top_srcdir
=$srcdir ;;
14112 *) # Relative path.
14113 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14114 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14117 # Do not use `cd foo && pwd` to compute absolute paths, because
14118 # the directories may not exist.
14120 .
) ac_abs_builddir
="$ac_dir";;
14123 .
) ac_abs_builddir
=`pwd`;;
14124 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14125 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14128 case $ac_abs_builddir in
14129 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14131 case ${ac_top_builddir}.
in
14132 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14133 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14134 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14137 case $ac_abs_builddir in
14138 .
) ac_abs_srcdir
=$ac_srcdir;;
14141 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14142 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14143 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14146 case $ac_abs_builddir in
14147 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14149 case $ac_top_srcdir in
14150 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14151 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14152 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14158 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14159 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
14162 if test x
"$ac_file" != x-
; then
14163 { echo "$as_me:$LINENO: creating $ac_file" >&5
14164 echo "$as_me: creating $ac_file" >&6;}
14167 # Let's still pretend it is `configure' which instantiates (i.e., don't
14168 # use $as_me), people would be surprised to read:
14169 # /* config.h. Generated by config.status. */
14170 if test x
"$ac_file" = x-
; then
14173 configure_input
="$ac_file. "
14175 configure_input
=$configure_input"Generated from `echo $ac_file_in |
14176 sed 's,.*/,,'` by configure."
14178 # First look for the input files in the build tree, otherwise in the
14180 ac_file_inputs
=`IFS=:
14181 for f in $ac_file_in; do
14183 -) echo $tmp/stdin ;;
14185 # Absolute (can't be DOS-style, as IFS=:)
14186 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14187 echo "$as_me: error: cannot find input file: $f" >&2;}
14188 { (exit 1); exit 1; }; }
14191 if test -f "$f"; then
14194 elif test -f "$srcdir/$f"; then
14199 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14200 echo "$as_me: error: cannot find input file: $f" >&2;}
14201 { (exit 1); exit 1; }; }
14204 done` ||
{ (exit 1); exit 1; }
14206 cat >>$CONFIG_STATUS <<_ACEOF
14210 cat >>$CONFIG_STATUS <<\_ACEOF
14212 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14213 s
,@configure_input@
,$configure_input,;t t
14214 s
,@srcdir@
,$ac_srcdir,;t t
14215 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
14216 s
,@top_srcdir@
,$ac_top_srcdir,;t t
14217 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
14218 s
,@builddir@
,$ac_builddir,;t t
14219 s
,@abs_builddir@
,$ac_abs_builddir,;t t
14220 s
,@top_builddir@
,$ac_top_builddir,;t t
14221 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
14222 s
,@INSTALL@
,$ac_INSTALL,;t t
14223 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14225 if test x"$ac_file" != x-; then
14226 mv $tmp/out $ac_file
14234 cat >>$CONFIG_STATUS <<\_ACEOF
14237 # CONFIG_HEADER section.
14240 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
14241 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14243 # ac_d sets the value in "#define NAME VALUE" lines.
14244 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14245 ac_dB
='[ ].*$,\1#\2'
14248 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14249 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14250 ac_uB
='$,\1#\2define\3'
14254 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
14255 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14257 - |
*:- |
*:-:* ) # input from stdin
14259 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14260 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14261 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14262 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14263 * ) ac_file_in
=$ac_file.
in ;;
14266 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
14267 echo "$as_me: creating $ac_file" >&6;}
14269 # First look for the input files in the build tree, otherwise in the
14271 ac_file_inputs
=`IFS=:
14272 for f in $ac_file_in; do
14274 -) echo $tmp/stdin ;;
14276 # Absolute (can't be DOS-style, as IFS=:)
14277 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14278 echo "$as_me: error: cannot find input file: $f" >&2;}
14279 { (exit 1); exit 1; }; }
14280 # Do quote $f, to prevent DOS paths from being IFS'd.
14283 if test -f "$f"; then
14286 elif test -f "$srcdir/$f"; then
14291 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14292 echo "$as_me: error: cannot find input file: $f" >&2;}
14293 { (exit 1); exit 1; }; }
14296 done` ||
{ (exit 1); exit 1; }
14297 # Remove the trailing spaces.
14298 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14302 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14303 # `conftest.undefs', that substitutes the proper values into
14304 # config.h.in to produce config.h. The first handles `#define'
14305 # templates, and the second `#undef' templates.
14306 # And first: Protect against being on the right side of a sed subst in
14307 # config.status. Protect against being in an unquoted here document
14308 # in config.status.
14309 rm -f conftest.defines conftest.undefs
14310 # Using a here document instead of a string reduces the quoting nightmare.
14311 # Putting comments in sed scripts is not portable.
14313 # `end' is used to avoid that the second main sed command (meant for
14314 # 0-ary CPP macros) applies to n-ary macro definitions.
14315 # See the Autoconf documentation for `clear'.
14316 cat >confdef2sed.
sed <<\_ACEOF
14321 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14323 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14326 # If some macros were called several times there might be several times
14327 # the same #defines, which is useless. Nevertheless, we may not want to
14328 # sort them, since we want the *last* AC-DEFINE to be honored.
14329 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14330 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14331 rm -f confdef2sed.sed
14333 # This sed command replaces #undef with comments. This is necessary, for
14334 # example, in the case of _POSIX_SOURCE, which is predefined and required
14335 # on some systems where configure will not decide to define it.
14336 cat >>conftest.undefs <<\_ACEOF
14337 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14340 # Break up conftest.defines because some shells have a limit on the size
14341 # of here documents, and old seds have small limits too (100 cmds).
14342 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14343 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14344 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14345 echo ' :' >>$CONFIG_STATUS
14346 rm -f conftest.tail
14347 while grep . conftest.defines >/dev/null
14349 # Write a limited-size here document to $tmp/defines.sed.
14350 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14351 # Speed up: don't consider the non `#define' lines.
14352 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14353 # Work around the forget-to-reset-the-flag bug.
14354 echo 't clr' >>$CONFIG_STATUS
14355 echo ': clr' >>$CONFIG_STATUS
14356 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
14358 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14360 mv $tmp/out $tmp/in
14362 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
14363 rm -f conftest.defines
14364 mv conftest.
tail conftest.defines
14366 rm -f conftest.defines
14367 echo ' fi # grep' >>$CONFIG_STATUS
14368 echo >>$CONFIG_STATUS
14370 # Break up conftest.undefs because some shells have a limit on the size
14371 # of here documents, and old seds have small limits too (100 cmds).
14372 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14373 rm -f conftest.
tail
14374 while grep . conftest.undefs
>/dev
/null
14376 # Write a limited-size here document to $tmp/undefs.sed.
14377 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14378 # Speed up: don't consider the non
`#undef'
14379 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14380 # Work around the forget-to-reset-the-flag bug.
14381 echo 't clr' >>$CONFIG_STATUS
14382 echo ': clr' >>$CONFIG_STATUS
14383 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14385 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14387 mv $tmp/out $tmp/in
14389 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14390 rm -f conftest.undefs
14391 mv conftest.tail conftest.undefs
14393 rm -f conftest.undefs
14395 cat >>$CONFIG_STATUS <<\_ACEOF
14396 # Let's still pretend it is `configure
' which instantiates (i.e., don't
14397 # use $as_me), people would be surprised to read:
14398 # /* config.h. Generated by config.status. */
14399 if test x
"$ac_file" = x-
; then
14400 echo "/* Generated by configure. */" >$tmp/config.h
14402 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14404 cat $tmp/in >>$tmp/config.h
14406 if test x
"$ac_file" != x-
; then
14407 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
14408 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14409 echo "$as_me: $ac_file is unchanged" >&6;}
14411 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14412 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14413 X"$ac_file" : 'X\(//\)[^/]' \| \
14414 X"$ac_file" : 'X\(//\)$' \| \
14415 X"$ac_file" : 'X\(/\)' \| \
14416 . : '\(.\)' 2>/dev/null ||
14418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14419 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14420 /^X\(\/\/\)$/{ s//\1/; q; }
14421 /^X\(\/\).*/{ s//\1/; q; }
14423 { if $as_mkdir_p; then
14428 while test ! -d "$as_dir"; do
14429 as_dirs
="$as_dir $as_dirs"
14430 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14431 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14432 X"$as_dir" : 'X\(//\)[^/]' \| \
14433 X"$as_dir" : 'X\(//\)$' \| \
14434 X"$as_dir" : 'X\(/\)' \| \
14435 . : '\(.\)' 2>/dev/null ||
14437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14438 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14439 /^X\(\/\/\)$/{ s//\1/; q; }
14440 /^X\(\/\).*/{ s//\1/; q; }
14443 test ! -n "$as_dirs" || mkdir
$as_dirs
14444 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14445 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14446 { (exit 1); exit 1; }; }; }
14449 mv $tmp/config.h
$ac_file
14453 rm -f $tmp/config.h
14455 # Compute $ac_file's index in $config_headers.
14457 for _am_header
in $config_headers :; do
14458 case $_am_header in
14459 $ac_file |
$ac_file:* )
14462 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14465 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
14466 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14467 X$ac_file : 'X\(//\)[^/]' \| \
14468 X$ac_file : 'X\(//\)$' \| \
14469 X$ac_file : 'X\(/\)' \| \
14470 . : '\(.\)' 2>/dev/null ||
14472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14473 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14474 /^X\(\/\/\)$/{ s//\1/; q; }
14475 /^X\(\/\).*/{ s//\1/; q; }
14476 s/.*/./; q'`/stamp-h
$_am_stamp_count
14479 cat >>$CONFIG_STATUS <<\_ACEOF
14482 # CONFIG_COMMANDS section.
14484 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
14485 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
14486 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14487 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
14488 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14489 X"$ac_dest" : 'X\(//\)[^/]' \| \
14490 X"$ac_dest" : 'X\(//\)$' \| \
14491 X"$ac_dest" : 'X\(/\)' \| \
14492 . : '\(.\)' 2>/dev/null ||
14494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14495 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14496 /^X\(\/\/\)$/{ s//\1/; q; }
14497 /^X\(\/\).*/{ s//\1/; q; }
14499 { if $as_mkdir_p; then
14504 while test ! -d "$as_dir"; do
14505 as_dirs
="$as_dir $as_dirs"
14506 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14507 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14508 X"$as_dir" : 'X\(//\)[^/]' \| \
14509 X"$as_dir" : 'X\(//\)$' \| \
14510 X"$as_dir" : 'X\(/\)' \| \
14511 . : '\(.\)' 2>/dev/null ||
14513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14514 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14515 /^X\(\/\/\)$/{ s//\1/; q; }
14516 /^X\(\/\).*/{ s//\1/; q; }
14519 test ! -n "$as_dirs" || mkdir
$as_dirs
14520 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14521 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14522 { (exit 1); exit 1; }; }; }
14526 if test "$ac_dir" != .
; then
14527 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14528 # A "../" for each directory in $ac_dir_suffix.
14529 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14531 ac_dir_suffix
= ac_top_builddir
=
14535 .
) # No --srcdir option. We are building in place.
14537 if test -z "$ac_top_builddir"; then
14540 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14542 [\\/]* | ?
:[\\/]* ) # Absolute path.
14543 ac_srcdir
=$srcdir$ac_dir_suffix;
14544 ac_top_srcdir
=$srcdir ;;
14545 *) # Relative path.
14546 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14547 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14550 # Do not use `cd foo && pwd` to compute absolute paths, because
14551 # the directories may not exist.
14553 .
) ac_abs_builddir
="$ac_dir";;
14556 .
) ac_abs_builddir
=`pwd`;;
14557 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14558 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14561 case $ac_abs_builddir in
14562 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14564 case ${ac_top_builddir}.
in
14565 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14566 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14567 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14570 case $ac_abs_builddir in
14571 .
) ac_abs_srcdir
=$ac_srcdir;;
14574 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14575 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14576 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14579 case $ac_abs_builddir in
14580 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14582 case $ac_top_srcdir in
14583 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14584 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14585 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14590 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14591 echo "$as_me: executing $ac_dest commands" >&6;}
14593 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
14594 # Strip MF so we end up with the name of the file.
14595 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14596 # Check whether this is an Automake generated Makefile or not.
14597 # We used to match only the files named `Makefile.in', but
14598 # some people rename them; so instead we look at the file content.
14599 # Grep'ing the first line is not enough: some people post-process
14600 # each Makefile.in and add a new line on top of each file to say so.
14601 # So let's grep whole file.
14602 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
14603 dirpart
=`(dirname "$mf") 2>/dev/null ||
14604 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14605 X"$mf" : 'X\(//\)[^/]' \| \
14606 X"$mf" : 'X\(//\)$' \| \
14607 X"$mf" : 'X\(/\)' \| \
14608 . : '\(.\)' 2>/dev/null ||
14610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14611 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14612 /^X\(\/\/\)$/{ s//\1/; q; }
14613 /^X\(\/\).*/{ s//\1/; q; }
14618 # Extract the definition of DEPDIR, am__include, and am__quote
14619 # from the Makefile without running `make'.
14620 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14621 test -z "$DEPDIR" && continue
14622 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14623 test -z "am__include" && continue
14624 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14625 # When using ansi2knr, U may be empty or an underscore; expand it
14626 U
=`sed -n 's/^U = //p' < "$mf"`
14627 # Find all dependency output files, they are included files with
14628 # $(DEPDIR) in their names. We invoke sed twice because it is the
14629 # simplest approach to changing $(DEPDIR) to its actual value in the
14631 for file in `sed -n "
14632 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14633 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14634 # Make sure the directory exists.
14635 test -f "$dirpart/$file" && continue
14636 fdir
=`(dirname "$file") 2>/dev/null ||
14637 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14638 X"$file" : 'X\(//\)[^/]' \| \
14639 X"$file" : 'X\(//\)$' \| \
14640 X"$file" : 'X\(/\)' \| \
14641 . : '\(.\)' 2>/dev/null ||
14643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14644 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14645 /^X\(\/\/\)$/{ s//\1/; q; }
14646 /^X\(\/\).*/{ s//\1/; q; }
14648 { if $as_mkdir_p; then
14649 mkdir
-p $dirpart/$fdir
14651 as_dir
=$dirpart/$fdir
14653 while test ! -d "$as_dir"; do
14654 as_dirs
="$as_dir $as_dirs"
14655 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14657 X"$as_dir" : 'X\(//\)[^/]' \| \
14658 X"$as_dir" : 'X\(//\)$' \| \
14659 X"$as_dir" : 'X\(/\)' \| \
14660 . : '\(.\)' 2>/dev/null ||
14662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14663 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14664 /^X\(\/\/\)$/{ s//\1/; q; }
14665 /^X\(\/\).*/{ s//\1/; q; }
14668 test ! -n "$as_dirs" || mkdir
$as_dirs
14669 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14670 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14671 { (exit 1); exit 1; }; }; }
14673 # echo "creating $dirpart/$file"
14674 echo '# dummy' > "$dirpart/$file"
14679 for ac_file
in $CONFIG_FILES; do
14680 # Support "outfile[:infile[:infile...]]"
14682 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14684 # PO directories have a Makefile.in generated from Makefile.in.in.
14685 case "$ac_file" in */Makefile.
in)
14686 # Adjust a relative srcdir.
14687 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14688 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
14689 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14690 # In autoconf-2.13 it is called $ac_given_srcdir.
14691 # In autoconf-2.50 it is called $srcdir.
14692 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
14693 case "$ac_given_srcdir" in
14694 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
14695 /*) top_srcdir
="$ac_given_srcdir" ;;
14696 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14698 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14699 rm -f "$ac_dir/POTFILES"
14700 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
14701 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
14702 POMAKEFILEDEPS
="POTFILES.in"
14703 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
14704 # on $ac_dir but don't depend on user-specified configuration
14706 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14707 # The LINGUAS file contains the set of available languages.
14708 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14709 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
14711 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14712 # Hide the ALL_LINGUAS assigment from automake.
14713 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14714 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14716 # The set of available languages was given in configure.in.
14717 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14720 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
14721 # Compute UPDATEPOFILES
14722 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
14723 # Compute DUMMYPOFILES
14724 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
14726 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
14727 case "$ac_given_srcdir" in
14729 *) srcdirpre
='$(srcdir)/' ;;
14735 for lang
in $ALL_LINGUAS; do
14736 POFILES
="$POFILES $srcdirpre$lang.po"
14737 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
14738 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
14739 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
14741 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14742 # environment variable.
14744 if test -n "$ALL_LINGUAS"; then
14745 for presentlang
in $ALL_LINGUAS; do
14747 if test "%UNSET%" != "$LINGUAS"; then
14748 desiredlanguages
="$LINGUAS"
14750 desiredlanguages
="$ALL_LINGUAS"
14752 for desiredlang
in $desiredlanguages; do
14753 # Use the presentlang catalog if desiredlang is
14754 # a. equal to presentlang, or
14755 # b. a variant of presentlang (because in this case,
14756 # presentlang can be used as a fallback for messages
14757 # which are not translated in the desiredlang catalog).
14758 case "$desiredlang" in
14759 "$presentlang"*) useit
=yes;;
14762 if test $useit = yes; then
14763 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14768 if test -n "$INST_LINGUAS"; then
14769 for lang
in $INST_LINGUAS; do
14770 CATALOGS
="$CATALOGS $lang.gmo"
14773 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14774 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
14775 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14776 if test -f "$f"; then
14778 *.orig |
*.bak |
*~
) ;;
14779 *) cat "$f" >> "$ac_dir/Makefile" ;;
14791 cat >>$CONFIG_STATUS <<\_ACEOF
14793 { (exit 0); exit 0; }
14795 chmod +x
$CONFIG_STATUS
14796 ac_clean_files
=$ac_clean_files_save
14799 # configure is writing to config.log, and then calls config.status.
14800 # config.status does its own redirection, appending to config.log.
14801 # Unfortunately, on DOS this fails, as config.log is still kept open
14802 # by configure, so config.status won't be able to write to it; its
14803 # output is simply discarded. So we exec the FD to /dev/null,
14804 # effectively closing config.log, so it can be properly (re)opened and
14805 # appended to by config.status. When coming back to configure, we
14806 # need to make the FD available again.
14807 if test "$no_create" != yes; then
14809 ac_config_status_args
=
14810 test "$silent" = yes &&
14811 ac_config_status_args
="$ac_config_status_args --quiet"
14813 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14815 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14816 # would make configure fail if this is the last instruction.
14817 $ac_cs_success ||
{ (exit 1); exit 1; }