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'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
374 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
377 -build |
--build |
--buil |
--bui |
--bu)
378 ac_prev
=build_alias
;;
379 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
383 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
384 ac_prev
=cache_file
;;
385 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
386 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
394 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* |
--disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* |
--enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
421 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
422 |
--exec |
--exe |
--ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
425 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
426 |
--exec=* |
--exe=* |
--ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas |
--gas |
--ga |
--g)
430 # Obsolete; use --with-gas.
433 -help |
--help |
--hel |
--he |
-h)
435 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
438 ac_init_help
=short
;;
440 -host |
--host |
--hos |
--ho)
441 ac_prev
=host_alias
;;
442 -host=* |
--host=* |
--hos=* |
--ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir |
--includedir |
--includedi |
--included |
--include \
446 |
--includ |
--inclu |
--incl |
--inc)
447 ac_prev
=includedir
;;
448 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
449 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
454 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir |
--libdir |
--libdi |
--libd)
459 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
462 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
463 |
--libexe |
--libex |
--libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
466 |
--libexe=* |
--libex=* |
--libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
470 |
--localstate |
--localstat |
--localsta |
--localst \
471 |
--locals |
--local |
--loca |
--loc |
--lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
474 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
475 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
480 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
484 # Obsolete; use --without-fp.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c |
-n)
491 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
492 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
495 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
496 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
497 |
--oldin |
--oldi |
--old |
--ol |
--o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
500 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
501 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
506 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
509 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
510 |
--program-pre |
--program-pr |
--program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
513 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
517 |
--program-suf |
--program-su |
--program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
520 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name |
--program-transform-name \
524 |
--program-transform-nam |
--program-transform-na \
525 |
--program-transform-n |
--program-transform- \
526 |
--program-transform |
--program-transfor \
527 |
--program-transfo |
--program-transf \
528 |
--program-trans |
--program-tran \
529 |
--progr-tra |
--program-tr |
--program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* |
--program-transform-name=* \
532 |
--program-transform-nam=* |
--program-transform-na=* \
533 |
--program-transform-n=* |
--program-transform-=* \
534 |
--program-transform=* |
--program-transfor=* \
535 |
--program-transfo=* |
--program-transf=* \
536 |
--program-trans=* |
--program-tran=* \
537 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
541 |
-silent |
--silent |
--silen |
--sile |
--sil)
544 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
546 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
551 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
552 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
556 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
557 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site |
--site |
--sit)
563 -site=* |
--site=* |
--sit=*)
566 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
568 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
571 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
572 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
575 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
579 ac_prev
=target_alias
;;
580 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
581 target_alias
=$ac_optarg ;;
583 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
586 -version |
--version |
--versio |
--versi |
--vers |
-V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* |
--without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
616 |
--x-incl |
--x-inc |
--x-in |
--x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
619 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
623 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
626 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
778 # Report the --help message.
780 if test "$ac_init_help" = "long"; then
781 # Omit some internal or obsolete options to make the list less imposing.
782 # This message is too long to be a string in the A/UX 3.1 sh.
784 \`configure' configures cpplib to adapt to many kinds of systems.
786 Usage: $0 [OPTION]... [VAR=VALUE]...
788 To assign environment variables (e.g., CC, CFLAGS...), specify them as
789 VAR=VALUE. See below for descriptions of some of the useful variables.
791 Defaults for the options are specified in brackets.
794 -h, --help display this help and exit
795 --help=short display options specific to this package
796 --help=recursive display the short help of all the included packages
797 -V, --version display version information and exit
798 -q, --quiet, --silent do not print \`checking...' messages
799 --cache-file=FILE cache test results in FILE [disabled]
800 -C, --config-cache alias for \`--cache-file=config.cache'
801 -n, --no-create do not create output files
802 --srcdir=DIR find the sources in DIR [configure dir or \`..']
807 Installation directories:
808 --prefix=PREFIX install architecture-independent files in PREFIX
810 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
813 By default, \`make install' will install all the files in
814 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
815 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
816 for instance \`--prefix=\$HOME'.
818 For better control, use the options below.
820 Fine tuning of the installation directories:
821 --bindir=DIR user executables [EPREFIX/bin]
822 --sbindir=DIR system admin executables [EPREFIX/sbin]
823 --libexecdir=DIR program executables [EPREFIX/libexec]
824 --datadir=DIR read-only architecture-independent data [PREFIX/share]
825 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
826 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
827 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
828 --libdir=DIR object code libraries [EPREFIX/lib]
829 --includedir=DIR C header files [PREFIX/include]
830 --oldincludedir=DIR C header files for non-gcc [/usr/include]
831 --infodir=DIR info documentation [PREFIX/info]
832 --mandir=DIR man documentation [PREFIX/man]
838 --build=BUILD configure
for building on BUILD
[guessed
]
839 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
840 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
844 if test -n "$ac_init_help"; then
845 case $ac_init_help in
846 short | recursive
) echo "Configuration of cpplib :";;
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-werror-always enable -Werror despite compiler version
854 --disable-largefile omit support
for large files
855 --disable-rpath do not hardcode runtime library paths
856 --enable-maintainer-mode enable rules only needed by maintainers
857 --enable-checking enable expensive run-time checks
860 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
861 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
862 --with-gnu-ld assume the C compiler uses GNU ld default
=no
863 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
864 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
866 Some influential environment variables:
867 CC C compiler command
868 CFLAGS C compiler flags
869 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
870 nonstandard directory <lib dir>
871 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
872 headers in a nonstandard directory <include dir>
875 Use these variables to override the choices made by `configure' or to
help
876 it to
find libraries and programs with nonstandard names
/locations.
878 Report bugs to
<gcc-bugs@gcc.gnu.org
>.
882 if test "$ac_init_help" = "recursive"; then
883 # If there are subdirs, report their specific --help.
885 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
886 test -d $ac_dir ||
continue
889 if test "$ac_dir" != .
; then
890 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
891 # A "../" for each directory in $ac_dir_suffix.
892 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
894 ac_dir_suffix
= ac_top_builddir
=
898 .
) # No --srcdir option. We are building in place.
900 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
905 [\\/]* | ?
:[\\/]* ) # Absolute path.
906 ac_srcdir
=$srcdir$ac_dir_suffix;
907 ac_top_srcdir
=$srcdir ;;
909 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
910 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
913 # Do not use `cd foo && pwd` to compute absolute paths, because
914 # the directories may not exist.
916 .
) ac_abs_builddir
="$ac_dir";;
919 .
) ac_abs_builddir
=`pwd`;;
920 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
921 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
924 case $ac_abs_builddir in
925 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
927 case ${ac_top_builddir}.
in
928 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
929 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
930 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
933 case $ac_abs_builddir in
934 .
) ac_abs_srcdir
=$ac_srcdir;;
937 .
) ac_abs_srcdir
=$ac_abs_builddir;;
938 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
939 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
942 case $ac_abs_builddir in
943 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
945 case $ac_top_srcdir in
946 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
947 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
948 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
953 # Check for guested configure; otherwise get Cygnus style configure.
954 if test -f $ac_srcdir/configure.gnu
; then
956 $SHELL $ac_srcdir/configure.gnu
--help=recursive
957 elif test -f $ac_srcdir/configure
; then
959 $SHELL $ac_srcdir/configure
--help=recursive
960 elif test -f $ac_srcdir/configure.ac ||
961 test -f $ac_srcdir/configure.
in; then
965 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971 test -n "$ac_init_help" && exit 0
972 if $ac_init_version; then
975 generated by GNU Autoconf
2.59
977 Copyright
(C
) 2003 Free Software Foundation
, Inc.
978 This configure
script is free software
; the Free Software Foundation
979 gives unlimited permission to copy
, distribute and modify it.
985 This file contains any messages produced by compilers while
986 running configure, to aid debugging if configure makes a mistake.
988 It was created by cpplib $as_me , which was
989 generated by GNU Autoconf 2.59. Invocation command line was
1000 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1001 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1002 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1003 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1004 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1006 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1007 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1009 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1010 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1011 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1012 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1013 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1014 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1015 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1023 test -z "$as_dir" && as_dir
=.
1024 echo "PATH: $as_dir"
1039 # Keep a trace of the command line.
1040 # Strip out --no-create and --no-recursion so they do not pile up.
1041 # Strip out --silent because we don't want to record it for future runs.
1042 # Also quote any args containing shell meta-characters.
1043 # Make two passes to allow for proper duplicate-argument suppression.
1048 ac_must_keep_next
=false
1054 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1055 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1056 |
-silent |
--silent |
--silen |
--sile |
--sil)
1058 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1059 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1062 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1064 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1065 if test $ac_must_keep_next = true
; then
1066 ac_must_keep_next
=false
# Got value, back to normal.
1069 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1070 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1071 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1072 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1073 case "$ac_configure_args0 " in
1074 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1077 -* ) ac_must_keep_next
=true
;;
1080 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1081 # Get rid of the leading space.
1087 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1088 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1090 # When interrupted or exit'd, cleanup temporary files, and complete
1091 # config.log. We remove comments because anyway the quotes in there
1092 # would cause problems or look ugly.
1093 # WARNING: Be sure not to use single quotes in there, as some shells,
1094 # such as our DU 5.0 friend, will then `close' the trap.
1095 trap 'exit_status=$?
1096 # Save into config.log some information that might help in debugging.
1101 ## ---------------- ##
1102 ## Cache variables. ##
1103 ## ---------------- ##
1106 # The following way of writing the cache mishandles newlines in values,
1109 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1112 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1117 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124 ## ----------------- ##
1125 ## Output variables. ##
1126 ## ----------------- ##
1129 for ac_var in $ac_subst_vars
1131 eval ac_val=$`echo $ac_var`
1132 echo "$ac_var='"'"'$ac_val'"'"'"
1136 if test -n "$ac_subst_files"; then
1143 for ac_var in $ac_subst_files
1145 eval ac_val=$`echo $ac_var`
1146 echo "$ac_var='"'"'$ac_val'"'"'"
1151 if test -s confdefs.h; then
1158 sed "/^$/d" confdefs.h | sort
1161 test "$ac_signal" != 0 &&
1162 echo "$as_me: caught signal $ac_signal"
1163 echo "$as_me: exit $exit_status"
1165 rm -f core *.core &&
1166 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1169 for ac_signal
in 1 2 13 15; do
1170 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1174 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1175 rm -rf conftest
* confdefs.h
1176 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1179 # Predefined preprocessor variables.
1181 cat >>confdefs.h
<<_ACEOF
1182 #define PACKAGE_NAME "$PACKAGE_NAME"
1186 cat >>confdefs.h
<<_ACEOF
1187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1191 cat >>confdefs.h
<<_ACEOF
1192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1196 cat >>confdefs.h
<<_ACEOF
1197 #define PACKAGE_STRING "$PACKAGE_STRING"
1201 cat >>confdefs.h
<<_ACEOF
1202 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1206 # Let the site file select an alternate cache file if it wants to.
1207 # Prefer explicitly selected file to automatically selected ones.
1208 if test -z "$CONFIG_SITE"; then
1209 if test "x$prefix" != xNONE
; then
1210 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1212 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1215 for ac_site_file
in $CONFIG_SITE; do
1216 if test -r "$ac_site_file"; then
1217 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1218 echo "$as_me: loading site script $ac_site_file" >&6;}
1219 sed 's/^/| /' "$ac_site_file" >&5
1224 if test -r "$cache_file"; then
1225 # Some versions of bash will fail to source /dev/null (special
1226 # files actually), so we avoid doing that.
1227 if test -f "$cache_file"; then
1228 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1229 echo "$as_me: loading cache $cache_file" >&6;}
1231 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1232 *) . .
/$cache_file;;
1236 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1237 echo "$as_me: creating cache $cache_file" >&6;}
1241 # Check that the precious variables saved in the cache have kept the same
1243 ac_cache_corrupted
=false
1244 for ac_var
in `(set) 2>&1 |
1245 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1246 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1247 eval ac_new_set
=\
$ac_env_${ac_var}_set
1248 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1249 eval ac_new_val
="\$ac_env_${ac_var}_value"
1250 case $ac_old_set,$ac_new_set in
1252 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1253 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1254 ac_cache_corrupted
=: ;;
1256 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1258 ac_cache_corrupted
=: ;;
1261 if test "x$ac_old_val" != "x$ac_new_val"; then
1262 # differences in whitespace do not lead to failure.
1263 ac_old_val_w
=`echo x $ac_old_val`
1264 ac_new_val_w
=`echo x $ac_new_val`
1265 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1266 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1267 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1268 ac_cache_corrupted
=:
1270 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1271 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1272 eval $ac_var=\
$ac_old_val
1274 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1275 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1276 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1277 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1280 # Pass precious variables to config.status.
1281 if test "$ac_new_set" = set; then
1283 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1284 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1285 *) ac_arg
=$ac_var=$ac_new_val ;;
1287 case " $ac_configure_args " in
1288 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1289 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1293 if $ac_cache_corrupted; then
1294 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1295 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1298 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1299 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1300 { (exit 1); exit 1; }; }
1304 ac_cpp
='$CPP $CPPFLAGS'
1305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1340 [\\/]* | ?
:[\\/]* ) ac_macro_dir
=..
/config
;;
1341 *) ac_macro_dir
=$srcdir/..
/config
;;
1343 if test -d "$ac_macro_dir"; then :
1345 { { echo "$as_me:$LINENO: error: cannot find macro directory \`../config'" >&5
1346 echo "$as_me: error: cannot find macro directory \`../config'" >&2;}
1347 { (exit 1); exit 1; }; }
1351 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1352 if test -f $ac_dir/install-sh
; then
1354 ac_install_sh
="$ac_aux_dir/install-sh -c"
1356 elif test -f $ac_dir/install.sh
; then
1358 ac_install_sh
="$ac_aux_dir/install.sh -c"
1360 elif test -f $ac_dir/shtool
; then
1362 ac_install_sh
="$ac_aux_dir/shtool install -c"
1366 if test -z "$ac_aux_dir"; then
1367 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1368 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1369 { (exit 1); exit 1; }; }
1371 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1372 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1373 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1375 # Make sure we can run config.sub.
1376 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1377 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1378 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1379 { (exit 1); exit 1; }; }
1381 echo "$as_me:$LINENO: checking build system type" >&5
1382 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1383 if test "${ac_cv_build+set}" = set; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 ac_cv_build_alias
=$build_alias
1387 test -z "$ac_cv_build_alias" &&
1388 ac_cv_build_alias
=`$ac_config_guess`
1389 test -z "$ac_cv_build_alias" &&
1390 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1391 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1392 { (exit 1); exit 1; }; }
1393 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1394 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1395 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1396 { (exit 1); exit 1; }; }
1399 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1400 echo "${ECHO_T}$ac_cv_build" >&6
1402 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1403 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1404 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1407 echo "$as_me:$LINENO: checking host system type" >&5
1408 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1409 if test "${ac_cv_host+set}" = set; then
1410 echo $ECHO_N "(cached) $ECHO_C" >&6
1412 ac_cv_host_alias
=$host_alias
1413 test -z "$ac_cv_host_alias" &&
1414 ac_cv_host_alias
=$ac_cv_build_alias
1415 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1416 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1417 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1418 { (exit 1); exit 1; }; }
1421 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1422 echo "${ECHO_T}$ac_cv_host" >&6
1424 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1425 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1426 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1429 echo "$as_me:$LINENO: checking target system type" >&5
1430 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1431 if test "${ac_cv_target+set}" = set; then
1432 echo $ECHO_N "(cached) $ECHO_C" >&6
1434 ac_cv_target_alias
=$target_alias
1435 test "x$ac_cv_target_alias" = "x" &&
1436 ac_cv_target_alias
=$ac_cv_host_alias
1437 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1438 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1439 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1440 { (exit 1); exit 1; }; }
1443 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1444 echo "${ECHO_T}$ac_cv_target" >&6
1445 target
=$ac_cv_target
1446 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1447 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1448 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1451 # The aliases save the names the user supplied, while $host etc.
1452 # will get canonicalized.
1453 test -n "$target_alias" &&
1454 test "$program_prefix$program_suffix$program_transform_name" = \
1456 program_prefix
=${target_alias}-
1458 # Checks for programs.
1459 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1460 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1461 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1462 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 cat >conftest.
make <<\_ACEOF
1467 @
echo 'ac_maketemp="$(MAKE)"'
1469 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1470 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1471 if test -n "$ac_maketemp"; then
1472 eval ac_cv_prog_make_
${ac_make}_set
=yes
1474 eval ac_cv_prog_make_
${ac_make}_set
=no
1478 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1479 echo "$as_me:$LINENO: result: yes" >&5
1480 echo "${ECHO_T}yes" >&6
1483 echo "$as_me:$LINENO: result: no" >&5
1484 echo "${ECHO_T}no" >&6
1485 SET_MAKE
="MAKE=${MAKE-make}"
1488 # Find a good install program. We prefer a C program (faster),
1489 # so one script is as good as another. But avoid the broken or
1490 # incompatible versions:
1491 # SysV /etc/install, /usr/sbin/install
1492 # SunOS /usr/etc/install
1493 # IRIX /sbin/install
1495 # AmigaOS /C/install, which installs bootblocks on floppy discs
1496 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1497 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1498 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1499 # OS/2's system install, which has a completely different semantic
1500 # ./install, which can be erroneously created by make from ./install.sh.
1501 # Reject install programs that cannot install multiple files.
1502 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1503 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1504 if test -z "$INSTALL"; then
1505 if test "${ac_cv_path_install+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1512 test -z "$as_dir" && as_dir
=.
1513 # Account for people who put trailing slashes in PATH elements.
1515 .
/ | .
// |
/cC
/* | \
1516 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1517 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1520 # OSF1 and SCO ODT 3.0 have their own names for install.
1521 # Don't use installbsd from OSF since it installs stuff as root
1523 for ac_prog
in ginstall scoinst
install; do
1524 for ac_exec_ext
in '' $ac_executable_extensions; do
1525 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1526 if test $ac_prog = install &&
1527 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1528 # AIX install. It has an incompatible calling convention.
1530 elif test $ac_prog = install &&
1531 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1532 # program-specific install script used by HP pwplus--don't use.
1535 rm -rf conftest.one conftest.two conftest.dir
1536 echo one
> conftest.one
1537 echo two
> conftest.two
1539 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1540 test -s conftest.one
&& test -s conftest.two
&&
1541 test -s conftest.dir
/conftest.one
&&
1542 test -s conftest.dir
/conftest.two
1544 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1555 rm -rf conftest.one conftest.two conftest.dir
1558 if test "${ac_cv_path_install+set}" = set; then
1559 INSTALL
=$ac_cv_path_install
1561 # As a last resort, use the slow shell script. Don't cache a
1562 # value for INSTALL within a source directory, because that will
1563 # break other packages using the cache if that directory is
1564 # removed, or if the value is a relative name.
1565 INSTALL
=$ac_install_sh
1568 echo "$as_me:$LINENO: result: $INSTALL" >&5
1569 echo "${ECHO_T}$INSTALL" >&6
1571 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1572 # It thinks the first close brace ends the variable substitution.
1573 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1575 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1577 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1580 ac_cpp
='$CPP $CPPFLAGS'
1581 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1582 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1583 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1584 if test -n "$ac_tool_prefix"; then
1585 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1586 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1587 echo "$as_me:$LINENO: checking for $ac_word" >&5
1588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1589 if test "${ac_cv_prog_CC+set}" = set; then
1590 echo $ECHO_N "(cached) $ECHO_C" >&6
1592 if test -n "$CC"; then
1593 ac_cv_prog_CC
="$CC" # Let the user override the test.
1595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1599 test -z "$as_dir" && as_dir
=.
1600 for ac_exec_ext
in '' $ac_executable_extensions; do
1601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1602 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1612 if test -n "$CC"; then
1613 echo "$as_me:$LINENO: result: $CC" >&5
1614 echo "${ECHO_T}$CC" >&6
1616 echo "$as_me:$LINENO: result: no" >&5
1617 echo "${ECHO_T}no" >&6
1621 if test -z "$ac_cv_prog_CC"; then
1623 # Extract the first word of "gcc", so it can be a program name with args.
1624 set dummy gcc
; ac_word
=$2
1625 echo "$as_me:$LINENO: checking for $ac_word" >&5
1626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 if test -n "$ac_ct_CC"; then
1631 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1637 test -z "$as_dir" && as_dir
=.
1638 for ac_exec_ext
in '' $ac_executable_extensions; do
1639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1640 ac_cv_prog_ac_ct_CC
="gcc"
1641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1649 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1650 if test -n "$ac_ct_CC"; then
1651 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1652 echo "${ECHO_T}$ac_ct_CC" >&6
1654 echo "$as_me:$LINENO: result: no" >&5
1655 echo "${ECHO_T}no" >&6
1663 if test -z "$CC"; then
1664 if test -n "$ac_tool_prefix"; then
1665 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1666 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1667 echo "$as_me:$LINENO: checking for $ac_word" >&5
1668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1669 if test "${ac_cv_prog_CC+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1672 if test -n "$CC"; then
1673 ac_cv_prog_CC
="$CC" # Let the user override the test.
1675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1679 test -z "$as_dir" && as_dir
=.
1680 for ac_exec_ext
in '' $ac_executable_extensions; do
1681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1682 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1692 if test -n "$CC"; then
1693 echo "$as_me:$LINENO: result: $CC" >&5
1694 echo "${ECHO_T}$CC" >&6
1696 echo "$as_me:$LINENO: result: no" >&5
1697 echo "${ECHO_T}no" >&6
1701 if test -z "$ac_cv_prog_CC"; then
1703 # Extract the first word of "cc", so it can be a program name with args.
1704 set dummy cc
; ac_word
=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 if test -n "$ac_ct_CC"; then
1711 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1717 test -z "$as_dir" && as_dir
=.
1718 for ac_exec_ext
in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720 ac_cv_prog_ac_ct_CC
="cc"
1721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1729 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1730 if test -n "$ac_ct_CC"; then
1731 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1732 echo "${ECHO_T}$ac_ct_CC" >&6
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1744 if test -z "$CC"; then
1745 # Extract the first word of "cc", so it can be a program name with args.
1746 set dummy cc
; ac_word
=$2
1747 echo "$as_me:$LINENO: checking for $ac_word" >&5
1748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1749 if test "${ac_cv_prog_CC+set}" = set; then
1750 echo $ECHO_N "(cached) $ECHO_C" >&6
1752 if test -n "$CC"; then
1753 ac_cv_prog_CC
="$CC" # Let the user override the test.
1756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir
=.
1761 for ac_exec_ext
in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1764 ac_prog_rejected
=yes
1768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1774 if test $ac_prog_rejected = yes; then
1775 # We found a bogon in the path, so make sure we never use it.
1776 set dummy
$ac_cv_prog_CC
1778 if test $# != 0; then
1779 # We chose a different compiler from the bogus one.
1780 # However, it has the same basename, so the bogon will be chosen
1781 # first if we set CC to just the basename; use the full file name.
1783 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1789 if test -n "$CC"; then
1790 echo "$as_me:$LINENO: result: $CC" >&5
1791 echo "${ECHO_T}$CC" >&6
1793 echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6
1798 if test -z "$CC"; then
1799 if test -n "$ac_tool_prefix"; then
1802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1803 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1804 echo "$as_me:$LINENO: checking for $ac_word" >&5
1805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1806 if test "${ac_cv_prog_CC+set}" = set; then
1807 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 if test -n "$CC"; then
1810 ac_cv_prog_CC
="$CC" # Let the user override the test.
1812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1816 test -z "$as_dir" && as_dir
=.
1817 for ac_exec_ext
in '' $ac_executable_extensions; do
1818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1819 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1829 if test -n "$CC"; then
1830 echo "$as_me:$LINENO: result: $CC" >&5
1831 echo "${ECHO_T}$CC" >&6
1833 echo "$as_me:$LINENO: result: no" >&5
1834 echo "${ECHO_T}no" >&6
1837 test -n "$CC" && break
1840 if test -z "$CC"; then
1844 # Extract the first word of "$ac_prog", so it can be a program name with args.
1845 set dummy
$ac_prog; ac_word
=$2
1846 echo "$as_me:$LINENO: checking for $ac_word" >&5
1847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1848 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1849 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 if test -n "$ac_ct_CC"; then
1852 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1858 test -z "$as_dir" && as_dir
=.
1859 for ac_exec_ext
in '' $ac_executable_extensions; do
1860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1861 ac_cv_prog_ac_ct_CC
="$ac_prog"
1862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1870 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1871 if test -n "$ac_ct_CC"; then
1872 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1873 echo "${ECHO_T}$ac_ct_CC" >&6
1875 echo "$as_me:$LINENO: result: no" >&5
1876 echo "${ECHO_T}no" >&6
1879 test -n "$ac_ct_CC" && break
1888 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1889 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1890 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1891 See \`config.log' for more details." >&5
1892 echo "$as_me: error: no acceptable C compiler found in \$PATH
1893 See \`config.log' for more details." >&2;}
1894 { (exit 1); exit 1; }; }; }
1896 # Provide some information about the compiler.
1897 echo "$as_me:$LINENO:" \
1898 "checking for C compiler version" >&5
1899 ac_compiler
=`set X $ac_compile; echo $2`
1900 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1901 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1904 (exit $ac_status); }
1905 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1906 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1909 (exit $ac_status); }
1910 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1911 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1914 (exit $ac_status); }
1916 cat >conftest.
$ac_ext <<_ACEOF
1919 cat confdefs.h
>>conftest.
$ac_ext
1920 cat >>conftest.
$ac_ext <<_ACEOF
1921 /* end confdefs.h. */
1931 ac_clean_files_save
=$ac_clean_files
1932 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1933 # Try to create an executable without -o first, disregard a.out.
1934 # It will help us diagnose broken compilers, and finding out an intuition
1936 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1937 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1938 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1939 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1940 (eval $ac_link_default) 2>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; then
1944 # Find the output, starting from the most likely. This scheme is
1945 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1948 # Be careful to initialize this variable, since it used to be cached.
1949 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1951 # b.out is created by i960 compilers.
1952 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1954 test -f "$ac_file" ||
continue
1956 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1959 # This is the source file.
1962 # We found the default executable, but exeext='' is most
1966 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1967 # FIXME: I believe we export ac_cv_exeext for Libtool,
1968 # but it would be cool to find out if it's true. Does anybody
1969 # maintain Libtool? --akim.
1977 echo "$as_me: failed program was:" >&5
1978 sed 's/^/| /' conftest.
$ac_ext >&5
1980 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1981 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1982 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1983 See \`config.log' for more details." >&5
1984 echo "$as_me: error: C compiler cannot create executables
1985 See \`config.log' for more details." >&2;}
1986 { (exit 77); exit 77; }; }; }
1989 ac_exeext
=$ac_cv_exeext
1990 echo "$as_me:$LINENO: result: $ac_file" >&5
1991 echo "${ECHO_T}$ac_file" >&6
1993 # Check the compiler produces executables we can run. If not, either
1994 # the compiler is broken, or we cross compile.
1995 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1996 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1997 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1998 # If not cross compiling, check that we can run a simple program.
1999 if test "$cross_compiling" != yes; then
2000 if { ac_try
='./$ac_file'
2001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 (exit $ac_status); }; }; then
2008 if test "$cross_compiling" = maybe
; then
2011 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2012 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2013 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2014 If you meant to cross compile, use \`--host'.
2015 See \`config.log' for more details." >&5
2016 echo "$as_me: error: cannot run C compiled programs.
2017 If you meant to cross compile, use \`--host'.
2018 See \`config.log' for more details." >&2;}
2019 { (exit 1); exit 1; }; }; }
2023 echo "$as_me:$LINENO: result: yes" >&5
2024 echo "${ECHO_T}yes" >&6
2026 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2027 ac_clean_files
=$ac_clean_files_save
2028 # Check the compiler produces executables we can run. If not, either
2029 # the compiler is broken, or we cross compile.
2030 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2031 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2032 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2033 echo "${ECHO_T}$cross_compiling" >&6
2035 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2036 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2038 (eval $ac_link) 2>&5
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); }; then
2042 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2043 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2044 # work properly (i.e., refer to `conftest.exe'), while it won't with
2046 for ac_file
in conftest.exe conftest conftest.
*; do
2047 test -f "$ac_file" ||
continue
2049 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2050 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2057 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2058 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2059 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2060 See \`config.log' for more details." >&5
2061 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2062 See \`config.log' for more details." >&2;}
2063 { (exit 1); exit 1; }; }; }
2066 rm -f conftest
$ac_cv_exeext
2067 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2068 echo "${ECHO_T}$ac_cv_exeext" >&6
2070 rm -f conftest.
$ac_ext
2071 EXEEXT
=$ac_cv_exeext
2073 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2074 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2075 if test "${ac_cv_objext+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 cat >conftest.
$ac_ext <<_ACEOF
2081 cat confdefs.h
>>conftest.
$ac_ext
2082 cat >>conftest.
$ac_ext <<_ACEOF
2083 /* end confdefs.h. */
2093 rm -f conftest.o conftest.obj
2094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2095 (eval $ac_compile) 2>&5
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); }; then
2099 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2101 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2102 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2107 echo "$as_me: failed program was:" >&5
2108 sed 's/^/| /' conftest.
$ac_ext >&5
2110 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2111 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2112 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2113 See \`config.log' for more details." >&5
2114 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2115 See \`config.log' for more details." >&2;}
2116 { (exit 1); exit 1; }; }; }
2119 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2121 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2122 echo "${ECHO_T}$ac_cv_objext" >&6
2123 OBJEXT
=$ac_cv_objext
2125 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2126 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2127 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 cat >conftest.
$ac_ext <<_ACEOF
2133 cat confdefs.h
>>conftest.
$ac_ext
2134 cat >>conftest.
$ac_ext <<_ACEOF
2135 /* end confdefs.h. */
2148 rm -f conftest.
$ac_objext
2149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2150 (eval $ac_compile) 2>conftest.er1
2152 grep -v '^ *+' conftest.er1
>conftest.err
2154 cat conftest.err
>&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); } &&
2157 { ac_try
='test -z "$ac_c_werror_flag"
2158 || test ! -s conftest.err'
2159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163 (exit $ac_status); }; } &&
2164 { ac_try
='test -s conftest.$ac_objext'
2165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); }; }; then
2172 echo "$as_me: failed program was:" >&5
2173 sed 's/^/| /' conftest.
$ac_ext >&5
2177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2178 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2181 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2182 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2183 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2184 ac_test_CFLAGS
=${CFLAGS+set}
2185 ac_save_CFLAGS
=$CFLAGS
2187 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2188 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2189 if test "${ac_cv_prog_cc_g+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 cat >conftest.
$ac_ext <<_ACEOF
2195 cat confdefs.h
>>conftest.
$ac_ext
2196 cat >>conftest.
$ac_ext <<_ACEOF
2197 /* end confdefs.h. */
2207 rm -f conftest.
$ac_objext
2208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2209 (eval $ac_compile) 2>conftest.er1
2211 grep -v '^ *+' conftest.er1
>conftest.err
2213 cat conftest.err
>&5
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); } &&
2216 { ac_try
='test -z "$ac_c_werror_flag"
2217 || test ! -s conftest.err'
2218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222 (exit $ac_status); }; } &&
2223 { ac_try
='test -s conftest.$ac_objext'
2224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); }; }; then
2231 echo "$as_me: failed program was:" >&5
2232 sed 's/^/| /' conftest.
$ac_ext >&5
2236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2238 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2239 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2240 if test "$ac_test_CFLAGS" = set; then
2241 CFLAGS
=$ac_save_CFLAGS
2242 elif test $ac_cv_prog_cc_g = yes; then
2243 if test "$GCC" = yes; then
2249 if test "$GCC" = yes; then
2255 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2256 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2257 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 ac_cv_prog_cc_stdc
=no
2262 cat >conftest.
$ac_ext <<_ACEOF
2265 cat confdefs.h
>>conftest.
$ac_ext
2266 cat >>conftest.
$ac_ext <<_ACEOF
2267 /* end confdefs.h. */
2270 #include <sys/types.h>
2271 #include <sys/stat.h>
2272 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2273 struct buf { int x; };
2274 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2275 static char *e (p, i)
2281 static char *f (char * (*g) (char **, int), char **p, ...)
2286 s = g (p, va_arg (v,int));
2291 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2292 function prototypes and stuff, but not '\xHH' hex character constants.
2293 These don't provoke an error unfortunately, instead are silently treated
2294 as 'x'. The following induces an error, until -std1 is added to get
2295 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2296 array size at least. It's necessary to write '\x00'==0 to get something
2297 that's true only with -std1. */
2298 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2300 int test (int i, double x);
2301 struct s1 {int (*f) (int a);};
2302 struct s2 {int (*f) (double a);};
2303 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2309 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2314 # Don't try gcc -ansi; that turns off useful extensions and
2315 # breaks some systems' header files.
2316 # AIX -qlanglvl=ansi
2317 # Ultrix and OSF/1 -std1
2318 # HP-UX 10.20 and later -Ae
2319 # HP-UX older versions -Aa -D_HPUX_SOURCE
2320 # SVR4 -Xc -D__EXTENSIONS__
2321 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2323 CC
="$ac_save_CC $ac_arg"
2324 rm -f conftest.
$ac_objext
2325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2326 (eval $ac_compile) 2>conftest.er1
2328 grep -v '^ *+' conftest.er1
>conftest.err
2330 cat conftest.err
>&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); } &&
2333 { ac_try
='test -z "$ac_c_werror_flag"
2334 || test ! -s conftest.err'
2335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); }; } &&
2340 { ac_try
='test -s conftest.$ac_objext'
2341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }; }; then
2346 ac_cv_prog_cc_stdc
=$ac_arg
2349 echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.
$ac_ext >&5
2353 rm -f conftest.err conftest.
$ac_objext
2355 rm -f conftest.
$ac_ext conftest.
$ac_objext
2360 case "x$ac_cv_prog_cc_stdc" in
2362 echo "$as_me:$LINENO: result: none needed" >&5
2363 echo "${ECHO_T}none needed" >&6 ;;
2365 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2366 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2367 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2370 # Some people use a C++ compiler to compile C. Since we use `exit',
2371 # in C++ we need to declare it. In case someone uses the same compiler
2372 # for both compiling C and C++ we need to have the C++ compiler decide
2373 # the declaration of exit, since it's the most demanding environment.
2374 cat >conftest.
$ac_ext <<_ACEOF
2379 rm -f conftest.
$ac_objext
2380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2381 (eval $ac_compile) 2>conftest.er1
2383 grep -v '^ *+' conftest.er1
>conftest.err
2385 cat conftest.err
>&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); } &&
2388 { ac_try
='test -z "$ac_c_werror_flag"
2389 || test ! -s conftest.err'
2390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }; } &&
2395 { ac_try
='test -s conftest.$ac_objext'
2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }; }; then
2401 for ac_declaration
in \
2403 'extern "C" void std::exit (int) throw (); using std::exit;' \
2404 'extern "C" void std::exit (int); using std::exit;' \
2405 'extern "C" void exit (int) throw ();' \
2406 'extern "C" void exit (int);' \
2409 cat >conftest.
$ac_ext <<_ACEOF
2412 cat confdefs.h
>>conftest.
$ac_ext
2413 cat >>conftest.
$ac_ext <<_ACEOF
2414 /* end confdefs.h. */
2425 rm -f conftest.
$ac_objext
2426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2427 (eval $ac_compile) 2>conftest.er1
2429 grep -v '^ *+' conftest.er1
>conftest.err
2431 cat conftest.err
>&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); } &&
2434 { ac_try
='test -z "$ac_c_werror_flag"
2435 || test ! -s conftest.err'
2436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }; } &&
2441 { ac_try
='test -s conftest.$ac_objext'
2442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; }; then
2449 echo "$as_me: failed program was:" >&5
2450 sed 's/^/| /' conftest.
$ac_ext >&5
2454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2455 cat >conftest.
$ac_ext <<_ACEOF
2458 cat confdefs.h
>>conftest.
$ac_ext
2459 cat >>conftest.
$ac_ext <<_ACEOF
2460 /* end confdefs.h. */
2470 rm -f conftest.
$ac_objext
2471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2472 (eval $ac_compile) 2>conftest.er1
2474 grep -v '^ *+' conftest.er1
>conftest.err
2476 cat conftest.err
>&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); } &&
2479 { ac_try
='test -z "$ac_c_werror_flag"
2480 || test ! -s conftest.err'
2481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }; } &&
2486 { ac_try
='test -s conftest.$ac_objext'
2487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; }; then
2494 echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.
$ac_ext >&5
2498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2501 if test -n "$ac_declaration"; then
2502 echo '#ifdef __cplusplus' >>confdefs.h
2503 echo $ac_declaration >>confdefs.h
2504 echo '#endif' >>confdefs.h
2508 echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.
$ac_ext >&5
2512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2514 ac_cpp
='$CPP $CPPFLAGS'
2515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2519 if test -n "$ac_tool_prefix"; then
2520 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2521 set dummy
${ac_tool_prefix}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_RANLIB+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 if test -n "$RANLIB"; then
2528 ac_cv_prog_RANLIB
="$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_RANLIB
="${ac_tool_prefix}ranlib"
2538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 RANLIB
=$ac_cv_prog_RANLIB
2547 if test -n "$RANLIB"; then
2548 echo "$as_me:$LINENO: result: $RANLIB" >&5
2549 echo "${ECHO_T}$RANLIB" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2556 if test -z "$ac_cv_prog_RANLIB"; then
2557 ac_ct_RANLIB
=$RANLIB
2558 # Extract the first word of "ranlib", so it can be a program name with args.
2559 set dummy ranlib
; ac_word
=$2
2560 echo "$as_me:$LINENO: checking for $ac_word" >&5
2561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2562 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 if test -n "$ac_ct_RANLIB"; then
2566 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir
=.
2573 for ac_exec_ext
in '' $ac_executable_extensions; do
2574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2575 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2585 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2586 if test -n "$ac_ct_RANLIB"; then
2587 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2588 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2590 echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6
2594 RANLIB
=$ac_ct_RANLIB
2596 RANLIB
="$ac_cv_prog_RANLIB"
2600 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2601 for ac_prog
in aclocal
2603 # Extract the first word of "$ac_prog", so it can be a program name with args.
2604 set dummy
$ac_prog; ac_word
=$2
2605 echo "$as_me:$LINENO: checking for $ac_word" >&5
2606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2607 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 if test -n "$ACLOCAL"; then
2611 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
2613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2617 test -z "$as_dir" && as_dir
=.
2618 for ac_exec_ext
in '' $ac_executable_extensions; do
2619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2620 ac_cv_prog_ACLOCAL
="$ac_prog"
2621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 ACLOCAL
=$ac_cv_prog_ACLOCAL
2630 if test -n "$ACLOCAL"; then
2631 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
2632 echo "${ECHO_T}$ACLOCAL" >&6
2634 echo "$as_me:$LINENO: result: no" >&5
2635 echo "${ECHO_T}no" >&6
2638 test -n "$ACLOCAL" && break
2640 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
2642 for ac_prog
in autoconf
2644 # Extract the first word of "$ac_prog", so it can be a program name with args.
2645 set dummy
$ac_prog; ac_word
=$2
2646 echo "$as_me:$LINENO: checking for $ac_word" >&5
2647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2648 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2649 echo $ECHO_N "(cached) $ECHO_C" >&6
2651 if test -n "$AUTOCONF"; then
2652 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
2654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir
=.
2659 for ac_exec_ext
in '' $ac_executable_extensions; do
2660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2661 ac_cv_prog_AUTOCONF
="$ac_prog"
2662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 AUTOCONF
=$ac_cv_prog_AUTOCONF
2671 if test -n "$AUTOCONF"; then
2672 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2673 echo "${ECHO_T}$AUTOCONF" >&6
2675 echo "$as_me:$LINENO: result: no" >&5
2676 echo "${ECHO_T}no" >&6
2679 test -n "$AUTOCONF" && break
2681 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
2683 for ac_prog
in autoheader
2685 # Extract the first word of "$ac_prog", so it can be a program name with args.
2686 set dummy
$ac_prog; ac_word
=$2
2687 echo "$as_me:$LINENO: checking for $ac_word" >&5
2688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2689 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 if test -n "$AUTOHEADER"; then
2693 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
2695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir
=.
2700 for ac_exec_ext
in '' $ac_executable_extensions; do
2701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2702 ac_cv_prog_AUTOHEADER
="$ac_prog"
2703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
2712 if test -n "$AUTOHEADER"; then
2713 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
2714 echo "${ECHO_T}$AUTOHEADER" >&6
2716 echo "$as_me:$LINENO: result: no" >&5
2717 echo "${ECHO_T}no" >&6
2720 test -n "$AUTOHEADER" && break
2722 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
2725 # Figure out what compiler warnings we can enable.
2726 # See config/warnings.m4 for details.
2730 save_CFLAGS
="$CFLAGS"
2731 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
2732 -Wmissing-prototypes -Wold-style-definition \
2733 -Wmissing-format-attribute; do
2734 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
2736 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
2737 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
2738 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 cat >conftest.
$ac_ext <<_ACEOF
2745 cat confdefs.h
>>conftest.
$ac_ext
2746 cat >>conftest.
$ac_ext <<_ACEOF
2747 /* end confdefs.h. */
2757 rm -f conftest.
$ac_objext
2758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2759 (eval $ac_compile) 2>conftest.er1
2761 grep -v '^ *+' conftest.er1
>conftest.err
2763 cat conftest.err
>&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } &&
2766 { ac_try
='test -z "$ac_c_werror_flag"
2767 || test ! -s conftest.err'
2768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }; } &&
2773 { ac_try
='test -s conftest.$ac_objext'
2774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); }; }; then
2779 eval "$as_acx_Woption=yes"
2781 echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.
$ac_ext >&5
2784 eval "$as_acx_Woption=no"
2786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2789 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
2790 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
2791 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
2792 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
2796 CFLAGS
="$save_CFLAGS"
2799 if test "$GCC" = yes; then
2800 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
2801 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
2802 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
2803 echo $ECHO_N "(cached) $ECHO_C" >&6
2805 save_CFLAGS
="$CFLAGS"
2806 CFLAGS
="-pedantic -Wno-long-long"
2807 cat >conftest.
$ac_ext <<_ACEOF
2810 cat confdefs.h
>>conftest.
$ac_ext
2811 cat >>conftest.
$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2822 rm -f conftest.
$ac_objext
2823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2824 (eval $ac_compile) 2>conftest.er1
2826 grep -v '^ *+' conftest.er1
>conftest.err
2828 cat conftest.err
>&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } &&
2831 { ac_try
='test -z "$ac_c_werror_flag"
2832 || test ! -s conftest.err'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; } &&
2838 { ac_try
='test -s conftest.$ac_objext'
2839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; }; then
2844 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
2846 echo "$as_me: failed program was:" >&5
2847 sed 's/^/| /' conftest.
$ac_ext >&5
2849 acx_cv_prog_cc_pedantic__Wno_long_long
=no
2851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2852 CFLAGS
="$save_CFLAGS"
2854 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
2855 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
2856 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
2857 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
2865 # Only enable with --enable-werror-always until existing warnings are
2868 # Check whether --enable-werror-always or --disable-werror-always was given.
2869 if test "${enable_werror_always+set}" = set; then
2870 enableval
="$enable_werror_always"
2873 enable_werror_always
=no
2875 if test $enable_werror_always = yes; then
2876 WERROR
="$WERROR${WERROR:+ }-Werror"
2882 # Dependency checking.
2883 rm -rf .tst
2>/dev
/null
2884 mkdir .tst
2>/dev
/null
2885 if test -d .tst
; then
2890 rmdir .tst
2>/dev
/null
2892 DEPDIR
="${am__leading_dot}deps"
2894 ac_config_commands
="$ac_config_commands depdir"
2897 depcc
="$CC" am_compiler_list
=
2899 am_depcomp
=$ac_aux_dir/depcomp
2900 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2901 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2902 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2903 echo $ECHO_N "(cached) $ECHO_C" >&6
2905 if test -f "$am_depcomp"; then
2906 # We make a subdir and do the tests there. Otherwise we can end up
2907 # making bogus files that we don't know about and never remove. For
2908 # instance it was reported that on HP-UX the gcc test will end up
2909 # making a dummy file named `D' -- because `-MD' means `put the output
2912 # Copy depcomp to subdir because otherwise we won't find it if we're
2913 # using a relative directory.
2914 cp "$am_depcomp" conftest.dir
2916 # We will build objects and dependencies in a subdirectory because
2917 # it helps to detect inapplicable dependency modes. For instance
2918 # both Tru64's cc and ICC support -MD to output dependencies as a
2919 # side effect of compilation, but ICC will put the dependencies in
2920 # the current directory while Tru64 will put them in the object
2924 am_cv_CC_dependencies_compiler_type
=none
2925 if test "$am_compiler_list" = ""; then
2926 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2928 for depmode
in $am_compiler_list; do
2929 if test $depmode = none
; then break; fi
2931 echo "$as_me:$LINENO: trying $depmode" >&5
2932 # Setup a source with many dependencies, because some compilers
2933 # like to wrap large dependency lists on column 80 (with \), and
2934 # we should not choose a depcomp mode which is confused by this.
2936 # We need to recreate these files for each test, as the compiler may
2937 # overwrite some of them when testing with obscure command lines.
2938 # This happens at least with the AIX C compiler.
2940 for i
in 1 2 3 4 5 6; do
2941 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2942 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2943 # Solaris 8's {/usr,}/bin/sh.
2944 touch sub
/conftst
$i.h
2946 echo "include sub/conftest.Po" > confmf
2948 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2949 # mode. It turns out that the SunPro C++ compiler does not properly
2950 # handle `-M -o', and we need to detect this.
2951 depcmd
="depmode=$depmode \
2952 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2953 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2954 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
2955 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
2956 if env
$depcmd > conftest.err
2>&1 &&
2957 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
2958 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
2959 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
2960 # icc doesn't choke on unknown options, it will just issue warnings
2961 # or remarks (even with -Werror). So we grep stderr for any message
2962 # that says an option was ignored or not supported.
2963 # When given -MP, icc 7.0 and 7.1 complain thusly:
2964 # icc: Command line warning: ignoring option '-M'; no argument required
2965 # The diagnosis changed in icc 8.0:
2966 # icc: Command line remark: option '-MP' not supported
2967 if (grep 'ignoring option' conftest.err ||
2968 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2969 am_cv_CC_dependencies_compiler_type
=$depmode
2970 echo "$as_me:$LINENO: success" >&5
2974 echo "$as_me:$LINENO: failure, diagnostics are:" >&5
2975 sed -e 's/^/| /' < conftest.err
>&5
2981 am_cv_CC_dependencies_compiler_type
=none
2985 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2986 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2987 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
2988 then { { echo "$as_me:$LINENO: error: no usable dependency style found" >&5
2989 echo "$as_me: error: no usable dependency style found" >&2;}
2990 { (exit 1); exit 1; }; }
2991 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2996 # Checks for header files.
2997 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
2998 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
2999 if test "${ac_cv_header_time+set}" = set; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6
3002 cat >conftest.
$ac_ext <<_ACEOF
3005 cat confdefs.h
>>conftest.
$ac_ext
3006 cat >>conftest.
$ac_ext <<_ACEOF
3007 /* end confdefs.h. */
3008 #include <sys/types.h>
3009 #include <sys/time.h>
3015 if ((struct tm *) 0)
3021 rm -f conftest.
$ac_objext
3022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3023 (eval $ac_compile) 2>conftest.er1
3025 grep -v '^ *+' conftest.er1
>conftest.err
3027 cat conftest.err
>&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); } &&
3030 { ac_try
='test -z "$ac_c_werror_flag"
3031 || test ! -s conftest.err'
3032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); }; } &&
3037 { ac_try
='test -s conftest.$ac_objext'
3038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042 (exit $ac_status); }; }; then
3043 ac_cv_header_time
=yes
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.
$ac_ext >&5
3048 ac_cv_header_time
=no
3050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3052 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3053 echo "${ECHO_T}$ac_cv_header_time" >&6
3054 if test $ac_cv_header_time = yes; then
3056 cat >>confdefs.h
<<\_ACEOF
3057 #define TIME_WITH_SYS_TIME 1
3062 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
3063 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
3064 if test "${gcc_cv_header_string+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 cat >conftest.
$ac_ext <<_ACEOF
3070 cat confdefs.h
>>conftest.
$ac_ext
3071 cat >>conftest.
$ac_ext <<_ACEOF
3072 /* end confdefs.h. */
3074 #include <strings.h>
3083 rm -f conftest.
$ac_objext
3084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3085 (eval $ac_compile) 2>conftest.er1
3087 grep -v '^ *+' conftest.er1
>conftest.err
3089 cat conftest.err
>&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); } &&
3092 { ac_try
='test -z "$ac_c_werror_flag"
3093 || test ! -s conftest.err'
3094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); }; } &&
3099 { ac_try
='test -s conftest.$ac_objext'
3100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }; }; then
3105 gcc_cv_header_string
=yes
3107 echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.
$ac_ext >&5
3110 gcc_cv_header_string
=no
3112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3114 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
3115 echo "${ECHO_T}$gcc_cv_header_string" >&6
3116 if test $gcc_cv_header_string = yes; then
3118 cat >>confdefs.h
<<\_ACEOF
3119 #define STRING_WITH_STRINGS 1
3125 ac_cpp
='$CPP $CPPFLAGS'
3126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3129 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3130 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3131 # On Suns, sometimes $CPP names a directory.
3132 if test -n "$CPP" && test -d "$CPP"; then
3135 if test -z "$CPP"; then
3136 if test "${ac_cv_prog_CPP+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 # Double quotes because CPP needs to be expanded
3140 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3143 for ac_c_preproc_warn_flag
in '' yes
3145 # Use a header file that comes with gcc, so configuring glibc
3146 # with a fresh cross-compiler works.
3147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3148 # <limits.h> exists even on freestanding compilers.
3149 # On the NeXT, cc -E runs the code through the compiler's parser,
3150 # not just through cpp. "Syntax error" is here to catch this case.
3151 cat >conftest.
$ac_ext <<_ACEOF
3154 cat confdefs.h
>>conftest.
$ac_ext
3155 cat >>conftest.
$ac_ext <<_ACEOF
3156 /* end confdefs.h. */
3158 # include <limits.h>
3160 # include <assert.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
3184 echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.
$ac_ext >&5
3187 # Broken: fails on valid input.
3190 rm -f conftest.err conftest.
$ac_ext
3192 # OK, works on sane cases. Now check whether non-existent headers
3193 # can be detected and how.
3194 cat >conftest.
$ac_ext <<_ACEOF
3197 cat confdefs.h
>>conftest.
$ac_ext
3198 cat >>conftest.
$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3200 #include <ac_nonexistent.h>
3202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3203 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3205 grep -v '^ *+' conftest.er1
>conftest.err
3207 cat conftest.err
>&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); } >/dev
/null
; then
3210 if test -s conftest.err
; then
3211 ac_cpp_err
=$ac_c_preproc_warn_flag
3212 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3219 if test -z "$ac_cpp_err"; then
3220 # Broken: success on invalid input.
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.
$ac_ext >&5
3226 # Passes both tests.
3230 rm -f conftest.err conftest.
$ac_ext
3233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3234 rm -f conftest.err conftest.
$ac_ext
3235 if $ac_preproc_ok; then
3247 echo "$as_me:$LINENO: result: $CPP" >&5
3248 echo "${ECHO_T}$CPP" >&6
3250 for ac_c_preproc_warn_flag
in '' yes
3252 # Use a header file that comes with gcc, so configuring glibc
3253 # with a fresh cross-compiler works.
3254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3255 # <limits.h> exists even on freestanding compilers.
3256 # On the NeXT, cc -E runs the code through the compiler's parser,
3257 # not just through cpp. "Syntax error" is here to catch this case.
3258 cat >conftest.
$ac_ext <<_ACEOF
3261 cat confdefs.h
>>conftest.
$ac_ext
3262 cat >>conftest.
$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3265 # include <limits.h>
3267 # include <assert.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
3291 echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.
$ac_ext >&5
3294 # Broken: fails on valid input.
3297 rm -f conftest.err conftest.
$ac_ext
3299 # OK, works on sane cases. Now check whether non-existent headers
3300 # can be detected and how.
3301 cat >conftest.
$ac_ext <<_ACEOF
3304 cat confdefs.h
>>conftest.
$ac_ext
3305 cat >>conftest.
$ac_ext <<_ACEOF
3306 /* end confdefs.h. */
3307 #include <ac_nonexistent.h>
3309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3312 grep -v '^ *+' conftest.er1
>conftest.err
3314 cat conftest.err
>&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } >/dev
/null
; then
3317 if test -s conftest.err
; then
3318 ac_cpp_err
=$ac_c_preproc_warn_flag
3319 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3326 if test -z "$ac_cpp_err"; then
3327 # Broken: success on invalid input.
3330 echo "$as_me: failed program was:" >&5
3331 sed 's/^/| /' conftest.
$ac_ext >&5
3333 # Passes both tests.
3337 rm -f conftest.err conftest.
$ac_ext
3340 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3341 rm -f conftest.err conftest.
$ac_ext
3342 if $ac_preproc_ok; then
3345 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3346 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3348 See \`config.log' for more details." >&5
3349 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3350 See \`config.log' for more details." >&2;}
3351 { (exit 1); exit 1; }; }; }
3355 ac_cpp
='$CPP $CPPFLAGS'
3356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3361 echo "$as_me:$LINENO: checking for egrep" >&5
3362 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3363 if test "${ac_cv_prog_egrep+set}" = set; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3367 then ac_cv_prog_egrep
='grep -E'
3368 else ac_cv_prog_egrep
='egrep'
3371 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3372 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3373 EGREP
=$ac_cv_prog_egrep
3376 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3377 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3378 if test "${ac_cv_header_stdc+set}" = set; then
3379 echo $ECHO_N "(cached) $ECHO_C" >&6
3381 cat >conftest.
$ac_ext <<_ACEOF
3384 cat confdefs.h
>>conftest.
$ac_ext
3385 cat >>conftest.
$ac_ext <<_ACEOF
3386 /* end confdefs.h. */
3400 rm -f conftest.
$ac_objext
3401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3402 (eval $ac_compile) 2>conftest.er1
3404 grep -v '^ *+' conftest.er1
>conftest.err
3406 cat conftest.err
>&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } &&
3409 { ac_try
='test -z "$ac_c_werror_flag"
3410 || test ! -s conftest.err'
3411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); }; } &&
3416 { ac_try
='test -s conftest.$ac_objext'
3417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); }; }; then
3422 ac_cv_header_stdc
=yes
3424 echo "$as_me: failed program was:" >&5
3425 sed 's/^/| /' conftest.
$ac_ext >&5
3427 ac_cv_header_stdc
=no
3429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3431 if test $ac_cv_header_stdc = yes; then
3432 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3433 cat >conftest.
$ac_ext <<_ACEOF
3436 cat confdefs.h
>>conftest.
$ac_ext
3437 cat >>conftest.
$ac_ext <<_ACEOF
3438 /* end confdefs.h. */
3442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3443 $EGREP "memchr" >/dev
/null
2>&1; then
3446 ac_cv_header_stdc
=no
3452 if test $ac_cv_header_stdc = yes; then
3453 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3454 cat >conftest.
$ac_ext <<_ACEOF
3457 cat confdefs.h
>>conftest.
$ac_ext
3458 cat >>conftest.
$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3464 $EGREP "free" >/dev
/null
2>&1; then
3467 ac_cv_header_stdc
=no
3473 if test $ac_cv_header_stdc = yes; then
3474 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3475 if test "$cross_compiling" = yes; then
3478 cat >conftest.
$ac_ext <<_ACEOF
3481 cat confdefs.h
>>conftest.
$ac_ext
3482 cat >>conftest.
$ac_ext <<_ACEOF
3483 /* end confdefs.h. */
3485 #if ((' ' & 0x0FF) == 0x020)
3486 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3487 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3489 # define ISLOWER(c) \
3490 (('a' <= (c) && (c) <= 'i') \
3491 || ('j' <= (c) && (c) <= 'r') \
3492 || ('s' <= (c) && (c) <= 'z'))
3493 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3496 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3501 for (i = 0; i < 256; i++)
3502 if (XOR (islower (i), ISLOWER (i))
3503 || toupper (i) != TOUPPER (i))
3508 rm -f conftest
$ac_exeext
3509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3510 (eval $ac_link) 2>&5
3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); }; }; then
3521 echo "$as_me: program exited with status $ac_status" >&5
3522 echo "$as_me: failed program was:" >&5
3523 sed 's/^/| /' conftest.
$ac_ext >&5
3526 ac_cv_header_stdc
=no
3528 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3532 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3533 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3534 if test $ac_cv_header_stdc = yes; then
3536 cat >>confdefs.h
<<\_ACEOF
3537 #define STDC_HEADERS 1
3542 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3552 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3553 inttypes.h stdint.h unistd.h
3555 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3556 echo "$as_me:$LINENO: checking for $ac_header" >&5
3557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 cat >conftest.
$ac_ext <<_ACEOF
3564 cat confdefs.h
>>conftest.
$ac_ext
3565 cat >>conftest.
$ac_ext <<_ACEOF
3566 /* end confdefs.h. */
3567 $ac_includes_default
3569 #include <$ac_header>
3571 rm -f conftest.
$ac_objext
3572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3573 (eval $ac_compile) 2>conftest.er1
3575 grep -v '^ *+' conftest.er1
>conftest.err
3577 cat conftest.err
>&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } &&
3580 { ac_try
='test -z "$ac_c_werror_flag"
3581 || test ! -s conftest.err'
3582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); }; } &&
3587 { ac_try
='test -s conftest.$ac_objext'
3588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); }; }; then
3593 eval "$as_ac_Header=yes"
3595 echo "$as_me: failed program was:" >&5
3596 sed 's/^/| /' conftest.
$ac_ext >&5
3598 eval "$as_ac_Header=no"
3600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3605 cat >>confdefs.h
<<_ACEOF
3606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3624 for ac_header
in iconv.h locale.h fcntl.h limits.h stddef.h \
3625 stdlib.h
strings.h string.h sys
/file.h unistd.h
3627 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3629 echo "$as_me:$LINENO: checking for $ac_header" >&5
3630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3632 echo $ECHO_N "(cached) $ECHO_C" >&6
3634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3637 # Is the header compilable?
3638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3640 cat >conftest.
$ac_ext <<_ACEOF
3643 cat confdefs.h
>>conftest.
$ac_ext
3644 cat >>conftest.
$ac_ext <<_ACEOF
3645 /* end confdefs.h. */
3646 $ac_includes_default
3647 #include <$ac_header>
3649 rm -f conftest.
$ac_objext
3650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3651 (eval $ac_compile) 2>conftest.er1
3653 grep -v '^ *+' conftest.er1
>conftest.err
3655 cat conftest.err
>&5
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); } &&
3658 { ac_try
='test -z "$ac_c_werror_flag"
3659 || test ! -s conftest.err'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; } &&
3665 { ac_try
='test -s conftest.$ac_objext'
3666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); }; }; then
3671 ac_header_compiler
=yes
3673 echo "$as_me: failed program was:" >&5
3674 sed 's/^/| /' conftest.
$ac_ext >&5
3676 ac_header_compiler
=no
3678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3680 echo "${ECHO_T}$ac_header_compiler" >&6
3682 # Is the header present?
3683 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3685 cat >conftest.
$ac_ext <<_ACEOF
3688 cat confdefs.h
>>conftest.
$ac_ext
3689 cat >>conftest.
$ac_ext <<_ACEOF
3690 /* end confdefs.h. */
3691 #include <$ac_header>
3693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3694 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3696 grep -v '^ *+' conftest.er1
>conftest.err
3698 cat conftest.err
>&5
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); } >/dev
/null
; then
3701 if test -s conftest.err
; then
3702 ac_cpp_err
=$ac_c_preproc_warn_flag
3703 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3710 if test -z "$ac_cpp_err"; then
3711 ac_header_preproc
=yes
3713 echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.
$ac_ext >&5
3716 ac_header_preproc
=no
3718 rm -f conftest.err conftest.
$ac_ext
3719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3720 echo "${ECHO_T}$ac_header_preproc" >&6
3722 # So? What about this header?
3723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3728 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3729 ac_header_preproc
=yes
3732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3736 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3737 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3738 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3739 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3742 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3746 ## ----------------------------------- ##
3747 ## Report this to gcc-bugs@gcc.gnu.org ##
3748 ## ----------------------------------- ##
3751 sed "s/^/$as_me: WARNING: /" >&2
3754 echo "$as_me:$LINENO: checking for $ac_header" >&5
3755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3757 echo $ECHO_N "(cached) $ECHO_C" >&6
3759 eval "$as_ac_Header=\$ac_header_preproc"
3761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3766 cat >>confdefs.h
<<_ACEOF
3767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3775 # Checks for typedefs, structures, and compiler characteristics.
3776 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3777 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3778 if test "${ac_cv_c_const+set}" = set; then
3779 echo $ECHO_N "(cached) $ECHO_C" >&6
3781 cat >conftest.
$ac_ext <<_ACEOF
3784 cat confdefs.h
>>conftest.
$ac_ext
3785 cat >>conftest.
$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3791 /* FIXME: Include the comments suggested by Paul. */
3793 /* Ultrix mips cc rejects this. */
3794 typedef int charset[2];
3796 /* SunOS 4.1.1 cc rejects this. */
3797 char const *const *ccp;
3799 /* NEC SVR4.0.2 mips cc rejects this. */
3800 struct point {int x, y;};
3801 static struct point const zero = {0,0};
3802 /* AIX XL C 1.02.0.0 rejects this.
3803 It does not let you subtract one const X* pointer from another in
3804 an arm of an if-expression whose if-part is not a constant
3806 const char *g = "string";
3807 ccp = &g + (g ? g-g : 0);
3808 /* HPUX 7.0 cc rejects these. */
3811 ccp = (char const *const *) p;
3812 { /* SCO 3.2v4 cc rejects this. */
3814 char const *s = 0 ? (char *) 0 : (char const *) 0;
3818 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3820 const int *foo = &x[0];
3823 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3824 typedef const int *iptr;
3828 { /* AIX XL C 1.02.0.0 rejects this saying
3829 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3830 struct s { int j; const int *ap[3]; };
3831 struct s *b; b->j = 5;
3833 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3842 rm -f conftest.
$ac_objext
3843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3844 (eval $ac_compile) 2>conftest.er1
3846 grep -v '^ *+' conftest.er1
>conftest.err
3848 cat conftest.err
>&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); } &&
3851 { ac_try
='test -z "$ac_c_werror_flag"
3852 || test ! -s conftest.err'
3853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); }; } &&
3858 { ac_try
='test -s conftest.$ac_objext'
3859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); }; }; then
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.
$ac_ext >&5
3871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3873 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3874 echo "${ECHO_T}$ac_cv_c_const" >&6
3875 if test $ac_cv_c_const = no
; then
3877 cat >>confdefs.h
<<\_ACEOF
3883 echo "$as_me:$LINENO: checking for inline" >&5
3884 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3885 if test "${ac_cv_c_inline+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 for ac_kw
in inline __inline__ __inline
; do
3890 cat >conftest.
$ac_ext <<_ACEOF
3893 cat confdefs.h
>>conftest.
$ac_ext
3894 cat >>conftest.
$ac_ext <<_ACEOF
3895 /* end confdefs.h. */
3898 static $ac_kw foo_t static_foo () {return 0; }
3899 $ac_kw foo_t foo () {return 0; }
3903 rm -f conftest.
$ac_objext
3904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3905 (eval $ac_compile) 2>conftest.er1
3907 grep -v '^ *+' conftest.er1
>conftest.err
3909 cat conftest.err
>&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); } &&
3912 { ac_try
='test -z "$ac_c_werror_flag"
3913 || test ! -s conftest.err'
3914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); }; } &&
3919 { ac_try
='test -s conftest.$ac_objext'
3920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924 (exit $ac_status); }; }; then
3925 ac_cv_c_inline
=$ac_kw; break
3927 echo "$as_me: failed program was:" >&5
3928 sed 's/^/| /' conftest.
$ac_ext >&5
3931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3935 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3936 echo "${ECHO_T}$ac_cv_c_inline" >&6
3939 case $ac_cv_c_inline in
3942 case $ac_cv_c_inline in
3944 *) ac_val
=$ac_cv_c_inline;;
3946 cat >>confdefs.h
<<_ACEOF
3948 #define inline $ac_val
3954 echo "$as_me:$LINENO: checking for obstacks" >&5
3955 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
3956 if test "${ac_cv_func_obstack+set}" = set; then
3957 echo $ECHO_N "(cached) $ECHO_C" >&6
3959 cat >conftest.
$ac_ext <<_ACEOF
3962 cat confdefs.h
>>conftest.
$ac_ext
3963 cat >>conftest.
$ac_ext <<_ACEOF
3964 /* end confdefs.h. */
3965 #include "obstack.h"
3969 struct obstack *mem; obstack_free(mem,(char *) 0)
3974 rm -f conftest.
$ac_objext conftest
$ac_exeext
3975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3976 (eval $ac_link) 2>conftest.er1
3978 grep -v '^ *+' conftest.er1
>conftest.err
3980 cat conftest.err
>&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); } &&
3983 { ac_try
='test -z "$ac_c_werror_flag"
3984 || test ! -s conftest.err'
3985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); }; } &&
3990 { ac_try
='test -s conftest$ac_exeext'
3991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); }; }; then
3996 ac_cv_func_obstack
=yes
3998 echo "$as_me: failed program was:" >&5
3999 sed 's/^/| /' conftest.
$ac_ext >&5
4001 ac_cv_func_obstack
=no
4003 rm -f conftest.err conftest.
$ac_objext \
4004 conftest
$ac_exeext conftest.
$ac_ext
4006 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
4007 echo "${ECHO_T}$ac_cv_func_obstack" >&6
4008 if test $ac_cv_func_obstack = yes; then
4010 cat >>confdefs.h
<<\_ACEOF
4011 #define HAVE_OBSTACK 1
4016 "obstack.$ac_objext" | \
4017 *" obstack.$ac_objext" | \
4018 "obstack.$ac_objext "* | \
4019 *" obstack.$ac_objext "* ) ;;
4020 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext" ;;
4025 echo "$as_me:$LINENO: checking for off_t" >&5
4026 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4027 if test "${ac_cv_type_off_t+set}" = set; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 cat >conftest.
$ac_ext <<_ACEOF
4033 cat confdefs.h
>>conftest.
$ac_ext
4034 cat >>conftest.
$ac_ext <<_ACEOF
4035 /* end confdefs.h. */
4036 $ac_includes_default
4048 rm -f conftest.
$ac_objext
4049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4050 (eval $ac_compile) 2>conftest.er1
4052 grep -v '^ *+' conftest.er1
>conftest.err
4054 cat conftest.err
>&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); } &&
4057 { ac_try
='test -z "$ac_c_werror_flag"
4058 || test ! -s conftest.err'
4059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); }; } &&
4064 { ac_try
='test -s conftest.$ac_objext'
4065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); }; }; then
4070 ac_cv_type_off_t
=yes
4072 echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.
$ac_ext >&5
4077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4079 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4080 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4081 if test $ac_cv_type_off_t = yes; then
4085 cat >>confdefs.h
<<_ACEOF
4091 echo "$as_me:$LINENO: checking for size_t" >&5
4092 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4093 if test "${ac_cv_type_size_t+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 cat >conftest.
$ac_ext <<_ACEOF
4099 cat confdefs.h
>>conftest.
$ac_ext
4100 cat >>conftest.
$ac_ext <<_ACEOF
4101 /* end confdefs.h. */
4102 $ac_includes_default
4108 if (sizeof (size_t))
4114 rm -f conftest.
$ac_objext
4115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4116 (eval $ac_compile) 2>conftest.er1
4118 grep -v '^ *+' conftest.er1
>conftest.err
4120 cat conftest.err
>&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); } &&
4123 { ac_try
='test -z "$ac_c_werror_flag"
4124 || test ! -s conftest.err'
4125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); }; } &&
4130 { ac_try
='test -s conftest.$ac_objext'
4131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); }; }; then
4136 ac_cv_type_size_t
=yes
4138 echo "$as_me: failed program was:" >&5
4139 sed 's/^/| /' conftest.
$ac_ext >&5
4141 ac_cv_type_size_t
=no
4143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4145 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4146 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4147 if test $ac_cv_type_size_t = yes; then
4151 cat >>confdefs.h
<<_ACEOF
4152 #define size_t unsigned
4157 echo "$as_me:$LINENO: checking for ssize_t" >&5
4158 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
4159 if test "${ac_cv_type_ssize_t+set}" = set; then
4160 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 cat >conftest.
$ac_ext <<_ACEOF
4165 cat confdefs.h
>>conftest.
$ac_ext
4166 cat >>conftest.
$ac_ext <<_ACEOF
4167 /* end confdefs.h. */
4168 $ac_includes_default
4174 if (sizeof (ssize_t))
4180 rm -f conftest.
$ac_objext
4181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4182 (eval $ac_compile) 2>conftest.er1
4184 grep -v '^ *+' conftest.er1
>conftest.err
4186 cat conftest.err
>&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); } &&
4189 { ac_try
='test -z "$ac_c_werror_flag"
4190 || test ! -s conftest.err'
4191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); }; } &&
4196 { ac_try
='test -s conftest.$ac_objext'
4197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; }; then
4202 ac_cv_type_ssize_t
=yes
4204 echo "$as_me: failed program was:" >&5
4205 sed 's/^/| /' conftest.
$ac_ext >&5
4207 ac_cv_type_ssize_t
=no
4209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4211 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
4212 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
4213 if test $ac_cv_type_ssize_t = yes; then
4217 cat >>confdefs.h
<<_ACEOF
4223 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4224 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4225 if test "${ac_cv_struct_tm+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 cat >conftest.
$ac_ext <<_ACEOF
4231 cat confdefs.h
>>conftest.
$ac_ext
4232 cat >>conftest.
$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4234 #include <sys/types.h>
4240 struct tm *tp; tp->tm_sec;
4245 rm -f conftest.
$ac_objext
4246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4247 (eval $ac_compile) 2>conftest.er1
4249 grep -v '^ *+' conftest.er1
>conftest.err
4251 cat conftest.err
>&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); } &&
4254 { ac_try
='test -z "$ac_c_werror_flag"
4255 || test ! -s conftest.err'
4256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); }; } &&
4261 { ac_try
='test -s conftest.$ac_objext'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; }; then
4267 ac_cv_struct_tm
=time.h
4269 echo "$as_me: failed program was:" >&5
4270 sed 's/^/| /' conftest.
$ac_ext >&5
4272 ac_cv_struct_tm
=sys
/time.h
4274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4276 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4277 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4278 if test $ac_cv_struct_tm = sys
/time.h
; then
4280 cat >>confdefs.h
<<\_ACEOF
4281 #define TM_IN_SYS_TIME 1
4286 echo "$as_me:$LINENO: checking for int" >&5
4287 echo $ECHO_N "checking for int... $ECHO_C" >&6
4288 if test "${ac_cv_type_int+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6
4291 cat >conftest.
$ac_ext <<_ACEOF
4294 cat confdefs.h
>>conftest.
$ac_ext
4295 cat >>conftest.
$ac_ext <<_ACEOF
4296 /* end confdefs.h. */
4297 $ac_includes_default
4309 rm -f conftest.
$ac_objext
4310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4311 (eval $ac_compile) 2>conftest.er1
4313 grep -v '^ *+' conftest.er1
>conftest.err
4315 cat conftest.err
>&5
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); } &&
4318 { ac_try
='test -z "$ac_c_werror_flag"
4319 || test ! -s conftest.err'
4320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; } &&
4325 { ac_try
='test -s conftest.$ac_objext'
4326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); }; }; then
4333 echo "$as_me: failed program was:" >&5
4334 sed 's/^/| /' conftest.
$ac_ext >&5
4338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4340 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4341 echo "${ECHO_T}$ac_cv_type_int" >&6
4343 echo "$as_me:$LINENO: checking size of int" >&5
4344 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4345 if test "${ac_cv_sizeof_int+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 if test "$ac_cv_type_int" = yes; then
4349 # The cast to unsigned long works around a bug in the HP C Compiler
4350 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4351 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4352 # This bug is HP SR number 8606223364.
4353 if test "$cross_compiling" = yes; then
4354 # Depending upon the size, compute the lo and hi bounds.
4355 cat >conftest.
$ac_ext <<_ACEOF
4358 cat confdefs.h
>>conftest.
$ac_ext
4359 cat >>conftest.
$ac_ext <<_ACEOF
4360 /* end confdefs.h. */
4361 $ac_includes_default
4365 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4372 rm -f conftest.
$ac_objext
4373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4374 (eval $ac_compile) 2>conftest.er1
4376 grep -v '^ *+' conftest.er1
>conftest.err
4378 cat conftest.err
>&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); } &&
4381 { ac_try
='test -z "$ac_c_werror_flag"
4382 || test ! -s conftest.err'
4383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }; } &&
4388 { ac_try
='test -s conftest.$ac_objext'
4389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); }; }; then
4396 cat >conftest.
$ac_ext <<_ACEOF
4399 cat confdefs.h
>>conftest.
$ac_ext
4400 cat >>conftest.
$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4402 $ac_includes_default
4406 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4413 rm -f conftest.
$ac_objext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4415 (eval $ac_compile) 2>conftest.er1
4417 grep -v '^ *+' conftest.er1
>conftest.err
4419 cat conftest.err
>&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); } &&
4422 { ac_try
='test -z "$ac_c_werror_flag"
4423 || test ! -s conftest.err'
4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; } &&
4429 { ac_try
='test -s conftest.$ac_objext'
4430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); }; }; then
4435 ac_hi
=$ac_mid; break
4437 echo "$as_me: failed program was:" >&5
4438 sed 's/^/| /' conftest.
$ac_ext >&5
4440 ac_lo
=`expr $ac_mid + 1`
4441 if test $ac_lo -le $ac_mid; then
4445 ac_mid
=`expr 2 '*' $ac_mid + 1`
4447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4450 echo "$as_me: failed program was:" >&5
4451 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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 cat >conftest.
$ac_ext <<_ACEOF
4497 cat confdefs.h
>>conftest.
$ac_ext
4498 cat >>conftest.
$ac_ext <<_ACEOF
4499 /* end confdefs.h. */
4500 $ac_includes_default
4504 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4511 rm -f conftest.
$ac_objext
4512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4513 (eval $ac_compile) 2>conftest.er1
4515 grep -v '^ *+' conftest.er1
>conftest.err
4517 cat conftest.err
>&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); } &&
4520 { ac_try
='test -z "$ac_c_werror_flag"
4521 || test ! -s conftest.err'
4522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); }; } &&
4527 { ac_try
='test -s conftest.$ac_objext'
4528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); }; }; then
4533 ac_lo
=$ac_mid; break
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.
$ac_ext >&5
4538 ac_hi
=`expr '(' $ac_mid ')' - 1`
4539 if test $ac_mid -le $ac_hi; then
4543 ac_mid
=`expr 2 '*' $ac_mid`
4545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4548 echo "$as_me: failed program was:" >&5
4549 sed 's/^/| /' conftest.
$ac_ext >&5
4553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4556 # Binary search between lo and hi bounds.
4557 while test "x$ac_lo" != "x$ac_hi"; do
4558 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4559 cat >conftest.
$ac_ext <<_ACEOF
4562 cat confdefs.h
>>conftest.
$ac_ext
4563 cat >>conftest.
$ac_ext <<_ACEOF
4564 /* end confdefs.h. */
4565 $ac_includes_default
4569 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4576 rm -f conftest.
$ac_objext
4577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4578 (eval $ac_compile) 2>conftest.er1
4580 grep -v '^ *+' conftest.er1
>conftest.err
4582 cat conftest.err
>&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); } &&
4585 { ac_try
='test -z "$ac_c_werror_flag"
4586 || test ! -s conftest.err'
4587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; } &&
4592 { ac_try
='test -s conftest.$ac_objext'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; }; then
4600 echo "$as_me: failed program was:" >&5
4601 sed 's/^/| /' conftest.
$ac_ext >&5
4603 ac_lo
=`expr '(' $ac_mid ')' + 1`
4605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4608 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4609 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4610 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4611 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4612 See \`config.log' for more details." >&5
4613 echo "$as_me: error: cannot compute sizeof (int), 77
4614 See \`config.log' for more details." >&2;}
4615 { (exit 1); exit 1; }; }; } ;;
4618 if test "$cross_compiling" = yes; then
4619 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4620 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4621 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4622 See \`config.log' for more details." >&5
4623 echo "$as_me: error: cannot run test program while cross compiling
4624 See \`config.log' for more details." >&2;}
4625 { (exit 1); exit 1; }; }; }
4627 cat >conftest.
$ac_ext <<_ACEOF
4630 cat confdefs.h
>>conftest.
$ac_ext
4631 cat >>conftest.
$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4633 $ac_includes_default
4634 long longval () { return (long) (sizeof (int)); }
4635 unsigned long ulongval () { return (long) (sizeof (int)); }
4642 FILE *f = fopen ("conftest.val", "w");
4645 if (((long) (sizeof (int))) < 0)
4647 long i = longval ();
4648 if (i != ((long) (sizeof (int))))
4650 fprintf (f, "%ld\n", i);
4654 unsigned long i = ulongval ();
4655 if (i != ((long) (sizeof (int))))
4657 fprintf (f, "%lu\n", i);
4659 exit (ferror (f) || fclose (f) != 0);
4665 rm -f conftest
$ac_exeext
4666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4667 (eval $ac_link) 2>&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); }; }; then
4676 ac_cv_sizeof_int
=`cat conftest.val`
4678 echo "$as_me: program exited with status $ac_status" >&5
4679 echo "$as_me: failed program was:" >&5
4680 sed 's/^/| /' conftest.
$ac_ext >&5
4683 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4684 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4685 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4686 See \`config.log' for more details." >&5
4687 echo "$as_me: error: cannot compute sizeof (int), 77
4688 See \`config.log' for more details." >&2;}
4689 { (exit 1); exit 1; }; }; }
4691 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4699 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4700 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4701 cat >>confdefs.h
<<_ACEOF
4702 #define SIZEOF_INT $ac_cv_sizeof_int
4706 echo "$as_me:$LINENO: checking for long" >&5
4707 echo $ECHO_N "checking for long... $ECHO_C" >&6
4708 if test "${ac_cv_type_long+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
4711 cat >conftest.
$ac_ext <<_ACEOF
4714 cat confdefs.h
>>conftest.
$ac_ext
4715 cat >>conftest.
$ac_ext <<_ACEOF
4716 /* end confdefs.h. */
4717 $ac_includes_default
4729 rm -f conftest.
$ac_objext
4730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4731 (eval $ac_compile) 2>conftest.er1
4733 grep -v '^ *+' conftest.er1
>conftest.err
4735 cat conftest.err
>&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); } &&
4738 { ac_try
='test -z "$ac_c_werror_flag"
4739 || test ! -s conftest.err'
4740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }; } &&
4745 { ac_try
='test -s conftest.$ac_objext'
4746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; }; then
4753 echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.
$ac_ext >&5
4758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4760 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4761 echo "${ECHO_T}$ac_cv_type_long" >&6
4763 echo "$as_me:$LINENO: checking size of long" >&5
4764 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4765 if test "${ac_cv_sizeof_long+set}" = set; then
4766 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 if test "$ac_cv_type_long" = yes; then
4769 # The cast to unsigned long works around a bug in the HP C Compiler
4770 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4771 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4772 # This bug is HP SR number 8606223364.
4773 if test "$cross_compiling" = yes; then
4774 # Depending upon the size, compute the lo and hi bounds.
4775 cat >conftest.
$ac_ext <<_ACEOF
4778 cat confdefs.h
>>conftest.
$ac_ext
4779 cat >>conftest.
$ac_ext <<_ACEOF
4780 /* end confdefs.h. */
4781 $ac_includes_default
4785 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4792 rm -f conftest.
$ac_objext
4793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4794 (eval $ac_compile) 2>conftest.er1
4796 grep -v '^ *+' conftest.er1
>conftest.err
4798 cat conftest.err
>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } &&
4801 { ac_try
='test -z "$ac_c_werror_flag"
4802 || test ! -s conftest.err'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; } &&
4808 { ac_try
='test -s conftest.$ac_objext'
4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
4816 cat >conftest.
$ac_ext <<_ACEOF
4819 cat confdefs.h
>>conftest.
$ac_ext
4820 cat >>conftest.
$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4822 $ac_includes_default
4826 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4833 rm -f conftest.
$ac_objext
4834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4835 (eval $ac_compile) 2>conftest.er1
4837 grep -v '^ *+' conftest.er1
>conftest.err
4839 cat conftest.err
>&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); } &&
4842 { ac_try
='test -z "$ac_c_werror_flag"
4843 || test ! -s conftest.err'
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; } &&
4849 { ac_try
='test -s conftest.$ac_objext'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
4855 ac_hi
=$ac_mid; break
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.
$ac_ext >&5
4860 ac_lo
=`expr $ac_mid + 1`
4861 if test $ac_lo -le $ac_mid; then
4865 ac_mid
=`expr 2 '*' $ac_mid + 1`
4867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4870 echo "$as_me: failed program was:" >&5
4871 sed 's/^/| /' conftest.
$ac_ext >&5
4873 cat >conftest.
$ac_ext <<_ACEOF
4876 cat confdefs.h
>>conftest.
$ac_ext
4877 cat >>conftest.
$ac_ext <<_ACEOF
4878 /* end confdefs.h. */
4879 $ac_includes_default
4883 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4890 rm -f conftest.
$ac_objext
4891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4892 (eval $ac_compile) 2>conftest.er1
4894 grep -v '^ *+' conftest.er1
>conftest.err
4896 cat conftest.err
>&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); } &&
4899 { ac_try
='test -z "$ac_c_werror_flag"
4900 || test ! -s conftest.err'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; } &&
4906 { ac_try
='test -s conftest.$ac_objext'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; }; then
4914 cat >conftest.
$ac_ext <<_ACEOF
4917 cat confdefs.h
>>conftest.
$ac_ext
4918 cat >>conftest.
$ac_ext <<_ACEOF
4919 /* end confdefs.h. */
4920 $ac_includes_default
4924 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4931 rm -f conftest.
$ac_objext
4932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4933 (eval $ac_compile) 2>conftest.er1
4935 grep -v '^ *+' conftest.er1
>conftest.err
4937 cat conftest.err
>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } &&
4940 { ac_try
='test -z "$ac_c_werror_flag"
4941 || test ! -s conftest.err'
4942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); }; } &&
4947 { ac_try
='test -s conftest.$ac_objext'
4948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; }; then
4953 ac_lo
=$ac_mid; break
4955 echo "$as_me: failed program was:" >&5
4956 sed 's/^/| /' conftest.
$ac_ext >&5
4958 ac_hi
=`expr '(' $ac_mid ')' - 1`
4959 if test $ac_mid -le $ac_hi; then
4963 ac_mid
=`expr 2 '*' $ac_mid`
4965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4968 echo "$as_me: failed program was:" >&5
4969 sed 's/^/| /' conftest.
$ac_ext >&5
4973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4976 # Binary search between lo and hi bounds.
4977 while test "x$ac_lo" != "x$ac_hi"; do
4978 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4979 cat >conftest.
$ac_ext <<_ACEOF
4982 cat confdefs.h
>>conftest.
$ac_ext
4983 cat >>conftest.
$ac_ext <<_ACEOF
4984 /* end confdefs.h. */
4985 $ac_includes_default
4989 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4996 rm -f conftest.
$ac_objext
4997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4998 (eval $ac_compile) 2>conftest.er1
5000 grep -v '^ *+' conftest.er1
>conftest.err
5002 cat conftest.err
>&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); } &&
5005 { ac_try
='test -z "$ac_c_werror_flag"
5006 || test ! -s conftest.err'
5007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); }; } &&
5012 { ac_try
='test -s conftest.$ac_objext'
5013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); }; }; then
5020 echo "$as_me: failed program was:" >&5
5021 sed 's/^/| /' conftest.
$ac_ext >&5
5023 ac_lo
=`expr '(' $ac_mid ')' + 1`
5025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5028 ?
*) ac_cv_sizeof_long
=$ac_lo;;
5029 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5030 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5031 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5032 See \`config.log' for more details." >&5
5033 echo "$as_me: error: cannot compute sizeof (long), 77
5034 See \`config.log' for more details." >&2;}
5035 { (exit 1); exit 1; }; }; } ;;
5038 if test "$cross_compiling" = yes; then
5039 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5040 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5041 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5042 See \`config.log' for more details." >&5
5043 echo "$as_me: error: cannot run test program while cross compiling
5044 See \`config.log' for more details." >&2;}
5045 { (exit 1); exit 1; }; }; }
5047 cat >conftest.
$ac_ext <<_ACEOF
5050 cat confdefs.h
>>conftest.
$ac_ext
5051 cat >>conftest.
$ac_ext <<_ACEOF
5052 /* end confdefs.h. */
5053 $ac_includes_default
5054 long longval () { return (long) (sizeof (long)); }
5055 unsigned long ulongval () { return (long) (sizeof (long)); }
5062 FILE *f = fopen ("conftest.val", "w");
5065 if (((long) (sizeof (long))) < 0)
5067 long i = longval ();
5068 if (i != ((long) (sizeof (long))))
5070 fprintf (f, "%ld\n", i);
5074 unsigned long i = ulongval ();
5075 if (i != ((long) (sizeof (long))))
5077 fprintf (f, "%lu\n", i);
5079 exit (ferror (f) || fclose (f) != 0);
5085 rm -f conftest
$ac_exeext
5086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5087 (eval $ac_link) 2>&5
5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095 (exit $ac_status); }; }; then
5096 ac_cv_sizeof_long
=`cat conftest.val`
5098 echo "$as_me: program exited with status $ac_status" >&5
5099 echo "$as_me: failed program was:" >&5
5100 sed 's/^/| /' conftest.
$ac_ext >&5
5103 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5104 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5105 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5106 See \`config.log' for more details." >&5
5107 echo "$as_me: error: cannot compute sizeof (long), 77
5108 See \`config.log' for more details." >&2;}
5109 { (exit 1); exit 1; }; }; }
5111 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5119 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5120 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
5121 cat >>confdefs.h
<<_ACEOF
5122 #define SIZEOF_LONG $ac_cv_sizeof_long
5143 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
5145 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5146 echo "$as_me:$LINENO: checking for $ac_func" >&5
5147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5148 if eval "test \"\${$as_ac_var+set}\" = set"; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 cat >conftest.
$ac_ext <<_ACEOF
5154 cat confdefs.h
>>conftest.
$ac_ext
5155 cat >>conftest.
$ac_ext <<_ACEOF
5156 /* end confdefs.h. */
5157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5159 #define $ac_func innocuous_$ac_func
5161 /* System header to define __stub macros and hopefully few prototypes,
5162 which can conflict with char $ac_func (); below.
5163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5164 <limits.h> exists even on freestanding compilers. */
5167 # include <limits.h>
5169 # include <assert.h>
5174 /* Override any gcc2 internal prototype to avoid an error. */
5179 /* We use char because int might match the return type of a gcc2
5180 builtin and then its argument prototype would still apply. */
5182 /* The GNU C library defines this for functions which it implements
5183 to always fail with ENOSYS. Some functions are actually named
5184 something starting with __ and the normal name is an alias. */
5185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5188 char (*f) () = $ac_func;
5197 return f != $ac_func;
5202 rm -f conftest.
$ac_objext conftest
$ac_exeext
5203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5204 (eval $ac_link) 2>conftest.er1
5206 grep -v '^ *+' conftest.er1
>conftest.err
5208 cat conftest.err
>&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); } &&
5211 { ac_try
='test -z "$ac_c_werror_flag"
5212 || test ! -s conftest.err'
5213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); }; } &&
5218 { ac_try
='test -s conftest$ac_exeext'
5219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); }; }; then
5224 eval "$as_ac_var=yes"
5226 echo "$as_me: failed program was:" >&5
5227 sed 's/^/| /' conftest.
$ac_ext >&5
5229 eval "$as_ac_var=no"
5231 rm -f conftest.err conftest.
$ac_objext \
5232 conftest
$ac_exeext conftest.
$ac_ext
5234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5236 if test `eval echo '${'$as_ac_var'}'` = yes; then
5237 cat >>confdefs.h
<<_ACEOF
5238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5244 echo "$as_me:$LINENO: checking whether abort is declared" >&5
5245 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
5246 if test "${ac_cv_have_decl_abort+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 cat >conftest.
$ac_ext <<_ACEOF
5252 cat confdefs.h
>>conftest.
$ac_ext
5253 cat >>conftest.
$ac_ext <<_ACEOF
5254 /* end confdefs.h. */
5255 $ac_includes_default
5260 char *p = (char *) abort;
5267 rm -f conftest.
$ac_objext
5268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5269 (eval $ac_compile) 2>conftest.er1
5271 grep -v '^ *+' conftest.er1
>conftest.err
5273 cat conftest.err
>&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); } &&
5276 { ac_try
='test -z "$ac_c_werror_flag"
5277 || test ! -s conftest.err'
5278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); }; } &&
5283 { ac_try
='test -s conftest.$ac_objext'
5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; }; then
5289 ac_cv_have_decl_abort
=yes
5291 echo "$as_me: failed program was:" >&5
5292 sed 's/^/| /' conftest.
$ac_ext >&5
5294 ac_cv_have_decl_abort
=no
5296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5298 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
5299 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
5300 if test $ac_cv_have_decl_abort = yes; then
5302 cat >>confdefs.h
<<_ACEOF
5303 #define HAVE_DECL_ABORT 1
5308 cat >>confdefs.h
<<_ACEOF
5309 #define HAVE_DECL_ABORT 0
5314 echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
5315 echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
5316 if test "${ac_cv_have_decl_asprintf+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5319 cat >conftest.
$ac_ext <<_ACEOF
5322 cat confdefs.h
>>conftest.
$ac_ext
5323 cat >>conftest.
$ac_ext <<_ACEOF
5324 /* end confdefs.h. */
5325 $ac_includes_default
5330 char *p = (char *) asprintf;
5337 rm -f conftest.
$ac_objext
5338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5339 (eval $ac_compile) 2>conftest.er1
5341 grep -v '^ *+' conftest.er1
>conftest.err
5343 cat conftest.err
>&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); } &&
5346 { ac_try
='test -z "$ac_c_werror_flag"
5347 || test ! -s conftest.err'
5348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); }; } &&
5353 { ac_try
='test -s conftest.$ac_objext'
5354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358 (exit $ac_status); }; }; then
5359 ac_cv_have_decl_asprintf
=yes
5361 echo "$as_me: failed program was:" >&5
5362 sed 's/^/| /' conftest.
$ac_ext >&5
5364 ac_cv_have_decl_asprintf
=no
5366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5368 echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
5369 echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
5370 if test $ac_cv_have_decl_asprintf = yes; then
5372 cat >>confdefs.h
<<_ACEOF
5373 #define HAVE_DECL_ASPRINTF 1
5378 cat >>confdefs.h
<<_ACEOF
5379 #define HAVE_DECL_ASPRINTF 0
5384 echo "$as_me:$LINENO: checking whether basename is declared" >&5
5385 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
5386 if test "${ac_cv_have_decl_basename+set}" = set; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5389 cat >conftest.
$ac_ext <<_ACEOF
5392 cat confdefs.h
>>conftest.
$ac_ext
5393 cat >>conftest.
$ac_ext <<_ACEOF
5394 /* end confdefs.h. */
5395 $ac_includes_default
5400 char *p = (char *) basename;
5407 rm -f conftest.
$ac_objext
5408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5409 (eval $ac_compile) 2>conftest.er1
5411 grep -v '^ *+' conftest.er1
>conftest.err
5413 cat conftest.err
>&5
5414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 (exit $ac_status); } &&
5416 { ac_try
='test -z "$ac_c_werror_flag"
5417 || test ! -s conftest.err'
5418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); }; } &&
5423 { ac_try
='test -s conftest.$ac_objext'
5424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428 (exit $ac_status); }; }; then
5429 ac_cv_have_decl_basename
=yes
5431 echo "$as_me: failed program was:" >&5
5432 sed 's/^/| /' conftest.
$ac_ext >&5
5434 ac_cv_have_decl_basename
=no
5436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5438 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
5439 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
5440 if test $ac_cv_have_decl_basename = yes; then
5442 cat >>confdefs.h
<<_ACEOF
5443 #define HAVE_DECL_BASENAME 1
5448 cat >>confdefs.h
<<_ACEOF
5449 #define HAVE_DECL_BASENAME 0
5454 echo "$as_me:$LINENO: checking whether errno is declared" >&5
5455 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
5456 if test "${ac_cv_have_decl_errno+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 cat >conftest.
$ac_ext <<_ACEOF
5462 cat confdefs.h
>>conftest.
$ac_ext
5463 cat >>conftest.
$ac_ext <<_ACEOF
5464 /* end confdefs.h. */
5465 $ac_includes_default
5470 char *p = (char *) errno;
5477 rm -f conftest.
$ac_objext
5478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5479 (eval $ac_compile) 2>conftest.er1
5481 grep -v '^ *+' conftest.er1
>conftest.err
5483 cat conftest.err
>&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); } &&
5486 { ac_try
='test -z "$ac_c_werror_flag"
5487 || test ! -s conftest.err'
5488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); }; } &&
5493 { ac_try
='test -s conftest.$ac_objext'
5494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); }; }; then
5499 ac_cv_have_decl_errno
=yes
5501 echo "$as_me: failed program was:" >&5
5502 sed 's/^/| /' conftest.
$ac_ext >&5
5504 ac_cv_have_decl_errno
=no
5506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5508 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
5509 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
5510 if test $ac_cv_have_decl_errno = yes; then
5512 cat >>confdefs.h
<<_ACEOF
5513 #define HAVE_DECL_ERRNO 1
5518 cat >>confdefs.h
<<_ACEOF
5519 #define HAVE_DECL_ERRNO 0
5524 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
5525 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
5526 if test "${ac_cv_have_decl_getopt+set}" = set; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5529 cat >conftest.
$ac_ext <<_ACEOF
5532 cat confdefs.h
>>conftest.
$ac_ext
5533 cat >>conftest.
$ac_ext <<_ACEOF
5534 /* end confdefs.h. */
5535 $ac_includes_default
5540 char *p = (char *) getopt;
5547 rm -f conftest.
$ac_objext
5548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5549 (eval $ac_compile) 2>conftest.er1
5551 grep -v '^ *+' conftest.er1
>conftest.err
5553 cat conftest.err
>&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } &&
5556 { ac_try
='test -z "$ac_c_werror_flag"
5557 || test ! -s conftest.err'
5558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); }; } &&
5563 { ac_try
='test -s conftest.$ac_objext'
5564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); }; }; then
5569 ac_cv_have_decl_getopt
=yes
5571 echo "$as_me: failed program was:" >&5
5572 sed 's/^/| /' conftest.
$ac_ext >&5
5574 ac_cv_have_decl_getopt
=no
5576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5578 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
5579 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
5580 if test $ac_cv_have_decl_getopt = yes; then
5582 cat >>confdefs.h
<<_ACEOF
5583 #define HAVE_DECL_GETOPT 1
5588 cat >>confdefs.h
<<_ACEOF
5589 #define HAVE_DECL_GETOPT 0
5594 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
5595 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
5596 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
5597 echo $ECHO_N "(cached) $ECHO_C" >&6
5599 cat >conftest.
$ac_ext <<_ACEOF
5602 cat confdefs.h
>>conftest.
$ac_ext
5603 cat >>conftest.
$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5605 $ac_includes_default
5609 #ifndef clearerr_unlocked
5610 char *p = (char *) clearerr_unlocked;
5617 rm -f conftest.
$ac_objext
5618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5619 (eval $ac_compile) 2>conftest.er1
5621 grep -v '^ *+' conftest.er1
>conftest.err
5623 cat conftest.err
>&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); } &&
5626 { ac_try
='test -z "$ac_c_werror_flag"
5627 || test ! -s conftest.err'
5628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); }; } &&
5633 { ac_try
='test -s conftest.$ac_objext'
5634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); }; }; then
5639 ac_cv_have_decl_clearerr_unlocked
=yes
5641 echo "$as_me: failed program was:" >&5
5642 sed 's/^/| /' conftest.
$ac_ext >&5
5644 ac_cv_have_decl_clearerr_unlocked
=no
5646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5648 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
5649 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
5650 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
5652 cat >>confdefs.h
<<_ACEOF
5653 #define HAVE_DECL_CLEARERR_UNLOCKED 1
5658 cat >>confdefs.h
<<_ACEOF
5659 #define HAVE_DECL_CLEARERR_UNLOCKED 0
5664 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
5665 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
5666 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
5667 echo $ECHO_N "(cached) $ECHO_C" >&6
5669 cat >conftest.
$ac_ext <<_ACEOF
5672 cat confdefs.h
>>conftest.
$ac_ext
5673 cat >>conftest.
$ac_ext <<_ACEOF
5674 /* end confdefs.h. */
5675 $ac_includes_default
5679 #ifndef feof_unlocked
5680 char *p = (char *) feof_unlocked;
5687 rm -f conftest.
$ac_objext
5688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5689 (eval $ac_compile) 2>conftest.er1
5691 grep -v '^ *+' conftest.er1
>conftest.err
5693 cat conftest.err
>&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); } &&
5696 { ac_try
='test -z "$ac_c_werror_flag"
5697 || test ! -s conftest.err'
5698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702 (exit $ac_status); }; } &&
5703 { ac_try
='test -s conftest.$ac_objext'
5704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); }; }; then
5709 ac_cv_have_decl_feof_unlocked
=yes
5711 echo "$as_me: failed program was:" >&5
5712 sed 's/^/| /' conftest.
$ac_ext >&5
5714 ac_cv_have_decl_feof_unlocked
=no
5716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5718 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
5719 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
5720 if test $ac_cv_have_decl_feof_unlocked = yes; then
5722 cat >>confdefs.h
<<_ACEOF
5723 #define HAVE_DECL_FEOF_UNLOCKED 1
5728 cat >>confdefs.h
<<_ACEOF
5729 #define HAVE_DECL_FEOF_UNLOCKED 0
5734 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
5735 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
5736 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 cat >conftest.
$ac_ext <<_ACEOF
5742 cat confdefs.h
>>conftest.
$ac_ext
5743 cat >>conftest.
$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5745 $ac_includes_default
5749 #ifndef ferror_unlocked
5750 char *p = (char *) ferror_unlocked;
5757 rm -f conftest.
$ac_objext
5758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5759 (eval $ac_compile) 2>conftest.er1
5761 grep -v '^ *+' conftest.er1
>conftest.err
5763 cat conftest.err
>&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); } &&
5766 { ac_try
='test -z "$ac_c_werror_flag"
5767 || test ! -s conftest.err'
5768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); }; } &&
5773 { ac_try
='test -s conftest.$ac_objext'
5774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); }; }; then
5779 ac_cv_have_decl_ferror_unlocked
=yes
5781 echo "$as_me: failed program was:" >&5
5782 sed 's/^/| /' conftest.
$ac_ext >&5
5784 ac_cv_have_decl_ferror_unlocked
=no
5786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5788 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
5789 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
5790 if test $ac_cv_have_decl_ferror_unlocked = yes; then
5792 cat >>confdefs.h
<<_ACEOF
5793 #define HAVE_DECL_FERROR_UNLOCKED 1
5798 cat >>confdefs.h
<<_ACEOF
5799 #define HAVE_DECL_FERROR_UNLOCKED 0
5804 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
5805 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
5806 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
5807 echo $ECHO_N "(cached) $ECHO_C" >&6
5809 cat >conftest.
$ac_ext <<_ACEOF
5812 cat confdefs.h
>>conftest.
$ac_ext
5813 cat >>conftest.
$ac_ext <<_ACEOF
5814 /* end confdefs.h. */
5815 $ac_includes_default
5819 #ifndef fflush_unlocked
5820 char *p = (char *) fflush_unlocked;
5827 rm -f conftest.
$ac_objext
5828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5829 (eval $ac_compile) 2>conftest.er1
5831 grep -v '^ *+' conftest.er1
>conftest.err
5833 cat conftest.err
>&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); } &&
5836 { ac_try
='test -z "$ac_c_werror_flag"
5837 || test ! -s conftest.err'
5838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); }; } &&
5843 { ac_try
='test -s conftest.$ac_objext'
5844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); }; }; then
5849 ac_cv_have_decl_fflush_unlocked
=yes
5851 echo "$as_me: failed program was:" >&5
5852 sed 's/^/| /' conftest.
$ac_ext >&5
5854 ac_cv_have_decl_fflush_unlocked
=no
5856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5858 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
5859 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
5860 if test $ac_cv_have_decl_fflush_unlocked = yes; then
5862 cat >>confdefs.h
<<_ACEOF
5863 #define HAVE_DECL_FFLUSH_UNLOCKED 1
5868 cat >>confdefs.h
<<_ACEOF
5869 #define HAVE_DECL_FFLUSH_UNLOCKED 0
5874 echo "$as_me:$LINENO: checking whether fgetc_unlocked is declared" >&5
5875 echo $ECHO_N "checking whether fgetc_unlocked is declared... $ECHO_C" >&6
5876 if test "${ac_cv_have_decl_fgetc_unlocked+set}" = set; then
5877 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 cat >conftest.
$ac_ext <<_ACEOF
5882 cat confdefs.h
>>conftest.
$ac_ext
5883 cat >>conftest.
$ac_ext <<_ACEOF
5884 /* end confdefs.h. */
5885 $ac_includes_default
5889 #ifndef fgetc_unlocked
5890 char *p = (char *) fgetc_unlocked;
5897 rm -f conftest.
$ac_objext
5898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5899 (eval $ac_compile) 2>conftest.er1
5901 grep -v '^ *+' conftest.er1
>conftest.err
5903 cat conftest.err
>&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); } &&
5906 { ac_try
='test -z "$ac_c_werror_flag"
5907 || test ! -s conftest.err'
5908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); }; } &&
5913 { ac_try
='test -s conftest.$ac_objext'
5914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5918 (exit $ac_status); }; }; then
5919 ac_cv_have_decl_fgetc_unlocked
=yes
5921 echo "$as_me: failed program was:" >&5
5922 sed 's/^/| /' conftest.
$ac_ext >&5
5924 ac_cv_have_decl_fgetc_unlocked
=no
5926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5928 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgetc_unlocked" >&5
5929 echo "${ECHO_T}$ac_cv_have_decl_fgetc_unlocked" >&6
5930 if test $ac_cv_have_decl_fgetc_unlocked = yes; then
5932 cat >>confdefs.h
<<_ACEOF
5933 #define HAVE_DECL_FGETC_UNLOCKED 1
5938 cat >>confdefs.h
<<_ACEOF
5939 #define HAVE_DECL_FGETC_UNLOCKED 0
5944 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
5945 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
5946 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 cat >conftest.
$ac_ext <<_ACEOF
5952 cat confdefs.h
>>conftest.
$ac_ext
5953 cat >>conftest.
$ac_ext <<_ACEOF
5954 /* end confdefs.h. */
5955 $ac_includes_default
5959 #ifndef fgets_unlocked
5960 char *p = (char *) fgets_unlocked;
5967 rm -f conftest.
$ac_objext
5968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5969 (eval $ac_compile) 2>conftest.er1
5971 grep -v '^ *+' conftest.er1
>conftest.err
5973 cat conftest.err
>&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); } &&
5976 { ac_try
='test -z "$ac_c_werror_flag"
5977 || test ! -s conftest.err'
5978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); }; } &&
5983 { ac_try
='test -s conftest.$ac_objext'
5984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); }; }; then
5989 ac_cv_have_decl_fgets_unlocked
=yes
5991 echo "$as_me: failed program was:" >&5
5992 sed 's/^/| /' conftest.
$ac_ext >&5
5994 ac_cv_have_decl_fgets_unlocked
=no
5996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5998 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
5999 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
6000 if test $ac_cv_have_decl_fgets_unlocked = yes; then
6002 cat >>confdefs.h
<<_ACEOF
6003 #define HAVE_DECL_FGETS_UNLOCKED 1
6008 cat >>confdefs.h
<<_ACEOF
6009 #define HAVE_DECL_FGETS_UNLOCKED 0
6014 echo "$as_me:$LINENO: checking whether fileno_unlocked is declared" >&5
6015 echo $ECHO_N "checking whether fileno_unlocked is declared... $ECHO_C" >&6
6016 if test "${ac_cv_have_decl_fileno_unlocked+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6019 cat >conftest.
$ac_ext <<_ACEOF
6022 cat confdefs.h
>>conftest.
$ac_ext
6023 cat >>conftest.
$ac_ext <<_ACEOF
6024 /* end confdefs.h. */
6025 $ac_includes_default
6029 #ifndef fileno_unlocked
6030 char *p = (char *) fileno_unlocked;
6037 rm -f conftest.
$ac_objext
6038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6039 (eval $ac_compile) 2>conftest.er1
6041 grep -v '^ *+' conftest.er1
>conftest.err
6043 cat conftest.err
>&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); } &&
6046 { ac_try
='test -z "$ac_c_werror_flag"
6047 || test ! -s conftest.err'
6048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); }; } &&
6053 { ac_try
='test -s conftest.$ac_objext'
6054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); }; }; then
6059 ac_cv_have_decl_fileno_unlocked
=yes
6061 echo "$as_me: failed program was:" >&5
6062 sed 's/^/| /' conftest.
$ac_ext >&5
6064 ac_cv_have_decl_fileno_unlocked
=no
6066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6068 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fileno_unlocked" >&5
6069 echo "${ECHO_T}$ac_cv_have_decl_fileno_unlocked" >&6
6070 if test $ac_cv_have_decl_fileno_unlocked = yes; then
6072 cat >>confdefs.h
<<_ACEOF
6073 #define HAVE_DECL_FILENO_UNLOCKED 1
6078 cat >>confdefs.h
<<_ACEOF
6079 #define HAVE_DECL_FILENO_UNLOCKED 0
6084 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
6085 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
6086 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
6087 echo $ECHO_N "(cached) $ECHO_C" >&6
6089 cat >conftest.
$ac_ext <<_ACEOF
6092 cat confdefs.h
>>conftest.
$ac_ext
6093 cat >>conftest.
$ac_ext <<_ACEOF
6094 /* end confdefs.h. */
6095 $ac_includes_default
6099 #ifndef fprintf_unlocked
6100 char *p = (char *) fprintf_unlocked;
6107 rm -f conftest.
$ac_objext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6109 (eval $ac_compile) 2>conftest.er1
6111 grep -v '^ *+' conftest.er1
>conftest.err
6113 cat conftest.err
>&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); } &&
6116 { ac_try
='test -z "$ac_c_werror_flag"
6117 || test ! -s conftest.err'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; } &&
6123 { ac_try
='test -s conftest.$ac_objext'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 ac_cv_have_decl_fprintf_unlocked
=yes
6131 echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.
$ac_ext >&5
6134 ac_cv_have_decl_fprintf_unlocked
=no
6136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6138 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
6139 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
6140 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
6142 cat >>confdefs.h
<<_ACEOF
6143 #define HAVE_DECL_FPRINTF_UNLOCKED 1
6148 cat >>confdefs.h
<<_ACEOF
6149 #define HAVE_DECL_FPRINTF_UNLOCKED 0
6154 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
6155 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
6156 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 cat >conftest.
$ac_ext <<_ACEOF
6162 cat confdefs.h
>>conftest.
$ac_ext
6163 cat >>conftest.
$ac_ext <<_ACEOF
6164 /* end confdefs.h. */
6165 $ac_includes_default
6169 #ifndef fputc_unlocked
6170 char *p = (char *) fputc_unlocked;
6177 rm -f conftest.
$ac_objext
6178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6179 (eval $ac_compile) 2>conftest.er1
6181 grep -v '^ *+' conftest.er1
>conftest.err
6183 cat conftest.err
>&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); } &&
6186 { ac_try
='test -z "$ac_c_werror_flag"
6187 || test ! -s conftest.err'
6188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; } &&
6193 { ac_try
='test -s conftest.$ac_objext'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; }; then
6199 ac_cv_have_decl_fputc_unlocked
=yes
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.
$ac_ext >&5
6204 ac_cv_have_decl_fputc_unlocked
=no
6206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6208 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
6209 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
6210 if test $ac_cv_have_decl_fputc_unlocked = yes; then
6212 cat >>confdefs.h
<<_ACEOF
6213 #define HAVE_DECL_FPUTC_UNLOCKED 1
6218 cat >>confdefs.h
<<_ACEOF
6219 #define HAVE_DECL_FPUTC_UNLOCKED 0
6224 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
6225 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
6226 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
6227 echo $ECHO_N "(cached) $ECHO_C" >&6
6229 cat >conftest.
$ac_ext <<_ACEOF
6232 cat confdefs.h
>>conftest.
$ac_ext
6233 cat >>conftest.
$ac_ext <<_ACEOF
6234 /* end confdefs.h. */
6235 $ac_includes_default
6239 #ifndef fputs_unlocked
6240 char *p = (char *) fputs_unlocked;
6247 rm -f conftest.
$ac_objext
6248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6249 (eval $ac_compile) 2>conftest.er1
6251 grep -v '^ *+' conftest.er1
>conftest.err
6253 cat conftest.err
>&5
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); } &&
6256 { ac_try
='test -z "$ac_c_werror_flag"
6257 || test ! -s conftest.err'
6258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); }; } &&
6263 { ac_try
='test -s conftest.$ac_objext'
6264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); }; }; then
6269 ac_cv_have_decl_fputs_unlocked
=yes
6271 echo "$as_me: failed program was:" >&5
6272 sed 's/^/| /' conftest.
$ac_ext >&5
6274 ac_cv_have_decl_fputs_unlocked
=no
6276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6278 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
6279 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
6280 if test $ac_cv_have_decl_fputs_unlocked = yes; then
6282 cat >>confdefs.h
<<_ACEOF
6283 #define HAVE_DECL_FPUTS_UNLOCKED 1
6288 cat >>confdefs.h
<<_ACEOF
6289 #define HAVE_DECL_FPUTS_UNLOCKED 0
6294 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
6295 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
6296 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
6297 echo $ECHO_N "(cached) $ECHO_C" >&6
6299 cat >conftest.
$ac_ext <<_ACEOF
6302 cat confdefs.h
>>conftest.
$ac_ext
6303 cat >>conftest.
$ac_ext <<_ACEOF
6304 /* end confdefs.h. */
6305 $ac_includes_default
6309 #ifndef fread_unlocked
6310 char *p = (char *) fread_unlocked;
6317 rm -f conftest.
$ac_objext
6318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6319 (eval $ac_compile) 2>conftest.er1
6321 grep -v '^ *+' conftest.er1
>conftest.err
6323 cat conftest.err
>&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); } &&
6326 { ac_try
='test -z "$ac_c_werror_flag"
6327 || test ! -s conftest.err'
6328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); }; } &&
6333 { ac_try
='test -s conftest.$ac_objext'
6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }; }; then
6339 ac_cv_have_decl_fread_unlocked
=yes
6341 echo "$as_me: failed program was:" >&5
6342 sed 's/^/| /' conftest.
$ac_ext >&5
6344 ac_cv_have_decl_fread_unlocked
=no
6346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6348 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
6349 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
6350 if test $ac_cv_have_decl_fread_unlocked = yes; then
6352 cat >>confdefs.h
<<_ACEOF
6353 #define HAVE_DECL_FREAD_UNLOCKED 1
6358 cat >>confdefs.h
<<_ACEOF
6359 #define HAVE_DECL_FREAD_UNLOCKED 0
6364 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
6365 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
6366 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
6367 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 cat >conftest.
$ac_ext <<_ACEOF
6372 cat confdefs.h
>>conftest.
$ac_ext
6373 cat >>conftest.
$ac_ext <<_ACEOF
6374 /* end confdefs.h. */
6375 $ac_includes_default
6379 #ifndef fwrite_unlocked
6380 char *p = (char *) fwrite_unlocked;
6387 rm -f conftest.
$ac_objext
6388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6389 (eval $ac_compile) 2>conftest.er1
6391 grep -v '^ *+' conftest.er1
>conftest.err
6393 cat conftest.err
>&5
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); } &&
6396 { ac_try
='test -z "$ac_c_werror_flag"
6397 || test ! -s conftest.err'
6398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402 (exit $ac_status); }; } &&
6403 { ac_try
='test -s conftest.$ac_objext'
6404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408 (exit $ac_status); }; }; then
6409 ac_cv_have_decl_fwrite_unlocked
=yes
6411 echo "$as_me: failed program was:" >&5
6412 sed 's/^/| /' conftest.
$ac_ext >&5
6414 ac_cv_have_decl_fwrite_unlocked
=no
6416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6418 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
6419 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
6420 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
6422 cat >>confdefs.h
<<_ACEOF
6423 #define HAVE_DECL_FWRITE_UNLOCKED 1
6428 cat >>confdefs.h
<<_ACEOF
6429 #define HAVE_DECL_FWRITE_UNLOCKED 0
6434 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
6435 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
6436 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
6437 echo $ECHO_N "(cached) $ECHO_C" >&6
6439 cat >conftest.
$ac_ext <<_ACEOF
6442 cat confdefs.h
>>conftest.
$ac_ext
6443 cat >>conftest.
$ac_ext <<_ACEOF
6444 /* end confdefs.h. */
6445 $ac_includes_default
6449 #ifndef getchar_unlocked
6450 char *p = (char *) getchar_unlocked;
6457 rm -f conftest.
$ac_objext
6458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6459 (eval $ac_compile) 2>conftest.er1
6461 grep -v '^ *+' conftest.er1
>conftest.err
6463 cat conftest.err
>&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); } &&
6466 { ac_try
='test -z "$ac_c_werror_flag"
6467 || test ! -s conftest.err'
6468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); }; } &&
6473 { ac_try
='test -s conftest.$ac_objext'
6474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478 (exit $ac_status); }; }; then
6479 ac_cv_have_decl_getchar_unlocked
=yes
6481 echo "$as_me: failed program was:" >&5
6482 sed 's/^/| /' conftest.
$ac_ext >&5
6484 ac_cv_have_decl_getchar_unlocked
=no
6486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6488 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
6489 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
6490 if test $ac_cv_have_decl_getchar_unlocked = yes; then
6492 cat >>confdefs.h
<<_ACEOF
6493 #define HAVE_DECL_GETCHAR_UNLOCKED 1
6498 cat >>confdefs.h
<<_ACEOF
6499 #define HAVE_DECL_GETCHAR_UNLOCKED 0
6504 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
6505 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
6506 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
6507 echo $ECHO_N "(cached) $ECHO_C" >&6
6509 cat >conftest.
$ac_ext <<_ACEOF
6512 cat confdefs.h
>>conftest.
$ac_ext
6513 cat >>conftest.
$ac_ext <<_ACEOF
6514 /* end confdefs.h. */
6515 $ac_includes_default
6519 #ifndef getc_unlocked
6520 char *p = (char *) getc_unlocked;
6527 rm -f conftest.
$ac_objext
6528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6529 (eval $ac_compile) 2>conftest.er1
6531 grep -v '^ *+' conftest.er1
>conftest.err
6533 cat conftest.err
>&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); } &&
6536 { ac_try
='test -z "$ac_c_werror_flag"
6537 || test ! -s conftest.err'
6538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); }; } &&
6543 { ac_try
='test -s conftest.$ac_objext'
6544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); }; }; then
6549 ac_cv_have_decl_getc_unlocked
=yes
6551 echo "$as_me: failed program was:" >&5
6552 sed 's/^/| /' conftest.
$ac_ext >&5
6554 ac_cv_have_decl_getc_unlocked
=no
6556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6558 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
6559 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
6560 if test $ac_cv_have_decl_getc_unlocked = yes; then
6562 cat >>confdefs.h
<<_ACEOF
6563 #define HAVE_DECL_GETC_UNLOCKED 1
6568 cat >>confdefs.h
<<_ACEOF
6569 #define HAVE_DECL_GETC_UNLOCKED 0
6574 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
6575 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
6576 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
6577 echo $ECHO_N "(cached) $ECHO_C" >&6
6579 cat >conftest.
$ac_ext <<_ACEOF
6582 cat confdefs.h
>>conftest.
$ac_ext
6583 cat >>conftest.
$ac_ext <<_ACEOF
6584 /* end confdefs.h. */
6585 $ac_includes_default
6589 #ifndef putchar_unlocked
6590 char *p = (char *) putchar_unlocked;
6597 rm -f conftest.
$ac_objext
6598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6599 (eval $ac_compile) 2>conftest.er1
6601 grep -v '^ *+' conftest.er1
>conftest.err
6603 cat conftest.err
>&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); } &&
6606 { ac_try
='test -z "$ac_c_werror_flag"
6607 || test ! -s conftest.err'
6608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); }; } &&
6613 { ac_try
='test -s conftest.$ac_objext'
6614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; }; then
6619 ac_cv_have_decl_putchar_unlocked
=yes
6621 echo "$as_me: failed program was:" >&5
6622 sed 's/^/| /' conftest.
$ac_ext >&5
6624 ac_cv_have_decl_putchar_unlocked
=no
6626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6628 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
6629 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
6630 if test $ac_cv_have_decl_putchar_unlocked = yes; then
6632 cat >>confdefs.h
<<_ACEOF
6633 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
6638 cat >>confdefs.h
<<_ACEOF
6639 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
6644 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
6645 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
6646 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
6647 echo $ECHO_N "(cached) $ECHO_C" >&6
6649 cat >conftest.
$ac_ext <<_ACEOF
6652 cat confdefs.h
>>conftest.
$ac_ext
6653 cat >>conftest.
$ac_ext <<_ACEOF
6654 /* end confdefs.h. */
6655 $ac_includes_default
6659 #ifndef putc_unlocked
6660 char *p = (char *) putc_unlocked;
6667 rm -f conftest.
$ac_objext
6668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6669 (eval $ac_compile) 2>conftest.er1
6671 grep -v '^ *+' conftest.er1
>conftest.err
6673 cat conftest.err
>&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); } &&
6676 { ac_try
='test -z "$ac_c_werror_flag"
6677 || test ! -s conftest.err'
6678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); }; } &&
6683 { ac_try
='test -s conftest.$ac_objext'
6684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); }; }; then
6689 ac_cv_have_decl_putc_unlocked
=yes
6691 echo "$as_me: failed program was:" >&5
6692 sed 's/^/| /' conftest.
$ac_ext >&5
6694 ac_cv_have_decl_putc_unlocked
=no
6696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6698 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
6699 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
6700 if test $ac_cv_have_decl_putc_unlocked = yes; then
6702 cat >>confdefs.h
<<_ACEOF
6703 #define HAVE_DECL_PUTC_UNLOCKED 1
6708 cat >>confdefs.h
<<_ACEOF
6709 #define HAVE_DECL_PUTC_UNLOCKED 0
6714 echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
6715 echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
6716 if test "${ac_cv_have_decl_vasprintf+set}" = set; then
6717 echo $ECHO_N "(cached) $ECHO_C" >&6
6719 cat >conftest.
$ac_ext <<_ACEOF
6722 cat confdefs.h
>>conftest.
$ac_ext
6723 cat >>conftest.
$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 $ac_includes_default
6730 char *p = (char *) vasprintf;
6737 rm -f conftest.
$ac_objext
6738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6739 (eval $ac_compile) 2>conftest.er1
6741 grep -v '^ *+' conftest.er1
>conftest.err
6743 cat conftest.err
>&5
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); } &&
6746 { ac_try
='test -z "$ac_c_werror_flag"
6747 || test ! -s conftest.err'
6748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); }; } &&
6753 { ac_try
='test -s conftest.$ac_objext'
6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); }; }; then
6759 ac_cv_have_decl_vasprintf
=yes
6761 echo "$as_me: failed program was:" >&5
6762 sed 's/^/| /' conftest.
$ac_ext >&5
6764 ac_cv_have_decl_vasprintf
=no
6766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6768 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
6769 echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
6770 if test $ac_cv_have_decl_vasprintf = yes; then
6772 cat >>confdefs.h
<<_ACEOF
6773 #define HAVE_DECL_VASPRINTF 1
6778 cat >>confdefs.h
<<_ACEOF
6779 #define HAVE_DECL_VASPRINTF 0
6787 # Checks for library functions.
6788 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6789 # for constant arguments. Useless!
6790 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6791 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6792 if test "${ac_cv_working_alloca_h+set}" = set; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6795 cat >conftest.
$ac_ext <<_ACEOF
6798 cat confdefs.h
>>conftest.
$ac_ext
6799 cat >>conftest.
$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6805 char *p = (char *) alloca (2 * sizeof (int));
6810 rm -f conftest.
$ac_objext conftest
$ac_exeext
6811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6812 (eval $ac_link) 2>conftest.er1
6814 grep -v '^ *+' conftest.er1
>conftest.err
6816 cat conftest.err
>&5
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); } &&
6819 { ac_try
='test -z "$ac_c_werror_flag"
6820 || test ! -s conftest.err'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; } &&
6826 { ac_try
='test -s conftest$ac_exeext'
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; }; then
6832 ac_cv_working_alloca_h
=yes
6834 echo "$as_me: failed program was:" >&5
6835 sed 's/^/| /' conftest.
$ac_ext >&5
6837 ac_cv_working_alloca_h
=no
6839 rm -f conftest.err conftest.
$ac_objext \
6840 conftest
$ac_exeext conftest.
$ac_ext
6842 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6843 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6844 if test $ac_cv_working_alloca_h = yes; then
6846 cat >>confdefs.h
<<\_ACEOF
6847 #define HAVE_ALLOCA_H 1
6852 echo "$as_me:$LINENO: checking for alloca" >&5
6853 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6854 if test "${ac_cv_func_alloca_works+set}" = set; then
6855 echo $ECHO_N "(cached) $ECHO_C" >&6
6857 cat >conftest.
$ac_ext <<_ACEOF
6860 cat confdefs.h
>>conftest.
$ac_ext
6861 cat >>conftest.
$ac_ext <<_ACEOF
6862 /* end confdefs.h. */
6864 # define alloca __builtin_alloca
6867 # include <malloc.h>
6868 # define alloca _alloca
6871 # include <alloca.h>
6876 # ifndef alloca /* predefined by HP cc +Olibcalls */
6887 char *p = (char *) alloca (1);
6892 rm -f conftest.
$ac_objext conftest
$ac_exeext
6893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6894 (eval $ac_link) 2>conftest.er1
6896 grep -v '^ *+' conftest.er1
>conftest.err
6898 cat conftest.err
>&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); } &&
6901 { ac_try
='test -z "$ac_c_werror_flag"
6902 || test ! -s conftest.err'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); }; } &&
6908 { ac_try
='test -s conftest$ac_exeext'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; }; then
6914 ac_cv_func_alloca_works
=yes
6916 echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.
$ac_ext >&5
6919 ac_cv_func_alloca_works
=no
6921 rm -f conftest.err conftest.
$ac_objext \
6922 conftest
$ac_exeext conftest.
$ac_ext
6924 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6925 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6927 if test $ac_cv_func_alloca_works = yes; then
6929 cat >>confdefs.h
<<\_ACEOF
6930 #define HAVE_ALLOCA 1
6934 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6935 # that cause trouble. Some versions do not even contain alloca or
6936 # contain a buggy version. If you still want to use their alloca,
6937 # use ar to extract alloca.o from them instead of compiling alloca.c.
6939 ALLOCA
=alloca.
$ac_objext
6941 cat >>confdefs.h
<<\_ACEOF
6946 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6947 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6948 if test "${ac_cv_os_cray+set}" = set; then
6949 echo $ECHO_N "(cached) $ECHO_C" >&6
6951 cat >conftest.
$ac_ext <<_ACEOF
6954 cat confdefs.h
>>conftest.
$ac_ext
6955 cat >>conftest.
$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 #if defined(CRAY) && ! defined(CRAY2)
6964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6965 $EGREP "webecray" >/dev
/null
2>&1; then
6973 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6974 echo "${ECHO_T}$ac_cv_os_cray" >&6
6975 if test $ac_cv_os_cray = yes; then
6976 for ac_func
in _getb67 GETB67 getb67
; do
6977 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6978 echo "$as_me:$LINENO: checking for $ac_func" >&5
6979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6980 if eval "test \"\${$as_ac_var+set}\" = set"; then
6981 echo $ECHO_N "(cached) $ECHO_C" >&6
6983 cat >conftest.
$ac_ext <<_ACEOF
6986 cat confdefs.h
>>conftest.
$ac_ext
6987 cat >>conftest.
$ac_ext <<_ACEOF
6988 /* end confdefs.h. */
6989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6991 #define $ac_func innocuous_$ac_func
6993 /* System header to define __stub macros and hopefully few prototypes,
6994 which can conflict with char $ac_func (); below.
6995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6996 <limits.h> exists even on freestanding compilers. */
6999 # include <limits.h>
7001 # include <assert.h>
7006 /* Override any gcc2 internal prototype to avoid an error. */
7011 /* We use char because int might match the return type of a gcc2
7012 builtin and then its argument prototype would still apply. */
7014 /* The GNU C library defines this for functions which it implements
7015 to always fail with ENOSYS. Some functions are actually named
7016 something starting with __ and the normal name is an alias. */
7017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7020 char (*f) () = $ac_func;
7029 return f != $ac_func;
7034 rm -f conftest.
$ac_objext conftest
$ac_exeext
7035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7036 (eval $ac_link) 2>conftest.er1
7038 grep -v '^ *+' conftest.er1
>conftest.err
7040 cat conftest.err
>&5
7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); } &&
7043 { ac_try
='test -z "$ac_c_werror_flag"
7044 || test ! -s conftest.err'
7045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049 (exit $ac_status); }; } &&
7050 { ac_try
='test -s conftest$ac_exeext'
7051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); }; }; then
7056 eval "$as_ac_var=yes"
7058 echo "$as_me: failed program was:" >&5
7059 sed 's/^/| /' conftest.
$ac_ext >&5
7061 eval "$as_ac_var=no"
7063 rm -f conftest.err conftest.
$ac_objext \
7064 conftest
$ac_exeext conftest.
$ac_ext
7066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7068 if test `eval echo '${'$as_ac_var'}'` = yes; then
7070 cat >>confdefs.h
<<_ACEOF
7071 #define CRAY_STACKSEG_END $ac_func
7080 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7081 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7082 if test "${ac_cv_c_stack_direction+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 if test "$cross_compiling" = yes; then
7086 ac_cv_c_stack_direction
=0
7088 cat >conftest.
$ac_ext <<_ACEOF
7091 cat confdefs.h
>>conftest.
$ac_ext
7092 cat >>conftest.
$ac_ext <<_ACEOF
7093 /* end confdefs.h. */
7095 find_stack_direction ()
7097 static char *addr = 0;
7102 return find_stack_direction ();
7105 return (&dummy > addr) ? 1 : -1;
7111 exit (find_stack_direction () < 0);
7114 rm -f conftest
$ac_exeext
7115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7116 (eval $ac_link) 2>&5
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); }; }; then
7125 ac_cv_c_stack_direction
=1
7127 echo "$as_me: program exited with status $ac_status" >&5
7128 echo "$as_me: failed program was:" >&5
7129 sed 's/^/| /' conftest.
$ac_ext >&5
7132 ac_cv_c_stack_direction
=-1
7134 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7137 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7138 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7140 cat >>confdefs.h
<<_ACEOF
7141 #define STACK_DIRECTION $ac_cv_c_stack_direction
7147 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7148 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7149 if test "${ac_cv_header_stdc+set}" = set; then
7150 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 cat >conftest.
$ac_ext <<_ACEOF
7155 cat confdefs.h
>>conftest.
$ac_ext
7156 cat >>conftest.
$ac_ext <<_ACEOF
7157 /* end confdefs.h. */
7171 rm -f conftest.
$ac_objext
7172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7173 (eval $ac_compile) 2>conftest.er1
7175 grep -v '^ *+' conftest.er1
>conftest.err
7177 cat conftest.err
>&5
7178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179 (exit $ac_status); } &&
7180 { ac_try
='test -z "$ac_c_werror_flag"
7181 || test ! -s conftest.err'
7182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); }; } &&
7187 { ac_try
='test -s conftest.$ac_objext'
7188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); }; }; then
7193 ac_cv_header_stdc
=yes
7195 echo "$as_me: failed program was:" >&5
7196 sed 's/^/| /' conftest.
$ac_ext >&5
7198 ac_cv_header_stdc
=no
7200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7202 if test $ac_cv_header_stdc = yes; then
7203 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7204 cat >conftest.
$ac_ext <<_ACEOF
7207 cat confdefs.h
>>conftest.
$ac_ext
7208 cat >>conftest.
$ac_ext <<_ACEOF
7209 /* end confdefs.h. */
7213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7214 $EGREP "memchr" >/dev
/null
2>&1; then
7217 ac_cv_header_stdc
=no
7223 if test $ac_cv_header_stdc = yes; then
7224 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7225 cat >conftest.
$ac_ext <<_ACEOF
7228 cat confdefs.h
>>conftest.
$ac_ext
7229 cat >>conftest.
$ac_ext <<_ACEOF
7230 /* end confdefs.h. */
7234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7235 $EGREP "free" >/dev
/null
2>&1; then
7238 ac_cv_header_stdc
=no
7244 if test $ac_cv_header_stdc = yes; then
7245 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7246 if test "$cross_compiling" = yes; then
7249 cat >conftest.
$ac_ext <<_ACEOF
7252 cat confdefs.h
>>conftest.
$ac_ext
7253 cat >>conftest.
$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7256 #if ((' ' & 0x0FF) == 0x020)
7257 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7258 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7260 # define ISLOWER(c) \
7261 (('a' <= (c) && (c) <= 'i') \
7262 || ('j' <= (c) && (c) <= 'r') \
7263 || ('s' <= (c) && (c) <= 'z'))
7264 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7267 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7272 for (i = 0; i < 256; i++)
7273 if (XOR (islower (i), ISLOWER (i))
7274 || toupper (i) != TOUPPER (i))
7279 rm -f conftest
$ac_exeext
7280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7281 (eval $ac_link) 2>&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289 (exit $ac_status); }; }; then
7292 echo "$as_me: program exited with status $ac_status" >&5
7293 echo "$as_me: failed program was:" >&5
7294 sed 's/^/| /' conftest.
$ac_ext >&5
7297 ac_cv_header_stdc
=no
7299 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7303 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7304 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7305 if test $ac_cv_header_stdc = yes; then
7307 cat >>confdefs.h
<<\_ACEOF
7308 #define STDC_HEADERS 1
7313 # Check whether --enable-largefile or --disable-largefile was given.
7314 if test "${enable_largefile+set}" = set; then
7315 enableval
="$enable_largefile"
7318 if test "$enable_largefile" != no
; then
7320 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
7321 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
7322 if test "${ac_cv_sys_largefile_CC+set}" = set; then
7323 echo $ECHO_N "(cached) $ECHO_C" >&6
7325 ac_cv_sys_largefile_CC
=no
7326 if test "$GCC" != yes; then
7329 # IRIX 6.2 and later do not support large files by default,
7330 # so use the C compiler's -n32 option if that helps.
7331 cat >conftest.
$ac_ext <<_ACEOF
7334 cat confdefs.h
>>conftest.
$ac_ext
7335 cat >>conftest.
$ac_ext <<_ACEOF
7336 /* end confdefs.h. */
7337 #include <sys/types.h>
7338 /* Check that off_t can represent 2**63 - 1 correctly.
7339 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7340 since some C++ compilers masquerading as C compilers
7341 incorrectly reject 9223372036854775807. */
7342 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7343 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7344 && LARGE_OFF_T % 2147483647 == 1)
7354 rm -f conftest.
$ac_objext
7355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7356 (eval $ac_compile) 2>conftest.er1
7358 grep -v '^ *+' conftest.er1
>conftest.err
7360 cat conftest.err
>&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } &&
7363 { ac_try
='test -z "$ac_c_werror_flag"
7364 || test ! -s conftest.err'
7365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); }; } &&
7370 { ac_try
='test -s conftest.$ac_objext'
7371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); }; }; then
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.
$ac_ext >&5
7382 rm -f conftest.err conftest.
$ac_objext
7384 rm -f conftest.
$ac_objext
7385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7386 (eval $ac_compile) 2>conftest.er1
7388 grep -v '^ *+' conftest.er1
>conftest.err
7390 cat conftest.err
>&5
7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392 (exit $ac_status); } &&
7393 { ac_try
='test -z "$ac_c_werror_flag"
7394 || test ! -s conftest.err'
7395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7399 (exit $ac_status); }; } &&
7400 { ac_try
='test -s conftest.$ac_objext'
7401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); }; }; then
7406 ac_cv_sys_largefile_CC
=' -n32'; break
7408 echo "$as_me: failed program was:" >&5
7409 sed 's/^/| /' conftest.
$ac_ext >&5
7412 rm -f conftest.err conftest.
$ac_objext
7416 rm -f conftest.
$ac_ext
7419 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
7420 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
7421 if test "$ac_cv_sys_largefile_CC" != no
; then
7422 CC
=$CC$ac_cv_sys_largefile_CC
7425 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7426 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
7427 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
7428 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 ac_cv_sys_file_offset_bits
=no
7432 cat >conftest.
$ac_ext <<_ACEOF
7435 cat confdefs.h
>>conftest.
$ac_ext
7436 cat >>conftest.
$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 #include <sys/types.h>
7439 /* Check that off_t can represent 2**63 - 1 correctly.
7440 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7441 since some C++ compilers masquerading as C compilers
7442 incorrectly reject 9223372036854775807. */
7443 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7444 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7445 && LARGE_OFF_T % 2147483647 == 1)
7455 rm -f conftest.
$ac_objext
7456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7457 (eval $ac_compile) 2>conftest.er1
7459 grep -v '^ *+' conftest.er1
>conftest.err
7461 cat conftest.err
>&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); } &&
7464 { ac_try
='test -z "$ac_c_werror_flag"
7465 || test ! -s conftest.err'
7466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7470 (exit $ac_status); }; } &&
7471 { ac_try
='test -s conftest.$ac_objext'
7472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); }; }; then
7479 echo "$as_me: failed program was:" >&5
7480 sed 's/^/| /' conftest.
$ac_ext >&5
7483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7484 cat >conftest.
$ac_ext <<_ACEOF
7487 cat confdefs.h
>>conftest.
$ac_ext
7488 cat >>conftest.
$ac_ext <<_ACEOF
7489 /* end confdefs.h. */
7490 #define _FILE_OFFSET_BITS 64
7491 #include <sys/types.h>
7492 /* Check that off_t can represent 2**63 - 1 correctly.
7493 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7494 since some C++ compilers masquerading as C compilers
7495 incorrectly reject 9223372036854775807. */
7496 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7497 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7498 && LARGE_OFF_T % 2147483647 == 1)
7508 rm -f conftest.
$ac_objext
7509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7510 (eval $ac_compile) 2>conftest.er1
7512 grep -v '^ *+' conftest.er1
>conftest.err
7514 cat conftest.err
>&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } &&
7517 { ac_try
='test -z "$ac_c_werror_flag"
7518 || test ! -s conftest.err'
7519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523 (exit $ac_status); }; } &&
7524 { ac_try
='test -s conftest.$ac_objext'
7525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); }; }; then
7530 ac_cv_sys_file_offset_bits
=64; break
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.
$ac_ext >&5
7536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7540 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
7541 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
7542 if test "$ac_cv_sys_file_offset_bits" != no
; then
7544 cat >>confdefs.h
<<_ACEOF
7545 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7550 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
7551 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
7552 if test "${ac_cv_sys_large_files+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7556 ac_cv_sys_large_files
=no
7557 cat >conftest.
$ac_ext <<_ACEOF
7560 cat confdefs.h
>>conftest.
$ac_ext
7561 cat >>conftest.
$ac_ext <<_ACEOF
7562 /* end confdefs.h. */
7563 #include <sys/types.h>
7564 /* Check that off_t can represent 2**63 - 1 correctly.
7565 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7566 since some C++ compilers masquerading as C compilers
7567 incorrectly reject 9223372036854775807. */
7568 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7569 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7570 && LARGE_OFF_T % 2147483647 == 1)
7580 rm -f conftest.
$ac_objext
7581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7582 (eval $ac_compile) 2>conftest.er1
7584 grep -v '^ *+' conftest.er1
>conftest.err
7586 cat conftest.err
>&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); } &&
7589 { ac_try
='test -z "$ac_c_werror_flag"
7590 || test ! -s conftest.err'
7591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); }; } &&
7596 { ac_try
='test -s conftest.$ac_objext'
7597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 (exit $ac_status); }; }; then
7604 echo "$as_me: failed program was:" >&5
7605 sed 's/^/| /' conftest.
$ac_ext >&5
7608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7609 cat >conftest.
$ac_ext <<_ACEOF
7612 cat confdefs.h
>>conftest.
$ac_ext
7613 cat >>conftest.
$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7615 #define _LARGE_FILES 1
7616 #include <sys/types.h>
7617 /* Check that off_t can represent 2**63 - 1 correctly.
7618 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7619 since some C++ compilers masquerading as C compilers
7620 incorrectly reject 9223372036854775807. */
7621 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7622 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7623 && LARGE_OFF_T % 2147483647 == 1)
7633 rm -f conftest.
$ac_objext
7634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7635 (eval $ac_compile) 2>conftest.er1
7637 grep -v '^ *+' conftest.er1
>conftest.err
7639 cat conftest.err
>&5
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); } &&
7642 { ac_try
='test -z "$ac_c_werror_flag"
7643 || test ! -s conftest.err'
7644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 (exit $ac_status); }; } &&
7649 { ac_try
='test -s conftest.$ac_objext'
7650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 (exit $ac_status); }; }; then
7655 ac_cv_sys_large_files
=1; break
7657 echo "$as_me: failed program was:" >&5
7658 sed 's/^/| /' conftest.
$ac_ext >&5
7661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7665 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
7666 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
7667 if test "$ac_cv_sys_large_files" != no
; then
7669 cat >>confdefs.h
<<_ACEOF
7670 #define _LARGE_FILES $ac_cv_sys_large_files
7678 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
7679 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
7680 if test "${am_cv_langinfo_codeset+set}" = set; then
7681 echo $ECHO_N "(cached) $ECHO_C" >&6
7683 cat >conftest.
$ac_ext <<_ACEOF
7686 cat confdefs.h
>>conftest.
$ac_ext
7687 cat >>conftest.
$ac_ext <<_ACEOF
7688 /* end confdefs.h. */
7689 #include <langinfo.h>
7693 char* cs = nl_langinfo(CODESET);
7698 rm -f conftest.
$ac_objext conftest
$ac_exeext
7699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7700 (eval $ac_link) 2>conftest.er1
7702 grep -v '^ *+' conftest.er1
>conftest.err
7704 cat conftest.err
>&5
7705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7706 (exit $ac_status); } &&
7707 { ac_try
='test -z "$ac_c_werror_flag"
7708 || test ! -s conftest.err'
7709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713 (exit $ac_status); }; } &&
7714 { ac_try
='test -s conftest$ac_exeext'
7715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); }; }; then
7720 am_cv_langinfo_codeset
=yes
7722 echo "$as_me: failed program was:" >&5
7723 sed 's/^/| /' conftest.
$ac_ext >&5
7725 am_cv_langinfo_codeset
=no
7727 rm -f conftest.err conftest.
$ac_objext \
7728 conftest
$ac_exeext conftest.
$ac_ext
7731 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
7732 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
7733 if test $am_cv_langinfo_codeset = yes; then
7735 cat >>confdefs.h
<<\_ACEOF
7736 #define HAVE_LANGINFO_CODESET 1
7741 # If we haven't got the data from the intl directory,
7742 # assume NLS is disabled.
7751 if test -f ..
/intl
/config.intl
; then
7752 . ..
/intl
/config.intl
7754 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7755 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7756 if test x
"$USE_NLS" != xyes
; then
7757 echo "$as_me:$LINENO: result: no" >&5
7758 echo "${ECHO_T}no" >&6
7760 echo "$as_me:$LINENO: result: yes" >&5
7761 echo "${ECHO_T}yes" >&6
7763 cat >>confdefs.h
<<\_ACEOF
7764 #define ENABLE_NLS 1
7768 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7769 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7770 # Look for .po and .gmo files in the source directory.
7773 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
7774 # If there aren't any .gmo files the shell will give us the
7775 # literal string "../path/to/srcdir/po/*.gmo" which has to be
7777 case "$cat" in *\
**)
7780 # The quadruple backslash is collapsed to a double backslash
7781 # by the backticks, then collapsed again by the double quotes,
7782 # leaving us with one backslash in the sed expression (right
7783 # before the dot that mustn't act as a wildcard).
7784 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
7785 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
7786 # The user is allowed to set LINGUAS to a list of languages to
7787 # install catalogs for. If it's empty that means "all of them."
7788 if test "x$LINGUAS" = x
; then
7789 CATALOGS
="$CATALOGS $cat"
7790 XLINGUAS
="$XLINGUAS $lang"
7792 case "$LINGUAS" in *$lang*)
7793 CATALOGS
="$CATALOGS $cat"
7794 XLINGUAS
="$XLINGUAS $lang"
7800 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7801 echo "${ECHO_T}$LINGUAS" >&6
7814 echo "$as_me:$LINENO: checking for uchar" >&5
7815 echo $ECHO_N "checking for uchar... $ECHO_C" >&6
7816 if test "${gcc_cv_type_uchar+set}" = set; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 cat >conftest.
$ac_ext <<_ACEOF
7822 cat confdefs.h
>>conftest.
$ac_ext
7823 cat >>conftest.
$ac_ext <<_ACEOF
7824 /* end confdefs.h. */
7826 #include <sys/types.h>
7831 if ((uchar *)0) return 0;
7832 if (sizeof(uchar)) return 0;
7837 rm -f conftest.
$ac_objext
7838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7839 (eval $ac_compile) 2>conftest.er1
7841 grep -v '^ *+' conftest.er1
>conftest.err
7843 cat conftest.err
>&5
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); } &&
7846 { ac_try
='test -z "$ac_c_werror_flag"
7847 || test ! -s conftest.err'
7848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); }; } &&
7853 { ac_try
='test -s conftest.$ac_objext'
7854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); }; }; then
7859 ac_cv_type_uchar
=yes
7861 echo "$as_me: failed program was:" >&5
7862 sed 's/^/| /' conftest.
$ac_ext >&5
7866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7868 echo "$as_me:$LINENO: result: $gcc_cv_type_uchar" >&5
7869 echo "${ECHO_T}$gcc_cv_type_uchar" >&6
7870 if test $ac_cv_type_uchar = yes; then
7872 cat >>confdefs.h
<<\_ACEOF
7873 #define HAVE_UCHAR 1
7879 if test "X$prefix" = "XNONE"; then
7880 acl_final_prefix
="$ac_default_prefix"
7882 acl_final_prefix
="$prefix"
7884 if test "X$exec_prefix" = "XNONE"; then
7885 acl_final_exec_prefix
='${prefix}'
7887 acl_final_exec_prefix
="$exec_prefix"
7889 acl_save_prefix
="$prefix"
7890 prefix
="$acl_final_prefix"
7891 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7892 prefix
="$acl_save_prefix"
7895 # Check whether --with-gnu-ld or --without-gnu-ld was given.
7896 if test "${with_gnu_ld+set}" = set; then
7897 withval
="$with_gnu_ld"
7898 test "$withval" = no || with_gnu_ld
=yes
7902 # Prepare PATH_SEPARATOR.
7903 # The user is always right.
7904 if test "${PATH_SEPARATOR+set}" != set; then
7905 echo "#! /bin/sh" >conf$$.sh
7906 echo "exit 0" >>conf$$.sh
7908 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7916 if test "$GCC" = yes; then
7917 # Check if gcc -print-prog-name=ld gives a path.
7918 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7919 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
7922 # gcc leaves a trailing carriage return which upsets mingw
7923 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7925 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7928 # Accept absolute paths.
7929 [\\/]* |
[A-Za-z
]:[\\/]*)
7930 re_direlt
='/[^/][^/]*/\.\./'
7931 # Canonicalize the path of ld
7932 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
7933 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
7934 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7936 test -z "$LD" && LD
="$ac_prog"
7939 # If it fails, then pretend we aren't using GCC.
7943 # If it is relative, then search for the first ld in PATH.
7947 elif test "$with_gnu_ld" = yes; then
7948 echo "$as_me:$LINENO: checking for GNU ld" >&5
7949 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7951 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7952 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7954 if test "${acl_cv_path_LD+set}" = set; then
7955 echo $ECHO_N "(cached) $ECHO_C" >&6
7957 if test -z "$LD"; then
7958 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7959 for ac_dir
in $PATH; do
7960 test -z "$ac_dir" && ac_dir
=.
7961 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7962 acl_cv_path_LD
="$ac_dir/$ac_prog"
7963 # Check to see if the program is GNU ld. I'd rather use --version,
7964 # but apparently some GNU ld's only accept -v.
7965 # Break only if it was the GNU/non-GNU ld that we prefer.
7966 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
7967 test "$with_gnu_ld" != no
&& break
7969 test "$with_gnu_ld" != yes && break
7975 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7979 LD
="$acl_cv_path_LD"
7980 if test -n "$LD"; then
7981 echo "$as_me:$LINENO: result: $LD" >&5
7982 echo "${ECHO_T}$LD" >&6
7984 echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6
7987 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7988 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7989 { (exit 1); exit 1; }; }
7990 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7991 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7992 if test "${acl_cv_prog_gnu_ld+set}" = set; then
7993 echo $ECHO_N "(cached) $ECHO_C" >&6
7995 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7996 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
7997 acl_cv_prog_gnu_ld
=yes
7999 acl_cv_prog_gnu_ld
=no
8002 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8003 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
8004 with_gnu_ld
=$acl_cv_prog_gnu_ld
8008 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8009 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
8010 if test "${acl_cv_rpath+set}" = set; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8014 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
8015 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8021 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8022 echo "${ECHO_T}$acl_cv_rpath" >&6
8024 libext
="$acl_cv_libext"
8025 shlibext
="$acl_cv_shlibext"
8026 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
8027 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
8028 hardcode_direct
="$acl_cv_hardcode_direct"
8029 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
8030 # Check whether --enable-rpath or --disable-rpath was given.
8031 if test "${enable_rpath+set}" = set; then
8032 enableval
="$enable_rpath"
8046 acl_save_prefix
="$prefix"
8047 prefix
="$acl_final_prefix"
8048 acl_save_exec_prefix
="$exec_prefix"
8049 exec_prefix
="$acl_final_exec_prefix"
8051 eval additional_includedir
=\"$includedir\"
8052 eval additional_libdir
=\"$libdir\"
8054 exec_prefix
="$acl_save_exec_prefix"
8055 prefix
="$acl_save_prefix"
8058 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8059 if test "${with_libiconv_prefix+set}" = set; then
8060 withval
="$with_libiconv_prefix"
8062 if test "X$withval" = "Xno"; then
8065 if test "X$withval" = "X"; then
8067 acl_save_prefix
="$prefix"
8068 prefix
="$acl_final_prefix"
8069 acl_save_exec_prefix
="$exec_prefix"
8070 exec_prefix
="$acl_final_exec_prefix"
8072 eval additional_includedir
=\"$includedir\"
8073 eval additional_libdir
=\"$libdir\"
8075 exec_prefix
="$acl_save_exec_prefix"
8076 prefix
="$acl_save_prefix"
8079 additional_includedir
="$withval/include"
8080 additional_libdir
="$withval/lib"
8090 names_already_handled
=
8091 names_next_round
='iconv '
8092 while test -n "$names_next_round"; do
8093 names_this_round
="$names_next_round"
8095 for name
in $names_this_round; do
8097 for n
in $names_already_handled; do
8098 if test "$n" = "$name"; then
8103 if test -z "$already_handled"; then
8104 names_already_handled
="$names_already_handled $name"
8105 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8106 eval value
=\"\
$HAVE_LIB$uppername\"
8107 if test -n "$value"; then
8108 if test "$value" = yes; then
8109 eval value
=\"\
$LIB$uppername\"
8110 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8111 eval value
=\"\
$LTLIB$uppername\"
8112 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
8121 if test $use_additional = yes; then
8122 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
8123 found_dir
="$additional_libdir"
8124 found_so
="$additional_libdir/lib$name.$shlibext"
8125 if test -f "$additional_libdir/lib$name.la"; then
8126 found_la
="$additional_libdir/lib$name.la"
8129 if test -f "$additional_libdir/lib$name.$libext"; then
8130 found_dir
="$additional_libdir"
8131 found_a
="$additional_libdir/lib$name.$libext"
8132 if test -f "$additional_libdir/lib$name.la"; then
8133 found_la
="$additional_libdir/lib$name.la"
8138 if test "X$found_dir" = "X"; then
8139 for x
in $LDFLAGS $LTLIBICONV; do
8141 acl_save_prefix
="$prefix"
8142 prefix
="$acl_final_prefix"
8143 acl_save_exec_prefix
="$exec_prefix"
8144 exec_prefix
="$acl_final_exec_prefix"
8146 exec_prefix
="$acl_save_exec_prefix"
8147 prefix
="$acl_save_prefix"
8151 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8152 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
8154 found_so
="$dir/lib$name.$shlibext"
8155 if test -f "$dir/lib$name.la"; then
8156 found_la
="$dir/lib$name.la"
8159 if test -f "$dir/lib$name.$libext"; then
8161 found_a
="$dir/lib$name.$libext"
8162 if test -f "$dir/lib$name.la"; then
8163 found_la
="$dir/lib$name.la"
8169 if test "X$found_dir" != "X"; then
8174 if test "X$found_dir" != "X"; then
8175 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
8176 if test "X$found_so" != "X"; then
8177 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
8178 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8181 for x
in $ltrpathdirs; do
8182 if test "X$x" = "X$found_dir"; then
8187 if test -z "$haveit"; then
8188 ltrpathdirs
="$ltrpathdirs $found_dir"
8190 if test "$hardcode_direct" = yes; then
8191 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8193 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
8194 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8196 for x
in $rpathdirs; do
8197 if test "X$x" = "X$found_dir"; then
8202 if test -z "$haveit"; then
8203 rpathdirs
="$rpathdirs $found_dir"
8207 for x
in $LDFLAGS $LIBICONV; do
8209 acl_save_prefix
="$prefix"
8210 prefix
="$acl_final_prefix"
8211 acl_save_exec_prefix
="$exec_prefix"
8212 exec_prefix
="$acl_final_exec_prefix"
8214 exec_prefix
="$acl_save_exec_prefix"
8215 prefix
="$acl_save_prefix"
8217 if test "X$x" = "X-L$found_dir"; then
8222 if test -z "$haveit"; then
8223 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
8225 if test "$hardcode_minus_L" != no
; then
8226 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8228 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8234 if test "X$found_a" != "X"; then
8235 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
8237 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8240 additional_includedir
=
8241 case "$found_dir" in
8243 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
8244 additional_includedir
="$basedir/include"
8247 if test "X$additional_includedir" != "X"; then
8248 if test "X$additional_includedir" != "X/usr/include"; then
8250 if test "X$additional_includedir" = "X/usr/local/include"; then
8251 if test -n "$GCC"; then
8253 linux
*) haveit
=yes;;
8257 if test -z "$haveit"; then
8258 for x
in $CPPFLAGS $INCICONV; do
8260 acl_save_prefix
="$prefix"
8261 prefix
="$acl_final_prefix"
8262 acl_save_exec_prefix
="$exec_prefix"
8263 exec_prefix
="$acl_final_exec_prefix"
8265 exec_prefix
="$acl_save_exec_prefix"
8266 prefix
="$acl_save_prefix"
8268 if test "X$x" = "X-I$additional_includedir"; then
8273 if test -z "$haveit"; then
8274 if test -d "$additional_includedir"; then
8275 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8281 if test -n "$found_la"; then
8282 save_libdir
="$libdir"
8284 */* |
*\\*) .
"$found_la" ;;
8285 *) .
"./$found_la" ;;
8287 libdir
="$save_libdir"
8288 for dep
in $dependency_libs; do
8291 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8292 if test "X$additional_libdir" != "X/usr/lib"; then
8294 if test "X$additional_libdir" = "X/usr/local/lib"; then
8295 if test -n "$GCC"; then
8297 linux
*) haveit
=yes;;
8301 if test -z "$haveit"; then
8303 for x
in $LDFLAGS $LIBICONV; do
8305 acl_save_prefix
="$prefix"
8306 prefix
="$acl_final_prefix"
8307 acl_save_exec_prefix
="$exec_prefix"
8308 exec_prefix
="$acl_final_exec_prefix"
8310 exec_prefix
="$acl_save_exec_prefix"
8311 prefix
="$acl_save_prefix"
8313 if test "X$x" = "X-L$additional_libdir"; then
8318 if test -z "$haveit"; then
8319 if test -d "$additional_libdir"; then
8320 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8324 for x
in $LDFLAGS $LTLIBICONV; do
8326 acl_save_prefix
="$prefix"
8327 prefix
="$acl_final_prefix"
8328 acl_save_exec_prefix
="$exec_prefix"
8329 exec_prefix
="$acl_final_exec_prefix"
8331 exec_prefix
="$acl_save_exec_prefix"
8332 prefix
="$acl_save_prefix"
8334 if test "X$x" = "X-L$additional_libdir"; then
8339 if test -z "$haveit"; then
8340 if test -d "$additional_libdir"; then
8341 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8348 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8349 if test "$enable_rpath" != no
; then
8351 for x
in $rpathdirs; do
8352 if test "X$x" = "X$dir"; then
8357 if test -z "$haveit"; then
8358 rpathdirs
="$rpathdirs $dir"
8361 for x
in $ltrpathdirs; do
8362 if test "X$x" = "X$dir"; then
8367 if test -z "$haveit"; then
8368 ltrpathdirs
="$ltrpathdirs $dir"
8373 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8376 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8379 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
8380 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8386 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8387 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8393 if test "X$rpathdirs" != "X"; then
8394 if test -n "$hardcode_libdir_separator"; then
8396 for found_dir
in $rpathdirs; do
8397 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8399 acl_save_libdir
="$libdir"
8401 eval flag
=\"$hardcode_libdir_flag_spec\"
8402 libdir
="$acl_save_libdir"
8403 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8405 for found_dir
in $rpathdirs; do
8406 acl_save_libdir
="$libdir"
8408 eval flag
=\"$hardcode_libdir_flag_spec\"
8409 libdir
="$acl_save_libdir"
8410 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8414 if test "X$ltrpathdirs" != "X"; then
8415 for found_dir
in $ltrpathdirs; do
8416 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8426 am_save_CPPFLAGS
="$CPPFLAGS"
8428 for element
in $INCICONV; do
8430 for x
in $CPPFLAGS; do
8432 acl_save_prefix
="$prefix"
8433 prefix
="$acl_final_prefix"
8434 acl_save_exec_prefix
="$exec_prefix"
8435 exec_prefix
="$acl_final_exec_prefix"
8437 exec_prefix
="$acl_save_exec_prefix"
8438 prefix
="$acl_save_prefix"
8440 if test "X$x" = "X$element"; then
8445 if test -z "$haveit"; then
8446 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8451 echo "$as_me:$LINENO: checking for iconv" >&5
8452 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
8453 if test "${am_cv_func_iconv+set}" = set; then
8454 echo $ECHO_N "(cached) $ECHO_C" >&6
8457 am_cv_func_iconv
="no, consider installing GNU libiconv"
8459 cat >conftest.
$ac_ext <<_ACEOF
8462 cat confdefs.h
>>conftest.
$ac_ext
8463 cat >>conftest.
$ac_ext <<_ACEOF
8464 /* end confdefs.h. */
8470 iconv_t cd = iconv_open("","");
8471 iconv(cd,NULL,NULL,NULL,NULL);
8477 rm -f conftest.
$ac_objext conftest
$ac_exeext
8478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8479 (eval $ac_link) 2>conftest.er1
8481 grep -v '^ *+' conftest.er1
>conftest.err
8483 cat conftest.err
>&5
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); } &&
8486 { ac_try
='test -z "$ac_c_werror_flag"
8487 || test ! -s conftest.err'
8488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); }; } &&
8493 { ac_try
='test -s conftest$ac_exeext'
8494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); }; }; then
8499 am_cv_func_iconv
=yes
8501 echo "$as_me: failed program was:" >&5
8502 sed 's/^/| /' conftest.
$ac_ext >&5
8505 rm -f conftest.err conftest.
$ac_objext \
8506 conftest
$ac_exeext conftest.
$ac_ext
8507 if test "$am_cv_func_iconv" != yes; then
8508 am_save_LIBS
="$LIBS"
8509 LIBS
="$LIBS $LIBICONV"
8510 cat >conftest.
$ac_ext <<_ACEOF
8513 cat confdefs.h
>>conftest.
$ac_ext
8514 cat >>conftest.
$ac_ext <<_ACEOF
8515 /* end confdefs.h. */
8521 iconv_t cd = iconv_open("","");
8522 iconv(cd,NULL,NULL,NULL,NULL);
8528 rm -f conftest.
$ac_objext conftest
$ac_exeext
8529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8530 (eval $ac_link) 2>conftest.er1
8532 grep -v '^ *+' conftest.er1
>conftest.err
8534 cat conftest.err
>&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); } &&
8537 { ac_try
='test -z "$ac_c_werror_flag"
8538 || test ! -s conftest.err'
8539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); }; } &&
8544 { ac_try
='test -s conftest$ac_exeext'
8545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); }; }; then
8551 am_cv_func_iconv
=yes
8553 echo "$as_me: failed program was:" >&5
8554 sed 's/^/| /' conftest.
$ac_ext >&5
8557 rm -f conftest.err conftest.
$ac_objext \
8558 conftest
$ac_exeext conftest.
$ac_ext
8559 LIBS
="$am_save_LIBS"
8563 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8564 echo "${ECHO_T}$am_cv_func_iconv" >&6
8565 if test "$am_cv_func_iconv" = yes; then
8567 cat >>confdefs.h
<<\_ACEOF
8568 #define HAVE_ICONV 1
8572 if test "$am_cv_lib_iconv" = yes; then
8573 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
8574 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
8575 echo "$as_me:$LINENO: result: $LIBICONV" >&5
8576 echo "${ECHO_T}$LIBICONV" >&6
8578 CPPFLAGS
="$am_save_CPPFLAGS"
8585 if test "$am_cv_func_iconv" = yes; then
8586 echo "$as_me:$LINENO: checking for iconv declaration" >&5
8587 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
8588 if test "${am_cv_proto_iconv+set}" = set; then
8589 echo $ECHO_N "(cached) $ECHO_C" >&6
8592 cat >conftest.
$ac_ext <<_ACEOF
8595 cat confdefs.h
>>conftest.
$ac_ext
8596 cat >>conftest.
$ac_ext <<_ACEOF
8597 /* end confdefs.h. */
8605 #if defined(__STDC__) || defined(__cplusplus)
8606 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8619 rm -f conftest.
$ac_objext
8620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8621 (eval $ac_compile) 2>conftest.er1
8623 grep -v '^ *+' conftest.er1
>conftest.err
8625 cat conftest.err
>&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); } &&
8628 { ac_try
='test -z "$ac_c_werror_flag"
8629 || test ! -s conftest.err'
8630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); }; } &&
8635 { ac_try
='test -s conftest.$ac_objext'
8636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; }; then
8641 am_cv_proto_iconv_arg1
=""
8643 echo "$as_me: failed program was:" >&5
8644 sed 's/^/| /' conftest.
$ac_ext >&5
8646 am_cv_proto_iconv_arg1
="const"
8648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8649 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);"
8652 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8653 echo "$as_me:$LINENO: result: ${ac_t:-
8654 }$am_cv_proto_iconv" >&5
8655 echo "${ECHO_T}${ac_t:-
8656 }$am_cv_proto_iconv" >&6
8658 cat >>confdefs.h
<<_ACEOF
8659 #define ICONV_CONST $am_cv_proto_iconv_arg1
8665 # More defines and substitutions.
8666 PACKAGE
="$PACKAGE_TARNAME"
8668 cat >>confdefs.h
<<_ACEOF
8669 #define PACKAGE "$PACKAGE"
8674 if test "x$enable_nls" != xno
; then
8675 USED_CATALOGS
='$(CATALOGS)'
8681 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8682 if test "${enable_maintainer_mode+set}" = set; then
8683 enableval
="$enable_maintainer_mode"
8686 enable_maintainer_mode
=no
8689 if test "x$enable_maintainer_mode" = xno
; then
8696 # Check whether --enable-checking or --disable-checking was given.
8697 if test "${enable_checking+set}" = set; then
8698 enableval
="$enable_checking"
8704 if test $enable_checking != no
; then
8706 cat >>confdefs.h
<<\_ACEOF
8707 #define ENABLE_CHECKING 1
8716 arm
*-*-symbianelf* | \
8720 i
[34567]86-*-darwin* | \
8721 i
[34567]86-*-solaris2.1
[0-9]* | \
8729 sh
[123456789lbe
]*-*-* | sh-
*-*)
8730 need_64bit_hwint
=yes ;;
8731 i
[34567]86-*-linux*)
8732 if test "x$enable_targets" = xall
; then
8733 need_64bit_hwint
=yes
8739 need_64bit_hwint
=no
;;
8742 case $need_64bit_hwint:$ac_cv_sizeof_long in
8743 *:8 | no
:*) host_wide_int
=long
;;
8744 *) host_wide_int
='long long' ;;
8749 cat >>confdefs.h
<<_ACEOF
8750 #define HOST_WIDE_INT $host_wide_int
8756 ac_config_headers
="$ac_config_headers config.h:config.in"
8758 ac_config_files
="$ac_config_files Makefile"
8760 cat >confcache
<<\_ACEOF
8761 # This file is a shell script that caches the results of configure
8762 # tests run on this system so they can be shared between configure
8763 # scripts and configure runs, see configure's option --config-cache.
8764 # It is not useful on other systems. If it contains results you don't
8765 # want to keep, you may remove or edit it.
8767 # config.status only pays attention to the cache file if you give it
8768 # the --recheck option to rerun configure.
8770 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8771 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8776 # The following way of writing the cache mishandles newlines in values,
8777 # but we know of no workaround that is simple, portable, and efficient.
8778 # So, don't put newlines in cache variables' values.
8779 # Ultrix sh set writes to stderr and can't be redirected directly,
8780 # and sets the high bit in the cache file unless we assign to the vars.
8783 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8785 # `set' does not quote correctly, so add quotes (double-quote
8786 # substitution turns \\\\ into \\, and sed turns \\ into \).
8789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8792 # `set' quotes correctly as required by POSIX, so do not add quotes.
8794 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8801 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8803 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8805 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8806 if test -w $cache_file; then
8807 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8808 cat confcache
>$cache_file
8810 echo "not updating unwritable cache $cache_file"
8815 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8816 # Let make expand exec_prefix.
8817 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8819 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8820 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8821 # trailing colons and then remove the whole line if VPATH becomes empty
8822 # (actually we leave an empty line to preserve line numbers).
8823 if test "x$srcdir" = x.
; then
8824 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8825 s/:*\$(srcdir):*/:/;
8826 s/:*\${srcdir}:*/:/;
8828 s/^\([^=]*=[ ]*\):*/\1/;
8834 DEFS
=-DHAVE_CONFIG_H
8838 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8839 # 1. Remove the extension, and $U if already installed.
8840 ac_i
=`echo "$ac_i" |
8841 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8843 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8844 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8848 LTLIBOBJS
=$ac_ltlibobjs
8852 : ${CONFIG_STATUS=./config.status}
8853 ac_clean_files_save
=$ac_clean_files
8854 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8855 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8856 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8857 cat >$CONFIG_STATUS <<_ACEOF
8859 # Generated by $as_me.
8860 # Run this file to recreate the current configuration.
8861 # Compiler output produced by configure, useful for debugging
8862 # configure, is in config.log if it exists.
8867 SHELL=\${CONFIG_SHELL-$SHELL}
8870 cat >>$CONFIG_STATUS <<\_ACEOF
8871 ## --------------------- ##
8872 ## M4sh Initialization. ##
8873 ## --------------------- ##
8875 # Be Bourne compatible
8876 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8879 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8880 # is contrary to our usage. Disable this feature.
8881 alias -g '${1+"$@"}'='"$@"'
8882 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8885 DUALCASE
=1; export DUALCASE
# for MKS sh
8887 # Support unset when possible.
8888 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8895 # Work around bugs in pre-3.0 UWIN ksh.
8896 $as_unset ENV MAIL MAILPATH
8903 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8904 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8905 LC_TELEPHONE LC_TIME
8907 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8908 eval $as_var=C
; export $as_var
8914 # Required to use basename.
8915 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8921 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8922 as_basename
=basename
8928 # Name of the executable.
8929 as_me
=`$as_basename "$0" ||
8930 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8931 X"$0" : 'X\(//\)$' \| \
8932 X"$0" : 'X\(/\)$' \| \
8933 . : '\(.\)' 2>/dev/null ||
8935 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8936 /^X\/\(\/\/\)$/{ s//\1/; q; }
8937 /^X\/\(\/\).*/{ s//\1/; q; }
8941 # PATH needs CR, and LINENO needs CR and PATH.
8942 # Avoid depending upon Character Ranges.
8943 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8944 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8945 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8946 as_cr_digits
='0123456789'
8947 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8949 # The user is always right.
8950 if test "${PATH_SEPARATOR+set}" != set; then
8951 echo "#! /bin/sh" >conf$$.sh
8952 echo "exit 0" >>conf$$.sh
8954 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8965 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8966 test "x$as_lineno_1" != "x$as_lineno_2" &&
8967 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8968 # Find who we are. Look in the path if we contain no path at all
8971 *[\\/]* ) as_myself
=$0 ;;
8972 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8976 test -z "$as_dir" && as_dir
=.
8977 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8982 # We did not find ourselves, most probably we were run as `sh COMMAND'
8983 # in which case we are not to be found in the path.
8984 if test "x$as_myself" = x
; then
8987 if test ! -f "$as_myself"; then
8988 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8989 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8990 { (exit 1); exit 1; }; }
8992 case $CONFIG_SHELL in
8994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8995 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8998 test -z "$as_dir" && as_dir
=.
8999 for as_base
in sh bash ksh sh5
; do
9002 if ("$as_dir/$as_base" -c '
9005 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9006 test "x$as_lineno_1" != "x$as_lineno_2" &&
9007 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9008 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
9009 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9010 CONFIG_SHELL
=$as_dir/$as_base
9012 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9020 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9021 # uniformly replaced by the line number. The first 'sed' inserts a
9022 # line-number line before each line; the second 'sed' does the real
9023 # work. The second script uses 'N' to pair each line-number line
9024 # with the numbered line, and appends trailing '-' during
9025 # substitution so that $LINENO is not a special case at line end.
9026 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9027 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9028 sed '=' <$as_myself |
9033 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9036 s,^['$as_cr_digits']*\n,,
9038 chmod +x
$as_me.lineno ||
9039 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9040 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9041 { (exit 1); exit 1; }; }
9043 # Don't try to exec as it changes $[0], causing all sort of problems
9044 # (the dirname of $[0] is not the place where we might find the
9045 # original and so on. Autoconf is especially sensible to this).
9047 # Exit status is that of the last command.
9052 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9053 *c
*,-n*) ECHO_N
= ECHO_C
='
9055 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9056 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9059 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9065 rm -f conf$$ conf$$.exe conf$$.
file
9067 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9068 # We could just check for DJGPP; but this test a) works b) is more generic
9069 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9070 if test -f conf$$.exe
; then
9071 # Don't use ln at all; we don't have any links
9076 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9081 rm -f conf$$ conf$$.exe conf$$.
file
9083 if mkdir
-p .
2>/dev
/null
; then
9086 test -d .
/-p && rmdir .
/-p
9090 as_executable_p
="test -f"
9092 # Sed expression to map a string onto a valid CPP name.
9093 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9095 # Sed expression to map a string onto a valid variable name.
9096 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9100 # We need space, tab and new line, in precisely that order.
9110 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9111 # report actual input values of CONFIG_FILES etc. instead of their
9112 # values after options handling. Logging --version etc. is OK.
9116 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9117 ## Running $as_me. ##
9122 This file was extended by cpplib $as_me , which was
9123 generated by GNU Autoconf 2.59. Invocation command line was
9125 CONFIG_FILES = $CONFIG_FILES
9126 CONFIG_HEADERS = $CONFIG_HEADERS
9127 CONFIG_LINKS = $CONFIG_LINKS
9128 CONFIG_COMMANDS = $CONFIG_COMMANDS
9132 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9136 # Files that config.status was made for.
9137 if test -n "$ac_config_files"; then
9138 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9141 if test -n "$ac_config_headers"; then
9142 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9145 if test -n "$ac_config_links"; then
9146 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9149 if test -n "$ac_config_commands"; then
9150 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9153 cat >>$CONFIG_STATUS <<\_ACEOF
9156 \`$as_me' instantiates files from templates according to the
9157 current configuration.
9159 Usage: $0 [OPTIONS] [FILE]...
9161 -h, --help print this help, then exit
9162 -V, --version print version number, then exit
9163 -q, --quiet do not print progress messages
9164 -d, --debug don't remove temporary files
9165 --recheck update $as_me by reconfiguring in the same conditions
9166 --file=FILE[:TEMPLATE]
9167 instantiate the configuration file FILE
9168 --header=FILE[:TEMPLATE]
9169 instantiate the configuration header FILE
9171 Configuration files:
9174 Configuration headers:
9177 Configuration commands:
9180 Report bugs to <bug-autoconf@gnu.org>."
9183 cat >>$CONFIG_STATUS <<_ACEOF
9185 cpplib config.status
9186 configured by $0, generated by GNU Autoconf 2.59,
9187 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9189 Copyright (C) 2003 Free Software Foundation, Inc.
9190 This config.status script is free software; the Free Software Foundation
9191 gives unlimited permission to copy, distribute and modify it."
9196 cat >>$CONFIG_STATUS <<\_ACEOF
9197 # If no file are specified by the user, then we need to provide default
9198 # value. By we need to know if files were specified by the user.
9204 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9205 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9213 *) # This is not an option, so the user has probably given explicit
9216 ac_need_defaults
=false
;;
9220 # Handling of the options.
9222 cat >>$CONFIG_STATUS <<\_ACEOF
9223 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9225 --version |
--vers* |
-V )
9226 echo "$ac_cs_version"; exit 0 ;;
9228 # Conflict between --help and --header
9229 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9230 Try \`$0 --help' for more information." >&5
9231 echo "$as_me: error: ambiguous option: $1
9232 Try \`$0 --help' for more information." >&2;}
9233 { (exit 1); exit 1; }; };;
9234 --help |
--hel |
-h )
9235 echo "$ac_cs_usage"; exit 0 ;;
9236 --debug |
--d* |
-d )
9238 --file |
--fil |
--fi |
--f )
9240 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9241 ac_need_defaults
=false
;;
9242 --header |
--heade |
--head |
--hea )
9244 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9245 ac_need_defaults
=false
;;
9246 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9247 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9251 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9252 Try \`$0 --help' for more information." >&5
9253 echo "$as_me: error: unrecognized option: $1
9254 Try \`$0 --help' for more information." >&2;}
9255 { (exit 1); exit 1; }; } ;;
9257 *) ac_config_targets
="$ac_config_targets $1" ;;
9263 ac_configure_extra_args
=
9265 if $ac_cs_silent; then
9267 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9271 cat >>$CONFIG_STATUS <<_ACEOF
9272 if \$ac_cs_recheck; then
9273 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9274 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9279 cat >>$CONFIG_STATUS <<_ACEOF
9281 # INIT-COMMANDS section.
9284 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
9290 cat >>$CONFIG_STATUS <<\_ACEOF
9291 for ac_config_target
in $ac_config_targets
9293 case "$ac_config_target" in
9294 # Handling of arguments.
9295 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9296 "depdir" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
9297 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
9298 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9299 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9300 { (exit 1); exit 1; }; };;
9304 # If the user did not use the arguments to specify the items to instantiate,
9305 # then the envvar interface is used. Set only those that are not.
9306 # We use the long form for the default assignment because of an extremely
9307 # bizarre bug on SunOS 4.1.3.
9308 if $ac_need_defaults; then
9309 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9310 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9311 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9314 # Have a temporary directory for convenience. Make it in the build tree
9315 # simply because there is no reason to put it here, and in addition,
9316 # creating and moving files from /tmp can sometimes cause problems.
9317 # Create a temporary directory, and hook for its removal unless debugging.
9320 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9321 trap '{ (exit 1); exit 1; }' 1 2 13 15
9324 # Create a (secure) tmp directory for tmp files.
9327 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9328 test -n "$tmp" && test -d "$tmp"
9331 tmp
=.
/confstat$$
-$RANDOM
9332 (umask 077 && mkdir
$tmp)
9335 echo "$me: cannot create a temporary directory in ." >&2
9336 { (exit 1); exit 1; }
9341 cat >>$CONFIG_STATUS <<_ACEOF
9344 # CONFIG_FILES section.
9347 # No need to generate the scripts if there are no CONFIG_FILES.
9348 # This happens for instance when ./config.status config.h
9349 if test -n "\$CONFIG_FILES"; then
9350 # Protect against being on the right side of a sed subst in config.status.
9351 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9352 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9353 s,@SHELL@,$SHELL,;t t
9354 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9355 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9356 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9357 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9358 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9359 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9360 s,@exec_prefix@,$exec_prefix,;t t
9361 s,@prefix@,$prefix,;t t
9362 s,@program_transform_name@,$program_transform_name,;t t
9363 s,@bindir@,$bindir,;t t
9364 s,@sbindir@,$sbindir,;t t
9365 s,@libexecdir@,$libexecdir,;t t
9366 s,@datadir@,$datadir,;t t
9367 s,@sysconfdir@,$sysconfdir,;t t
9368 s,@sharedstatedir@,$sharedstatedir,;t t
9369 s,@localstatedir@,$localstatedir,;t t
9370 s,@libdir@,$libdir,;t t
9371 s,@includedir@,$includedir,;t t
9372 s,@oldincludedir@,$oldincludedir,;t t
9373 s,@infodir@,$infodir,;t t
9374 s,@mandir@,$mandir,;t t
9375 s,@build_alias@,$build_alias,;t t
9376 s,@host_alias@,$host_alias,;t t
9377 s,@target_alias@,$target_alias,;t t
9379 s,@ECHO_C@,$ECHO_C,;t t
9380 s,@ECHO_N@,$ECHO_N,;t t
9381 s,@ECHO_T@,$ECHO_T,;t t
9383 s,@build@,$build,;t t
9384 s,@build_cpu@,$build_cpu,;t t
9385 s,@build_vendor@,$build_vendor,;t t
9386 s,@build_os@,$build_os,;t t
9388 s,@host_cpu@,$host_cpu,;t t
9389 s,@host_vendor@,$host_vendor,;t t
9390 s,@host_os@,$host_os,;t t
9391 s,@target@,$target,;t t
9392 s,@target_cpu@,$target_cpu,;t t
9393 s,@target_vendor@,$target_vendor,;t t
9394 s,@target_os@,$target_os,;t t
9395 s,@SET_MAKE@,$SET_MAKE,;t t
9396 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9397 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9398 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9400 s,@CFLAGS@,$CFLAGS,;t t
9401 s,@LDFLAGS@,$LDFLAGS,;t t
9402 s,@CPPFLAGS@,$CPPFLAGS,;t t
9403 s,@ac_ct_CC@,$ac_ct_CC,;t t
9404 s,@EXEEXT@,$EXEEXT,;t t
9405 s,@OBJEXT@,$OBJEXT,;t t
9406 s,@RANLIB@,$RANLIB,;t t
9407 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9408 s,@ACLOCAL@,$ACLOCAL,;t t
9409 s,@AUTOCONF@,$AUTOCONF,;t t
9410 s,@AUTOHEADER@,$AUTOHEADER,;t t
9411 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9412 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
9413 s,@WERROR@,$WERROR,;t t
9414 s,@am__leading_dot@,$am__leading_dot,;t t
9415 s,@DEPDIR@,$DEPDIR,;t t
9416 s,@CCDEPMODE@,$CCDEPMODE,;t t
9418 s,@EGREP@,$EGREP,;t t
9419 s,@LIBOBJS@,$LIBOBJS,;t t
9420 s,@ALLOCA@,$ALLOCA,;t t
9421 s,@USE_NLS@,$USE_NLS,;t t
9422 s,@LIBINTL@,$LIBINTL,;t t
9423 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
9424 s,@INCINTL@,$INCINTL,;t t
9425 s,@XGETTEXT@,$XGETTEXT,;t t
9426 s,@GMSGFMT@,$GMSGFMT,;t t
9427 s,@POSUB@,$POSUB,;t t
9428 s,@CATALOGS@,$CATALOGS,;t t
9429 s,@DATADIRNAME@,$DATADIRNAME,;t t
9430 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9431 s,@GENCAT@,$GENCAT,;t t
9432 s,@CATOBJEXT@,$CATOBJEXT,;t t
9433 s,@LIBICONV@,$LIBICONV,;t t
9434 s,@LTLIBICONV@,$LTLIBICONV,;t t
9435 s,@PACKAGE@,$PACKAGE,;t t
9436 s,@USED_CATALOGS@,$USED_CATALOGS,;t t
9437 s,@MAINT@,$MAINT,;t t
9438 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9443 cat >>$CONFIG_STATUS <<\_ACEOF
9444 # Split the substitutions into bite-sized pieces for seds with
9445 # small command number limits, like on Digital OSF/1 and HP-UX.
9447 ac_sed_frag
=1 # Number of current file.
9448 ac_beg
=1 # First line for current file.
9449 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9452 while $ac_more_lines; do
9453 if test $ac_beg -gt 1; then
9454 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9456 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9458 if test ! -s $tmp/subs.frag
; then
9461 # The purpose of the label and of the branching condition is to
9462 # speed up the sed processing (if there are no `@' at all, there
9463 # is no need to browse any of the substitutions).
9464 # These are the two extra sed commands mentioned above.
9466 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9467 if test -z "$ac_sed_cmds"; then
9468 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9470 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9472 ac_sed_frag
=`expr $ac_sed_frag + 1`
9474 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9477 if test -z "$ac_sed_cmds"; then
9480 fi # test -n "$CONFIG_FILES"
9483 cat >>$CONFIG_STATUS <<\_ACEOF
9484 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9485 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9487 - |
*:- |
*:-:* ) # input from stdin
9489 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9490 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9491 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9492 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9493 * ) ac_file_in
=$ac_file.
in ;;
9496 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9497 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9498 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9499 X"$ac_file" : 'X\(//\)[^/]' \| \
9500 X"$ac_file" : 'X\(//\)$' \| \
9501 X"$ac_file" : 'X\(/\)' \| \
9502 . : '\(.\)' 2>/dev/null ||
9504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9505 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9506 /^X\(\/\/\)$/{ s//\1/; q; }
9507 /^X\(\/\).*/{ s//\1/; q; }
9509 { if $as_mkdir_p; then
9514 while test ! -d "$as_dir"; do
9515 as_dirs
="$as_dir $as_dirs"
9516 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9517 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9518 X"$as_dir" : 'X\(//\)[^/]' \| \
9519 X"$as_dir" : 'X\(//\)$' \| \
9520 X"$as_dir" : 'X\(/\)' \| \
9521 . : '\(.\)' 2>/dev/null ||
9523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9524 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9525 /^X\(\/\/\)$/{ s//\1/; q; }
9526 /^X\(\/\).*/{ s//\1/; q; }
9529 test ! -n "$as_dirs" || mkdir
$as_dirs
9530 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9531 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9532 { (exit 1); exit 1; }; }; }
9536 if test "$ac_dir" != .
; then
9537 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9538 # A "../" for each directory in $ac_dir_suffix.
9539 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9541 ac_dir_suffix
= ac_top_builddir
=
9545 .
) # No --srcdir option. We are building in place.
9547 if test -z "$ac_top_builddir"; then
9550 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9552 [\\/]* | ?
:[\\/]* ) # Absolute path.
9553 ac_srcdir
=$srcdir$ac_dir_suffix;
9554 ac_top_srcdir
=$srcdir ;;
9556 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9557 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9560 # Do not use `cd foo && pwd` to compute absolute paths, because
9561 # the directories may not exist.
9563 .
) ac_abs_builddir
="$ac_dir";;
9566 .
) ac_abs_builddir
=`pwd`;;
9567 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9568 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9571 case $ac_abs_builddir in
9572 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9574 case ${ac_top_builddir}.
in
9575 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9576 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9577 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9580 case $ac_abs_builddir in
9581 .
) ac_abs_srcdir
=$ac_srcdir;;
9584 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9585 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9586 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9589 case $ac_abs_builddir in
9590 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9592 case $ac_top_srcdir in
9593 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9594 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9595 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9601 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9602 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9605 if test x
"$ac_file" != x-
; then
9606 { echo "$as_me:$LINENO: creating $ac_file" >&5
9607 echo "$as_me: creating $ac_file" >&6;}
9610 # Let's still pretend it is `configure' which instantiates (i.e., don't
9611 # use $as_me), people would be surprised to read:
9612 # /* config.h. Generated by config.status. */
9613 if test x
"$ac_file" = x-
; then
9616 configure_input
="$ac_file. "
9618 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9619 sed 's,.*/,,'` by configure."
9621 # First look for the input files in the build tree, otherwise in the
9623 ac_file_inputs
=`IFS=:
9624 for f in $ac_file_in; do
9626 -) echo $tmp/stdin ;;
9628 # Absolute (can't be DOS-style, as IFS=:)
9629 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9630 echo "$as_me: error: cannot find input file: $f" >&2;}
9631 { (exit 1); exit 1; }; }
9634 if test -f "$f"; then
9637 elif test -f "$srcdir/$f"; then
9642 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9643 echo "$as_me: error: cannot find input file: $f" >&2;}
9644 { (exit 1); exit 1; }; }
9647 done` ||
{ (exit 1); exit 1; }
9649 cat >>$CONFIG_STATUS <<_ACEOF
9653 cat >>$CONFIG_STATUS <<\_ACEOF
9655 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9656 s
,@configure_input@
,$configure_input,;t t
9657 s
,@srcdir@
,$ac_srcdir,;t t
9658 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9659 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9660 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9661 s
,@builddir@
,$ac_builddir,;t t
9662 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9663 s
,@top_builddir@
,$ac_top_builddir,;t t
9664 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9665 s
,@INSTALL@
,$ac_INSTALL,;t t
9666 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9668 if test x"$ac_file" != x-; then
9669 mv $tmp/out $ac_file
9677 cat >>$CONFIG_STATUS <<\_ACEOF
9680 # CONFIG_HEADER section.
9683 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9684 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9686 # ac_d sets the value in "#define NAME VALUE" lines.
9687 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9688 ac_dB
='[ ].*$,\1#\2'
9691 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9692 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9693 ac_uB
='$,\1#\2define\3'
9697 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9698 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9700 - |
*:- |
*:-:* ) # input from stdin
9702 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9703 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9704 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9705 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9706 * ) ac_file_in
=$ac_file.
in ;;
9709 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9710 echo "$as_me: creating $ac_file" >&6;}
9712 # First look for the input files in the build tree, otherwise in the
9714 ac_file_inputs
=`IFS=:
9715 for f in $ac_file_in; do
9717 -) echo $tmp/stdin ;;
9719 # Absolute (can't be DOS-style, as IFS=:)
9720 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9721 echo "$as_me: error: cannot find input file: $f" >&2;}
9722 { (exit 1); exit 1; }; }
9723 # Do quote $f, to prevent DOS paths from being IFS'd.
9726 if test -f "$f"; then
9729 elif test -f "$srcdir/$f"; then
9734 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9735 echo "$as_me: error: cannot find input file: $f" >&2;}
9736 { (exit 1); exit 1; }; }
9739 done` ||
{ (exit 1); exit 1; }
9740 # Remove the trailing spaces.
9741 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9745 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9746 # `conftest.undefs', that substitutes the proper values into
9747 # config.h.in to produce config.h. The first handles `#define'
9748 # templates, and the second `#undef' templates.
9749 # And first: Protect against being on the right side of a sed subst in
9750 # config.status. Protect against being in an unquoted here document
9752 rm -f conftest.defines conftest.undefs
9753 # Using a here document instead of a string reduces the quoting nightmare.
9754 # Putting comments in sed scripts is not portable.
9756 # `end' is used to avoid that the second main sed command (meant for
9757 # 0-ary CPP macros) applies to n-ary macro definitions.
9758 # See the Autoconf documentation for `clear'.
9759 cat >confdef2sed.
sed <<\_ACEOF
9764 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9766 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9769 # If some macros were called several times there might be several times
9770 # the same #defines, which is useless. Nevertheless, we may not want to
9771 # sort them, since we want the *last* AC-DEFINE to be honored.
9772 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9773 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9774 rm -f confdef2sed.sed
9776 # This sed command replaces #undef with comments. This is necessary, for
9777 # example, in the case of _POSIX_SOURCE, which is predefined and required
9778 # on some systems where configure will not decide to define it.
9779 cat >>conftest.undefs <<\_ACEOF
9780 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9783 # Break up conftest.defines because some shells have a limit on the size
9784 # of here documents, and old seds have small limits too (100 cmds).
9785 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9786 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9787 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9788 echo ' :' >>$CONFIG_STATUS
9790 while grep . conftest.defines >/dev/null
9792 # Write a limited-size here document to $tmp/defines.sed.
9793 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9794 # Speed up: don't consider the non `#define' lines.
9795 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9796 # Work around the forget-to-reset-the-flag bug.
9797 echo 't clr' >>$CONFIG_STATUS
9798 echo ': clr' >>$CONFIG_STATUS
9799 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9801 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9805 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9806 rm -f conftest.defines
9807 mv conftest.
tail conftest.defines
9809 rm -f conftest.defines
9810 echo ' fi # grep' >>$CONFIG_STATUS
9811 echo >>$CONFIG_STATUS
9813 # Break up conftest.undefs because some shells have a limit on the size
9814 # of here documents, and old seds have small limits too (100 cmds).
9815 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9817 while grep . conftest.undefs
>/dev
/null
9819 # Write a limited-size here document to $tmp/undefs.sed.
9820 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9821 # Speed up: don't consider the non
`#undef'
9822 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9823 # Work around the forget-to-reset-the-flag bug.
9824 echo 't clr' >>$CONFIG_STATUS
9825 echo ': clr' >>$CONFIG_STATUS
9826 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9828 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9832 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9833 rm -f conftest.undefs
9834 mv conftest.tail conftest.undefs
9836 rm -f conftest.undefs
9838 cat >>$CONFIG_STATUS <<\_ACEOF
9839 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9840 # use $as_me), people would be surprised to read:
9841 # /* config.h. Generated by config.status. */
9842 if test x
"$ac_file" = x-
; then
9843 echo "/* Generated by configure. */" >$tmp/config.h
9845 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9847 cat $tmp/in >>$tmp/config.h
9849 if test x
"$ac_file" != x-
; then
9850 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9851 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9852 echo "$as_me: $ac_file is unchanged" >&6;}
9854 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9855 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9856 X"$ac_file" : 'X\(//\)[^/]' \| \
9857 X"$ac_file" : 'X\(//\)$' \| \
9858 X"$ac_file" : 'X\(/\)' \| \
9859 . : '\(.\)' 2>/dev/null ||
9861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9862 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9863 /^X\(\/\/\)$/{ s//\1/; q; }
9864 /^X\(\/\).*/{ s//\1/; q; }
9866 { if $as_mkdir_p; then
9871 while test ! -d "$as_dir"; do
9872 as_dirs
="$as_dir $as_dirs"
9873 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9874 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9875 X"$as_dir" : 'X\(//\)[^/]' \| \
9876 X"$as_dir" : 'X\(//\)$' \| \
9877 X"$as_dir" : 'X\(/\)' \| \
9878 . : '\(.\)' 2>/dev/null ||
9880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9881 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9882 /^X\(\/\/\)$/{ s//\1/; q; }
9883 /^X\(\/\).*/{ s//\1/; q; }
9886 test ! -n "$as_dirs" || mkdir
$as_dirs
9887 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9888 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9889 { (exit 1); exit 1; }; }; }
9892 mv $tmp/config.h
$ac_file
9898 # Run the commands associated with the file.
9900 config.h
) echo timestamp
> stamp-h1
;;
9904 cat >>$CONFIG_STATUS <<\_ACEOF
9907 # CONFIG_COMMANDS section.
9909 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9910 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9911 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9912 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9913 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9914 X"$ac_dest" : 'X\(//\)[^/]' \| \
9915 X"$ac_dest" : 'X\(//\)$' \| \
9916 X"$ac_dest" : 'X\(/\)' \| \
9917 . : '\(.\)' 2>/dev/null ||
9919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9920 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9921 /^X\(\/\/\)$/{ s//\1/; q; }
9922 /^X\(\/\).*/{ s//\1/; q; }
9924 { if $as_mkdir_p; then
9929 while test ! -d "$as_dir"; do
9930 as_dirs
="$as_dir $as_dirs"
9931 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9933 X"$as_dir" : 'X\(//\)[^/]' \| \
9934 X"$as_dir" : 'X\(//\)$' \| \
9935 X"$as_dir" : 'X\(/\)' \| \
9936 . : '\(.\)' 2>/dev/null ||
9938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9939 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9940 /^X\(\/\/\)$/{ s//\1/; q; }
9941 /^X\(\/\).*/{ s//\1/; q; }
9944 test ! -n "$as_dirs" || mkdir
$as_dirs
9945 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9946 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9947 { (exit 1); exit 1; }; }; }
9951 if test "$ac_dir" != .
; then
9952 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9953 # A "../" for each directory in $ac_dir_suffix.
9954 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9956 ac_dir_suffix
= ac_top_builddir
=
9960 .
) # No --srcdir option. We are building in place.
9962 if test -z "$ac_top_builddir"; then
9965 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9967 [\\/]* | ?
:[\\/]* ) # Absolute path.
9968 ac_srcdir
=$srcdir$ac_dir_suffix;
9969 ac_top_srcdir
=$srcdir ;;
9971 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9972 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9975 # Do not use `cd foo && pwd` to compute absolute paths, because
9976 # the directories may not exist.
9978 .
) ac_abs_builddir
="$ac_dir";;
9981 .
) ac_abs_builddir
=`pwd`;;
9982 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9983 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9986 case $ac_abs_builddir in
9987 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9989 case ${ac_top_builddir}.
in
9990 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9991 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9992 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9995 case $ac_abs_builddir in
9996 .
) ac_abs_srcdir
=$ac_srcdir;;
9999 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10000 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10001 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10004 case $ac_abs_builddir in
10005 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10007 case $ac_top_srcdir in
10008 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10009 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10010 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10015 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10016 echo "$as_me: executing $ac_dest commands" >&6;}
10018 depdir
) $SHELL $ac_aux_dir/mkinstalldirs
$DEPDIR ;;
10023 cat >>$CONFIG_STATUS <<\_ACEOF
10025 { (exit 0); exit 0; }
10027 chmod +x
$CONFIG_STATUS
10028 ac_clean_files
=$ac_clean_files_save
10031 # configure is writing to config.log, and then calls config.status.
10032 # config.status does its own redirection, appending to config.log.
10033 # Unfortunately, on DOS this fails, as config.log is still kept open
10034 # by configure, so config.status won't be able to write to it; its
10035 # output is simply discarded. So we exec the FD to /dev/null,
10036 # effectively closing config.log, so it can be properly (re)opened and
10037 # appended to by config.status. When coming back to configure, we
10038 # need to make the FD available again.
10039 if test "$no_create" != yes; then
10041 ac_config_status_args
=
10042 test "$silent" = yes &&
10043 ac_config_status_args
="$ac_config_status_args --quiet"
10045 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10047 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10048 # would make configure fail if this is the last instruction.
10049 $ac_cs_success ||
{ (exit 1); exit 1; }