2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for cpplib .
5 # Report bugs to <gcc-bugs@gcc.gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='cpplib'
271 PACKAGE_TARNAME
='cpplib'
273 PACKAGE_STRING
='cpplib '
274 PACKAGE_BUGREPORT
='gcc-bugs@gcc.gnu.org'
276 ac_unique_file
="ucnid.h"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB ACLOCAL AUTOCONF AUTOHEADER WARN_CFLAGS WARN_PEDANTIC WERROR am__leading_dot DEPDIR CCDEPMODE CPP EGREP LIBOBJS ALLOCA USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT LIBICONV LTLIBICONV PACKAGE USED_CATALOGS MAINT LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures cpplib to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --build=BUILD configure
for building on BUILD
[guessed
]
838 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
839 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive
) echo "Configuration of cpplib :";;
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --enable-werror-always enable -Werror despite compiler version
853 --disable-rpath do not hardcode runtime library paths
854 --enable-maintainer-mode enable rules only needed by maintainers
855 --enable-checking enable expensive run-time checks
858 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
859 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
860 --with-gnu-ld assume the C compiler uses GNU ld default
=no
861 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
862 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
864 Some influential environment variables:
865 CC C compiler command
866 CFLAGS C compiler flags
867 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
868 nonstandard directory <lib dir>
869 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
870 headers in a nonstandard directory <include dir>
873 Use these variables to override the choices made by `configure' or to
help
874 it to
find libraries and programs with nonstandard names
/locations.
876 Report bugs to
<gcc-bugs@gcc.gnu.org
>.
880 if test "$ac_init_help" = "recursive"; then
881 # If there are subdirs, report their specific --help.
883 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
884 test -d $ac_dir ||
continue
887 if test "$ac_dir" != .
; then
888 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
889 # A "../" for each directory in $ac_dir_suffix.
890 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
892 ac_dir_suffix
= ac_top_builddir
=
896 .
) # No --srcdir option. We are building in place.
898 if test -z "$ac_top_builddir"; then
901 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
903 [\\/]* | ?
:[\\/]* ) # Absolute path.
904 ac_srcdir
=$srcdir$ac_dir_suffix;
905 ac_top_srcdir
=$srcdir ;;
907 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
908 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
911 # Do not use `cd foo && pwd` to compute absolute paths, because
912 # the directories may not exist.
914 .
) ac_abs_builddir
="$ac_dir";;
917 .
) ac_abs_builddir
=`pwd`;;
918 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
919 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
922 case $ac_abs_builddir in
923 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
925 case ${ac_top_builddir}.
in
926 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
927 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
928 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
931 case $ac_abs_builddir in
932 .
) ac_abs_srcdir
=$ac_srcdir;;
935 .
) ac_abs_srcdir
=$ac_abs_builddir;;
936 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
937 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
940 case $ac_abs_builddir in
941 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
943 case $ac_top_srcdir in
944 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
945 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
946 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
951 # Check for guested configure; otherwise get Cygnus style configure.
952 if test -f $ac_srcdir/configure.gnu
; then
954 $SHELL $ac_srcdir/configure.gnu
--help=recursive
955 elif test -f $ac_srcdir/configure
; then
957 $SHELL $ac_srcdir/configure
--help=recursive
958 elif test -f $ac_srcdir/configure.ac ||
959 test -f $ac_srcdir/configure.
in; then
963 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
969 test -n "$ac_init_help" && exit 0
970 if $ac_init_version; then
973 generated by GNU Autoconf
2.59
975 Copyright
(C
) 2003 Free Software Foundation
, Inc.
976 This configure
script is free software
; the Free Software Foundation
977 gives unlimited permission to copy
, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by cpplib $as_me , which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
999 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1000 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1001 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1002 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1004 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1005 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1007 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1008 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1009 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1010 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1011 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1012 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1013 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir
=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next
=false
1052 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1053 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1054 |
-silent |
--silent |
--silen |
--sile |
--sil)
1056 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true
; then
1064 ac_must_keep_next
=false
# Got value, back to normal.
1067 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1068 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1069 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1070 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next
=true
;;
1078 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1086 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close' the trap.
1093 trap 'exit_status=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var in $ac_subst_vars
1129 eval ac_val=$`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var in $ac_subst_files
1143 eval ac_val=$`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h; then
1156 sed "/^$/d" confdefs.h | sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core *.core &&
1164 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1167 for ac_signal
in 1 2 13 15; do
1168 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest
* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h
<<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h
<<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h
<<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h
<<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h
<<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE
; then
1208 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file
in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's/^/| /' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1230 *) . .
/$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted
=false
1242 for ac_var
in `(set) 2>&1 |
1243 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1244 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1245 eval ac_new_set
=\
$ac_env_${ac_var}_set
1246 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val
="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1252 ac_cache_corrupted
=: ;;
1254 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted
=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1261 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted
=:
1269 # Pass precious variables to config.status.
1270 if test "$ac_new_set" = set; then
1272 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1274 *) ac_arg
=$ac_var=$ac_new_val ;;
1276 case " $ac_configure_args " in
1277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1278 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1282 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1286 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1287 { (exit 1); exit 1; }; }
1291 ac_cpp
='$CPP $CPPFLAGS'
1292 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1293 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1294 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1324 [\\/]* | ?
:[\\/]* ) ac_macro_dir
=..
/config
;;
1325 *) ac_macro_dir
=$srcdir/..
/config
;;
1327 if test -d "$ac_macro_dir"; then :
1329 { { echo "$as_me:$LINENO: error: cannot find macro directory \`../config'" >&5
1330 echo "$as_me: error: cannot find macro directory \`../config'" >&2;}
1331 { (exit 1); exit 1; }; }
1335 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1336 if test -f $ac_dir/install-sh
; then
1338 ac_install_sh
="$ac_aux_dir/install-sh -c"
1340 elif test -f $ac_dir/install.sh
; then
1342 ac_install_sh
="$ac_aux_dir/install.sh -c"
1344 elif test -f $ac_dir/shtool
; then
1346 ac_install_sh
="$ac_aux_dir/shtool install -c"
1350 if test -z "$ac_aux_dir"; then
1351 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1352 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1353 { (exit 1); exit 1; }; }
1355 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1356 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1357 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1359 # Make sure we can run config.sub.
1360 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1361 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1362 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1363 { (exit 1); exit 1; }; }
1365 echo "$as_me:$LINENO: checking build system type" >&5
1366 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1367 if test "${ac_cv_build+set}" = set; then
1368 echo $ECHO_N "(cached) $ECHO_C" >&6
1370 ac_cv_build_alias
=$build_alias
1371 test -z "$ac_cv_build_alias" &&
1372 ac_cv_build_alias
=`$ac_config_guess`
1373 test -z "$ac_cv_build_alias" &&
1374 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1375 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1376 { (exit 1); exit 1; }; }
1377 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1378 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1379 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1380 { (exit 1); exit 1; }; }
1383 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1384 echo "${ECHO_T}$ac_cv_build" >&6
1386 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1387 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1388 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1391 echo "$as_me:$LINENO: checking host system type" >&5
1392 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1393 if test "${ac_cv_host+set}" = set; then
1394 echo $ECHO_N "(cached) $ECHO_C" >&6
1396 ac_cv_host_alias
=$host_alias
1397 test -z "$ac_cv_host_alias" &&
1398 ac_cv_host_alias
=$ac_cv_build_alias
1399 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1400 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1401 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1402 { (exit 1); exit 1; }; }
1405 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1406 echo "${ECHO_T}$ac_cv_host" >&6
1408 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1409 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1410 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1413 echo "$as_me:$LINENO: checking target system type" >&5
1414 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1415 if test "${ac_cv_target+set}" = set; then
1416 echo $ECHO_N "(cached) $ECHO_C" >&6
1418 ac_cv_target_alias
=$target_alias
1419 test "x$ac_cv_target_alias" = "x" &&
1420 ac_cv_target_alias
=$ac_cv_host_alias
1421 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1422 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1423 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1424 { (exit 1); exit 1; }; }
1427 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1428 echo "${ECHO_T}$ac_cv_target" >&6
1429 target
=$ac_cv_target
1430 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1431 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1432 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1435 # The aliases save the names the user supplied, while $host etc.
1436 # will get canonicalized.
1437 test -n "$target_alias" &&
1438 test "$program_prefix$program_suffix$program_transform_name" = \
1440 program_prefix
=${target_alias}-
1442 # Checks for programs.
1443 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1444 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1445 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1446 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1447 echo $ECHO_N "(cached) $ECHO_C" >&6
1449 cat >conftest.
make <<\_ACEOF
1451 @
echo 'ac_maketemp="$(MAKE)"'
1453 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1454 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1455 if test -n "$ac_maketemp"; then
1456 eval ac_cv_prog_make_
${ac_make}_set
=yes
1458 eval ac_cv_prog_make_
${ac_make}_set
=no
1462 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1463 echo "$as_me:$LINENO: result: yes" >&5
1464 echo "${ECHO_T}yes" >&6
1467 echo "$as_me:$LINENO: result: no" >&5
1468 echo "${ECHO_T}no" >&6
1469 SET_MAKE
="MAKE=${MAKE-make}"
1472 # Find a good install program. We prefer a C program (faster),
1473 # so one script is as good as another. But avoid the broken or
1474 # incompatible versions:
1475 # SysV /etc/install, /usr/sbin/install
1476 # SunOS /usr/etc/install
1477 # IRIX /sbin/install
1479 # AmigaOS /C/install, which installs bootblocks on floppy discs
1480 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1481 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1482 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1483 # OS/2's system install, which has a completely different semantic
1484 # ./install, which can be erroneously created by make from ./install.sh.
1485 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1486 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1487 if test -z "$INSTALL"; then
1488 if test "${ac_cv_path_install+set}" = set; then
1489 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1495 test -z "$as_dir" && as_dir
=.
1496 # Account for people who put trailing slashes in PATH elements.
1498 .
/ | .
// |
/cC
/* | \
1499 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1500 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1503 # OSF1 and SCO ODT 3.0 have their own names for install.
1504 # Don't use installbsd from OSF since it installs stuff as root
1506 for ac_prog
in ginstall scoinst
install; do
1507 for ac_exec_ext
in '' $ac_executable_extensions; do
1508 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1509 if test $ac_prog = install &&
1510 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1511 # AIX install. It has an incompatible calling convention.
1513 elif test $ac_prog = install &&
1514 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1515 # program-specific install script used by HP pwplus--don't use.
1518 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1530 if test "${ac_cv_path_install+set}" = set; then
1531 INSTALL
=$ac_cv_path_install
1533 # As a last resort, use the slow shell script. We don't cache a
1534 # path for INSTALL within a source directory, because that will
1535 # break other packages using the cache if that directory is
1536 # removed, or if the path is relative.
1537 INSTALL
=$ac_install_sh
1540 echo "$as_me:$LINENO: result: $INSTALL" >&5
1541 echo "${ECHO_T}$INSTALL" >&6
1543 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1544 # It thinks the first close brace ends the variable substitution.
1545 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1547 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1549 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1552 ac_cpp
='$CPP $CPPFLAGS'
1553 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1554 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1555 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1556 if test -n "$ac_tool_prefix"; then
1557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1558 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1559 echo "$as_me:$LINENO: checking for $ac_word" >&5
1560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1561 if test "${ac_cv_prog_CC+set}" = set; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 if test -n "$CC"; then
1565 ac_cv_prog_CC
="$CC" # Let the user override the test.
1567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1571 test -z "$as_dir" && as_dir
=.
1572 for ac_exec_ext
in '' $ac_executable_extensions; do
1573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1574 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1584 if test -n "$CC"; then
1585 echo "$as_me:$LINENO: result: $CC" >&5
1586 echo "${ECHO_T}$CC" >&6
1588 echo "$as_me:$LINENO: result: no" >&5
1589 echo "${ECHO_T}no" >&6
1593 if test -z "$ac_cv_prog_CC"; then
1595 # Extract the first word of "gcc", so it can be a program name with args.
1596 set dummy gcc
; ac_word
=$2
1597 echo "$as_me:$LINENO: checking for $ac_word" >&5
1598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1599 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 if test -n "$ac_ct_CC"; then
1603 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1609 test -z "$as_dir" && as_dir
=.
1610 for ac_exec_ext
in '' $ac_executable_extensions; do
1611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1612 ac_cv_prog_ac_ct_CC
="gcc"
1613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1621 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1622 if test -n "$ac_ct_CC"; then
1623 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1624 echo "${ECHO_T}$ac_ct_CC" >&6
1626 echo "$as_me:$LINENO: result: no" >&5
1627 echo "${ECHO_T}no" >&6
1635 if test -z "$CC"; then
1636 if test -n "$ac_tool_prefix"; then
1637 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1638 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1639 echo "$as_me:$LINENO: checking for $ac_word" >&5
1640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1641 if test "${ac_cv_prog_CC+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1644 if test -n "$CC"; then
1645 ac_cv_prog_CC
="$CC" # Let the user override the test.
1647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1651 test -z "$as_dir" && as_dir
=.
1652 for ac_exec_ext
in '' $ac_executable_extensions; do
1653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1654 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1664 if test -n "$CC"; then
1665 echo "$as_me:$LINENO: result: $CC" >&5
1666 echo "${ECHO_T}$CC" >&6
1668 echo "$as_me:$LINENO: result: no" >&5
1669 echo "${ECHO_T}no" >&6
1673 if test -z "$ac_cv_prog_CC"; then
1675 # Extract the first word of "cc", so it can be a program name with args.
1676 set dummy cc
; ac_word
=$2
1677 echo "$as_me:$LINENO: checking for $ac_word" >&5
1678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1679 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 if test -n "$ac_ct_CC"; then
1683 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1689 test -z "$as_dir" && as_dir
=.
1690 for ac_exec_ext
in '' $ac_executable_extensions; do
1691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1692 ac_cv_prog_ac_ct_CC
="cc"
1693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1701 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1702 if test -n "$ac_ct_CC"; then
1703 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1704 echo "${ECHO_T}$ac_ct_CC" >&6
1706 echo "$as_me:$LINENO: result: no" >&5
1707 echo "${ECHO_T}no" >&6
1716 if test -z "$CC"; then
1717 # Extract the first word of "cc", so it can be a program name with args.
1718 set dummy cc
; ac_word
=$2
1719 echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1721 if test "${ac_cv_prog_CC+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 if test -n "$CC"; then
1725 ac_cv_prog_CC
="$CC" # 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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1736 ac_prog_rejected
=yes
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1746 if test $ac_prog_rejected = yes; then
1747 # We found a bogon in the path, so make sure we never use it.
1748 set dummy
$ac_cv_prog_CC
1750 if test $# != 0; then
1751 # We chose a different compiler from the bogus one.
1752 # However, it has the same basename, so the bogon will be chosen
1753 # first if we set CC to just the basename; use the full file name.
1755 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1761 if test -n "$CC"; then
1762 echo "$as_me:$LINENO: result: $CC" >&5
1763 echo "${ECHO_T}$CC" >&6
1765 echo "$as_me:$LINENO: result: no" >&5
1766 echo "${ECHO_T}no" >&6
1770 if test -z "$CC"; then
1771 if test -n "$ac_tool_prefix"; then
1774 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1775 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1776 echo "$as_me:$LINENO: checking for $ac_word" >&5
1777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1778 if test "${ac_cv_prog_CC+set}" = set; then
1779 echo $ECHO_N "(cached) $ECHO_C" >&6
1781 if test -n "$CC"; then
1782 ac_cv_prog_CC
="$CC" # Let the user override the test.
1784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1788 test -z "$as_dir" && as_dir
=.
1789 for ac_exec_ext
in '' $ac_executable_extensions; do
1790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1791 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 if test -n "$CC"; then
1802 echo "$as_me:$LINENO: result: $CC" >&5
1803 echo "${ECHO_T}$CC" >&6
1805 echo "$as_me:$LINENO: result: no" >&5
1806 echo "${ECHO_T}no" >&6
1809 test -n "$CC" && break
1812 if test -z "$CC"; then
1816 # Extract the first word of "$ac_prog", so it can be a program name with args.
1817 set dummy
$ac_prog; ac_word
=$2
1818 echo "$as_me:$LINENO: checking for $ac_word" >&5
1819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1820 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1821 echo $ECHO_N "(cached) $ECHO_C" >&6
1823 if test -n "$ac_ct_CC"; then
1824 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1830 test -z "$as_dir" && as_dir
=.
1831 for ac_exec_ext
in '' $ac_executable_extensions; do
1832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1833 ac_cv_prog_ac_ct_CC
="$ac_prog"
1834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1842 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1843 if test -n "$ac_ct_CC"; then
1844 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1845 echo "${ECHO_T}$ac_ct_CC" >&6
1847 echo "$as_me:$LINENO: result: no" >&5
1848 echo "${ECHO_T}no" >&6
1851 test -n "$ac_ct_CC" && break
1860 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1861 See \`config.log' for more details." >&5
1862 echo "$as_me: error: no acceptable C compiler found in \$PATH
1863 See \`config.log' for more details." >&2;}
1864 { (exit 1); exit 1; }; }
1866 # Provide some information about the compiler.
1867 echo "$as_me:$LINENO:" \
1868 "checking for C compiler version" >&5
1869 ac_compiler
=`set X $ac_compile; echo $2`
1870 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1871 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1874 (exit $ac_status); }
1875 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1876 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879 (exit $ac_status); }
1880 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1881 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); }
1886 cat >conftest.
$ac_ext <<_ACEOF
1889 cat confdefs.h
>>conftest.
$ac_ext
1890 cat >>conftest.
$ac_ext <<_ACEOF
1891 /* end confdefs.h. */
1901 ac_clean_files_save
=$ac_clean_files
1902 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1903 # Try to create an executable without -o first, disregard a.out.
1904 # It will help us diagnose broken compilers, and finding out an intuition
1906 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1907 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1908 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1909 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1910 (eval $ac_link_default) 2>&5
1912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913 (exit $ac_status); }; then
1914 # Find the output, starting from the most likely. This scheme is
1915 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1918 # Be careful to initialize this variable, since it used to be cached.
1919 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1921 # b.out is created by i960 compilers.
1922 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1924 test -f "$ac_file" ||
continue
1926 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1929 # This is the source file.
1932 # We found the default executable, but exeext='' is most
1936 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1937 # FIXME: I believe we export ac_cv_exeext for Libtool,
1938 # but it would be cool to find out if it's true. Does anybody
1939 # maintain Libtool? --akim.
1947 echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.
$ac_ext >&5
1950 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1951 See \`config.log' for more details." >&5
1952 echo "$as_me: error: C compiler cannot create executables
1953 See \`config.log' for more details." >&2;}
1954 { (exit 77); exit 77; }; }
1957 ac_exeext
=$ac_cv_exeext
1958 echo "$as_me:$LINENO: result: $ac_file" >&5
1959 echo "${ECHO_T}$ac_file" >&6
1961 # Check the compiler produces executables we can run. If not, either
1962 # the compiler is broken, or we cross compile.
1963 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1964 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1965 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1966 # If not cross compiling, check that we can run a simple program.
1967 if test "$cross_compiling" != yes; then
1968 if { ac_try
='./$ac_file'
1969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1973 (exit $ac_status); }; }; then
1976 if test "$cross_compiling" = maybe
; then
1979 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1980 If you meant to cross compile, use \`--host'.
1981 See \`config.log' for more details." >&5
1982 echo "$as_me: error: cannot run C compiled programs.
1983 If you meant to cross compile, use \`--host'.
1984 See \`config.log' for more details." >&2;}
1985 { (exit 1); exit 1; }; }
1989 echo "$as_me:$LINENO: result: yes" >&5
1990 echo "${ECHO_T}yes" >&6
1992 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1993 ac_clean_files
=$ac_clean_files_save
1994 # Check the compiler produces executables we can run. If not, either
1995 # the compiler is broken, or we cross compile.
1996 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1997 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1998 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1999 echo "${ECHO_T}$cross_compiling" >&6
2001 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2002 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2004 (eval $ac_link) 2>&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; then
2008 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2009 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2010 # work properly (i.e., refer to `conftest.exe'), while it won't with
2012 for ac_file
in conftest.exe conftest conftest.
*; do
2013 test -f "$ac_file" ||
continue
2015 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2016 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2023 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2024 See \`config.log' for more details." >&5
2025 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2026 See \`config.log' for more details." >&2;}
2027 { (exit 1); exit 1; }; }
2030 rm -f conftest
$ac_cv_exeext
2031 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2032 echo "${ECHO_T}$ac_cv_exeext" >&6
2034 rm -f conftest.
$ac_ext
2035 EXEEXT
=$ac_cv_exeext
2037 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2038 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2039 if test "${ac_cv_objext+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2042 cat >conftest.
$ac_ext <<_ACEOF
2045 cat confdefs.h
>>conftest.
$ac_ext
2046 cat >>conftest.
$ac_ext <<_ACEOF
2047 /* end confdefs.h. */
2057 rm -f conftest.o conftest.obj
2058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2059 (eval $ac_compile) 2>&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); }; then
2063 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2065 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2066 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2071 echo "$as_me: failed program was:" >&5
2072 sed 's/^/| /' conftest.
$ac_ext >&5
2074 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2075 See \`config.log' for more details." >&5
2076 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2077 See \`config.log' for more details." >&2;}
2078 { (exit 1); exit 1; }; }
2081 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2083 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2084 echo "${ECHO_T}$ac_cv_objext" >&6
2085 OBJEXT
=$ac_cv_objext
2087 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2088 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2089 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 cat >conftest.
$ac_ext <<_ACEOF
2095 cat confdefs.h
>>conftest.
$ac_ext
2096 cat >>conftest.
$ac_ext <<_ACEOF
2097 /* end confdefs.h. */
2110 rm -f conftest.
$ac_objext
2111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2112 (eval $ac_compile) 2>conftest.er1
2114 grep -v '^ *+' conftest.er1
>conftest.err
2116 cat conftest.err
>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); } &&
2119 { ac_try
='test -z "$ac_c_werror_flag"
2120 || test ! -s conftest.err'
2121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }; } &&
2126 { ac_try
='test -s conftest.$ac_objext'
2127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }; }; then
2134 echo "$as_me: failed program was:" >&5
2135 sed 's/^/| /' conftest.
$ac_ext >&5
2139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2140 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2143 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2144 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2145 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2146 ac_test_CFLAGS
=${CFLAGS+set}
2147 ac_save_CFLAGS
=$CFLAGS
2149 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2150 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2151 if test "${ac_cv_prog_cc_g+set}" = set; then
2152 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 cat >conftest.
$ac_ext <<_ACEOF
2157 cat confdefs.h
>>conftest.
$ac_ext
2158 cat >>conftest.
$ac_ext <<_ACEOF
2159 /* end confdefs.h. */
2169 rm -f conftest.
$ac_objext
2170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2171 (eval $ac_compile) 2>conftest.er1
2173 grep -v '^ *+' conftest.er1
>conftest.err
2175 cat conftest.err
>&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); } &&
2178 { ac_try
='test -z "$ac_c_werror_flag"
2179 || test ! -s conftest.err'
2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); }; } &&
2185 { ac_try
='test -s conftest.$ac_objext'
2186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190 (exit $ac_status); }; }; then
2193 echo "$as_me: failed program was:" >&5
2194 sed 's/^/| /' conftest.
$ac_ext >&5
2198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2200 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2201 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2202 if test "$ac_test_CFLAGS" = set; then
2203 CFLAGS
=$ac_save_CFLAGS
2204 elif test $ac_cv_prog_cc_g = yes; then
2205 if test "$GCC" = yes; then
2211 if test "$GCC" = yes; then
2217 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2218 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2219 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 ac_cv_prog_cc_stdc
=no
2224 cat >conftest.
$ac_ext <<_ACEOF
2227 cat confdefs.h
>>conftest.
$ac_ext
2228 cat >>conftest.
$ac_ext <<_ACEOF
2229 /* end confdefs.h. */
2232 #include <sys/types.h>
2233 #include <sys/stat.h>
2234 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2235 struct buf { int x; };
2236 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2237 static char *e (p, i)
2243 static char *f (char * (*g) (char **, int), char **p, ...)
2248 s = g (p, va_arg (v,int));
2253 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2254 function prototypes and stuff, but not '\xHH' hex character constants.
2255 These don't provoke an error unfortunately, instead are silently treated
2256 as 'x'. The following induces an error, until -std1 is added to get
2257 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2258 array size at least. It's necessary to write '\x00'==0 to get something
2259 that's true only with -std1. */
2260 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2262 int test (int i, double x);
2263 struct s1 {int (*f) (int a);};
2264 struct s2 {int (*f) (double a);};
2265 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2271 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2276 # Don't try gcc -ansi; that turns off useful extensions and
2277 # breaks some systems' header files.
2278 # AIX -qlanglvl=ansi
2279 # Ultrix and OSF/1 -std1
2280 # HP-UX 10.20 and later -Ae
2281 # HP-UX older versions -Aa -D_HPUX_SOURCE
2282 # SVR4 -Xc -D__EXTENSIONS__
2283 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2285 CC
="$ac_save_CC $ac_arg"
2286 rm -f conftest.
$ac_objext
2287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2288 (eval $ac_compile) 2>conftest.er1
2290 grep -v '^ *+' conftest.er1
>conftest.err
2292 cat conftest.err
>&5
2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294 (exit $ac_status); } &&
2295 { ac_try
='test -z "$ac_c_werror_flag"
2296 || test ! -s conftest.err'
2297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }; } &&
2302 { ac_try
='test -s conftest.$ac_objext'
2303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307 (exit $ac_status); }; }; then
2308 ac_cv_prog_cc_stdc
=$ac_arg
2311 echo "$as_me: failed program was:" >&5
2312 sed 's/^/| /' conftest.
$ac_ext >&5
2315 rm -f conftest.err conftest.
$ac_objext
2317 rm -f conftest.
$ac_ext conftest.
$ac_objext
2322 case "x$ac_cv_prog_cc_stdc" in
2324 echo "$as_me:$LINENO: result: none needed" >&5
2325 echo "${ECHO_T}none needed" >&6 ;;
2327 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2328 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2329 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2332 # Some people use a C++ compiler to compile C. Since we use `exit',
2333 # in C++ we need to declare it. In case someone uses the same compiler
2334 # for both compiling C and C++ we need to have the C++ compiler decide
2335 # the declaration of exit, since it's the most demanding environment.
2336 cat >conftest.
$ac_ext <<_ACEOF
2341 rm -f conftest.
$ac_objext
2342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2343 (eval $ac_compile) 2>conftest.er1
2345 grep -v '^ *+' conftest.er1
>conftest.err
2347 cat conftest.err
>&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); } &&
2350 { ac_try
='test -z "$ac_c_werror_flag"
2351 || test ! -s conftest.err'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; } &&
2357 { ac_try
='test -s conftest.$ac_objext'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2363 for ac_declaration
in \
2365 'extern "C" void std::exit (int) throw (); using std::exit;' \
2366 'extern "C" void std::exit (int); using std::exit;' \
2367 'extern "C" void exit (int) throw ();' \
2368 'extern "C" void exit (int);' \
2371 cat >conftest.
$ac_ext <<_ACEOF
2374 cat confdefs.h
>>conftest.
$ac_ext
2375 cat >>conftest.
$ac_ext <<_ACEOF
2376 /* 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 cat >conftest.
$ac_ext <<_ACEOF
2420 cat confdefs.h
>>conftest.
$ac_ext
2421 cat >>conftest.
$ac_ext <<_ACEOF
2422 /* end confdefs.h. */
2432 rm -f conftest.
$ac_objext
2433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2434 (eval $ac_compile) 2>conftest.er1
2436 grep -v '^ *+' conftest.er1
>conftest.err
2438 cat conftest.err
>&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); } &&
2441 { ac_try
='test -z "$ac_c_werror_flag"
2442 || test ! -s conftest.err'
2443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447 (exit $ac_status); }; } &&
2448 { ac_try
='test -s conftest.$ac_objext'
2449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); }; }; then
2456 echo "$as_me: failed program was:" >&5
2457 sed 's/^/| /' conftest.
$ac_ext >&5
2460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2463 if test -n "$ac_declaration"; then
2464 echo '#ifdef __cplusplus' >>confdefs.h
2465 echo $ac_declaration >>confdefs.h
2466 echo '#endif' >>confdefs.h
2470 echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.
$ac_ext >&5
2474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2476 ac_cpp
='$CPP $CPPFLAGS'
2477 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2478 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2479 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2481 if test -n "$ac_tool_prefix"; then
2482 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2483 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2484 echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2486 if test "${ac_cv_prog_RANLIB+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 if test -n "$RANLIB"; then
2490 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir
=.
2497 for ac_exec_ext
in '' $ac_executable_extensions; do
2498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2499 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2508 RANLIB
=$ac_cv_prog_RANLIB
2509 if test -n "$RANLIB"; then
2510 echo "$as_me:$LINENO: result: $RANLIB" >&5
2511 echo "${ECHO_T}$RANLIB" >&6
2513 echo "$as_me:$LINENO: result: no" >&5
2514 echo "${ECHO_T}no" >&6
2518 if test -z "$ac_cv_prog_RANLIB"; then
2519 ac_ct_RANLIB
=$RANLIB
2520 # Extract the first word of "ranlib", so it can be a program name with args.
2521 set dummy ranlib
; ac_word
=$2
2522 echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2524 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 if test -n "$ac_ct_RANLIB"; then
2528 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir
=.
2535 for ac_exec_ext
in '' $ac_executable_extensions; do
2536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2537 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2547 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2548 if test -n "$ac_ct_RANLIB"; then
2549 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2550 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2552 echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6
2556 RANLIB
=$ac_ct_RANLIB
2558 RANLIB
="$ac_cv_prog_RANLIB"
2562 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2563 for ac_prog
in aclocal
2565 # Extract the first word of "$ac_prog", so it can be a program name with args.
2566 set dummy
$ac_prog; ac_word
=$2
2567 echo "$as_me:$LINENO: checking for $ac_word" >&5
2568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2569 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2570 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 if test -n "$ACLOCAL"; then
2573 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
2575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir
=.
2580 for ac_exec_ext
in '' $ac_executable_extensions; do
2581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2582 ac_cv_prog_ACLOCAL
="$ac_prog"
2583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 ACLOCAL
=$ac_cv_prog_ACLOCAL
2592 if test -n "$ACLOCAL"; then
2593 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
2594 echo "${ECHO_T}$ACLOCAL" >&6
2596 echo "$as_me:$LINENO: result: no" >&5
2597 echo "${ECHO_T}no" >&6
2600 test -n "$ACLOCAL" && break
2602 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
2604 for ac_prog
in autoconf
2606 # Extract the first word of "$ac_prog", so it can be a program name with args.
2607 set dummy
$ac_prog; ac_word
=$2
2608 echo "$as_me:$LINENO: checking for $ac_word" >&5
2609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2610 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 if test -n "$AUTOCONF"; then
2614 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
2616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2620 test -z "$as_dir" && as_dir
=.
2621 for ac_exec_ext
in '' $ac_executable_extensions; do
2622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2623 ac_cv_prog_AUTOCONF
="$ac_prog"
2624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 AUTOCONF
=$ac_cv_prog_AUTOCONF
2633 if test -n "$AUTOCONF"; then
2634 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2635 echo "${ECHO_T}$AUTOCONF" >&6
2637 echo "$as_me:$LINENO: result: no" >&5
2638 echo "${ECHO_T}no" >&6
2641 test -n "$AUTOCONF" && break
2643 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
2645 for ac_prog
in autoheader
2647 # Extract the first word of "$ac_prog", so it can be a program name with args.
2648 set dummy
$ac_prog; ac_word
=$2
2649 echo "$as_me:$LINENO: checking for $ac_word" >&5
2650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2651 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 if test -n "$AUTOHEADER"; then
2655 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
2657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir
=.
2662 for ac_exec_ext
in '' $ac_executable_extensions; do
2663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2664 ac_cv_prog_AUTOHEADER
="$ac_prog"
2665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
2674 if test -n "$AUTOHEADER"; then
2675 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
2676 echo "${ECHO_T}$AUTOHEADER" >&6
2678 echo "$as_me:$LINENO: result: no" >&5
2679 echo "${ECHO_T}no" >&6
2682 test -n "$AUTOHEADER" && break
2684 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
2687 # Figure out what compiler warnings we can enable.
2688 # See config/warnings.m4 for details.
2692 save_CFLAGS
="$CFLAGS"
2693 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
2694 -Wmissing-prototypes -Wold-style-definition \
2695 -Wmissing-format-attribute; do
2696 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
2698 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
2699 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
2700 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
2701 echo $ECHO_N "(cached) $ECHO_C" >&6
2704 cat >conftest.
$ac_ext <<_ACEOF
2707 cat confdefs.h
>>conftest.
$ac_ext
2708 cat >>conftest.
$ac_ext <<_ACEOF
2709 /* end confdefs.h. */
2719 rm -f conftest.
$ac_objext
2720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2721 (eval $ac_compile) 2>conftest.er1
2723 grep -v '^ *+' conftest.er1
>conftest.err
2725 cat conftest.err
>&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); } &&
2728 { ac_try
='test -z "$ac_c_werror_flag"
2729 || test ! -s conftest.err'
2730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); }; } &&
2735 { ac_try
='test -s conftest.$ac_objext'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; }; then
2741 eval "$as_acx_Woption=yes"
2743 echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.
$ac_ext >&5
2746 eval "$as_acx_Woption=no"
2748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2751 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
2752 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
2753 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
2754 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
2758 CFLAGS
="$save_CFLAGS"
2761 if test "$GCC" = yes; then
2762 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
2763 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
2764 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 save_CFLAGS
="$CFLAGS"
2768 CFLAGS
="-pedantic -Wno-long-long"
2769 cat >conftest.
$ac_ext <<_ACEOF
2772 cat confdefs.h
>>conftest.
$ac_ext
2773 cat >>conftest.
$ac_ext <<_ACEOF
2774 /* end confdefs.h. */
2784 rm -f conftest.
$ac_objext
2785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2786 (eval $ac_compile) 2>conftest.er1
2788 grep -v '^ *+' conftest.er1
>conftest.err
2790 cat conftest.err
>&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } &&
2793 { ac_try
='test -z "$ac_c_werror_flag"
2794 || test ! -s conftest.err'
2795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }; } &&
2800 { ac_try
='test -s conftest.$ac_objext'
2801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }; }; then
2806 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
2808 echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.
$ac_ext >&5
2811 acx_cv_prog_cc_pedantic__Wno_long_long
=no
2813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2814 CFLAGS
="$save_CFLAGS"
2816 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
2817 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
2818 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
2819 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
2827 # Only enable with --enable-werror-always until existing warnings are
2830 # Check whether --enable-werror-always or --disable-werror-always was given.
2831 if test "${enable_werror_always+set}" = set; then
2832 enableval
="$enable_werror_always"
2835 enable_werror_always
=no
2837 if test $enable_werror_always = yes; then
2838 WERROR
="$WERROR${WERROR:+ }-Werror"
2844 # Dependency checking.
2845 rm -rf .tst
2>/dev
/null
2846 mkdir .tst
2>/dev
/null
2847 if test -d .tst
; then
2852 rmdir .tst
2>/dev
/null
2854 DEPDIR
="${am__leading_dot}deps"
2856 ac_config_commands
="$ac_config_commands depdir"
2859 depcc
="$CC" am_compiler_list
=
2861 am_depcomp
=$ac_aux_dir/depcomp
2862 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2863 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2864 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 if test -f "$am_depcomp"; then
2868 # We make a subdir and do the tests there. Otherwise we can end up
2869 # making bogus files that we don't know about and never remove. For
2870 # instance it was reported that on HP-UX the gcc test will end up
2871 # making a dummy file named `D' -- because `-MD' means `put the output
2874 # Copy depcomp to subdir because otherwise we won't find it if we're
2875 # using a relative directory.
2876 cp "$am_depcomp" conftest.dir
2878 # We will build objects and dependencies in a subdirectory because
2879 # it helps to detect inapplicable dependency modes. For instance
2880 # both Tru64's cc and ICC support -MD to output dependencies as a
2881 # side effect of compilation, but ICC will put the dependencies in
2882 # the current directory while Tru64 will put them in the object
2886 am_cv_CC_dependencies_compiler_type
=none
2887 if test "$am_compiler_list" = ""; then
2888 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2890 for depmode
in $am_compiler_list; do
2891 if test $depmode = none
; then break; fi
2893 echo "$as_me:$LINENO: trying $depmode" >&5
2894 # Setup a source with many dependencies, because some compilers
2895 # like to wrap large dependency lists on column 80 (with \), and
2896 # we should not choose a depcomp mode which is confused by this.
2898 # We need to recreate these files for each test, as the compiler may
2899 # overwrite some of them when testing with obscure command lines.
2900 # This happens at least with the AIX C compiler.
2902 for i
in 1 2 3 4 5 6; do
2903 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2904 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2905 # Solaris 8's {/usr,}/bin/sh.
2906 touch sub
/conftst
$i.h
2908 echo "include sub/conftest.Po" > confmf
2910 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2911 # mode. It turns out that the SunPro C++ compiler does not properly
2912 # handle `-M -o', and we need to detect this.
2913 depcmd
="depmode=$depmode \
2914 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2915 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2916 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
2917 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
2918 if env
$depcmd > conftest.err
2>&1 &&
2919 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
2920 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
2921 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
2922 # icc doesn't choke on unknown options, it will just issue warnings
2923 # or remarks (even with -Werror). So we grep stderr for any message
2924 # that says an option was ignored or not supported.
2925 # When given -MP, icc 7.0 and 7.1 complain thusly:
2926 # icc: Command line warning: ignoring option '-M'; no argument required
2927 # The diagnosis changed in icc 8.0:
2928 # icc: Command line remark: option '-MP' not supported
2929 if (grep 'ignoring option' conftest.err ||
2930 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2931 am_cv_CC_dependencies_compiler_type
=$depmode
2932 echo "$as_me:$LINENO: success" >&5
2936 echo "$as_me:$LINENO: failure, diagnostics are:" >&5
2937 sed -e 's/^/| /' < conftest.err
>&5
2943 am_cv_CC_dependencies_compiler_type
=none
2947 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2948 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2949 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
2950 then { { echo "$as_me:$LINENO: error: no usable dependency style found" >&5
2951 echo "$as_me: error: no usable dependency style found" >&2;}
2952 { (exit 1); exit 1; }; }
2953 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2958 # Checks for header files.
2959 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
2960 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
2961 if test "${ac_cv_header_time+set}" = set; then
2962 echo $ECHO_N "(cached) $ECHO_C" >&6
2964 cat >conftest.
$ac_ext <<_ACEOF
2967 cat confdefs.h
>>conftest.
$ac_ext
2968 cat >>conftest.
$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2970 #include <sys/types.h>
2971 #include <sys/time.h>
2977 if ((struct tm *) 0)
2983 rm -f conftest.
$ac_objext
2984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2985 (eval $ac_compile) 2>conftest.er1
2987 grep -v '^ *+' conftest.er1
>conftest.err
2989 cat conftest.err
>&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); } &&
2992 { ac_try
='test -z "$ac_c_werror_flag"
2993 || test ! -s conftest.err'
2994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); }; } &&
2999 { ac_try
='test -s conftest.$ac_objext'
3000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); }; }; then
3005 ac_cv_header_time
=yes
3007 echo "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.
$ac_ext >&5
3010 ac_cv_header_time
=no
3012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3014 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3015 echo "${ECHO_T}$ac_cv_header_time" >&6
3016 if test $ac_cv_header_time = yes; then
3018 cat >>confdefs.h
<<\_ACEOF
3019 #define TIME_WITH_SYS_TIME 1
3024 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
3025 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
3026 if test "${gcc_cv_header_string+set}" = set; then
3027 echo $ECHO_N "(cached) $ECHO_C" >&6
3029 cat >conftest.
$ac_ext <<_ACEOF
3032 cat confdefs.h
>>conftest.
$ac_ext
3033 cat >>conftest.
$ac_ext <<_ACEOF
3034 /* end confdefs.h. */
3036 #include <strings.h>
3045 rm -f conftest.
$ac_objext
3046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3047 (eval $ac_compile) 2>conftest.er1
3049 grep -v '^ *+' conftest.er1
>conftest.err
3051 cat conftest.err
>&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); } &&
3054 { ac_try
='test -z "$ac_c_werror_flag"
3055 || test ! -s conftest.err'
3056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }; } &&
3061 { ac_try
='test -s conftest.$ac_objext'
3062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); }; }; then
3067 gcc_cv_header_string
=yes
3069 echo "$as_me: failed program was:" >&5
3070 sed 's/^/| /' conftest.
$ac_ext >&5
3072 gcc_cv_header_string
=no
3074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3076 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
3077 echo "${ECHO_T}$gcc_cv_header_string" >&6
3078 if test $gcc_cv_header_string = yes; then
3080 cat >>confdefs.h
<<\_ACEOF
3081 #define STRING_WITH_STRINGS 1
3087 ac_cpp
='$CPP $CPPFLAGS'
3088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3091 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3092 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3093 # On Suns, sometimes $CPP names a directory.
3094 if test -n "$CPP" && test -d "$CPP"; then
3097 if test -z "$CPP"; then
3098 if test "${ac_cv_prog_CPP+set}" = set; then
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3101 # Double quotes because CPP needs to be expanded
3102 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3105 for ac_c_preproc_warn_flag
in '' yes
3107 # Use a header file that comes with gcc, so configuring glibc
3108 # with a fresh cross-compiler works.
3109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3110 # <limits.h> exists even on freestanding compilers.
3111 # On the NeXT, cc -E runs the code through the compiler's parser,
3112 # not just through cpp. "Syntax error" is here to catch this case.
3113 cat >conftest.
$ac_ext <<_ACEOF
3116 cat confdefs.h
>>conftest.
$ac_ext
3117 cat >>conftest.
$ac_ext <<_ACEOF
3118 /* end confdefs.h. */
3120 # include <limits.h>
3122 # include <assert.h>
3126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3127 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3129 grep -v '^ *+' conftest.er1
>conftest.err
3131 cat conftest.err
>&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); } >/dev
/null
; then
3134 if test -s conftest.err
; then
3135 ac_cpp_err
=$ac_c_preproc_warn_flag
3136 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3143 if test -z "$ac_cpp_err"; then
3146 echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.
$ac_ext >&5
3149 # Broken: fails on valid input.
3152 rm -f conftest.err conftest.
$ac_ext
3154 # OK, works on sane cases. Now check whether non-existent headers
3155 # can be detected and how.
3156 cat >conftest.
$ac_ext <<_ACEOF
3159 cat confdefs.h
>>conftest.
$ac_ext
3160 cat >>conftest.
$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3162 #include <ac_nonexistent.h>
3164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3165 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3167 grep -v '^ *+' conftest.er1
>conftest.err
3169 cat conftest.err
>&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); } >/dev
/null
; then
3172 if test -s conftest.err
; then
3173 ac_cpp_err
=$ac_c_preproc_warn_flag
3174 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3181 if test -z "$ac_cpp_err"; then
3182 # Broken: success on invalid input.
3185 echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.
$ac_ext >&5
3188 # Passes both tests.
3192 rm -f conftest.err conftest.
$ac_ext
3195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3196 rm -f conftest.err conftest.
$ac_ext
3197 if $ac_preproc_ok; then
3209 echo "$as_me:$LINENO: result: $CPP" >&5
3210 echo "${ECHO_T}$CPP" >&6
3212 for ac_c_preproc_warn_flag
in '' yes
3214 # Use a header file that comes with gcc, so configuring glibc
3215 # with a fresh cross-compiler works.
3216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3217 # <limits.h> exists even on freestanding compilers.
3218 # On the NeXT, cc -E runs the code through the compiler's parser,
3219 # not just through cpp. "Syntax error" is here to catch this case.
3220 cat >conftest.
$ac_ext <<_ACEOF
3223 cat confdefs.h
>>conftest.
$ac_ext
3224 cat >>conftest.
$ac_ext <<_ACEOF
3225 /* end confdefs.h. */
3227 # include <limits.h>
3229 # include <assert.h>
3233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3234 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3236 grep -v '^ *+' conftest.er1
>conftest.err
3238 cat conftest.err
>&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); } >/dev
/null
; then
3241 if test -s conftest.err
; then
3242 ac_cpp_err
=$ac_c_preproc_warn_flag
3243 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3250 if test -z "$ac_cpp_err"; then
3253 echo "$as_me: failed program was:" >&5
3254 sed 's/^/| /' conftest.
$ac_ext >&5
3256 # Broken: fails on valid input.
3259 rm -f conftest.err conftest.
$ac_ext
3261 # OK, works on sane cases. Now check whether non-existent headers
3262 # can be detected and how.
3263 cat >conftest.
$ac_ext <<_ACEOF
3266 cat confdefs.h
>>conftest.
$ac_ext
3267 cat >>conftest.
$ac_ext <<_ACEOF
3268 /* end confdefs.h. */
3269 #include <ac_nonexistent.h>
3271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3272 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3274 grep -v '^ *+' conftest.er1
>conftest.err
3276 cat conftest.err
>&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } >/dev
/null
; then
3279 if test -s conftest.err
; then
3280 ac_cpp_err
=$ac_c_preproc_warn_flag
3281 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3288 if test -z "$ac_cpp_err"; then
3289 # Broken: success on invalid input.
3292 echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.
$ac_ext >&5
3295 # Passes both tests.
3299 rm -f conftest.err conftest.
$ac_ext
3302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3303 rm -f conftest.err conftest.
$ac_ext
3304 if $ac_preproc_ok; then
3307 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3308 See \`config.log' for more details." >&5
3309 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3310 See \`config.log' for more details." >&2;}
3311 { (exit 1); exit 1; }; }
3315 ac_cpp
='$CPP $CPPFLAGS'
3316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3321 echo "$as_me:$LINENO: checking for egrep" >&5
3322 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3323 if test "${ac_cv_prog_egrep+set}" = set; then
3324 echo $ECHO_N "(cached) $ECHO_C" >&6
3326 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3327 then ac_cv_prog_egrep
='grep -E'
3328 else ac_cv_prog_egrep
='egrep'
3331 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3332 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3333 EGREP
=$ac_cv_prog_egrep
3336 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3337 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3338 if test "${ac_cv_header_stdc+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3341 cat >conftest.
$ac_ext <<_ACEOF
3344 cat confdefs.h
>>conftest.
$ac_ext
3345 cat >>conftest.
$ac_ext <<_ACEOF
3346 /* end confdefs.h. */
3360 rm -f conftest.
$ac_objext
3361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3362 (eval $ac_compile) 2>conftest.er1
3364 grep -v '^ *+' conftest.er1
>conftest.err
3366 cat conftest.err
>&5
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); } &&
3369 { ac_try
='test -z "$ac_c_werror_flag"
3370 || test ! -s conftest.err'
3371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); }; } &&
3376 { ac_try
='test -s conftest.$ac_objext'
3377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }; }; then
3382 ac_cv_header_stdc
=yes
3384 echo "$as_me: failed program was:" >&5
3385 sed 's/^/| /' conftest.
$ac_ext >&5
3387 ac_cv_header_stdc
=no
3389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3391 if test $ac_cv_header_stdc = yes; then
3392 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3393 cat >conftest.
$ac_ext <<_ACEOF
3396 cat confdefs.h
>>conftest.
$ac_ext
3397 cat >>conftest.
$ac_ext <<_ACEOF
3398 /* end confdefs.h. */
3402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3403 $EGREP "memchr" >/dev
/null
2>&1; then
3406 ac_cv_header_stdc
=no
3412 if test $ac_cv_header_stdc = yes; then
3413 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3414 cat >conftest.
$ac_ext <<_ACEOF
3417 cat confdefs.h
>>conftest.
$ac_ext
3418 cat >>conftest.
$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3424 $EGREP "free" >/dev
/null
2>&1; then
3427 ac_cv_header_stdc
=no
3433 if test $ac_cv_header_stdc = yes; then
3434 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3435 if test "$cross_compiling" = yes; then
3438 cat >conftest.
$ac_ext <<_ACEOF
3441 cat confdefs.h
>>conftest.
$ac_ext
3442 cat >>conftest.
$ac_ext <<_ACEOF
3443 /* end confdefs.h. */
3445 #if ((' ' & 0x0FF) == 0x020)
3446 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3447 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3449 # define ISLOWER(c) \
3450 (('a' <= (c) && (c) <= 'i') \
3451 || ('j' <= (c) && (c) <= 'r') \
3452 || ('s' <= (c) && (c) <= 'z'))
3453 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3456 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3461 for (i = 0; i < 256; i++)
3462 if (XOR (islower (i), ISLOWER (i))
3463 || toupper (i) != TOUPPER (i))
3468 rm -f conftest
$ac_exeext
3469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3470 (eval $ac_link) 2>&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }; }; then
3481 echo "$as_me: program exited with status $ac_status" >&5
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.
$ac_ext >&5
3486 ac_cv_header_stdc
=no
3488 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3492 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3493 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3494 if test $ac_cv_header_stdc = yes; then
3496 cat >>confdefs.h
<<\_ACEOF
3497 #define STDC_HEADERS 1
3502 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3512 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3513 inttypes.h stdint.h unistd.h
3515 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3516 echo "$as_me:$LINENO: checking for $ac_header" >&5
3517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3519 echo $ECHO_N "(cached) $ECHO_C" >&6
3521 cat >conftest.
$ac_ext <<_ACEOF
3524 cat confdefs.h
>>conftest.
$ac_ext
3525 cat >>conftest.
$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3527 $ac_includes_default
3529 #include <$ac_header>
3531 rm -f conftest.
$ac_objext
3532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3533 (eval $ac_compile) 2>conftest.er1
3535 grep -v '^ *+' conftest.er1
>conftest.err
3537 cat conftest.err
>&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); } &&
3540 { ac_try
='test -z "$ac_c_werror_flag"
3541 || test ! -s conftest.err'
3542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }; } &&
3547 { ac_try
='test -s conftest.$ac_objext'
3548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }; }; then
3553 eval "$as_ac_Header=yes"
3555 echo "$as_me: failed program was:" >&5
3556 sed 's/^/| /' conftest.
$ac_ext >&5
3558 eval "$as_ac_Header=no"
3560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3565 cat >>confdefs.h
<<_ACEOF
3566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3584 for ac_header
in iconv.h locale.h fcntl.h limits.h stddef.h \
3585 stdlib.h
strings.h string.h sys
/file.h unistd.h
3587 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3589 echo "$as_me:$LINENO: checking for $ac_header" >&5
3590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3595 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3597 # Is the header compilable?
3598 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3599 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3600 cat >conftest.
$ac_ext <<_ACEOF
3603 cat confdefs.h
>>conftest.
$ac_ext
3604 cat >>conftest.
$ac_ext <<_ACEOF
3605 /* end confdefs.h. */
3606 $ac_includes_default
3607 #include <$ac_header>
3609 rm -f conftest.
$ac_objext
3610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3611 (eval $ac_compile) 2>conftest.er1
3613 grep -v '^ *+' conftest.er1
>conftest.err
3615 cat conftest.err
>&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); } &&
3618 { ac_try
='test -z "$ac_c_werror_flag"
3619 || test ! -s conftest.err'
3620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); }; } &&
3625 { ac_try
='test -s conftest.$ac_objext'
3626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); }; }; then
3631 ac_header_compiler
=yes
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.
$ac_ext >&5
3636 ac_header_compiler
=no
3638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3640 echo "${ECHO_T}$ac_header_compiler" >&6
3642 # Is the header present?
3643 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3645 cat >conftest.
$ac_ext <<_ACEOF
3648 cat confdefs.h
>>conftest.
$ac_ext
3649 cat >>conftest.
$ac_ext <<_ACEOF
3650 /* end confdefs.h. */
3651 #include <$ac_header>
3653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3656 grep -v '^ *+' conftest.er1
>conftest.err
3658 cat conftest.err
>&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } >/dev
/null
; then
3661 if test -s conftest.err
; then
3662 ac_cpp_err
=$ac_c_preproc_warn_flag
3663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3670 if test -z "$ac_cpp_err"; then
3671 ac_header_preproc
=yes
3673 echo "$as_me: failed program was:" >&5
3674 sed 's/^/| /' conftest.
$ac_ext >&5
3676 ac_header_preproc
=no
3678 rm -f conftest.err conftest.
$ac_ext
3679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3680 echo "${ECHO_T}$ac_header_preproc" >&6
3682 # So? What about this header?
3683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3685 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3686 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3688 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3689 ac_header_preproc
=yes
3692 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3693 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3694 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3695 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3696 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3697 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3698 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3699 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3702 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3703 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3706 ## ----------------------------------- ##
3707 ## Report this to gcc-bugs@gcc.gnu.org ##
3708 ## ----------------------------------- ##
3711 sed "s/^/$as_me: WARNING: /" >&2
3714 echo "$as_me:$LINENO: checking for $ac_header" >&5
3715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 eval "$as_ac_Header=\$ac_header_preproc"
3721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3726 cat >>confdefs.h
<<_ACEOF
3727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3735 # Checks for typedefs, structures, and compiler characteristics.
3736 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3737 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3738 if test "${ac_cv_c_const+set}" = set; then
3739 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 cat >conftest.
$ac_ext <<_ACEOF
3744 cat confdefs.h
>>conftest.
$ac_ext
3745 cat >>conftest.
$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3751 /* FIXME: Include the comments suggested by Paul. */
3753 /* Ultrix mips cc rejects this. */
3754 typedef int charset[2];
3756 /* SunOS 4.1.1 cc rejects this. */
3757 char const *const *ccp;
3759 /* NEC SVR4.0.2 mips cc rejects this. */
3760 struct point {int x, y;};
3761 static struct point const zero = {0,0};
3762 /* AIX XL C 1.02.0.0 rejects this.
3763 It does not let you subtract one const X* pointer from another in
3764 an arm of an if-expression whose if-part is not a constant
3766 const char *g = "string";
3767 ccp = &g + (g ? g-g : 0);
3768 /* HPUX 7.0 cc rejects these. */
3771 ccp = (char const *const *) p;
3772 { /* SCO 3.2v4 cc rejects this. */
3774 char const *s = 0 ? (char *) 0 : (char const *) 0;
3778 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3780 const int *foo = &x[0];
3783 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3784 typedef const int *iptr;
3788 { /* AIX XL C 1.02.0.0 rejects this saying
3789 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3790 struct s { int j; const int *ap[3]; };
3791 struct s *b; b->j = 5;
3793 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3802 rm -f conftest.
$ac_objext
3803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3804 (eval $ac_compile) 2>conftest.er1
3806 grep -v '^ *+' conftest.er1
>conftest.err
3808 cat conftest.err
>&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } &&
3811 { ac_try
='test -z "$ac_c_werror_flag"
3812 || test ! -s conftest.err'
3813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); }; } &&
3818 { ac_try
='test -s conftest.$ac_objext'
3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; }; then
3826 echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.
$ac_ext >&5
3831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3833 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3834 echo "${ECHO_T}$ac_cv_c_const" >&6
3835 if test $ac_cv_c_const = no
; then
3837 cat >>confdefs.h
<<\_ACEOF
3843 echo "$as_me:$LINENO: checking for inline" >&5
3844 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3845 if test "${ac_cv_c_inline+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3849 for ac_kw
in inline __inline__ __inline
; do
3850 cat >conftest.
$ac_ext <<_ACEOF
3853 cat confdefs.h
>>conftest.
$ac_ext
3854 cat >>conftest.
$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3858 static $ac_kw foo_t static_foo () {return 0; }
3859 $ac_kw foo_t foo () {return 0; }
3863 rm -f conftest.
$ac_objext
3864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3865 (eval $ac_compile) 2>conftest.er1
3867 grep -v '^ *+' conftest.er1
>conftest.err
3869 cat conftest.err
>&5
3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871 (exit $ac_status); } &&
3872 { ac_try
='test -z "$ac_c_werror_flag"
3873 || test ! -s conftest.err'
3874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); }; } &&
3879 { ac_try
='test -s conftest.$ac_objext'
3880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); }; }; then
3885 ac_cv_c_inline
=$ac_kw; break
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.
$ac_ext >&5
3891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3895 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3896 echo "${ECHO_T}$ac_cv_c_inline" >&6
3899 case $ac_cv_c_inline in
3902 case $ac_cv_c_inline in
3904 *) ac_val
=$ac_cv_c_inline;;
3906 cat >>confdefs.h
<<_ACEOF
3908 #define inline $ac_val
3914 echo "$as_me:$LINENO: checking for obstacks" >&5
3915 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
3916 if test "${ac_cv_func_obstack+set}" = set; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6
3919 cat >conftest.
$ac_ext <<_ACEOF
3922 cat confdefs.h
>>conftest.
$ac_ext
3923 cat >>conftest.
$ac_ext <<_ACEOF
3924 /* end confdefs.h. */
3925 #include "obstack.h"
3929 struct obstack *mem; obstack_free(mem,(char *) 0)
3934 rm -f conftest.
$ac_objext conftest
$ac_exeext
3935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3936 (eval $ac_link) 2>conftest.er1
3938 grep -v '^ *+' conftest.er1
>conftest.err
3940 cat conftest.err
>&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); } &&
3943 { ac_try
='test -z "$ac_c_werror_flag"
3944 || test ! -s conftest.err'
3945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); }; } &&
3950 { ac_try
='test -s conftest$ac_exeext'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; }; then
3956 ac_cv_func_obstack
=yes
3958 echo "$as_me: failed program was:" >&5
3959 sed 's/^/| /' conftest.
$ac_ext >&5
3961 ac_cv_func_obstack
=no
3963 rm -f conftest.err conftest.
$ac_objext \
3964 conftest
$ac_exeext conftest.
$ac_ext
3966 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
3967 echo "${ECHO_T}$ac_cv_func_obstack" >&6
3968 if test $ac_cv_func_obstack = yes; then
3970 cat >>confdefs.h
<<\_ACEOF
3971 #define HAVE_OBSTACK 1
3976 "obstack.$ac_objext" | \
3977 *" obstack.$ac_objext" | \
3978 "obstack.$ac_objext "* | \
3979 *" obstack.$ac_objext "* ) ;;
3980 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext" ;;
3985 echo "$as_me:$LINENO: checking for off_t" >&5
3986 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3987 if test "${ac_cv_type_off_t+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3990 cat >conftest.
$ac_ext <<_ACEOF
3993 cat confdefs.h
>>conftest.
$ac_ext
3994 cat >>conftest.
$ac_ext <<_ACEOF
3995 /* end confdefs.h. */
3996 $ac_includes_default
4008 rm -f conftest.
$ac_objext
4009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4010 (eval $ac_compile) 2>conftest.er1
4012 grep -v '^ *+' conftest.er1
>conftest.err
4014 cat conftest.err
>&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); } &&
4017 { ac_try
='test -z "$ac_c_werror_flag"
4018 || test ! -s conftest.err'
4019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); }; } &&
4024 { ac_try
='test -s conftest.$ac_objext'
4025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); }; }; then
4030 ac_cv_type_off_t
=yes
4032 echo "$as_me: failed program was:" >&5
4033 sed 's/^/| /' conftest.
$ac_ext >&5
4037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4039 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4040 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4041 if test $ac_cv_type_off_t = yes; then
4045 cat >>confdefs.h
<<_ACEOF
4051 echo "$as_me:$LINENO: checking for size_t" >&5
4052 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4053 if test "${ac_cv_type_size_t+set}" = set; then
4054 echo $ECHO_N "(cached) $ECHO_C" >&6
4056 cat >conftest.
$ac_ext <<_ACEOF
4059 cat confdefs.h
>>conftest.
$ac_ext
4060 cat >>conftest.
$ac_ext <<_ACEOF
4061 /* end confdefs.h. */
4062 $ac_includes_default
4068 if (sizeof (size_t))
4074 rm -f conftest.
$ac_objext
4075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4076 (eval $ac_compile) 2>conftest.er1
4078 grep -v '^ *+' conftest.er1
>conftest.err
4080 cat conftest.err
>&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } &&
4083 { ac_try
='test -z "$ac_c_werror_flag"
4084 || test ! -s conftest.err'
4085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); }; } &&
4090 { ac_try
='test -s conftest.$ac_objext'
4091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }; }; then
4096 ac_cv_type_size_t
=yes
4098 echo "$as_me: failed program was:" >&5
4099 sed 's/^/| /' conftest.
$ac_ext >&5
4101 ac_cv_type_size_t
=no
4103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4105 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4106 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4107 if test $ac_cv_type_size_t = yes; then
4111 cat >>confdefs.h
<<_ACEOF
4112 #define size_t unsigned
4117 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4118 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4119 if test "${ac_cv_struct_tm+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 cat >conftest.
$ac_ext <<_ACEOF
4125 cat confdefs.h
>>conftest.
$ac_ext
4126 cat >>conftest.
$ac_ext <<_ACEOF
4127 /* end confdefs.h. */
4128 #include <sys/types.h>
4134 struct tm *tp; tp->tm_sec;
4139 rm -f conftest.
$ac_objext
4140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4141 (eval $ac_compile) 2>conftest.er1
4143 grep -v '^ *+' conftest.er1
>conftest.err
4145 cat conftest.err
>&5
4146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4147 (exit $ac_status); } &&
4148 { ac_try
='test -z "$ac_c_werror_flag"
4149 || test ! -s conftest.err'
4150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); }; } &&
4155 { ac_try
='test -s conftest.$ac_objext'
4156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); }; }; then
4161 ac_cv_struct_tm
=time.h
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.
$ac_ext >&5
4166 ac_cv_struct_tm
=sys
/time.h
4168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4170 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4171 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4172 if test $ac_cv_struct_tm = sys
/time.h
; then
4174 cat >>confdefs.h
<<\_ACEOF
4175 #define TM_IN_SYS_TIME 1
4180 echo "$as_me:$LINENO: checking for int" >&5
4181 echo $ECHO_N "checking for int... $ECHO_C" >&6
4182 if test "${ac_cv_type_int+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 cat >conftest.
$ac_ext <<_ACEOF
4188 cat confdefs.h
>>conftest.
$ac_ext
4189 cat >>conftest.
$ac_ext <<_ACEOF
4190 /* end confdefs.h. */
4191 $ac_includes_default
4203 rm -f conftest.
$ac_objext
4204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4205 (eval $ac_compile) 2>conftest.er1
4207 grep -v '^ *+' conftest.er1
>conftest.err
4209 cat conftest.err
>&5
4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); } &&
4212 { ac_try
='test -z "$ac_c_werror_flag"
4213 || test ! -s conftest.err'
4214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); }; } &&
4219 { ac_try
='test -s conftest.$ac_objext'
4220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; }; then
4227 echo "$as_me: failed program was:" >&5
4228 sed 's/^/| /' conftest.
$ac_ext >&5
4232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4234 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4235 echo "${ECHO_T}$ac_cv_type_int" >&6
4237 echo "$as_me:$LINENO: checking size of int" >&5
4238 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4239 if test "${ac_cv_sizeof_int+set}" = set; then
4240 echo $ECHO_N "(cached) $ECHO_C" >&6
4242 if test "$ac_cv_type_int" = yes; then
4243 # The cast to unsigned long works around a bug in the HP C Compiler
4244 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4245 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4246 # This bug is HP SR number 8606223364.
4247 if test "$cross_compiling" = yes; then
4248 # Depending upon the size, compute the lo and hi bounds.
4249 cat >conftest.
$ac_ext <<_ACEOF
4252 cat confdefs.h
>>conftest.
$ac_ext
4253 cat >>conftest.
$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4255 $ac_includes_default
4259 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4266 rm -f conftest.
$ac_objext
4267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4268 (eval $ac_compile) 2>conftest.er1
4270 grep -v '^ *+' conftest.er1
>conftest.err
4272 cat conftest.err
>&5
4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274 (exit $ac_status); } &&
4275 { ac_try
='test -z "$ac_c_werror_flag"
4276 || test ! -s conftest.err'
4277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); }; } &&
4282 { ac_try
='test -s conftest.$ac_objext'
4283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); }; }; then
4290 cat >conftest.
$ac_ext <<_ACEOF
4293 cat confdefs.h
>>conftest.
$ac_ext
4294 cat >>conftest.
$ac_ext <<_ACEOF
4295 /* end confdefs.h. */
4296 $ac_includes_default
4300 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4307 rm -f conftest.
$ac_objext
4308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4309 (eval $ac_compile) 2>conftest.er1
4311 grep -v '^ *+' conftest.er1
>conftest.err
4313 cat conftest.err
>&5
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); } &&
4316 { ac_try
='test -z "$ac_c_werror_flag"
4317 || test ! -s conftest.err'
4318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); }; } &&
4323 { ac_try
='test -s conftest.$ac_objext'
4324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); }; }; then
4329 ac_hi
=$ac_mid; break
4331 echo "$as_me: failed program was:" >&5
4332 sed 's/^/| /' conftest.
$ac_ext >&5
4334 ac_lo
=`expr $ac_mid + 1`
4335 if test $ac_lo -le $ac_mid; then
4339 ac_mid
=`expr 2 '*' $ac_mid + 1`
4341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4344 echo "$as_me: failed program was:" >&5
4345 sed 's/^/| /' conftest.
$ac_ext >&5
4347 cat >conftest.
$ac_ext <<_ACEOF
4350 cat confdefs.h
>>conftest.
$ac_ext
4351 cat >>conftest.
$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4353 $ac_includes_default
4357 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4364 rm -f conftest.
$ac_objext
4365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4366 (eval $ac_compile) 2>conftest.er1
4368 grep -v '^ *+' conftest.er1
>conftest.err
4370 cat conftest.err
>&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } &&
4373 { ac_try
='test -z "$ac_c_werror_flag"
4374 || test ! -s conftest.err'
4375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); }; } &&
4380 { ac_try
='test -s conftest.$ac_objext'
4381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); }; }; then
4388 cat >conftest.
$ac_ext <<_ACEOF
4391 cat confdefs.h
>>conftest.
$ac_ext
4392 cat >>conftest.
$ac_ext <<_ACEOF
4393 /* end confdefs.h. */
4394 $ac_includes_default
4398 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4405 rm -f conftest.
$ac_objext
4406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4407 (eval $ac_compile) 2>conftest.er1
4409 grep -v '^ *+' conftest.er1
>conftest.err
4411 cat conftest.err
>&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); } &&
4414 { ac_try
='test -z "$ac_c_werror_flag"
4415 || test ! -s conftest.err'
4416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); }; } &&
4421 { ac_try
='test -s conftest.$ac_objext'
4422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); }; }; then
4427 ac_lo
=$ac_mid; break
4429 echo "$as_me: failed program was:" >&5
4430 sed 's/^/| /' conftest.
$ac_ext >&5
4432 ac_hi
=`expr '(' $ac_mid ')' - 1`
4433 if test $ac_mid -le $ac_hi; then
4437 ac_mid
=`expr 2 '*' $ac_mid`
4439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4442 echo "$as_me: failed program was:" >&5
4443 sed 's/^/| /' conftest.
$ac_ext >&5
4447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4450 # Binary search between lo and hi bounds.
4451 while test "x$ac_lo" != "x$ac_hi"; do
4452 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4453 cat >conftest.
$ac_ext <<_ACEOF
4456 cat confdefs.h
>>conftest.
$ac_ext
4457 cat >>conftest.
$ac_ext <<_ACEOF
4458 /* end confdefs.h. */
4459 $ac_includes_default
4463 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4470 rm -f conftest.
$ac_objext
4471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4472 (eval $ac_compile) 2>conftest.er1
4474 grep -v '^ *+' conftest.er1
>conftest.err
4476 cat conftest.err
>&5
4477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478 (exit $ac_status); } &&
4479 { ac_try
='test -z "$ac_c_werror_flag"
4480 || test ! -s conftest.err'
4481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); }; } &&
4486 { ac_try
='test -s conftest.$ac_objext'
4487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); }; }; then
4494 echo "$as_me: failed program was:" >&5
4495 sed 's/^/| /' conftest.
$ac_ext >&5
4497 ac_lo
=`expr '(' $ac_mid ')' + 1`
4499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4502 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4503 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4504 See \`config.log' for more details." >&5
4505 echo "$as_me: error: cannot compute sizeof (int), 77
4506 See \`config.log' for more details." >&2;}
4507 { (exit 1); exit 1; }; } ;;
4510 if test "$cross_compiling" = yes; then
4511 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4512 See \`config.log' for more details." >&5
4513 echo "$as_me: error: cannot run test program while cross compiling
4514 See \`config.log' for more details." >&2;}
4515 { (exit 1); exit 1; }; }
4517 cat >conftest.
$ac_ext <<_ACEOF
4520 cat confdefs.h
>>conftest.
$ac_ext
4521 cat >>conftest.
$ac_ext <<_ACEOF
4522 /* end confdefs.h. */
4523 $ac_includes_default
4524 long longval () { return (long) (sizeof (int)); }
4525 unsigned long ulongval () { return (long) (sizeof (int)); }
4532 FILE *f = fopen ("conftest.val", "w");
4535 if (((long) (sizeof (int))) < 0)
4537 long i = longval ();
4538 if (i != ((long) (sizeof (int))))
4540 fprintf (f, "%ld\n", i);
4544 unsigned long i = ulongval ();
4545 if (i != ((long) (sizeof (int))))
4547 fprintf (f, "%lu\n", i);
4549 exit (ferror (f) || fclose (f) != 0);
4555 rm -f conftest
$ac_exeext
4556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4557 (eval $ac_link) 2>&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); }; }; then
4566 ac_cv_sizeof_int
=`cat conftest.val`
4568 echo "$as_me: program exited with status $ac_status" >&5
4569 echo "$as_me: failed program was:" >&5
4570 sed 's/^/| /' conftest.
$ac_ext >&5
4573 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4574 See \`config.log' for more details." >&5
4575 echo "$as_me: error: cannot compute sizeof (int), 77
4576 See \`config.log' for more details." >&2;}
4577 { (exit 1); exit 1; }; }
4579 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4587 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4588 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4589 cat >>confdefs.h
<<_ACEOF
4590 #define SIZEOF_INT $ac_cv_sizeof_int
4594 echo "$as_me:$LINENO: checking for long" >&5
4595 echo $ECHO_N "checking for long... $ECHO_C" >&6
4596 if test "${ac_cv_type_long+set}" = set; then
4597 echo $ECHO_N "(cached) $ECHO_C" >&6
4599 cat >conftest.
$ac_ext <<_ACEOF
4602 cat confdefs.h
>>conftest.
$ac_ext
4603 cat >>conftest.
$ac_ext <<_ACEOF
4604 /* end confdefs.h. */
4605 $ac_includes_default
4617 rm -f conftest.
$ac_objext
4618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4619 (eval $ac_compile) 2>conftest.er1
4621 grep -v '^ *+' conftest.er1
>conftest.err
4623 cat conftest.err
>&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); } &&
4626 { ac_try
='test -z "$ac_c_werror_flag"
4627 || test ! -s conftest.err'
4628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); }; } &&
4633 { ac_try
='test -s conftest.$ac_objext'
4634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); }; }; then
4641 echo "$as_me: failed program was:" >&5
4642 sed 's/^/| /' conftest.
$ac_ext >&5
4646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4648 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4649 echo "${ECHO_T}$ac_cv_type_long" >&6
4651 echo "$as_me:$LINENO: checking size of long" >&5
4652 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4653 if test "${ac_cv_sizeof_long+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 if test "$ac_cv_type_long" = yes; then
4657 # The cast to unsigned long works around a bug in the HP C Compiler
4658 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4659 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4660 # This bug is HP SR number 8606223364.
4661 if test "$cross_compiling" = yes; then
4662 # Depending upon the size, compute the lo and hi bounds.
4663 cat >conftest.
$ac_ext <<_ACEOF
4666 cat confdefs.h
>>conftest.
$ac_ext
4667 cat >>conftest.
$ac_ext <<_ACEOF
4668 /* end confdefs.h. */
4669 $ac_includes_default
4673 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4680 rm -f conftest.
$ac_objext
4681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4682 (eval $ac_compile) 2>conftest.er1
4684 grep -v '^ *+' conftest.er1
>conftest.err
4686 cat conftest.err
>&5
4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688 (exit $ac_status); } &&
4689 { ac_try
='test -z "$ac_c_werror_flag"
4690 || test ! -s conftest.err'
4691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); }; } &&
4696 { ac_try
='test -s conftest.$ac_objext'
4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); }; }; then
4704 cat >conftest.
$ac_ext <<_ACEOF
4707 cat confdefs.h
>>conftest.
$ac_ext
4708 cat >>conftest.
$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4710 $ac_includes_default
4714 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4721 rm -f conftest.
$ac_objext
4722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4723 (eval $ac_compile) 2>conftest.er1
4725 grep -v '^ *+' conftest.er1
>conftest.err
4727 cat conftest.err
>&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } &&
4730 { ac_try
='test -z "$ac_c_werror_flag"
4731 || test ! -s conftest.err'
4732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); }; } &&
4737 { ac_try
='test -s conftest.$ac_objext'
4738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; }; then
4743 ac_hi
=$ac_mid; break
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.
$ac_ext >&5
4748 ac_lo
=`expr $ac_mid + 1`
4749 if test $ac_lo -le $ac_mid; then
4753 ac_mid
=`expr 2 '*' $ac_mid + 1`
4755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.
$ac_ext >&5
4761 cat >conftest.
$ac_ext <<_ACEOF
4764 cat confdefs.h
>>conftest.
$ac_ext
4765 cat >>conftest.
$ac_ext <<_ACEOF
4766 /* end confdefs.h. */
4767 $ac_includes_default
4771 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4778 rm -f conftest.
$ac_objext
4779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4780 (eval $ac_compile) 2>conftest.er1
4782 grep -v '^ *+' conftest.er1
>conftest.err
4784 cat conftest.err
>&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); } &&
4787 { ac_try
='test -z "$ac_c_werror_flag"
4788 || test ! -s conftest.err'
4789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); }; } &&
4794 { ac_try
='test -s conftest.$ac_objext'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; }; then
4802 cat >conftest.
$ac_ext <<_ACEOF
4805 cat confdefs.h
>>conftest.
$ac_ext
4806 cat >>conftest.
$ac_ext <<_ACEOF
4807 /* end confdefs.h. */
4808 $ac_includes_default
4812 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4819 rm -f conftest.
$ac_objext
4820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4821 (eval $ac_compile) 2>conftest.er1
4823 grep -v '^ *+' conftest.er1
>conftest.err
4825 cat conftest.err
>&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); } &&
4828 { ac_try
='test -z "$ac_c_werror_flag"
4829 || test ! -s conftest.err'
4830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); }; } &&
4835 { ac_try
='test -s conftest.$ac_objext'
4836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840 (exit $ac_status); }; }; then
4841 ac_lo
=$ac_mid; break
4843 echo "$as_me: failed program was:" >&5
4844 sed 's/^/| /' conftest.
$ac_ext >&5
4846 ac_hi
=`expr '(' $ac_mid ')' - 1`
4847 if test $ac_mid -le $ac_hi; then
4851 ac_mid
=`expr 2 '*' $ac_mid`
4853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.
$ac_ext >&5
4861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4864 # Binary search between lo and hi bounds.
4865 while test "x$ac_lo" != "x$ac_hi"; do
4866 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4867 cat >conftest.
$ac_ext <<_ACEOF
4870 cat confdefs.h
>>conftest.
$ac_ext
4871 cat >>conftest.
$ac_ext <<_ACEOF
4872 /* end confdefs.h. */
4873 $ac_includes_default
4877 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4884 rm -f conftest.
$ac_objext
4885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4886 (eval $ac_compile) 2>conftest.er1
4888 grep -v '^ *+' conftest.er1
>conftest.err
4890 cat conftest.err
>&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } &&
4893 { ac_try
='test -z "$ac_c_werror_flag"
4894 || test ! -s conftest.err'
4895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); }; } &&
4900 { ac_try
='test -s conftest.$ac_objext'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; }; then
4908 echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.
$ac_ext >&5
4911 ac_lo
=`expr '(' $ac_mid ')' + 1`
4913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4916 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4917 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4918 See \`config.log' for more details." >&5
4919 echo "$as_me: error: cannot compute sizeof (long), 77
4920 See \`config.log' for more details." >&2;}
4921 { (exit 1); exit 1; }; } ;;
4924 if test "$cross_compiling" = yes; then
4925 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4926 See \`config.log' for more details." >&5
4927 echo "$as_me: error: cannot run test program while cross compiling
4928 See \`config.log' for more details." >&2;}
4929 { (exit 1); exit 1; }; }
4931 cat >conftest.
$ac_ext <<_ACEOF
4934 cat confdefs.h
>>conftest.
$ac_ext
4935 cat >>conftest.
$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4937 $ac_includes_default
4938 long longval () { return (long) (sizeof (long)); }
4939 unsigned long ulongval () { return (long) (sizeof (long)); }
4946 FILE *f = fopen ("conftest.val", "w");
4949 if (((long) (sizeof (long))) < 0)
4951 long i = longval ();
4952 if (i != ((long) (sizeof (long))))
4954 fprintf (f, "%ld\n", i);
4958 unsigned long i = ulongval ();
4959 if (i != ((long) (sizeof (long))))
4961 fprintf (f, "%lu\n", i);
4963 exit (ferror (f) || fclose (f) != 0);
4969 rm -f conftest
$ac_exeext
4970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4971 (eval $ac_link) 2>&5
4973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); }; }; then
4980 ac_cv_sizeof_long
=`cat conftest.val`
4982 echo "$as_me: program exited with status $ac_status" >&5
4983 echo "$as_me: failed program was:" >&5
4984 sed 's/^/| /' conftest.
$ac_ext >&5
4987 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4988 See \`config.log' for more details." >&5
4989 echo "$as_me: error: cannot compute sizeof (long), 77
4990 See \`config.log' for more details." >&2;}
4991 { (exit 1); exit 1; }; }
4993 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5001 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5002 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
5003 cat >>confdefs.h
<<_ACEOF
5004 #define SIZEOF_LONG $ac_cv_sizeof_long
5025 for ac_func
in clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked putchar_unlocked putc_unlocked
5027 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5028 echo "$as_me:$LINENO: checking for $ac_func" >&5
5029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5030 if eval "test \"\${$as_ac_var+set}\" = set"; then
5031 echo $ECHO_N "(cached) $ECHO_C" >&6
5033 cat >conftest.
$ac_ext <<_ACEOF
5036 cat confdefs.h
>>conftest.
$ac_ext
5037 cat >>conftest.
$ac_ext <<_ACEOF
5038 /* end confdefs.h. */
5039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5041 #define $ac_func innocuous_$ac_func
5043 /* System header to define __stub macros and hopefully few prototypes,
5044 which can conflict with char $ac_func (); below.
5045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5046 <limits.h> exists even on freestanding compilers. */
5049 # include <limits.h>
5051 # include <assert.h>
5056 /* Override any gcc2 internal prototype to avoid an error. */
5061 /* We use char because int might match the return type of a gcc2
5062 builtin and then its argument prototype would still apply. */
5064 /* The GNU C library defines this for functions which it implements
5065 to always fail with ENOSYS. Some functions are actually named
5066 something starting with __ and the normal name is an alias. */
5067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5070 char (*f) () = $ac_func;
5079 return f != $ac_func;
5084 rm -f conftest.
$ac_objext conftest
$ac_exeext
5085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5086 (eval $ac_link) 2>conftest.er1
5088 grep -v '^ *+' conftest.er1
>conftest.err
5090 cat conftest.err
>&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); } &&
5093 { ac_try
='test -z "$ac_c_werror_flag"
5094 || test ! -s conftest.err'
5095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099 (exit $ac_status); }; } &&
5100 { ac_try
='test -s conftest$ac_exeext'
5101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); }; }; then
5106 eval "$as_ac_var=yes"
5108 echo "$as_me: failed program was:" >&5
5109 sed 's/^/| /' conftest.
$ac_ext >&5
5111 eval "$as_ac_var=no"
5113 rm -f conftest.err conftest.
$ac_objext \
5114 conftest
$ac_exeext conftest.
$ac_ext
5116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5118 if test `eval echo '${'$as_ac_var'}'` = yes; then
5119 cat >>confdefs.h
<<_ACEOF
5120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5126 echo "$as_me:$LINENO: checking whether abort is declared" >&5
5127 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
5128 if test "${ac_cv_have_decl_abort+set}" = set; then
5129 echo $ECHO_N "(cached) $ECHO_C" >&6
5131 cat >conftest.
$ac_ext <<_ACEOF
5134 cat confdefs.h
>>conftest.
$ac_ext
5135 cat >>conftest.
$ac_ext <<_ACEOF
5136 /* end confdefs.h. */
5137 $ac_includes_default
5142 char *p = (char *) abort;
5149 rm -f conftest.
$ac_objext
5150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5151 (eval $ac_compile) 2>conftest.er1
5153 grep -v '^ *+' conftest.er1
>conftest.err
5155 cat conftest.err
>&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); } &&
5158 { ac_try
='test -z "$ac_c_werror_flag"
5159 || test ! -s conftest.err'
5160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164 (exit $ac_status); }; } &&
5165 { ac_try
='test -s conftest.$ac_objext'
5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); }; }; then
5171 ac_cv_have_decl_abort
=yes
5173 echo "$as_me: failed program was:" >&5
5174 sed 's/^/| /' conftest.
$ac_ext >&5
5176 ac_cv_have_decl_abort
=no
5178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5180 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
5181 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
5182 if test $ac_cv_have_decl_abort = yes; then
5184 cat >>confdefs.h
<<_ACEOF
5185 #define HAVE_DECL_ABORT 1
5190 cat >>confdefs.h
<<_ACEOF
5191 #define HAVE_DECL_ABORT 0
5196 echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
5197 echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
5198 if test "${ac_cv_have_decl_asprintf+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5201 cat >conftest.
$ac_ext <<_ACEOF
5204 cat confdefs.h
>>conftest.
$ac_ext
5205 cat >>conftest.
$ac_ext <<_ACEOF
5206 /* end confdefs.h. */
5207 $ac_includes_default
5212 char *p = (char *) asprintf;
5219 rm -f conftest.
$ac_objext
5220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5221 (eval $ac_compile) 2>conftest.er1
5223 grep -v '^ *+' conftest.er1
>conftest.err
5225 cat conftest.err
>&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } &&
5228 { ac_try
='test -z "$ac_c_werror_flag"
5229 || test ! -s conftest.err'
5230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); }; } &&
5235 { ac_try
='test -s conftest.$ac_objext'
5236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }; }; then
5241 ac_cv_have_decl_asprintf
=yes
5243 echo "$as_me: failed program was:" >&5
5244 sed 's/^/| /' conftest.
$ac_ext >&5
5246 ac_cv_have_decl_asprintf
=no
5248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5250 echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
5251 echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
5252 if test $ac_cv_have_decl_asprintf = yes; then
5254 cat >>confdefs.h
<<_ACEOF
5255 #define HAVE_DECL_ASPRINTF 1
5260 cat >>confdefs.h
<<_ACEOF
5261 #define HAVE_DECL_ASPRINTF 0
5266 echo "$as_me:$LINENO: checking whether basename is declared" >&5
5267 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
5268 if test "${ac_cv_have_decl_basename+set}" = set; then
5269 echo $ECHO_N "(cached) $ECHO_C" >&6
5271 cat >conftest.
$ac_ext <<_ACEOF
5274 cat confdefs.h
>>conftest.
$ac_ext
5275 cat >>conftest.
$ac_ext <<_ACEOF
5276 /* end confdefs.h. */
5277 $ac_includes_default
5282 char *p = (char *) basename;
5289 rm -f conftest.
$ac_objext
5290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5291 (eval $ac_compile) 2>conftest.er1
5293 grep -v '^ *+' conftest.er1
>conftest.err
5295 cat conftest.err
>&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); } &&
5298 { ac_try
='test -z "$ac_c_werror_flag"
5299 || test ! -s conftest.err'
5300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); }; } &&
5305 { ac_try
='test -s conftest.$ac_objext'
5306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); }; }; then
5311 ac_cv_have_decl_basename
=yes
5313 echo "$as_me: failed program was:" >&5
5314 sed 's/^/| /' conftest.
$ac_ext >&5
5316 ac_cv_have_decl_basename
=no
5318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5320 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
5321 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
5322 if test $ac_cv_have_decl_basename = yes; then
5324 cat >>confdefs.h
<<_ACEOF
5325 #define HAVE_DECL_BASENAME 1
5330 cat >>confdefs.h
<<_ACEOF
5331 #define HAVE_DECL_BASENAME 0
5336 echo "$as_me:$LINENO: checking whether errno is declared" >&5
5337 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
5338 if test "${ac_cv_have_decl_errno+set}" = set; then
5339 echo $ECHO_N "(cached) $ECHO_C" >&6
5341 cat >conftest.
$ac_ext <<_ACEOF
5344 cat confdefs.h
>>conftest.
$ac_ext
5345 cat >>conftest.
$ac_ext <<_ACEOF
5346 /* end confdefs.h. */
5347 $ac_includes_default
5352 char *p = (char *) errno;
5359 rm -f conftest.
$ac_objext
5360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5361 (eval $ac_compile) 2>conftest.er1
5363 grep -v '^ *+' conftest.er1
>conftest.err
5365 cat conftest.err
>&5
5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367 (exit $ac_status); } &&
5368 { ac_try
='test -z "$ac_c_werror_flag"
5369 || test ! -s conftest.err'
5370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); }; } &&
5375 { ac_try
='test -s conftest.$ac_objext'
5376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); }; }; then
5381 ac_cv_have_decl_errno
=yes
5383 echo "$as_me: failed program was:" >&5
5384 sed 's/^/| /' conftest.
$ac_ext >&5
5386 ac_cv_have_decl_errno
=no
5388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5390 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
5391 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
5392 if test $ac_cv_have_decl_errno = yes; then
5394 cat >>confdefs.h
<<_ACEOF
5395 #define HAVE_DECL_ERRNO 1
5400 cat >>confdefs.h
<<_ACEOF
5401 #define HAVE_DECL_ERRNO 0
5406 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
5407 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
5408 if test "${ac_cv_have_decl_getopt+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 cat >conftest.
$ac_ext <<_ACEOF
5414 cat confdefs.h
>>conftest.
$ac_ext
5415 cat >>conftest.
$ac_ext <<_ACEOF
5416 /* end confdefs.h. */
5417 $ac_includes_default
5422 char *p = (char *) getopt;
5429 rm -f conftest.
$ac_objext
5430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5431 (eval $ac_compile) 2>conftest.er1
5433 grep -v '^ *+' conftest.er1
>conftest.err
5435 cat conftest.err
>&5
5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437 (exit $ac_status); } &&
5438 { ac_try
='test -z "$ac_c_werror_flag"
5439 || test ! -s conftest.err'
5440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); }; } &&
5445 { ac_try
='test -s conftest.$ac_objext'
5446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); }; }; then
5451 ac_cv_have_decl_getopt
=yes
5453 echo "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.
$ac_ext >&5
5456 ac_cv_have_decl_getopt
=no
5458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5460 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
5461 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
5462 if test $ac_cv_have_decl_getopt = yes; then
5464 cat >>confdefs.h
<<_ACEOF
5465 #define HAVE_DECL_GETOPT 1
5470 cat >>confdefs.h
<<_ACEOF
5471 #define HAVE_DECL_GETOPT 0
5476 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
5477 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
5478 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5481 cat >conftest.
$ac_ext <<_ACEOF
5484 cat confdefs.h
>>conftest.
$ac_ext
5485 cat >>conftest.
$ac_ext <<_ACEOF
5486 /* end confdefs.h. */
5487 $ac_includes_default
5491 #ifndef clearerr_unlocked
5492 char *p = (char *) clearerr_unlocked;
5499 rm -f conftest.
$ac_objext
5500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5501 (eval $ac_compile) 2>conftest.er1
5503 grep -v '^ *+' conftest.er1
>conftest.err
5505 cat conftest.err
>&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } &&
5508 { ac_try
='test -z "$ac_c_werror_flag"
5509 || test ! -s conftest.err'
5510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; } &&
5515 { ac_try
='test -s conftest.$ac_objext'
5516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; }; then
5521 ac_cv_have_decl_clearerr_unlocked
=yes
5523 echo "$as_me: failed program was:" >&5
5524 sed 's/^/| /' conftest.
$ac_ext >&5
5526 ac_cv_have_decl_clearerr_unlocked
=no
5528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5530 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
5531 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
5532 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
5534 cat >>confdefs.h
<<_ACEOF
5535 #define HAVE_DECL_CLEARERR_UNLOCKED 1
5540 cat >>confdefs.h
<<_ACEOF
5541 #define HAVE_DECL_CLEARERR_UNLOCKED 0
5546 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
5547 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
5548 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 cat >conftest.
$ac_ext <<_ACEOF
5554 cat confdefs.h
>>conftest.
$ac_ext
5555 cat >>conftest.
$ac_ext <<_ACEOF
5556 /* end confdefs.h. */
5557 $ac_includes_default
5561 #ifndef feof_unlocked
5562 char *p = (char *) feof_unlocked;
5569 rm -f conftest.
$ac_objext
5570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5571 (eval $ac_compile) 2>conftest.er1
5573 grep -v '^ *+' conftest.er1
>conftest.err
5575 cat conftest.err
>&5
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); } &&
5578 { ac_try
='test -z "$ac_c_werror_flag"
5579 || test ! -s conftest.err'
5580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); }; } &&
5585 { ac_try
='test -s conftest.$ac_objext'
5586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); }; }; then
5591 ac_cv_have_decl_feof_unlocked
=yes
5593 echo "$as_me: failed program was:" >&5
5594 sed 's/^/| /' conftest.
$ac_ext >&5
5596 ac_cv_have_decl_feof_unlocked
=no
5598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5600 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
5601 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
5602 if test $ac_cv_have_decl_feof_unlocked = yes; then
5604 cat >>confdefs.h
<<_ACEOF
5605 #define HAVE_DECL_FEOF_UNLOCKED 1
5610 cat >>confdefs.h
<<_ACEOF
5611 #define HAVE_DECL_FEOF_UNLOCKED 0
5616 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
5617 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
5618 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
5619 echo $ECHO_N "(cached) $ECHO_C" >&6
5621 cat >conftest.
$ac_ext <<_ACEOF
5624 cat confdefs.h
>>conftest.
$ac_ext
5625 cat >>conftest.
$ac_ext <<_ACEOF
5626 /* end confdefs.h. */
5627 $ac_includes_default
5631 #ifndef ferror_unlocked
5632 char *p = (char *) ferror_unlocked;
5639 rm -f conftest.
$ac_objext
5640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5641 (eval $ac_compile) 2>conftest.er1
5643 grep -v '^ *+' conftest.er1
>conftest.err
5645 cat conftest.err
>&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); } &&
5648 { ac_try
='test -z "$ac_c_werror_flag"
5649 || test ! -s conftest.err'
5650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }; } &&
5655 { ac_try
='test -s conftest.$ac_objext'
5656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); }; }; then
5661 ac_cv_have_decl_ferror_unlocked
=yes
5663 echo "$as_me: failed program was:" >&5
5664 sed 's/^/| /' conftest.
$ac_ext >&5
5666 ac_cv_have_decl_ferror_unlocked
=no
5668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5670 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
5671 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
5672 if test $ac_cv_have_decl_ferror_unlocked = yes; then
5674 cat >>confdefs.h
<<_ACEOF
5675 #define HAVE_DECL_FERROR_UNLOCKED 1
5680 cat >>confdefs.h
<<_ACEOF
5681 #define HAVE_DECL_FERROR_UNLOCKED 0
5686 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
5687 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
5688 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
5689 echo $ECHO_N "(cached) $ECHO_C" >&6
5691 cat >conftest.
$ac_ext <<_ACEOF
5694 cat confdefs.h
>>conftest.
$ac_ext
5695 cat >>conftest.
$ac_ext <<_ACEOF
5696 /* end confdefs.h. */
5697 $ac_includes_default
5701 #ifndef fflush_unlocked
5702 char *p = (char *) fflush_unlocked;
5709 rm -f conftest.
$ac_objext
5710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5711 (eval $ac_compile) 2>conftest.er1
5713 grep -v '^ *+' conftest.er1
>conftest.err
5715 cat conftest.err
>&5
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); } &&
5718 { ac_try
='test -z "$ac_c_werror_flag"
5719 || test ! -s conftest.err'
5720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); }; } &&
5725 { ac_try
='test -s conftest.$ac_objext'
5726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); }; }; then
5731 ac_cv_have_decl_fflush_unlocked
=yes
5733 echo "$as_me: failed program was:" >&5
5734 sed 's/^/| /' conftest.
$ac_ext >&5
5736 ac_cv_have_decl_fflush_unlocked
=no
5738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5740 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
5741 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
5742 if test $ac_cv_have_decl_fflush_unlocked = yes; then
5744 cat >>confdefs.h
<<_ACEOF
5745 #define HAVE_DECL_FFLUSH_UNLOCKED 1
5750 cat >>confdefs.h
<<_ACEOF
5751 #define HAVE_DECL_FFLUSH_UNLOCKED 0
5756 echo "$as_me:$LINENO: checking whether fgetc_unlocked is declared" >&5
5757 echo $ECHO_N "checking whether fgetc_unlocked is declared... $ECHO_C" >&6
5758 if test "${ac_cv_have_decl_fgetc_unlocked+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 cat >conftest.
$ac_ext <<_ACEOF
5764 cat confdefs.h
>>conftest.
$ac_ext
5765 cat >>conftest.
$ac_ext <<_ACEOF
5766 /* end confdefs.h. */
5767 $ac_includes_default
5771 #ifndef fgetc_unlocked
5772 char *p = (char *) fgetc_unlocked;
5779 rm -f conftest.
$ac_objext
5780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5781 (eval $ac_compile) 2>conftest.er1
5783 grep -v '^ *+' conftest.er1
>conftest.err
5785 cat conftest.err
>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } &&
5788 { ac_try
='test -z "$ac_c_werror_flag"
5789 || test ! -s conftest.err'
5790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 (exit $ac_status); }; } &&
5795 { ac_try
='test -s conftest.$ac_objext'
5796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); }; }; then
5801 ac_cv_have_decl_fgetc_unlocked
=yes
5803 echo "$as_me: failed program was:" >&5
5804 sed 's/^/| /' conftest.
$ac_ext >&5
5806 ac_cv_have_decl_fgetc_unlocked
=no
5808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5810 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgetc_unlocked" >&5
5811 echo "${ECHO_T}$ac_cv_have_decl_fgetc_unlocked" >&6
5812 if test $ac_cv_have_decl_fgetc_unlocked = yes; then
5814 cat >>confdefs.h
<<_ACEOF
5815 #define HAVE_DECL_FGETC_UNLOCKED 1
5820 cat >>confdefs.h
<<_ACEOF
5821 #define HAVE_DECL_FGETC_UNLOCKED 0
5826 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
5827 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
5828 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
5829 echo $ECHO_N "(cached) $ECHO_C" >&6
5831 cat >conftest.
$ac_ext <<_ACEOF
5834 cat confdefs.h
>>conftest.
$ac_ext
5835 cat >>conftest.
$ac_ext <<_ACEOF
5836 /* end confdefs.h. */
5837 $ac_includes_default
5841 #ifndef fgets_unlocked
5842 char *p = (char *) fgets_unlocked;
5849 rm -f conftest.
$ac_objext
5850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5851 (eval $ac_compile) 2>conftest.er1
5853 grep -v '^ *+' conftest.er1
>conftest.err
5855 cat conftest.err
>&5
5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857 (exit $ac_status); } &&
5858 { ac_try
='test -z "$ac_c_werror_flag"
5859 || test ! -s conftest.err'
5860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); }; } &&
5865 { ac_try
='test -s conftest.$ac_objext'
5866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); }; }; then
5871 ac_cv_have_decl_fgets_unlocked
=yes
5873 echo "$as_me: failed program was:" >&5
5874 sed 's/^/| /' conftest.
$ac_ext >&5
5876 ac_cv_have_decl_fgets_unlocked
=no
5878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5880 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
5881 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
5882 if test $ac_cv_have_decl_fgets_unlocked = yes; then
5884 cat >>confdefs.h
<<_ACEOF
5885 #define HAVE_DECL_FGETS_UNLOCKED 1
5890 cat >>confdefs.h
<<_ACEOF
5891 #define HAVE_DECL_FGETS_UNLOCKED 0
5896 echo "$as_me:$LINENO: checking whether fileno_unlocked is declared" >&5
5897 echo $ECHO_N "checking whether fileno_unlocked is declared... $ECHO_C" >&6
5898 if test "${ac_cv_have_decl_fileno_unlocked+set}" = set; then
5899 echo $ECHO_N "(cached) $ECHO_C" >&6
5901 cat >conftest.
$ac_ext <<_ACEOF
5904 cat confdefs.h
>>conftest.
$ac_ext
5905 cat >>conftest.
$ac_ext <<_ACEOF
5906 /* end confdefs.h. */
5907 $ac_includes_default
5911 #ifndef fileno_unlocked
5912 char *p = (char *) fileno_unlocked;
5919 rm -f conftest.
$ac_objext
5920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5921 (eval $ac_compile) 2>conftest.er1
5923 grep -v '^ *+' conftest.er1
>conftest.err
5925 cat conftest.err
>&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); } &&
5928 { ac_try
='test -z "$ac_c_werror_flag"
5929 || test ! -s conftest.err'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; } &&
5935 { ac_try
='test -s conftest.$ac_objext'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; }; then
5941 ac_cv_have_decl_fileno_unlocked
=yes
5943 echo "$as_me: failed program was:" >&5
5944 sed 's/^/| /' conftest.
$ac_ext >&5
5946 ac_cv_have_decl_fileno_unlocked
=no
5948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5950 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fileno_unlocked" >&5
5951 echo "${ECHO_T}$ac_cv_have_decl_fileno_unlocked" >&6
5952 if test $ac_cv_have_decl_fileno_unlocked = yes; then
5954 cat >>confdefs.h
<<_ACEOF
5955 #define HAVE_DECL_FILENO_UNLOCKED 1
5960 cat >>confdefs.h
<<_ACEOF
5961 #define HAVE_DECL_FILENO_UNLOCKED 0
5966 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
5967 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
5968 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
5969 echo $ECHO_N "(cached) $ECHO_C" >&6
5971 cat >conftest.
$ac_ext <<_ACEOF
5974 cat confdefs.h
>>conftest.
$ac_ext
5975 cat >>conftest.
$ac_ext <<_ACEOF
5976 /* end confdefs.h. */
5977 $ac_includes_default
5981 #ifndef fprintf_unlocked
5982 char *p = (char *) fprintf_unlocked;
5989 rm -f conftest.
$ac_objext
5990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5991 (eval $ac_compile) 2>conftest.er1
5993 grep -v '^ *+' conftest.er1
>conftest.err
5995 cat conftest.err
>&5
5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); } &&
5998 { ac_try
='test -z "$ac_c_werror_flag"
5999 || test ! -s conftest.err'
6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); }; } &&
6005 { ac_try
='test -s conftest.$ac_objext'
6006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); }; }; then
6011 ac_cv_have_decl_fprintf_unlocked
=yes
6013 echo "$as_me: failed program was:" >&5
6014 sed 's/^/| /' conftest.
$ac_ext >&5
6016 ac_cv_have_decl_fprintf_unlocked
=no
6018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6020 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
6021 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
6022 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
6024 cat >>confdefs.h
<<_ACEOF
6025 #define HAVE_DECL_FPRINTF_UNLOCKED 1
6030 cat >>confdefs.h
<<_ACEOF
6031 #define HAVE_DECL_FPRINTF_UNLOCKED 0
6036 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
6037 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
6038 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6041 cat >conftest.
$ac_ext <<_ACEOF
6044 cat confdefs.h
>>conftest.
$ac_ext
6045 cat >>conftest.
$ac_ext <<_ACEOF
6046 /* end confdefs.h. */
6047 $ac_includes_default
6051 #ifndef fputc_unlocked
6052 char *p = (char *) fputc_unlocked;
6059 rm -f conftest.
$ac_objext
6060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6061 (eval $ac_compile) 2>conftest.er1
6063 grep -v '^ *+' conftest.er1
>conftest.err
6065 cat conftest.err
>&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); } &&
6068 { ac_try
='test -z "$ac_c_werror_flag"
6069 || test ! -s conftest.err'
6070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); }; } &&
6075 { ac_try
='test -s conftest.$ac_objext'
6076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); }; }; then
6081 ac_cv_have_decl_fputc_unlocked
=yes
6083 echo "$as_me: failed program was:" >&5
6084 sed 's/^/| /' conftest.
$ac_ext >&5
6086 ac_cv_have_decl_fputc_unlocked
=no
6088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6090 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
6091 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
6092 if test $ac_cv_have_decl_fputc_unlocked = yes; then
6094 cat >>confdefs.h
<<_ACEOF
6095 #define HAVE_DECL_FPUTC_UNLOCKED 1
6100 cat >>confdefs.h
<<_ACEOF
6101 #define HAVE_DECL_FPUTC_UNLOCKED 0
6106 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
6107 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
6108 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
6109 echo $ECHO_N "(cached) $ECHO_C" >&6
6111 cat >conftest.
$ac_ext <<_ACEOF
6114 cat confdefs.h
>>conftest.
$ac_ext
6115 cat >>conftest.
$ac_ext <<_ACEOF
6116 /* end confdefs.h. */
6117 $ac_includes_default
6121 #ifndef fputs_unlocked
6122 char *p = (char *) fputs_unlocked;
6129 rm -f conftest.
$ac_objext
6130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6131 (eval $ac_compile) 2>conftest.er1
6133 grep -v '^ *+' conftest.er1
>conftest.err
6135 cat conftest.err
>&5
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); } &&
6138 { ac_try
='test -z "$ac_c_werror_flag"
6139 || test ! -s conftest.err'
6140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }; } &&
6145 { ac_try
='test -s conftest.$ac_objext'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); }; }; then
6151 ac_cv_have_decl_fputs_unlocked
=yes
6153 echo "$as_me: failed program was:" >&5
6154 sed 's/^/| /' conftest.
$ac_ext >&5
6156 ac_cv_have_decl_fputs_unlocked
=no
6158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6160 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
6161 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
6162 if test $ac_cv_have_decl_fputs_unlocked = yes; then
6164 cat >>confdefs.h
<<_ACEOF
6165 #define HAVE_DECL_FPUTS_UNLOCKED 1
6170 cat >>confdefs.h
<<_ACEOF
6171 #define HAVE_DECL_FPUTS_UNLOCKED 0
6176 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
6177 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
6178 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
6179 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 cat >conftest.
$ac_ext <<_ACEOF
6184 cat confdefs.h
>>conftest.
$ac_ext
6185 cat >>conftest.
$ac_ext <<_ACEOF
6186 /* end confdefs.h. */
6187 $ac_includes_default
6191 #ifndef fread_unlocked
6192 char *p = (char *) fread_unlocked;
6199 rm -f conftest.
$ac_objext
6200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6201 (eval $ac_compile) 2>conftest.er1
6203 grep -v '^ *+' conftest.er1
>conftest.err
6205 cat conftest.err
>&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); } &&
6208 { ac_try
='test -z "$ac_c_werror_flag"
6209 || test ! -s conftest.err'
6210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); }; } &&
6215 { ac_try
='test -s conftest.$ac_objext'
6216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); }; }; then
6221 ac_cv_have_decl_fread_unlocked
=yes
6223 echo "$as_me: failed program was:" >&5
6224 sed 's/^/| /' conftest.
$ac_ext >&5
6226 ac_cv_have_decl_fread_unlocked
=no
6228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6230 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
6231 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
6232 if test $ac_cv_have_decl_fread_unlocked = yes; then
6234 cat >>confdefs.h
<<_ACEOF
6235 #define HAVE_DECL_FREAD_UNLOCKED 1
6240 cat >>confdefs.h
<<_ACEOF
6241 #define HAVE_DECL_FREAD_UNLOCKED 0
6246 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
6247 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
6248 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
6249 echo $ECHO_N "(cached) $ECHO_C" >&6
6251 cat >conftest.
$ac_ext <<_ACEOF
6254 cat confdefs.h
>>conftest.
$ac_ext
6255 cat >>conftest.
$ac_ext <<_ACEOF
6256 /* end confdefs.h. */
6257 $ac_includes_default
6261 #ifndef fwrite_unlocked
6262 char *p = (char *) fwrite_unlocked;
6269 rm -f conftest.
$ac_objext
6270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6271 (eval $ac_compile) 2>conftest.er1
6273 grep -v '^ *+' conftest.er1
>conftest.err
6275 cat conftest.err
>&5
6276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6277 (exit $ac_status); } &&
6278 { ac_try
='test -z "$ac_c_werror_flag"
6279 || test ! -s conftest.err'
6280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); }; } &&
6285 { ac_try
='test -s conftest.$ac_objext'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; }; then
6291 ac_cv_have_decl_fwrite_unlocked
=yes
6293 echo "$as_me: failed program was:" >&5
6294 sed 's/^/| /' conftest.
$ac_ext >&5
6296 ac_cv_have_decl_fwrite_unlocked
=no
6298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6300 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
6301 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
6302 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
6304 cat >>confdefs.h
<<_ACEOF
6305 #define HAVE_DECL_FWRITE_UNLOCKED 1
6310 cat >>confdefs.h
<<_ACEOF
6311 #define HAVE_DECL_FWRITE_UNLOCKED 0
6316 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
6317 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
6318 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
6319 echo $ECHO_N "(cached) $ECHO_C" >&6
6321 cat >conftest.
$ac_ext <<_ACEOF
6324 cat confdefs.h
>>conftest.
$ac_ext
6325 cat >>conftest.
$ac_ext <<_ACEOF
6326 /* end confdefs.h. */
6327 $ac_includes_default
6331 #ifndef getchar_unlocked
6332 char *p = (char *) getchar_unlocked;
6339 rm -f conftest.
$ac_objext
6340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6341 (eval $ac_compile) 2>conftest.er1
6343 grep -v '^ *+' conftest.er1
>conftest.err
6345 cat conftest.err
>&5
6346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347 (exit $ac_status); } &&
6348 { ac_try
='test -z "$ac_c_werror_flag"
6349 || test ! -s conftest.err'
6350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); }; } &&
6355 { ac_try
='test -s conftest.$ac_objext'
6356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); }; }; then
6361 ac_cv_have_decl_getchar_unlocked
=yes
6363 echo "$as_me: failed program was:" >&5
6364 sed 's/^/| /' conftest.
$ac_ext >&5
6366 ac_cv_have_decl_getchar_unlocked
=no
6368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6370 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
6371 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
6372 if test $ac_cv_have_decl_getchar_unlocked = yes; then
6374 cat >>confdefs.h
<<_ACEOF
6375 #define HAVE_DECL_GETCHAR_UNLOCKED 1
6380 cat >>confdefs.h
<<_ACEOF
6381 #define HAVE_DECL_GETCHAR_UNLOCKED 0
6386 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
6387 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
6388 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6391 cat >conftest.
$ac_ext <<_ACEOF
6394 cat confdefs.h
>>conftest.
$ac_ext
6395 cat >>conftest.
$ac_ext <<_ACEOF
6396 /* end confdefs.h. */
6397 $ac_includes_default
6401 #ifndef getc_unlocked
6402 char *p = (char *) getc_unlocked;
6409 rm -f conftest.
$ac_objext
6410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6411 (eval $ac_compile) 2>conftest.er1
6413 grep -v '^ *+' conftest.er1
>conftest.err
6415 cat conftest.err
>&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); } &&
6418 { ac_try
='test -z "$ac_c_werror_flag"
6419 || test ! -s conftest.err'
6420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); }; } &&
6425 { ac_try
='test -s conftest.$ac_objext'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; }; then
6431 ac_cv_have_decl_getc_unlocked
=yes
6433 echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.
$ac_ext >&5
6436 ac_cv_have_decl_getc_unlocked
=no
6438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6440 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
6441 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
6442 if test $ac_cv_have_decl_getc_unlocked = yes; then
6444 cat >>confdefs.h
<<_ACEOF
6445 #define HAVE_DECL_GETC_UNLOCKED 1
6450 cat >>confdefs.h
<<_ACEOF
6451 #define HAVE_DECL_GETC_UNLOCKED 0
6456 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
6457 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
6458 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 cat >conftest.
$ac_ext <<_ACEOF
6464 cat confdefs.h
>>conftest.
$ac_ext
6465 cat >>conftest.
$ac_ext <<_ACEOF
6466 /* end confdefs.h. */
6467 $ac_includes_default
6471 #ifndef putchar_unlocked
6472 char *p = (char *) putchar_unlocked;
6479 rm -f conftest.
$ac_objext
6480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6481 (eval $ac_compile) 2>conftest.er1
6483 grep -v '^ *+' conftest.er1
>conftest.err
6485 cat conftest.err
>&5
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); } &&
6488 { ac_try
='test -z "$ac_c_werror_flag"
6489 || test ! -s conftest.err'
6490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494 (exit $ac_status); }; } &&
6495 { ac_try
='test -s conftest.$ac_objext'
6496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500 (exit $ac_status); }; }; then
6501 ac_cv_have_decl_putchar_unlocked
=yes
6503 echo "$as_me: failed program was:" >&5
6504 sed 's/^/| /' conftest.
$ac_ext >&5
6506 ac_cv_have_decl_putchar_unlocked
=no
6508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6510 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
6511 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
6512 if test $ac_cv_have_decl_putchar_unlocked = yes; then
6514 cat >>confdefs.h
<<_ACEOF
6515 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
6520 cat >>confdefs.h
<<_ACEOF
6521 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
6526 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
6527 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
6528 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
6529 echo $ECHO_N "(cached) $ECHO_C" >&6
6531 cat >conftest.
$ac_ext <<_ACEOF
6534 cat confdefs.h
>>conftest.
$ac_ext
6535 cat >>conftest.
$ac_ext <<_ACEOF
6536 /* end confdefs.h. */
6537 $ac_includes_default
6541 #ifndef putc_unlocked
6542 char *p = (char *) putc_unlocked;
6549 rm -f conftest.
$ac_objext
6550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6551 (eval $ac_compile) 2>conftest.er1
6553 grep -v '^ *+' conftest.er1
>conftest.err
6555 cat conftest.err
>&5
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); } &&
6558 { ac_try
='test -z "$ac_c_werror_flag"
6559 || test ! -s conftest.err'
6560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); }; } &&
6565 { ac_try
='test -s conftest.$ac_objext'
6566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; }; then
6571 ac_cv_have_decl_putc_unlocked
=yes
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.
$ac_ext >&5
6576 ac_cv_have_decl_putc_unlocked
=no
6578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6580 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
6581 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
6582 if test $ac_cv_have_decl_putc_unlocked = yes; then
6584 cat >>confdefs.h
<<_ACEOF
6585 #define HAVE_DECL_PUTC_UNLOCKED 1
6590 cat >>confdefs.h
<<_ACEOF
6591 #define HAVE_DECL_PUTC_UNLOCKED 0
6596 echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
6597 echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
6598 if test "${ac_cv_have_decl_vasprintf+set}" = set; then
6599 echo $ECHO_N "(cached) $ECHO_C" >&6
6601 cat >conftest.
$ac_ext <<_ACEOF
6604 cat confdefs.h
>>conftest.
$ac_ext
6605 cat >>conftest.
$ac_ext <<_ACEOF
6606 /* end confdefs.h. */
6607 $ac_includes_default
6612 char *p = (char *) vasprintf;
6619 rm -f conftest.
$ac_objext
6620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6621 (eval $ac_compile) 2>conftest.er1
6623 grep -v '^ *+' conftest.er1
>conftest.err
6625 cat conftest.err
>&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } &&
6628 { ac_try
='test -z "$ac_c_werror_flag"
6629 || test ! -s conftest.err'
6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); }; } &&
6635 { ac_try
='test -s conftest.$ac_objext'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then
6641 ac_cv_have_decl_vasprintf
=yes
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.
$ac_ext >&5
6646 ac_cv_have_decl_vasprintf
=no
6648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6650 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
6651 echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
6652 if test $ac_cv_have_decl_vasprintf = yes; then
6654 cat >>confdefs.h
<<_ACEOF
6655 #define HAVE_DECL_VASPRINTF 1
6660 cat >>confdefs.h
<<_ACEOF
6661 #define HAVE_DECL_VASPRINTF 0
6669 # Checks for library functions.
6670 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6671 # for constant arguments. Useless!
6672 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6673 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6674 if test "${ac_cv_working_alloca_h+set}" = set; then
6675 echo $ECHO_N "(cached) $ECHO_C" >&6
6677 cat >conftest.
$ac_ext <<_ACEOF
6680 cat confdefs.h
>>conftest.
$ac_ext
6681 cat >>conftest.
$ac_ext <<_ACEOF
6682 /* end confdefs.h. */
6687 char *p = (char *) alloca (2 * sizeof (int));
6692 rm -f conftest.
$ac_objext conftest
$ac_exeext
6693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6694 (eval $ac_link) 2>conftest.er1
6696 grep -v '^ *+' conftest.er1
>conftest.err
6698 cat conftest.err
>&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); } &&
6701 { ac_try
='test -z "$ac_c_werror_flag"
6702 || test ! -s conftest.err'
6703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); }; } &&
6708 { ac_try
='test -s conftest$ac_exeext'
6709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); }; }; then
6714 ac_cv_working_alloca_h
=yes
6716 echo "$as_me: failed program was:" >&5
6717 sed 's/^/| /' conftest.
$ac_ext >&5
6719 ac_cv_working_alloca_h
=no
6721 rm -f conftest.err conftest.
$ac_objext \
6722 conftest
$ac_exeext conftest.
$ac_ext
6724 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6725 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6726 if test $ac_cv_working_alloca_h = yes; then
6728 cat >>confdefs.h
<<\_ACEOF
6729 #define HAVE_ALLOCA_H 1
6734 echo "$as_me:$LINENO: checking for alloca" >&5
6735 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6736 if test "${ac_cv_func_alloca_works+set}" = set; then
6737 echo $ECHO_N "(cached) $ECHO_C" >&6
6739 cat >conftest.
$ac_ext <<_ACEOF
6742 cat confdefs.h
>>conftest.
$ac_ext
6743 cat >>conftest.
$ac_ext <<_ACEOF
6744 /* end confdefs.h. */
6746 # define alloca __builtin_alloca
6749 # include <malloc.h>
6750 # define alloca _alloca
6753 # include <alloca.h>
6758 # ifndef alloca /* predefined by HP cc +Olibcalls */
6769 char *p = (char *) alloca (1);
6774 rm -f conftest.
$ac_objext conftest
$ac_exeext
6775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6776 (eval $ac_link) 2>conftest.er1
6778 grep -v '^ *+' conftest.er1
>conftest.err
6780 cat conftest.err
>&5
6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); } &&
6783 { ac_try
='test -z "$ac_c_werror_flag"
6784 || test ! -s conftest.err'
6785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); }; } &&
6790 { ac_try
='test -s conftest$ac_exeext'
6791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); }; }; then
6796 ac_cv_func_alloca_works
=yes
6798 echo "$as_me: failed program was:" >&5
6799 sed 's/^/| /' conftest.
$ac_ext >&5
6801 ac_cv_func_alloca_works
=no
6803 rm -f conftest.err conftest.
$ac_objext \
6804 conftest
$ac_exeext conftest.
$ac_ext
6806 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6807 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6809 if test $ac_cv_func_alloca_works = yes; then
6811 cat >>confdefs.h
<<\_ACEOF
6812 #define HAVE_ALLOCA 1
6816 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6817 # that cause trouble. Some versions do not even contain alloca or
6818 # contain a buggy version. If you still want to use their alloca,
6819 # use ar to extract alloca.o from them instead of compiling alloca.c.
6821 ALLOCA
=alloca.
$ac_objext
6823 cat >>confdefs.h
<<\_ACEOF
6828 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6829 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6830 if test "${ac_cv_os_cray+set}" = set; then
6831 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 cat >conftest.
$ac_ext <<_ACEOF
6836 cat confdefs.h
>>conftest.
$ac_ext
6837 cat >>conftest.
$ac_ext <<_ACEOF
6838 /* end confdefs.h. */
6839 #if defined(CRAY) && ! defined(CRAY2)
6846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6847 $EGREP "webecray" >/dev
/null
2>&1; then
6855 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6856 echo "${ECHO_T}$ac_cv_os_cray" >&6
6857 if test $ac_cv_os_cray = yes; then
6858 for ac_func
in _getb67 GETB67 getb67
; do
6859 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6860 echo "$as_me:$LINENO: checking for $ac_func" >&5
6861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6862 if eval "test \"\${$as_ac_var+set}\" = set"; then
6863 echo $ECHO_N "(cached) $ECHO_C" >&6
6865 cat >conftest.
$ac_ext <<_ACEOF
6868 cat confdefs.h
>>conftest.
$ac_ext
6869 cat >>conftest.
$ac_ext <<_ACEOF
6870 /* end confdefs.h. */
6871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6873 #define $ac_func innocuous_$ac_func
6875 /* System header to define __stub macros and hopefully few prototypes,
6876 which can conflict with char $ac_func (); below.
6877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6878 <limits.h> exists even on freestanding compilers. */
6881 # include <limits.h>
6883 # include <assert.h>
6888 /* Override any gcc2 internal prototype to avoid an error. */
6893 /* We use char because int might match the return type of a gcc2
6894 builtin and then its argument prototype would still apply. */
6896 /* The GNU C library defines this for functions which it implements
6897 to always fail with ENOSYS. Some functions are actually named
6898 something starting with __ and the normal name is an alias. */
6899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6902 char (*f) () = $ac_func;
6911 return f != $ac_func;
6916 rm -f conftest.
$ac_objext conftest
$ac_exeext
6917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6918 (eval $ac_link) 2>conftest.er1
6920 grep -v '^ *+' conftest.er1
>conftest.err
6922 cat conftest.err
>&5
6923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924 (exit $ac_status); } &&
6925 { ac_try
='test -z "$ac_c_werror_flag"
6926 || test ! -s conftest.err'
6927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); }; } &&
6932 { ac_try
='test -s conftest$ac_exeext'
6933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); }; }; then
6938 eval "$as_ac_var=yes"
6940 echo "$as_me: failed program was:" >&5
6941 sed 's/^/| /' conftest.
$ac_ext >&5
6943 eval "$as_ac_var=no"
6945 rm -f conftest.err conftest.
$ac_objext \
6946 conftest
$ac_exeext conftest.
$ac_ext
6948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6950 if test `eval echo '${'$as_ac_var'}'` = yes; then
6952 cat >>confdefs.h
<<_ACEOF
6953 #define CRAY_STACKSEG_END $ac_func
6962 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6963 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6964 if test "${ac_cv_c_stack_direction+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 if test "$cross_compiling" = yes; then
6968 ac_cv_c_stack_direction
=0
6970 cat >conftest.
$ac_ext <<_ACEOF
6973 cat confdefs.h
>>conftest.
$ac_ext
6974 cat >>conftest.
$ac_ext <<_ACEOF
6975 /* end confdefs.h. */
6977 find_stack_direction ()
6979 static char *addr = 0;
6984 return find_stack_direction ();
6987 return (&dummy > addr) ? 1 : -1;
6993 exit (find_stack_direction () < 0);
6996 rm -f conftest
$ac_exeext
6997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6998 (eval $ac_link) 2>&5
7000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7006 (exit $ac_status); }; }; then
7007 ac_cv_c_stack_direction
=1
7009 echo "$as_me: program exited with status $ac_status" >&5
7010 echo "$as_me: failed program was:" >&5
7011 sed 's/^/| /' conftest.
$ac_ext >&5
7014 ac_cv_c_stack_direction
=-1
7016 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7019 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7020 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7022 cat >>confdefs.h
<<_ACEOF
7023 #define STACK_DIRECTION $ac_cv_c_stack_direction
7029 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7030 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7031 if test "${ac_cv_header_stdc+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 cat >conftest.
$ac_ext <<_ACEOF
7037 cat confdefs.h
>>conftest.
$ac_ext
7038 cat >>conftest.
$ac_ext <<_ACEOF
7039 /* end confdefs.h. */
7053 rm -f conftest.
$ac_objext
7054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7055 (eval $ac_compile) 2>conftest.er1
7057 grep -v '^ *+' conftest.er1
>conftest.err
7059 cat conftest.err
>&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); } &&
7062 { ac_try
='test -z "$ac_c_werror_flag"
7063 || test ! -s conftest.err'
7064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); }; } &&
7069 { ac_try
='test -s conftest.$ac_objext'
7070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); }; }; then
7075 ac_cv_header_stdc
=yes
7077 echo "$as_me: failed program was:" >&5
7078 sed 's/^/| /' conftest.
$ac_ext >&5
7080 ac_cv_header_stdc
=no
7082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7084 if test $ac_cv_header_stdc = yes; then
7085 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7086 cat >conftest.
$ac_ext <<_ACEOF
7089 cat confdefs.h
>>conftest.
$ac_ext
7090 cat >>conftest.
$ac_ext <<_ACEOF
7091 /* end confdefs.h. */
7095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7096 $EGREP "memchr" >/dev
/null
2>&1; then
7099 ac_cv_header_stdc
=no
7105 if test $ac_cv_header_stdc = yes; then
7106 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7107 cat >conftest.
$ac_ext <<_ACEOF
7110 cat confdefs.h
>>conftest.
$ac_ext
7111 cat >>conftest.
$ac_ext <<_ACEOF
7112 /* end confdefs.h. */
7116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7117 $EGREP "free" >/dev
/null
2>&1; then
7120 ac_cv_header_stdc
=no
7126 if test $ac_cv_header_stdc = yes; then
7127 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7128 if test "$cross_compiling" = yes; then
7131 cat >conftest.
$ac_ext <<_ACEOF
7134 cat confdefs.h
>>conftest.
$ac_ext
7135 cat >>conftest.
$ac_ext <<_ACEOF
7136 /* end confdefs.h. */
7138 #if ((' ' & 0x0FF) == 0x020)
7139 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7140 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7142 # define ISLOWER(c) \
7143 (('a' <= (c) && (c) <= 'i') \
7144 || ('j' <= (c) && (c) <= 'r') \
7145 || ('s' <= (c) && (c) <= 'z'))
7146 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7149 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7154 for (i = 0; i < 256; i++)
7155 if (XOR (islower (i), ISLOWER (i))
7156 || toupper (i) != TOUPPER (i))
7161 rm -f conftest
$ac_exeext
7162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7163 (eval $ac_link) 2>&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); }; }; then
7174 echo "$as_me: program exited with status $ac_status" >&5
7175 echo "$as_me: failed program was:" >&5
7176 sed 's/^/| /' conftest.
$ac_ext >&5
7179 ac_cv_header_stdc
=no
7181 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7185 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7186 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7187 if test $ac_cv_header_stdc = yes; then
7189 cat >>confdefs.h
<<\_ACEOF
7190 #define STDC_HEADERS 1
7196 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
7197 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
7198 if test "${am_cv_langinfo_codeset+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 #include <langinfo.h>
7211 char* cs = nl_langinfo(CODESET);
7216 rm -f conftest.
$ac_objext conftest
$ac_exeext
7217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7218 (eval $ac_link) 2>conftest.er1
7220 grep -v '^ *+' conftest.er1
>conftest.err
7222 cat conftest.err
>&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } &&
7225 { ac_try
='test -z "$ac_c_werror_flag"
7226 || test ! -s conftest.err'
7227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); }; } &&
7232 { ac_try
='test -s conftest$ac_exeext'
7233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237 (exit $ac_status); }; }; then
7238 am_cv_langinfo_codeset
=yes
7240 echo "$as_me: failed program was:" >&5
7241 sed 's/^/| /' conftest.
$ac_ext >&5
7243 am_cv_langinfo_codeset
=no
7245 rm -f conftest.err conftest.
$ac_objext \
7246 conftest
$ac_exeext conftest.
$ac_ext
7249 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
7250 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
7251 if test $am_cv_langinfo_codeset = yes; then
7253 cat >>confdefs.h
<<\_ACEOF
7254 #define HAVE_LANGINFO_CODESET 1
7259 # If we haven't got the data from the intl directory,
7260 # assume NLS is disabled.
7269 if test -f ..
/intl
/config.intl
; then
7270 . ..
/intl
/config.intl
7272 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7273 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7274 if test x
"$USE_NLS" != xyes
; then
7275 echo "$as_me:$LINENO: result: no" >&5
7276 echo "${ECHO_T}no" >&6
7278 echo "$as_me:$LINENO: result: yes" >&5
7279 echo "${ECHO_T}yes" >&6
7281 cat >>confdefs.h
<<\_ACEOF
7282 #define ENABLE_NLS 1
7286 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7287 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7288 # Look for .po and .gmo files in the source directory.
7291 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
7292 # If there aren't any .gmo files the shell will give us the
7293 # literal string "../path/to/srcdir/po/*.gmo" which has to be
7295 case "$cat" in *\
**)
7298 # The quadruple backslash is collapsed to a double backslash
7299 # by the backticks, then collapsed again by the double quotes,
7300 # leaving us with one backslash in the sed expression (right
7301 # before the dot that mustn't act as a wildcard).
7302 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
7303 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
7304 # The user is allowed to set LINGUAS to a list of languages to
7305 # install catalogs for. If it's empty that means "all of them."
7306 if test "x$LINGUAS" = x
; then
7307 CATALOGS
="$CATALOGS $cat"
7308 XLINGUAS
="$XLINGUAS $lang"
7310 case "$LINGUAS" in *$lang*)
7311 CATALOGS
="$CATALOGS $cat"
7312 XLINGUAS
="$XLINGUAS $lang"
7318 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7319 echo "${ECHO_T}$LINGUAS" >&6
7332 echo "$as_me:$LINENO: checking for uchar" >&5
7333 echo $ECHO_N "checking for uchar... $ECHO_C" >&6
7334 if test "${gcc_cv_type_uchar+set}" = set; then
7335 echo $ECHO_N "(cached) $ECHO_C" >&6
7337 cat >conftest.
$ac_ext <<_ACEOF
7340 cat confdefs.h
>>conftest.
$ac_ext
7341 cat >>conftest.
$ac_ext <<_ACEOF
7342 /* end confdefs.h. */
7344 #include <sys/types.h>
7349 if ((uchar *)0) return 0;
7350 if (sizeof(uchar)) return 0;
7355 rm -f conftest.
$ac_objext
7356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7357 (eval $ac_compile) 2>conftest.er1
7359 grep -v '^ *+' conftest.er1
>conftest.err
7361 cat conftest.err
>&5
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } &&
7364 { ac_try
='test -z "$ac_c_werror_flag"
7365 || test ! -s conftest.err'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; } &&
7371 { ac_try
='test -s conftest.$ac_objext'
7372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); }; }; then
7377 ac_cv_type_uchar
=yes
7379 echo "$as_me: failed program was:" >&5
7380 sed 's/^/| /' conftest.
$ac_ext >&5
7384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7386 echo "$as_me:$LINENO: result: $gcc_cv_type_uchar" >&5
7387 echo "${ECHO_T}$gcc_cv_type_uchar" >&6
7388 if test $ac_cv_type_uchar = yes; then
7390 cat >>confdefs.h
<<\_ACEOF
7391 #define HAVE_UCHAR 1
7397 if test "X$prefix" = "XNONE"; then
7398 acl_final_prefix
="$ac_default_prefix"
7400 acl_final_prefix
="$prefix"
7402 if test "X$exec_prefix" = "XNONE"; then
7403 acl_final_exec_prefix
='${prefix}'
7405 acl_final_exec_prefix
="$exec_prefix"
7407 acl_save_prefix
="$prefix"
7408 prefix
="$acl_final_prefix"
7409 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7410 prefix
="$acl_save_prefix"
7413 # Check whether --with-gnu-ld or --without-gnu-ld was given.
7414 if test "${with_gnu_ld+set}" = set; then
7415 withval
="$with_gnu_ld"
7416 test "$withval" = no || with_gnu_ld
=yes
7420 # Prepare PATH_SEPARATOR.
7421 # The user is always right.
7422 if test "${PATH_SEPARATOR+set}" != set; then
7423 echo "#! /bin/sh" >conf$$.sh
7424 echo "exit 0" >>conf$$.sh
7426 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7434 if test "$GCC" = yes; then
7435 # Check if gcc -print-prog-name=ld gives a path.
7436 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7437 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
7440 # gcc leaves a trailing carriage return which upsets mingw
7441 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7443 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7446 # Accept absolute paths.
7447 [\\/]* |
[A-Za-z
]:[\\/]*)
7448 re_direlt
='/[^/][^/]*/\.\./'
7449 # Canonicalize the path of ld
7450 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
7451 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
7452 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7454 test -z "$LD" && LD
="$ac_prog"
7457 # If it fails, then pretend we aren't using GCC.
7461 # If it is relative, then search for the first ld in PATH.
7465 elif test "$with_gnu_ld" = yes; then
7466 echo "$as_me:$LINENO: checking for GNU ld" >&5
7467 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7469 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7470 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7472 if test "${acl_cv_path_LD+set}" = set; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 if test -z "$LD"; then
7476 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7477 for ac_dir
in $PATH; do
7478 test -z "$ac_dir" && ac_dir
=.
7479 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7480 acl_cv_path_LD
="$ac_dir/$ac_prog"
7481 # Check to see if the program is GNU ld. I'd rather use --version,
7482 # but apparently some GNU ld's only accept -v.
7483 # Break only if it was the GNU/non-GNU ld that we prefer.
7484 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
7485 test "$with_gnu_ld" != no
&& break
7487 test "$with_gnu_ld" != yes && break
7493 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7497 LD
="$acl_cv_path_LD"
7498 if test -n "$LD"; then
7499 echo "$as_me:$LINENO: result: $LD" >&5
7500 echo "${ECHO_T}$LD" >&6
7502 echo "$as_me:$LINENO: result: no" >&5
7503 echo "${ECHO_T}no" >&6
7505 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7506 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7507 { (exit 1); exit 1; }; }
7508 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7509 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7510 if test "${acl_cv_prog_gnu_ld+set}" = set; then
7511 echo $ECHO_N "(cached) $ECHO_C" >&6
7513 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7514 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
7515 acl_cv_prog_gnu_ld
=yes
7517 acl_cv_prog_gnu_ld
=no
7520 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7521 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
7522 with_gnu_ld
=$acl_cv_prog_gnu_ld
7526 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7527 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
7528 if test "${acl_cv_rpath+set}" = set; then
7529 echo $ECHO_N "(cached) $ECHO_C" >&6
7532 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7533 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7539 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7540 echo "${ECHO_T}$acl_cv_rpath" >&6
7542 libext
="$acl_cv_libext"
7543 shlibext
="$acl_cv_shlibext"
7544 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7545 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7546 hardcode_direct
="$acl_cv_hardcode_direct"
7547 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7548 # Check whether --enable-rpath or --disable-rpath was given.
7549 if test "${enable_rpath+set}" = set; then
7550 enableval
="$enable_rpath"
7564 acl_save_prefix
="$prefix"
7565 prefix
="$acl_final_prefix"
7566 acl_save_exec_prefix
="$exec_prefix"
7567 exec_prefix
="$acl_final_exec_prefix"
7569 eval additional_includedir
=\"$includedir\"
7570 eval additional_libdir
=\"$libdir\"
7572 exec_prefix
="$acl_save_exec_prefix"
7573 prefix
="$acl_save_prefix"
7576 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
7577 if test "${with_libiconv_prefix+set}" = set; then
7578 withval
="$with_libiconv_prefix"
7580 if test "X$withval" = "Xno"; then
7583 if test "X$withval" = "X"; then
7585 acl_save_prefix
="$prefix"
7586 prefix
="$acl_final_prefix"
7587 acl_save_exec_prefix
="$exec_prefix"
7588 exec_prefix
="$acl_final_exec_prefix"
7590 eval additional_includedir
=\"$includedir\"
7591 eval additional_libdir
=\"$libdir\"
7593 exec_prefix
="$acl_save_exec_prefix"
7594 prefix
="$acl_save_prefix"
7597 additional_includedir
="$withval/include"
7598 additional_libdir
="$withval/lib"
7608 names_already_handled
=
7609 names_next_round
='iconv '
7610 while test -n "$names_next_round"; do
7611 names_this_round
="$names_next_round"
7613 for name
in $names_this_round; do
7615 for n
in $names_already_handled; do
7616 if test "$n" = "$name"; then
7621 if test -z "$already_handled"; then
7622 names_already_handled
="$names_already_handled $name"
7623 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7624 eval value
=\"\
$HAVE_LIB$uppername\"
7625 if test -n "$value"; then
7626 if test "$value" = yes; then
7627 eval value
=\"\
$LIB$uppername\"
7628 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7629 eval value
=\"\
$LTLIB$uppername\"
7630 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7639 if test $use_additional = yes; then
7640 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7641 found_dir
="$additional_libdir"
7642 found_so
="$additional_libdir/lib$name.$shlibext"
7643 if test -f "$additional_libdir/lib$name.la"; then
7644 found_la
="$additional_libdir/lib$name.la"
7647 if test -f "$additional_libdir/lib$name.$libext"; then
7648 found_dir
="$additional_libdir"
7649 found_a
="$additional_libdir/lib$name.$libext"
7650 if test -f "$additional_libdir/lib$name.la"; then
7651 found_la
="$additional_libdir/lib$name.la"
7656 if test "X$found_dir" = "X"; then
7657 for x
in $LDFLAGS $LTLIBICONV; do
7659 acl_save_prefix
="$prefix"
7660 prefix
="$acl_final_prefix"
7661 acl_save_exec_prefix
="$exec_prefix"
7662 exec_prefix
="$acl_final_exec_prefix"
7664 exec_prefix
="$acl_save_exec_prefix"
7665 prefix
="$acl_save_prefix"
7669 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7670 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
7672 found_so
="$dir/lib$name.$shlibext"
7673 if test -f "$dir/lib$name.la"; then
7674 found_la
="$dir/lib$name.la"
7677 if test -f "$dir/lib$name.$libext"; then
7679 found_a
="$dir/lib$name.$libext"
7680 if test -f "$dir/lib$name.la"; then
7681 found_la
="$dir/lib$name.la"
7687 if test "X$found_dir" != "X"; then
7692 if test "X$found_dir" != "X"; then
7693 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7694 if test "X$found_so" != "X"; then
7695 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
7696 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7699 for x
in $ltrpathdirs; do
7700 if test "X$x" = "X$found_dir"; then
7705 if test -z "$haveit"; then
7706 ltrpathdirs
="$ltrpathdirs $found_dir"
7708 if test "$hardcode_direct" = yes; then
7709 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7711 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7712 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7714 for x
in $rpathdirs; do
7715 if test "X$x" = "X$found_dir"; then
7720 if test -z "$haveit"; then
7721 rpathdirs
="$rpathdirs $found_dir"
7725 for x
in $LDFLAGS $LIBICONV; do
7727 acl_save_prefix
="$prefix"
7728 prefix
="$acl_final_prefix"
7729 acl_save_exec_prefix
="$exec_prefix"
7730 exec_prefix
="$acl_final_exec_prefix"
7732 exec_prefix
="$acl_save_exec_prefix"
7733 prefix
="$acl_save_prefix"
7735 if test "X$x" = "X-L$found_dir"; then
7740 if test -z "$haveit"; then
7741 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7743 if test "$hardcode_minus_L" != no
; then
7744 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7746 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7752 if test "X$found_a" != "X"; then
7753 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7755 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7758 additional_includedir
=
7759 case "$found_dir" in
7761 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7762 additional_includedir
="$basedir/include"
7765 if test "X$additional_includedir" != "X"; then
7766 if test "X$additional_includedir" != "X/usr/include"; then
7768 if test "X$additional_includedir" = "X/usr/local/include"; then
7769 if test -n "$GCC"; then
7771 linux
*) haveit
=yes;;
7775 if test -z "$haveit"; then
7776 for x
in $CPPFLAGS $INCICONV; do
7778 acl_save_prefix
="$prefix"
7779 prefix
="$acl_final_prefix"
7780 acl_save_exec_prefix
="$exec_prefix"
7781 exec_prefix
="$acl_final_exec_prefix"
7783 exec_prefix
="$acl_save_exec_prefix"
7784 prefix
="$acl_save_prefix"
7786 if test "X$x" = "X-I$additional_includedir"; then
7791 if test -z "$haveit"; then
7792 if test -d "$additional_includedir"; then
7793 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7799 if test -n "$found_la"; then
7800 save_libdir
="$libdir"
7802 */* |
*\\*) .
"$found_la" ;;
7803 *) .
"./$found_la" ;;
7805 libdir
="$save_libdir"
7806 for dep
in $dependency_libs; do
7809 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7810 if test "X$additional_libdir" != "X/usr/lib"; then
7812 if test "X$additional_libdir" = "X/usr/local/lib"; then
7813 if test -n "$GCC"; then
7815 linux
*) haveit
=yes;;
7819 if test -z "$haveit"; then
7821 for x
in $LDFLAGS $LIBICONV; do
7823 acl_save_prefix
="$prefix"
7824 prefix
="$acl_final_prefix"
7825 acl_save_exec_prefix
="$exec_prefix"
7826 exec_prefix
="$acl_final_exec_prefix"
7828 exec_prefix
="$acl_save_exec_prefix"
7829 prefix
="$acl_save_prefix"
7831 if test "X$x" = "X-L$additional_libdir"; then
7836 if test -z "$haveit"; then
7837 if test -d "$additional_libdir"; then
7838 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7842 for x
in $LDFLAGS $LTLIBICONV; do
7844 acl_save_prefix
="$prefix"
7845 prefix
="$acl_final_prefix"
7846 acl_save_exec_prefix
="$exec_prefix"
7847 exec_prefix
="$acl_final_exec_prefix"
7849 exec_prefix
="$acl_save_exec_prefix"
7850 prefix
="$acl_save_prefix"
7852 if test "X$x" = "X-L$additional_libdir"; then
7857 if test -z "$haveit"; then
7858 if test -d "$additional_libdir"; then
7859 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7866 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7867 if test "$enable_rpath" != no
; then
7869 for x
in $rpathdirs; do
7870 if test "X$x" = "X$dir"; then
7875 if test -z "$haveit"; then
7876 rpathdirs
="$rpathdirs $dir"
7879 for x
in $ltrpathdirs; do
7880 if test "X$x" = "X$dir"; then
7885 if test -z "$haveit"; then
7886 ltrpathdirs
="$ltrpathdirs $dir"
7891 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7894 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7897 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
7898 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7904 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7905 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7911 if test "X$rpathdirs" != "X"; then
7912 if test -n "$hardcode_libdir_separator"; then
7914 for found_dir
in $rpathdirs; do
7915 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7917 acl_save_libdir
="$libdir"
7919 eval flag
=\"$hardcode_libdir_flag_spec\"
7920 libdir
="$acl_save_libdir"
7921 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7923 for found_dir
in $rpathdirs; do
7924 acl_save_libdir
="$libdir"
7926 eval flag
=\"$hardcode_libdir_flag_spec\"
7927 libdir
="$acl_save_libdir"
7928 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7932 if test "X$ltrpathdirs" != "X"; then
7933 for found_dir
in $ltrpathdirs; do
7934 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7944 am_save_CPPFLAGS
="$CPPFLAGS"
7946 for element
in $INCICONV; do
7948 for x
in $CPPFLAGS; do
7950 acl_save_prefix
="$prefix"
7951 prefix
="$acl_final_prefix"
7952 acl_save_exec_prefix
="$exec_prefix"
7953 exec_prefix
="$acl_final_exec_prefix"
7955 exec_prefix
="$acl_save_exec_prefix"
7956 prefix
="$acl_save_prefix"
7958 if test "X$x" = "X$element"; then
7963 if test -z "$haveit"; then
7964 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7969 echo "$as_me:$LINENO: checking for iconv" >&5
7970 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
7971 if test "${am_cv_func_iconv+set}" = set; then
7972 echo $ECHO_N "(cached) $ECHO_C" >&6
7975 am_cv_func_iconv
="no, consider installing GNU libiconv"
7977 cat >conftest.
$ac_ext <<_ACEOF
7980 cat confdefs.h
>>conftest.
$ac_ext
7981 cat >>conftest.
$ac_ext <<_ACEOF
7982 /* end confdefs.h. */
7988 iconv_t cd = iconv_open("","");
7989 iconv(cd,NULL,NULL,NULL,NULL);
7995 rm -f conftest.
$ac_objext conftest
$ac_exeext
7996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7997 (eval $ac_link) 2>conftest.er1
7999 grep -v '^ *+' conftest.er1
>conftest.err
8001 cat conftest.err
>&5
8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); } &&
8004 { ac_try
='test -z "$ac_c_werror_flag"
8005 || test ! -s conftest.err'
8006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); }; } &&
8011 { ac_try
='test -s conftest$ac_exeext'
8012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); }; }; then
8017 am_cv_func_iconv
=yes
8019 echo "$as_me: failed program was:" >&5
8020 sed 's/^/| /' conftest.
$ac_ext >&5
8023 rm -f conftest.err conftest.
$ac_objext \
8024 conftest
$ac_exeext conftest.
$ac_ext
8025 if test "$am_cv_func_iconv" != yes; then
8026 am_save_LIBS
="$LIBS"
8027 LIBS
="$LIBS $LIBICONV"
8028 cat >conftest.
$ac_ext <<_ACEOF
8031 cat confdefs.h
>>conftest.
$ac_ext
8032 cat >>conftest.
$ac_ext <<_ACEOF
8033 /* end confdefs.h. */
8039 iconv_t cd = iconv_open("","");
8040 iconv(cd,NULL,NULL,NULL,NULL);
8046 rm -f conftest.
$ac_objext conftest
$ac_exeext
8047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8048 (eval $ac_link) 2>conftest.er1
8050 grep -v '^ *+' conftest.er1
>conftest.err
8052 cat conftest.err
>&5
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 (exit $ac_status); } &&
8055 { ac_try
='test -z "$ac_c_werror_flag"
8056 || test ! -s conftest.err'
8057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 (exit $ac_status); }; } &&
8062 { ac_try
='test -s conftest$ac_exeext'
8063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); }; }; then
8069 am_cv_func_iconv
=yes
8071 echo "$as_me: failed program was:" >&5
8072 sed 's/^/| /' conftest.
$ac_ext >&5
8075 rm -f conftest.err conftest.
$ac_objext \
8076 conftest
$ac_exeext conftest.
$ac_ext
8077 LIBS
="$am_save_LIBS"
8081 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8082 echo "${ECHO_T}$am_cv_func_iconv" >&6
8083 if test "$am_cv_func_iconv" = yes; then
8085 cat >>confdefs.h
<<\_ACEOF
8086 #define HAVE_ICONV 1
8090 if test "$am_cv_lib_iconv" = yes; then
8091 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
8092 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
8093 echo "$as_me:$LINENO: result: $LIBICONV" >&5
8094 echo "${ECHO_T}$LIBICONV" >&6
8096 CPPFLAGS
="$am_save_CPPFLAGS"
8103 if test "$am_cv_func_iconv" = yes; then
8104 echo "$as_me:$LINENO: checking for iconv declaration" >&5
8105 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
8106 if test "${am_cv_proto_iconv+set}" = set; then
8107 echo $ECHO_N "(cached) $ECHO_C" >&6
8110 cat >conftest.
$ac_ext <<_ACEOF
8113 cat confdefs.h
>>conftest.
$ac_ext
8114 cat >>conftest.
$ac_ext <<_ACEOF
8115 /* end confdefs.h. */
8123 #if defined(__STDC__) || defined(__cplusplus)
8124 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8137 rm -f conftest.
$ac_objext
8138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8139 (eval $ac_compile) 2>conftest.er1
8141 grep -v '^ *+' conftest.er1
>conftest.err
8143 cat conftest.err
>&5
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); } &&
8146 { ac_try
='test -z "$ac_c_werror_flag"
8147 || test ! -s conftest.err'
8148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); }; } &&
8153 { ac_try
='test -s conftest.$ac_objext'
8154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158 (exit $ac_status); }; }; then
8159 am_cv_proto_iconv_arg1
=""
8161 echo "$as_me: failed program was:" >&5
8162 sed 's/^/| /' conftest.
$ac_ext >&5
8164 am_cv_proto_iconv_arg1
="const"
8166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8167 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);"
8170 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8171 echo "$as_me:$LINENO: result: ${ac_t:-
8172 }$am_cv_proto_iconv" >&5
8173 echo "${ECHO_T}${ac_t:-
8174 }$am_cv_proto_iconv" >&6
8176 cat >>confdefs.h
<<_ACEOF
8177 #define ICONV_CONST $am_cv_proto_iconv_arg1
8183 # More defines and substitutions.
8184 PACKAGE
="$PACKAGE_TARNAME"
8186 cat >>confdefs.h
<<_ACEOF
8187 #define PACKAGE "$PACKAGE"
8192 if test "x$enable_nls" != xno
; then
8193 USED_CATALOGS
='$(CATALOGS)'
8199 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8200 if test "${enable_maintainer_mode+set}" = set; then
8201 enableval
="$enable_maintainer_mode"
8204 enable_maintainer_mode
=no
8207 if test "x$enable_maintainer_mode" = xno
; then
8214 # Check whether --enable-checking or --disable-checking was given.
8215 if test "${enable_checking+set}" = set; then
8216 enableval
="$enable_checking"
8222 if test $enable_checking != no
; then
8224 cat >>confdefs.h
<<\_ACEOF
8225 #define ENABLE_CHECKING 1
8234 arm
*-*-symbianelf* | \
8237 hppa
*64*-*-* | parisc
*64*-*-* | \
8238 i
[34567]86-*-darwin* | \
8239 i
[34567]86-*-solaris2.1
[0-9]* | \
8245 sparc64
*-*-* | ultrasparc-
*-freebsd* | \
8246 sparcv9-
*-solaris2* | \
8247 sparc-
*-solaris2.
[789] | sparc-
*-solaris2.1
[0-9]* | \
8249 sh
[123456789l]*-*-*)
8250 need_64bit_hwint
=yes ;;
8251 i
[34567]86-*-linux*)
8252 if test "x$enable_targets" = xall
; then
8253 need_64bit_hwint
=yes
8259 need_64bit_hwint
=no
;;
8262 case $need_64bit_hwint:$ac_cv_sizeof_long in
8263 *:8 | no
:*) host_wide_int
=long
;;
8264 *) host_wide_int
='long long' ;;
8269 cat >>confdefs.h
<<_ACEOF
8270 #define HOST_WIDE_INT $host_wide_int
8276 ac_config_headers
="$ac_config_headers config.h:config.in"
8278 ac_config_files
="$ac_config_files Makefile"
8280 cat >confcache
<<\_ACEOF
8281 # This file is a shell script that caches the results of configure
8282 # tests run on this system so they can be shared between configure
8283 # scripts and configure runs, see configure's option --config-cache.
8284 # It is not useful on other systems. If it contains results you don't
8285 # want to keep, you may remove or edit it.
8287 # config.status only pays attention to the cache file if you give it
8288 # the --recheck option to rerun configure.
8290 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8291 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8296 # The following way of writing the cache mishandles newlines in values,
8297 # but we know of no workaround that is simple, portable, and efficient.
8298 # So, don't put newlines in cache variables' values.
8299 # Ultrix sh set writes to stderr and can't be redirected directly,
8300 # and sets the high bit in the cache file unless we assign to the vars.
8303 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8305 # `set' does not quote correctly, so add quotes (double-quote
8306 # substitution turns \\\\ into \\, and sed turns \\ into \).
8309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8312 # `set' quotes correctly as required by POSIX, so do not add quotes.
8314 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8321 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8323 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8325 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8326 if test -w $cache_file; then
8327 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8328 cat confcache
>$cache_file
8330 echo "not updating unwritable cache $cache_file"
8335 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8336 # Let make expand exec_prefix.
8337 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8339 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8340 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8341 # trailing colons and then remove the whole line if VPATH becomes empty
8342 # (actually we leave an empty line to preserve line numbers).
8343 if test "x$srcdir" = x.
; then
8344 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8345 s/:*\$(srcdir):*/:/;
8346 s/:*\${srcdir}:*/:/;
8348 s/^\([^=]*=[ ]*\):*/\1/;
8354 DEFS
=-DHAVE_CONFIG_H
8358 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8359 # 1. Remove the extension, and $U if already installed.
8360 ac_i
=`echo "$ac_i" |
8361 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8363 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8364 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8368 LTLIBOBJS
=$ac_ltlibobjs
8372 : ${CONFIG_STATUS=./config.status}
8373 ac_clean_files_save
=$ac_clean_files
8374 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8375 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8376 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8377 cat >$CONFIG_STATUS <<_ACEOF
8379 # Generated by $as_me.
8380 # Run this file to recreate the current configuration.
8381 # Compiler output produced by configure, useful for debugging
8382 # configure, is in config.log if it exists.
8387 SHELL=\${CONFIG_SHELL-$SHELL}
8390 cat >>$CONFIG_STATUS <<\_ACEOF
8391 ## --------------------- ##
8392 ## M4sh Initialization. ##
8393 ## --------------------- ##
8395 # Be Bourne compatible
8396 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8399 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8400 # is contrary to our usage. Disable this feature.
8401 alias -g '${1+"$@"}'='"$@"'
8402 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8405 DUALCASE
=1; export DUALCASE
# for MKS sh
8407 # Support unset when possible.
8408 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8415 # Work around bugs in pre-3.0 UWIN ksh.
8416 $as_unset ENV MAIL MAILPATH
8423 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8424 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8425 LC_TELEPHONE LC_TIME
8427 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8428 eval $as_var=C
; export $as_var
8434 # Required to use basename.
8435 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8441 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8442 as_basename
=basename
8448 # Name of the executable.
8449 as_me
=`$as_basename "$0" ||
8450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8451 X"$0" : 'X\(//\)$' \| \
8452 X"$0" : 'X\(/\)$' \| \
8453 . : '\(.\)' 2>/dev/null ||
8455 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8456 /^X\/\(\/\/\)$/{ s//\1/; q; }
8457 /^X\/\(\/\).*/{ s//\1/; q; }
8461 # PATH needs CR, and LINENO needs CR and PATH.
8462 # Avoid depending upon Character Ranges.
8463 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8464 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8465 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8466 as_cr_digits
='0123456789'
8467 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8469 # The user is always right.
8470 if test "${PATH_SEPARATOR+set}" != set; then
8471 echo "#! /bin/sh" >conf$$.sh
8472 echo "exit 0" >>conf$$.sh
8474 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8485 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8486 test "x$as_lineno_1" != "x$as_lineno_2" &&
8487 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8488 # Find who we are. Look in the path if we contain no path at all
8491 *[\\/]* ) as_myself
=$0 ;;
8492 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8496 test -z "$as_dir" && as_dir
=.
8497 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8502 # We did not find ourselves, most probably we were run as `sh COMMAND'
8503 # in which case we are not to be found in the path.
8504 if test "x$as_myself" = x
; then
8507 if test ! -f "$as_myself"; then
8508 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8509 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8510 { (exit 1); exit 1; }; }
8512 case $CONFIG_SHELL in
8514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8515 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8518 test -z "$as_dir" && as_dir
=.
8519 for as_base
in sh bash ksh sh5
; do
8522 if ("$as_dir/$as_base" -c '
8525 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8526 test "x$as_lineno_1" != "x$as_lineno_2" &&
8527 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8528 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8529 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8530 CONFIG_SHELL
=$as_dir/$as_base
8532 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8540 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8541 # uniformly replaced by the line number. The first 'sed' inserts a
8542 # line-number line before each line; the second 'sed' does the real
8543 # work. The second script uses 'N' to pair each line-number line
8544 # with the numbered line, and appends trailing '-' during
8545 # substitution so that $LINENO is not a special case at line end.
8546 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8547 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8548 sed '=' <$as_myself |
8553 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8556 s,^['$as_cr_digits']*\n,,
8558 chmod +x
$as_me.lineno ||
8559 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8560 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8561 { (exit 1); exit 1; }; }
8563 # Don't try to exec as it changes $[0], causing all sort of problems
8564 # (the dirname of $[0] is not the place where we might find the
8565 # original and so on. Autoconf is especially sensible to this).
8567 # Exit status is that of the last command.
8572 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8573 *c
*,-n*) ECHO_N
= ECHO_C
='
8575 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8576 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8579 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8585 rm -f conf$$ conf$$.exe conf$$.
file
8587 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8588 # We could just check for DJGPP; but this test a) works b) is more generic
8589 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8590 if test -f conf$$.exe
; then
8591 # Don't use ln at all; we don't have any links
8596 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8601 rm -f conf$$ conf$$.exe conf$$.
file
8603 if mkdir
-p .
2>/dev
/null
; then
8606 test -d .
/-p && rmdir .
/-p
8610 as_executable_p
="test -f"
8612 # Sed expression to map a string onto a valid CPP name.
8613 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8615 # Sed expression to map a string onto a valid variable name.
8616 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8620 # We need space, tab and new line, in precisely that order.
8630 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8631 # report actual input values of CONFIG_FILES etc. instead of their
8632 # values after options handling. Logging --version etc. is OK.
8636 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8637 ## Running $as_me. ##
8642 This file was extended by cpplib $as_me , which was
8643 generated by GNU Autoconf 2.59. Invocation command line was
8645 CONFIG_FILES = $CONFIG_FILES
8646 CONFIG_HEADERS = $CONFIG_HEADERS
8647 CONFIG_LINKS = $CONFIG_LINKS
8648 CONFIG_COMMANDS = $CONFIG_COMMANDS
8652 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8656 # Files that config.status was made for.
8657 if test -n "$ac_config_files"; then
8658 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8661 if test -n "$ac_config_headers"; then
8662 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8665 if test -n "$ac_config_links"; then
8666 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8669 if test -n "$ac_config_commands"; then
8670 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8673 cat >>$CONFIG_STATUS <<\_ACEOF
8676 \`$as_me' instantiates files from templates according to the
8677 current configuration.
8679 Usage: $0 [OPTIONS] [FILE]...
8681 -h, --help print this help, then exit
8682 -V, --version print version number, then exit
8683 -q, --quiet do not print progress messages
8684 -d, --debug don't remove temporary files
8685 --recheck update $as_me by reconfiguring in the same conditions
8686 --file=FILE[:TEMPLATE]
8687 instantiate the configuration file FILE
8688 --header=FILE[:TEMPLATE]
8689 instantiate the configuration header FILE
8691 Configuration files:
8694 Configuration headers:
8697 Configuration commands:
8700 Report bugs to <bug-autoconf@gnu.org>."
8703 cat >>$CONFIG_STATUS <<_ACEOF
8705 cpplib config.status
8706 configured by $0, generated by GNU Autoconf 2.59,
8707 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8709 Copyright (C) 2003 Free Software Foundation, Inc.
8710 This config.status script is free software; the Free Software Foundation
8711 gives unlimited permission to copy, distribute and modify it."
8716 cat >>$CONFIG_STATUS <<\_ACEOF
8717 # If no file are specified by the user, then we need to provide default
8718 # value. By we need to know if files were specified by the user.
8724 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8725 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8733 *) # This is not an option, so the user has probably given explicit
8736 ac_need_defaults
=false
;;
8740 # Handling of the options.
8742 cat >>$CONFIG_STATUS <<\_ACEOF
8743 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8745 --version |
--vers* |
-V )
8746 echo "$ac_cs_version"; exit 0 ;;
8748 # Conflict between --help and --header
8749 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8750 Try \`$0 --help' for more information." >&5
8751 echo "$as_me: error: ambiguous option: $1
8752 Try \`$0 --help' for more information." >&2;}
8753 { (exit 1); exit 1; }; };;
8754 --help |
--hel |
-h )
8755 echo "$ac_cs_usage"; exit 0 ;;
8756 --debug |
--d* |
-d )
8758 --file |
--fil |
--fi |
--f )
8760 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8761 ac_need_defaults
=false
;;
8762 --header |
--heade |
--head |
--hea )
8764 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8765 ac_need_defaults
=false
;;
8766 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8767 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8771 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8772 Try \`$0 --help' for more information." >&5
8773 echo "$as_me: error: unrecognized option: $1
8774 Try \`$0 --help' for more information." >&2;}
8775 { (exit 1); exit 1; }; } ;;
8777 *) ac_config_targets
="$ac_config_targets $1" ;;
8783 ac_configure_extra_args
=
8785 if $ac_cs_silent; then
8787 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8791 cat >>$CONFIG_STATUS <<_ACEOF
8792 if \$ac_cs_recheck; then
8793 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8794 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8799 cat >>$CONFIG_STATUS <<_ACEOF
8801 # INIT-COMMANDS section.
8804 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
8810 cat >>$CONFIG_STATUS <<\_ACEOF
8811 for ac_config_target
in $ac_config_targets
8813 case "$ac_config_target" in
8814 # Handling of arguments.
8815 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8816 "depdir" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
8817 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8818 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8819 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8820 { (exit 1); exit 1; }; };;
8824 # If the user did not use the arguments to specify the items to instantiate,
8825 # then the envvar interface is used. Set only those that are not.
8826 # We use the long form for the default assignment because of an extremely
8827 # bizarre bug on SunOS 4.1.3.
8828 if $ac_need_defaults; then
8829 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8830 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8831 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8834 # Have a temporary directory for convenience. Make it in the build tree
8835 # simply because there is no reason to put it here, and in addition,
8836 # creating and moving files from /tmp can sometimes cause problems.
8837 # Create a temporary directory, and hook for its removal unless debugging.
8840 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8841 trap '{ (exit 1); exit 1; }' 1 2 13 15
8844 # Create a (secure) tmp directory for tmp files.
8847 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8848 test -n "$tmp" && test -d "$tmp"
8851 tmp
=.
/confstat$$
-$RANDOM
8852 (umask 077 && mkdir
$tmp)
8855 echo "$me: cannot create a temporary directory in ." >&2
8856 { (exit 1); exit 1; }
8861 cat >>$CONFIG_STATUS <<_ACEOF
8864 # CONFIG_FILES section.
8867 # No need to generate the scripts if there are no CONFIG_FILES.
8868 # This happens for instance when ./config.status config.h
8869 if test -n "\$CONFIG_FILES"; then
8870 # Protect against being on the right side of a sed subst in config.status.
8871 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8872 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8873 s,@SHELL@,$SHELL,;t t
8874 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8875 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8876 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8877 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8878 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8879 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8880 s,@exec_prefix@,$exec_prefix,;t t
8881 s,@prefix@,$prefix,;t t
8882 s,@program_transform_name@,$program_transform_name,;t t
8883 s,@bindir@,$bindir,;t t
8884 s,@sbindir@,$sbindir,;t t
8885 s,@libexecdir@,$libexecdir,;t t
8886 s,@datadir@,$datadir,;t t
8887 s,@sysconfdir@,$sysconfdir,;t t
8888 s,@sharedstatedir@,$sharedstatedir,;t t
8889 s,@localstatedir@,$localstatedir,;t t
8890 s,@libdir@,$libdir,;t t
8891 s,@includedir@,$includedir,;t t
8892 s,@oldincludedir@,$oldincludedir,;t t
8893 s,@infodir@,$infodir,;t t
8894 s,@mandir@,$mandir,;t t
8895 s,@build_alias@,$build_alias,;t t
8896 s,@host_alias@,$host_alias,;t t
8897 s,@target_alias@,$target_alias,;t t
8899 s,@ECHO_C@,$ECHO_C,;t t
8900 s,@ECHO_N@,$ECHO_N,;t t
8901 s,@ECHO_T@,$ECHO_T,;t t
8903 s,@build@,$build,;t t
8904 s,@build_cpu@,$build_cpu,;t t
8905 s,@build_vendor@,$build_vendor,;t t
8906 s,@build_os@,$build_os,;t t
8908 s,@host_cpu@,$host_cpu,;t t
8909 s,@host_vendor@,$host_vendor,;t t
8910 s,@host_os@,$host_os,;t t
8911 s,@target@,$target,;t t
8912 s,@target_cpu@,$target_cpu,;t t
8913 s,@target_vendor@,$target_vendor,;t t
8914 s,@target_os@,$target_os,;t t
8915 s,@SET_MAKE@,$SET_MAKE,;t t
8916 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8917 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8918 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8920 s,@CFLAGS@,$CFLAGS,;t t
8921 s,@LDFLAGS@,$LDFLAGS,;t t
8922 s,@CPPFLAGS@,$CPPFLAGS,;t t
8923 s,@ac_ct_CC@,$ac_ct_CC,;t t
8924 s,@EXEEXT@,$EXEEXT,;t t
8925 s,@OBJEXT@,$OBJEXT,;t t
8926 s,@RANLIB@,$RANLIB,;t t
8927 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8928 s,@ACLOCAL@,$ACLOCAL,;t t
8929 s,@AUTOCONF@,$AUTOCONF,;t t
8930 s,@AUTOHEADER@,$AUTOHEADER,;t t
8931 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
8932 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
8933 s,@WERROR@,$WERROR,;t t
8934 s,@am__leading_dot@,$am__leading_dot,;t t
8935 s,@DEPDIR@,$DEPDIR,;t t
8936 s,@CCDEPMODE@,$CCDEPMODE,;t t
8938 s,@EGREP@,$EGREP,;t t
8939 s,@LIBOBJS@,$LIBOBJS,;t t
8940 s,@ALLOCA@,$ALLOCA,;t t
8941 s,@USE_NLS@,$USE_NLS,;t t
8942 s,@LIBINTL@,$LIBINTL,;t t
8943 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
8944 s,@INCINTL@,$INCINTL,;t t
8945 s,@XGETTEXT@,$XGETTEXT,;t t
8946 s,@GMSGFMT@,$GMSGFMT,;t t
8947 s,@POSUB@,$POSUB,;t t
8948 s,@CATALOGS@,$CATALOGS,;t t
8949 s,@DATADIRNAME@,$DATADIRNAME,;t t
8950 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
8951 s,@GENCAT@,$GENCAT,;t t
8952 s,@CATOBJEXT@,$CATOBJEXT,;t t
8953 s,@LIBICONV@,$LIBICONV,;t t
8954 s,@LTLIBICONV@,$LTLIBICONV,;t t
8955 s,@PACKAGE@,$PACKAGE,;t t
8956 s,@USED_CATALOGS@,$USED_CATALOGS,;t t
8957 s,@MAINT@,$MAINT,;t t
8958 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8963 cat >>$CONFIG_STATUS <<\_ACEOF
8964 # Split the substitutions into bite-sized pieces for seds with
8965 # small command number limits, like on Digital OSF/1 and HP-UX.
8967 ac_sed_frag
=1 # Number of current file.
8968 ac_beg
=1 # First line for current file.
8969 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8972 while $ac_more_lines; do
8973 if test $ac_beg -gt 1; then
8974 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8976 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8978 if test ! -s $tmp/subs.frag
; then
8981 # The purpose of the label and of the branching condition is to
8982 # speed up the sed processing (if there are no `@' at all, there
8983 # is no need to browse any of the substitutions).
8984 # These are the two extra sed commands mentioned above.
8986 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8987 if test -z "$ac_sed_cmds"; then
8988 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8990 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8992 ac_sed_frag
=`expr $ac_sed_frag + 1`
8994 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8997 if test -z "$ac_sed_cmds"; then
9000 fi # test -n "$CONFIG_FILES"
9003 cat >>$CONFIG_STATUS <<\_ACEOF
9004 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9005 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9007 - |
*:- |
*:-:* ) # input from stdin
9009 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9010 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9011 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9012 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9013 * ) ac_file_in
=$ac_file.
in ;;
9016 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9017 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9018 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9019 X"$ac_file" : 'X\(//\)[^/]' \| \
9020 X"$ac_file" : 'X\(//\)$' \| \
9021 X"$ac_file" : 'X\(/\)' \| \
9022 . : '\(.\)' 2>/dev/null ||
9024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9026 /^X\(\/\/\)$/{ s//\1/; q; }
9027 /^X\(\/\).*/{ s//\1/; q; }
9029 { if $as_mkdir_p; then
9034 while test ! -d "$as_dir"; do
9035 as_dirs
="$as_dir $as_dirs"
9036 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9037 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9038 X"$as_dir" : 'X\(//\)[^/]' \| \
9039 X"$as_dir" : 'X\(//\)$' \| \
9040 X"$as_dir" : 'X\(/\)' \| \
9041 . : '\(.\)' 2>/dev/null ||
9043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9044 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9045 /^X\(\/\/\)$/{ s//\1/; q; }
9046 /^X\(\/\).*/{ s//\1/; q; }
9049 test ! -n "$as_dirs" || mkdir
$as_dirs
9050 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9051 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9052 { (exit 1); exit 1; }; }; }
9056 if test "$ac_dir" != .
; then
9057 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9058 # A "../" for each directory in $ac_dir_suffix.
9059 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9061 ac_dir_suffix
= ac_top_builddir
=
9065 .
) # No --srcdir option. We are building in place.
9067 if test -z "$ac_top_builddir"; then
9070 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9072 [\\/]* | ?
:[\\/]* ) # Absolute path.
9073 ac_srcdir
=$srcdir$ac_dir_suffix;
9074 ac_top_srcdir
=$srcdir ;;
9076 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9077 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9080 # Do not use `cd foo && pwd` to compute absolute paths, because
9081 # the directories may not exist.
9083 .
) ac_abs_builddir
="$ac_dir";;
9086 .
) ac_abs_builddir
=`pwd`;;
9087 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9088 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9091 case $ac_abs_builddir in
9092 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9094 case ${ac_top_builddir}.
in
9095 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9096 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9097 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9100 case $ac_abs_builddir in
9101 .
) ac_abs_srcdir
=$ac_srcdir;;
9104 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9105 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9106 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9109 case $ac_abs_builddir in
9110 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9112 case $ac_top_srcdir in
9113 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9114 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9115 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9121 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9122 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9125 if test x
"$ac_file" != x-
; then
9126 { echo "$as_me:$LINENO: creating $ac_file" >&5
9127 echo "$as_me: creating $ac_file" >&6;}
9130 # Let's still pretend it is `configure' which instantiates (i.e., don't
9131 # use $as_me), people would be surprised to read:
9132 # /* config.h. Generated by config.status. */
9133 if test x
"$ac_file" = x-
; then
9136 configure_input
="$ac_file. "
9138 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9139 sed 's,.*/,,'` by configure."
9141 # First look for the input files in the build tree, otherwise in the
9143 ac_file_inputs
=`IFS=:
9144 for f in $ac_file_in; do
9146 -) echo $tmp/stdin ;;
9148 # Absolute (can't be DOS-style, as IFS=:)
9149 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9150 echo "$as_me: error: cannot find input file: $f" >&2;}
9151 { (exit 1); exit 1; }; }
9154 if test -f "$f"; then
9157 elif test -f "$srcdir/$f"; then
9162 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9163 echo "$as_me: error: cannot find input file: $f" >&2;}
9164 { (exit 1); exit 1; }; }
9167 done` ||
{ (exit 1); exit 1; }
9169 cat >>$CONFIG_STATUS <<_ACEOF
9173 cat >>$CONFIG_STATUS <<\_ACEOF
9175 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9176 s
,@configure_input@
,$configure_input,;t t
9177 s
,@srcdir@
,$ac_srcdir,;t t
9178 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9179 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9180 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9181 s
,@builddir@
,$ac_builddir,;t t
9182 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9183 s
,@top_builddir@
,$ac_top_builddir,;t t
9184 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9185 s
,@INSTALL@
,$ac_INSTALL,;t t
9186 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9188 if test x"$ac_file" != x-; then
9189 mv $tmp/out $ac_file
9197 cat >>$CONFIG_STATUS <<\_ACEOF
9200 # CONFIG_HEADER section.
9203 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9204 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9206 # ac_d sets the value in "#define NAME VALUE" lines.
9207 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9208 ac_dB
='[ ].*$,\1#\2'
9211 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9212 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9213 ac_uB
='$,\1#\2define\3'
9217 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9218 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9220 - |
*:- |
*:-:* ) # input from stdin
9222 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9223 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9224 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9225 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9226 * ) ac_file_in
=$ac_file.
in ;;
9229 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9230 echo "$as_me: creating $ac_file" >&6;}
9232 # First look for the input files in the build tree, otherwise in the
9234 ac_file_inputs
=`IFS=:
9235 for f in $ac_file_in; do
9237 -) echo $tmp/stdin ;;
9239 # Absolute (can't be DOS-style, as IFS=:)
9240 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9241 echo "$as_me: error: cannot find input file: $f" >&2;}
9242 { (exit 1); exit 1; }; }
9243 # Do quote $f, to prevent DOS paths from being IFS'd.
9246 if test -f "$f"; then
9249 elif test -f "$srcdir/$f"; then
9254 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9255 echo "$as_me: error: cannot find input file: $f" >&2;}
9256 { (exit 1); exit 1; }; }
9259 done` ||
{ (exit 1); exit 1; }
9260 # Remove the trailing spaces.
9261 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9265 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9266 # `conftest.undefs', that substitutes the proper values into
9267 # config.h.in to produce config.h. The first handles `#define'
9268 # templates, and the second `#undef' templates.
9269 # And first: Protect against being on the right side of a sed subst in
9270 # config.status. Protect against being in an unquoted here document
9272 rm -f conftest.defines conftest.undefs
9273 # Using a here document instead of a string reduces the quoting nightmare.
9274 # Putting comments in sed scripts is not portable.
9276 # `end' is used to avoid that the second main sed command (meant for
9277 # 0-ary CPP macros) applies to n-ary macro definitions.
9278 # See the Autoconf documentation for `clear'.
9279 cat >confdef2sed.
sed <<\_ACEOF
9284 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9286 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9289 # If some macros were called several times there might be several times
9290 # the same #defines, which is useless. Nevertheless, we may not want to
9291 # sort them, since we want the *last* AC-DEFINE to be honored.
9292 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9293 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9294 rm -f confdef2sed.sed
9296 # This sed command replaces #undef with comments. This is necessary, for
9297 # example, in the case of _POSIX_SOURCE, which is predefined and required
9298 # on some systems where configure will not decide to define it.
9299 cat >>conftest.undefs <<\_ACEOF
9300 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9303 # Break up conftest.defines because some shells have a limit on the size
9304 # of here documents, and old seds have small limits too (100 cmds).
9305 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9306 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9307 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9308 echo ' :' >>$CONFIG_STATUS
9310 while grep . conftest.defines >/dev/null
9312 # Write a limited-size here document to $tmp/defines.sed.
9313 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9314 # Speed up: don't consider the non `#define' lines.
9315 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9316 # Work around the forget-to-reset-the-flag bug.
9317 echo 't clr' >>$CONFIG_STATUS
9318 echo ': clr' >>$CONFIG_STATUS
9319 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9321 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9325 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9326 rm -f conftest.defines
9327 mv conftest.
tail conftest.defines
9329 rm -f conftest.defines
9330 echo ' fi # grep' >>$CONFIG_STATUS
9331 echo >>$CONFIG_STATUS
9333 # Break up conftest.undefs because some shells have a limit on the size
9334 # of here documents, and old seds have small limits too (100 cmds).
9335 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9337 while grep . conftest.undefs
>/dev
/null
9339 # Write a limited-size here document to $tmp/undefs.sed.
9340 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9341 # Speed up: don't consider the non
`#undef'
9342 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9343 # Work around the forget-to-reset-the-flag bug.
9344 echo 't clr' >>$CONFIG_STATUS
9345 echo ': clr' >>$CONFIG_STATUS
9346 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9348 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9352 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9353 rm -f conftest.undefs
9354 mv conftest.tail conftest.undefs
9356 rm -f conftest.undefs
9358 cat >>$CONFIG_STATUS <<\_ACEOF
9359 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9360 # use $as_me), people would be surprised to read:
9361 # /* config.h. Generated by config.status. */
9362 if test x
"$ac_file" = x-
; then
9363 echo "/* Generated by configure. */" >$tmp/config.h
9365 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9367 cat $tmp/in >>$tmp/config.h
9369 if test x
"$ac_file" != x-
; then
9370 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9371 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9372 echo "$as_me: $ac_file is unchanged" >&6;}
9374 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9375 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9376 X"$ac_file" : 'X\(//\)[^/]' \| \
9377 X"$ac_file" : 'X\(//\)$' \| \
9378 X"$ac_file" : 'X\(/\)' \| \
9379 . : '\(.\)' 2>/dev/null ||
9381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9382 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9383 /^X\(\/\/\)$/{ s//\1/; q; }
9384 /^X\(\/\).*/{ s//\1/; q; }
9386 { if $as_mkdir_p; then
9391 while test ! -d "$as_dir"; do
9392 as_dirs
="$as_dir $as_dirs"
9393 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9395 X"$as_dir" : 'X\(//\)[^/]' \| \
9396 X"$as_dir" : 'X\(//\)$' \| \
9397 X"$as_dir" : 'X\(/\)' \| \
9398 . : '\(.\)' 2>/dev/null ||
9400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9401 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9402 /^X\(\/\/\)$/{ s//\1/; q; }
9403 /^X\(\/\).*/{ s//\1/; q; }
9406 test ! -n "$as_dirs" || mkdir
$as_dirs
9407 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9408 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9409 { (exit 1); exit 1; }; }; }
9412 mv $tmp/config.h
$ac_file
9418 # Run the commands associated with the file.
9420 config.h
) echo timestamp
> stamp-h1
;;
9424 cat >>$CONFIG_STATUS <<\_ACEOF
9427 # CONFIG_COMMANDS section.
9429 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9430 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9431 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9432 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9433 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9434 X"$ac_dest" : 'X\(//\)[^/]' \| \
9435 X"$ac_dest" : 'X\(//\)$' \| \
9436 X"$ac_dest" : 'X\(/\)' \| \
9437 . : '\(.\)' 2>/dev/null ||
9439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9441 /^X\(\/\/\)$/{ s//\1/; q; }
9442 /^X\(\/\).*/{ s//\1/; q; }
9444 { if $as_mkdir_p; then
9449 while test ! -d "$as_dir"; do
9450 as_dirs
="$as_dir $as_dirs"
9451 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9452 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9453 X"$as_dir" : 'X\(//\)[^/]' \| \
9454 X"$as_dir" : 'X\(//\)$' \| \
9455 X"$as_dir" : 'X\(/\)' \| \
9456 . : '\(.\)' 2>/dev/null ||
9458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9459 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9460 /^X\(\/\/\)$/{ s//\1/; q; }
9461 /^X\(\/\).*/{ s//\1/; q; }
9464 test ! -n "$as_dirs" || mkdir
$as_dirs
9465 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9466 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9467 { (exit 1); exit 1; }; }; }
9471 if test "$ac_dir" != .
; then
9472 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9473 # A "../" for each directory in $ac_dir_suffix.
9474 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9476 ac_dir_suffix
= ac_top_builddir
=
9480 .
) # No --srcdir option. We are building in place.
9482 if test -z "$ac_top_builddir"; then
9485 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9487 [\\/]* | ?
:[\\/]* ) # Absolute path.
9488 ac_srcdir
=$srcdir$ac_dir_suffix;
9489 ac_top_srcdir
=$srcdir ;;
9491 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9492 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9495 # Do not use `cd foo && pwd` to compute absolute paths, because
9496 # the directories may not exist.
9498 .
) ac_abs_builddir
="$ac_dir";;
9501 .
) ac_abs_builddir
=`pwd`;;
9502 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9503 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9506 case $ac_abs_builddir in
9507 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9509 case ${ac_top_builddir}.
in
9510 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9511 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9512 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9515 case $ac_abs_builddir in
9516 .
) ac_abs_srcdir
=$ac_srcdir;;
9519 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9520 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9521 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9524 case $ac_abs_builddir in
9525 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9527 case $ac_top_srcdir in
9528 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9529 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9530 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9535 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9536 echo "$as_me: executing $ac_dest commands" >&6;}
9538 depdir
) $SHELL $ac_aux_dir/mkinstalldirs
$DEPDIR ;;
9543 cat >>$CONFIG_STATUS <<\_ACEOF
9545 { (exit 0); exit 0; }
9547 chmod +x
$CONFIG_STATUS
9548 ac_clean_files
=$ac_clean_files_save
9551 # configure is writing to config.log, and then calls config.status.
9552 # config.status does its own redirection, appending to config.log.
9553 # Unfortunately, on DOS this fails, as config.log is still kept open
9554 # by configure, so config.status won't be able to write to it; its
9555 # output is simply discarded. So we exec the FD to /dev/null,
9556 # effectively closing config.log, so it can be properly (re)opened and
9557 # appended to by config.status. When coming back to configure, we
9558 # need to make the FD available again.
9559 if test "$no_create" != yes; then
9561 ac_config_status_args
=
9562 test "$silent" = yes &&
9563 ac_config_status_args
="$ac_config_status_args --quiet"
9565 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9567 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9568 # would make configure fail if this is the last instruction.
9569 $ac_cs_success ||
{ (exit 1); exit 1; }